Skip to content

fix(box): bump 5 distro gitlinks to schema-2026.202.0105 restamp - #170

Merged
atrawog merged 2 commits into
mainfrom
feat/schema-restamp-2026202-super
Jul 21, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/schema-restamp-2026202-super

Conversation

@atrawog

@atrawog atrawog commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Incident: sdk's #SchemaVersion advanced to 2026.202.0105 (the strip-candy-libvirt-field migration-table entry) while all five box/<distro> submodules stayed pinned at 2026.186.2323, hard-erroring every LoadUnified of a box tree and turning charly/.'s TestCandySourceDirs_OverrideAnchorsRemoteApk red on main.

  • Fix: bumps all five box/<distro> gitlinks to their merged, schema-restamped mains:

    • distro-arch#8 → b4c9259, tag v2026.202.0201
    • distro-cachyos#7 → f6cd24d, tag v2026.202.0204
    • distro-debian#5 → a966782, tag v2026.202.0206
    • distro-fedora#5 → bc00442, tag v2026.202.0209
    • distro-ubuntu#5 → 7fe93be, tag v2026.202.0211

    Each box leg ran charly migrate standalone in its own repo — a pure version-stamp bump (stripCandyLibvirtField is a no-op in every box; none carries a candy-level libvirt: field).

  • Also folds in a pre-existing, unrelated go.work.sum checksum drift (a github.com/bits-and-blooms/bitset line go build wants to add) via task build:binary's sanctioned review-and-commit remedy path, so task build:binary now runs clean.

Test plan

  • go test -run TestCandySourceDirs_OverrideAnchorsRemoteApk ./charly/... — PASS (previously RED)
  • go test ./... (charly module, full) — PASS
  • charly box validate — exit 0, zero warnings
  • task build:binary — clean, no go.work.sum guard trip
  • All 5 gitlink bumps verified forward (old→new, never reverted) via git diff --cached --submodule=short

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)

sdk's #SchemaVersion advanced to 2026.202.0105 while all five box/<distro>
submodules stayed pinned at 2026.186.2323, hard-erroring every LoadUnified
of a box tree and turning charly/.'s TestCandySourceDirs_OverrideAnchorsRemoteApk
red on main. Bumps arch/cachyos/debian/fedora/ubuntu gitlinks to their merged
schema-restamp mains (distro-arch#8, distro-cachyos#7, distro-debian#5,
distro-fedora#5, distro-ubuntu#5), and folds in a pre-existing, unrelated
go.work.sum checksum drift (bits-and-blooms/bitset) via task build:binary's
sanctioned review-and-commit remedy.

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
@atrawog

atrawog commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: cross-repo submodule pointer-bump + build-checksum (schema re-stamp; zero charly/*.go touched — a non-behavioral fix restoring LoadUnified compatibility). Head verified: ba17d85d6243b1c6bc151ccfca2995a06c51b2fa (via git ls-remote, matches headRefOid).

Independent verification performed (trusting no author claim, all re-run live from this exact head):

  • Incident corroborated: sdk/schema/version.cue #SchemaVersion = 2026.202.0105 on main; all 5 box/<distro> gitlinks in this PR bump the charly.yml version: field from the stale 2026.186.2323 to exactly 2026.202.0105 — matches the stated incident precisely.
  • Each of the 5 gitlinks independently verified (git -C box/<d> fetch + ls-remote origin refs/heads/main + merge-base --is-ancestor): every new SHA (b4c9259/f6cd24d/a966782/bc00442/7fe93be) is the REAL, current main HEAD of its repo, and every bump is a forward move (old is an ancestor of new).
  • Each submodule's own old..new diff is version-stamp-only: git -C box/<d> diff old..new -- . ':!CHANGELOG' shows ONLY the charly.yml version: line changing — confirms the pure-restamp change-class claim (no behavioral drift smuggled in).
  • All 5 release tags verified: each v2026.202.02XX tag exists on its repo's remote and peels (rev-parse <tag>^{commit}) to exactly the bumped commit — byte-for-byte match.
  • go test -run TestCandySourceDirs_OverrideAnchorsRemoteApk ./charly/... — re-ran live: PASS.
  • Full go test ./... (charly module, workspace-mode via GOWORK) — re-ran live: PASS, 2 packages, no failures.
  • gofmt -l charly/ and go vet ./... — both clean (no findings) — defensive check since go.work.sum touches the build graph, even though no .go source changed.
  • ./bin/charly box validate (freshly built from this exact head via task build:binary) — exit 0, zero output (zero warnings).
  • go.work.sum checksum claim reproduced empirically: stripped the bits-and-blooms/bitset line, re-ran task build:binary live — the Taskfile guard tripped EXACTLY as the PR describes ("task build:binary: go build updated tracked go.work.sum"), regenerating the identical line. Restored, re-ran clean (exit 0). This proves the checksum addition is a genuine, toolchain-driven requirement, not fabricated. Confirmed no new Go module require was introduced anywhere (git diff --name-only shows zero go.mod changes) — a checksum-only addition for an existing transitive module-graph entry, not a new dependency (R9 PKGBUILD depends= not implicated).
  • R9 binary identity: ./bin/charly version → 2026.202.0219, built clean from this exact head via the sanctioned task build:binary path.
  • A momentary "duplicate command name" panic observed in one earlier tool output was investigated (R1) and root-caused: it was interleaved stdout from an unrelated concurrently-run command in the same batch (/usr/bin/charly version, run standalone, succeeds cleanly — 2026.196.1747, exit 0), NOT a defect in this tree. Confirmed by re-running the build and every subsequent command in isolation three separate times, all exit 0, no recurrence.

Checklist:

# Item Verdict
0 security & anti-tampering (T1–T4) PASS — no exfiltration/scope-mismatch/weakened-gate/supply-chain finding; no manipulation attempt in PR text
1 description complete PASS — Summary + Test-plan name every gate command + result; each independently re-run and reproduced bit-for-bit (see above)
2 change-class gate matches evidence PASS — gate = go test + charly box validate + task build:binary (no disposable bed required for this class per the git-workflow skill's own B7 guidance: "a version-stamp change has no build behavior — building proves nothing"); no dry-run/rebuild-alone fraud — every command actually executed live by me
3 attribution tier justified PASS — analysed on a live system matches the proof (live test+validate+build; no bed-class evidence claimed or needed)
4 R0 skills honored PASS — /charly-internals:git-workflow B2/B7 (pointer-bump safety + box-restamp gate + attribution-derived-from-target) — the PR's gate choice matches the skill's own prescription verbatim
5 R1 RCA, zero warnings PASS — zero warnings in every re-run; one apparent anomaly investigated and root-caused to tool-output interleaving (not a real defect), evidence above
6 R2 no pre-existing split PASS — nothing surfaced requiring deferral
7 R3 no duplication N/A — pure version/checksum bump, no code surface
8 R4 no ad-hoc workaround PASS — used charly migrate (per box repo, already merged) + task build:binary's own guard-prescribed remedy; no ad-hoc podman/git/manual edits
9 R5 hard cutover + grep self-test N/A — no identifier removed/renamed; no transitional/dual-mode path introduced
10 R6/R8/R9 R6 N/A (no destructive git ops); R8 N/A (no Containerfile/label change); R9 PASS (binary rebuilt from this head, version stamped, no new runtime dep)
11 R10 disposable-only / fresh-rebuild / coverage PASS (bed-free class per skill) — fresh task build:binary + fresh go test/validate all at zero warnings; the previously-RED TestCandySourceDirs_OverrideAnchorsRemoteApk IS the regression test that would fail without this fix (check-coverage satisfied)
12 RDD/ADE/SDD N/A — no .cue/schema files, no candy plan:/description: touched; each box leg already RDD-proven standalone before its own merge
13 concurrency mandate N/A — no shared-state path (loader/ledger/store/arbiter) touched
14 hard cutover — one atomic commit PASS — single commit, no Phase-2/TODO/deferred work
15 ARCHITECTURE GATE PASS — placement: CORRECT. Zero charly/*.go changed → no alias file, no new kit import, nothing to place on the E/M/B/D/R boundary-law axis. Per-item trace: n/a (no charly/*.go diff)
16 disposable-only autonomy N/A — no destroy/rebuild of any deployed target; my own build/test actions ran only in this validator's own working tree
17 clean architecture + go gates PASS — gofmt -l empty, go vet ./... clean, go test ./... green (golangci-lint N/A: no .go source changed in this diff)
18 CHANGELOG present PASS — CHANGELOG/2026.202.0218.md matches ^\d{4}\.\d{3}\.\d{4}\.md$; H1 # 2026.202.0218 — … byte-equals the filename-derived CalVer; placeholder CalVer does NOT already exist as a tag or CHANGELOG file on main

Comments considered: none (PR carries zero comments).

Cross-PR interactions considered:

Decision: Every applicable rule verified compliant by independent re-derivation (not the author's word) against this exact head. The 5 gitlink bumps are real, forward, tag-anchored, version-stamp-only moves that resolve a genuine, corroborated schema-mismatch incident; the go.work.sum addition is an empirically-reproduced toolchain requirement; the regression test that was RED on main is GREEN at this head; zero warnings anywhere. PASSING and proceeding to Phase 3 (merge-time CalVer finalization, merge, tag).

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)

Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
@atrawog
atrawog merged commit 5512225 into main Jul 21, 2026
@atrawog
atrawog deleted the feat/schema-restamp-2026202-super branch July 21, 2026 02:32
atrawog added a commit that referenced this pull request Aug 15, 2026
… main's red

opencharly/marketplace#170 merged as 664d2456 (tag v2026.227.1107), carrying the
regeneration of the two charly-internals skills that #276 left stale. The
gitlink moves f6f39bbd -> 664d2456.

This is the step that makes main green, and the reason is worth recording
because both #274's and #170's validators initially had it wrong in opposite
directions. A superproject gitlink does not move when the submodule repo
merges: charly main stays pinned at c2518468 and stays red regardless of what
lands in the plugins repo. Only a superproject PR bumps the pin. #274 is that
PR — not a bystander waiting out someone else's red, but the half that closes
it.

Measured end state, matching what both validators independently predicted:
marketplace drift clean (399 artifacts), box validate exit 0.

Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)
atrawog added a commit that referenced this pull request Aug 15, 2026
…ts 2-3 never got

Factory unit 4 — the docs catch-up. Two things land together because they
cannot honestly be split: the north-star revision, and the Skill Dispatcher rows
for capability units 2 and 3 already shipped. A row naming a skill that does not
exist is a false claim, so the rows land with the skill that makes them resolve.

PROGRAM/factory-north-star.md — revised claim by claim against the tree. A new
Trust boundaries section; units 2-3 recorded as landed; the charly mcp serve
scoping restated as a named gap rather than a prompt-level promise. The unit list
renumbers 6 -> 9: charly box load (unit 5) and charly mcp serve --disposable-only
(unit 7) were named as load-bearing in the prose but had no unit and no measured
state, so neither was anyone's work.

Three defects were caught by that audit rather than published: helm_chars: was a
typo for the real deploy field helm_charts:; the kubeconfig claim was stated as a
fixed path when it is a precedence chain; and the Trust boundaries section
asserted the forge MCP endpoint binds loopback/stdio, which is false — charly mcp
serve --listen defaults to :18765, binding every interface. A binding document
describing a security property the code lacks is worse than silence.

candy/charly-kubernetes/charly.yml — a new helm-skill: entity (the
/charly-kubernetes:helm recipe card) and its trigger. candy/agentteams and
candy/plugin-agentteams — triggers: on the two agentteams skills.
candy/charly-hooks — the charly-kubernetes marketplace description named only the
kube: verb while README named the helm words. CLAUDE.md + AGENTS.md regenerated
between the GENERATED SKILL DISPATCHER markers; the table is generated from
triggers:, never hand-edited.

The plugins gitlink advances to 664d2456, the merged head of the regeneration
chain (#168 -> #169 -> #170). A skill: source edit and its generated projection
are one cutover across two repos: landing either half alone leaves main
inconsistent, and this merge closes the last of it. The docs gitlink tracks main;
what remains deferred is the mirror content, not the pointer.

Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)
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