cli: carlos system named-units put and show
named-units is now a family of three clireg nodes: install (box-local, root, unchanged), and the operator's put and show. put checks a file with the gate both box readers apply, before any AWS call, then writes the box's parameter with the operator's profile. show prints the stored value and the box's last named-units record from its heartbeat, read through GET /api/cli/system/status, whose rows gain instance_id, heartbeat_at and named_units. Parity rows, projection and the CLI docs section follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 files changed,
+824
−101
docs/parity.md+2 −1docs/site/cli.md+42 −9internal/console/apisystemupdate.go+9 −1internal/console/apisystemupdate_test.go+49 −0internal/host/unitops.go+14 −7internal/hostenv/awsssm.go+1 −1internal/hostenv/namedunits.go+8 −2parity/cli.tsv+3 −1parity/parity.tsv+2 −1system.go+17 −3system_namedunits.go+370 −0system_namedunits_test.go+222 −0testdata/clireg-golden.jsonl+85 −75
docs/parity.mdLoading diff…
docs/site/cli.mdLoading diff…
internal/console/apisystemupdate.goLoading diff…
internal/console/apisystemupdate_test.goLoading diff…
internal/host/unitops.goLoading diff…
internal/hostenv/awsssm.goLoading diff…
internal/hostenv/namedunits.goLoading diff…
parity/cli.tsvLoading diff…
parity/parity.tsvLoading diff…
system.goLoading diff…
system_namedunits.goLoading diff…
system_namedunits_test.goLoading diff…
testdata/clireg-golden.jsonlLoading diff…