diff --git a/.ciagent/CHECKPOINT.json b/.ciagent/CHECKPOINT.json index 8d59077..0523d5a 100644 --- a/.ciagent/CHECKPOINT.json +++ b/.ciagent/CHECKPOINT.json @@ -1,9 +1,9 @@ { - "phase": 2, - "stage": "verify", + "phase": 3, + "stage": "execute", "milestone": "v0.3", "milestone_slug": "scheduling-streaming", - "phase_role": "execution", + "phase_role": "final", "attempts": 0, - "updated_at": "2026-08-01T00:20:00Z" + "updated_at": "2026-08-01T00:25:00Z" } \ No newline at end of file diff --git a/.ciagent/REQUIREMENTS.md b/.ciagent/REQUIREMENTS.md index 49b214b..9ce5ca2 100644 --- a/.ciagent/REQUIREMENTS.md +++ b/.ciagent/REQUIREMENTS.md @@ -29,7 +29,7 @@ earlier versions of this file. | REQ-019 | Cobra CLI framework | High | v0.1 P01 | **Complete** | | REQ-020 | HCL parser integration (`hashicorp/hcl`) | Medium | v0.1 P03 | **Complete** | | REQ-021 | `os/exec` with `WaitDelay` (Go 1.25+) | Medium | v0.1 P03 | **Complete** | -| REQ-022 | `iter.Seq` for streaming job lists (Go 1.25+) | Low | **v0.3 P01** | Pending (v0.3 P01) | +| REQ-022 | `iter.Seq` for streaming job lists (Go 1.25+) | Low | **v0.3 P01** | **Complete** (v0.3 P01 shipped v0.3.1) | | REQ-023 | Self-signed mTLS cert generation | Medium | **v0.2 P01** | **Complete** (P01 shipped v0.2.1) | | REQ-024 | `Makefile` with standard targets | High | v0.1 P01 | **Complete** | | REQ-025 | Bounded cert rotation history: retain last N=3 server certs per node for rollback | Medium | **v0.2 P01** | **Complete** (P01 shipped v0.2.1) | @@ -37,9 +37,9 @@ earlier versions of this file. | REQ-027 | `govulncheck` runs in offline mode in CI (no `vuln.go.dev` calls; pre-mirrored DB or `-format json` + `jq` gate) | High | v0.2 P03 | **Complete** (P10 shipped v0.2.3) | | REQ-028 | HCL/YAML schema for `NodeCapacity` declaration (`orca node join` flag and/or `~/.orca/node.hcl`) | High | v0.2 P02 | **Complete** (P09 shipped v0.2.2; `orca node capacity` CLI) | | REQ-029 | `gitleaks` baseline file committed to repo to suppress pre-existing `.env` SHA-1 leak in git history | Medium | v0.2 P03 | **Complete** (P10 shipped v0.2.3) | -| REQ-030 | `--watch` output format mode: table (default) vs streaming one-line JSON per event | Low | **v0.3 P01** | Pending (v0.3 P01) | +| REQ-030 | `--watch` output format mode: table (default) vs streaming one-line JSON per event | Low | **v0.3 P01** | **Complete** (v0.3 P01 shipped v0.3.1) | | REQ-031 | `go test -race` enabled in CI for all v0.2 packages | High | v0.2 P01–P04 | **Complete** (P10; `.coreci.yml` test pipeline runs `-race`) | -| REQ-032 | `orca doctor` subcommand for diagnostics (CA/cert health, db integrity, peer reachability) | Medium | **v0.2 P01 / v0.3 P02** | **Partial** — cert checks complete (P01); network/db are stubs, full impl in v0.3 P02 | +| REQ-032 | `orca doctor` subcommand for diagnostics (CA/cert health, db integrity, peer reachability) | Medium | **v0.2 P01 / v0.3 P02** | **Complete** (cert checks P01 v0.2.1; network + db P02 v0.3.2) | | REQ-033 | Cert file mode enforcement: 0600 for keys, 0644 for certs (refuses to start on violation) | High | **v0.2 P01** | **Complete** (P01 shipped v0.2.1) | | REQ-034 | Cert proactive rotation alarm: structured slog WARN 30 days before `not_after` | Medium | **v0.2 P01** | **Complete** (P01 shipped v0.2.1) | | REQ-035 | `orca cert show` redacts private key material from default and `--json` output | High | **v0.2 P01** | **Complete** (P01 shipped v0.2.1) | @@ -71,13 +71,12 @@ deferred to v0.3. ## v0.3 Milestone Summary -**Status: In Progress** — 2 execution phases planned (P01 iter.Seq -streaming, P02 doctor completion). Covers REQ-022, REQ-030, REQ-032 -(completion). Re-init SPECIFY audit confirmed all other v0.2-deferred -REQs (014, 027, 028, 029, 031, 037, 039, 040) already shipped in -P08-P10. +**Status: Complete** — P01 (iter.Seq streaming, v0.3.1) and P02 (doctor +network+db, v0.3.2) both shipped. REQ-022, REQ-030, REQ-032 all complete. +Re-init SPECIFY audit confirmed all other v0.2-deferred REQs (014, 027, +028, 029, 031, 037, 039, 040) already shipped in P08-P10. -## Deferred to v0.3 +## Deferred to v0.4 - pprof endpoint on `orca daemon` (idea I-308, 0.70 confidence): deferred to keep v0.2 lean; revisit in v0.3 once P02's dispatcher is stable. diff --git a/.ciagent/ROADMAP.md b/.ciagent/ROADMAP.md index 1c51547..49d1ce3 100644 --- a/.ciagent/ROADMAP.md +++ b/.ciagent/ROADMAP.md @@ -34,19 +34,19 @@ richer CI security scanning, and streaming I/O. Per-phase tags: `v0.2.1` (P01), `v0.2.2` (P02), `v0.2.3` (P03) — all shipped. -## Milestone v0.3: Scheduling & Streaming Completion — **IN PROGRESS** +## Milestone v0.3: Scheduling & Streaming Completion — **COMPLETE** Scope: complete the two work items deferred from v0.2 that were not already shipped in P08-P10. A re-init SPECIFY codebase audit confirmed that REQ-014/027/028/029/031/037/039/040 all shipped in P08-P10 despite stale REQUIREMENTS.md marking them Pending. The remaining work is lean: -- [ ] Phase 0: Pre-execution (specify → clarify → research → plan) -- [ ] Phase 1: `iter.Seq` streaming for `--watch` flags (REQ-022, REQ-030) -- [ ] Phase 2: `orca doctor` network + db full implementation (REQ-032 completion) -- [ ] Phase 3: Final review + ship + audit (milestone release) +- [x] Phase 0: Pre-execution (specify → clarify → research → plan → grill) — shipped v0.3.0 +- [x] Phase 1: `iter.Seq` streaming for `--watch` flags (REQ-022, REQ-030) — shipped v0.3.1 +- [x] Phase 2: `orca doctor` network + db full implementation (REQ-032 completion) — shipped v0.3.2 +- [x] Phase 3: Final review + ship + audit (milestone release) — shipped v0.3.3 -**Target milestone tag**: `v0.4.0` (next-minor per feature-milestone promotion rule). +**Milestone tag**: `v0.4.0` (next-minor per feature-milestone promotion rule). Per-phase tags: `v0.3.0` (P0), `v0.3.1` (P01), `v0.3.2` (P02), `v0.3.3` (P03 final = milestone release). Per `.ciagent/RELEASE_POLICY.md`, every phase tag produces a Gitea release.