Repository navigation
feat(agentteams): worker image + shared manager/worker candies (Unit 4) - #248
Conversation
…he create-worker + room bed assertion (Unit 4) The controller now spawns Worker CRs from a pre-built agentteams-worker image through the bound rootless podman socket. This lands the worker image, the shared openclaw/agt/mc build candies, the manager refactor onto them, and the bed's create-worker + room end-to-end assertion. - candy/agentteams-openclaw: shared openclaw source build (pinned commit 2f35b6fa), consumed by both the manager and worker images (R3: one build, two consumers). - candy/agentteams-cli: shared agt REST client build + mc extract. - candy/agentteams-worker: the worker layer — openclaw runtime + agt + mc + shared protocol libs, charly-owned rootless start-worker.sh (config pull from MinIO, file-sync loops, Matrix re-login, readiness reporter). - candy/agentteams-manager: refactored to compose the shared candies (openclaw build, agt build, mc extract removed). - charly.yml: agentteams-worker box (base cachyos, tag worker, baked supervisord OCI entrypoint); bed env AGENTTEAMS_WORKER_IMAGE; the agentteams-worker-running check (create Worker CR → Running + roomID → room alias resolvable via the Matrix directory API). R10: charly check run check-agentteams-pod PASS (steps=13) on a fresh charly update, zero warnings; agentteams-manager-running and agentteams-worker-running PASS in both the initial and fresh-rebuild check-live phases. Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
pr-validator — CHANGES REQUESTED ❌Change class: candy/box-config (new Head SHA validated: Checklist
Comments considered: none — the PR carried no comments. Cross-PR interactions considered: none open — only PR #248 is open in Decision — FAIL, not mergedTwo blocking findings, plus one secondary:
The R10 evidence itself is real and verified — the bed ran green at zero warnings on the fresh rebuild, and both new checks pass in both check-live phases. Fix the two blocking items (and the box version), re-push, and the validator re-runs. Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system) |
…nit 4 CHANGELOG The agentteams-manager box carried a stale version (2026.223.1500) while the agentteams-manager candy it composes was bumped to 2026.224.0600 in the Unit 4 cutover. Align the box version so the image's effective version derives consistently, and add the Unit 4 CHANGELOG placeholder (the pr-validator finalizes the merge-time CalVer). Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
pr-validator — CHANGES REQUESTED ❌Change class: candy/box-config (new Head SHA validated: Checklist
Comments considered:
Cross-PR interactions considered: none open — only PR #248 is open in Decision — FAIL, not mergedOne blocking finding:
The R10 evidence itself is real and verified — the bed ran green at zero warnings on the fresh rebuild, both new checks pass in both check-live phases, and the CHANGELOG + box-version fixes are correct. Fix the single blocking item (the body footer), re-push, and the validator re-runs. Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system) |
pr-validator — APPROVED ✅Change class: candy/box-config (new Head SHA validated: Checklist
Independent re-verification of the R10 evidence (image-content check)The manager/worker images in the host store were built at 08:04/08:05 CEST, before the feat commit (08:14). Their baked-plan labels carry 4/5 steps (missing the "write the rootless start script" run step) and the manager image carries the stale
Comments considered:
Cross-PR interactions considered: none open — only PR #248 is open in Decision — PASSAll 18 checklist items pass. The prior validator's single blocking issue (the missing Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated) |
The pr-validator generates the merge-time CalVer at merge; rename the placeholder CHANGELOG and align its H1. Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
Summary of changes
The controller now spawns Worker CRs from a pre-built
agentteams-workerimage through the bound rootless podman socket. This lands the worker image, the shared openclaw/agt/mc build candies, the manager refactor onto them, and the bed's create-worker + room end-to-end assertion.candy/agentteams-openclaw(new): shared openclaw source build (pinned commit2f35b6fa), consumed by both the manager and worker images (R3: one build, two consumers).candy/agentteams-cli(new): shared agt REST client build + mc extract.candy/agentteams-worker(new): the worker layer — openclaw runtime + agt + mc + shared protocol libs, charly-owned rootlessstart-worker.sh(config pull from MinIO, file-sync loops, Matrix re-login, readiness reporter).candy/agentteams-manager: refactored to compose the shared candies (openclaw build, agt build, mc extract removed).charly.yml:agentteams-workerbox (base cachyos,tag: worker, baked supervisord OCI entrypoint); bed envAGENTTEAMS_WORKER_IMAGE; theagentteams-worker-runningcheck (create Worker CR → Running + roomID → room alias resolvable via the Matrix directory API). Theagentteams-managerbox version is bumped to2026.224.0600to match the manager candy it composes.Change class
candy/box-config— new candies (agentteams-openclaw,agentteams-cli,agentteams-worker), a manager-candy refactor, and theagentteams-workerbox + bed env/check in rootcharly.yml.How R10-tested — exact gate, commands, and pasted output
charly check run check-agentteams-pod(the disposable pod bed that composes the changed candies + box and exercises the new worker-spawn check), pluscharly box validateandcharly check box agentteams-manager/agentteams-worker.check-agentteams-pod | pod | ok | 13 steps | 0 warnings— fullcharly check runsequence (image-build → check-image → deploy-add → config → start → bring-up-members → check-live → feature-run → update → check-live-rebuild → feature-run-rebuild → cleanup → cleanup-members), PASS.charly update/rebuild at ZERO warnings; the binary was rebuilt from this source andcharly versionmatches.agentteams-worker-runningcheck executed in BOTH check-live phases (initial + fresh-rebuild) and PASSED, proving the controller created the Worker CR, spawned the worker container from the pre-builtagentteams-workerimage, and the worker reached Running with its Matrix room created.Both new checks PASS in the initial and fresh-rebuild check-live phases (the 7 SKIPs are the expected verify-only mutating
run:steps):charly box validatepasses clean;charly check box agentteams-manager(22 passed, 0 failed) andcharly check box agentteams-worker(23 passed, 0 failed).Attribution tier
fully tested and validated— the new worker-spawn code path (theagentteams-worker-runningcheck) executed live against the fresh rebuild in both check-live phases, and the full disposable R10 gate passed at zero warnings.Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)/charly-image:layer(candy authoring),/charly-image:image(box composition),/charly-check:check(bed + check authoring),/charly-distros:cachyos(cachyos base),/charly-internals:git-workflow(PR-only landing).node $npm_execpathSyntaxError and theEALLOWGITgit-dep gate were both reproduced in the exact cachyos build environment and root-caused before fixing (documented in the CHANGELOG); the R10 gate output has ZERO warnings.agentteams-openclaw+agentteams-clicandies consumed by BOTH the manager and worker images — one build, two consumers.charly check run check-agentteams-podbed gate, not justgo test.charly versionmatching; no new runtime OS deps (the worker/manager images are cachyos-based and their deps come from the composed candies).disposable: truecheck-agentteams-podbed, fresh rebuild, zero warnings; ships theagentteams-worker-runningcheck that FAILS without the worker image + spawn path.description:+plan:with ≥1 deterministiccheck:(charly box validatepasses). SDD: N/A — no.cue/schema edit.sdkchange in this cutover; all changes are candies + box config.disposable: truecheck-agentteams-podbed.CHANGELOG/2026.224.0600.mdstaged (placeholder CalVer — the pr-validator finalizes it).Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)