Commit 6e16a61
committed
docs(fix[panes]): Fix wait_for_text guidance that contradicts core teaching
why: "Avoid when you can poll with capture-pane" contradicted prompting.md,
gotchas.md, and recipes.md which all identify polling as the anti-pattern.
For MCP agents, polling also exhausts the LLM context window.
what:
- Reframe "Avoid when" around timeout/never-appearing text risk
- Preserve capture_pane as fallback for known-delay scenarios1 parent 91541b8 commit 6e16a61
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| |||
0 commit comments