Repository navigation
chore: sync pins after the org-infra rollouts + un-skip sdk in the default-pin loop - #12
Conversation
…fault-pin loop The org-infra rollouts advanced several default branches: charly main carries the tag-on-merge CHANGELOG commits (8994ec65), sdk main carries the dispatcher fix + its changelog (9bd558e), spec main the dispatcher fix (d62d030), dotgithub main the dispatcher + ruleset-script landings (a6838ed). plugins/docs mirror charly's gitlinks (unchanged). Also fixes a leftover from the sdk de-submodule policy (#10): sync-gitlinks still skipped sdk in the default-branch pin loop (the old charly-pinned skip list) — sdk now follows the every-other-repo rule and its pin tracks its own default HEAD. Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)
Review — BLOCKHead SHA: Change class: gitlink pointer sync (4 submodule bumps) + a claimed Blocks
Verdict: BLOCK deepseek.com/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — submodule pointer sync + one skip-list hunk; no secrets, no scope mismatch, no guardrail changes, no injection in body. Checklist: All applicable rules PASS or NA. Submodule bumps ( Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
…verbs (#92) Produced by task sync, not hand-pinned. Four gitlinks: charly a5fdeec1 -> 0f18d857 (its default branch) distro-omarchy 2081960d -> 77df17b6 (policy B: exactly what charly pins) pod-hyprland advanced to c29ed062 layer-cstream-desktop advanced to 54b47273 Policy B verified independently of the script: distro-omarchy's pin equals THE COMMIT CHARLY PINS at box/omarchy, not distro-omarchy's latest main. ## What it brings in distro-omarchy #12 upstream omarchy's five GUI acceptance suites - session, apps, menu, panels, shell-surfaces - taking check-omarchy-desktop-vm from 16 steps to 99, every assertion a typed check verb plugin-wl #9 wl exec and wl clipboard set never returned for commands that do not exit; both reported failure for operations that had succeeded pod-hyprland #9 with layer-cstream-desktop #11 and layer-omarchy-hyprland #4 - the four ordered repins that kept plugin-wl at ONE version across the closure charly #511 the box/omarchy gitlink and import pin The wl defects are the substantive ones. exec backgrounded a job but the child inherited stdout and stderr, so the capture pipe never reached EOF and the verb blocked for its whole deadline - an app launched, mapped its window and closed on request while the verb that started it reported DeadlineExceeded. wl-copy does the same, because it stays alive to own the Wayland selection. A false FAIL for correct behaviour is the worst shape a check verb can take: it teaches the author to widen the timeout or delete the step. ## Why only four gitlinks and not the 14 task sync moved task sync advances EVERY submodule to its default-branch HEAD, and this run moved 14. The other 10 are unrelated to this work and #66 is in flight covering that ground. The four committed here are the values task sync produced - not hand-picked - and they are exactly what Policy B requires. The remaining 10 are left to #66 rather than raced. ## How tested task verify check-policy-b: OK - 6 distro pins equal charly's gitlinks verify-pins: OK - 356 submodules, policy B holds exit 0 Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3 Co-authored-by: atrawog <[email protected]>
….0738 (#163) * chore: close-out the eval/fix wave — advance gitlinks (eval-omarchy #39, marketplace #293, layer-charly-internals #12, layer-charly-distros #7, dotgithub #84) + bump the pi-omarchy-eval pin to v2026.251.0738 * fix(dispatcher): actions: write is REQUIRED for the cancel-in-progress concurrency dedupe (otherwise dispatches fail to expand — the #163 infra regression) * revert(dispatcher): drop the actions:write permission line from #163 — T4-deferred (no maintainer sign-off granted); the dispatcher works without it post-#85 and the dedupe cannot cancel without the permission anyway. #163 is now a pure gitlink+pin change: no workflow permission change.
Re-ran the canonical walk (`charly task pins --param MODE=bump`, wrapped by `charly task sync`) after the first pass, at 2026-10-06T14:45Z. Three repos had merged to their default branch in the interval: layer-charly e2e319c -> 14c7d32 (CHANGELOG 2026.279.1259 for PR #14) plugin-dsh 46a45b8 -> 0e6996c (CHANGELOG 2026.279.1440 for PR #12) pod-dsh 92a47e1 -> e385577 (CHANGELOG 2026.279.1426 for PR #13) All three targets are tag-on-merge CHANGELOG commits on main, i.e. merged default-branch HEADs. charly's own main was unchanged (d9fe41b), so policy B's distro-* set is untouched by this second pass.
* chore: sync gitlinks — 45 pins advanced to what policy B requires `./charly/bin/charly task pins --param MODE=bump` over a tree reset to origin/main (89d318b): 45 submodule gitlinks move and nothing else — no file content, no workflow, no script, no Go. charly rolls c5ea6c91 -> c0912d8a, eight commits. Main's pin was an ancestor of charly's current default-branch HEAD, so the scheduled sync workflow's removal in #375 left it stale; this hand-run walk is the replacement for it. The six distro-* pins are then re-derived from charly's NEW box/* gitlinks, which is what policy B requires and what the gate asserts: verify: 6 policy pin(s) hold across 425 submodule(s) charly's own nested submodules follow the same rule, and `charly task verify` audits them: `git submodule update --init --recursive` brings charly/box/* to the gitlinks c0912d8a records (box/omarchy -> 6ecfbbce, box/ubuntu -> d2922298, ...), so every initialized checkout in the tree sits at its recorded gitlink with a clean worktree. ONE file changes with the pins, because the pin advance is what makes it wrong: `marketplace` 71ba83ba -> ac7d97e5 adds two skill families (`kubevirt`, `qdrant`), and `reasonix.toml`'s `[skills] paths` — the only surface in this repo that enumerates the marketplace skill roots — did not list them. `scripts/check-harness-config.mjs` check 8 catches exactly that, and did: 40 roots listed, 42 on disk. Both are added, and the block's two counts are restated as the on-disk measurement (42 dirs: 40 `skills/` holding 351 `SKILL.md`, 2 `agents/` rosters holding 7 `.md`) rather than the stale "40"/"362", since reasonix is not installed here and its loaded-skill count cannot be re-measured. The pins come from the canonical verb, never a hand-edit. `charly task sync` — the umbrella wrapper — aborted in this tree before any pin was committed: task sync: 1 step(s), 1 failed [fail] run — bump the pins (charly rolls first, then distro-* from its new gitlinks) task "pins" failed (1 step(s) failed) ROOT CAUSE, and it is not this diff's: `git-submodules` mode `bump` returns at the FIRST failing path — `if st, msg := pinSubmodule(...); st != spec.StatusPass { return st, msg }` in phase 1 (candy/plugin-task/verbs.go:245 on plugin-task main, the same statement at v0.2026277.711's line 244-245). `pinSubmodule` ends by staging the move in the SUPERPROJECT (`git add <path>`, verbs.go:334-337), and every session's git process contends for that one `.git/index.lock`; a single held lock therefore fails one path, and one failed path strands every pin sorted after it and skips phase 2 entirely, which is why the six distro-* pins were never derived. That defect is OPEN and tracked: it is plugin-task#13 verbatim ("a momentarily held superproject .git/index.lock is enough to do it"), and plugin-task#15 is its open fix. The failing path's identity is not recoverable from this run: the nested `task:` hop destroyed the message at the vintage this binary resolves (candy/plugin-task/cli.go:353-354, `task "pins" failed (N step(s) failed)`), which is plugin-task#12 — since CLOSED by #20 (`085f411`, merged 2026-10-05), upstream, waiting only on the next plugin-task bump. Nothing here is owed to it: the canonical verb run directly completes the same walk on the same inputs, exit 0, all 425 pins named, and the pins in this commit are that run's. This commit re-cuts its predecessor: tree 7610912, byte-identical to the tree the first thread (#391) published and was reviewed on. Only the commit message and the PR body changed, answering that review's three findings — the abort's R1 disposition (now the RCA above, naming plugin-task#13/#15 instead of calling it "transient"), an R0 line that named the wrong command, and a gate transcript produced with the installed plugin directory hidden by a mount namespace. The last of those is now a gate run on an UNMODIFIED host, notice and all. * chore: re-walk the pins so plugin-task records the walk-abort fix The validator's second finding on this PR was that the abort's fix (plugin-task#21 / 70a530e2) was not among this PR's pins. It is now. plugin-task#21's own body establishes the abort's RCA and names this run (#391): the bump walk returned at the FIRST failing path, so one path's per-invocation failure stranded every pin sorted after it, skipped phase 2 entirely, and derived no pin_map entry. Its fix is released as candy/plugin-task/v0.2026279.1213 = 70a530e2. The first revision of this branch pinned plugin-task at d4f927d1bbb0, one commit BEHIND that fix, because its walk ran before the fix merged. The walk was therefore repeated with the same canonical operation (charly task pins --param MODE=bump, whose wrapper is charly task sync) on the unmodified tree, and it is deterministic: a second walk reproduced these same six moves. charly c0912d8 -> d9fe41b (its own default-branch HEAD) plugin-cache f18bfe0 -> b41857f plugin-task d4f927d -> 4be0a5e <- contains 70a530e2 plugin-vm 2bdb7b1 -> f63eb2c pod-dsh 6e728d2 -> 92a47e1 sdk 7d46dce -> 5744d9d Every pin is its owning repo's default-branch HEAD; policy B holds (charly task policy-b: 1 step(s), 0 failed). No pin is hand-edited and no submodule is branch-checked-out to catch up. Agent: readme-truth - session 2a317871-ba03-4713-89ba-8edbd4059c27 Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * chore: sync gitlinks — 3 more pins advanced since the walk Re-ran the canonical walk (`charly task pins --param MODE=bump`, wrapped by `charly task sync`) after the first pass, at 2026-10-06T14:45Z. Three repos had merged to their default branch in the interval: layer-charly e2e319c -> 14c7d32 (CHANGELOG 2026.279.1259 for PR #14) plugin-dsh 46a45b8 -> 0e6996c (CHANGELOG 2026.279.1440 for PR #12) pod-dsh 92a47e1 -> e385577 (CHANGELOG 2026.279.1426 for PR #13) All three targets are tag-on-merge CHANGELOG commits on main, i.e. merged default-branch HEADs. charly's own main was unchanged (d9fe41b), so policy B's distro-* set is untouched by this second pass. * chore: sync gitlinks — 2 more pins advanced while the gate ran Third pass of the canonical walk (`charly task pins --param MODE=bump`) at 2026-10-06T15:05Z, absorbing the merges that landed during the gate run: plugin-deploy-pod e73a481 -> 8c7b491 (PR #27 merged 14:48:46Z) plugin-doctor 6664658 -> 22f4de6 This is the last pass: a sync races the next merge by construction, so the PR body states its walk time and discloses the residual drift by name instead of chasing it. Two distro-* rows (distro-debian, distro-ubuntu) remain 'not equal' to their own remote HEAD, which is policy B working as designed — they track charly's gitlinks, not their own default branch. * chore: sync gitlinks — the final walk, after merging origin/main The walk declared last: run once, after the branch was brought up to date with origin/main, so the pins this head publishes are the canonical verb's own output on the tree that will be gated and pushed. * fix(scripts): the pin evidence legend must state how to READ a `!`, not call a benign race a violation R1 root cause, measured on this sync's own diff. `sync-pin-evidence.sh` renders a `!` for any moved pin whose staged gitlink is not the owning remote default-branch HEAD **at the moment the table is generated** — but its legend asserted a blanket "`charly` and every non-`distro-*` repo must be EQUAL", which reads a snapshot inequality as a policy violation. The two are not the same thing: a walk resolves each remote HEAD when the walk RUNS, and the table is generated later, by however long the PR body takes to assemble. A default branch does not stand still in that window (the body's own "Why these pins had drifted" already says so), so a non-`distro-*` `!` has two readings the old legend could not tell apart. Measured instance: `vm-charly-vm`. The walk ran 2026-10-06T15:07:25Z and pinned `47c4d063` — then that repo's default-branch HEAD (its predecessor pin `5fd777a3` was 2026-09-29). The upstream merged at 15:13:00Z / 15:13:14Z, 5m35s after the walk, so the table rendered `!`. The comparison reports `ahead 2, behind 0`: the staged pin is an ANCESTOR of the remote HEAD. Benign by construction, disclosed — not a finding, and the old wording would have called it one. The legend now states both readings and the check that separates them: (a) the sync race — the branch advanced after the walk, so the staged pin is an ancestor of the remote HEAD (`git merge-base --is-ancestor` -> true); benign; (b) a real finding — the staged pin is not on that default branch at all (a PR branch or a non-HEAD commit); that ancestor check is false. It is a FUNCTION (`evidence_legend`, the pattern this file already uses for every other shared decision) so the wording is assertable, not a string nobody can exercise: `--self-test` now fails if either reading goes missing, if the walk-scoping clause goes missing, or if the blanket "must be EQUAL" claim returns. Each arm has a negative control (a legend body with the phrase removed fires the arm; the arms are keyed on the legend text, so the controls neutralize the function body only — a naive sed rewrites the assertion too and proves nothing). --------- Co-authored-by: atrawog <[email protected]>
… ask only after RCA + spike (#1288) A session must not end a task with a status report. After every wake — a watcher's verdict, a merge or close, a check run, a delegated result — it acts on the result and arms the next wait; setting the watcher before a wait and re-arming it after a wake is MANDATORY. The only stop is the harness's operator-question tool (AskUserQuestion in Claude Code), and only for a blocking question that the automatic RCA (R1) + spike (R12) loop could not settle; a free-text question, a report or silence is never the substitute. The goal budget's ~80% stop is itself such a question. Adds the Part I "Continuous operation" section, the Part II #12 umbrella rule, a strengthened watcher sentence in "Agents, Workflows & Teams", and a Continuity item in the acceptance checklist. It is a session-behaviour rule, so no validator check observes it; the operator's loop is its control. Refs #1287 *Agent: `cdi-audit` · Claude Code session `f760307f-53b4-4f48-87da-00f95e5300ed`* *Assisted-by: Claude Code deepseek-v4.1-flash:cloud (documentation reviewed)*
…e promoted rulebook artifact (#1378) * docs(rulebook): move the PR-body, attribution and section detail into their owning skill First leg of the AGENTS.md de-duplication (#1206, per the plan in #1376). Every deletion here is preceded by the content landing in its ONE owning skill: - .agents/skills/git-workflow/SKILL.md gains "The PR body - its sections, and the attribution tiers": the fixed section set, the breaking-change answer under a '!' subject, the full-40-char commit id rule, and the five attribution tiers with the proof each owes (moved verbatim from AGENTS.md, which pointed at the skill for everything else already). - AGENTS.md keeps the mandates and points: the attribution gist, the PR-body gist, and the before-an-update-push gate (13 lines -> 7). - Five sections collapse to their gist plus a pointer, keeping their HEADINGS (a public API the validator table links to): Rootless deployments, Volume sharing and local placement, Risk Driven Development, Disposable-Only Autonomy, Hard Cutover by Default. The clauses only they carried move into the rules that hold them: R5 gains "one cutover per PR, no dual path, no deferred half"; R12 gains the forward-looking RDD clause. - R11 states the operator's decision: a 'conforms' row QUOTES the sentence of the requirement it satisfies, because a paraphrase is an assertion and a quote is a citation. The foreign requirement it carried ("every host path resolves through spec/storeroot") is removed - DESIGN states it and R11 already makes DESIGN binding. - Fixed in passing: git-workflow no longer claims "~400 submodules" (a live reading, not a constant). Not yet done in this leg: the Skill Dispatcher rows the generated marketplace/DISPATCHER.md already carries, the "What the validator checks" table, the 16-bullet acceptance checklist, the Part II duplicates, and the remaining consistency fixes. *Agent: `rulebook-one-home` · Claude Code session `6cf62cfd-505e-4eec-97be-2f3daaae9ccf`* *Assisted-by: Claude Code Anthropic Claude Opus 5.5 (syntax check only)* * docs(rulebook): the checklist, Part II's duplicate, the D-VAL-1 contradiction and eight consistency fixes Second leg of the AGENTS.md de-duplication (#1206). - Acceptance checklist: 16 bullets that restated R0-R12 item by item collapse to the items no rule covers (volumes, scope, landing) plus "every rule's Done when holds". 42 lines -> 17. - Part II #12 was a second copy of Part I's Continuous operation; it is now a pointer. - D-VAL-1 contradiction FIXED (R1, blocking): strict-policy and both agent specs claimed every candy needs a plan: with >=1 check: step and that charly box validate hard-errors otherwise. DESIGN D-VAL-1 says a check: step is optional and no loader, validator or build rejects a candy for having none. All three copies now say that; the marketplace projections follow on regeneration. - Consistency fixes: the rule-map sentence no longer claims it keeps prose in step (it compares IDS, and reports a lagging live variable as a re-sync pending); the watcher sentence is GitHub-only, with a bed or stream as its own wait; the operator question is named by role, not by harness; pin currency is decided without consulting a tag; the maintainer set and the auto-close limit are named as configuration, not hard-coded logins and numbers; the submodule count is gone (a live reading); and the order of every change now starts with claiming the issue. Tried and REVERTED in this leg: deleting the 51 Skill Dispatcher rows the generated marketplace/DISPATCHER.md already carries. The .pi charly_load_skills extension parses the shipped table under its own contract (row count, exact per-row refs, ref resolution), and the deletion broke it - check-pi-gates went from OK to 4 findings. Restoring the section restored the gate. That work is filed separately, because it needs the parser and the three trigger-less skills fixed first. Gates: check-pi-gates OK; node scripts/check-validator-rule-map.mjs --no-live OK (27 ids, 11 skills). Doc-only change class. *Agent: `rulebook-one-home` · Claude Code session `6cf62cfd-505e-4eec-97be-2f3daaae9ccf`* *Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)* * chore(pins): fast-forward 15 pins, re-derive the harness binding, and retarget two gates charly task ff is org-wide: this wave advances action-review (to opencharly/action-review#33's merge, 3c8e712), dotgithub (to opencharly/.github#327's merge), charly, layer-cdi, layer-strata, marketplace, plugin-box, plugin-deploy-pod, plugin-fleet, plugin-substrate, pod-comfyui, pod-ollama, pod-qwen3-tts, sdk and spec. .pi/settings.json follows with its marketplace package pin re-derived. Two gates pinned the review rulebook to action-review/charly.yml, which no longer carries a prompt: - scripts/check-coord-verb-set.mjs: the validator's closed-set surface now reads action-review/rulebook/rulebook.md - scripts/check-validator-rule-map.mjs: reads the artifact directly instead of extracting a YAML block Both gates re-run on this tree: check-validator-rule-map --no-live -> OK check-coord-verb-set -> 13 surface(s) compared, 0 failure(s) *Agent: `rulebook-one-home` · Claude Code session `6cf62cfd-505e-4eec-97be-2f3daaae9ccf`* *Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)* * fix(gate): read the rulebook artifact directly and normalise both sides of the live comparison Retargeting check-validator-rule-map.mjs from action-review/charly.yml to action-review/rulebook/rulebook.md exposed two assumptions that only held for the YAML block: 1. the fixture wrote the old block; it now writes the raw artifact where the gate reads it (rulebook() stays for the historical pins previousPrompt() reads). 2. the live comparison stripped trailing newlines from the LIVE value only - calibrated for a YAML block that ended without one. The artifact ends with its own newline, so live (41054 after stripping) never equalled committed (41055). Both sides are now stripped the same way. Gates on this tree: node scripts/check-validator-rule-map.mjs -> OK, including PASS the committed rulebook equals the live AI_REVIEW_PROMPT org variable node scripts/check-validator-rule-map.mjs --self-test -> OK (all cases)
Summary
The org-infra rollouts advanced several default branches; this sync records the assembled state:
charly→8994ec65(main HEAD — carries the tag-on-merge CHANGELOG commits on top of the cutover landing)sdk→9bd558e(its own default HEAD — the dispatcher fix + changelog; sdk now follows the every-other-repo rule)spec→d62d030(its default HEAD — the dispatcher fix)dotgithub→a6838ed(its default HEAD — the dispatcher + ruleset-script landings)plugins/docsunchanged (mirror charly's gitlinks)Plus a leftover fix from the sdk de-submodule policy (#10):
scripts/sync-gitlinks.shstill skippedsdkin the default-branch pin loop (the old charly-pinned skip list). sdk now follows the default-branch rule and its pin tracks its own default HEAD.How tested
Sync — executed (pasted):
Gate — executed on the assembled tree:
Org ruleset state — executed (the canonical owner script, now on .github main):
Rulebook compliance
Change classification
task verifyon the final treecharly/pr-validator; tag-on-mergeAssisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)