D6 — setup-binaries.sh refactor: per-user manifest-driven install loop #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
D6 — setup-binaries.sh refactor: per-user manifest-driven install loop
Sub-issue of
#?(v0.1 scope). Lives inlhumina_code/hero_demo(the bootstrap script's home), but listed here because deployer's D4 work depends on it.What this does
Refactor
hero_demo/deploy/single-vm/scripts/setup-binaries.sh(s132) so itslab buildloop is driven by the per-user component manifest (~/hero/cfg/cockpit/services.toml, format inhero_cockpit#1§6) instead of the hardcodedd07_set.txt.Today's behaviour
Target behaviour
Required pieces
tomlcli tool (small Python or Go) or have the deployer pre-process the TOML into a flat newline-list before scp'ing it. The pre-process path keeps setup-binaries.sh dependency-free.demoprofile.[embedder].model = "small", setEMBEDDER_MODEL_SIZE=smallenv var before starting hero_embedder so it loads the smaller variant. Coordinated with hero_embedder#? (small model).Acceptance criteria
setup-binaries.shreads/root/cockpit-services.toml(or the equivalent flat list pre-processed by deployer)lab service <name> --startd07_set.txtif no manifest presentembedder.model = "small"in manifestReferences
hero_demo/deploy/single-vm/scripts/setup-binaries.shhero_cockpit#1§6#? (D4 post-deploy)#? (v0.1 scope)mik-tf referenced this issue2026-05-21 21:59:37 +00:00
Closed by hero_demo
20f03ba(squashed direct todevelopment, no PR perfeedback_d10_t2_squash_to_development_no_pr).What landed:
deploy/single-vm/scripts/setup-binaries.sh+207/-38 — refactors the s132 fixedd07_set.txtiteration into a manifest-driven install plan:/root/cockpit-services.toml[enabled]table when present./root/d07_set.txtotherwise.hero_proxy + hero_router + hero_proc + hero_cockpit(regardless of profile).[embedder].model = "small"through toEMBEDDER_MODEL_SIZE=smallin the driver env (consumer side queued for the next session: hero_embedder runtime)._server/_admin/_webvariants iff the binary exists.New
DRY_RUN=1mode +HERO_MANIFEST_FILE/HERO_SET_FILEenv overrides for local verification.Smoke (DRY_RUN, all pass):
d07_set.txt35-component: passbash -nclean.No decision minted. Companion landings same session:
hero_cockpit 558e737adds a hero_plannerManualEntryto/manual(10 entries now including planner);home f8606e3appends the s151 audit-log entry todocs/channels/free/e2e_checklist.md.Session manifest:
sessions/151.ymlin the workspace pipeline.