Skip to content

Record CR-2026-034 in SESSION-NOTES.md - #35

Merged
reissjason merged 1 commit into
masterfrom
docs/session-notes-c-flagged
Aug 25, 2026
Merged

Record CR-2026-034 in SESSION-NOTES.md#35
reissjason merged 1 commit into
masterfrom
docs/session-notes-c-flagged

Conversation

@reissjason

Copy link
Copy Markdown
Contributor

Notes-only. No code, schema or test changed - git diff --stat master is one file.

What was stale

The RESUME HERE block named flagged in the C interpreter as "one obvious next CR". It landed as CR-2026-034, so the entry is replaced with what the harness now says the next work actually is:

The next work on C is widening the harness, not the interpreter.

repeat is the last construct C has no field type for, and it is 3 schemas - worth less than the two limits above it, transform (26 schemas) and bitfield_string (24). Whether C supports either is unknown because the harness cannot build them, which is the question the harness exists to answer.

Counts corrected: Python 2706 passed / 4 skipped, make test-c 488 of 488 attempted, 0 differ.

The C bullet now names the side each limit sits on

CR-2026-034 corrected a skip message that did not: no constructor for type 'u32le16' read as a C gap when the interpreter has FIELD_TYPE_U32LE16 and decodes it perfectly well. In a report whose whole purpose is telling C's gaps from the harness's, a reason that does not say which is worse than no reason at all.

Also records the rule that shape did not cover: a flagged mask field must declare var_name. The interpreter records a variable only where a field declares one, while a YAML flagged names a field - so no corpus schema carries var: for it and the harness patches it in. var_has() makes a missing reference SCHEMA_ERR_MATCH rather than a mask of zero, which is indistinguishable from "no bits set" and would have decoded nothing while reporting success.

A ninth failure kind

New mode, not a repeat of the eight: a multi-edit script that asserts anchors as it goes and writes at the end leaves the file untouched when a later anchor fails, and the git commit --amend that follows commits the unchanged content. The edit silently had not happened and the commit looked clean. It caught me twice in a row on AGENTS.md within one CR. Verify every anchor before writing any.

The section opener no longer carries a running instance total - it went stale within the same day, which is the very trap the section is about.

Verified

  • python3 -m pytest tests/ -q -> 2706 passed, 4 skipped
  • make docs-index-check -> up to date
  • Nothing in tests/, tools/, the Makefile or any language runner reads SESSION-NOTES.md (the one grep hit in generate_output_schema.py is a prose comment)

🤖 Generated with Claude Code

The RESUME HERE block named `flagged` in the C interpreter as the one obvious next
CR. It landed, so that entry is replaced with what the harness now says the next
work is: widening the harness rather than the interpreter. `repeat` is the last
construct C has no field type for and it is 3 schemas, worth less than the two
harness limits above it - `transform` at 26 and `bitfield_string` at 24 - and
whether C supports either is unknown *because the harness cannot build them*, which
is the question the harness exists to answer.

The C bullet now lists what blocks each remaining schema **with the side the limit
sits on**, because CR-2026-034 corrected a message that did not: `no constructor
for type 'u32le16'` read as a C gap when C decodes it perfectly well. In a report
whose purpose is telling C's gaps from the harness's, a reason that does not say
which is worse than no reason.

The session subsection gains CR-2026-034: the representation reuses the tlv shape,
and the one thing that shape did not cover - a `flagged` mask field must declare
`var_name`, because the interpreter records a variable only where a field declares
one while a YAML `flagged` names a field. `var_has()` makes a missing reference an
error rather than a mask of zero, which would have decoded nothing and reported
success.

The measurements section gains a ninth kind, and it is a new failure mode rather
than a repeat: a multi-edit script that asserts anchors as it goes and writes at the
end leaves the file untouched when a later anchor fails, and the `--amend` that
follows commits the unchanged content. The edit silently had not happened and the
commit looked fine. It caught me twice in a row on AGENTS.md in the same CR.

Counts: Python 2706, harness 488 of 488.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@reissjason
reissjason merged commit b78496d into master Aug 25, 2026
5 checks passed
@reissjason
reissjason deleted the docs/session-notes-c-flagged branch August 25, 2026 20:24
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