mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
c8edc80143
## Summary Phased strangler consolidating `ao`'s `.agents/`-touching logic into one `cli/internal/wiki` bounded context. Waves 1-4 of epic **soc-behj** (8 beads, 5 waves). Strictly accretive — no `ao` command removed, legacy command surface untouched. Each wave boundary was gated on the 102 `cmd/ao` integration tests staying green. | Wave | Bead | Deliverable | |------|------|-------------| | W1 | soc-1lju | `FrontmatterCodec` — all 5 frontmatter parsers delegate to one codec | | W2 | soc-36lw | `CorpusLocator` — `agentsDirIn` moved, 17 call sites migrated | | W2 | soc-f4tr | `Artifact` + `Claim` domain types with subtype invariants | | W3 | soc-vot0 | persistent `WikiIndex` — JSONL, incremental by content-hash | | W3 | soc-r08p | `FreshnessPolicy` — claim-level, evidence-driven | | W4 | soc-ijp8 | `WikiPipeline` — subsumes the llmwiki loop, 3 stages wired | | W4 | soc-q50a | port conformance suite | Also anchors `.gitignore`'s bare `wiki/` pattern with a `!cli/internal/wiki/` negation — the new package was being silently ignored. Wave 5 (`ao wiki` command group) is **not** in this PR. ## Test plan - [x] `go build ./...` clean - [x] `go vet ./internal/wiki/` clean - [x] `go test ./internal/wiki/` — 96 pass - [x] `go test ./cmd/ao/ -run Integration` — 102 pass (regression net green) - [ ] CI `validate.yml` --------- Co-authored-by: Codex <codex@example.invalid>