Commit d708e02
docs(code-exec): reconcile cookbook prose with no-top-level-return rule
CodexReviewer round-2 request_changes on PR #753: the Recipe 3 example fix
was good but the surrounding prose still overpromised.
- Intro (line 3) no longer claims recipes are 'copy-pasteable'; they are
templates to adapt (placeholder server/tool names; the // language and
// input lines are annotations, not executed code).
- Reworded 'let the failure return to the agent' -> 'surface to the agent'
so the word 'return' never appears in prose implying a top-level return.
The line-18 contract note and the 'Top-level return ❌' table row (added in
the prior commit) already state the rule correctly; verified no other prose
claims an explicit/top-level return becomes the result.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Paperclip <noreply@paperclip.ing>1 parent 7c22b58 commit d708e02
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
231 | 236 | | |
232 | 237 | | |
233 | 238 | | |
234 | | - | |
| 239 | + | |
235 | 240 | | |
236 | 241 | | |
237 | 242 | | |
| |||
0 commit comments