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.
Problem statement
coding-ethosgenerates 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:
Add a
skill healthCLI/MCP view that reports unused, frequently failing, improving, and stale skills.Acceptance criteria
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.