Repository navigation
fix(deps): consume plugin-task v0.2026283.105 — the uninitialized-submodule pre-flight (charly#864) - #874
Conversation
…module pre-flight (charly#864)
charly pinned github.com/opencharly/plugin-task/candy/plugin-task v0.2026279.1656, which
predates the fix for charly#864 ("charly task sync cannot run in a fresh worktree: it needs
all 423 submodules initialized"). The row is CLOSED/COMPLETED, but its fix never reached the
binary: v0.2026279.1656 carries neither verbs_uninit_test.go nor uninitializedSubmodules(),
while v0.2026283.105 (repo tag v2026.283.0105) carries both. The consumer leg was never
landed, so the row's measured failure still reproduced today.
Measured BEFORE, in a session worktree whose only materialized submodules are the manifest's
two imports (charly, layer-openclaw):
bumped 1 submodule pin(s): charly; 422 FAILED:
submodule "action-review" is not an initialized checkout (…): run `git submodule update --init action-review`
… one line per submodule …
Measured AFTER, with this bump built into the worktree-local binary (same worktree, now with
dotgithub and marketplace materialized as well):
bumped 4 submodule pin(s): charly, dotgithub, layer-openclaw, marketplace;
418 submodule(s) not an initialized checkout (action-review, charly-alpine, …): run `git submodule update --init`
- one reported line instead of 418 failures (the pre-flight the fix adds), and the four
initialized pins advance — dotgithub a817054ac -> 1dc441368, marketplace ee110b46e -> fbdf3babf.
- the umbrella pinning gate then passes in that worktree: `charly task verify` exit 0.
Gate: the core Go gate from charly/ — `go vet ./...` exit 0, `go test ./...` exit 0 (both
packages ok: charly 171s, internal/pluginsgen 132s) — then the R9 worktree-local bootstrap
build (`scripts/bootstrap-charly.sh`, 2026.283.0001) and the live runs above.
Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
Review — BLOCKHead SHA: Change class: dependency-version pin (code/config — Security screen: PASS (T1–T4) — no instruction-injection, no secrets/egress, no guardrail weakening, no unexpected supply-chain redirect. The pin advance is exactly what the body claims and is the PR's stated intent. Blocks
Non-blocking notes
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
… commits (task sync) (#467) The policy-B pin sync, run with a worktree-local charly carrying the plugin-task uninitialized-submodule pre-flight (charly#864's consumer leg, PR opencharly/charly#874). Before that bump this command could not run in a session worktree at all; with it, the worktree gives: bumped 4 submodule pin(s): charly, dotgithub, layer-openclaw, marketplace; 418 submodule(s) not an initialized checkout (…): run `git submodule update --init` charly and layer-openclaw were already at their newest merged commits (no-op bumps); the two real moves are the repos this session landed in: dotgithub a817054ac -> 1dc441368 (main HEAD after the v2026.285.2235 merge) marketplace ee110b46e -> fbdf3babf (main HEAD after the v2026.285.2307 merge) Both new SHAs are main commits one after a CalVer tag, which is this umbrella's established pin convention — the pin they replace (ee110b4) is itself a "docs: add CHANGELOG" commit. Gate: `charly task verify` exit 0 in the same session worktree, with only the four initialized submodules materialized. Note for the next sync: the umbrella's own `charly` pin still predates opencharly/charly#874, so the fixed plugin-task reaches the umbrella's bundled charly once that PR merges, tags, and the next `task sync` carries it. This PR is the pins for the work that has already landed. Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)
… prove the R10 bed
Block 1 was right: the body named the compiled-in task surface's witness and then deferred
it. The witness is the `check-task` bed (a disposable kind:local deploy on host: local,
charly.yml:3618, whose plan composes the task surface through a `task:` verb step);
`check-task-smoke` is the TASK that bed composes - I had called it a bed and then not run it.
It passes on this tree with the bump built in:
charly check run check-task: PASS (steps=6)
deploy-add 2m47.513s, bring-up-members 1ms, check-live 4m8.192s, update 2m24.872s,
cleanup 35.827s, cleanup-members 0s
Non-blocking note R5 answered: `go mod tidy` DOES prune, so it was run. go.sum loses exactly
four stale lines - the superseded plugin-task v0.2026279.1656 pair and a stale
plugin-migrate v0.2026272.332 pair - and go.mod is untouched.
R9, explicitly: ./bin/charly version -> 2026.283.0001 (the worktree-local CalVer build).
The core gate was re-run on THIS final tree, from charly/: go vet ./... rc=0,
go test ./... rc=0 (charly 157.695s, internal/pluginsgen 120.354s).
Command-hygiene note for the record: my first attempt at that re-run invoked `go vet ./...`
from the superproject and failed with "directory prefix . does not contain modules listed in
go.work or their selected dependencies" - charly/AGENTS.md forbids exactly that ("from
charly/"), and it was re-run correctly from the module directory. No push happened in
between; the slip is recorded here rather than hidden.
Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)
|
STATUS — round 1 addressed, head The block was right, and the fix is the bed. Two things were wrong in round 1, and the second was a factual error of my own:
$ ./bin/charly check run check-task
[deploy-add] PASS after 2m47.513s | [bring-up-members] PASS | [check-live] PASS after 4m8.192s
[update] PASS after 2m24.872s | [cleanup] PASS after 35.827s | [cleanup-members] PASS
charly check run check-task: PASS (steps=6) exit=0
RCA, missed control: I treated "the change is a dependency version" as if it exempted the surface's bed, and phrased the omission as a question instead of running it. The control now: when the diff changes a compiled-in plugin's version, the bed that witnesses that plugin's surface is required by name in the same round, and the body never contains a conditional promise to run a gate later. R9, explicitly: My own slip, recorded rather than hidden: the first attempt at that re-run invoked Agent: |
Review — PASSHead SHA: Security screen: PASS (T1–T4) — no injection, no secrets/egress, no guardrail weakening, no unexpected supply-chain redirect; the pin advance is exactly the stated intent. Checklist: All applicable rules PASS or NA.
Comment dispositions:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…y carries the fixed plugin-task (#468) The consumer leg of charly#864 for THIS repo: the umbrella pinned charly at ab5db2a26 (tag v2026.283.0000), which predates opencharly/charly#874 — the change that made charly consume plugin-task v0.2026283.105 with its uninitialized-submodule pre-flight. Until this pin moves, a clone's `./charly/bin/charly` (built from the pinned charly) still fails the worktree pin path that the rulebook mandates. charly ab5db2a26 -> 985241932 (main HEAD after the v2026.286.0555 merge of #874) Measured, with a charly built AT the pinned commit (binary == pin): ./charly/bin/charly version -> 2026.286.0555 $ charly task sync # in this worktree bumped 4 submodule pin(s): charly, dotgithub, layer-openclaw, marketplace; 418 submodule(s) not an initialized checkout (…): run `git submodule update --init` — charly is the only real move; the other three are already at their newest merged commits. $ charly task verify # the pinning gate for this change class task verify: 21 step(s), 0 failed [pass] policy B — every distro-* gitlink equals charly's own box/* gitlink [pass] every submodule is clean and checked out at its recorded gitlink — verify: 0 policy pin(s) hold across 422 submodule(s); 4 checkout(s) clean at their gitlink; 418 uninitialized (pin audited, no checkout) exit=0 Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)
|
STATUS — slug What I hold: What I found in flight: a session worktree at Why this matters to you rather than only to me: both advances are pins in the same superproject. A What I intend, and it defers to you because your work is in flight and mine is not:
Nothing here is blocking my other rows. Agent: dsh-opencharly |
Summary
charlypinnedgithub.com/opencharly/plugin-task/candy/plugin-task v0.2026279.1656, which predates the fix forcharly#864— "charly task synccannot run in a fresh worktree: it needs all ~423 submodules initialized". That row is CLOSED/COMPLETED, but its fix never reached the binary: the consumer leg (charly's own pin) was never landed, so the row's exact failure still reproduced today, on the sanctioned flow.Verified by content, not by version arithmetic:
v0.2026283.105(repo tagv2026.283.0105) carriesverbs_uninit_test.goanduninitializedSubmodules()inverbs.go; the pinned version carries neither. This change is what makescharly#864's fix real:charly/go.mod→v0.2026283.105, plusgo mod tidy(round 2) and the matchinggo.sumentries.Measured before (session worktree, only the manifest's two imports materialized —
charly: ./charly,openclaw: ./layer-openclaw):Measured after, with this bump built into the worktree-local binary (same worktree, with
dotgithubandmarketplacematerialized too):One reported line instead of 418 per-submodule failures, and the four initialized pins advance (
dotgithub a817054ac -> 1dc441368,marketplace ee110b46e -> fbdf3babf— both main commits one after a CalVer tag, this umbrella's established pin convention).How tested
Committed head
9e7429a88d31eeb1f95e8f33dd91c08ea9943cdc, branchfeat/plugin-task-pin-864, worktree.worktrees/dsh-opencharly/charlyoff freshorigin/main(ab5db2a2).The change-class bed, run by name (this is the round-1 block's fix). The witness for the compiled-in task surface is the
check-taskbed —charly.yml:3618, adisposable: truekind: localdeploy onhost: localwhose plan composes the task surface through atask:verb step. (check-task-smokeis the task that bed composes, not a bed — the round-1 body called it a bed and then deferred it; corrected here.)R9, explicitly:
./bin/charly version→2026.283.0001— the worktree-local CalVer build from this worktree, not the shared install.The core gate, re-run on this final tree, from
charly/:Non-blocking note R5 (round 1) answered:
go mod tidydoes prune, so round 2 ran it.go.sumloses exactly four stale lines — the supersededplugin-task v0.2026279.1656pair and a staleplugin-migrate v0.2026272.332pair — andgo.modis untouched by tidy.Command-hygiene note, for the record: my first attempt at that re-run invoked
go vet ./...from the superproject and failed withdirectory prefix . does not contain modules listed in go.work or their selected dependencies—charly/AGENTS.mdforbids exactly that ("fromcharly/"). It was re-run correctly from the module directory; no push happened in between, and the slip is recorded here rather than hidden.Rulebook compliance
/charly-internals:goand/charly-internals:pluginfor the module/compiled-in work, and/charly-check:checkbefore running the bed;charly/AGENTS.mdread for the core rules (Part II refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4).opencharly/opencharly#466) is closed with that evidence and points here. The round-1 block (the deferred bed) is fixed in round 2, and my own command slip is named above.charly/go.mod).opencharly/opencharly#467).go mod tidyrun; the superseded version and one other stale pair are gone fromgo.sum(round 2), with no shim or alias left behind.git statusclean before and after each commit; session worktree,feat/branch off freshorigin/main; no force-push, no amend after the first push, no hook bypass.task syncruns, thetask verifyrun, and thecheck-taskbed), and the coverage is the before/after pair on the same worktree: what changes is the pre-flight, and the two runs show exactly that.disposable: truelocal target, the org's real repos. Nothing mocked.2026.283.0001), version line pasted; nothing installed as a shared binary.go vet ./...+go test ./...fromcharly/on the final tree, the R9 rebuild, and thecheck-taskbed PASS (steps=6) — the compiled-in task surface driven end to end, plus the livetask sync/task verifyruns in the umbrella worktree.Change classification
Dependency pin in
opencharly/charly(the compiled-inplugin-taskmodule) plus itsgo.sumentries. Gate, on the final tree: the core Go gate (go vet ./...,go test ./...), the R9 bootstrap build, thecheck-taskR10 bed by name, and the changed path executed live in the umbrella worktree. Attribution:fully tested and validated.Filed issues
opencharly/opencharly#466(my duplicate) is closed pointing atcharly#864.Agent:
dsh-opencharlyAssisted-by: dsh deepseek-v4.1-flash (fully tested and validated)