Skip to content

chore: sync the docs pin to the standalone docs main (9a741f0) - #14

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/sync-docs-standalone
Aug 23, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/sync-docs-standalone

Conversation

@atrawog

@atrawog atrawog commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

The docs standalone cutover's landing moved docs main (docs#96 merged the standalone repo — .gitmodules charly pin + the deploy workflow). This sync advances the umbrella's docs pin to the new default-branch HEAD (9a741f0), per the every-other-repo rule the umbrella policy PR (#13) established. The docs checkout's nested charly submodule is materialized at the docs gitlink (verified).

How tested

Sync — executed (pasted):

$ bash scripts/sync-gitlinks.sh
  docs -> 9a741f0
sync-gitlinks: done — review with 'git status' and 'git diff --submodule'

Gate — executed on the final tree (pasted):

$ task verify
verify-pins: OK — 23 submodules, policy B holds
OK: /home/atrawog/Sync/Atrapub/coder/pi/opencharly/.pi/extensions/umbrella-gates.ts parses (node type-strip pass)

Nested materialization — the docs repo's pinned charly checked out (pasted):

$ git -C docs submodule update --init
Submodule path 'charly': checked out '92df8e63…'
$ git -C docs status --short
(clean)

Rulebook compliance

Rule How / N/A
R0 N/A — no skill-owned surface touched
R1 the docs-pin staleness root-caused to the #96 merge advancing docs main — synced here
R2 N/A — no surfaced issue parked
R3 sync-gitlinks.sh remains the single pin mechanism
R4 N/A — the sync is the policy's own operation
R5 N/A — no legacy path remains (docs follows its own HEAD since #13)
R6 status checked; no force-push; feat-branch + PR landing
R7 sync + verify outputs pasted above
R8 N/A — no generation changes
R9 N/A — no deploy target change
R10 N/A — submodule-pointer sync; the gate is task verify

Change classification

  • Change class: gitlink sync (docs pin advance)
  • Verification gate: task verify (policy B holds) + task harness
  • Attribution tier: analysed on a live system — sync + verify executed live with retained output
  • Landing: fresh charly/pr-validator; tag-on-merge

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 443636735e45 (branch: opencharly/opencharly#14)

Security screen: PASS — diff is a single docs gitlink pin advance; no scope mismatch, no secrets, no guardrail changes, no supply-chain surprises.

Checklist: All applicable rules PASS or NA. Change class: gitlink sync (docs pin bec9143 → 9a741f0). Body supplies pasted output for the sync (sync-gitlinks.sh), the gate (task verify — policy B, 23 submodules), and nested charly materialization; R1 RCA given (staleness caused by docs#96 advancing docs main); R10 correctly N/A with reason (non-runtime pointer sync); attribution tier analysed on a live system matches the proof ceiling; proper *Assisted-by:* footer. Placement: CORRECT — pin belongs at the umbrella gitlink layer; no core/sdk/candy movement, no alias/import issues. Note (non-blocking, B15): two commits (sync + changelog restore); net diff is one atomic pin bump with no split-work pattern, squash collapses them. No comments to intake. CI validate/verify in progress — no failure, and local gate output is pasted.

Verdict: PASS


deepseek.com/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 23, 2026 09:02
@github-actions
github-actions Bot merged commit d8c2228 into main Aug 23, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 23, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 3, 2026
…121)

The re-evaluation PRs (#13 + #14) merged; the umbrella pin advances to the
new main.
@aitrawog
aitrawog deleted the feat/sync-docs-standalone branch September 25, 2026 18:27
aitrawog pushed a commit that referenced this pull request Oct 6, 2026
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.
github-actions Bot pushed a commit that referenced this pull request Oct 6, 2026
* 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]>
github-actions Bot pushed a commit that referenced this pull request Oct 22, 2026
…s (currency -> 0 of 431) (#590)

`charly task sync` over this worktree's 20 checkouts (14 rolled, the six
`distro-*` edges re-derived), with all six `distro-*` checkouts initialised so
the `pin_map` edges re-derive from charly's own `box/*` gitlinks instead of
pinning 0 entries — the trap that left the previous leg's edges untouched.

Producer-first order, as the pin contract and #568 require:
`charly` first (it is the `pinned_from` the six edges derive from), then the
leaves, then the edges.

  charly                  c837b66157 -> 2f15487aa7  #1020 plugin-migrate weld + #1022 box/cachyos + CHANGELOGs
  marketplace             fa7648a6f5 -> ae8317d85d  #531/#533 pr_body_lint + #536 repo-setup guidance + CHANGELOGs
  plugin-check            a2d1c38afb -> 5a81cad275  #128 nested child deploy key from its root + CHANGELOG
  plugin-egress           a41a5877f7 -> b0609cb9de  #14 containerd config v4 + CHANGELOG
  plugin-pipeline         0c40348319 -> 51160a1d40  #57 sdk v0.2026294.1520, ${env.} in a when: + CHANGELOG
  plugin-nerdctl          4f5374e5a2 -> a0051aec96  #13 serve engine:containerd after the spec cutover + CHANGELOG
  plugin-settings         d78a7940e2 -> 0f7a1521d6  #11 engine.run=containerd, retire the nerdctl word + CHANGELOG
  dotgithub               5103558c75 -> 8e0bf3c3d8  .github#224 ruleset exclusion is not a landing ban + CHANGELOG
  layer-charly-internals  0d8cfdc759 -> 66f376a159  #131/#132 repo-setup enforcement scope + CHANGELOGs
  spec                    5840fa7666 -> bf03f96573  #266 engine word containerd + krun VM backend + CHANGELOG
  sdk                     35eff3efd4 -> 2d504634b8  #448 deploykit selects the workload user by launch mode + CHANGELOG
  distro-cachyos          bd5cf4214e -> 541398c061  EDGE re-derived from charly's box/cachyos (distro-cachyos#153)

`charly` could not be advanced without its own `box/cachyos` gitlink moving
first: that gitlink is bd5cf4214e at both the previously recorded charly
c837b661 and the served 3dfd594d, so a plain charly advance moved no edge at
all. opencharly/charly#1022 (squash 0678853c, tag v2026.295.1246) moved it to
541398c061, which is what makes the umbrella's distro-cachyos edge current.

Twelve gitlinks, twelve insertions and twelve deletions, no file content.

`task sync` returned rc=1 on all four passes after advancing — the documented
no-checkout guard (opencharly/charly#864, opencharly/charly#917), since this
worktree initialises 20 of 431 and 411 pins have no checkout; the pins it wrote
are the ones verified. The extra passes are drift inside the session window,
not pins it failed to advance: a leaf whose remote squash-advances past it reads
`not-on-the-served-line`, and a pin whose remote merges between two readings
reads `differs (no checkout to judge ancestry)` until its checkout is
initialised. Both were made judgeable and advanced here.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

Co-authored-by: Andreas Trawoeger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant