Skip to content

Propose adopt-council-cleared-merge-gate: the policy half — which openxFactory PRs a council verdict may carry past the merge gate - #447

Closed
brettheap wants to merge 1 commit into
mainfrom
change/adopt-council-cleared-merge-gate
Closed

brettheap wants to merge 1 commit into
mainfrom
change/adopt-council-cleared-merge-gate

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Proposal only. No code, no workflow, no ruleset and no contracts/ artifact is changed by this PR — it carries one change packet; tasks.md holds the build order behind seven realization gates. Do not merge until the packet is admitted (see "For your ruling").

Packet: openspec/changes/adopt-council-cleared-merge-gate/ — proposal (Status: draft), design D1–D7, 13 task groups tagged [OPERATOR] / [hermes-install] / [codexFactory] / [openxFactory], clarifications.md, five retained review records, and one spec delta: ADDED capability council-cleared-merge-gate (9 requirements). Amends nothing — parity declared against roles-authority-model, review-authority-intake and workflow-gate-contract, each with its reason.

Origin

Ad hoc, on your in-session direction "approved. do all of these", answering your question of fact: "do we have ability for review and merge from codex hermes now?"

No. The mechanism half is largely built and being built further. The policy half did not exist at all, and R1's own workflow header names this change's job: openxFactory's human review gate "stays that way until S3 and S5 of add-wallet-carried-review-authority land AND a ratified ruleset change says otherwise." This is the proposal for that statement.

The gate composition does not change

Your sketch was required checks wallet-validation + pytest-suite + merge-master-approval in place of the 1-approving-review rule. That shape is both forbidden and unimplementable, and the proposal records it as a rejected alternative rather than dropping it silently:

  • Forbidden — add-substantive-review-lane's ratified Ruleset interaction shape prescribes an App-cast APPROVE review, bars a check-run as ruleset satisfier ("MUST NEVER"), and bars removing the human path.
  • Unimplementable — the 1-approval rule lives in org ruleset 18962101, targeting seven repositories; openxFactory has no repo-level ruleset at all; and a GitHub ruleset cannot branch on PR class. A check-satisfier design would have relocated the enforcement of human review out of GitHub and into codexFactory's Python.

So only who may cast the approving review moves. The one ruleset edit proposed is a hardening of openxFactory's own repo-scoped 21538893 (dismiss_stale_reviews_on_push, require_last_push_approval, strict — all currently absent or false there).

The class boundary, drawn from the enforcer's constants

ONE class, openxfactory-governance-prose: docs/**/*.md, ideation/**/*.md, README.md, plus a depth-independent refusal of the twelve PROTECTED_ROOT_FILES basenames (that floor is applied root-exact, so docs/**/*.md would otherwise admit docs/AGENTS.md).

openspec/** is floored twice — PR-time GATE_INTEGRITY_FLOOR and definition-time PROTECTED_CLASS_SURFACES — so openxFactory's dominant traffic is not clearable, and this packet's own diff would not qualify under its own boundary. That is the correct outcome, not an irony engineered around. Your three flagged questions are answered by shipped code, not by this change's assertion: scripts/**, .github/workflows/** and contracts/*.schema.yaml are all human-only already.

The measured value, published rather than buried

Window Merged PRs Would have qualified
Most recent 40 40 0
Next 100 back 100 13

Twelve of those thirteen came from one closed campaign on one file. Honest expected benefit: ~0 PRs/week today. The proposal states plainly that this is the strongest argument against ratifying it on throughput grounds, and rests its case on option-closing instead.

Q7 names where the traffic actually is and cannot be reached: 4 of the recent 40 merges are openspec/changes/**/tasks.md checkbox ticks — 10% of traffic, more than this class at its peak — locked behind a floor no ratified doctrine permits narrowing.

Review rounds

Two-seat alignment + three-seat council. Tally: 2 APPROVE WITH CONDITIONS, 1 BLOCK. 25 conditions, all applied.

The council's one unanimous act was removing a second, derived-artifact class: no traffic in five weeks, its only historical PR shape unclearable anyway, and an allowlist that re-admitted health/neutrality-drift/baseline/codexFactory.yaml — the immutable comparator the drift lane reads back — making it a floor narrowing wearing a boundary's clothes. That removal also fixed a canary that could never have completed, and so a G7 flip that was structurally unreachable.

The packet withdraws three of its own false claims and records each rather than deleting it: a succession from an artifact existing only as an unchecked task behind a held Phase-2 gate; a mixed-diff arbitration the enforcer does not implement; and a class floor that gives a rule-less repository no evaluation at all — this packet's single largest reliance. LS-A3 was committed here three times, each time by deriving from prose rather than from code.

Nothing here authorizes an autonomous approval

Seven gates, all recorded NOT MET as of 2026-08-27: hermes-install S3 and S5 barely begun (6.2–6.8 and 7.1–7.7 unchecked, no such code in src/); R1 open as PR #439, unmerged, and merge-master-approval has never reported here; no candidate class enrolled anywhere for openxFactory; and no approval-capable caller exists (R1 is structurally read-only — a gate an earlier draft missed entirely, and its most serious defect). The class enrolls advisory; the flip to clearable is G7, a separate ratified act this change does not perform.

Checks: openspec validate --all --strict 75 passed / 0 failed; single-repo doc-health identical to baseline (5 critical / 7 error / 41 warning / 11 info, 0 new regressions) with zero findings naming this packet.

For your ruling

Proposal only — do not merge until admitted. A gate-policy change is your own ruling, so this packet stops at Status: draft and no agent wrote Status: ratified. Eight questions are declared, not decided — Q1 (does the merge-master App hold write on this repo? empirical and gating; if no, the core mechanism does not work), Q6 (@brettheap is both sole code owner and only bypass actor, and GitHub bars self-approval — so does the assembly-class floor mean anything today?), Q7 (amend doctrine for a diff-shape checkbox class, or move the pilot to opensoft/xFactory where the traffic is?), and Q8 (should this family be required to state falsifiable expected-benefit figures — this proposal would have failed that test at authoring).

🤖 Generated with Claude Code

…ast the gate

Brett asked in session whether we have the ability to review and merge from
codex Hermes now. The answer is no, and the two missing halves are missing very
differently. The mechanism half is largely built and being built further; the
POLICY half did not exist at all. R1's own workflow header names this change's
job: openxFactory's human review gate "stays that way until S3 and S5 of
add-wallet-carried-review-authority land AND a ratified ruleset change says
otherwise."

This is the proposal for that statement. It builds nothing.

THE GATE COMPOSITION DOES NOT CHANGE. The convener's sketch was required checks
in place of the 1-approving-review rule; that shape is both forbidden and
unimplementable. Forbidden because add-substantive-review-lane's ratified
"Ruleset interaction shape" prescribes an App-cast APPROVE review, bars a
check-run as satisfier outright, and bars removing the human path.
Unimplementable because the rule lives in an ORG ruleset spanning seven
repositories and a GitHub ruleset cannot branch on PR class, so a
check-satisfier design would relocate the enforcement of human review out of
GitHub and into codexFactory's Python. Only the set of permitted approvers
moves. The single ruleset edit is a HARDENING of openxFactory's own repo-scoped
21538893.

ONE candidate class, over docs/**/*.md, ideation/**/*.md and README.md. The
boundary is derived from the enforcer's constants, not from ratified prose,
after the first draft derived it from prose and the code refused three of its
entries. openspec/** is floored twice, so openxFactory's dominant traffic is not
clearable and THIS PACKET'S OWN DIFF WOULD NOT QUALIFY. That is the correct
outcome, not an irony to engineer around.

The measured value is published rather than buried: 0 of the last 40 merged PRs
would have qualified, 13 of 140, twelve of those thirteen from one closed
campaign on one file. The proposal states this is the strongest argument against
ratifying it on throughput grounds and rests its case on option-closing instead.
Q7 names where the traffic actually is and cannot be reached:
openspec/changes/**/tasks.md checkbox ticks, 10% of recent merges, locked behind
a floor no ratified doctrine permits narrowing.

Reviewed by a two-seat alignment round and a three-seat council: 2 APPROVE WITH
CONDITIONS, 1 BLOCK, 25 conditions, all applied. The council's one unanimous act
was removing a second, derived-artifact class — no traffic in five weeks, its
only historical PR shape unclearable anyway, and an allowlist that re-admitted
health/neutrality-drift/baseline/codexFactory.yaml, the immutable comparator the
drift lane reads back, making it a floor narrowing wearing a boundary's clothes.
That removal also fixed a canary which could never have completed, and so a G7
flip that was structurally unreachable.

The packet withdraws three of its own false claims and records each rather than
deleting it: a succession from an artifact that exists only as an unchecked task
behind a held Phase-2 gate; a mixed-diff arbitration the enforcer does not
implement; and a class floor that gives a rule-less repository no evaluation at
all, which was this packet's single largest reliance. LS-A3 was committed here
three times, each time by deriving from prose rather than code.

Seven realization gates, ALL recorded NOT MET: hermes-install S3 and S5 barely
begun, R1 open as PR #439 unmerged, no candidate class enrolled anywhere for
openxFactory, and no approval-capable caller in existence. Nothing here
authorizes an autonomous approval: the class enrolls advisory, the flip is G7 —
a separate ratified act this change explicitly does not perform.

Status stays draft. A gate-policy change is the convener's own ruling.

Co-Authored-By: Claude Fable 5 <[email protected]>

@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 lite review requested due to automatic review settings August 27, 2026 23:40

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.

Pull request overview

This PR introduces a new draft OpenSpec change packet, adopt-council-cleared-merge-gate, defining the policy side of when a council verdict may satisfy openxFactory’s merge gate (without changing any workflows, rulesets, or contracts), and indexes the packet in README.md.

Changes:

  • Added a draft OpenSpec proposal packet (proposal, design notes, clarifications, tasks, and review records) describing the proposed capability council-cleared-merge-gate.
  • Added the capability spec text under the packet’s specs/ subtree.
  • Updated README.md “OpenSpec Records” to list the new active draft change.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
README.md Adds the packet to the “Active changes” index.
openspec/changes/adopt-council-cleared-merge-gate/.openspec.yaml Defines packet metadata and origin rationale for the draft proposal.
openspec/changes/adopt-council-cleared-merge-gate/proposal.md Main policy proposal text, gates, and open questions.
openspec/changes/adopt-council-cleared-merge-gate/design.md Design decisions and rejected alternatives for the policy half.
openspec/changes/adopt-council-cleared-merge-gate/tasks.md Ordered realization plan and gating checklist for future implementation work.
openspec/changes/adopt-council-cleared-merge-gate/specs/council-cleared-merge-gate/spec.md Defines the added capability requirements and scenarios.
openspec/changes/adopt-council-cleared-merge-gate/clarifications.md Summarizes what was decided/corrected and preserves review conclusions.
openspec/changes/adopt-council-cleared-merge-gate/alignment-qa-lead.md Retained alignment review record for the first draft.
openspec/changes/adopt-council-cleared-merge-gate/alignment-stack-architect.md Retained alignment review record for the first draft.
openspec/changes/adopt-council-cleared-merge-gate/council-adversary-engineer.md Retained council review record (adversary seat).
openspec/changes/adopt-council-cleared-merge-gate/council-product-advocate.md Retained council review record (product advocate seat).
openspec/changes/adopt-council-cleared-merge-gate/council-systems-architect.md Retained council review record (systems architect seat).
Suppressed comments (1)

openspec/changes/adopt-council-cleared-merge-gate/clarifications.md:239

  • This section title is split into two separate ## headings (line 239 becomes its own heading). It should be a single heading line (or a wrapped continuation line without ##).
## N14 — The kill switch had two stops, not three; and the CODEOWNERS floor is
## discharged by the bypass it was meant to replace

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +136 to +140
The packet's most important negative claim. Both classes enroll `advisory`;
`_validate_defined_not_wired` makes `clearable` structurally unreachable for an
unwired repository; seven gates are recorded **NOT MET**; and the flip to
`clearable` is **G7**, a separate ratified act this change explicitly does not
perform.
Comment on lines +37 to +39
org-level 1-approving-review ruleset, so its routine documentation and
derived-artifact pull requests are today merged either by a human review
the repository's own doctrine says such a diff does not need, or by an
Comment on lines +68 to +76
**Resolution:** two named classes — `openxfactory-governance-prose` and
`openxfactory-derived-health-artifact` — each enrolled `advisory`, each owing a
`risk_tier`, an owning seat and a resolvable `intent_reference`. The human-only
enumeration is a reader's aid, not the control, since an allowlist admits only
what it names.

Two classes rather than one is a decision, not a formality: a canary confined to
one class cannot detect a class-boundary error, which is the failure a canary on
a classification change exists to catch.
Comment on lines +59 to +60
## N4 — The boundary is expressed as named classes, because that is what an
## enforcer matches
@brettheap

Copy link
Copy Markdown
Contributor Author

This PR is CONFLICTING with main — confirmed on a second gh pr view --json mergeable query, the first having returned the UNKNOWN placeholder. Flagged by another session at Brett's request.

Stated precisely, because this PR is NOT in the same state as #555/#548/#517. Those three have no run of the required pytest-suite or wallet-validation on their heads at all: a conflicted PR has no merge ref, so workflows triggered on: pull_request never start, which reads as a slow queue rather than as CI that will never run.

Here, both of those checks did run on head 06982120 — they simply did so on 2026-08-27, and nothing has moved since. So the risk on this PR is staleness rather than a blackout: the last verdict predates a great deal of main, and any new push will hit the blackout while the conflict stands, because the merge ref cannot be computed.

The fix is the same: merge origin/main into the branch, never rebase or force-push. Re-read origin/main immediately before pushing — on #544 today main advanced during the conflict resolution and the first merge was stale before it landed.

brettheap added a commit that referenced this pull request Sep 3, 2026
…t is wider than one pull request

998a31b's closing "STANDING RACE" paragraph asserts that openxFactory #599
carries a `## MODIFIED Requirements` block and would move the live corpus pin
ahead of this branch. THAT WAS WRITTEN WITHOUT BEING MEASURED, AND IT IS FALSE.
Measured now:

  $ gh api repos/opensoft/openxFactory/pulls/599/files \
      --jq '.[] | "\(.status) \(.filename) +\(.additions) -\(.deletions)"'
  modified openspec/changes/add-credential-escrow-checkout/tasks.md +25 -2

One `tasks.md` edit. It adds no requirement block, no packet and no spec delta,
so it moves no reading of `scripts/validate-sequenced-after.py --sweep`.

The race itself is real and wider: any open change that ADDS a packet or a spec
delta moves `change_ids` / `active`, and any that adds or drops a
`## MODIFIED Requirements` block moves the co-modified and sole sets. Measured
against the open queue on 2026-09-03, SEVEN pull requests touch a `proposal.md`
or a `specs/**/spec.md` under `openspec/changes/` — #609 (this change's own
MedxPractice sibling), #595, #594, #593, #548, #491 and #447 — and whichever
lands first re-breaks this branch's pin.

This is the second fix commit rather than an amendment of the first, for the
same reason the first is not an amendment of c39d29b: force-pushing is
forbidden here (GH013), so a wrong statement in a pushed commit message is
corrected in the durable record and named there, never rewritten. The
correction lands in `review/verification-2026-09-03.md` § 9, beside the
paragraph that supersedes c39d29b's message by the same mechanism. Correcting
an evidentiary defect this round exists to remove, in the round's own commit,
is not an exception to the round — it is the round.

Validation, measured on this commit's tree:
  openspec validate create-medxchart-overlay-boundary --strict
    -> Change 'create-medxchart-overlay-boundary' is valid
  openspec validate --all --strict -> Totals: 86 passed, 0 failed (86 items)
  scripts/doc-health.py --single-repo .
    -> Findings: 6 critical, 6 error, 29 warning, 14 info. New regressions: 0.
       Finding lines BYTE-IDENTICAL to the c39d29b baseline; ZERO findings
       name this change.
  scripts/validate-sequenced-after.py . --sweep -> 157 / 109 / 48 / 22 / 11
  pytest tests/sequenced_after -q -> 118 passed

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
Lane: openxfactory-max001
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1d

CLOSED — on Brett Heap's word (2026-09-03, in session: "close 447"). This proposal-only packet (the policy half of a council-cleared merge gate) says in its own body that it must not merge until the packet is admitted, and it never was: the gate-rules convening of 2026-08-28 UNANIMOUSLY REFUSED the class it presupposes (recorded at #473 / codexFactory #142), so its premise is gone. The branch has sat CONFLICTING with main since 2026-09-01 on the README records block. Closed rather than rebased; if a council-cleared merge gate is wanted later it re-enters through ideation/staging/ against the current gate rules. Branch left in place for reference.

@brettheap brettheap closed this Sep 4, 2026
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