Fix field edges: what a Fix Card may carry, what Apply may insert #118

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

Part of #116
Blocked by: #117 (resolved — read its audit comment first)

Question

Apply does not exist yet: the rail is render-only, and the apply-write lands in #25 (M2: Apply/Skip Fix Cards & trust UI, blocked by #24 Run a Pass). #25's spec says "Apply writes the edit to the file under ask-before" but never says what "the edit" is. Within the settled core (demonstrate allowed, no one-button publish of mentor prose), pick the fix-field semantics the apply path will implement:

  • (a) verbatim insert of mentor fix text — what sample-pass.md FC-6/FC-8 model today; Ptacek's Rule 1 DQs exactly this;
  • (b) fix as edit instruction — Apply performs a mechanical, mentor-unauthored edit (cut this clause, move this paragraph), never inserts mentor-composed prose;
  • (c) writer-typed rewrite — the card asks the writer to redo the span themselves (demonstrator master-study shape: variants to react to, never to lift).

The resolution feeds #25's spec before apply code exists. Also decide: should sample-pass.md's FC-6/FC-8 fix fields be rewritten to model whatever is chosen, since they are the verification artifact future passes imitate?

[Generated by AI]

Part of #116 Blocked by: #117 (resolved — read its audit comment first) ## Question Apply does not exist yet: the rail is render-only, and the apply-write lands in #25 (M2: Apply/Skip Fix Cards & trust UI, blocked by #24 Run a Pass). #25's spec says "Apply writes the edit to the file under ask-before" but never says what "the edit" is. Within the settled core (demonstrate allowed, no one-button publish of mentor prose), pick the fix-field semantics the apply path will implement: - (a) verbatim insert of mentor fix text — what sample-pass.md FC-6/FC-8 model today; Ptacek's Rule 1 DQs exactly this; - (b) fix as edit instruction — Apply performs a mechanical, mentor-unauthored edit (cut this clause, move this paragraph), never inserts mentor-composed prose; - (c) writer-typed rewrite — the card asks the writer to redo the span themselves (demonstrator master-study shape: variants to react to, never to lift). The resolution feeds #25's spec before apply code exists. Also decide: should sample-pass.md's FC-6/FC-8 fix fields be rewritten to model whatever is chosen, since they are the verification artifact future passes imitate? [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-10-19 13:00:03 +02:00
AlexKucera added a new dependency 2026-10-19 13:00:18 +02:00
AlexKucera self-assigned this 2026-10-19 13:11:42 +02:00
Author
Owner

Resolution — two-lane fix-field semantics (grilled 2026-10-19, two rounds)

Apply splits by a lane the card declares explicitly (typed field on the fix, ADR-0006-compatible — consumers never infer):

Mechanical lane. The fix is a pure function of the anchor text plus fixed tables: cut, move, deterministic mapping (utilize→use), case/whitespace normalization. Never composed prose. These are the only cards Apply executes — the edit lands in the file under the ask-before trust level (blocking ask). Substitution-by-table applies; generation of any kind never does. Both the native deslop lint (#6) and the engine emit here (cut "actually", cut "very").

Demonstration lane. Anything requiring generation (nominalization rewrites, stress-position moves, title candidates). The fix field carries exactly one annotated example in the mentor's voice plus the instruction — FC-6's current shape, retagged. Allowed by an explicit demonstrator exception: Fix Cards may show one annotated example; the 2–3-variant master-study rule stays for demonstrations proper. The example is never insertable — no Apply button exists on this lane. Terminals: Done (the writer rewrote the span; card closes, records nothing — the new third terminal beside Apply and Skip) and Skip ("not this instance"). Stale-anchor stays an alert, never an auto-close.

Naming. Lanes are mechanical | demonstration (typed field values, CONTEXT.md vocabulary, #25 spec terms). Third terminal: Done.

Rule 1 disposition. Museion's line is demonstrate, never insert: Ptacek's DQ targets lifting, and the app never makes lifting a button press. The one-example fix field is the settled demonstrate core extended into cards; hand-copying stays possible (as with the master-study) but never frictionless.

Decided follow-ups (execution — normal issues after the map closes):

  • sample-pass.md: rewrite FC-6/FC-8/FC-9 to the lane semantics (fix fields retagged demonstration) and add a mechanical-lane exemplar (the sample has none; its deslop/serif line findings were omitted by design).
  • CONTEXT.md: lane terms on Fix Card; Apply sharpened to "accepting a mechanical Fix Card so its edit lands"; new Done term.
  • demonstrator skill: the one-example Fix Card exception line.
  • #25's spec: "the edit" = the mechanical lane's deterministic edit; demonstration cards present Done/Skip, no Apply; ask-before gates mechanical Apply only.

Feeds the new card-emitting doctrine ticket and #25 (M2: Apply/Skip Fix Cards & trust UI).

[Generated by AI]

**Resolution — two-lane fix-field semantics** (grilled 2026-10-19, two rounds) Apply splits by a **lane the card declares explicitly** (typed field on the fix, ADR-0006-compatible — consumers never infer): **Mechanical lane.** The fix is a pure function of the anchor text plus fixed tables: cut, move, deterministic mapping (utilize→use), case/whitespace normalization. Never composed prose. These are the **only cards Apply executes** — the edit lands in the file under the ask-before trust level (blocking ask). Substitution-by-table applies; generation of any kind never does. Both the native deslop lint (#6) and the engine emit here (cut "actually", cut "very"). **Demonstration lane.** Anything requiring generation (nominalization rewrites, stress-position moves, title candidates). The fix field carries **exactly one annotated example** in the mentor's voice plus the instruction — FC-6's current shape, retagged. Allowed by an **explicit demonstrator exception**: Fix Cards may show one annotated example; the 2–3-variant master-study rule stays for demonstrations proper. The example is **never insertable** — no Apply button exists on this lane. Terminals: **Done** (the writer rewrote the span; card closes, records nothing — the new third terminal beside Apply and Skip) and Skip ("not this instance"). Stale-anchor stays an alert, never an auto-close. **Naming.** Lanes are `mechanical` | `demonstration` (typed field values, CONTEXT.md vocabulary, #25 spec terms). Third terminal: **Done**. **Rule 1 disposition.** Museion's line is *demonstrate, never insert*: Ptacek's DQ targets lifting, and the app never makes lifting a button press. The one-example fix field is the settled demonstrate core extended into cards; hand-copying stays possible (as with the master-study) but never frictionless. **Decided follow-ups (execution — normal issues after the map closes):** - sample-pass.md: rewrite FC-6/FC-8/FC-9 to the lane semantics (fix fields retagged demonstration) and add a mechanical-lane exemplar (the sample has none; its deslop/serif line findings were omitted by design). - CONTEXT.md: lane terms on Fix Card; Apply sharpened to "accepting a **mechanical** Fix Card so its edit lands"; new Done term. - demonstrator skill: the one-example Fix Card exception line. - #25's spec: "the edit" = the mechanical lane's deterministic edit; demonstration cards present Done/Skip, no Apply; ask-before gates mechanical Apply only. Feeds the new card-emitting doctrine ticket and #25 (M2: Apply/Skip Fix Cards & trust UI). [Generated by AI]
Sign in to join this conversation.