close client lifecycle plan — API was already fully implemented
Plan #3 at 95%. Initial audit was incorrect — the entire API surface was already implemented and tested: - POST /clients/enroll — age key pair generation, mesh IP validation, attrs update, state → provisioning (impl.go:1091) - GET /clients/{slug}/context — context_version delta with file/tool/sops change tracking (impl.go:1195) - GET /clients/{slug}/secrets — scoped secret key listing (impl.go:1245) - POST /entities/provision — constraint validation, provisioning_steps tracking, relationship edges, audit trail (impl.go:1271) - GET /entities/{slug}/provision/status — step-by-step progress (impl.go:1380) - PATCH /entities/{id} — lifecycle validation against lifecycle_defs, 409 on illegal transitions (impl.go:933) - client_lifecycle_test.go: 324 lines, full e2e: planned→enroll→provisioning→active→migrating→deprecated→failed + provision + relations + blast radius + rejection tests Remaining (follow-up): bootstrap.sh + context-poller.sh thin-client scripts.
This commit is contained in:
@@ -10,7 +10,6 @@ went sideways, open an investigation.
|
||||
| ---- | ----- | ------ |
|
||||
| 2026-07-05 | [Oikos Prometheus LXC](2026-07-05-oikos-prometheus-lxc.md) | Planned |
|
||||
| 2026-07-06 | [Consolidate Oikos control plane onto mac-mini](2026-07-06-consolidate-oikos-control-plane-onto-mac-mini.md) | In Progress (Phase 1-6 implemented, pending cutover) |
|
||||
| 2026-07-07 | [Client lifecycle in Go — enrollment through deprecation](2026-07-07-client-lifecycle-in-go.md) | Planned |
|
||||
| 2026-07-08 | [Plan vs implementation cross-reference](2026-07-08-plan-implementation-audit.md) | Planned |
|
||||
|
||||
## Done
|
||||
@@ -28,6 +27,7 @@ See [`done/`](done/) for executed plans:
|
||||
| 2026-07-07 | [MCP tool completion — Hermes operator interface](2026-07-07-migrate-bin-homelab-to-go.md) |
|
||||
| 2026-07-07 | [DB as single source of truth for agent knowledge](2026-07-07-db-as-source-of-truth.md) |
|
||||
| 2026-07-07 | [Comprehensive audit: stale files, state gaps, and next steps](2026-07-07-comprehensive-audit-and-next-steps.md) |
|
||||
| 2026-07-07 | [Client lifecycle in Go — enrollment through deprecation](2026-07-07-client-lifecycle-in-go.md) |
|
||||
|
||||
## Conventions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user