Skip to content

feat(mcp): register a gittensory://slop-rules resource enumerating deterministic slop findings #2237

Description

@JSONbored

gittensory_check_slop_risk (src/mcp/server.ts:1197) returns per-call findings, but there is no discoverable catalog of the deterministic slop rule codes + their bands (clean/low/elevated/high) that the detector can emit (defined via the as const maps in src/signals/slop.ts:55 and :357). Expose a static read-only MCP resource enumerating the rule codes, bands, and one-line rationale so an agent can pre-plan against them without triggering a call.

Deliverables

  • Register a gittensory://slop-rules resource in src/mcp/server.ts (application/json) returning the slop rule/band catalog
  • Source the codes/bands from the existing exported const in src/signals/slop.ts (single source of truth — no duplicated literals)
  • Tests: resource read returns every band and rule code present in the const

References

  • src/signals/slop.ts:55
  • src/signals/slop.ts:357
  • src/mcp/server.ts:1197

size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.visualUI/web visual work — owner-led, NOT for Gittensor contributors (extensions excepted)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions