- Update roadmap milestone tracking for control-plane foundation - Update contract notes for gito control plane - Extend router with operation event handling - Add router tests for operation event flow - Extend storage with lease management capabilities - Add storage tests for workspace lease operations - Add agent task archive logs for code review and planning
43 lines
2 KiB
Text
43 lines
2 KiB
Text
# Complete - m-runtime-scaffold-and-contract-baseline
|
|
|
|
## 완료 일시
|
|
|
|
2026-06-13
|
|
|
|
## 요약
|
|
|
|
storage boundary interface와 migration-backed contract test 기준선을 2회 리뷰 루프로 완료했다. 최종 판정은 PASS다.
|
|
|
|
## 루프 이력
|
|
|
|
| Plan | Review | Verdict | 메모 |
|
|
|------|--------|---------|------|
|
|
| `plan_local_G05_0.log` | `code_review_local_G05_0.log` | FAIL | `TestBoundaryContract`가 `New(...)` injection identity를 검증하지 않아 후속 테스트 보강이 필요했다. |
|
|
| `plan_local_G06_1.log` | `code_review_local_G06_1.log` | PASS | 각 sub-store accessor가 주입받은 fake store를 그대로 반환하는지 검증했고 필수 Go 검증이 통과했다. |
|
|
|
|
## 구현/정리 내용
|
|
|
|
- `services/core/internal/storage/storage.go`를 repo/workspace/operation/event store interface와 `Boundary` constructor 기준으로 정리했다.
|
|
- `services/core/internal/storage/storage_test.go`를 추가해 compile-time interface contract, constructor injection identity, `Ping` guard, migration table/column support를 검증했다.
|
|
- 코드리뷰 중 storage 파일에 gofmt를 적용했다.
|
|
|
|
## 최종 검증
|
|
|
|
- `cd services/core && go test -count=1 ./internal/storage` - PASS; `ok git.toki-labs.com/toki/gito/services/core/internal/storage 0.002s`
|
|
- `cd services/core && go test -count=1 ./...` - PASS; core 전체 패키지 테스트 통과, storage 포함.
|
|
- `cd services/core && go vet ./...` - PASS; 출력 없음, exit 0.
|
|
|
|
## Roadmap Completion
|
|
|
|
- Milestone: `agent-roadmap/phase/control-plane-foundation/milestones/runtime-scaffold-and-contract-baseline.md`
|
|
- Completed task ids:
|
|
- `storage-boundary`: PASS; evidence=`agent-task/archive/2026/06/m-runtime-scaffold-and-contract-baseline/plan_local_G06_1.log`, `agent-task/archive/2026/06/m-runtime-scaffold-and-contract-baseline/code_review_local_G06_1.log`; verification=`cd services/core && go test -count=1 ./internal/storage`, `cd services/core && go test -count=1 ./...`, `cd services/core && go vet ./...`
|
|
- Not completed task ids: 없음
|
|
|
|
## 잔여 Nit
|
|
|
|
- 없음
|
|
|
|
## 후속 작업
|
|
|
|
- 없음
|