Skip to content

refactor: add failure conditions to plan output#770

Merged
FL4TLiN3 merged 1 commit intomainfrom
refactor/merge-design-roles-into-plan
Mar 13, 2026
Merged

refactor: add failure conditions to plan output#770
FL4TLiN3 merged 1 commit intomainfrom
refactor/merge-design-roles-into-plan

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Add "Failure Conditions" section to plan output: hard reject rules derived from domain constraints, specifying what's wrong, which expert caused it, and where to restart
  • Failure conditions are distinct from success criteria — they are domain-specific rules requiring deep understanding (e.g., "engine code with console.log → reject, redo game-architect")
  • Further slim plan instruction: removed redundant "what failure looks like" from Success Criteria (now in dedicated section)
  • Plan instruction now fits in ~35 lines

Test plan

  • TOML syntax valid
  • bun run test passes

🤖 Generated with Claude Code

Plan now defines 5 things: domain constraints, realistic usage, test
queries, evaluation (success + failure conditions + restart points),
and role division.

Key changes:
- New "Failure Conditions" section in plan output: hard reject rules
  derived from domain constraints, with which expert caused the failure
  and where to restart
- Success Criteria no longer includes "what failure looks like" (moved
  to dedicated Failure Conditions section)
- Failure conditions are not the inverse of success criteria — they are
  domain-specific rules that require deep understanding of constraints

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) March 13, 2026 15:38
@FL4TLiN3 FL4TLiN3 merged commit 0d6d86e into main Mar 13, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the refactor/merge-design-roles-into-plan branch March 13, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant