Skip to content

Phase 3: Plan capture types + governance block formatting - #821

Open
davidmiuraactualai wants to merge 1 commit into
feat/pgd-enhanced-brieffrom
feat/pgs-plan-submission
Open

Phase 3: Plan capture types + governance block formatting#821
davidmiuraactualai wants to merge 1 commit into
feat/pgd-enhanced-brieffrom
feat/pgs-plan-submission

Conversation

@davidmiuraactualai

Copy link
Copy Markdown

Summary

  • Adds PlanCaptureResult enum, classify_decision_for_hook(), and format_governance_block_output()
  • Maps all 6 governance decisions to Approved/Blocked classification
  • Rich block output with findings, decomposition guidance, rework constraints
  • Exhaustive match arms (no wildcard) for future-proofing

Test plan

  • cargo test governance — 44 tests passing (10 new)
  • Adversarial review: fixed wildcard match arm, verified serde consistency

🤖 Generated with Claude Code

Adds PlanCaptureResult enum, classify_decision_for_hook mapping all 6
decision types, and format_governance_block_output for rich feedback on
blocked plans. Exhaustive match arms for future-proofing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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