Skip to content

Spec 002 T026: every Modified row printed, a listed difference - #217

Merged
adamjohnwright merged 2 commits into
mainfrom
decisions/modified-rows
Nov 14, 2026
Merged

adamjohnwright merged 2 commits into
mainfrom
decisions/modified-rows

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

Spec 002 (analysis report), T026: the first of the two points T019 left open (research R9), decided on 14 Nov 2026.

The decision: print every edit. In release 98, 20 of the 50 pathways compared have two modified edits; today's report prints no Modified row for those, pdf-export prints one for each. pdf-export's behaviour is kept, as a declared difference.

  • spec.md Assumptions: the difference listed, with the decision and its date.
  • research.md: R2's "at most one Modified row" corrected with a dated note; R9's row marked decided.
  • compare-report: listedModifiedRows (src/compare/report.ts) marks it itself, narrowly: a Modified row in ours and absent in today's, for a pathway where ours has two or more Modified rows, is reported with recorded set to its reason, so it no longer counts as unrecorded. Anything else about Modified rows is still a difference. applyRecorded leaves a difference the comparison already lists as it is (and uses no --expected record on it).
  • tasks.md: T026 added and ticked; T019's "left open" updated. README's compare-report line names the listed difference.

Tests

  • Two Modified rows in ours, none in today's: no unrecorded difference, the listed one reported for both pathways, compare-report exits 0. Seen failing with the rule switched off.
  • One Modified row in ours (extra or missing), and today's own Modified row missing beside two of ours: still section edits text. Seen failing with the rule widened to one row.
  • applyRecorded keeps a listed difference's reason: seen failing without that change.

npm run check passes locally.

🤖 Generated with Claude Code

adamjohnwright and others added 2 commits November 14, 2026 02:06
The user decided on 14 Nov 2026 to keep pdf-export's Modified rows: a
pathway with two or more modified edits prints a row for each, where
today's report prints none. T019's run found 20 of 50 pathways so in
release 98.

- spec.md's Assumptions list it; research R2's "at most one Modified
  row" corrected with a dated note; R9's row marked decided.
- compare-report lists it itself, narrowly: a Modified row in ours and
  not in today's, for a pathway where ours has two or more, is marked
  recorded with its reason; anything else about Modified rows is still
  a difference. applyRecorded leaves such a difference as it is.
- Tests: the listed case, seen failing without the rule; a Modified row
  missing or extra where ours has one, and today's own row missing
  beside two of ours, still caught, seen failing with the rule widened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamjohnwright
adamjohnwright merged commit d5f8d24 into main Nov 14, 2026
2 checks passed
adamjohnwright added a commit that referenced this pull request Nov 14, 2026
Keeps both decisions: R9's Modified row as listed (#217) beside the
references' note, and T026 before T027.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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