Skip to content

fix(fixtures): memo paragraph 3 is an applied correction, not a question - #53

Open
Adam Poulemanos (bashandbone) wants to merge 1 commit into
mainfrom
fix/memo-joint-usa-applied
Open

Adam Poulemanos (bashandbone) wants to merge 1 commit into
mainfrom
fix/memo-joint-usa-applied

Conversation

@bashandbone

Copy link
Copy Markdown
Contributor

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-ownership is applied with 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 leaves document.blocking. Severity, basis, rule, anchor and citation (§H.3 p. 55) are unchanged.
  • Tests: the choices flow keeps its coverage. The old question finding is now packages/core/test/choices-finding.json (checked against the contract's Finding type), and withChoices puts it back for the flow tests in core, kit and the add-in. fixtures.test.ts pins the new paragraph 3. locate.test.ts expects four fixes.
  • Documents: the JOINT fallback example leaves AGENTS.md, docs/ENGINE-ASKS.md and docs/DERIVATION.md. docs/CONTRACT.md cites p. 55 for the JOINT message (was p. 57; the fixture cites p. 55). docs/MODEL.md named paragraph 4 as the one carrying NF; it is paragraph 5.

For the maintainer

  1. Decision record needed. MD-0017 says "The JOINT fallback is a form nobody wrote, so it is a fallback, not a reading; the question stays Action required when a person is there." MD-0013 uses the same case as its example. This change follows your ruling of 2026-11-28, which is not in the registry. I did not edit docs/maintainer-decisions/. The impact block below says ruling_required, so the Maintainer decisions check fails until a record supersedes those clauses.
  2. No blocking on paragraph 3. I gave it 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.
  3. Worked examples still show the question. docs/CONTRACT.md (lines 22, 43, 52), docs/MODEL.md (219–247, 274, 393 and the prompt text around them) and docs/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.md specimens are left too.
  4. Not in this change. Two reviews also proposed adding paragraph 4 to the banner card's depends_on. That makes the Word add-in hold every typed paragraph 4 mark (held() in apps/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.
  • typos reports TTO in apps/office-addin/src/selected-audience-vocabulary.ts, a file this change does not touch.
  • Not checked: rendering in a browser or in Word.
[maintainer_decision_impact]
status = "ruling_required"
decisions = ["MD-0003", "MD-0004", "MD-0007", "MD-0010", "MD-0013", "MD-0014", "MD-0016", "MD-0017", "MD-0021"]
supersedes = []
reason = "MD-0017 keeps the JOINT fallback as a required question, and MD-0013 uses it as its example. The maintainer ruled on 2026-11-28 that Marque applies the USA correction to a JOINT without asking. Does that ruling supersede the JOINT clause of MD-0017 and the example in MD-0013?"

🤖 Generated with Claude Code

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>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T15:48:26.245406Z e2983eb PR opened
🔒 Security Review ✅ Completed 2026-11-28T15:49:30.852969Z e2983eb PR opened
ℹ️ About Codex in GitHub

Your 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +336 to +338
"asks": null,
"needs_person": "none",
"blocks": "never",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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>[] };

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant