feat(skills): fix-card lanes + emitting doctrine
CI / ci (push) Canceled after 0s
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:
1 parent
803682f3f0
commit
c2e94fd825
13 files changed
+138
-19
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ Owned by the root AGENTS.md contract.
|
||||
- ADRs live in `docs/adr/`, sequentially numbered `NNNNN-slug.md` (currently `0001`–`0013`: stack, license, forge/CI, content layout, learnings home, fix-card transport, state ownership, tools host, sandbox posture, prose editor substrate, apex HTML reading pipeline, projects/archive layout + type-as-frontmatter, outliner block surface).
|
||||
- ADR format follows the domain-modeling skill's `ADR-FORMAT.md`: short title + 1–3 sentences; optional Considered Options / Consequences only when they earn their place.
|
||||
- `docs/agents/` holds the engineering-skills config (issue tracker, triage labels, domain-docs consumer rules) written by `setup-matt-pocock-skills` — edit directly, no child doc needed.
|
||||
- `docs/sample-pass.md` is the worked sample Pass demonstrating the craft-canon skills firing as Fix Cards (issues #7 and #11 verification artifacts); card shape follows CONTEXT.md, anchors follow ADR-0006.
|
||||
- `docs/sample-pass.md` is the worked sample Pass demonstrating the craft-canon skills firing as Fix Cards (issues #7, #11, and #123 verification artifacts); card shape follows CONTEXT.md (lane and emitter fields included), anchors follow ADR-0006.
|
||||
|
||||
## Work Guidance
|
||||
|
||||
|
||||
@@ -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).
|
||||
@@ -0,0 +1,63 @@
|
||||
# #123 Post-map execution: Ptacek-fold text landings
|
||||
|
||||
> **Date:** 2026-10-19
|
||||
> **Type:** issue
|
||||
> **Reference:** [git.babylondreams.de/Museion/issues/123](https://git.babylondreams.de/AlexKucera/Museion/issues/123)
|
||||
|
||||
## Goal
|
||||
|
||||
Land the post-map text decisions from wayfinder map #116 (resolved in #118, #119, #121) into the mentor's files: the card-emitting doctrine, the two-lane fix-field semantics, the encouragement-posture tightening, and the deslop table gap — one family, one issue.
|
||||
|
||||
## What Was Done
|
||||
|
||||
- **pass-persona** (v1.1): new section "Fix Cards leave as one ranked submit" — one ranked `submit_fix_cards` call at pass end, cap ≤10 with the app ceiling as backstop only, Learnings-resonant-then-Chief-verdict ranking, the full dedup package (never re-card a live lint finding, one card per finding, mechanical only if the whole fix is table-computable, never two lanes per finding), zero-cards pass valid.
|
||||
- **session-persona** (v1.1): writer-praise immunity clause in the shared Knife-floor section, byte-identical to pass-persona's (shared-verbatim contract honored).
|
||||
- **demonstrator** (v1.1): the one-example Fix Card exception on the "never show a single example" hard prohibition.
|
||||
- **deslop** (v1.2): "actually"/"unfortunately" added to the filler table (the audit's named gap, fixed at the source, never forked); #31 now maps "utilize/utilization" → "use" so the mechanical exemplar is genuinely table-computable.
|
||||
- **ADR-0006**: two sentences — the lane field (`mechanical` | `demonstration`) and the emitter field (`lint` | `engine`).
|
||||
- **CONTEXT.md**: Fix Card field list gains lane + emitter (lane declared, never inferred); new **Emitter** and **Done** terms; Apply sharpened to "accepting a mechanical Fix Card".
|
||||
- **docs/sample-pass.md**: FC-1–FC-9 tagged `lane: demonstration / emitter: engine`; new FC-10 (`utilization`→`use`, `lane: mechanical / emitter: lint`) — the lint-emitted exemplar demonstrating the dedup boundary; intro and closing notes updated; ten cards = exactly at cap.
|
||||
- **AGENTS.md (skills set)**: "blend arithmetic only" relaxed one notch to admit pass-operational mechanics (Fix Card emission). **docs/AGENTS.md**: sample-pass line gains #123.
|
||||
|
||||
## Decisions & Rationale
|
||||
|
||||
| Decision | Rationale |
|
||||
|----------|-----------|
|
||||
| Card-emitting doctrine lives in pass-persona, not a new skill | The persona's load contract guarantees carriage every pass; no new seed-manifest entry, no load-trigger failure mode (#121 resolution) |
|
||||
| Mechanical exemplar emitted `lint`, not `engine` | The native deslop lint owns table findings (M2/S3.4 pre-seeds style cards); showing it as the lint's card demonstrates the "never re-card a live lint finding" boundary instead of violating it |
|
||||
| `utilization` added to deslop #31 | The sample's only clean mechanical finding needed a table-computable mapping; the issue's own principle is "fix the table, never fork it" — one word closes the gap at the source |
|
||||
| All ten sample cards carry lane + emitter lines | Schema consistency in the shape-reference artifact #25's spec will cite; six lane-less cards under a lane-declaring field list would be worse than nine extra lines |
|
||||
| Executed directly, no subagent fan-out | ~60 lines of coupled prose sharing vocabulary across files (CONTEXT's terms must match pass-persona's and the sample's word-for-word); delegation cost more consistency than it saved context |
|
||||
| Spaced em dashes in CONTEXT/ADR/sample, unspaced in skills | Each file's established local style (verified by byte scan before editing) |
|
||||
|
||||
## Gotchas & Fixes
|
||||
|
||||
| Problem | Root Cause | Fix |
|
||||
|---------|------------|-----|
|
||||
| First verification run reported 12 failures | Test bugs, not content: `version` lives under `metadata` in frontmatter; paragraph regex stopped at the first blank line; Tier-1 vocab scan hit deslop's own rule tables (which quote banned words by design) | Fixed the checks; 50/50 pass — frontmatter YAML valid, Knife-floor byte-identical pair, all 10 anchors exact substrings of the Piece, lane/emitter distribution 9+1, no Tier-1 vocab in added prose |
|
||||
| `gitnexus detect-changes` failed with "Multiple repositories indexed" | CLI needs `--repo museion` when the global registry holds several | Re-ran with the flag: 14 symbols, all markdown headings, 0 flows, risk low |
|
||||
| detect-changes listed two files outside the diff (root AGENTS.md, serif references) | Incremental analyze picked up pre-session drift since the last index refresh | `git status` confirms both unmodified; no action — commit stages explicit paths only |
|
||||
|
||||
## Files Changed
|
||||
|
||||
| File | Change Summary |
|
||||
|------|---------------|
|
||||
| `ref/writing skills/pass-persona/SKILL.md` | Card-emitting doctrine section (single ranked submit, cap, ranking, dedup); writer-praise clause; v1.1 |
|
||||
| `ref/writing skills/session-persona/SKILL.md` | Writer-praise clause (shared section, in tandem); v1.1 |
|
||||
| `ref/writing skills/deslop/SKILL.md` | Filler cuts for actually/unfortunately; utilize/utilization mapping; v1.2 |
|
||||
| `ref/writing skills/demonstrator/SKILL.md` | One-example Fix Card exception; v1.1 |
|
||||
| `ref/writing skills/AGENTS.md` | Persona-skill scope relaxed to pass-operational mechanics |
|
||||
| `docs/adr/0006-fix-cards-travel-as-typed-mcp-tool-calls.md` | Lane + emitter schema sentences |
|
||||
| `CONTEXT.md` | Lane/emitter on Fix Card; Emitter, Done terms; Apply sharpened |
|
||||
| `docs/sample-pass.md` | Lane/emitter on all cards; FC-10 mechanical exemplar; closing note |
|
||||
| `docs/AGENTS.md` | Sample-pass scope line gains #123 |
|
||||
|
||||
## Open Items & Next Steps
|
||||
|
||||
- [ ] #25 (M2: Apply/Skip Fix Cards) consumes this vocabulary: mechanical edit = the deterministic table edit, demonstration cards present Done/Skip with no Apply, ask-before gates mechanical Apply only, app hard-ceiling backstop, engine-vs-lint dedup
|
||||
- [ ] Consider tightening CONTEXT's *Provenance* term ("piece, date, engine") to name skill attribution — noted as Info in review, deferred to #25's spec pass
|
||||
- [ ] Sibling #122 (Blind Read, blocked by #24) unaffected by this landing
|
||||
|
||||
---
|
||||
|
||||
*Log written by write-log skill*
|
||||
@@ -5,6 +5,7 @@ Complete history of session logs in this directory, newest first. One-line summa
|
||||
<!-- write-log: full-index -->
|
||||
| Date | Type | File | Summary |
|
||||
|------|------|------|---------|
|
||||
| 2026-10-19 | issue | [20261019-issue123-ptacek-fold-text-landings_log.md](20261019-issue123-ptacek-fold-text-landings_log.md) | #123 card-emitting doctrine, lane/emitter terms, FC-10 mechanical exemplar landed across skills, CONTEXT, ADR-0006; deslop gap fixed at source |
|
||||
| 2026-10-19 | issue | [20261019-issue115-prose-list-shortcuts_log.md](20261019-issue115-prose-list-shortcuts_log.md) | #115 prose list Tab/⇧Tab/⌥-moves + layer-contents fold chrome (draw(_:) never fires under SwiftUI hosting); 3-reviewer audit round, 239 tests green |
|
||||
| 2026-10-16 | issue | [20261016-issue114-convert-to-post_log.md](20261016-issue114-convert-to-post_log.md) | #114 Convert to Post: in-place type flip + verbatim/headings-ladder ask, prose re-route via proseOverridePostID — 206 tests green (audit round included) |
|
||||
| 2026-10-16 | issue | [20261016-issue112-outline-interaction-ii_log.md](20261016-issue112-outline-interaction-ii_log.md) | S6 landed: drag-reorder + zoom in the outliner per wf113 verdict A; AppKit-tree hit-testing; tests un-broken for target 27.0 |
|
||||
|
||||
+33
-3
@@ -1,6 +1,6 @@
|
||||
# Sample Pass — the craft-canon skills firing
|
||||
|
||||
Verification artifact for issue #7 (extended for #11): a worked Pass over a short sample post, demonstrating the distilled craft skills (`rhetoric`, `reader-psychology`, `prose-craft`, `titles-and-hooks`) firing as Fix Cards. Manner per the pass-persona (Chief first, line-level second); card fields per CONTEXT.md (pattern, problem, diagnostic question, fix, anchor, provenance, status); anchors are exact-substring quotes per ADR-0006. In the app these travel as typed `submit_fix_cards` tool calls—prose here stands in for that rail.
|
||||
Verification artifact for issue #7 (extended for #11, then #123): a worked Pass over a short sample post, demonstrating the distilled craft skills (`rhetoric`, `reader-psychology`, `prose-craft`, `titles-and-hooks`) firing as Fix Cards. Manner per the pass-persona (Chief first, line-level second); card fields per CONTEXT.md (pattern, problem, diagnostic question, fix, anchor, lane, emitter, provenance, status); anchors are exact-substring quotes, lanes and emitters typed fields, per ADR-0006. In the app these travel as one ranked `submit_fix_cards` call at pass end, capped at ten—prose here stands in for that rail.
|
||||
|
||||
## The Piece
|
||||
|
||||
@@ -18,7 +18,7 @@ Verification artifact for issue #7 (extended for #11): a worked Pass over a shor
|
||||
|
||||
## Pass 1 — the verdict
|
||||
|
||||
This is an argument post that prosecutes instead of persuades. It beats a weak version of the opposition, concedes nothing, and never hands the reader a decision—the undecided reader files it under tribal signaling and moves on. The middle paragraph buries every action in a noun and opens twice on news the reader doesn't hold. The one sentence that should carry the whole claim sits at the top of the abstraction ladder with nothing to touch. The bones are here: a live question, a strong stance, real material. And the title spends the piece's one gap on a verdict for the already-convinced. Nine cards, then a drill.
|
||||
This is an argument post that prosecutes instead of persuades. It beats a weak version of the opposition, concedes nothing, and never hands the reader a decision—the undecided reader files it under tribal signaling and moves on. The middle paragraph buries every action in a noun and opens twice on news the reader doesn't hold. The one sentence that should carry the whole claim sits at the top of the abstraction ladder with nothing to touch. The bones are here: a live question, a strong stance, real material. And the title spends the piece's one gap on a verdict for the already-convinced. Ten cards, then a drill.
|
||||
|
||||
## Fix Cards
|
||||
|
||||
@@ -27,6 +27,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: The piece covers a topic; sections feel optional, and the ending trails because nothing was left to resolve. Without one question the reader wants answered, the post is an inventory, and inventories get skimmed.
|
||||
- Diagnostic question: Can you write the piece's one question in a line?
|
||||
- Fix: Name the key question (a candidate: *can your software survive its vendor?*) and make every section advance its answer.
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -35,6 +37,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: The piece prosecutes the past (outages, price hikes, track record) and lands agreement, never a decision. The audience can act only in the future tense.
|
||||
- Diagnostic question: What tense does this piece argue in, and does the ending hand the reader a choice?
|
||||
- Fix: Keep one sentence of blame, then pivot on the hinge—*given that, what do we do?*—and end on concrete options with their costs.
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -43,6 +47,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: The piece attributes motive instead of answering the claim. The audience sees the swap and reasons that a writer who beats the weakling is avoiding the strong version.
|
||||
- Diagnostic question: Could the opponent read their case as restated here and say "yes, that's it"?
|
||||
- Fix: Restate the strongest version of the data-safety claim (managed redundancy, offsite survival of house fires) and answer that.
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -51,6 +57,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: Every opposing point is answered or mocked; the unconverted reader feels their side was never heard and discounts everything that follows. A writer who concedes nothing signals the argument can't afford it.
|
||||
- Diagnostic question: What does the other side get right, and does the piece say so before arguing against them?
|
||||
- Fix: Say plainly, early, with no "but" for one full sentence, what the cloud model genuinely delivers (zero-setup sync across devices is real).
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -59,6 +67,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: A paragraph of claims with nothing to touch. Meaning lives in the movement between principle and example; stuck at the top rung, this is a lecture.
|
||||
- Diagnostic question: Pick the paragraph. Name its rung. Does the piece ever move between rungs?
|
||||
- Fix: Climb down once—one concrete example that proves the claim (e.g., opening the app on a plane, everything present, nothing rented).
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -67,6 +77,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: The reader re-reads to find who did what. Comprehension is simulation—the reader watches an agent perform an action—and nominalizations offer nothing to simulate.
|
||||
- Diagnostic question: Can you name the doer of every action? Is the main action the verb?
|
||||
- Fix: *Mainstream users stored 40 percent more of their data locally last year.* People as subjects, the action as the verb.
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -75,6 +87,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: The paragraph opens on a fresh abstraction with no handhold; the reader matches a sentence's opening against what they already hold, and there is nothing to match. The passage reads as fresh starts.
|
||||
- Diagnostic question: Does the sentence open on something the reader already holds?
|
||||
- Fix: Open on what the previous paragraph established (the vendors and their invoices), then land the news at the end.
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -83,6 +97,8 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: The weight-bearing number lands mid-sentence and the stress position goes to the attribution. The end of a sentence gets the most attention; spending it on routine material wastes it—and this buried number is also the piece's one gold coin (prose-craft #8).
|
||||
- Diagnostic question: What are the last few words of the sentence carrying—weight, or paperwork?
|
||||
- Fix: *Local-first vendors report 40 percent growth in local storage use last year.* The news last—and verify the number independently before it carries a paragraph.
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -91,6 +107,18 @@ This is an argument post that prosecutes instead of persuades. It beats a weak v
|
||||
- Problem: The title is a verdict for the already-convinced. Curiosity is a gap between what the reader knows and wants to know; a title that resolves the question on arrival leaves the undecided reader nothing to resolve—and it burns the piece's real asset: the sharpest takeaway (the key question from FC-1) never reaches the surface.
|
||||
- Diagnostic question: Does the title deliver a takeaway the reader wants, or file the piece under a verdict?
|
||||
- Fix: Carry the key question (or its answer) into the title—a candidate: *Can your software survive its vendor?*—and open that same gap in the hook.
|
||||
- Lane: demonstration
|
||||
- Emitter: engine
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
**FC-10 · The fancy word where the plain one does** — *deslop #31*
|
||||
- Anchor: "The utilization of local storage"
|
||||
- Problem: The fancier synonym is the tell, and the tables map this one straight back to the plain word. Nothing is lost in the swap and nothing needs generating: the whole fix is table-computable, which is what the mechanical lane means.
|
||||
- Diagnostic question: Does the plain word drop anything the fancy one carried?
|
||||
- Fix: "utilization" becomes "use" (deslop #31's mapping). The edit is the mapping—Apply lands it exactly.
|
||||
- Lane: mechanical
|
||||
- Emitter: lint
|
||||
- Provenance: posts/local-first-honest · pass 1 · 2026-08-28 · sample (no engine run)
|
||||
- Status: proposed
|
||||
|
||||
@@ -102,4 +130,6 @@ One finding earned it (FC-6/FC-7 are one pattern repeating):
|
||||
|
||||
## What this demonstrates
|
||||
|
||||
All four new shelves fire on one ordinary draft: `rhetoric` on the argument's structure (FC-2 through FC-4), `reader-psychology` on the reader's processing (FC-6 through FC-8), `prose-craft` on what to build (FC-1, FC-5), `titles-and-hooks` on the surface that earns the read (FC-9). Every card names what is wrong and why it fails—none summarizes a book. FC-9 also shows the shelves interlocking: it carries FC-1's key question up into the title. The drill offer rides the strongest finding, per the micro-drill doctrine; line-level deslop/serif findings (the hedged "has been largely eliminated", the passive queue) are omitted here because those shelves already had coverage before this issue—this sample isolates the new territory.
|
||||
All four new shelves fire on one ordinary draft: `rhetoric` on the argument's structure (FC-2 through FC-4), `reader-psychology` on the reader's processing (FC-6 through FC-8), `prose-craft` on what to build (FC-1, FC-5), `titles-and-hooks` on the surface that earns the read (FC-9). Every card names what is wrong and why it fails—none summarizes a book. FC-9 also shows the shelves interlocking: it carries FC-1's key question up into the title. The drill offer rides the strongest finding, per the micro-drill doctrine.
|
||||
|
||||
FC-10 is the mechanical-lane exemplar (#123): a table-computable swap the native deslop lint emits (emitter: lint), which the engine therefore never re-cards. Every other card is demonstration—generation in the fix field, Done or Skip at the close, no Apply. The remaining line-level deslop/serif findings (the hedged "has been largely eliminated", the passive queue) stay omitted—those shelves already had coverage before this issue.
|
||||
Reference in new issue
Block a user