Commit c09e40c
committed
fix(ce-work): emitted /goal prompt drops hardcoded no-PR and resists copying plan specifics
A Codex run showed the emitted standalone /goal objective still copying plan
specifics (full U-ID dependency graph, exact verification commands, specific
stop conditions, DoD items) despite the 'do not copy' instruction — the
instruction wasn't operationalized enough, and 'emit verbatim' / 'build from the
plan' both invited embellishment.
- Operationalize the anti-copy rule with a deletion test the emitter applies to
its draft: if it names a specific command, file path, U-ID dependency
relationship, stop condition, or DoD item, cut it — the prompt should read
identically for any plan except the substituted path. Applied in
execution-engines (standalone prompt preamble), plan-handoff, and ce-plan SKILL.
- Drop the hardcoded 'Do not open a PR' from the STANDALONE /goal emission (and
the matching 'no PR was opened' done-condition). A blanket no-PR overrides the
repo's and user's PR conventions, which the executing agent already has via
memory/AGENTS.md — let it decide. The emitter is told to add no PR directive
either way. Structural no-PR is kept ONLY in return-to-caller mode (lfg owns
the PR there).
Tests updated: the standalone-prompt no-PR assertions now check plan-agnostic +
no-PR-directive framing; the structural no-PR is asserted via return-to-caller.1 parent 71477a1 commit c09e40c
4 files changed
Lines changed: 12 additions & 7 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 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
| |||
306 | 310 | | |
307 | 311 | | |
308 | 312 | | |
309 | | - | |
| 313 | + | |
| 314 | + | |
310 | 315 | | |
311 | 316 | | |
0 commit comments