Commit 278e7e8
fix: increase token optimizer timeout and tighten prompt (#1990)
* fix: increase token optimizer timeout and tighten prompt
- Increase timeout-minutes from 15 to 25 to prevent premature
termination (the agent was actively working when killed)
- Add focus instruction to prevent agent from exploring unrelated
workflow files
- Trim redundant prompt sections to reduce token overhead
- Remove post-agent steps mention (not used in this workflow)
Closes #1989
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: clarify focus instruction per review feedback
Reword the IMPORTANT directive to explicitly allow:
- Fetching the token usage report issue via gh issue commands
- Scanning workflow filenames via grep to resolve the target
- Reading the single target workflow file
While still prohibiting reading unrelated workflow contents.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 14bfa81 commit 278e7e8
3 files changed
Lines changed: 86 additions & 91 deletions
File tree
- .github
- aw
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 48 | + | |
54 | 49 | | |
55 | | - | |
56 | | - | |
| 50 | + | |
| 51 | + | |
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
| |||
0 commit comments