loopctl-mcp-server 2.45.0 → 2.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +12 -6
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -188,7 +188,7 @@ autonomous agent) can self-remediate without a human. Full agent-tenant lifecycl
188
188
  | `get_cost_summary` | orch | Get cost/token usage summary for a project, optionally broken down by `agent`, `epic`, or `model`. |
189
189
  | `get_story_token_usage` | orch | Get all token usage records for a single story. |
190
190
  | `get_cost_anomalies` | orch | Get cost anomaly alerts — stories or agents exceeding expected budgets. Optionally filter by project. |
191
- | `get_ingestion_anomalies` | orch | Get ingestion-health anomalies — capture-silence (a source_type stopped producing articles). Check whether knowledge capture is still landing. |
191
+ | `get_ingestion_anomalies` | orch | Get ingestion-health anomalies — capture_silence (a source_type stopped producing articles) and high_reject_rate (writes rejected at high rate, persisting no article row). Check whether knowledge capture is still landing AND being accepted. |
192
192
  | `set_token_budget` | orch | Set a token budget (in millicents) for a project, epic, story, or agent scope. Requires orchestrator role. |
193
193
 
194
194
  ### Knowledge Wiki Tools (agent key)
package/index.js CHANGED
@@ -2783,10 +2783,12 @@ const TOOLS = [
2783
2783
  {
2784
2784
  name: "get_ingestion_anomalies",
2785
2785
  description:
2786
- "Get ingestion-health anomalies — capture-silence (a source_type that was producing " +
2787
- "articles has gone silent). Use to check whether knowledge capture is still landing. " +
2788
- "Paginated (page/page_size); advance `page` to enumerate all. Filter by source_type, " +
2789
- "anomaly_type, resolved status, or include archived.",
2786
+ "Get ingestion-health anomalies — capture_silence (a source_type that was producing " +
2787
+ "articles has gone silent) and high_reject_rate (writes attempted but rejected at high " +
2788
+ "rate — 409 title_conflict / validation drops that persist no article row). Use to check " +
2789
+ "whether knowledge capture is still landing AND being accepted. Paginated (page/page_size); " +
2790
+ "advance `page` to enumerate all. Filter by source_type, anomaly_type, resolved status, or " +
2791
+ "include archived.",
2790
2792
  inputSchema: {
2791
2793
  type: "object",
2792
2794
  properties: {
@@ -2796,8 +2798,12 @@ const TOOLS = [
2796
2798
  },
2797
2799
  anomaly_type: {
2798
2800
  type: "string",
2799
- enum: ["capture_silence"],
2800
- description: 'Optional: filter by anomaly type (only "capture_silence" is currently produced).',
2801
+ // Keep in sync with Loopctl.Knowledge.IngestionAnomaly @anomaly_types (the
2802
+ // server-side Ecto.Enum + the ingestion_anomalies_anomaly_type_check DB CHECK).
2803
+ enum: ["capture_silence", "high_reject_rate"],
2804
+ description:
2805
+ 'Optional: filter by anomaly type — "capture_silence" (writes stopped) or ' +
2806
+ '"high_reject_rate" (writes rejected at high rate).',
2801
2807
  },
2802
2808
  resolved: {
2803
2809
  type: "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loopctl-mcp-server",
3
- "version": "2.45.0",
3
+ "version": "2.46.0",
4
4
  "description": "MCP server for loopctl — structural trust for AI development loops",
5
5
  "type": "module",
6
6
  "main": "index.js",