Agent (P2.1): Agent struct with registry DB, runtime, and logger. gRPC server with TLS 1.3 and MCIAS auth interceptor. Graceful shutdown on SIGINT/SIGTERM. All RPCs return Unimplemented until handlers are built in P2.2-P2.9. CLI (P3.1): Full command tree with all 15 subcommands as stubs (login, deploy, stop, start, restart, list, ps, status, sync, adopt, service show/edit/export, push, pull, node list/add/remove). gRPC dial helper with TLS, CA cert, and bearer token attachment. Both gates for parallel Phase 2+3 work are now open. 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)