feat(ops): Phase 27 — hero_demo source-repo + hero_skills install module + profile entry #12
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
hero_assistance is currently NOT in:
hero_demo/README.md's 27-source-repo listhero_skills/nutools/install/install modules (soservice_install_alldoesn't pick it up)hero_demoprofileA fresh Hero OS box provisioned via
hero_demodoes NOT bring up hero_assistance. To finish Hero OS integration, hero_assistance must be installable end-to-end from a singleservice_completeinvocation.Depends on: Phase 24 (hero_proc lifecycle), Phase 25 (admin dashboard), Phase 26 (island).
What
A.
hero_demo/README.mdsource-repo listAdd
hero_assistanceto the appropriate archipelago row in the 27-repo table. Same archipelago as Phase 26 / D-23 (Communication recommended).A.1. Binary release infrastructure — already in place ✓
We already have CI binary publishing per s32 (issue #6, closed). On every
v*tag push,.forgejo/workflows/build-linux.yaml:hero_assistance_server,hero_assistance_ui,hero_assistancebinaries (targetx86_64-unknown-linux-gnu, suffixlinux-amd64)svc_install_downloadconsumes) AND Forgejo Generic package registry (backup channel athttps://forge.ourworld.tf/lhumina_code/-/packages/generic/hero_assistance/<version>)<bin>-linux-amd64matches hero_skillssvc_install_downloadexpectation exactlyPhase 27 install module just needs to call
svc_install_downloadwithlinux-amd64asset suffix — no CI changes needed.B.
hero_skillsinstall moduleNew file:
hero_skills/nutools/modules/services/service_hero_assistance.nu(canonical location, sibling toservice_books.nu/service_collab.nu). Mirrors the existing pattern. Both install paths supported (matches service_collab.nu line 256-275):The
--downloadpath usessvc_install_download $SVX_SERVICE_NAME $SVX_FORGE_LOC $SVX_BINARIES $sudo $reset $version "linux-amd64". Already compatible with our CI — s32 (.forgejo/workflows/build-linux.yaml) publishes binaries as<bin>-linux-amd64on Forgejo Releases on everyv*tag. The 3 published binaries (hero_assistance_server-linux-amd64,hero_assistance_ui-linux-amd64,hero_assistance-linux-amd64) matchsvc_install_download's naming convention exactly.The
cargo buildpath usessvc_install $SVX_SERVICE_NAME $SVX_FORGE_LOC $SVX_BINARIES $sudo $update $reset $release— same as service_collab.Hooks into
service_hero_assistance install/startfrom Phase 24's nu_service module (thescripts/service_hero_assistance.nuin this repo is the dev-time entrypoint; this hero_skills module is the deploy-time entrypoint).C.
hero_demoprofileAdd hero_assistance to one or more profiles under
hero_demo/profiles/. Default candidate: communication or support profile.D. Smoke test
Provision a fresh Hero OS VM (TFGrid single-VM or local KVM), run
service_complete, verify:hero_proc service status hero_assistance_serverreports healthyhero_proc service status hero_assistance_uireports healthyhero_routerat/hero_assistance_admin/.../health,/openrpc.json,/rpcpingAcceptance
hero_demo/README.mdPR mergedhero_skills/nutools/install/install_hero_assistance.nuPR mergedhero_demo/profiles/<X>.tomlPR mergedservice_completebrings hero_assistance up successfullyservice_hero_assistance install --download --version v0.3.1pulls binaries from Forgejo Releases and installs to~/hero/bin/without falling back to cargo buildservice_hero_assistance install(no flags) builds from source viasvc_cargo_installFiles to touch (external repos)
lhumina_code/hero_demo— README.md + profile TOMLlhumina_code/hero_skills—install_hero_assistance.nulhumina_code/hero_archipelagos— finalize island registration from Phase 26Files to touch (this repo)
prompt.md§1 — mark Phase 27 done; close Hero OS integration phaseCLAUDE.md— final state paragraphOut of scope
References
tfgrid_deployhero_demo/README.md27-repo tableinstall_hero_*.numodules in hero_skills