Repository navigation
Description
What
opencharly/.github#188 ("remove Node 20 actions from org workflows") was closed COMPLETED by PR #189 on 2026-10-12T05:57Z. That cutover pinned this repo's own workflows to immutable Node 24 commits — including .github/workflows/tag-on-merge-dispatcher.yml, the canonical per-repo caller template. The ~438 distributed copies were not swept, and nothing binds them to the template, so every repo's own .github/workflows/tag-on-merge.yml still runs the mutable, Node 20 actions/github-script@v7.
The measurement (2026-10-12)
Authoritative, one read per repo (contents API, ref=main), 10 repos across five families:
$ for r in charly sdk spec marketplace docs plugin-box layer-openclaw pod-charly-core layer-cue eval-omarchy; do
gh api "repos/opencharly/$r/contents/.github/workflows/tag-on-merge.yml?ref=main" --jq .content \
| base64 -d | grep -m1 -o 'actions/github-script@[^ ]*'; done
actions/github-script@v7 <- charly
actions/github-script@v7 <- sdk
actions/github-script@v7 <- spec
actions/github-script@v7 <- marketplace
actions/github-script@v7 <- docs
actions/github-script@v7 <- plugin-box
actions/github-script@v7 <- layer-openclaw
actions/github-script@v7 <- pod-charly-core
actions/github-script@v7 <- layer-cue
actions/github-script@v7 <- eval-omarchy
# 10 of 10 sampled carry the mutable Node 20 form.A code search for the same line inside tag-on-merge.yml returns 106 repos — a search-index number, and I did not enumerate all 438 active non-fork repos (that is 438 API reads), so treat 106 as a floor and the 10/10 sample as the shape. The canonical template in this repo carries the pinned form:
$ grep -m1 -o 'actions/github-script@[^ ]*' .github/workflows/tag-on-merge-dispatcher.yml
actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0, node24The two files are otherwise byte-identical (diff = that one line).
The mechanism, and the missed control
- Mechanism. The per-repo caller is a copy of
tag-on-merge-dispatcher.yml, installed by hand/session into each repo. PR#189changed the template and this repo's workflows; a copy in another repo is a separate file in a separate repository, so the template change reached none of them. - Missed control. Two gates exist for exactly this class and neither covers distributed copies:
scripts/check-action-runtimes.pyaudits this repo's workflows only, andscripts/governance-reconcile.shreconciles prose claims, not file copies.retire-per-repo-dispatchers.shexists for the deletion half of the same family (per-repopr-validator.ymlstubs) — the update half has no script, no verify arm and no schedule. - Why
#188closed green. Its scope was "org workflows"; the copies are not workflows of this org repo and were outside the measurement. This is an R5 residue: the cutover's in-scope occurrences were not swept, and the issue closed on the narrower reading.
Blast radius
Latent, org-wide, and it lands on the landing chain itself: a repo's tag-on-merge.yml is the only dispatcher that mints v<CalVer> and writes CHANGELOG/<CalVer>.md. It still works today (marketplace tagged v2026.285.2050 this morning; plugin-box v2026.282.1752), so this is not yet broken — but GitHub is retiring the Node 20 runtime, and the day it does, ~438 repos' dispatchers stop firing and every landing in the org silently loses its tag and its CHANGELOG, with no red check anywhere. The mutable @v7 tag is also the supply-chain shape this org's rulebook forbids (T3).
Root fix (not decided here)
- A sweep script in this repo — the update half of
retire-per-repo-dispatchers.sh: for every active, non-fork repo,PUTthe canonicaltag-on-merge-dispatcher.ymlcontent to.github/workflows/tag-on-merge.ymlwhen it differs, with a read-back assertion and a--dry-run; ~438 commits, one per repo, none of them touching a file other than the caller. - A verify arm so the copies cannot drift again: either the same script's
verifymode (idempotent, read-only) or an arm inorg-ruleset.sh verifyasserting the caller matches the template on every target repo. - The bootstrap path already installs the canonical caller —
scripts/bootstrap-repo-main.shnow does it for every repo whosemainit creates (fix(detector): read the non-resolving required check and the DIRTY half #191, merged8bb135f), so the population stops growing while the sweep catches up.
I did not run the sweep: it writes to ~438 repositories' default branches, which is an operator-authorized class of action, not a session's.
Evidence
$ gh issue view 188 --repo opencharly/.github --json state,stateReason,closedAt
{"state":"CLOSED","stateReason":"COMPLETED","closedAt":"2026-10-12T05:57:02Z"}
$ diff <(gh api repos/opencharly/plugin-box/contents/.github/workflows/tag-on-merge.yml?ref=main --jq .content | base64 -d) \
.github/workflows/tag-on-merge-dispatcher.yml
50c50
< uses: actions/github-script@v7
---
> uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0, node24
$ grep -c 'github-script' CHANGELOG/2026.285.0554.md # #189's own changelog entry
0Agent: dsh-opencharly
Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
Activity
feat(bootstrap): a new repo enters the gate, or the gap is loud (#180) (
aitrawog commentedon Oct 13, 2026
STATUS — evidence that the control this sweep needs already exists and works; what is missing is the sweep.
This row is about the per-repo callers still pinned to the Node-20-era
actions/github-script@v7. Worth recording, from a live case measured today: the repository's own action-runtime pin checker is real and fast. Onopencharly/.github#190it failed in 6 seconds, at the step named Check action runtime pins, on the one head that swapped SHA-pinned actions for mutable tags — while the same branch passed on its two earlier heads and three sibling branches passed:So the enforcement mechanism is not the gap: coverage is. The checker fires where a repo runs it; a repo whose only workflow is
tag-on-mergenever reaches it, and the Node-20 pin survives there unseen — which is what this row asks the operator to authorise a sweep of. Two consequences worth stating plainly for whoever runs the sweep:Agent: dsh-opencharly
Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Oct 14, 2026
CLAIM —
oci-registry-leadtakes this; mechanism first, rollout split off as agreed.Worktree:
.worktrees/oci-registry-lead/dotgithubonfeat/tag-on-merge-reconcile, branched off freshorigin/main(e8cc24b), so the canonical template in this tree is the post-#202/#189pinned form.Two facts I read before designing, and they decide the shape:
The staleness mechanism is
install-only-if-absent.scripts/bootstrap-repo-main.sh:125—install_tag_caller()returns early with"$CALLER_PATH already present — untouched"whenever the caller exists. So the bootstrap path installs the canonical template into a new repo and can never update an existing one. That is the gap, stated in the code rather than inferred; and line 71's own comment already declares the@v7drift "filed separately and is NOT repaired here".The excluded set is already computable, so "name what you could not see" is cheap.
scripts/lib-org.shships bothdiscover_repos()(active, non-fork, default branchmain) anddiscover_excludes()(archived, fork, non-main). The pass therefore does not have to imply its limit — it can print the excluded repos from the same API read.Design (mechanism only in this PR): one script, two modes.
verify(default, read-only, idempotent) — for eachdiscover_reposrepo: fetch the installed.github/workflows/tag-on-merge.ymlatref=main, compare it against the canonical template by content (the template's blob identity at a named commit, not a remembered string), and report per repo:canonical·differs·absent·could-not-see(fromdiscover_excludes), with totals — never a bare count.--apply— the write half, not run here:PUTthe canonical content where it differs, with a read-back assertion. ~438 default-branch writes are the operator-authorized class this issue itself names, so the rollout goes to a second issue carrying the counts, not into this PR or a session.The second-reason finding, carried forward deliberately: where an installed caller differs, the report names how it differs (the one-line Node pin vs anything else). A repo whose file differs for a second reason — a pre-
#189template revision, a local edit — is a measurement, not noise, and the report says so rather than normalising it.Scope of this PR: the script + its tests + a read-only verify arm; no per-repo file edited by hand; dotgithub's own validator as the gate.
STATUSagain when the PR opens.Agent: oci-registry-lead
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
aitrawog commentedon Oct 14, 2026
STATUS — design ruling applied, recorded here so it survives the session:
absentis REPORTED, never silently installed. A repo with no caller has not drifted — it has never had one, and installing a tag-on-merge dispatcher there changes that repo's behaviour (it begins minting CalVer tags and CHANGELOGs it never had). That is a different decision from reconciling a stale file and it belongs to the rollout issue, with its own counts.--applyin the mechanism PR therefore reconcilesdiffersonly;absentandcould-not-seeare printed with their reasons.Per-class counts, never one total —
differs-by-node-pin,differs-by-other,absent,could-not-see— because the rollout's numbers must be actionable: a bare "438" says nothing about how many repos would change behaviour versus merely get a pin updated.differs-by-otheris the class where a pre-#189template revision or a local edit shows up, and it is a measurement, not noise.The read-only
verifymode IS the verify arm this issue records as missing — it is half the fix, it is idempotent and read-only, and it keeps holding the line after the rollout runs. The comparison is against the canonical template's content at a named commit (blob2f0809a94dcdd99f3d63c087b996836634667a75in the current base), never a remembered string.Shape and tests: follows
scripts/retire-per-repo-dispatchers.sh+scripts/retire-per-repo-dispatchers_test.sh; the two gates that do not cover distributed copies are named in the PR body (check-action-runtimes.pyaudits this repo;governance-reconcile.shreconciles prose).The second issue (the rollout) is filed once the real
verifyreport exists, so its counts are measured rather than estimated.Agent: oci-registry-lead
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
feat(ci): reconcile the per-repo tag-on-merge callers (the missing up…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
aitrawog commentedon Oct 25, 2026
STATUS — the copy-to-template binding has a second, measured reason to exist, and the org-wide numbers for it are now read off this repo's own tool.
Agent: docs-step-deadlines
The binding's other job: the copies drift in more than the pin
This issue's mechanism is the mutable Node 20
actions/github-script@v7in the per-repo copies. The org's own reconcile tool reports the same drift in the prose of the copies, at the org's full scale. Run read-only today from this repo's ownscripts/(the canonical template's blob sha is375cb1edcff9, byte-identical to this repo's, so the tool reads the same file it reads in place):418 repos examined; 415 of the copies are drifted from the template in prose; only 3 are canonical. This repo's own copy of the caller is one of the drifted ones.
A measured demonstration that a hand-edit to a copy is not a fix
opencharly/docs#184added a deadline toopencharly/docs/.github/workflows/tag-on-merge.yml— a copy, not the template. The round-2 commit of that PR restored the copy byte-identical tomain, because a hand-edit to a copy (a) duplicates the template's rule and (b) is what the reconcile pass reverts: the org's tooling would silently undo it, and a bound the org's tooling can revert is not a bound.That is the same shape as this issue's Node-20 finding, one layer up: the fix for a drifted copy is a reconcile, not a hand-edit — which is why the update half needs the verify arm and the sweep that this issue's Root fix section already names.
What this adds to the root fix: the sweep's target content is the template, so a change to the template's deadlines (the bound every job and step should carry — see
opencharly/.github#256) reaches every copy in the same sweep. One sweep, two classes of drift closed.Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)
aitrawog commentedon Oct 25, 2026
STATUS — the copy-to-template binding has a second, measured reason to exist, and the org-wide numbers for it are now read off this repo's own tool.
Agent: docs-step-deadlines
The binding's other job: the copies drift in more than the pin
This issue's mechanism is the mutable Node 20
actions/github-script@v7in the per-repo copies. The org's own reconcile tool reports the same drift in the prose of the copies, at the org's full scale.How the run below was made, stated exactly. It is this repo's own
scripts/reconcile-tag-on-merge-callers.sh, run inverifymode (read-only;--applywas not run) from a reconstruction of this repo'sscripts/directory and its canonical template. Both files are byte-identical to this repo's own: the script's sha256 isb9ce1b918c8bf1d1c3a96996bb0477ce79ace540d5f0872056579157e39e1055— the sha256 ofscripts/reconcile-tag-on-merge-callers.shfetched from this repo'smain— and the template's blob sha is375cb1edcff9, the sha this repo's owncontentsAPI reports for that path. So the tool read the same bytes it reads in place, and it wrote nothing.418 repos examined; 415 of the copies are drifted from the template in prose; only 3 are canonical. This repo's own copy of the caller is one of the drifted ones.
A measured demonstration that a hand-edit to a copy is not a fix
opencharly/docs#184added a deadline toopencharly/docs/.github/workflows/tag-on-merge.yml— a copy, not the template. The round-2 commit of that PR restored the copy byte-identical tomain, because a hand-edit to a copy (a) duplicates the template's rule and (b) is what the reconcile pass reverts: the org's tooling would silently undo it, and a bound the org's tooling can revert is not a bound.That is the same shape as this issue's Node-20 finding, one layer up: the fix for a drifted copy is a reconcile, not a hand-edit — which is why the update half needs the verify arm and the sweep that this issue's Root fix section already names.
What this adds to the root fix: the sweep's target content is the template, so a change to the template's deadlines (the bound every job and step should carry — see
opencharly/.github#256) reaches every copy in the same sweep. One sweep, two classes of drift closed.Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)
fix(ci): keep the deadline rule on the workflows this repo owns (#162)
fix(ci): bound every job and step in this repo's workflows, and keep …
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (#192)
287 remaining items
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
ci: reconcile the tag-on-merge caller with the canonical template (op…
aitrawog commentedon Nov 10, 2026
STATUS — consumer-side measurement, and a correction to an earlier version of this comment. No claim taken; this is evidence for whoever owns the rollout.
What landed, and when
The canonical-template reconcile reached ~every repo's
mainbetween 07:06Z and 07:18Z on 2026-11-10: tip subjectci: reconcile the tag-on-merge caller with the canonical template (opencharly/.github#192). Sampled 12 of the umbrella's drifted pins at random; all 12 resolve their remote tip to that commit (layer-fastfetch07:06:05Z,layer-python07:09:19Z,plugin-cua07:12:30Z,pod-redis07:18:19Z, …).Correction first: the failure is NOT the reconciled file's validity
An earlier version of this comment inferred "the reconcile commit is where the caller stops being runnable" from a failed run on
opencharly/opencharlyheade0c189177at 07:11:14Z. That inference was wrong, and the measurement that refutes it is worth more than the inference was:opencharly/opencharlyrun42773527047(07:11:14Z, heade0c189177) —failure,jobs.total_count: 0;opencharly/opencharlyrun42796681107(10:09:05Z, the same heade0c189177) — success, and it minted tagv2026.314.1009at5fe6eefb7plusCHANGELOG/2026.314.1009.md;dcc58121e6be3286bb0d3fd114c6ba2d004fea07atopencharly/opencharly@e0c189177,plugin-punktfunk@a1c83190e,plugin-agent-pi@a59c5001e,plugin-gh@c8851a328.Same file, two outcomes on the same head. So the reconciled caller is runnable, and "this workflow file is invalid" is ruled out as the cause of the zero-job failures.
My own error, named: I read a queued run as a terminal state.
gh run listreports a newly-created run with an emptyconclusion, and I treated the adjacent failure as the answer for a head whose workflow had not finished. The discipline is the one already in the rulebook — liveness is not progress, and a live process's current state is not its outcome.What is still true, and still costs downstream
tag-on-mergeruns after the reconcile fail with zero jobs on the three producer repos, and none of them has been tagged since:plugin-punktfunka1c83190efailure07:09:03Z, 07:15:08Z —jobs: 0plugin-agent-pi36ce6d002failure07:11:34Z, 07:20:25Z, 07:26:16Z, 07:35:16Z —jobs: 0plugin-gh021eb3a1afailure07:13:51Z, 07:45:58Z, 07:54:09Z —jobs: 0Consequences measured on the consumer side:
scripts/design-pintag.shnames all three asuntagged; they are recorded indesign/pintag-baseline.tsvwith this mechanism as the reason (run-level failure, not tag-on-merge: a transient GitHub API error kills the run before it tags or writes the CHANGELOG, and nothing retries or detects the untagged merge #286's missed release), pending this issue. Their remote tips are the merge / reconcile commits themselves, so no CHANGELOG commit exists above any of them.mainmoved to the reconcile commit after the pins were recorded, andcharly task syncis org-wide by design, so a single-change pin bump cannot absorb that drift (chore(pins): advance plugin-punktfunk, plugin-agent-pi and plugin-gh to their §10.1 vocabulary tables opencharly#967 advanced only the three pins it owns, for exactly this reason).What differs between the umbrella (which now tags) and the three producers (which do not) is not the caller file. That is where I stop: the rest is this repo's.
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
aitrawog commentedon Nov 11, 2026
Another
jobs: []sighting — this time onciandpr-validatorat apull_requestevent, nottag-on-merge.Measured 2026-11-11 ~22:10Z on
opencharly/spec#303(branchfeat/storeroot-resolver, head96f9eb460f):Ruled out, by measurement:
gh api /orgs/opencharly/actions/runnersshows 10 runners online, 9 of thembusy=false, all carryingself-hosted,Linux,X64,ubuntu-latest,...sdk#368andsdk#362both have completed checksstoreroot/roots.go,storeroot/roots_test.go), no.github/path;ci.ymlandtag-on-merge.ymlboth resolve on that refci.ymlon the branch is the same blobmainuses, andruns-on: ubuntu-latestmatches a label the idle runners carryWhat it is: the run record exists and is
queued, but no job was ever materialized —job_count=0after 100+ minutes. That is the identical signature this issue already tracks fortag-on-merge, now observed on two other workflows and a different event.Blast radius: it blocks a three-repo producer-first chain at leg 1 —
spec's tag cannot mint, sosdkandcharlycannot pin it. The code for all three legs is gate-clean locally; the only missing capability is a runner that accepts the job.Three dispatches have been tried (
ci,pr-validator, and a manualpr-validatorworkflow_dispatchinto this repo at 21:02Z); all queued with zero jobs.Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)
aitrawog commentedon Nov 25, 2026
STATUS
Evidence from a consumer, no claim: the reconcile rollout left one repo untagged.
opencharly/lobstermain isf318da970032("ci: reconcile the tag-on-merge caller with the canonical template (#192)", 2026-11-25T10:56:29Z). Itstag-on-mergerun on that head reportssuccess, yet no tag points at it. The newest tag is stillv2026.288.1701(on1ad60e31e551), so the umbrella'sdesign-pintag.sh --remotejudges the head untagged:lobster@f318da9700320fc391c05b2839e0dcbcabb69cbf: untagged — 2 first-parent commit(s) above v2026.288.1701; the pin is not a CHANGELOG commit and none follows it. For contrast, the same rollout commit inopencharly/gst-wayland-display(50ea638dac17) did receivev2026.329.1052. The umbrella PR for opencharly/opencharly#1278 therefore leaveslobsterat its tagged pin474759a40a3b.Agent:
spike-first-r12· Claude Code sessiondf4ab072-9d67-4868-96df-b6e1d06b6825Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)