feat(skills): fix-card lanes + emitting doctrine
CI / ci (push) Canceled after 0s

Land the #118/#119/#121 post-map decisions into the mentor's
files: every Fix Card declares a lane (mechanical | demonstration)
and an emitter (lint | engine); the pass persona emits one ranked
submit_fix_cards call at pass end, capped at ten and deduped
against live lint findings; the Knife floor ignores writer praise;
deslop's tables close the actually/unfortunately gap and map
utilize/utilization to use; the sample pass gains the mechanical
exemplar FC-10.

Closes #123
This commit is contained in:
AlexKucera committed 2026-10-19 16:19:57 +02:00
1 parent 803682f3f0
commit c2e94fd825
13 files changed
+138 -19

No files matched your search

@@ -1,3 +1,3 @@
# 0006 — Fix cards travel as typed MCP tool calls
Mentor findings reach the app as typed tool calls — the fix-card schema is the tool's argument schema — rendered from ACP tool-call events, never parsed out of streamed prose. Anchors are quote-based (exact substring + occurrence + context), so edits between issue and accept degrade to a loud no-match, never a wrong-span patch. One schema serves the card UI, the apply-write, and learning promotion; M0's round-trip test exercises exactly this rail. Rejected: prose parsing (fragile, untyped) and file-watching spools (cards are conversation events, not artifacts).
Mentor findings reach the app as typed tool calls — the fix-card schema is the tool's argument schema — rendered from ACP tool-call events, never parsed out of streamed prose. Anchors are quote-based (exact substring + occurrence + context), so edits between issue and accept degrade to a loud no-match, never a wrong-span patch. One schema serves the card UI, the apply-write, and learning promotion; M0's round-trip test exercises exactly this rail. Every fix declares a lane — `mechanical` (the whole fix is a pure function of the anchor plus fixed tables: cut, move, mapping, case) or `demonstration` (any generation) — and only a mechanical fix is ever applied. Every card declares an emitter — `lint` or `engine` — so the engine never re-cards a live lint finding; provenance keeps skill attribution. Rejected: prose parsing (fragile, untyped) and file-watching spools (cards are conversation events, not artifacts).