Repository navigation
fix(deps): carry the sdk loader fix that names an uninitialized submodule - #863
Conversation
…dule Consumes opencharly/sdk#361 (merged; tag v0.2026281.2051, commit 54c82a9). charly's loader is loaderkit in the SDK, so the defect fixed there - a namespaced import whose target is a declared submodule directory that exists but holds nothing reported as a bare ENOENT - is only fixed FOR CHARLY once the module requirement moves. That requirement is the declaration the build reads; the umbrella gitlink is a second declaration of the same producer and is not touched here. sdk v0.2026280.2246 -> v0.2026281.2051 in charly/go.mod; go mod tidy moved the two go.sum lines it owns. Verified at the artefact level rather than by inference: the rebuilt binary reports dep github.com/opencharly/sdk v0.2026281.2051, with no replace in go.mod. Closes #847. Agent: charly (fan-out prerequisite) Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Security screen: PASS — diff is a single version-pin bump on an org-owned module; no secrets, no egress, no guardrail weakening, no scope mismatch (the diff matches the stated change exactly). Blocks
Non-blocking dispositions: the Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…named row R2/B14(b): the body parked a surfaced failure as a separate step. It now names the row that carries it - #864 - with the measured failure and candidate fixes pasted there, and the R2 bullet says so. No code change; the tree is identical. Agent: charly (fan-out prerequisite) Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — single version-pin bump on an org-owned module; no secrets, egress, guardrail weakening, or scope mismatch (diff matches the stated change exactly). No embedded directives. Comment disposition — Comment 6069066910 by @github-actions[bot]: Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
The go check failed on TestContractPinsMatchShared: bumping charly's sdk requirement moved the SHARED pin to v0.2026281.2051, and the three lockstep tools modules still required v0.2026280.2246. The test names its own remedy, so it was run rather than reasoned about: charly task mods-tidy, whose own run and check steps both pass. Six files move: the go.mod and go.sum of tools/generate-packages, tools/golden-cloudinit and tools/golden-compile. TestContractPinsMatchShared now passes locally and bootstrap-charly.sh returns 0. Agent: charly (fan-out prerequisite) Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)
Review — PASSHead SHA: Change class: dependency/module pin — Security screen: PASS — no secrets, egress, network calls, guardrail weakening, or scope mismatch; the diff is exactly the stated pin propagation. No embedded directives; the body is data. Checklist: All applicable rules PASS or NA. Module-pin class: fresh rebuild + embedded-module assertion ( Comment dispositions:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Consumes
opencharly/sdk#361(MERGED; tagv0.2026281.2051, commit54c82a9). Closesopencharly/charly#847.charly's loader is
loaderkitin the SDK, so the defect fixed there - a namespaced import whose target is a declared submodule directory that exists but holds nothing, reported as a bareENOENT- is only fixed for charly once the module requirement moves. That requirement is the declaration the build reads. The umbrella gitlink is a second declaration of the same producer and is deliberately not touched here (see Scope).How tested
The artefact-level proof - which sdk this binary actually LINKS:
The binary was deleted first and rebuilt on purpose: a binary that happens to be lying around is not evidence, and the version stamp did not change between two builds - the embedded module line is what a stale build cannot fake.
The live proof, in the tree that fails on
main- a fresh umbrella worktree at4a2fc64with 423 uninitialized submodules andcharly/empty (the shape this issue is about), running that rebuilt binary:Both verbs now name the cause, where previously they returned
open ...: no such file or directory. The reader is told what is wrong and what to run.The second declaration, routed to its named row (not parked)
The umbrella
sdkgitlink is not advanced by this PR, and that surface is now a named row:opencharly/charly#864.It is not a "separate step":
charly task syncrequires all 423 submodules to be initialized checkouts because it walks every gitlink, and in a fresh worktree it fails -That is measured and pasted, with candidate fixes, in
#864. It is also the third surface of the same root condition: the loader (opencharly/sdk#361, consumed here by#863, tracked asopencharly/charly#847), the umbrella pre-commit hook (a singlegit submodule update --init --depth 1 charlymakes it pass), and nowtask sync.Why this PR is still the right unit: it is the module-requirement half - the declaration the build reads, and the one that makes charly's binary carry the fixed loader, which is what closes
#847. Advancing the gitlink needs an initialized checkout and belongs with#864's fix, not smuggled in here.Check round - the lockstep pins, aligned by the verb the test named
The verdict PASSed the change, and the
gocheck failed on it - independently, which is the divergence worth recording: the review judges the diff and the prose; the check judges the module graph.The cause is this change, correctly propagated: bumping charly's
sdkrequirement moved the shared pin, and the three locksteptools/*modules must track it. The test names its own remedy -charly task mods-tidy- so that verb was run rather than reasoned about: its ownrunandchecksteps both pass, six files move (each module'sgo.mod+go.sum),TestContractPinsMatchSharedpasses locally, andbootstrap-charly.shreturns 0.Rulebook compliance
git-workflowloaded before the git/PR actions;/charly-internals:skillsloaded earlier tonight when these insights were codified.loaderkit/walk.go:192, fixed and merged assdk#361); the siblingmissing go.sumfailures were root-caused separately ascharly#857(GOWORK=offplus two missingspecsums).opencharly/charly#864, with the failure and candidate fixes pasted there - not parked as a vague "separate step".go mod tidyownsgo.sumrather than a hand edit.fix/branch, no force-push, no hook bypass, no direct push tomain.go.sum) is validated at its boundary by the tool that writes it (go mod tidy, a second-diffempty - the same standard used in#861).Change classification
fully tested and validated- a module requirement bump with its derived sums, proven by a fresh rebuild whose embedded dependency is asserted from the binary, no replace in the module, and the changed path executed live in the worktree that reproduces the issue.Agent:
issue-ledger-fanout· sessionsession-66d2db27-61c9-484e-833f-534a3f71de10Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)