P1.1: Registry package with full CRUD and tests

SQLite schema (services, components, ports, volumes, cmd, events),
migrations, and complete CRUD operations. 7 tests covering:
idempotent migration, service CRUD, duplicate name rejection,
component CRUD with ports/volumes/cmd, composite PK enforcement,
cascade delete, and event insert/query/count/prune.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 11:18:35 -07:00
parent 3f23b14ef4
commit 6122123064
8 changed files with 963 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
## Phase 1: Core Libraries
- [ ] **P1.1** Registry package (`internal/registry/`)
- [x] **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/`)