feat(mentor): blind read A/B judgment (#122)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
A purposeful writer action on the open post — the "Blind Read" button beside Run Pass — triggers a whole-document advisory judgment: the current document against the Pass-start snapshot (the newest passes/pass-N.md on disk), decided by a FRESH session of the same museion profile over the existing one-shot ACP rail. Both versions travel inline in one prompt under neutral A/B position labels with randomized order — the judge never learns which is the rewrite — and the A/B-to-origin reveal appends only after the verdict, so the mapping cannot leak; cancelled, refused, and spawn-failed turns reveal nothing. Advisory-only per decision #120: no Pass State advance, no cards, no Learnings, the roster never grows — the verdict is display-only and dies with the transient transcript. The writer stays judge of record; demonstrator picks and Fix Card status are untouched. Honest refusals for the degenerate states: no snapshot yet, an unchanged document, or a busy rail (passes and reads refuse each other; the pass bar's one Cancel ends either). The pass engine's spawn/session/teardown block became one shared runOneShot rail (failure rows speak the run's own name), the pass-bar button gates on a derived openPieceHasSnapshot flag, the fake ACP gained a prompt-log observable, and the GLOSSARY "Blind Read" term landed with the issue. Finish-audit (three reviewers): a refusal still ends .ended, so the reveal now gates on the stopReason (flip-verified pin), plus the Cancel-rail and pass/blind-read exclusivity pins. Suite 500; swiftformat clean; swiftlint adds no violations over the HEAD baseline. Closes #122
This commit is contained in:
1 parent
4724e00b73
commit
97e86cf62d
15 files changed
+627
-32
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`–`0014`: 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, one Hermes profile per LLM 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, #11, and #123 verification artifacts); card shape follows CONTEXT.md (lane and emitter fields included), 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 GLOSSARY.md (lane and emitter fields included), anchors follow ADR-0006.
|
||||
|
||||
## Work Guidance
|
||||
|
||||
|
||||
Reference in new issue
Block a user