Repository navigation
Tick add-openspec-cli-pin 3.3: openspec-cli-pin is a required check on openxFactory main (org ruleset 22551797) - #810
Conversation
…n openxFactory main (org ruleset 22551797) Task 3.3 was OPERATOR ACT, Brett Heap — not this packet's to take, and not possible before the workflow has reported once. It is now done. Brett Heap ruled, first-hand to lane codeXfactory-1 at 2026-09-08T14:16Z (session session_01UQzYv1nEcjEkidnMUCaJcB), verbatim: "for 3.3 create it through the API on your word, the way I mirrored the LedgerxFactory rulesets, then tick 3.3 citing the ruleset id." The lane created, via POST /orgs/opensoft/rulesets, org ruleset 22551797 "openxFactory pin-gate (require openspec-cli-pin)": target branch, enforcement active, conditions ref_name ~DEFAULT_BRANCH and repository_name include openxFactory only, one rule required_status_checks with context openspec-cli-pin (strict policy false), bypass OrganizationAdmin always — cloned from the precedent ruleset 21957695 "openxFactory chain-gate (require signed-execution-chain-gate)" (the house keeps one ruleset per gate family; 21538893 is the wallet-gate). Verified in force: GET /repos/opensoft/openxFactory/rules/branches/main lists openspec-cli-pin under ruleset 22551797. Scoped to openxFactory only because in every consuming repository the gate runs inside that repository's own validate job, so a check named openspec-cli-pin would never report there and would block every merge. Lane: codexfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01UQzYv1nEcjEkidnMUCaJcB
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
🟡 Changes recommended
The updated task text includes a third-party session identifier that should be removed or redacted to avoid unnecessary exposure of potentially sensitive correlation data.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR updates the OpenSpec change packet for add-openspec-cli-pin by marking task 3.3 as completed and documenting the org ruleset configuration that makes openspec-cli-pin a required check for openxFactory’s default branch.
Changes:
- Ticked task 3.3 as done and added details for org ruleset 22551797 requiring the
openspec-cli-pinstatus check. - Preserved the original task text inline after
Was:to keep historical intent/context.
File summaries
| File | Description |
|---|---|
| openspec/changes/add-openspec-cli-pin/tasks.md | Marks task 3.3 complete and records the ruleset/check context used to enforce openspec-cli-pin on openxFactory. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| `openspec-cli-pin` under ruleset `22551797`. Brett Heap ruled, first-hand | ||
| to lane codeXfactory-1 at 2026-09-08T14:16Z (session | ||
| `session_01UQzYv1nEcjEkidnMUCaJcB`), verbatim: "for 3.3 create it through | ||
| the API on your word, the way I mirrored the LedgerxFactory rulesets, | ||
| then tick 3.3 citing the ruleset id." Was: Select `openspec-cli-pin` as a |
|
LANDING — lane codeXfactory-1, session session_01UQzYv1nEcjEkidnMUCaJcB, 2026-09-08T14:47:12Z, PR #810 into openxFactory main. Touches openspec/changes/add-openspec-cli-pin/tasks.md only (3.3 ticked, org ruleset 22551797). Ruled: Brett Heap, 2026-09-08, first-hand, "merge 353 and 810". No other LANDING open on this repository. Lane: codexfactory-1 |
…ate run MERGED origin/main (6871292), which carries #810 -> 95e2540: the org ruleset `22551797` "openxFactory pin-gate (require openspec-cli-pin)" and the tick of `add-openspec-cli-pin` task 3.3. THE TWO TICKS NOW SIT SIDE BY SIDE in that packet — 3.3 (the required check) and 5.2 (the dependency closure) — which is also the argument this packet rests on, so the citation is not bookkeeping. A DECLARED GAP IN A REQUIRED CHECK is a declared gap in the thing that stops merges, and that is what ended option 4, "accept the shortfall as declared". The amended header in `add-openspec-cli-pin/tasks.md` said "6.2 (OpsxFactory) and 3.3 remain", which the same day's landing made false. Corrected to name #810 / `95e25409` and to leave 6.2 as the whole of what remains, with the `Was:` history untouched. `design.md` § 1 (option 4) and `proposal.md` now cite the merge sha beside the ruleset id rather than the ruleset id alone. `evidence/` gains two sections: the live `gh api` reads of `main`'s required contexts and of ruleset 22551797, and THIS PULL REQUEST'S OWN CI GATE LOG — run 34240127032, on a fresh runner with `--no-cache`: openspec-cli-pin: dependency closure openspec-cli-pin.1.12.0.package-lock.json (80 packages); lockfile_integrity sha512-aw5lIN45tQq2WZll… verified; installed with `npm ci --ignore-scripts` Totals: 100 passed, 2 failed (102 items) OK … 0 UNDISPOSITIONED failures. The executable path in that log is the giveaway that the closure actually ran: `…/prefix/node_modules/.bin/openspec` is a PROJECT install produced by `npm ci`, not the `…/prefix/bin/openspec` an `npm install --global --prefix` used to produce. Re-run after the merge: `pytest tests/openspec_cli_pin tests/sequenced_after -q` -> 300 passed; `--ledger-diff` -> consistent with the corpus (186 rows); `openspec validate --all --strict` -> 100 passed, 2 failed (the two standing dispositions). Lane: codexfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01UQzYv1nEcjEkidnMUCaJcB
Lane: codexfactory-1
Ticks task 3.3 of
openspec/changes/add-openspec-cli-pin/tasks.md.The fact
Task 3.3 read: "Select
openspec-cli-pinas a REQUIRED check on theorganisation ruleset. OPERATOR ACT, Brett Heap — not this packet's to
take, and not possible before the workflow has reported once." It is now
done.
The ruling
Brett Heap ruled, first-hand to lane codeXfactory-1 at 2026-09-08T14:16Z
(session
session_01UQzYv1nEcjEkidnMUCaJcB), verbatim:What was created
Org ruleset 22551797,
openxFactory pin-gate (require openspec-cli-pin),created via
POST /orgs/opensoft/rulesets: target branch, enforcementactive, conditions
ref_name~DEFAULT_BRANCHandrepository_nameinclude
openxFactoryonly, one rulerequired_status_checkswith contextopenspec-cli-pin(strict_required_status_checks_policy: false), bypassOrganizationAdminalways — cloned from the precedent ruleset 21957695openxFactory chain-gate (require signed-execution-chain-gate)(the housekeeps one ruleset per gate family; 21538893 is the wallet-gate).
Verified in force before writing the tick:
gh api orgs/opensoft/rulesets/22551797returns the ruleset above, andgh api repos/opensoft/openxFactory/rules/branches/mainlistsopenspec-cli-pinunder ruleset
22551797alongside the chain-gate and wallet-gate checks.Scoped to openxFactory only because in every consuming repository the gate
runs inside that repository's own
validatejob, so a check namedopenspec-cli-pinwould never report there and would block every merge.Diff
One file:
openspec/changes/add-openspec-cli-pin/tasks.md, ticking 3.3 inthe file's amended style (as 5.1 / 6.1 / 6.3–6.5 were ticked), preserving
the original text after
Was:.Landing-window note
This PR touches
openspec/changes/, so rule 6's landing window applies atmerge (claim/LANDING/LANDED in
LANES.mdand on the PR). This PR is alsoitself the first PR to merge under the new required check —
openspec-cli-pinwill gate its own merge.Proof
OPENSPEC_TELEMETRY=0 openspec validate add-openspec-cli-pin --strict(pinned CLI,
@fission-ai/[email protected]) →Change 'add-openspec-cli-pin' is validpython -m pytest tests/openspec_cli_pin -q→93 passedgit diff --statagainstmain→ one file changed🤖 Generated with Claude Code
https://claude.ai/code/session_01UQzYv1nEcjEkidnMUCaJcB