Repository navigation
Amend the one-hop parenthetical of admit-code-leg-under-pinned-root to the direct hop rule (R1) - #1165
Conversation
…o the direct hop rule (R1; held for Brett Heap's ruling) Lane: openxfactory-5 (openXfactory-5) Refs #1150 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis draft amendment resolves the one-hop parenthetical's ambiguity by stating the direct hop rule normatively for all rows admitted via a pinned root, while documenting that the change remains pending Brett Heap's R1 ruling before archival. Design, task, sequencing, code-surface, and corpus ledger content are unchanged. State diagram for the pending R1 amendmentstateDiagram-v2
[*] --> Draft
Draft --> RulingPending: R1 amendment recorded
RulingPending --> Archived: Brett Heap rules to land
RulingPending --> Draft: Ruling does not authorize landing
Flow diagram for the direct one-hop pinned-root ruleflowchart LR
P[Pinned root] -->|gitlink admits| R[Admitted row]
R -->|MUST NOT carry| G[Further gitlink]
G -.-> X[No root chain]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
The amendment is explicitly held for a human ruling.
Review effort: Lite
Findings: None
What changed in this PR
Clarifies the direct one-hop rule for pinned roots and records the pending R1 ruling.
Changes:
- Updates the normative specification.
- Adds a pending-ruling amendment record.
| File | Description |
|---|---|
openspec/changes/admit-code-leg-under-pinned-root/specs/release-realization/spec.md |
Clarifies the direct one-hop restriction. |
openspec/changes/admit-code-leg-under-pinned-root/proposal.md |
Records the pending R1 amendment ruling. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…parenthetical-admit-code-leg
…s amendment note Lane: openxfactory-5 (openXfactory-5) Refs #1150 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
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 1 day and 23 hours by commenting @sourcery-ai review. Upgrade to get a review now.
|
Lane: openxfactory-5 (openXfactory-5) LANDING — lane openXfactory-5, session b254fdd5-0bdf-44e0-bb45-5a780234009f@Eagle, 2026-09-26T21:52:25Z, PR #1165 into opensoft/openxFactory main |
… the default only before a build, refuse after (T007 batch D) (#1170) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (CLAIMED `5850209491`) ## What T007 **batch D** of plan 034 (`specs/034-opendox-standalone-operation/tasks.md` T007): the RN-1 amendment to the ratified `add-neutral-product-standalone-operability` (#1144, ratified in `#656` comment `5815412869`). It is made on Brett Heap's ruling RN-1 (a), `#656` comment [`5850003126`](#656 (comment)), verbatim *"go with recommendations on all the open questions"*. RN-1 as it was put is `specs/034-opendox-standalone-operation/plan.md` § "Ruling needed". **One file moves**, the change's spec delta: `openspec/changes/add-neutral-product-standalone-operability/specs/neutral-product-standalone-operability/spec.md`, requirement 3 only. **Before** (as ratified at `19237b91`): > #### Scenario: A host registers its own profile > - **WHEN** a host, consumer layer or domain descendant registers a profile > - **THEN** the registered profile replaces the default for that process, so the default is a fallback and never a privileged path **After:** > #### Scenario: A host registers its own profile > - **WHEN** a host, consumer layer or domain descendant registers a profile before the product's parser or server has been built from the default in that process > - **THEN** the registered profile replaces the default for that process, so the default is a fallback and never a privileged path > > #### Scenario: A host registers a profile after a build from the default > - **WHEN** a host, consumer layer or domain descendant registers a profile after the product's parser or server has been built from the default in that process > - **THEN** the registration is refused rather than swapped in silently, because what was already built would keep the default while later readers took the new profile, and one process would then answer from two profiles The WHEN's added words are RN-1 (a)'s wording, unchanged. The added scenario states R1Q3 (ii)'s refusal (`#656` comment `5817152735`). **The record.** A dated `**AMENDED 2026-09-26 ON BRETT HEAP'S RULING RN-1 (a), AFTER RATIFICATION, BY ITS OWN RATIFIER.**` note sits in requirement 3's body, above its scenarios. It cites `5850003126`, names both amended lines, and says what did not move. This follows the precedent form for an amendment inside a spec delta: `add-requirement-ref-resolution-integrity`'s `**AMENDED 2026-09-01 ON BRETT HEAP'S RULING …**` notes, and the `**AMENDED 2026-08-25 ON BRETT'S RULING …**` note now in `openspec/specs/doc-health/spec.md`. No scenario bullet carries a citation inline. The corpus has no precedent for that, and a citation inside a WHEN would read as part of its condition. ## What does not move - Requirement 3's first paragraph, including its SHALL sentences, stays as ratified. So do its first three scenarios and the fourth scenario's title and THEN. - No other requirement or scenario moves, and no other file. Requirement 3 now has five scenarios, and the capability has 76. It was ratified with 75. - By the holder's direction, this batch keeps to the spec delta. The T007 batch A and C writer holds `tasks.md` and `design.md` (claim file linked from `#656` comment `5850185859`). So the packet's other prose is not edited here. That includes the scenario counts in `proposal.md` § What Changes and § Capabilities, `design.md` § D3, and the README entry, as well as `design.md` § D5's quote of the fourth scenario and `tasks.md` 3.2's wording. ## Gates All of these ran from this clone's root, at head `92c82564`, which is `a65230f6` (#1167) plus this commit. The baseline is a same-kind clone of `main` at `a65230f6`, with its submodules materialized in both clones: | gate | `main` `a65230f6` | this branch | |---|---|---| | `OPENSPEC_TELEMETRY=0 openspec validate add-neutral-product-standalone-operability --strict` (1.13.1 on PATH) | `Change '…' is valid` | `Change 'add-neutral-product-standalone-operability' is valid`, rc 0 | | `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | `111 passed, 1 failed (112 items)` | `111 passed, 1 failed (112 items)`, the same single failure, `add-chain-attestation` | | `python3 scripts/validate-openspec-cli-pin.py --all` (pinned `@fission-ai/[email protected]`, content address verified) | rc 0, `0 UNDISPOSITIONED failures` | rc 0, `111 passed, 1 failed (112 items)`, `0 UNDISPOSITIONED failures`, 1 accepted exception (`add-chain-attestation`, Brett Heap 2026-09-05 "take exit 2") | | `python3 scripts/validate-openspec-cli-pin.py --change add-neutral-product-standalone-operability` | — | rc 0, `1 passed, 0 failed (1 items)`, clean | | `python3 scripts/doc-health.py --single-repo . --as-of 2026-09-26` | 31 critical, 26 error, 55 warning, 20 info | 31 critical, 26 error, 55 warning, 20 info. The 132 `- severity=` finding lines are IDENTICAL in both directions, and none names this change | | `python3 scripts/proposal-support.py . verify add-neutral-product-standalone-operability` | — | `proposal support verification ok` | | `python3 scripts/validate-sequenced-after.py . --ledger-diff` | — | `per-change sweep ledger consistent with the corpus (229 rows)`. This change's row does not move | | `python3 scripts/validate-code-surface.py .` / `validate-target-release.py .` | — | passed / passed | | `pytest -q tests/doc-health/test_modified_block_currency_self_gate.py tests/sequenced_after` | — | 306 passed | | `pytest -q tests/proposal-support tests/packet_reference tests/code_surface tests/target_release` | — | 481 passed, 304 subtests passed | `main` has since moved to `b5ec3899` (#1165), which touches only `admit-code-leg-under-pinned-root`'s `proposal.md` and spec delta, and no file of this change. CI runs on the merge ref. The parser reads requirement 3's first line as `A neutral product whose entry points require a registered domain profile SHALL`, and it reads 5 scenarios in requirement 3 and 76 in the capability (`openspec show … --json --deltas-only`). ## Landing This is bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a)) and no closing keyword. It touches `openspec/changes/`, so it lands under a Rule 6 `LANDING` / `LANDED` window, through the holder's lander. It opens as a DRAFT. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…d of 2026-09-27 On Brett Heap's archive word, verbatim "archive it when the draft is up" (2026-09-27, approximately 00:32Z, in the lane's terminal to lane openXfactory-5, session b254fdd5; RULED in opensoft/brett-wip lanes/log/openXfactory-5.md at 2026-09-27T00:32:46Z against #1150, brett-wip commit 7bbff3ab). tasks.md § 5.1 records the merged-plus-green realization evidence the non-empty code_surface requires, each leg cited: the packet #1156 -> daca0b8, the realization #1163 -> 1c6662e (squash from 65565ee), the R1 amendment #1165 -> b5ec389, and pytest-suite SUCCESS on main at 1c6662e itself (run 36149875028) and at b5ec389 (run 36274413446), with the ancestry chain checked by git merge-base --is-ancestor. § 5.2 is ticked BEFORE the run because the governed wrapper refuses an open box ("change has incomplete tasks"); the promotion itself is the wrapper's act in the next commit, which moves this directory and records the wrapper's decisive lines and the two-sided hash under § 5.2. § 5.3 records that the one keyword that shuts #1150 is placed in the archive pull request's body and in no commit message, scanned: 0 matches over this branch, over the 18 commits of #1156, #1163, #1165 and #1168, and over their squash commits. § 5's heading records the word. §§ 1-4 and § 6 are untouched; § 6's six - [~] boxes stay - [~]. Refs #1150 Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… carrier onto release-realization On Brett Heap's archive word, verbatim "archive it when the draft is up" (2026-09-27, approximately 00:32Z, in the lane's terminal to lane openXfactory-5, session b254fdd5; RULED in opensoft/brett-wip lanes/log/openXfactory-5.md at 2026-09-27T00:32:46Z against #1150, brett-wip commit 7bbff3ab). code_surface is non-empty, so under release-realization the packet archives on merged-plus-green realization evidence, which is in hand: the packet landed as #1156 -> daca0b8 and its R1 amendment as #1165 -> b5ec389; the realization landed as #1163 -> 1c6662e (squash from 65565ee); and pytest-suite decided SUCCESS on main at 1c6662e itself, run 36149875028, and at b5ec389, run 36274413446 (https://github.com/opensoft/openxFactory/actions/runs/36149875028). Performed through the governed wrapper, never a bare openspec archive: TZ=UTC python3 scripts/proposal-support.py . archive \ admit-code-leg-under-pinned-root --yes exit 0: "ORIGIN RETAINED admit-code-leg-under-pinned-root (declaration unchanged since the ratifying commit daca0b8)", "Totals: 1 passed, 0 failed (1 items)", "Task status: Complete", "Applying changes to openspec/specs/release-realization/spec.md: ~ 1 modified", "Totals: + 0, ~ 1, - 0, -> 0", "Change 'admit-code-leg-under-pinned-root' archived as '2026-09-27-admit-code-leg-under-pinned-root'", "NO SUPPORTING DOCS ... (origin retained, nothing to package)", over the content-addressed @fission-ai/[email protected] pin and not the 1.13.1 on PATH. THE DATE IS THE WRAPPER'S CLOCK RULE AND NOT A CHOICE: --date was not passed, so the wrapper took utc_today() (datetime.now(timezone.utc)), 2026-09-27, ran the pinned CLI (which has no date option) under TZ=UTC, and asserted after the run that the directory the CLI named carries that date. The run started at 2026-09-27T00:42:19Z; this commit is the directory's adding commit and carries the same UTC day, which is what archive-date-vs-commit measures. ORIGIN RETAINED WITH NO RECORD OWED: the origin block has not moved since the ratifying commit daca0b8 (the only commit that ever touched .openspec.yaml), so openspec/origin-dispositions.yaml is not edited. THE PROMOTION IS THE DELTA AS WRITTEN, measured on both sides: the block extracted by its heading from the archived delta and from canon, and hashed. release-realization is the only capability the delta touches. The MODIFIED block "The estate's repositories are enumerated in a governed inventory" was 12,297 bytes / 160 lines / 8 scenarios in canon (sha256 3020c2c916df22bb...) and is now 19,044 bytes / 230 lines / 11 scenarios, sha256 0bbd1aa2d631e8cf... on BOTH the archived delta and canon. It carries the R1 amendment's direct hop sentence (#1165) and not the pre-amendment parenthetical, which appears nowhere in canon. Requirements 21 -> 21, scenarios 122 -> 125; canon's preamble and the other twenty requirement blocks are raw byte-identical, hashed one by one, every hunk lying inside the promoted block; --numstat +71 -1, and -w the same. The CLI diverged from the delta nowhere. The five packet files move as R100 pure renames. Also in this commit: the README OpenSpec Records bullet moves from Active to the head of Archived, its pull-request link the ARCHIVE-PR-NUMBER-PENDING marker that a later commit replaces once the pull request exists. No modified-block-currency _LEDGER_SUBJECTS row names this block, so no self-gate row retires. The record of this run under tasks.md § 5.2 follows in the next commit, so this one carries exactly the wrapper's moves plus the README record. The one keyword that shuts #1150 sits in the archive pull request's body and in no commit message. Refs #1150 Refs #1156 Refs #1163 Refs #1165 Refs #1168 Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… carrier onto release-realization (#1174) Archives admit-code-leg-under-pinned-root on Brett Heap's word of 2026-09-27, verbatim "archive it when the draft is up": the ratified packet (daca0b8, #1156) with its section 3 realization merged and green (1c6662e, #1163) and the R1 amendment (b5ec389, #1165) is promoted onto release-realization through the governed archive wrapper, carrying the section 3.5 and 4 evidence ticks (#1168) and the section 5 ticks; the estate inventory's gitlink admission now reaches a code leg nested under a pinned assembly root, one hop, re-checked at the pinned commit with every transport refused. Refs #1156, #1163, #1165, #1168. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]>




Lane: openxfactory-5 (openXfactory-5)
Refs #1150
Refs #1156
Refs #1163
What
Rewords the one-hop parenthetical in the packet's
## MODIFIEDspec delta(
openspec/changes/admit-code-leg-under-pinned-root/specs/release-realization/spec.md,inside the ADDED paragraph, not in any carried canon text). No other byte of
spec.mdmoves;design.mdD3 andtasks.md§ 3.1(i) already state thedirect rule (folded at A2) and are unchanged. Adds a minimal
AMENDMENT RULEDrecord toproposal.md, directly after the Ratifiedparagraph, recording Brett Heap's ruling on R1 (verbatim word and RULED
cite under
## Landing wordbelow).Before:
After:
Why
R1 (the lane verifier's ruling item,
verify-1156-report.md"R1, UPDATED atA2"): the parenthetical reads two ways — a factual premise (false for a leg
that also carries a
pinof its own) or an inclusion. The scenario atspec.md~:204 ("a row a pinned root's gitlink admits MUST NOT itself carry afurther row's gitlink") and the
#1163realization (which checks the hopDIRECTLY, before consulting the pin count) already enforce the strict/direct
bound; this amendment states it outright in the normative paragraph too, so
the two readings converge.
This was flagged three times on
#1156: Copilot's review overview atff466212("The one-hop rule remains underspecified"), again atf9e3d011("Unresolved specification wording contradictions require human review before
approval"), and again at
7db1c2a7("clarify the normative authority andone-hop rules"); and independently by Sourcery's inline thread
discussion_r4104904725at7db1c2a7, proposing this exact rewording. BrettHeap replied to that thread in session (recorded in the thread and in
proposal.md's Ratified section): the parenthetical is requirement textratified as authored, so under the lane's post-word rule (2026-09-01
precedent: land as ratified, amend on his word) it was not folded before
landing, and the rewording is RULING NEEDED for an amendment before the § 5
archive.
#1156landed as ratified atdaca0b89on that basis.Gates
All from this clone's root, at head
5957a31e71a9c9456d8fab607ae76c6b207433d6:OPENSPEC_TELEMETRY=0 openspec validate admit-code-leg-under-pinned-root --strict→
Change 'admit-code-leg-under-pinned-root' is valid(rc 0)python3 scripts/validate-openspec-cli-pin.py --all→
Totals: 111 passed, 1 failed (112 items);0 UNDISPOSITIONED failures;1 pre-existing ACCEPTED EXCEPTION (
add-chain-attestation, unrelated tothis packet, accepted by Brett Heap 2026-09-05); rc 0
python3 scripts/doc-health.py --single-repo . --family modified-block-currency→
0 critical, 0 error, 0 warning, 13 info; none of the 13 info findingsname
admit-code-leg-under-pinned-root; rc 0python3 scripts/validate-sequenced-after.py .→
sequenced_after validation passed (46 active changes, 19 declaring the field); rc 0python3 scripts/validate-sequenced-after.py . --ledger-diff→
per-change sweep ledger consistent with the corpus (229 rows)— NO rowmoved; rc 0
python3 scripts/validate-code-surface.py .→
code_surface validation passed (every active declaration's head is admitted, and every identifier it names is carried by the estate inventory); rc 0python3 -m pytest tests/sequenced_after tests/doc-health tests/code_surface -q -p no:cacheprovider→
8 failed, 2393 passed, 1 skipped, 7 warnings in 477.44s (0:07:57). The 8failures are all in
tests/doc-health/{test_ideation_readiness, test_readiness_dispatch, test_sentinel_vocabulary, test_status_reader_real_lines, test_tag_hygiene_pinned_targets}.py; nonetouch
release-realization,sequenced_afterorcode_surface. One,test_tag_hygiene_pinned_targets.py::test_a_lexically_malformed_value_builds_no_path_and_reads_nothing,is the SAME clone-directory-name artifact
#1156's own Gates sectiondisclosed (its assertion trips on any checkout path containing the
substring "one" — every
clone-*directory this lane uses, "clone",qualifies; this checkout is
clone-r1-amend). Re-run of all 8 node IDsagainst
origin/mainatdaca0b89(this branch's exact base, in athrowaway worktree, removed after) fails IDENTICALLY (
8 failed in 20.26s) — confirmed pre-existing/environmental, zero regression fromthis change. (The brief's baseline named 7 known doc-health environmental
failures for this scoped run; 8 were observed here and all 8 independently
reproduced against the unmodified base, so the discrepancy is disclosed
rather than reconciled by assumption.) CI's
pytest-suiterun is theactual gate.
Landing word
Brett Heap ruled on R1, 2026-09-26 approximately 21:15Z, verbatim "(a)
recommended, land #1165 when green", given in the lane's terminal to lane
openxfactory-5(sessionb254fdd5); recorded as aRULEDentry againstopensoft/openxFactory#1165inopensoft/brett-wiplanes/log/openXfactory-5.mdat commit613c676d. DRAFT — lands into mainby this PR once its head is green, Copilot reviewed at that exact head, and
0 unresolved threads; the § 5 archive of admit-code-leg-under-pinned-root is
a separate word.
🤖 Generated with Claude Code
Summary by Sourcery
Amend the release-realization specification to state the direct one-hop rule unambiguously and document its pending ruling.
Bug Fixes:
Enhancements: