Repository navigation
ci: tag-on-merge via push-to-main (replace dead closed trigger + flaky cron) - #8
Conversation
…aky cron RCA: tag delivery was driven entirely by GitHub's best-effort cron (measured 21-44 min gaps vs the configured 15; PR #3's tag 4+ h late; PR #7's tag still missing 30 min after merge). The pull_request:closed trigger added in PR #4 never fired a single run (0 runs across 7 merges, API-confirmed), and the earlier workflow_run design died 15x in a row with startup_failure. The one trigger that demonstrably fires at merge time is the push to main that IS the squash-merge (verify.yml push runs arrive ~20s after each merge). Re-trigger on push: branches: [main]; the org reusable workflow is idempotent, so the CHANGELOG bot push re-trigger is a cheap no-op sweep.
Review — PASSHead SHA: Security screen: PASS — diff matches the described scope exactly (trigger replacement only); no scope mismatch, no secrets/exfiltration ( Checklist: All applicable rules PASS or NA. Workflow-class change; the Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
Keep the workflow_run + push design (this PR's corrected RCA); PR #8's push-only trigger was based on a disproven premise and is superseded.
…ge commits are run-suppressed) (#9) * ci: tag-on-merge via push-to-main instead of dead closed trigger + flaky cron RCA: tag delivery was driven entirely by GitHub's best-effort cron (measured 21-44 min gaps vs the configured 15; PR #3's tag 4+ h late; PR #7's tag still missing 30 min after merge). The pull_request:closed trigger added in PR #4 never fired a single run (0 runs across 7 merges, API-confirmed), and the earlier workflow_run design died 15x in a row with startup_failure. The one trigger that demonstrably fires at merge time is the push to main that IS the squash-merge (verify.yml push runs arrive ~20s after each merge). Re-trigger on push: branches: [main]; the org reusable workflow is idempotent, so the CHANGELOG bot push re-trigger is a cheap no-op sweep. * ci: tag-on-merge on pr-validator completion + push (corrected RCA) The push-only trigger shipped in #8 was based on a false premise: the verify.yml 'push' runs cited were changelog-bot commits, not merge pushes. Measured reality: native-auto-merge merges (actor app/github-actions) fire their webhook events (visible in the public event stream) but GitHub Actions creates ZERO workflow runs for them — platform-level run suppression. The pull_request:closed trigger never fired either (0 runs in history). The only trigger whose event delivery is proven is workflow_run on the pr-validator run — the run that arms the auto-merge. This fires on its completion, waits (bounded) for the squash merge to land, then runs the org's idempotent tag-on-merge sweep. push remains as a secondary trigger for human/bot pushes (which do create runs). No cron: measured delivery was 21-44 min late.
`task sync`, not a hand-pin. Three gitlinks advance, and only three: charly a8875f4b -> 0e4d026d (its default branch, rolling) distro-omarchy 2f5e5c1b -> db2199a9 (policy B: exactly what charly pins) marketplace db0593e5 -> 11380419 (its own default branch) Policy B verified independently of the script rather than taken on trust: the new charly pin's own box/omarchy gitlink is db2199a9, and that is what distro-omarchy is staged at. The invariant is that a distro pin equals THE COMMIT CHARLY PINS — not that submodule's latest main, which is a different and wrong comparison. ## What it brings in distro-omarchy #8 the omarchy beds assert through typed verbs, not shell #9 upstream's system and cups acceptance suites, ported charly #497 the plugin-vm pin that made `vm build omarchy-vm` possible at all #498 repins the four check verbs that gained fields #499 advances box/omarchy to the above marketplace #255 projects the moved wl skills and the new omarchy skills check-omarchy-iso-vm goes from 28 assertions to 52, and from 43 `command:` shell steps across three beds to 4 in this one. ## How tested $ task verify check-policy-b: OK — 6 distro pins equal charly's gitlinks verify-pins: OK — 349 submodules, policy B holds [exit 0] One thing worth recording, because it cost time and looks like a defect when it is not: after `task sync` the umbrella reported `Mm charly` — a DIRTY submodule, which fails verify and is a review blocker. It was not dirt. charly's own inner `box/omarchy` gitlink had moved to db2199a9 in #499, while the working checkout was still at 2f5e5c1b, and `git submodule update --recursive` could not move it until the inner clone had fetched the new commit. `git -C charly/box/omarchy fetch origin main` then checking the pinned commit out directly resolves it, after which charly is clean and verify passes. The bed itself was proven on the exact distro-omarchy commit this pins, in opencharly/distro-omarchy#9: `check-omarchy-iso-vm` (`disposable: true`) at `PASS (steps=9)`, with check-live and check-live-rebuild both at `52 steps: 52 passed, 0 failed, 0 skipped`. Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3 Co-authored-by: atrawog <[email protected]>
* chore(gitlinks): sync marketplace + plugin-deploy-vm pins to default-branch heads The umbrella main (PR #119) already recorded most pins; these two moved after it: plugin-deploy-vm (CHANGELOG/tag after the EnsureIsoGuestSSH merge PR #8) and marketplace's default-branch head. * docs: B14-compliant evidence — named live batch (distro-cachyos check-vm-clone bed, task 9, active sibling session) + its two exits; pasted current verify + pin match output
…sh lifecycle, read-in-full before every push, session coordination, the validator only enforces (#448) * docs(AGENTS)!: R0–R10 as the spine — fix it or file it, the commit/push lifecycle, read-in-full before every push, session coordination, the validator only enforces AGENTS.md now puts the ground-truth rules right after R0, and every other section names the rules it applies (`Enforces:`). The rules are renumbered to a contiguous R1–R10: - old R2 (finish the cutover) moves into Hard Cutover; - old R8 (emitted artifacts) moves into R7; - R4a and R7a become R4 and R8. R1 gains the fix-it-or-file-it classification. A blocking finding is fixed in the change; a non-blocking one is filed and listed under `## Filed issues`. New sections: - "What the validator checks" — one row per validator check id, mapped to its rule and its owning skill. - "Commit, push, land" — one lifecycle: local commits are free, R10 runs on the committed tree, the first push opens a ready PR, and each review round appends one commit. It includes "Before every update push: read everything, fix everything". - Part II #11 "Keep other sessions informed". The duplicated Key Rules section and Part II #8's restatement are removed. Umbrella-wide changes: - Every rule citation is renumbered. - The pi extension reads the injected rule sections from AGENTS.md instead of a hand-copied block (which had drifted). - scripts/check-validator-rule-map.mjs asserts that the validator's check ids equal the AGENTS.md table, that every cited skill resolves, and that the committed rulebook equals the live AI_REVIEW_PROMPT. Refs #446 Claude-Session: https://claude.ai/code/session_01Tu7zZjx8twjC3GmfAL5ss5 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system) * fix(sync-pr-body): emit an R4 row, and assert every rule R0–R10 has one When old R4 (no workarounds) became R3, the nightly sync body's Rulebook compliance list was left with no R4 row (#448 review round 1, finding 2). It now emits "R4 product before prose: N/A — a gitlink sync changes no documentation and routes around no defect". The script's --self-test asserts that every rule R0–R10 has a row. Removing the R4 line makes it fail with "the Rulebook compliance section has no R4 row". Refs #446 Claude-Session: https://claude.ai/code/session_01Tu7zZjx8twjC3GmfAL5ss5 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
…roduced (#568) (#571) The pin was `behind` its remote: a leaf (`upstream:main`), so the advance was available now and no producer had to move first. Advanced with `charly task sync` (the pin verb's MODE=bump) in this session's own worktree. layer-openclaw 567a33541c -> 3c1007a476 The commits it lands are the repo's own `fix(skills)!: the two skill bodies move to the repo root` (#8) plus its tag-on-merge CHANGELOG: at the recorded pin the tree reads root 0 / candy dirs 2, at the landed one root 2 / candy dirs 0. `task sync` reported rc=1 and that is the charly#864/#917 guard, not this change: 427 of 431 pins have no checkout in a session worktree, so the verb advances what it can and refuses to claim success. What it advanced is what matters, and the one line this branch keeps is the single gitlink below. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) Co-authored-by: Andreas Trawoeger <[email protected]>
… releases land (#1274) `charly task sync` on a tree current with origin/main (7f11b25): 74 leaf submodules rolled to their default-branch HEAD (11 moved), 321 leaf pins advanced in the index (11 moved) — 22 pins total. The five distro-* pin_map edges were re-pinned from charly's own gitlinks and did not move. Two of the moves are what this wave is for (#1273): sdk 2bfea23e -> dd87eb2c sdk#640 — a unit never runs as container root plugin-deploy-pod c87f056c -> c10caae #97 — a CDI device rides a keep-id unit via a derived devices-only spec; #95 writes the deploy entry's image before any overlay write The other 20 travelled on the same mechanism, each a merged upstream PR: charly #1275, layer-cdi #20, layer-vectorchord #13, marketplace #652, plugin-enc #11, pod-charly-mcp #15, pod-immich #23, pod-qwen3-tts #15/#13, spec #440, plus eleven unmaterialized paths advanced in the index (layer-devops-tools #8, layer-ollama-cuda #11, layer-ollama-rocm #9, layer-pre-commit #9, layer-versatiles-style #7, pod-airflow #15, pod-android-emulator-layer #21, pod-appium-server #9, pod-dbus #8, pod-jupyter-ml #15, pod-pmtiles-viewer #7). The plugin-deploy-pod advance moved engineDefaultRuntime from engine_ops.go:139-146 to 129-136, out from under the citation DESIGN A.13 records for "containerd namespace per deployment" (design/dulling.tsv). The row is re-anchored to the construct's new range and design/cite-baseline.tsv regenerated for that one row; the construct read at the new pin is the same one, and the regenerated baseline changes no other row. Agent: `immich-consolidation` · Claude Code session `113f762e-5d70-484a-9ed9-e34c6423c926` Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
Summary
Replaces the tag-on-merge triggers with a proper event-driven implementation. The dispatcher now fires on
pushtomain— the event that IS the squash-merge — instead of relying on a deadpull_request: closedtrigger and GitHub's best-effort cron.Full RCA — why tag delivery was irregular (8 steps):
pull_request: closedfires at merge;*/15cron is a backstop).v2026.234.2108) was still missing 30+ min after the 21:08:33Z merge. Zeropull_request-event runs in the workflow's entire history (API-confirmed, 4 merges since the trigger was added in PR refactor: drop CHANGELOG placeholder, simplify workflows, add dotgithub submodule #4). The earlierworkflow_rundesign died 15× in a row withstartup_failure(~12:12–12:51Z).closedtrigger never created a run in this repo. Theworkflow_runattempt failed at startup (workflow-file issue). Thepushtrigger demonstrably fires — verify.yml's push run landed 21s after PR chore: sync all submodule pins; spec no longer charly-pinned #6's merge push (17:36:30 → 17:36:51).pushto main — was never used.push: branches: [main](this PR). Event-driven, ~20s latency (proven), no cron, no dead closed-event dependence. The reusable sweep is idempotent — the CHANGELOG bot's own push re-triggers a cheap no-op sweep.Self-validation on merge: when this PR merges, the new push trigger fires tag-on-merge immediately, which will backfill PR #7's missing tag
v2026.234.2108+CHANGELOG/2026.234.2108.mdin the same sweep that tags this PR — an end-to-end live proof of the fix.How tested
onis a string key — the PyYAML 1.1 boolean quirk below is a parser artifact, not a file defect):feat/tag-on-merge-push-trigger@10910e9):Rulebook compliance
v2026.234.2108tag was root-caused to dead closed-trigger + best-effort cron before any changepull_request: closed+scheduletriggers and the deadif:removed in the same commit; no stale referencesgit statuschecked before branching; no force-push, no direct push to maintask verify+task harnessgreen (output pasted above).github/workflows/is not in the parity map (HARNESS-PARITY.md covers.pi/.claude/.opencode/reasonix);task harnessconfirms the 6 shared files unchangedChange classification
task verify(R7) + live event evidence + post-merge self-validationanalysed on a live system— trigger behavior measured live (run history + API queries, output retained); the full end-to-end gate (merge → tag → changelog) completes after merge, sofully tested and validatedis claimed once the backfill is observedAssisted-by: pi deepseek/deepseek-v4-flash (analysed on a live system)