Repository navigation
ci: adopt org-wide validation chain — pr-validator + tag-on-merge, drop custom auto-merge - #2
Conversation
…op custom auto-merge The umbrella's auto-merge.yml was broken (no actions/checkout — gh pr merge and the tag's git log failed with 'not a git repository', see run 32564343846) and diverged from the org pattern: it merged on the verify gate alone, with no AI validation, and tagged inline. Replace it with the org-wide chain used by every opencharly repo (incl. charly): - .github/workflows/pr-validator.yml — charly/pr-validator dispatcher; waits for the umbrella's verify check-run (charly waits for its go gate), then calls opencharly/.github pr-validator.yml@main, which runs the fresh AI review (pi-review-action) and enables native auto-merge on PASS. - .github/workflows/tag-on-merge.yml — org sweep dispatcher; tags merged PRs with the calver snapshot metaver. - delete auto-merge.yml; README describes the validator-gated landing. Repo settings were updated to match charly (allow_auto_merge, squash-only, delete branch on merge).
Review — BLOCKHead SHA: Change class: hook/workflow (CI validation config — new Blocks
Verdict: BLOCK openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
…on footer form B19: add CHANGELOG/ (README + 2026.234.0000 placeholder) — every PR now carries a CHANGELOG entry; the pr-validator finalizes the placeholder to the merge-time CalVer. R1: wait-ci in pr-validator.yml used context.issue.number, which is undefined on workflow_dispatch — the dispatched re-run path was statically broken. Use inputs.pr-number || github.event.pull_request.number. A1: document the exact Assisted-by footer form in AGENTS.md/CLAUDE.md, the pi pr-body prompt, and the umbrella-gates rules injection.
Review — BLOCKHead SHA: Change class: hook/workflow (CI validation chain adoption — new Blocks
Comments considered
Verified non-blocking
Verdict: BLOCK openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — change strengthens the validation chain (adds fresh AI Checklist: All applicable rules PASS or NA. B19 CHANGELOG present and CalVer-valid ( Comments considered: both prior Verdict: PASS openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — change strengthens the validation chain (adds fresh AI Checklist: All applicable rules PASS or NA. A1 body accounts for all 10 diff files and ends with the exact Comments considered: both prior Verdict: PASS openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
…P removal (#32) Runs scripts/sync-gitlinks.sh (task sync) and records the result. Policy B holds: the 5 distro pins still equal charly's own gitlinks. Three of the 23 close the chain that removed the charly-internals stdio github MCP server: pod-charly-hooks eead8c9 -> 3377c6b the source fix (#2) charly a2cc84b -> 084dc90 the candy ref bump (#426) + skills (#425) marketplace 7072e53 -> 9ded51f the regenerated corpus (#234) At the new marketplace pin, internals/.mcp.json no longer exists -- the artifact that made plugin:charly-internals:github fail to start on every session. The remaining 20 are unrelated org advances that task sync picks up by design; policy forbids hand-pinning a subset. Also removes 207 stale untracked charly/ checkouts left in this clone by the Phase-4 candy cutover (each candy repo dropped its charly submodule; the old working trees stayed on disk). They made 207 submodules dirty, which failed verify-pins on a dirty docs working tree. All 207 were pristine -- no edits, no stashes -- and are plain re-clonable checkouts. This is clone hygiene, not a tracked change, so it appears in no diff. Claude-Session: https://claude.ai/code/session_01MJWYgjRyvYkQsApe3Nvccq Co-authored-by: atrawog <[email protected]>
Advance gitlinks for the merged remainder of the openclaw 2.0 batch: - layer-container-nesting (pre-pull fix, PR #2) - layer-openclaw-full (pod-openclaw 2.0 pin, PR #7) - marketplace (corpus regenerations, PRs #281/#282) - pod-selkies-core (GPU-check fixes, PR #17) - pod-selkies-desktop (GPU-check pin, PR #11) distro-cachyos stays at the charly box/cachyos gitlink (policy B).
* chore(gitlink): advance the openclaw-2.0 batch remainder to main Advance gitlinks for the merged remainder of the openclaw 2.0 batch: - layer-container-nesting (pre-pull fix, PR #2) - layer-openclaw-full (pod-openclaw 2.0 pin, PR #7) - marketplace (corpus regenerations, PRs #281/#282) - pod-selkies-core (GPU-check fixes, PR #17) - pod-selkies-desktop (GPU-check pin, PR #11) distro-cachyos stays at the charly box/cachyos gitlink (policy B). * re-trigger: paste real task verify output
The body listed 8 = stated-line-count, 9 = number-first, 10 = pasted-block. The script prints 8 = path-first, 9 = pasted-block, 10 = stated-line-count. Same finding as the previous round's #2, re-derived against the current body. This is the class arm 9 exists to catch -- a pasted block out of order -- applied to a TABLE, which is arm 9's domain boundary rather than a gap: a table is prose, and prose has no print order to violate. But a table whose whole purpose is to enumerate the arms should still enumerate them in the order they print, and the reviewer is right that it did not. Aligned, and the 'finding it answers' table below now maps 8,10 -> the two line-count word orders and 9 -> the verbatim-output claim. Body first, event second. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
…1141) Two pin legs, both producer-first and both now available. 1. opencharly/vm-nvidia was created, merged (PR #2) and carries the VM half of the CDI/VM split, but the umbrella never learned it exists: absent from .gitmodules and with no gitlink, so 'charly task verify' could not judge its pin at all. It pins 35316667, its tag v2026.322.1344, because the pintag control requires a reachable tagged ancestor. 2. charly advances 992ae979 -> a836856b. That brings plugin-build v0.2026322.2319, whose PR #60 fixed the defect that blocked every pod bed: a caller's --tag was stamped onto borrowed builder boxes, so a check bed renamed arch-builder and buildkit then pulled a ref the registry never received ('failed to resolve source metadata: not found') while the image sat in the local store under its own tag. charly#1210 (squash bb139959, tag v2026.323.0011) carried the bump after the producer merged. Measured: python3 scripts/org-map.py -> 396 submodules / 396 rows / matches=True, rc=0; bash scripts/design-pintag.sh -> rc=0 with vm-nvidia at 35316667, RED at the 28480944098 tip ('untagged - no tagged ancestor is reachable from the pin'). Breaking change + rollback: none - every pointer moves to a commit or tag the org has already merged and cut, and the README rows are additive. Rollback deletes the vm-nvidia gitlink, its .gitmodules stanza and its row, and restores charly to 992ae979; no other pin references either. Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (analysed on a live system) Co-authored-by: charly <[email protected]>
…es in every clone, and gates that cannot be silently absent (#1199) * feat(setup): one command to a ready session worktree, the DESIGN stores in every clone, and gates that cannot be silently absent - init-submodules.sh --stores (CHARLY_INIT_MODE=stores): every declared submodule's blobless object store in the common git dir, no checkout, so the pre-push DESIGN gate reads every pin from any worktree; a linked worktree borrows each path's objects from those stores (Git alternate); a working-set run advances every other clean strict-ancestor checkout a pull left behind; the closing notice counts the checkouts on disk. - scripts/new-worktree.sh + `charly task worktree`: fetch, worktree add on feat/<slug>, stores, working set, the worktree's own binary. - bootstrap.sh: the stores step and fetch.recurseSubmodules=false. - pre-push: a PINNED marketplace that is not materialized (absent, not a repository, a linter that cannot run) BLOCKS instead of skipping; the own-repository probe no longer reads the superproject's HEAD. - pre-commit-gate.sh: an umbrella clone whose hooks are not installed is refused; a golangci-lint built with an older Go than the module targets is a visible NOTE, not a lint finding; gate_test.py fixtures name a Go the linter can load. - docs: AGENTS.md Part II #2, the git-workflow B1 umbrella form and the alternate claim, the README table, .claude/worktrees/ git-ignored. Closes #1155 Closes #1142 Claude-Session: https://claude.ai/code/session_01Tvdn3tcy49oyCiNkQTnPKn Agent: agents-design-mandate · Claude Code session cfd0260c-188c-4e7d-b033-ec16b7acd01f Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated) * docs(init): the stores comment names the DESIGN gate's inputs as they are after #1193 TODO.md stopped being a DESIGN gate input when #1193 untracked the working documents; the comment now names DESIGN.md, design/ and a pin, and dates the 232-finding measurement to the TODO.md push it was taken on. Claude-Session: https://claude.ai/code/session_01Tvdn3tcy49oyCiNkQTnPKn Agent: agents-design-mandate · Claude Code session cfd0260c-188c-4e7d-b033-ec16b7acd01f Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
Summary
Adopts the org-wide validation chain for the umbrella, after an audit found
the merge/landing configuration was broken and divergent. Every file in the
diff:
.github/workflows/auto-merge.yml(deleted) — the custom auto-merge wasbroken (no
actions/checkout;gh pr merge --autoand the inline tagcomputation failed with "not a git repository", run 32564343846) and
diverged from the org pattern: it merged on the
verifygate alone, withno AI validation, and tagged inline. Removed in favor of the org chain
(R5 hard cutover — no legacy path survives).
.github/workflows/pr-validator.yml(new) —charly/pr-validatordispatcher, charly's exact pattern:
wait-for-ciwaits for the umbrella'sverifypinning-gate check-run (charly waits for itsgogate), then thevalidatejob callsopencharly/.github/.github/workflows/pr-validator.yml@main,which runs the fresh AI review (
pi-review-action) and enables nativeauto-merge on PASS. PR number resolved via
inputs.pr-number || github.event.pull_request.numberso theworkflow_dispatchre-run path works..github/workflows/tag-on-merge.yml(new) — org sweep dispatcher:runs the org tag-on-merge reusable after every validator completion (plus
a 15-minute schedule backstop) and tags every merged PR with its CalVer
snapshot metaver.
README.md— the landing description now names the validator-gated chain(pr-validator → native auto-merge → tag-on-merge) instead of the old
verify-only auto-merge.
CHANGELOG/README.md+CHANGELOG/2026.234.0000.md(new) — therepo-scoped CHANGELOG convention (one file per CalVer release), matching
the org rule B19; the validator's rename step finalizes the placeholder to
the merge-time CalVer.
AGENTS.md/CLAUDE.md(edited) — PR body requirements now mandate theCHANGELOG entry and the exact
*Assisted-by: <Harness> <Provider Full Model Name> (<confidence>)*footer (rules A1/B19), and reference thevalidator-gated landing.
.pi/prompts/pr-body.md(edited) — template gains the CHANGELOG section,the exact attribution footer, and the
validateAI gate as theverification gate.
.pi/extensions/umbrella-gates.ts(edited) — the per-turn rulesinjection's PR-body block updated to the same A1/B19 requirements.
Repo settings (via API, not part of the diff):
allow_auto_merge=true,squash-only merge,
delete_branch_on_merge=true— matching charly.Branch protection on
main(required checksverify+validate / validate, enforce_admins, no force-push, no deletions) is enabled as animmediate post-landing repo-setting step (it cannot exist in a diff;
self-gating bootstrap).
How tested
1. The chain end-to-end, live on this PR
verify(pinning gate) — success.charly/pr-validator→wait-for-ci— success (waits forverify).validate— fresh AI review bypi-review-action(this run).CHANGELOG/2026.234.0939.mdand pushed by the bot token.2. Pinning gate
bash scripts/verify-pins.sh→verify-pins: OK — 22 submodules, policy B holds3. Repo settings (via API, already applied)
Rulebook compliance
.github/,CHANGELOG/,.pi/, docs filesgit -Cverify-pins: OKCHANGELOG/2026.234.0939.md(finalized by the validator)Change Classification
verify(CI) +validate / validate(fresh AI gate on this PR)Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)