Repository navigation
Description
Category
category:governance
Type
type:fix
Remedy / files the remedy will touch
dotgithub: scripts/lib-org.sh, scripts/org-ruleset.sh, scripts/retire-per-repo-dispatchers.sh, scripts/reconcile-tag-on-merge-callers.sh, scripts/sync-forks.sh, .github/workflows/tag-on-merge.yml, .github/workflows/tag-on-merge-dispatcher.yml, .github/workflows/sync-forks.yml, tests, README/AGENTS. umbrella: DESIGN.md A.12, README.md org map, .agents/skills/repo-setup/SKILL.md.
Cited design decision or org-rulebook rule (or none)
#179, #212, #225, #317; AGENTS.md R11; DESIGN.md A.12 (D-PLUG-3)
Summary
Measured 2026-11-25: the org has 20 active forks, and the org-wide gate covers none of them. 17 have no branch rules at all; crabbox and Qwen3-TTS carry non-canonical repo rulesets; gst-wayland-display has protection without a required check. 13 have allow_auto_merge=false (so a PASS renders as a failed check, #212) and 17 have delete_branch_on_merge=false. 14 have no tag-on-merge caller, and the 6 existing copies are mixed vintage (Qwen3-TTS carries the 5-minute, no-backstop dispatcher).
Remedy
Reuse the org required workflow instead of copying a caller into each fork:
- A second org ruleset (B) from the same
org-ruleset.shpayload builder as the existing one, scoped to the 20 forks, ref~DEFAULT_BRANCH, carrying the SAMEworkflowsrule + strict requiredvalidate / validate+ nf/del/creation + the charly-auto-merge App bypass. - Per-repo settings (auto-merge, delete-branch) over the discovered fork set.
- Tag-on-merge callers installed/normalized by the existing reconcile, extended to forks; fix the reusable to use
pr.base.refand the dispatcher to cover master/stable. - Mirror sync moves to a dotgithub App-token
merge-upstreamworkflow (the App is the ruleset bypass), because theworkflowsrule blocks a user-tokengh repo sync(R1: a first-party fork repo never gets allow_auto_merge, so a PASS verdict cannot arm native auto-merge #179). - Delete the per-fork
pr-validator.ymlmechanism (template + two copies) as legacy. - DESIGN A.12 amendment: forks now mint CalVer, so the "a fork mints no release tag" row is false.
repo-setupskill: replace the "forks are excluded by design" model with the new org-wide model and a fork-onboarding checklist.
Related
#179 (settings half), #212 (PASS-as-failure), #225 (verify blind to non-canonical rulesets), #317 (gst no tag), #175/#309 (stalled auto-merge shapes watched by the canary).
Agent: fork-ci-gate · Claude Code session a49fdfba-bbc0-403f-90b9-3e298539b848
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Activity
aitrawog commentedon Nov 25, 2026
CLAIM
CLAIM — taking this cutover.
Scope: the dotgithub mechanism (org ruleset B reusing the required workflow, fork settings, fork-scoped retire/reconcile, the tag-on-merge base-ref + dispatcher fixes, the App-token mirror sync) and the umbrella surfaces (DESIGN A.12, README org map,
repo-setupskill).Order: dotgithub PR first, then the umbrella PR, then the operator-authorized rollout (retire copies, install tag callers, apply the ruleset, verify, canaries). No fork has an open PR today, so the cutover has no in-flight work.
Next update: on the dotgithub PR opening.
Agent:
fork-ci-gate· Claude Code sessiona49fdfba-bbc0-403f-90b9-3e298539b848Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
feat(fork-gate)!: gate every first-party fork with the org ruleset, n…
aitrawog commentedon Nov 25, 2026
STATUS
STATUS — the mechanism landed.
#322 merged 2026-11-25T09:23:41Z (squash; tag
v2026.329.0923;CHANGELOG/2026.329.0923.md).workflow-checksandvalidate / lintpassed; the only BLOCK was T4, and the operator-directed sign-off is on the thread.In: org ruleset B for the active forks (the SAME required workflow, no per-fork caller), the fork settings loop, the duplicate-producer refusal, the #225 verify loop,
SCOPE=forksretire/reconcile, thepr.base.ref+ dispatcher-ref fixes, andsync-forks.yml.Next: the umbrella DESIGN A.12 /
repo-setupskill PR (design-check and verify running), then the operator-authorized rollout — retire the fork copies, install/normalize the tag callers,org-ruleset.sh apply,verify, one canary per class. #179 stays open until the apply makes the live settings true.Agent:
fork-ci-gate· Claude Code sessiona49fdfba-bbc0-403f-90b9-3e298539b848Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
aitrawog commentedon Nov 25, 2026
STATUS
STATUS — the contract half is up.
opencharly/opencharly#1280 (DESIGN A.12 amendment + the
repo-setupskill + the design-pintag comment) is open, head4ba46ce. The design check passed all 7 controls on that tree (400 pins, 0 skipped),task verifyandtask org-mappass, and the operator-directed maintainer sign-off is on the thread. A durable gate anomaly found on the way is filed as opencharly/opencharly#1279 (a store that already holds its pin is never refreshed with--tags; fixed operationally, no census row).Next: #1280 merges, then the operator-authorized rollout (retire the fork copies → install/normalize the tag callers →
org-ruleset.sh apply→verify→ one canary per class). #179 closes at the apply.Agent:
fork-ci-gate· Claude Code sessiona49fdfba-bbc0-403f-90b9-3e298539b848Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
docs(fork-gate)!: conform DESIGN A.12 and the repo-setup skill to gat…
aitrawog commentedon Nov 25, 2026
WAITING
WAITING — the rollout's ruleset-B activation waits on gst-wayland-display#23, which the operator merges first. An already-open PR carries no required
validate / validaterun and GitHub does not run the required workflow for it retroactively, so activating B before the merge would leave #23 unmergeable until a push. The census remains read-only; nothing has been written to any fork or to the org ruleset.Agent:
fork-ci-gate· Claude Code sessiona49fdfba-bbc0-403f-90b9-3e298539b848Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
ci: install the canonical tag-on-merge caller (opencharly/.github#320)
aitrawog commentedon Nov 25, 2026
STATUS
STATUS — the fork config is applied and verified.
Ruleset B
28070629 fork required workflow & main protectionis live over the 20 active forks (the SAME required workflow,~DEFAULT_BRANCH), A's stale exclude is fixed, all 20 forks now haveallow_auto_merge=trueanddelete_branch_on_merge=true(allow_update_branch=false), 13 callers were INSTALLED and 7 normalized+tagged, and the 2 per-fork validator copies are retired. gst-wayland-display'sstablecarriesworkflows+ strictvalidate / validate+ nf/del/creation.The full
verifyproduced zero fork findings. Its one finding was pre-existing and outside the fork set:vm-nvidiadefaulted tofeat/vm-nvidia-boxwhile amainref exists; it is now patched tomainas the verify prescribes. A full verify re-run needs the REST quota (990 calls left after the scan); the next reset confirms the org-wide green.Still owed: (1) the durable
source_typefix PR — the rollout skips org-sourced rulesets with a LOCAL patch, while the merged script would 404 on them and misread B as repo-scoped; (2) the reconcile read-back fix (read at the PUT's returned commit SHA) — the rollout converged with a bounded, evidence-checked loop; (3) the canaries (runtime proof of auto-merge + CalVer per class).#179 and #317 are closed with the live evidence; #23 has
RESOLVED.Agent:
fork-ci-gate· Claude Code sessiona49fdfba-bbc0-403f-90b9-3e298539b848Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)