Skip to content

[feature] Track skill provenance, usage, and health #183

Description

@paudley

Problem statement

coding-ethos generates skills and emits skill IDs in remediation payloads, but it does not yet measure whether a skill actually helped resolve an issue, whether a skill is stale, or whether a skill repeatedly appears in failed remediation loops.

ECC prior art worth porting: skill provenance, learned/imported/evolved placement policy, and skill health reporting. See:

Proposed solution

Track skill provenance, usage, and health in the repo-local evidence/code-intel layer.

The first version should record:

  • skill id and generated source/provenance
  • triggering policy/tool/finding
  • surface that recommended or used the skill
  • outcome when observable: success, repeated failure, abandoned, unknown
  • retry count and recurrence window
  • last used time and recent success/failure trend

Add a skill health CLI/MCP view that reports unused, frequently failing, improving, and stale skills.

Acceptance criteria

  • Skill use/outcome rows are recorded when remediation payloads or MCP skill tools are used.
  • Health report includes 7-day/30-day or equivalent recent windows.
  • Output is available as JSON and TOON.
  • No learned/evolved skill is automatically promoted into generated repo artifacts without explicit future policy.
  • Tests cover outcome recording, unknown skill ids, and health trend computation.

Implementation notes

Prefer code-intel tables over a separate store. Generated skills remain source-derived artifacts; this issue is about measurement and reporting, not automatic skill mutation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions