spec: status lines for every section that landed ahead of its implementation (#539) - #541
Merged
Conversation
…ntation (#539) Several specification sections state present-tense behavior the tree does not carry. Each now says so in the house form §3.3, §6.6 and §2.9 already use: the behavior is specified ahead of its implementation, what the tree does today, and the issue that owes it. Every line is deleted by the implementation PR that lands the behavior. No rule changes. - SPEC.md §3.1: the compiler reads no comment kind. A `///` line lexes as an ordinary `//` comment and is discarded, no doc text reaches the IR or a descriptor column, and none of §4.1's misplacement refusals fires. #523 ruling 4. - SPEC.md §4.2: a tag compiles on a `type` declaration alone. Every other line kind refuses one under a diagnostic written for a different rule. #523 ruling 4. - SPEC-TABLES.md §8.1: no target emits `doc`, `num_tags` or `tags` on `TableFieldInfo` or `TableTypeInfo`. #523 ruling 4. - SPEC-TABLES.md §6.5, §7 and §19.2: `TableRefuseReason` is spelled nowhere, `Open` and `BlockOpen` take no reason out-parameter, a measure answers a bare `-1`, and the name is not claimed. #523. - SPEC-TABLES.md §4: no report struct carries `widened`, and every pair the ladders accept is a `kind_mismatch` today. #523. - SPEC-TABLES.md §2.4 and §11: `schema check` accepts `[E.Max]T` in a table body with no diagnostic and exit 0. #540, which VERSIONING.md's "Owed before 3.0.0" list already carries after #536. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
gafferongames
force-pushed
the
spec-status-539
branch
from
September 4, 2026 17:18
61158cb to
b781484
Compare
This was referenced Sep 4, 2026
gafferongames
added a commit
that referenced
this pull request
Sep 4, 2026
The unit registry's entry point is specified and emitted by no backend; the section carried no status line and survived the #541 sweep. It now says so in the house form, owed under #523 item 4 with the descriptor columns. Co-authored-by: Rowan Claude <rowan@mas-bandwidth.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #539. Docs only:
docs/SPEC.mdanddocs/SPEC-TABLES.md. No rulechanges and no code.
Several specification sections state present-tense behavior the tree does not
carry. Each now says so in the house form §3.3, §6.6 and §2.9 already use: the
behavior is specified ahead of its implementation, what the tree does today,
and the issue that owes it. Every line is deleted by the implementation PR
that lands the behavior.
Each present-state sentence below was confirmed against the tree, with a probe
unit through
schema checkwhere the claim is a refusal.///as an ordinary//line comment and discards it, noDocfield exists ininternal/astorir, and none of §4.1's misplacement refusals fires: a///abovepackageand a///trailing a field both compileinternal/checkgathers tags on*ast.TypeDeclalone. A field's pipe draws "unknown attribute", atableand auniondeclaration draw "takes no qualification", aconstdraws its own, a union arm's pipe draws "expected a field type", and a qualified enum or flags variant does not parsedoc,num_tagsortagsonTableFieldInfoorTableTypeInfo, and nothing upstream exists to fill oneTableRefuseReasonis spelled in no target, no runtime and no tool.Openisconst Scene * SceneOpen( const void * bytes, uint64_t length ),BlockOpenreturns a barebool, a measure answers a bare-1, and the name is not claimed, so a unit may declare itwidenedmember. Any kind difference is onekind_mismatchand the payload is skipped, so the counters a caller sees areunknown,kind_mismatch,clamped,duplicateandmalformedschema checkaccepts[E.Max]Tin a table body with no diagnostic and exit 0docs/VERSIONING.mdneeds nothing from this branch: #536 landed the[E.Max]Tentry in its "Owed before 3.0.0" list, keyed to #540, and the///-and-tags entry beside it. Rebased onto that, so the one owed entry persite is main's.
go test ./compiler/ -run Docpasses, which is the gate that parses thepages' own schema blocks.
🤖 Generated with Claude Code