Deployment names and the agent image's paths are Go constants #2056

Open
opened 2026-11-18 23:10:30 +00:00 by sam · 0 comments
Owner

Deployment topology and the agent image's ABI are Go constants:

  • systemd unit names, agentVersionFile and journalDir (internal/releaseupdate/transaction.go).
  • Container paths /data/repo, session.jsonl, memory.json (internal/storage/storage.go).
  • Listen and target ports 8484, 8485, 8585 and 9090 (internal/infrastructure/configuration/defaults.go, config.example.toml).

Each is a contract with the host or with the agent image, so a rename is a coordinated release rather than a config edit, and nothing states the contract in one place.

Done when: the names the host and the image agree on are declared once, or documented as a contract in one file.

Deployment topology and the agent image's ABI are Go constants: - systemd unit names, `agentVersionFile` and `journalDir` (internal/releaseupdate/transaction.go). - Container paths `/data/repo`, `session.jsonl`, `memory.json` (internal/storage/storage.go). - Listen and target ports 8484, 8485, 8585 and 9090 (internal/infrastructure/configuration/defaults.go, config.example.toml). Each is a contract with the host or with the agent image, so a rename is a coordinated release rather than a config edit, and nothing states the contract in one place. Done when: the names the host and the image agree on are declared once, or documented as a contract in one file.
sam added the chorelow labels 2026-11-18 23:10:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2056