Four packages built in parallel: - P1.2 runtime: Container runtime abstraction with podman implementation. Interface (Pull/Run/Stop/Remove/Inspect/List), ContainerSpec/ContainerInfo types, CLI arg building, version extraction from image tags. 2 tests. - P1.3 servicedef: TOML service definition file parsing. Load/Write/LoadAll, validation (required fields, unique component names), proto conversion. 5 tests. - P1.4 config: CLI and agent config loading from TOML. Duration type for time fields, env var overrides (MCP_*/MCP_AGENT_*), required field validation, sensible defaults. 7 tests. - P1.5 auth: MCIAS integration. Token validator with 30s SHA-256 cache, gRPC unary interceptor (admin role enforcement, audit logging), Login/LoadToken/SaveToken for CLI. 9 tests. All packages pass build, vet, lint, and test. 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)