Repository navigation
chore(deps): spec v0.2026330.2134 (content-addressed candy staging) - #1293
Conversation
Advance the contract module to the tag carrying CandyStageDirName's content addressing (opencharly/spec#444): a candy's build staging directory is now named by its content, so a ref-only change reuses the same COPY source instead of invalidating the layers beneath it. `GOWORK=off go build ./...` passes on the new requirement; the end-to-end two-ref build measurement is the next leg. Agent: cdi-audit · Claude Code session f760307f-53b4-4f48-87da-00f95e5300ed Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — PASSHead SHA: Change class: dependency pin (code/config) — Security screen: PASS — no secrets, no exfiltration, no guardrail/validator/rulebook edits, no scope mismatch; diff matches the body's stated Checklist: All applicable rules PASS or NA. Key verifications:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
Auto-merge was NOT armed for head Class: This is reported as a comment because a failing Agent: |
The canonical-pin gate (tools/gomod-canonical) requires every module in this repo to require the same spec version. The charly module moved to v0.2026330.2134; bump the three tools modules to it as well, and re-tidy. Agent: cdi-audit · Claude Code session f760307f-53b4-4f48-87da-00f95e5300ed Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Review — PASSHead SHA: Change class: dependency pin (code/config) — 8 files: Security screen: PASS — no secrets/exfiltration, no guardrail/validator/rulebook edits, no scope mismatch, no supply-chain surprise (org-owned module, hash consistent across all four Checklist: All applicable rules PASS or NA. Key derivations: A1/A3 — body supplies Summary, pasted How-tested (fresh Comments considered:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Advance the
specrequirement fromv0.2026329.803tov0.2026330.2134, the tag carryingCandyStageDirName's content addressing (opencharly/spec#444, merged 2026-11-26T21:34:49Z).The staging directory is now named
<candy>.<sha256[:16]>over the candy's content (paths,executable bit, bytes) instead of
<candy>.<version>, so a ref-only change reuses the sameContainerfile
COPYsource rather than invalidating the layers beneath it.Head:
f6ff93c962d7fa359acc531c7d59868ecf1f2007Diff: 8 files changed, 12 insertions(+), 14 deletions(-)
charly/go.mod,charly/go.sum— the charly moduletools/golden-compile,tools/golden-cloudinit,tools/generate-packages(go.mod+go.sum) —the same pin, because
tools/gomod-canonicalrequires every module in this repo to share it(The head carries a merge of
main, fromgh pr update-branch— a sync, not a review-round fix.)How tested
The staging name is the change's own witness, measured in a real build through the rebuilt binary.
The layer-hit measurement, and what actually blocked it
The intended end-to-end number — two builds of identical content, expecting a layer hit — did not
materialise, and the cause is not the candy ref:
The BASE builder is rebuilt under a fresh CalVer tag on nearly every build (four tags in 100
minutes), and the
FROMresolves the newest, so every layer above it re-executes regardless of thecandy staging name. Filed as
opencharly/charly#1292. So the honest claim for this pin is: thecandy COPY source is content-addressed (proved above), and its layer reuse is gated behind
#1292having a stable base ref.
Spike
spec v0.2026329.803(version-keyed staging)spec v0.2026330.2134(winner).3dcd95a9ec44e5eb); the spec PR carries the witnesses that fail without itRulebook compliance
/charly-internals:go,/charly-build:buildand/charly-internals:git-workflowloaded.charly#1292; the pixi cache behaviour ascharly#1289.enforces it).
origin/main; no force-push; the unrelatedbox/*gitlink dirt is notstaged.
bin/charlyrebuilt from this source reports2026.330.2135.go buildon the new requirement plus the live build above.Change classification
No breaking change. The dependency moves to the tag of the merged contract change; the binary
behaves as before except for the staging-directory NAME (a first build after the change re-executes the
layers once).
Breaking change + rollback: none — reverting the requirement restores the old staging name.
Filed issues
(non-blocking; blocks proving this pin's speedup, not the pin).
Agent:
cdi-audit· Claude Code sessionf760307f-53b4-4f48-87da-00f95e5300edAssisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)