Card-emitting doctrine: submit_fix_cards rules under the two-lane model #121

Closed
opened 2026-10-19 13:24:32 +02:00 by AlexKucera · 1 comment
Owner

Part of #116. Graduated from the map's Not-yet-specified (card-emitting doctrine location + pass-2 fix-field format), specifiable now that #118 fixed the two-lane semantics.

Question

Card-emitting doctrine exists nowhere readable: the engine-side instructions for submit_fix_cards (when to emit, lane choice, fix-field contents, caps/ranking) have no home — no repo-side prompt, no profile-config mention, MCP server unbuilt. Under the two-lane model (#118: lanes mechanical | demonstration; mechanical = pure function of anchor + fixed tables, the only Apply-executable lane; demonstration = one annotated example, never insertable, closed by Done/Skip), decide:

  • what the doctrine says: when a pass emits cards at all; how the emitter picks a lane (pure function of anchor + fixed tables → mechanical; generation required → demonstration); the one-example rule; ranking and caps per pass (the attention budget); provenance for lint- vs engine-emitted cards;
  • where the doctrine lives so it ships before or with #25 (M2: Apply/Skip Fix Cards & trust UI) — engine prompt section, a profile skill, an ADR, or a combination;
  • how pass-2 line-level cards are shaped under the lanes (deslop/serif slip-table findings: filler cuts and hedging trims are mechanical; serif two-pass rewrites are demonstration).

Feeds #25's spec. Writing the doctrine file itself is post-map execution.

[Generated by AI]

Part of #116. Graduated from the map's Not-yet-specified (card-emitting doctrine location + pass-2 fix-field format), specifiable now that #118 fixed the two-lane semantics. ## Question Card-emitting doctrine exists nowhere readable: the engine-side instructions for `submit_fix_cards` (when to emit, lane choice, fix-field contents, caps/ranking) have no home — no repo-side prompt, no profile-config mention, MCP server unbuilt. Under the two-lane model (#118: lanes `mechanical` | `demonstration`; mechanical = pure function of anchor + fixed tables, the only Apply-executable lane; demonstration = one annotated example, never insertable, closed by Done/Skip), decide: - what the doctrine says: when a pass emits cards at all; how the emitter picks a lane (pure function of anchor + fixed tables → mechanical; generation required → demonstration); the one-example rule; ranking and caps per pass (the attention budget); provenance for lint- vs engine-emitted cards; - where the doctrine lives so it ships before or with #25 (M2: Apply/Skip Fix Cards & trust UI) — engine prompt section, a profile skill, an ADR, or a combination; - how pass-2 line-level cards are shaped under the lanes (deslop/serif slip-table findings: filler cuts and hedging trims are mechanical; serif two-pass rewrites are demonstration). Feeds #25's spec. Writing the doctrine file itself is post-map execution. [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-10-19 13:24:32 +02:00
AlexKucera self-assigned this 2026-10-19 14:51:40 +02:00
Author
Owner

Resolution — card-emitting doctrine: home, budget, dedup, emitter

Grilled 2026-10-19, one round, five decisions:

Home. A ~20-line section in the pass-persona skill, not a new skill: pass-persona is guaranteed loaded every pass by its description contract ("Load whenever the mentor critiques or line-edits a Piece"), so the doctrine rides carriage that already exists — no new seed-manifest entry, no load-trigger failure mode. PRD G6 settles the harder half: methodology lives in the profile's skills, pass stubs stay minimal — engine-prompt and ADR-only homes were non-options. ADR-0006 gains two sentences: the lane field (mechanical | demonstration, from #118) and the emitter field (below). Schema semantics live in the ADR; emitting doctrine in the skill. The skill-set AGENTS.md "persona skills carry blend arithmetic only" line relaxes one notch to admit pass-operational mechanics.

Attention budget. One submit at pass end: the emitter ranks its findings and makes a single ranked, capped submit_fix_cards call as its turn closes (the tool stays callable mid-pass — capability, not doctrine). Cap ≤10 per pass (sample pass: 9). Ranking: Learnings-resonant findings first (repeated patterns rise — "Learnings inform silently" made an emission rule), then Chief-verdict weight (what the Piece loses if unfixed). The app holds a hard ceiling as backstop only — the emitter caps before submitting; the app never becomes the primary filter, so the infinite-scroll feel stays dead. A pass may emit zero cards; the Chief's verdict still lands in prose and Pass State advances regardless (S3.1 unchanged).

Dedup and lane tie-breaks — full package. The engine never re-cards a live lint finding. One card per finding. A finding lands mechanical only if its whole fix is table-computable (pure function of anchor + fixed tables: cut, move, mapping, case); any generation anywhere → demonstration. Never two lanes for one finding.

Emitter field. A new typed field emitter: lint | engine rides the card schema (ADR-0006 amendment). Provenance keeps skill attribution ("prose-craft #7" — the shelf link Learnings promotion wants); the UI badges and filters on the enum, never string-parses composed values.

Pass-2 tables. Deslop's tell tables are the mechanical lane's single source — the doctrine references them, never restates (the set's own rule). The audit's gap ("actually"/"unfortunately" unnamed) is fixed in deslop as post-map execution, not papered over with a parallel table. Serif stress-position and nominalization work rides the demonstration lane with its one annotated example.

Post-map execution: consolidated into #123 (with #118's and #119's text landings). Feeds #25's spec: the edit = the mechanical lane's deterministic edit; emitter field; single ranked submit ≤10 with app backstop; full dedup package.

[Generated by AI]

**Resolution — card-emitting doctrine: home, budget, dedup, emitter** Grilled 2026-10-19, one round, five decisions: **Home.** A **~20-line section in the pass-persona skill**, not a new skill: pass-persona is guaranteed loaded every pass by its description contract ("Load whenever the mentor critiques or line-edits a Piece"), so the doctrine rides carriage that already exists — no new seed-manifest entry, no load-trigger failure mode. PRD G6 settles the harder half: methodology lives in the profile's skills, pass stubs stay minimal — engine-prompt and ADR-only homes were non-options. **ADR-0006 gains two sentences**: the lane field (mechanical | demonstration, from #118) and the emitter field (below). Schema semantics live in the ADR; emitting doctrine in the skill. The skill-set AGENTS.md "persona skills carry blend arithmetic only" line relaxes one notch to admit pass-operational mechanics. **Attention budget.** **One submit at pass end**: the emitter ranks its findings and makes a single ranked, capped submit_fix_cards call as its turn closes (the tool stays callable mid-pass — capability, not doctrine). **Cap ≤10 per pass** (sample pass: 9). **Ranking**: Learnings-resonant findings first (repeated patterns rise — "Learnings inform silently" made an emission rule), then Chief-verdict weight (what the Piece loses if unfixed). The app holds a **hard ceiling as backstop only** — the emitter caps before submitting; the app never becomes the primary filter, so the infinite-scroll feel stays dead. A pass may emit **zero cards**; the Chief's verdict still lands in prose and Pass State advances regardless (S3.1 unchanged). **Dedup and lane tie-breaks — full package.** The engine never re-cards a live lint finding. One card per finding. A finding lands **mechanical only if its whole fix is table-computable** (pure function of anchor + fixed tables: cut, move, mapping, case); any generation anywhere → demonstration. Never two lanes for one finding. **Emitter field.** A new typed field **emitter: lint | engine** rides the card schema (ADR-0006 amendment). **Provenance keeps skill attribution** ("prose-craft #7" — the shelf link Learnings promotion wants); the UI badges and filters on the enum, never string-parses composed values. **Pass-2 tables.** **Deslop's tell tables are the mechanical lane's single source** — the doctrine references them, never restates (the set's own rule). The audit's gap ("actually"/"unfortunately" unnamed) is fixed **in deslop** as post-map execution, not papered over with a parallel table. Serif stress-position and nominalization work rides the demonstration lane with its one annotated example. **Post-map execution:** consolidated into #123 (with #118's and #119's text landings). Feeds #25's spec: the edit = the mechanical lane's deterministic edit; emitter field; single ranked submit ≤10 with app backstop; full dedup package. [Generated by AI]
Sign in to join this conversation.