feat(mentor): blind read A/B judgment (#122)
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:
AlexKucera committed 2026-10-30 17:31:00 +01:00
1 parent 4724e00b73
commit 97e86cf62d
15 files changed
+627 -32

No files matched your search

+4
View File
@@ -91,6 +91,10 @@ _Avoid_: review, run, check
The maturity of a Piece, recorded in its frontmatter: First Draft, Pass-1 Done, Pass-2 Done. Explicit, never inferred. Advances when the Pass completes — the engine's turn ends — not when its Fix Cards are resolved; passes run in any order.
_Avoid_: status, draft state
**Blind Read**:
A writer-triggered, whole-document judgment: the current Piece against its Pass-start snapshot, compared by a fresh session of the Museion profile that never saw the editing history. The two versions go in unlabeled and in randomized order; the verdict — a pick and one line why — is display-only. Records nothing; the writer stays judge of record.
_Avoid_: A/B test, vote, score
**Fix Card**:
One finding from a pass: pattern, problem, diagnostic question, fix, anchor, lane, emitter, provenance, status. Anchored to a text span by quote; travels as a typed tool call, never prose to parse. The lane is declared, never inferred — mechanical (the whole fix is a pure function of the anchor plus fixed tables: cut, move, mapping, case) or demonstration (any generation).
_Avoid_: suggestion, comment, annotation