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
@@ -111,7 +111,7 @@ When the user requests a durable behavior change, record it here or in the relev
|
||||
| `MuseionUITests/` | XCUITest smoke test — single file, no child doc yet |
|
||||
| `docs/AGENTS.md` | Durable documentation — ADRs and their conventions |
|
||||
| `ref/writing skills/AGENTS.md` | Bundled writing-skill set — the G3a payload seeded into the museion profile |
|
||||
| `CONTEXT.md` | Binding project glossary — shared vocabulary for app, mentor, and docs |
|
||||
| `GLOSSARY.md` | Binding project glossary — shared vocabulary for app, mentor, and docs |
|
||||
|
||||
## Agent skills
|
||||
|
||||
@@ -125,12 +125,12 @@ Default five canonical roles, label string = role name. See `docs/agents/triage-
|
||||
|
||||
### Domain docs
|
||||
|
||||
Single-context: `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
|
||||
Single-context: `GLOSSARY.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
|
||||
|
||||
<!-- gitnexus:start -->
|
||||
# GitNexus — Code Intelligence
|
||||
|
||||
This project is indexed by GitNexus as **museion** (5285 symbols, 20153 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
This project is indexed by GitNexus as **museion** (5336 symbols, 20660 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
|
||||
|
||||
> Index stale? Run `node .gitnexus/run.cjs analyze` from the project root — it auto-selects an available runner. No `.gitnexus/run.cjs` yet? `npx gitnexus analyze` (npm 11 crash → `npm i -g gitnexus`; #1939).
|
||||
|
||||
@@ -190,6 +190,7 @@ Session logs live in `docs/devlog/` (one per completed task/issue/milestone). Fu
|
||||
<!-- write-log: window-start -->
|
||||
| Date | Log |
|
||||
|------|-----|
|
||||
| 2026-10-30 | [20261030-issue122-blind-read-writer-triggered-whole-document-ab-judgment_log.md](20261030-issue122-blind-read-writer-triggered-whole-document-ab-judgment_log.md) |
|
||||
| 2026-10-30 | [20261030-issue6-native-deslop-lint-swift-banned-vocab-em-dash-fix-cards_log.md](20261030-issue6-native-deslop-lint-swift-banned-vocab-em-dash-fix-cards_log.md) |
|
||||
| 2026-10-30 | [20261030-issue1-verify-style-constraints-prompt-end_log.md](20261030-issue1-verify-style-constraints-prompt-end_log.md) |
|
||||
| 2026-10-28 | [20261028-issue137-profiles-s4-engine-lifecycle-model-switch-ux_log.md](20261028-issue137-profiles-s4-engine-lifecycle-model-switch-ux_log.md) |
|
||||
@@ -199,6 +200,4 @@ Session logs live in `docs/devlog/` (one per completed task/issue/milestone). Fu
|
||||
| 2026-10-22 | [20261022-issue31-first-draft-stats-capture-s5-1_log.md](20261022-issue31-first-draft-stats-capture-s5-1_log.md) |
|
||||
| 2026-10-22 | [20261022-issue30-sessions-new-post-from-session-drill-offers_log.md](20261022-issue30-sessions-new-post-from-session-drill-offers_log.md) |
|
||||
| 2026-10-22 | [20261022-issue29-research-library-light_log.md](20261022-issue29-research-library-light_log.md) |
|
||||
| 2026-10-22 | [20261022-issue28-session-lifecycle-ui_log.md](20261022-issue28-session-lifecycle-ui_log.md) |
|
||||
| 2026-10-21 | [20261021-issue27-dismiss-decay-learnings_log.md](20261021-issue27-dismiss-decay-learnings_log.md) |
|
||||
<!-- write-log: window-end -->
|
||||
Reference in new issue
Block a user