[ops] Single make demo target — provision + install + seed + verify a fresh Hero OS demo VM in one command #31
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?
Why
Today spinning up a Hero OS demo from scratch requires: provisioning a TF Grid VM (Terraform), base install (
hero_skills install-all+ manual deps for what the nu-shell installers miss — #128), patchinghero_procaction envs to add AIBROKER_API_ENDPOINT / ROUTING_MODE / etc., copying FORGEJO_TOKEN into hero_books env, re-running seeds with schema migrations, cloning doc libraries, verifying grounding. Each step is its own troubleshooting adventure.Once the prerequisites from #160's §Reproducibility-Path land — upstream fixes merged,
hero_zero_seedformalized (#XYZ), rootfs sized right — the whole flow should collapse to a single command.Target UX
On an operator's laptop, with
TFGRID_MNEMONIC+FORGEJO_TOKENin env:Successful exit means: VM exists, all services running, all libraries indexed, OSIS seeded across 5 contexts, AI Assistant answers a grounded test query, dashboard accessible via TF Grid gateway.
Failed exit means: one numbered step failed, with the log tailed and pointer to troubleshooting. No half-finished state.
Implementation sketch
deploy/single-vm/Makefilegains:Each script is small, idempotent, and has a
--resumemode so a failure at step 5 can restart from step 5.Pre-requisite checklist
Before
make democan ship, these blockers need closure:development_mik_nu_demo)hero_zero_seedformalized (sibling issue)Until those land,
make demois building on quicksand.Verify_demo.sh — the acceptance-test script
Must exit 0 only if:
hero_proc list | grep -c running == 22).curl .../hero_books/ui/rpc libraries.listreturns 4 libraries.namespace.listshowsherowith ≥163 docs.curl .../hero_agent/rpc agent.chat message="Call search_hero_docs with query=Hero OS"returns content containinghero_os_guide.business.listinthreefoldcontext returns ≥3 items.geomindcontext.Fail fast with diff of expected vs actual.
Related
Signed-off-by: mik-tf
Originally filed as home#163 on 2026-04-24 by mik-tf — moved to hero_demo as part of consolidating issue tracking.
make demotarget — provision + install + seed + verify a fresh Hero OS demo VM in one command #163