Repository navigation
fix(fixtures): memo paragraph 3 is an applied correction, not a question - #53
Adam Poulemanos (bashandbone) wants to merge 1 commit into
Conversation
The memo's paragraph 3 is `(//JOINT S AUS GBR//REL TO USA, GBR)`. The fixture asked the person who produced it, with three readings and a fallback. The maintainer ruled on 2026-11-28 that Marque does not ask a person to add USA to a JOINT: a JOINT always includes the U.S., so the correction is Marque's to make. - `f-p3-ownership` is now `applied` with result `(//JOINT S AUS GBR USA//REL TO USA, AUS, GBR)`; no readings, no ask, `needs_person: none`, `blocks: never`, as for the other applied finding. It leaves `document.blocking`. - The choices flow keeps its tests. The old question finding moves to `packages/core/test/choices-finding.json`, checked against the contract's `Finding` type, and `withChoices` puts it back for the flow tests. - Documents: the JOINT fallback example leaves `AGENTS.md`, `ENGINE-ASKS.md` and `DERIVATION.md`; `CONTRACT.md` cites p. 55 for the JOINT message; `MODEL.md` names paragraph 5, not 4, as the one that carries NF. Not changed: `docs/maintainer-decisions/` (MD-0013 and MD-0017 still use the JOINT case), the banner card, and the worked examples in `CONTRACT.md`, `MODEL.md` and `COMPONENTS.md` that show the question. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e2983eb07e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
| "asks": null, | ||
| "needs_person": "none", | ||
| "blocks": "never", |
There was a problem hiding this comment.
Record the superseding JOINT decision before changing the oracle
The registry still marks MD-0017 as active and explicitly requires this JOINT case to remain a question when a person is present; MD-0013 also retains its conservative-fallback behavior. Although the commit message quotes a newer maintainer ruling, no decision record supersedes those clauses, leaving the published oracle inconsistent with the binding registry. Record the ruling and supersession alongside this change rather than leaving the conflict unresolved. AGENTS.md requires conflicting active decisions to be resolved before changing the code.
AGENTS.md reference: AGENTS.md:L26-L26
Useful? React with 👍 / 👎.
| 'the choices finding used by the flow tests fits the contract', | ||
| ); | ||
| { | ||
| const doc = JSON.parse(memo) as { document: { blocking: string[] }; findings: Record<string, any>[] }; |
There was a problem hiding this comment.
Keep the fixture assertions typed against the contract
The new cast replaces the contract's findings with Record<string, any>[], so every accessed finding slot—including outcome, asks, and blocks—loses its declared type. The preceding literal check validates the JSON, but does not type-check these assertions against the contract. Use the existing Doc or Finding types and narrow the selected finding instead; AGENTS.md explicitly prohibits typing contract slots as any.
AGENTS.md reference: AGENTS.md:L89-L89
Useful? React with 👍 / 👎.
What
The memo's paragraph 3,
(//JOINT S AUS GBR//REL TO USA, GBR), becomes an applied correction. Marque no longer asks the person who produced it.Ruling (maintainer, 2026-11-28): "We do not need to ask a user to add USA to a JOINT --- the live question is the issue. It's a trivial change that doesn't require user input."
Changes
fixtures/memo.findings.json:f-p3-ownershipisappliedwith result(//JOINT S AUS GBR USA//REL TO USA, AUS, GBR). No readings, no fallback, no ask;needs_person: none,blocks: never, the same as the other applied finding (f-p2-rel-to-separator). It leavesdocument.blocking. Severity, basis, rule, anchor and citation (§H.3 p. 55) are unchanged.packages/core/test/choices-finding.json(checked against the contract'sFindingtype), andwithChoicesputs it back for the flow tests in core, kit and the add-in.fixtures.test.tspins the new paragraph 3.locate.test.tsexpects four fixes.AGENTS.md,docs/ENGINE-ASKS.mdanddocs/DERIVATION.md.docs/CONTRACT.mdcites p. 55 for the JOINT message (was p. 57; the fixture cites p. 55).docs/MODEL.mdnamed paragraph 4 as the one carrying NF; it is paragraph 5.For the maintainer
docs/maintainer-decisions/. The impact block below saysruling_required, so theMaintainer decisionscheck fails until a record supersedes those clauses.blocks: never, as paragraph 2 has. Whether an applied correction of a mandatory rule should block finalize until the host writes it is a wider question that also covers paragraph 2; it is not changed here.docs/CONTRACT.md(lines 22, 43, 52),docs/MODEL.md(219–247, 274, 393 and the prompt text around them) anddocs/COMPONENTS.md(many samples, and the(S//FGI AUS GBR//NF)fallback at 298, 364 and 401) use the JOINT question as their example of a decision. No replacement example is settled, so they are left.docs/THEME.mdspecimens are left too.depends_on. That makes the Word add-in hold every typed paragraph 4 mark (held()inapps/office-addin/src/write.ts), so it is left out.Checks
vp run -r test: exit 0, 4 of 4 packages.vp check: exit 0.typosreportsTTOinapps/office-addin/src/selected-audience-vocabulary.ts, a file this change does not touch.🤖 Generated with Claude Code