Repository navigation
v0.9.0 — investigate guardrails: edge_cases bridge + reference-spec + sharper self-review
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 concreteedge_cases[]entry in the YAML patch. It persists in the contract, renders intoARCHITECTURE.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 oncity_id, notcity_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.declinedvs an inventedtask.offer_rejected) instead of renaming silently. Hint, never override. - Definition-of-done checklist (step 10) — a green
go build/go testclears 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 & actoris now a first-class clarify dimension, split out ofEntry point & ownership, with an explicit rule that every sub-question inside a dimension is its own checkbox.architecture-investigateoutput 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 thecity_id/ recompute regressions in code automatically. Both remain specified-but-unimplemented; this release strengthens the skill-level guards and theedge_cases[]bridge that forces a test.
216 Python + 16 Go tests green, ruff clean.