carlos / platform Public

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>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 19be189a576e06ebc1f05a83fda86dad6dcfe73e parent e7257c9
13 files changed, +824 −101
  • docs/parity.md +2 −1
  • docs/site/cli.md +42 −9
  • internal/console/apisystemupdate.go +9 −1
  • internal/console/apisystemupdate_test.go +49 −0
  • internal/host/unitops.go +14 −7
  • internal/hostenv/awsssm.go +1 −1
  • internal/hostenv/namedunits.go +8 −2
  • parity/cli.tsv +3 −1
  • parity/parity.tsv +2 −1
  • system.go +17 −3
  • system_namedunits.go +370 −0
  • system_namedunits_test.go +222 −0
  • testdata/clireg-golden.jsonl +85 −75
docs/parity.md

Loading diff…

docs/site/cli.md

Loading diff…

internal/console/apisystemupdate.go

Loading diff…

internal/console/apisystemupdate_test.go

Loading diff…

internal/host/unitops.go

Loading diff…

internal/hostenv/awsssm.go

Loading diff…

internal/hostenv/namedunits.go

Loading diff…

parity/cli.tsv

Loading diff…

parity/parity.tsv

Loading diff…

system.go

Loading diff…

system_namedunits.go

Loading diff…

system_namedunits_test.go

Loading diff…

testdata/clireg-golden.jsonl

Loading diff…