fix: reconcile planner action contract (#3326)

* fix: reconcile planner action contract

The deep_work_rules workflow block was stronger than the planner agent contract: it required verbatim context copies and self-sufficient action text, so planners were incentivized to inline implementation code. Bound action content to directive prose with concrete identifiers, allow behavior/test acceptance criteria, and pin the cross-file contract with a regression test. Closes #3320.

* chore: add changeset for planner contract fix
This commit is contained in:
Tom Boucher
2026-05-09 19:27:36 -04:00
committed by GitHub
parent b5d15fe45d
commit cbc18f5e3e
4 changed files with 112 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3326
---
Reconciled /gsd-plan-phase deep_work_rules with the gsd-planner action contract so planners keep action blocks as directive prose, avoid fenced implementation dumps, and allow behavior/test acceptance criteria alongside source assertions. (#3320)