Add tests/golden.rs with insta-backed snapshot assertions for: - researcher (minimal — 3 obligatory blocks only) - cost-guardian (minimal + output_extra_fields) - patent-compliance (minimal + references.extra) - code-implementer (obligatory + 4 implementer-specific blocks) Coverage: all four frontmatter fields (name/description/tools/model), role body, block concatenation order, domain_in / forbidden_domain / handoffs / output format (including extra fields) / references (both optional memory_project + project_claudemd and references.extra). The snapshots in tests/snapshots/*.snap are the signed contract — any change to assembler.rs output must be reviewed via `cargo insta review` and committed alongside the code change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common | ||
| fixtures | ||
| snapshots | ||
| golden.rs | ||