11 work units built in parallel and merged: Agent handlers (Phase 2): - P2.2 Deploy: pull images, stop/remove/run containers, update registry - P2.3 Lifecycle: stop/start/restart with desired_state tracking - P2.4 Status: list (registry), live check (runtime), get status (drift+events) - P2.5 Sync: receive desired state, reconcile unmanaged containers - P2.6 File transfer: push/pull scoped to /srv/<service>/, path validation - P2.7 Adopt: match <service>-* containers, derive component names - P2.8 Monitor: continuous watch loop, drift/flap alerting, event pruning - P2.9 Snapshot: VACUUM INTO database backup command CLI commands (Phase 3): - P3.2 Login, P3.3 Deploy, P3.4 Stop/Start/Restart - P3.5 List/Ps/Status, P3.6 Sync, P3.7 Adopt - P3.8 Service show/edit/export, P3.9 Push/Pull, P3.10 Node list/add/remove Deployment artifacts (Phase 4): - Systemd units (agent service + backup timer) - Example configs (CLI + agent) - Install script (idempotent) All packages: build, vet, lint (0 issues), test (all pass). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
MCP v1 Progress
Phase 0: Project Scaffolding
- P0.1 Repository and module setup
- P0.2 Proto definitions and code generation
Phase 1: Core Libraries
- P1.1 Registry package (
internal/registry/) - P1.2 Runtime package (
internal/runtime/) - P1.3 Service definition package (
internal/servicedef/) - P1.4 Config package (
internal/config/) - P1.5 Auth package (
internal/auth/)
Phase 2: Agent
- P2.1 Agent skeleton and gRPC server
- P2.2 Deploy handler
- P2.3 Lifecycle handlers (stop, start, restart)
- P2.4 Status handlers (list, live check, get status)
- P2.5 Sync handler
- P2.6 File transfer handlers
- P2.7 Adopt handler
- P2.8 Monitor subsystem
- P2.9 Snapshot command
Phase 3: CLI
- P3.1 CLI skeleton
- P3.2 Login command
- P3.3 Deploy command
- P3.4 Lifecycle commands (stop, start, restart)
- P3.5 Status commands (list, ps, status)
- P3.6 Sync command
- P3.7 Adopt command
- P3.8 Service commands (show, edit, export)
- P3.9 Transfer commands (push, pull)
- P3.10 Node commands
Phase 4: Deployment Artifacts
- P4.1 Systemd units
- P4.2 Example configs
- P4.3 Install script
Phase 5: Integration and Polish
- P5.1 Integration test suite
- P5.2 Bootstrap procedure test
- P5.3 Documentation (CLAUDE.md, README.md, RUNBOOK.md)