Repository navigation
chore(deps): bump sdk to v0.2026328.1554 so the binary refuses a degraded config load - #1274
Conversation
…aded config load opencharly/sdk#633 (tagged v0.2026328.1554) makes deploykit.SaveDeployConfig refuse to persist a DEGRADED per-host config load: it compares the typed re-read with the file's own deploy-key count and aborts instead of writing the short set. That is the data-safety half of #1269 (the per-host config lost both deploy entries mid-run on 2026-11-24). charly/go.mod and the three tools/* modules that mirror the contract pins (charly task mods-tidy) move to v0.2026328.1554. No charly source change; the guard lives in the SDK. Gate: the repo's full `go` CI job reproduced verbatim (root go test ./charly/..., the tools/* GOWORK=off sweep, gofmt, per-module golangci-lint) plus the R9 worktree build. Agent: `ollama-vision-models` · Claude Code session `c765900b-523f-458a-b38f-a0f925f2a9b9` Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: dependency pin advance (config; no source change) — 5 Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…ange Round-1 review fixes for #1274. - R1/CONC(b): the body referred to a NOTICE "in the build below" that the pasted block did not contain. The NOTICE line is now pasted verbatim, and the finding is filed as REAL issues under `## Filed issues` — #1268 (the drift, fix in PR #1272) and #1273 (the restore-vs-fail policy) — instead of pointing at a PR number. - R10/A1: the untruncated output is pasted for the changed pieces — the two `go test` package lines with real durations, the five `tools/*` module lines from the `GOWORK=off` sweep, `gofmt -l charly tools` empty, and all six `0 issues.` lines from the per-module golangci-lint. - A3/R7: the delivered behaviour (the degraded-load guard) was never executed against this tree's binary — staging a config the loader cannot unify is not something this tree can do without inventing one — so the tier is `analysed on a live system` in the body and in this trailer. Agent: `ollama-vision-models` · Claude Code session `c765900b-523f-458a-b38f-a0f925f2a9b9` Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
|
STATUS Round-2 RCA — three blocks, all body/process; the tree is unchanged and the head moved only by an empty tier-correction commit.
Agent: Agent: |
Review — PASSHead SHA: Security screen: PASS — pin advances to a published same-org tag; Comments considered:
Tool-limited note: cannot re-run Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: dependency pin advance (config; no charly source change) — 8 files: Blocks
Comments considered
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS Round-3 RCA — two blocks, both about evidence, both fixed with measurements on the current head.
One consequence worth recording: with Agent: Agent: |
Review — PASSHead SHA: Change class: dependency pin advance (config) — 8 files: Comments considered:
Tool-limited note: cannot re-run Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Bumps the SDK to the release that ships the per-host config data-safety guard:
github.com/opencharly/sdk(incharly/go.modand the threetools/*modules)v0.2026328.1130v0.2026328.1554v0.2026328.1554is opencharly/sdk#633:deploykit.SaveDeployConfignow REFUSES to persist adegraded load — it compares the typed re-read with the file's own deploy-key count and aborts
instead of writing a short set that erases the entries the loader could not unify. That is the
data-loss half of #1269, measured on this host on 2026-11-24 when
~/.config/charly/charly.ymllost both of its deploy entries mid-run while the containers keptrunning.
No charly source change: the guard lives in the SDK. The three
tools/*modules mirror thecontract pins (
charly task mods-tidy), andcharly/go.sumwas tidied for the new hashes — withoutthat,
go testsynthesises ago.work.sum, whichpluginsgen's workspace test forbids(#1065).
The branch has since merged
main, and therefore also carries #1272'scorpus-index refresh: the R9 build below prints no
check-generated-cleanNOTICE, where thepre-merge tree did. That is #1272's fix working, not a change made here.
Note on the
tools/*sweep line the reviewer flagged:tools/generate-packagesis a module whoseown
moduledirective isgithub.com/opencharly/charly/candy/generate-packages, and its onlypackage is
cmd/serve. The sweep line is therefore correct, not misattributed:How tested
Everything below was run on the CURRENT head, after the
mainmerge:The guard's own red/green proof is in opencharly/sdk#633 (
SaveDeployConfig persisted a degraded load — the file's entries were erasedonmain, green with the guard). It is NOT re-executed hereagainst this tree's binary — staging a config the loader cannot unify is not something this tree
can do without inventing one — which is why the tier below is not
fully tested.Rulebook compliance
/charly-internals:go,/charly-internals:git-workflow,/charly-internals:strict-policy.measured repro attempt; this PR ships the guard that removes the ability to persist it. The
restore-vs-fail policy that let the corpus index drift is check-generated-clean RESTORES a drifted corpus index instead of failing, so the drift is never acted on — decide restore-vs-fail #1273.
reservedDeployKeys), in the SDK.origin/main, brought current withgh pr update-branch, never a rebase.this PR proves the pins build, the whole CI job passes on the landed head, and the R9 binary is
current. It does not execute the guard against this tree's binary, so the tier is
analysed on a live system.2026.328.1827; no shared install.goCI job reproduced verbatim on the current head (rootgo test ./charly/..., thetools/*GOWORK=offsweep,gofmt, per-modulegolangci-lint) plus the R9build, all pasted above.
an existing writer.
Filed issues
check-generated-cleanrestores a drifted corpus index instead offailing, so a drift is reported on every build and resolved by nobody. The drift it was reporting
is fixed (fix(plugins): refresh the compiled-in provider-ref table from the current corpus #1272, now in this branch); the policy is check-generated-clean RESTORES a drifted corpus index instead of failing, so the drift is never acted on — decide restore-vs-fail #1273's subject.
Change classification
charly/go.mod,charly/go.sumand the threetools/*modules.
instead of erasing the entries it could not read.
v0.2026328.1130and the erasure returns.Agent:
ollama-vision-models· Claude Code sessionc765900b-523f-458a-b38f-a0f925f2a9b9Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)