Skip to content

Commit 278e7e8

Browse files
lpcoxCopilot
andauthored
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/actions-lock.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,10 @@
4545
"version": "v4.0.0",
4646
"sha": "4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd"
4747
},
48-
"github/gh-aw-actions/setup-cli@v0.68.1": {
49-
"repo": "github/gh-aw-actions/setup-cli",
50-
"version": "v0.68.1",
51-
"sha": "2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc"
52-
},
53-
"github/gh-aw-actions/setup@v0.68.1": {
48+
"github/gh-aw-actions/setup@v0.68.2": {
5449
"repo": "github/gh-aw-actions/setup",
55-
"version": "v0.68.1",
56-
"sha": "2fe53acc038ba01c3bbdc767d4b25df31ca5bdfc"
50+
"version": "v0.68.2",
51+
"sha": "19c436149e80e5be4f0adbd9cdeb391acea5fa91"
5752
},
5853
"github/gh-aw/actions/setup@v0.68.1": {
5954
"repo": "github/gh-aw/actions/setup",

0 commit comments

Comments
 (0)