Repository navigation
contracts/openspec-cli-pin.yaml's header names both commands: validate through the entrypoint, archive through proposal-support - #826
Conversation
…he header The header comment above `consumer_entrypoint:` claimed the entrypoint ran "every OpenSpec ARCHIVE ... and through nothing else". It does not: the entrypoint validates and has no archive verb (`archive <id>` is rejected as an unrecognized argument). The archive act runs through `scripts/proposal-support.py <root> archive <change-id>` in the same pinned checkout, which imports the entrypoint's own resolver and content-address- verifies the artifact before invoking the resolved binary. This is the same unexecutable claim that PR #757 corrected in four other carriers (contracts/README.md's consumer recipe, the manifest row's consumption_rule, proposal.md, tasks.md) but explicitly did not touch in the pin file itself (design.md D7: publishing and moving a pin are different acts). Owed on the pin's own change family per #779. Comment-only change: no data key, pinned version, digest, dispositions:, or consumer_entrypoint: value moves. Closes #779 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01XPt6t1VcNVB5yGzQGwWUFi
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
🟢 Approval recommended
The change is comment-only and accurately reflects the repository’s actual CLI entrypoints for validation and archive without altering any pinned data.
Pull request overview
This pull request corrects the prose header in contracts/openspec-cli-pin.yaml so the pin’s documentation matches the actual tooling model: strict validation is performed via the pinned entrypoint, while archiving is performed via proposal-support.py (which internally reuses the pin resolver).
Changes:
- Updates the consumer-obligation comment to state that
scripts/validate-openspec-cli-pin.pyis the sole strict-validation entrypoint. - Adds a clarifying comment block that OpenSpec archive is performed via
scripts/proposal-support.py <root> archive <change-id>(not via anarchiveverb on the validation entrypoint).
File summaries
| File | Description |
|---|---|
| contracts/openspec-cli-pin.yaml | Comment-only correction to name the correct command(s) for validation vs archive. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Lane: openxfactory-1 (openXfactory-1) FROZEN at Provenance for the admin merge of #826 (plain fix; no OpenSpec change — the #638 precedent). Words: Brett Heap, 2026-09-09 ~02:3xZ verbatim "do as recomended" (the four-item small batch; claim posted on #779 before authoring), then ~05:5xZ by multiple choice, label verbatim "Merge all three" (#826, #827, #828 — the other two landed first only because this PR's mergeability was still being recomputed). Self-authored PR (brettheap) → REVIEW_REQUIRED structural → admin merge (B2). #779 closes with this merge. 🤖 Generated with Claude Code |
…r occurrences this slice must own `origin/main@9a67d42` merged with no conflict — `README.md` auto-merged and the fourteen `docs/` files this slice respells were untouched by #813, #817/#818, #824, #826, #827 or #828. MAIN MOVED TWICE WHILE THIS RECONCILIATION RAN — `ca4a1558` -> `86651a58` (#827, #828) -> `9a67d42c` (#826, #824). This merge is against `9a67d42c`, and the four slices are reconciled to that head, named so the next reader can tell which head the arithmetic was closed against. The four occurrences main's growth added to `README.md` are ASSIGNED, not carried, and they land in the next commit rather than inside this merge so the record separates "the merge was clean" from "this slice took on four more". Measured `f03fd875` -> `9a67d42c`: EIGHT new occurrences, all in two places — `README.md` 10 -> 14, and `openspec/changes/relocate-review-authority-floor-mirror/{proposal.md,review/ratification-2026-09-08.md}` 0 -> 2 each, another lane's in-flight packet and its dated ratification record, which the published disposition leaves NOT SWEPT. Validators at this merge: - `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q` -> 617 passed, 2 skipped, 48 subtests passed - `openspec validate --all --strict` -> 101 passed / 3 failed, all three pre-existing at `origin/main@9a67d42` and measured there in a throwaway worktree: `disposition-codexfactory-declared-renames`, `pin-openspec-cli-dependency-closure`, `spec/repo-boundary-governance`. - `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows - doc-health `--single-repo .` -> critical+error set BYTE-IDENTICAL to the same run at `origin/main@9a67d42`; warnings 47 against main's 57, this slice's respellings clearing ten and adding none. - freeze check against `contracts/signed-execution-chain/`, `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` -> EMPTY after the merge. Lane: provenance-autonomous-merge Co-Authored-By: Claude Fable 5.1 <[email protected]>
…s time, and the B1 resolution holds `origin/main` advanced from `86651a58` to `9a67d42c` (#826, #824) while this reconciliation ran, so this is a SECOND merge on top of the conflict resolution in `a1f08c39`. It is clean — #826 touched `contracts/openspec-cli-pin.yaml`'s header and #824 landed `govern-archived-record-edits`, neither of which this slice touches. RE-CHECKED AFTER THE SECOND MERGE, because a resolved conflict can be undone by a later merge and nothing would say so: `.github/workflows/review-lane-repin.yml` still carries `SOURCE_REPOSITORY: codeXfactory/codexFactory` (`:137`) above main's `FLOOR_IN_SOURCE_CANDIDATES:` list (`:159`), the source mint's `owner: codeXfactory` (`:236`) with its fail-closed rationale (`:210`), and the decision-core checkout's `repository: codeXfactory/codexFactory` (`:496`). `git grep -o -i 'opensoft/codexFactory'` on that file is EMPTY. Validators: - `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q` -> 619 passed, 2 skipped, 48 subtests passed - `openspec validate --all --strict` -> 101 passed / 3 failed, all three pre-existing at `origin/main@9a67d42` - `validate-sequenced-after.py . --ledger-diff` -> consistent, 189 rows - doc-health `--single-repo .` -> critical+error set BYTE-IDENTICAL to `origin/main@9a67d42` (10 critical / 9 error / 57 warning / 16 info) - freeze check -> EMPTY Next unfinished pull request: #805 then #806's evidence addendum. Lane: provenance-autonomous-merge Co-Authored-By: Claude Fable 5.1 <[email protected]>
…, clean `origin/main` advanced from `86651a58` to `9a67d42c` while this reconciliation ran, so this is a SECOND merge on top of the first. Clean: #826 touched `contracts/openspec-cli-pin.yaml`'s header and #824 landed `govern-archived-record-edits`, neither of which this slice touches. `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q` green at this head; freeze check against `contracts/signed-execution-chain/`, `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` EMPTY. The full validator set is recorded on the first merge commit of this branch and re-run below. Lane: provenance-autonomous-merge Co-Authored-By: Claude Fable 5.1 <[email protected]>
…, clean `origin/main` advanced from `86651a58` to `9a67d42c` while this reconciliation ran, so this is a SECOND merge on top of the first. Clean: #826 touched `contracts/openspec-cli-pin.yaml`'s header and #824 landed `govern-archived-record-edits`, neither of which this slice touches. `pytest tests/review_lane_pin tests/clearing tests/credential_contracts -q` green at this head; freeze check against `contracts/signed-execution-chain/`, `openspec/changes/archive/`, `specs/`, `docs/decisions/`, `ideation/` EMPTY. The full validator set is recorded on the first merge commit of this branch and re-run below. Lane: provenance-autonomous-merge Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-1 (openXfactory-1)
The defect
contracts/openspec-cli-pin.yaml's own header/comment prose, in the blockimmediately above
consumer_entrypoint:, claimed:This is not executable as written.
scripts/validate-openspec-cli-pin.py(the named entrypoint) VALIDATES and has no archive verb —
archive <id>isrejected as an unrecognized argument. The OpenSpec ARCHIVE act runs through
scripts/proposal-support.py <root> archive <change-id>in the same pinnedcheckout, which imports the entrypoint's own resolver and content-address-
verifies the artifact before invoking the resolved binary. Two governed acts,
two commands — the header named one command for both.
This is the same unexecutable claim that PR #757 found and corrected in four
other carriers (
contracts/README.md's consumer recipe — which gained astep 4 naming
proposal-support.pyfor the archive act, the manifest row'sconsumption_rule,proposal.md,tasks.md), but explicitly declined totouch in the pin file itself:
design.mdD7 refused to edit the pinfile at all on the ground that "publishing a pin and moving a pin are
different acts with different authorities". The promoted
neutral-product-pinR1 (now canon in
openspec/specs/neutral-product-pin/spec.md) requirespublished adoption instructions to name both commands correctly where the two
governed acts are reached by two different commands. Filed as #779, owed on
the pin's own change family.
The fix
Comment-only edit to the header block above
consumer_entrypoint:incontracts/openspec-cli-pin.yaml. No data key, pinned version, digest,dispositions:entry, or theconsumer_entrypoint:value itself moves.Wording mirrors
contracts/README.md's consumer recipe (step 4, added by#757) and
contracts/manifest.yaml'sconsumption_rulefor this row.Verification
python3 scripts/validate-openspec-cli-pin.py --all --no-cache— totalsunchanged before/after the edit (stashed the change and re-ran to compare):
Totals: 101 passed, 2 failed (103 items)both times, both runs exit 0, thepin still resolves and verifies (
@fission-ai/[email protected]verifiedagainst its content address; the 2 "failed" are the pre-existing DISPOSITIONED
findings for
add-chain-attestationandadd-composed-view-authoring,accepted exceptions unrelated to this change). The header is not part of the
artifact integrity check.
python3 scripts/validate-manifest-digests.py—OK contracts/manifest.yaml: 189 per-file digest(s) verify, exit 0. Confirmed directly that the manifestrow for
contracts/openspec-cli-pin.yamlcarries nosha256key (per D2 of#757) — nothing else digests this file's bytes, so the comment edit cannot
break a content-address check. Also ran
pytest tests/openspec_cli_pin/ -q:93 passed.
Disclosure — vendored copies now lag main's header
The three B repos that vendor this file byte-identical
(
xFactory-Hermes-Install,openXwallet,Omnigent-Install) carry it atopenxFactory@
44d8fbafunder their own 3-line "VENDORED from … do not edithere" header; confirmed by diff that everything below that header is
byte-identical to
contracts/openspec-cli-pin.yamlat44d8fbaf. Theirdrift checks compare against that pinned commit, so they stay green and this
PR does not turn them red — but their vendored copies now carry the OLD,
uncorrected header prose once this lands on main. A re-vendor to pick up
this fix is owed on their side; naming it here as a follow-on on #754, not
performing it in this PR.
No OpenSpec change — plain fix per the #638 precedent, on Brett Heap's word
2026-09-09 ("do as recomended").
Closes #779
🤖 Generated with Claude Code
https://claude.ai/code/session_01XPt6t1VcNVB5yGzQGwWUFi