1.5 KiB
1.5 KiB
Sprint 120 Plan: Safe Patch Planning and Verification Handoff
Context
Sprint 119 provides deterministic triage. Sprint 120 converts triage decisions into bounded patch plans and verification handoff packets so automated debug loops can apply changes safely and prove readiness for execution.
Goals
- Build deterministic patch-plan packets from triage outcomes
- Enforce safe-apply constraints and invariant checks before patching
- Add MCP tools for patch-plan generation and verification handoff
- Keep outputs machine-readable and replay-stable for smaller agents
Steps
Step 1439: Safe patch intent model (12 tests)
Step 1440: Allowed-file scope policy model (10 tests)
Step 1441: Patch invariant checker model (10 tests)
Step 1442: Deterministic verification handoff packet model (10 tests)
Step 1443: whetstone_generate_safe_patch_plan MCP tool (8 tests)
Step 1444: whetstone_validate_patch_scope MCP tool (8 tests)
Step 1445: whetstone_build_verification_handoff MCP tool (8 tests)
Step 1446: Guard-test selection planner model (8 tests)
Step 1447: Patch execution readiness packet model (8 tests)
Step 1448: Sprint 120 integration summary + regression (8 tests)
Architecture Gate
- Patch plans must declare invariants and file scope
- Verification handoff outputs must be explicit and deterministic
- Unsafe scope violations must fail closed with structured reasons
- Max 600 lines per header