Commit ab55d66
committed
fix(ce-work): emitted /goal prompt follows the plan's PR/landing strategy, repo+user override
Removing the hardcoded no-PR left the standalone goal with no PR signal at all,
which could silently flatten a plan's deliberate PR/landing split (the strategy
lives in the Planning Contract, not the DoD, so 'implement to DoD' doesn't bind
it). Add a thin, plan-agnostic precedence line to the emitted prompt:
Follow the plan's PR/landing strategy if it defines one; the repo's
conventions and the user's preferences override it.
Precedence: explicit user instruction > repo/project conventions > user
preferences > the plan's strategy > agent default. Genuine conflicts are caught
by the existing 'contradicts the plan' blocker clause. Standalone only;
return-to-caller keeps the structural 'must not open any PR' (lfg owns the PR).
Applied in execution-engines, plan-handoff, and ce-plan SKILL; emission preamble
updated to carry the precedence line rather than a hardcoded open/don't-open
directive. Tests updated.1 parent c09e40c commit ab55d66
4 files changed
Lines changed: 9 additions & 8 deletions
File tree
- skills
- ce-plan
- references
- ce-work/references
- tests/skills
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
0 commit comments