Repository navigation
Propose gating the code_surface: declaration's grammar (gate-realization-axis-vocabulary § 6.3 successor) - #1018
Conversation
…f of the sentence its sibling gated `release-realization`'s promoted requirement *Realization axis declaration* is one sentence with two halves. `gate-realization-axis-vocabulary` built a house validator and a closed register for `target_release:` and ruled, in its own ratified `tasks.md` § 6.3, that `code_surface:` IS NOT GATED. This packet is that residue, measured. MEASURED AT `origin/main` `bcde1575`, not carried from the issue: 45 active proposals, 45 declaring `code_surface:`, 4 `none` (the issue's 5 is stale by one) and 41 a non-`none` repository list. The grammar is DERIVED from the population — 38 of the 45 already write head-then-opener-then-gloss (opening parenthesis 19, em dash 17, full stop 2) and 7 do not, in four classes: a YAML block scalar leaving a literal `>-` in the value, a possessive, an apposition, and four whose list runs into prose. The archive is read and never judged: 165 proposals, 119 declaring in their front matter, 3 outside the grammar. AND EXACTLY ONE MACHINE READER OF THE FIELD EXISTS, AND IT READS THE GLOSS. `scripts/scope_globs.py`'s `code_surface_repositories`, wired at `scripts/validate-scope-globs.py:68`, splits the whole declaration on `[\s,()/]+` and returns 3,421 distinct "repository" tokens across the 45 — 767 from one declaration — with 27 of 45 yielding an estate repository their own head does not name, and 3 of the 4 `none` carriers yielding a non-empty set. Its consumer bounds what a `scope_globs:` path grant may authorize. The defect is LATENT and not standing: 0 of 45 declare `scope_globs:` today. THREE `## ADDED` REQUIREMENTS AND NO `## MODIFIED` BLOCK, for the sibling's reason: `add-structured-scope-substrate` is ACTIVE and already holds a MODIFIED block over *Realization axis declaration*, so a second one would owe `sequenced_after` and inherit that requirement's archive-order hold. All three titles are novel to the corpus. PROPOSAL ONLY. `Status: draft` on every document, the lawful unapproved drafting shape in `.openspec.yaml`, nothing under `openspec/specs/` edited, and no validator, register or test added — those are `tasks.md` § 3, a later pull request on a later word. `code_surface` is NON-EMPTY, so this packet archives only on merged-plus-green realization evidence. Four decisions are put for veto: D1 the grammar, D2 the shape of the remedy, D3 the disposition of the seven, D4 the `scope_globs:` reuse. Refs #1013. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5 <[email protected]>
Reviewer's GuideThis proposal-only PR introduces a draft OpenSpec packet to gate Sequence diagram for head-based repository authorizationsequenceDiagram
participant Proposal
participant ScopeGlobs as scope_globs
participant Consumer as validate_cross_consistency
participant Authorization
Proposal->>ScopeGlobs: code_surface_repositories
ScopeGlobs->>ScopeGlobs: derive repositories from declared head
ScopeGlobs-->>Consumer: repository set
Consumer->>Authorization: validate scope_globs keys against repository set
Authorization-->>Consumer: authorization result
Flow diagram for proposal-only gating realizationflowchart TD
Draft["Draft OpenSpec packet"] --> Ratify["Later ratification decision"]
Ratify --> Realize["Later realization pull request"]
Realize --> Validator["Add validator, register, and tests"]
Realize --> Narrow["Optionally narrow code_surface_repositories"]
Validator --> Green["pytest-suite green"]
Green --> Archive["Archive change and close issue"]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
… filing pull request The per-change sweep ledger row is seeded by the sanctioned tool and never hand-written: `scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1018'`, run after the draft pull request existed because the tool stamps `moved_by` with its number — "wrote tests/sequenced_after/corpus-ledger.yaml (211 rows, 1 moved by #1018)". After it, `--ledger-diff` exits 0 with "per-change sweep ledger consistent with the corpus (211 rows)". `tasks.md` § 4 is ticked on the runs that were actually taken, each with its exit code and its own output quoted: `openspec validate <change> --strict` exit 0; `--all --strict` exit 1 with a failure set IDENTICAL to `origin/main` `bcde1575`'s three, taken in the same shell from a worktree of it, the item count moving by exactly one; `proposal-support.py verify` exit 0; `validate-target-release.py` exit 0; `validate-scope-globs.py` and `validate-sequenced-after.py` exit 0; `doc-health.py --single-repo .` exit 0 with the same band counts on this tree and on the `origin/main` worktree (9 error, 23 warning) and zero findings naming this change. § 4.9 (the bot bench) stays open, and § 1, § 3, § 5 and § 6 are untouched. Refs #1013. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5 <[email protected]>
…ement, sixteen in all `proposal.md` said TEN scenarios for *Code-surface declaration grammar is gated*. Counted from the delta file — `awk` over `^### Requirement:` and `^#### Scenario:` — it is NINE (9 + 3 + 4 = 16), and the nine cover every obligation the requirement body states: the prose-run refusal, `none`, one repository, several repositories, the YAML block scalar, the repeat, absence, a present-but-empty value, and the archive read and never judged. Nothing in the delta moves; the inventory was simply mis-stated. This is the sibling's own twice-paid lesson applied at the first opportunity rather than after a bench round: a count carried in one document and measured in another is a finding, so the figure moves in every site in the same commit. `design.md`, `tasks.md` and the README row make no scenario claim and are unchanged; the pull-request description is corrected with this push. Refs #1013. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved specification, bookkeeping, and task-ledger inconsistencies must be addressed.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Drafts an OpenSpec proposal to gate code_surface: declaration grammar and repository-set derivation without implementing the validator or changing promoted specifications.
Changes:
- Adds draft proposal, design, specification, task, and metadata documents.
- Records the active change in
README.md. - Defers validation, register, tests, and realization work.
File summaries
| File | Summary |
|---|---|
README.md |
Records the active draft proposal. |
openspec/changes/gate-code-surface-declarations/tasks.md |
Tracks ratification, realization, verification, and archive work. |
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md |
Defines the proposed requirements. |
openspec/changes/gate-code-surface-declarations/proposal.md |
Documents scope, measurements, and deferred implementation. |
openspec/changes/gate-code-surface-declarations/design.md |
Records design decisions and alternatives. |
openspec/changes/gate-code-surface-declarations/.openspec.yaml |
Declares proposal metadata and provenance. |
Review details
Suppressed comments (3)
openspec/changes/gate-code-surface-declarations/design.md:152
- The formal grammar here permits a declaration to end immediately after the head, while
tasks.md§1.1 and.openspec.yamldescribe the gloss opener as REQUIRED; the spec prose also says the gloss is optional. Please resolve whether a bare head such ascode_surface: repois valid and align the grammar, task, metadata, and scenarios before ratification, otherwise different implementations can disagree.
gloss_opener:= " — " | " – " | " (" | ". " | ": " | "; " (or end of declaration)
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:160
- The proposal admits both bare names and
<owner>/<name>addresses, but never defines the representation returned toscope_globscross-consistency. The existing contract calls those keys repository names and the current extractor makes both slash-separated tokens available; narrowing it to exact head identifiers would makescope_globs: LedgerxWalletfail forcode_surface: opensoft/LedgerxWallet, while requiring full addresses changes that convention. Specify canonicalization (or require exact address keys) and test both forms before claiming the set is exactly the head.
### Requirement: The declared repository set is derived from the head and never from the gloss
A consumer deriving a repository SET from a `code_surface:` declaration SHALL
derive it from the DECLARED HEAD alone, and SHALL NOT derive it from the prose
gloss. A declaration's gloss is where an author explains the
surface — naming the repositories the change does NOT touch, the repository a
companion change will touch, and the repository a pin points at — so a derivation
that reads the gloss returns repositories the author expressly did not declare a
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:99
|is a literal block-scalar indicator, not a folding indicator;>-is a folded one. More importantly, define whether every legal block-scalar form (>,>+,|-, indentation modifiers, etc.) is refused by name, otherwise an implementation can special-case the two examples while still accepting or generically reporting other block scalars.
A DECLARATION WRITTEN AS A YAML BLOCK SCALAR SHALL BE REFUSED BY NAME. `>-` and
`|` are YAML folding indicators, and `code_surface:` is a PROSE HEADER that no
YAML loader reads, so the indicator survives into the value and becomes the first
thing a reader sees where a repository name belongs. The corpus carries one such
declaration today. The refusal SHALL say what it is rather than merely reporting
an unreadable head, because the author who wrote those two characters was
- Files reviewed: 7/7 changed files
- Comments generated: 4
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved contract ambiguities and an incomplete fail-closed path remain in the proposed requirements and realization plan.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (8)
openspec/changes/gate-code-surface-declarations/design.md:151
noneis a valid<name>under therepoproduction, sonone, openxFactorymatches the multi-repository branch even thoughnoneis also the empty-surface sentinel. The planned extractor special-casesnone, making this form ambiguous between an empty surface and a repository set. Make barenonemutually exclusive with the repository-list branch (or explicitly refuse mixed heads) and cover it in a scenario.
head := "none" | repo ( SEP repo )*
SEP := "," | " and " | " + " (and ", and ")
repo := <owner>/<name> | <name>
name := [A-Za-z][A-Za-z0-9._-]*[A-Za-z0-9]
openspec/changes/gate-code-surface-declarations/design.md:149
SEPadds, andin a parenthetical, but the normative delta and task 3.1 admit only comma,and, and+. This gives the implementation two conflicting contracts and can change whether an Oxford-comma phrase is parsed as a head or gloss. Remove the parenthetical or add this separator to the requirement and scenarios.
SEP := "," | " and " | " + " (and ", and ")
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:35
- This unconditional loader-refusal rule conflicts with the later requirement that archived proposals are read/count-only and never judged. A malformed
scope_globsorsequenced_afterblock in an archived packet would make the shared loader raise; followed literally, the new gate would then fail on frozen archive data. Restrict this finding behavior to the active scan and explicitly count-but-ignore loader failures in the archive, matching the existingtarget_releasegate.
produced, so a document the strict loader refuses is refused here too, reported
as a finding against that document rather than crashing the run.
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:78
- The contract admits
<owner>/<name>identifiers but never defines their canonical comparison form forscope_globskeys. The existing cross-check uses exact string membership (scripts/scope_globs.py:397-403), while those keys are described as repository names; a declaration such asopensoft/LedgerxWalletcan therefore mismatch a key ofLedgerxWallet(or vice versa). Define whether scope keys must be qualified or normalize both forms, and pin that choice with a scenario.
A REPOSITORY IDENTIFIER IS EITHER A BARE REPOSITORY NAME OR AN `<owner>/<name>`
ADDRESS, and BOTH SHALL BE ADMITTED because the corpus carries both. The gate
SHALL judge the identifier's SHAPE and SHALL NOT judge its MEMBERSHIP of any
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:78
- Because the normative delta never defines the lexical grammar for
REPOSITORY IDENTIFIER, the central shape check is still ambiguous: it does not say which characters or edge punctuation are valid. The only definition is indesign.md(name := ...), which is non-canonical and currently requires at least two characters. Repeat the exact grammar (and sentinel handling) in the requirement so the validator and consumers cannot implement different heads.
A REPOSITORY IDENTIFIER IS EITHER A BARE REPOSITORY NAME OR AN `<owner>/<name>`
ADDRESS, and BOTH SHALL BE ADMITTED because the corpus carries both. The gate
SHALL judge the identifier's SHAPE and SHALL NOT judge its MEMBERSHIP of any
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:97
|is a literal block-scalar indicator, not a folding indicator, and valid forms include>/|with-,+, and indent modifiers. Because this requirement says refusal is by name, the current wording could lead the later gate to reject only>-/|and miss other block scalars. Define the complete prefix rule using “block-scalar indicator.”
A DECLARATION WRITTEN AS A YAML BLOCK SCALAR SHALL BE REFUSED BY NAME. `>-` and
`|` are YAML folding indicators, and `code_surface:` is a PROSE HEADER that no
YAML loader reads, so the indicator survives into the value and becomes the first
thing a reader sees where a repository name belongs. The corpus carries one such
openspec/changes/gate-code-surface-declarations/tasks.md:184
scope_globs.pyis vendored byte-for-byte into codexFactory's merge gate and its parity is pinned bytests/merge-master/test_vendored_scope_globs.py(seescripts/scope_globs.py:131-138). This task only changes the openxFactory module, but the consuming merge-gate copy would either keep deriving repositories from the gloss or fail the vendor/parity check; it also cannot import the newcode_surface.pybecause that file is not among the vendored modules. The realization plan needs an explicit cross-repository/vendor update and matching evidence before this authorization rule is implemented.
- [ ] 3.5 **NARROW `scripts/scope_globs.py`'s `code_surface_repositories`** to
derive its set from the DECLARED HEAD, through the reader § 3.1 adds, so
the field has one derivation and not two — **only if § 1.4 rules D4
option 1**. Pinned by a test proving the function returns the head's
identifiers and none of the gloss's, and by a before/after run of
openspec/changes/gate-code-surface-declarations/tasks.md:184
- Requirement 2 is unconditional, but the only implementation that fixes the existing consumer is conditional on D4 option 1. If D4 option 2 or 3 is selected,
scope_globs.code_surface_repositoriesremains gloss-based (option 3 registers its symptoms rather than fixing the reader), so the realized code would violate the ratified “head and never gloss” rule. Make the consumer change mandatory, or explicitly defer/sequence requirement 2 with a successor and hold archive.
- [ ] 3.5 **NARROW `scripts/scope_globs.py`'s `code_surface_repositories`** to
derive its set from the DECLARED HEAD, through the reader § 3.1 adds, so
the field has one derivation and not two — **only if § 1.4 rules D4
option 1**. Pinned by a test proving the function returns the head's
identifiers and none of the gloss's, and by a before/after run of
- Files reviewed: 7/7 changed files
- Comments generated: 1
- Review effort level: Lite
|
RULING — RATIFIED. Brett Heap, 2026-09-13T00:41Z, verbatim "ratify", on lane openXfactory-5's PR #1018 ( Execution of the ruling by the lane, in order:
Lane: openxfactory-5 (openXfactory-5) |
…to the ratified text RATIFIED. Brett Heap, 2026-09-13T00:41Z, verbatim "ratify", recorded at PR #1018 comment 5649742729. THE WORD IS BARE and is recorded as one: unlike the sibling's three labelled rulings it names no option individually — it ratifies the PACKET, and the packet encodes the RECOMMENDED option at each of design.md's four declared veto points (D1 gate the grammar, D2 validator plus closed register plus ADDED requirement, D3 register all seven and sweep none, D4 reuse as the consumer and narrow the extractor), so no wording moved on the ruling. THE RULING REACHES THE FIRST BENCH ROUND ON ITS OWN WORDS — the two confirmed findings are fixed "before the record is cut, so the ratified packet includes them": (a) THE GRAMMAR NEVER RESERVED `none` OUT OF REPOSITORY IDENTIFIER. The head admitted "the single word `none`, OR one or more REPOSITORY IDENTIFIERS", with nothing forbidding both — and `none` matches the identifier SHAPE like any lowercase word, the identifier rule judging shape and deliberately not membership. So `none, openxFactory` parsed as a two-member list and derived a NON-EMPTY set for a change declaring the empty surface, contradicting the second requirement's own `none` rule. FIXED: the two head forms are EXCLUSIVE in the requirement's first line, a paragraph states why the exclusivity is written down, and a tenth scenario refuses a mixed head in either order and at every list position, forbidding a derived set for it. A refusal, not a precedence rule: both precedence rules silently discard something an author wrote. (b) THE REGISTERED-EXCEPTION CASE WAS UNDEFINED, AND BOTH OBVIOUS FALLBACKS ARE DEFECTS. The register tolerates seven heads the grammar cannot read while the derivation requirement makes every consumer read the head — so a registered packet that later declares `scope_globs:` had no defined answer. FIXED as FAIL-CLOSED in canon: such a proposal is REFUSED by the cross-consistency check, naming the proposal AND its register entry, until the declaration is brought into the grammar. Both substitutes are forbidden by name — a whole-declaration fallback would re-admit the 3,421-token gloss surface this packet exists to close, and an empty set would report the fault against the structured scope rather than against the code surface that causes it. A sentence in the register requirement states the boundary from that side, the derivation requirement now distinguishes an empty set the head DECLARES from the ABSENCE of a head-derived set, and a fourth scenario pins the refusal and both prohibitions. The third standing thread is REFUSED AS FALSE on measurement and design.md D9 records why: the corpus-ledger row is at tests/sequenced_after/corpus-ledger.yaml line 236 on this branch, the file is in this pull request's diff, and `validate-sequenced-after.py . --ledger-diff` exits 0 with "per-change sweep ledger consistent with the corpus (211 rows)". Nothing is changed for it. SCENARIO COUNTS RE-COUNTED FROM THE DELTA FILE, NOT CARRIED: 10 + 4 + 4 = EIGHTEEN (was 9 + 3 + 4 = sixteen). Corrected in the packet summary and in the pull-request description. THE RATIFICATION RECORD IS NOT A HEADER FLIP. `.openspec.yaml` gains `approved_by` / `approved_on` as a pure ADDITION beside a byte-unmoved drafting provenance (`kind` and `id` never move); proposal.md, design.md and tasks.md carry `Status: ratified` with ONE citation each; and the draft-voiced prose is revised with them — the veto-point framing in all three documents, tasks.md § 1 rewritten as GIVEN with eight ticked boxes, the "only if D4 is ruled" conditional in proposal.md's own `code_surface:` declaration, the "what this packet does NOT do" list, § 3.8/§ 4.8 and the README row moved to the ratified standing. A header flip over unrevised draft language is the defect Opsx #397 recorded on 2026-09-12. VERIFIED on this tree: `openspec validate gate-code-surface-declarations --strict` exit 0; `--all --strict` exit 1 with `Totals: 105 passed, 3 failed (108 items)`, the three being the pre-existing disposition-codexfactory failures that fail identically on a same-day `origin/main` worktree; `--ledger-diff`, `proposal-support.py verify`, `validate-target-release.py` and `validate-scope-globs.py` all exit 0; `doc-health.py --single-repo .` exit 0 with 9 error-band and 26 warning-band findings on this tree and on a DATE-MATCHED `origin/main` worktree alike, and a normalized diff of the two finding sets is EMPTY — this branch adds no finding. § 3 (realization), § 5 (archive) and § 6 (residue) stay open. § 3 gains § 3.5a for the fail-closed rule and the two new refusal cases in § 3.1 and § 3.6. Refs #1013. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Normative grammar, register integration, and required symlink protections remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (5)
README.md:556
- The PR description says there are sixteen scenarios, but the ratified delta and this active-record row now contain eighteen (10 + 4 + 4). Please update the PR description to match the packet's current count.
**THREE `## ADDED` REQUIREMENTS AND NO `## MODIFIED` BLOCK** — *Code-surface
declaration grammar is gated*, *The declared repository set is derived from
the head and never from the gloss*, and *Standing code-surface divergence is
named in a closed register* (**EIGHTEEN scenarios**, 10 + 4 + 4) — the
openspec/changes/gate-code-surface-declarations/proposal.md:10
- The PR description's main section still says this is proposal-only, every document is
Status: draft, and no approval pair exists. This diff instead marks the packetStatus: ratified, addsapproved_by/approved_on, and updates the README to ratified, so the description is stale and conflicts with the lifecycle state reviewers are being asked to approve. Please update the PR description (or revert the ratification metadata) before merging.
Status: ratified
Ratified: 2026-09-13 by Brett Heap (openxFactory operator authority), verbatim **"ratify"** — recorded at [PR #1018, comment 5649742729](https://github.com/opensoft/openxFactory/pull/1018#issuecomment-5649742729)
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:80
- The normative delta introduces
REPOSITORY IDENTIFIERbut never defines its lexical shape.design.mdgives a regex, but that supporting document is not the requirement, so an implementation still cannot tell whether one-character names, punctuation, or whitespace around<owner>/<name>are legal; those choices determine whether the listed prose cases are refused. Move the exact identifier/separator boundary into the requirement or reference a normative contract.
A REPOSITORY IDENTIFIER IS EITHER A BARE REPOSITORY NAME OR AN `<owner>/<name>`
ADDRESS, and BOTH SHALL BE ADMITTED because the corpus carries both. The gate
SHALL judge the identifier's SHAPE and SHALL NOT judge its MEMBERSHIP of any
inventory, for the measured reason that this repository defines no inventory of
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:251
- This says a registered declaration is “never refused”, but the derivation requirement explicitly requires the cross-consistency check to refuse a registered proposal that also declares
scope_globs:(lines 210-212). Clarify that “never refused” applies only to the code-surface grammar validator; a consumer may still fail closed when no head-derived set exists.
retires the entry. A registered declaration is REPORTED and never refused; every
declaration the register does not name is judged from the day the gate lands, so
the gate is a ratchet and the divergence cannot grow.
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:242
- This registered-exception rule cannot be implemented with the realization file scope stated in the packet. Today
validate-scope-globs.pypasses only the front-matter mapping intocode_surface_repositoriesandvalidate_cross_consistency(scripts/validate-scope-globs.py:60-69,scripts/scope_globs.py:391-415); neither receives the change id or register entry needed to distinguish a registered unreadable head or name both in the required refusal. Add a context-bearing integration change (and its tests) to the realization plan, or revise this requirement's observable contract.
#### Scenario: A registered-exception packet later declares a structured scope
- **WHEN** a proposal whose `code_surface:` head the grammar cannot read is carried by the closed register, and that proposal declares `scope_globs:`
- **THEN** the cross-consistency check MUST refuse, naming the proposal and the register entry that carries its declaration, because no head-derived repository set exists for it
- **AND** the run MUST NOT fall back to a set derived from the whole declaration, which would re-admit the gloss as an authorization surface
- **AND** the run MUST NOT substitute an empty set, which would report the fault against the structured scope rather than against the code-surface declaration that causes it
- **AND** the remedy is to bring the declaration into the grammar, which retires the register entry in the same act
- Files reviewed: 7/7 changed files
- Comments generated: 4
- Review effort level: Lite
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 5 days by commenting @sourcery-ai review. Upgrade to get a review now.
…h README rows and both ledger rows openxFactory PR #1014 archived `gate-realization-axis-vocabulary` and promoted its ADDED requirement *Realization axis vocabulary is gated* into `openspec/specs/release-realization/spec.md`, merging to `main` at 2026-09-12T20:49Z as `a1429885` — after this branch was cut. Merged in rather than rebased: this repository refuses non-fast-forward pushes, so history is final and a merge is the only lawful way to take it. ONE FILE CONFLICTED AND THE RESOLUTION IS THE UNION. `tests/sequenced_after/corpus-ledger.yaml`, one hunk, two rows against one: this branch carried `gate-code-surface-declarations` (active, `#1018`) beside `gate-realization-axis-vocabulary` (active, `#963`), and main carried the latter alone at `archived`, `#1014`. Resolved by keeping BOTH rows, ours ACTIVE and the sibling's at MAIN'S ARCHIVED STATE — never our stale `active` for it, and never main's row alone. **VERIFIED BY THE TOOL RATHER THAN ARGUED**: `python3 scripts/validate-sequenced-after.py . --ledger-diff` — exit 0, *"per-change sweep ledger consistent with the corpus (211 rows)"* — so no re-seed was needed, which is the better outcome: `--seed-ledger` would have restamped `moved_by` on rows this branch never moved. THE README BLOCK AUTO-MERGED AND BOTH EDITS SURVIVED, checked rather than assumed: our ratified `gate-code-surface-declarations` row stands under *Active changes*, and the sibling now appears at its ARCHIVED standing at `openspec/changes/archive/2026-09-12-gate-realization-axis-vocabulary/`. ONE CITATION REPOINTED, AND ONLY ONE. `.openspec.yaml`'s `related:` entry moved from the sibling's ACTIVE id to `openxFactory:change:archive/2026-09-12-gate-realization-axis-vocabulary`, the form this block already uses for archived entries. Every other reference in this packet names the change IN PROSE, which an archive does not invalidate; there is no path-shaped citation of the sibling anywhere under `openspec/changes/gate-code-surface-declarations/` (grepped). `design.md` D7 gains a paragraph recording that the predicted landing happened, what moved, and that its pasted sibling-search capture is a DATED reading of a tree that has since moved — left as the dated capture it is rather than rewritten. NOTHING IN THIS PACKET'S CANON MOVED, AND THAT IS CHECKED. All three ADDED titles are still novel against the promoted specification the archive produced (0 other files carry any of them), `sequenced_after: []` still holds because no active change modifies a title this delta writes, and the ADDED-only reasoning is unchanged — the `## MODIFIED` block over *Realization axis declaration* it turns on belongs to `add-structured-scope-substrate`, which is still ACTIVE. VERIFIED ON THE MERGED TREE: `openspec validate gate-code-surface-declarations --strict` exit 0; `--all --strict` exit 1, `Totals: 104 passed, 3 failed (107 items)` — the SAME three pre-existing `disposition-codexfactory-*` failures, and the item count down by one from this branch's pre-merge 108 because #1014's archive removes one `change/` item while its promotion adds no new `spec/` one; `proposal-support.py . verify` exit 0; `validate-target-release.py` exit 0 ("45 active proposals, 45 declaring … 0 outside the vocabulary"), `validate-scope-globs.py` exit 0, `validate-sequenced-after.py` exit 0 and `--ledger-diff` exit 0. Refs #1013. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved specification, API/vendoring, and verification-record issues remain.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (4)
openspec/changes/gate-code-surface-declarations/design.md:169
- The formal grammar leaves the separator contract ambiguous:
SEPlists,,and, and+, then parenthetically adds, and, while the normative requirement and scenarios list only the three separators and classify, and …prose as non-conforming. Decide whether an Oxford-comma, andis valid, then encode the same choice in the requirement and tests.
SEP := "," | " and " | " + " (and ", and ")
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:80
- The normative requirement says the validator judges identifier SHAPE but never defines that shape; the only concrete regex is in
design.md. An implementation can therefore disagree on valid characters, owner/name component boundaries, or one-character names while still satisfying this delta. Put the shape grammar here (or normatively reference it) so the gate is reproducible.
A REPOSITORY IDENTIFIER IS EITHER A BARE REPOSITORY NAME OR AN `<owner>/<name>`
ADDRESS, and BOTH SHALL BE ADMITTED because the corpus carries both. The gate
SHALL judge the identifier's SHAPE and SHALL NOT judge its MEMBERSHIP of any
inventory, for the measured reason that this repository defines no inventory of
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:195
- The one-shared-reader requirement conflicts with the stated realization surface.
scripts/scope_globs.pyis vendored byte-for-byte into codexFactory and explicitly vendors only that module plusfrontmatter_strict.py(scripts/scope_globs.py:131-138); importing the newscripts/code_surface.pyfrom the extractor would leave the vendored copy without its dependency, while keeping a local parser would create the second reader this requirement forbids. Define the companion vendoring/update path or revise the requirement and file list before implementation.
THE DERIVATION SHALL BE ONE SHARED READER RATHER THAN ONE PER CONSUMER. Two
readers of one field are two vocabularies, and the divergence between them is
invisible until something authorizes on the wider one. A consumer that needs the
set SHALL obtain it from the reader this capability's gate uses.
openspec/changes/gate-code-surface-declarations/tasks.md:228
- §3.5a cannot be implemented by this one-function narrowing: the live caller in
scripts/validate-scope-globs.pypasses onlyfrontintocode_surface_repositories, whilevalidate_cross_consistencyreceives only the returned iterable. There is no proposal path or register context from which to detect a registered exception or name its register entry as §3.5a requires. Add the necessary caller/API plumbing (and reflect the additional file changes) before marking this realization executable.
- [ ] 3.5 **NARROW `scripts/scope_globs.py`'s `code_surface_repositories`** to
derive its set from the DECLARED HEAD, through the reader § 3.1 adds, so
the field has one derivation and not two — **OWED, § 1.4 having ruled D4
option 1**. Pinned by a test proving the function returns the head's
identifiers and none of the gloss's, and by a before/after run of
- Files reviewed: 7/7 changed files
- Comments generated: 1
- Review effort level: Lite
A RATIFY FOLLOW-UP ROUND, IN THE RATIFIED VOICE. The packet stays ratified: `Status: ratified` and its one citation are untouched on all three documents, `.openspec.yaml` does not move, and NOT ONE WORD OF THE SPEC DELTA CHANGES. The whole diff is `tasks.md` plus one appended paragraph at the end of `design.md` D9. § 3.2a (NEW) — THE PATH BOUNDARY THE SIBLING GUARDS AND § 3 DID NOT. `scripts/target_release.py` refuses a register reached through a symlink at the LEAF or at any ANCESTOR (`load_register` line 448, `_has_symlinked_ancestor` line 417), and admits a discovered proposal only through the anchored resolve-both-sides test (`_unescaped` line 569). § 3 carried no equivalent, so a committed symlink could have made the future gate read exception data, or declarations, from outside the checkout. Both semantics are now required by name and kept DISTINCT, because the sibling's are distinct: the register's ancestor walk is UNANCHORED (a `--register` path may lawfully live anywhere, so there is no REPO_ROOT to check outside of) and refuses at exit 2, while the proposal walk is ANCHORED to REPO_ROOT and DROPS rather than failing — a proposal read from outside the tree would be judged as though the tree carried it, and a dangling link is the same defect wearing the other face. § 3.6a (NEW) gives both refusals their own tests, at both depths, beside the negative that keeps the guard from over-refusing. § 3.5b (NEW) — THE RATIFIED FAIL-CLOSED RULE WAS NOT YET ENFORCEABLE, MEASURED RATHER THAN ARGUED. `scripts/validate-scope-globs.py:68` calls `sg.code_surface_repositories(front)` with the front matter ALONE, and `validate_cross_consistency` (`scripts/scope_globs.py:391`) takes a bare `Iterable[str]`, so at the point of enforcement nothing distinguishes a REGISTERED EXCEPTION from an EMPTY SURFACE — and the two values a narrowed derivation could hand it are exactly the two § 3.5a forbids by name: `None` skips the check outright (line 414) and an empty set raises the generic message against the structured scope. Narrowing `code_surface_repositories` alone therefore cannot realize the rule, and § 3.5 is not finished by doing it. The task now NAMES THE SHAPE rather than leaving it to the implementer: the derivation returns a TYPED CARRIER — the head-derived set, or the ABSENCE of one carrying the proposal id and its register entry — threaded through `validate_scope_globs` into `validate_cross_consistency`, which raises a `ScopeGlobsError` subclass naming BOTH. That is the shape the module already supports: it carries a frozen-dataclass result type (`ScopeGlobs`, line 235) and an error SUBCLASS for a distinct fact every existing caller keeps catching (`ScopeGlobsResolutionError`, line 106); `code_surface_repositories` and `validate_cross_consistency` have exactly ONE in-tree caller each; and a bare iterable keeps working, so the shipped tests that pass a plain set need no edit. The cheaper alternative is rejected ON THE RECORD: raising from the derivation itself is fewer lines, but it moves the refusal UPSTREAM of the cross-consistency check the ratified requirement names as the refuser. THE DELTA ITSELF IS UNTOUCHED — this is a realization requirement, not a change of behaviour. § 4.6 RE-MEASURED, AND QUOTED WITH ITS AS-OF DATE. 9 error-band and 26 warning-band on this tree AND on the `bcde1575` worktree alike as of 2026-09-13, the normalized finding-set diff between them EMPTY (87 findings each side, identical line for line once the `repo=` directory token is normalized), zero findings naming this change. The warning band moved from 23 to 26 at the UTC-MIDNIGHT AGING BOUNDARY and not on this branch: `doc-health` defaults `--as-of` to today UTC, three `staged-candidate-aging` thresholds crossed overnight (each named in the box), and this same tree re-run with `--as-of 2026-09-12` still returns the earlier 23. § 4.2, § 4.4 AND § 4.5 RE-MEASURED AT THE HEAD — NOT ON THE BENCH'S LIST, FOUND WHILE TAKING § 4.6. All three carried figures from `df96018c` that stopped reproducing the moment `df230260` merged `a1429885` and the sibling `gate-realization-axis-vocabulary` archived under us: one active change and one `implemented` declaration left the corpus exactly as this packet put one of each in, so the branch's counts now COINCIDE with the baseline's instead of exceeding them by one. Measured in the same shell at all three heads: `openspec validate --all --strict` gives `Totals: 105 passed, 3 failed (108 items)` at `df96018c` and `Totals: 104 passed, 3 failed (107 items)` at `df230260` and `bcde1575` alike; `validate-target-release.py` 46/46/22 then 45/45/21; `validate-sequenced-after.py` 46 active and 14 declaring, then 45 and 13. A ticked box that no longer reproduces is the defect class this bench has already opened twice on this branch, so it is corrected here with the arithmetic and the cause written out rather than left for a third round. VERIFIED BEFORE PUSHING, from the clone root and after every edit above: `OPENSPEC_TELEMETRY=0 openspec validate gate-code-surface-declarations --strict` — exit 0, "Change 'gate-code-surface-declarations' is valid"; `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` — exit 1, `Totals: 104 passed, 3 failed (107 items)`, the failures being only the three pre-existing `disposition-codexfactory-*` items that fail on `bcde1575` alike; `python3 scripts/doc-health.py --single-repo .` — exit 0, 9 error-band and 26 warning-band. Refs #1013. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved moderate findings affect grammar, normative register behavior, and implementation wiring; verification evidence is inconsistent.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (4)
openspec/changes/gate-code-surface-declarations/design.md:171
- This formal identifier shape excludes one-character and digit-leading repository segments, but the repository's canonical
<owner>/<name>regex admits both via[A-Za-z0-9](?:...)?(scripts/hermes_runtime_validation/consumer_handoff.py:25-27). Because this gate deliberately performs no membership lookup, it would reject otherwise valid repository identifiers; align the grammar with the established shape or document the intentional restriction.
name := [A-Za-z][A-Za-z0-9._-]*[A-Za-z0-9]
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:249
- This sentence is broader than the fail-closed rule added above: it says a registered declaration is never refused, while the derivation requirement and scenario at lines 205-242 require the cross-consistency check to refuse a registered proposal that also declares
scope_globs:. Narrow the guarantee to the grammar validator; otherwise an implementation can satisfy either conflicting normative rule.
retires the entry. A registered declaration is REPORTED and never refused; every
openspec/changes/gate-code-surface-declarations/specs/release-realization/spec.md:265
- Please define which register the closed baseline applies to. This requirement says every register entry must be checked against a validator-carried baseline, but tasks §3.2 exposes
--register PATHfor tests and consuming trees, and the established sibling leaves caller-supplied registers unbaselined (scripts/target_release.py:189-193,458-463). Applying this module's baseline to every external path would reject a consuming tree's own exceptions, while skipping it would violate this SHALL.
THE REGISTER SHALL BE CLOSED, AND CLOSURE SHALL BE ENFORCED RATHER THAN MERELY
DECLARED. An entry may be REMOVED when its declaration is corrected or its packet
archives; admitting a NEW exception SHALL be a change to this specification
rather than an addition to a data file. The validator SHALL carry the baseline of
entries the register holds when the gate lands and SHALL REFUSE any entry that
baseline does not carry, so an exception cannot be granted by appending a line —
openspec/changes/gate-code-surface-declarations/tasks.md:292
- The realization plan is internally incomplete here: the only existing caller passes
fronttocode_surface_repositoriesatscripts/validate-scope-globs.py:68, soscope_globs.pyalone has no proposal path or register-entry context with which to produce the required cross-consistency refusal naming both. Include the caller wiring (and update the claimed file list inproposal.md) so the typed carrier can actually reachvalidate_cross_consistency; otherwise §3.5a cannot be implemented as specified.
here rather than asserted: `scripts/validate-scope-globs.py:68` calls
`sg.code_surface_repositories(front)` with the front-matter mapping
ALONE, and `scope_globs.validate_cross_consistency` (line 391) receives
a bare `Iterable[str]`, so at the moment of judgment NOTHING
- Files reviewed: 7/7 changed files
- Comments generated: 1
- Review effort level: Lite
|
|
LANDING — lane openxfactory-5 (openXfactory-5), session 71ee2948-b634-4533-9d0c-d8c6d0d5ddfc, 2026-09-13T02:21:30Z, PR #1018 into opensoft/openxFactory main (RATIFIED gate-code-surface-declarations at head 40ec03b — ratified on Brett Heap's verbatim "ratify" 2026-09-13T00:41Z, issuecomment-5649742729; landing on his verbatim "land it"; all 11 checks green incl. pytest-suite; 11 bench threads across 3 Copilot rounds all resolved — 6 fixed (df96018, 40ec03b), 3 false on measurement, 2 body-sync; Refs #1013, which stays OPEN — archive needs the packet's own word after realization) Lane: openxfactory-5 (openXfactory-5) |
|
LANDED — lane openxfactory-5 (openXfactory-5), 2026-09-13T02:22:05Z, PR #1018 → b4e0087 (opensoft/openxFactory main; squash of head 40ec03b; gate-code-surface-declarations RATIFIED and LANDED — Status: ratified citing issuecomment-5649742729; #1013 stays OPEN and CLAIMED by this lane, realization (validator, register, tests; §§ 3.2a/3.5b/3.6a included) is the next arc on Brett's word; archive only on the packet's own word with green realization evidence; Rule 6 window closed) Lane: openxfactory-5 (openXfactory-5) |
…rant-grc-0003 Re-level onto main 5488529 (openDox/openXdox pin lockstep #1020, the engineering DISPLAY facet #1021, gate-code-surface-declarations #1018). Zero conflicts; none of the three touches governance/review-authority/ or openspec/changes/register-gate-rules-council-seats/. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
…in the record Lane: openxfactory-5 (openXfactory-5) The archive moves gate-code-surface-declarations from the active corpus to the archived one, which makes its per-change sweep-ledger row stale by its own design. Re-seeded with the sanctioned tool and with no hand edit: $ python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1076' wrote tests/sequenced_after/corpus-ledger.yaml (216 rows, 1 moved by #1076). - gate-code-surface-declarations $ python3 scripts/validate-sequenced-after.py . --ledger-diff per-change sweep ledger consistent with the corpus (216 rows). $ python3 -m pytest tests/sequenced_after -q 286 passed in 43.56s One row moves: state active -> archived, moved_by "#1018" -> "#1076", moved_on 2026-09-12 -> 2026-09-16. No other row, and no code byte, moves. The README archived-ledger entry now names PR #1076 in place of the pending marker the previous commit carried. Refs #1013 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-5 (openXfactory-5)
RATIFIED — Brett Heap, 2026-09-13T00:41Z, verbatim "ratify", recorded at
#1018 comment 5649742729.
THE WORD IS BARE AND IS RECORDED AS ONE: unlike the sibling's three labelled
rulings it names no option individually — it ratifies the PACKET, and the packet
encodes the RECOMMENDED option at each of
design.md's four declared vetopoints, so nothing in the delta moved on the ruling.
Status: ratifiedwithone citation on
proposal.md,design.mdandtasks.md;.openspec.yamlcarries
approved_by/approved_onas a pure ADDITION beside a byte-unmoveddrafting provenance (
kindandidnever move). The flip is notheader-only — the draft-voiced prose was revised with it (Opsx #397's lesson).
STILL PROPOSAL ONLY. This pull request carries the packet and nothing else:
no file under
openspec/specs/edited, and no validator, register or testadded. The realization is
tasks.md§ 3 — a later pull request, and thearchive waits on merged-plus-green evidence from it.
Filed in answer to openxFactory #1013, the UNCLAIMED residue
gate-realization-axis-vocabularytasks.md§ 6.3 owed and that packet'sarchive act filed, standing on #956.
The bench's first round — two findings TAKEN into the ratified text, one REFUSED as false
The ruling directs in its own words that the confirmed findings be fixed
"before the record is cut, so the ratified packet includes them".
design.mdD9 records all three.
(a) The grammar never reserved
noneout of REPOSITORY IDENTIFIER. The headadmitted "the single word
none, or one or more REPOSITORY IDENTIFIERS …" withnothing forbidding both — and
nonematches the identifier SHAPE like anylowercase word, because the identifier rule judges shape and deliberately not
membership. So
none, openxFactoryparsed as a two-member list and derived aNON-EMPTY set for a change declaring the empty surface, contradicting the second
requirement's own
nonerule. The spec now makes the two head forms EXCLUSIVEin the requirement's first line — either the single token
none, or a list inwhich
noneappears nowhere — with a tenth scenario refusing a mixed head ineither order and at every list position, and forbidding a derived set for it. A
refusal rather than a precedence rule, because every precedence rule silently
discards something an author wrote.
(b) The registered-exception case was undefined, and both obvious fallbacks
are defects. The register tolerates seven heads the grammar cannot read while
the derivation requirement makes every consumer read the head, so a registered
packet that later declares
scope_globs:had no defined answer. The spec nowstates FAIL-CLOSED: such a proposal is REFUSED by the cross-consistency check,
naming the proposal AND its register entry, until the declaration is brought into
the grammar — which retires the entry in the same act. Both substitutes are
forbidden by name: a whole-declaration fallback would re-admit the 3,421-token
gloss surface this packet exists to close, and an empty set would report the
fault against the structured scope rather than against the code surface that
causes it. The register requirement gains the boundary from its own side, the
derivation requirement now distinguishes an empty set the head DECLARES from the
ABSENCE of a head-derived set, and a fourth scenario pins the refusal and both
prohibitions. Realization:
tasks.md§ 3.1, § 3.5a, § 3.6.(c) The corpus-ledger finding is FALSE and is refused on measurement. The row
is at
tests/sequenced_after/corpus-ledger.yaml:236on this branch, the file isin this pull request's diff, and
validate-sequenced-after.py . --ledger-diffexits 0 with "per-change sweep ledger consistent with the corpus (211 rows)" —
seeded by the sanctioned tool at
83b13051, exactly astasks.md§ 4.7 records.Nothing is changed for it.
Scenario counts re-counted from the delta file, not carried: 10 + 4 + 4 =
EIGHTEEN (was 9 + 3 + 4 = sixteen).
What it proposes
release-realization's promoted requirement Realization axis declaration isone sentence with two halves.
gate-realization-axis-vocabularybuilt a housevalidator and a closed register for
target_release:and ruled, in its ownratified
tasks.md§ 6.3, thatcode_surface:IS NOT GATED. This packetgates the other half — three
## ADDEDrequirements and no## MODIFIEDblock:
single token
noneOR a list of repository identifiers separated by,/and/+(the two EXCLUSIVE), followed by a REQUIRED gloss opener; thehead is judged and the gloss never is; a YAML folding indicator, a repeated
declaration and a mixed
none-plus-identifier head are refused by name;absence is the promoted default; the archive is read and never judged.
Ten scenarios.
gloss — the consumer rule, which is where the authorization actually sits,
and which FAILS CLOSED where the head is one the register carries rather than
one the grammar reads. Four scenarios.
ratchet in the sibling's shape: removable, never addable, closure enforced by
a baseline in the module, the two refusals asymmetric; an entry suspends the
grammar's refusal for one declaration and authorizes nothing derived from it.
Four scenarios. EIGHTEEN in all, counted from the delta file rather than
carried.
ADDED-only is the point of the shape.
add-structured-scope-substrateisACTIVE and ratified and already holds a
## MODIFIEDblock over Realizationaxis declaration; a second one would owe
sequenced_after: [add-structured-scope-substrate], would restate that change'stext as its pre-text, and would inherit that requirement's archive-order hold.
All three titles are novel to the corpus, and
sequenced_after: []is declaredas a corroborated root claim.
The measurement — re-taken at
origin/mainbcde1575, not carriedMethod (so it reproduces): a
^code_surface:line inside the leading---fence of every top-level
openspec/changes/<change>/proposal.md, read throughthe shipped strict loader
scripts/frontmatter_strict.read_front_matter; thearchive read one level down, counted, judged never.
code_surface:nonenonevalueThe grammar is DERIVED from the population. Asking what follows the declared
head across the 45: an opening parenthesis 19, an em dash 17, a full
stop 2 — 38 conforming — against ordinary prose with no opener 5, a
possessive 1, a YAML folding indicator 1 — 7 non-conforming, in four
classes: a block scalar (
code_surface: >-, whose>-survives into the valuebecause the field is a PROSE header no YAML loader reads),
openxFactory's half of this packet carries NO CODE,xFactory aggregation repo, and four whose list runs into prose. Archive: 165 proposals, 119declaring in their front matter, 3 outside the grammar.
Two methodological notes, both measured:
ls -d openspec/changes/*/ | grep -v archiveunder-counts by one (a real change name ends in-archive), and inthe archive the plain
grep -l '^code_surface:'returns 147 against theloader's 119 — it over-counts by 28, those being early packets that
discuss the field in body prose at column 0.
noneis LAWFUL here, which is the first difference from the sibling'spopulation: Realization axis declaration names it as the
code_surface:valuefor an empty surface and as the doc-only default, so all four carriers conform
and the divergence lies entirely in the 41.
And exactly one machine reader of the field exists, and it reads the gloss.
grep -rn code_surface scripts/ .github/returns 17 lines: 14 inscripts/scope_globs.py/scripts/validate-scope-globs.py, 3 in prose,nothing in
.github/.code_surface_repositoriessplits the whole declarationon
[\s,()/]+and keeps every word that is notnone:nonecarriers yielding a NON-EMPTY setIts consumer is
validate_cross_consistency, which bounds what ascope_globs:path grant may authorize. The defect is LATENT, not standing, and the packet
says so: 0 of 45 active proposals declare
scope_globs:today, so thecross-check is vacuous until the first one lands.
The three design questions the issue names, answered
(a) What counts as "off-vocabulary" when the values are free prose? The
GRAMMAR, not a vocabulary: a declaration is a declared head —
none, orrepository identifiers (
<name>or<owner>/<name>) separated by,/and/
+— followed, where a gloss follows, by a required gloss opener drawn fromthe set the corpus already uses. The opener requirement is what does the work,
because a shape test alone cannot tell
itfromagenttower; what separatesopenxFactory, and it is THREE FILESfromopenxFactory, openAvataris thatthe first never stops declaring. Membership is deliberately NOT judged: this
repository defines no inventory of the estate's repositories —
contracts/policies/repository-identity.yamlis a former-to-current transfermap with one row,
contracts/hermes-runtime/fixtures/domain-regression-inventory.yamlis a five-row domain-factory fixture,
contracts/*-pin.yamlcarries onesource_repository:each, and the aggregation repository's.gitmodulesis notin this tree. Resolving membership against a place that does not exist is the
trap the sibling's D3 named; the inventory is a named successor.
(b) Closed register, or the ADDED requirement alone? The register, following
the sibling — a bare refusal is not landable, because 7 of 45 active
declarations would red the gate on the day it lands and all seven belong to
other lanes' ratified packets. The register is a ratchet (every declaration it
does not name is judged from day one; the named ones are reported and cannot
grow), and its closure is SHALLed rather than left to the implementation,
because the sibling's own bench found that its register's closure was written
and not enforced. Where this departs from the sibling is the sweep: its
sweep replaced ONE token whose meaning the author's own gloss supplied, with no
judgment in it; correcting a
code_surface:head re-punctuates another lane'sratified prose, and for
split-opendox-two-layer-productit is a judgment aboutwhether "the openDox PROJECT" is a repository. The recommendation is to register
all seven; the sweep alternatives are written out with their costs.
(c) Is
add-structured-scope-substrate'sscope_globs:machinery reusable?Split, and both halves measured: reusable as the CONSUMER, not as the
GRAMMAR.
scope_globs:is a structured field whose machinery validates globsyntax and mapping shape; its repository keys are validated by exactly one rule —
"every
scope_globsrepository key MUST be named incode_surface" — whichresolves against
code_surface:rather than any registry, so there is norepository grammar in it to borrow. But that cross-check is the one place in the
estate that already asks "which repositories did this change declare", and the
figures above are what it is asking. The recommended answer narrows
code_surface_repositoriesto the declared head so the field has one derivationand not two — a tightening of a rule
add-structured-scope-substratestates andleaves open, not an amendment to it, and unobservable on the live corpus because
zero proposals declare
scope_globs:.Four veto points, all four ruled at the recommended option
Each was a multiple-choice question in
design.mdwith the recommendation firstand the alternatives' costs written out, and the bare word takes the packet as
encoded: D1 = GATE THE GRAMMAR (against token-only, against resolving
membership), D2 = VALIDATOR PLUS CLOSED REGISTER PLUS ADDED REQUIREMENT
(against a bare refusal, against an advisory gate), D3 = REGISTER ALL SEVEN,
SWEEP NONE (against sweeping six or all seven), D4 = REUSE AS THE CONSUMER
AND NARROW THE EXTRACTOR. D0 and D5–D8 were carried beside them and none was
vetoed; the alternatives stay in
design.mdas the record of what was put anddeclined. D3's ruling fixes the DISPOSITION and never the COUNT — the population
is a fact about a tree, and
tasks.md§ 3.3 re-measures it at the head the gatelands on.
Verification, on this tree
(At head
40ec03b9; the pre-mergedf96018creading was105 passed, 3 failed (108 items)before this branch merged in the #1014 archive.) The--allfailure set AND the totals are IDENTICAL to
origin/main's, taken in thesame shell from a worktree of
bcde1575(Totals: 104 passed, 3 failed (107 items)). This change is in neither failure set; the item count matches thebaseline exactly — this packet's +1 active item is offset by the merged-in
#1014 archive's −1.
Also run on this tree, each exit 0:
scripts/validate-target-release.py .("45 active proposals, 45 declaring (head 40ec03b; 46/46 was the pre-merge df96018 reading — the merged-in #1014 archive removed one) … 0 outside the vocabulary"),
scripts/validate-scope-globs.py .,scripts/validate-sequenced-after.py . --ledger-diff("consistent with the corpus (211 rows)"),scripts/proposal-support.py . verify gate-code-surface-declarations, andscripts/doc-health.py --single-repo .— the last with 9 error-band and 26warning-band findings on this tree and on a DATE-MATCHED
origin/mainworktreealike, a normalized diff of the two finding sets being EMPTY: this branch
adds no finding. (The earlier 23-warning figure was yesterday's baseline; three
staged-candidate-agingthresholds crossed overnight on both trees alike, whichis why the baseline was re-taken on the same day rather than carried.)
What it does not do
It does not widen or narrow the promoted vocabulary; it edits no promoted byte;
it touches no archived record; it does not sweep the seven (D3 registers them);
it does not make
code_surface:a structured field (that is a## MODIFIEDblock over the contested title, named as a successor); and it does not close
its origin issue —
code_surfaceis non-empty, so the archive is a separateact on merged-plus-green realization evidence from the LATER realization pull
request, and no closing keyword appears in this body or in any commit message on
this branch.
Refs #1013.
🤖 Generated with Claude Code
Summary by Sourcery
Ratify a proposal to gate
code_surface:declaration grammar and constrain downstream repository derivation, while deferring validator and test implementation to a later change.New Features:
code_surface:declarations, including repository-head parsing, gloss boundaries, defaults, and archive handling.Enhancements:
Documentation:
Tests: