Skip to content

Tick add-openspec-cli-pin 3.3: openspec-cli-pin is a required check on openxFactory main (org ruleset 22551797) - #810

Merged
brettheap merged 1 commit into
mainfrom
change/tick-pin-gate-required-check
Sep 8, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/tick-pin-gate-required-check

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

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-pin as a REQUIRED check on the
organisation 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:

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.

What was created

Org ruleset 22551797, openxFactory pin-gate (require openspec-cli-pin),
created via POST /orgs/opensoft/rulesets: 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_required_status_checks_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 before writing the tick: gh api orgs/opensoft/rulesets/22551797 returns the ruleset above, and gh api repos/opensoft/openxFactory/rules/branches/main lists openspec-cli-pin
under ruleset 22551797 alongside the chain-gate and wallet-gate checks.

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.

Diff

One file: openspec/changes/add-openspec-cli-pin/tasks.md, ticking 3.3 in
the 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 at
merge (claim/LANDING/LANDED in LANES.md and on the PR). This PR is also
itself the first PR to merge under the new required check —
openspec-cli-pin will 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 valid
  • python -m pytest tests/openspec_cli_pin -q → 93 passed
  • git diff --stat against main → one file changed

🤖 Generated with Claude Code

https://claude.ai/code/session_01UQzYv1nEcjEkidnMUCaJcB

…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
Copilot AI lite review requested due to automatic review settings September 8, 2026 14:20

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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-pin status 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.

Comment on lines +86 to +90
`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
@brettheap

Copy link
Copy Markdown
Contributor Author

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

@brettheap
brettheap merged commit 95e2540 into main Sep 8, 2026
10 checks passed
@brettheap
brettheap deleted the change/tick-pin-gate-required-check branch September 8, 2026 14:47
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane codeXfactory-1, 2026-09-08T14:47:28Z, PR #810 → 95e2540

Lane: codexfactory-1

brettheap added a commit that referenced this pull request Sep 8, 2026
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants