Skip to content

v0.9.0 — investigate guardrails: edge_cases bridge + reference-spec + sharper self-review

Choose a tag to compare

@krus210 krus210 released this 31 May 19:02
· 5 commits to main since this release
0335484

Hardens architecture-investigate against a failure class observed end-to-end: the skill already had the right checks and even found several cross-service bugs verbatim — but the findings died as chat prose, the code shipped them anyway, and the validation loop was never run. Theme: carry every finding into code, and don't call it done on a green build.

Added

  • Risk → edge_cases[] bridge (step 8a) — every gap / deviation / # UNCONFIRMED / join-key risk must become a concrete edge_cases[] entry in the YAML patch. It persists in the contract, renders into ARCHITECTURE.md, and DET-003 blocks the commit until its test path exists (DET-007 stops silent removal). Closes the failure mode where a verbatim finding ("join on city_id, not city_name") never reached the code.
  • Reference / golden architecture spec ingest (step 2a) — optional cross-check of proposed event/RPC names, dedup keys, and invariants against a reference spec; names a divergence (canonical offer.declined vs an invented task.offer_rejected) instead of renaming silently. Hint, never override.
  • Definition-of-done checklist (step 10) — a green go build / go test clears none of the validate / check-architecture / edge_cases boxes.
  • Six new self-review anti-patterns (step 9) — recompute-vs-reuse snapshot, attempt id from consumer memory vs event payload, two events outside one outbox transaction, notification despite a failed state transition, terminal guard narrower than real input states, and finding-left-as-prose.

Changed

  • Trusted identity & actor is now a first-class clarify dimension, split out of Entry point & ownership, with an explicit rule that every sub-question inside a dimension is its own checkbox.
  • architecture-investigate output contract gains Reference cross-check, Risk register (edge_cases), and Definition of done sections.

Notes / backlog

  • The deeper net for two of these bugs is a behavioural linter: AI-008 (redundant-call) and a new join-key-consistency linter would catch the city_id / recompute regressions in code automatically. Both remain specified-but-unimplemented; this release strengthens the skill-level guards and the edge_cases[] bridge that forces a test.

216 Python + 16 Go tests green, ruff clean.