-
Notifications
You must be signed in to change notification settings - Fork 312
Description
Addresses #22105 — /q process more files/functions in one run. Update prompt. Try a more dynamic boundary.
What changed
Updated .github/workflows/daily-function-namer.md to replace the fixed 3-files-per-run limit with a dynamic function budget approach.
Before
- Hard-coded: always select the next 3 files from the round-robin
- Advance index by 3 each run regardless of file complexity
After
- Candidate pool: 8 files selected from round-robin starting position
- Quick scan:
get_symbols_overviewon all 8 candidates (already available after Serena activation) - Greedy selection: add files to the session until the 25-function budget is exhausted or 6 files are selected
- Smart advancement: round-robin index advances by the actual number of files selected
Why dynamic is better
| Scenario | Before | After |
|---|---|---|
| 3 tiny files (2 fn each) | 6 functions analyzed | 6–12 functions analyzed |
| 1 massive file (30 fn) | 3 files analyzed | 1 file (30 fn) fills budget |
| Mixed sizes | 3 files regardless | Up to 6 small files or 1–2 large ones |
Small files are bundled together for a richer session; large files justify a focused run on their own.
Validation
Compiled successfully: daily-function-namer.md ✅ (no errors or warnings)
Warning
🛡️ Protected Files — Push Permission Denied
This was originally intended as a pull request, but the patch modifies protected files: .github/workflows/daily-function-namer.md.
The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission. A human must create the pull request manually.
To create a pull request with the changes:
# Download the patch from the workflow run
gh run download 23382686837 -n agent -D /tmp/agent-23382686837
# Create a new branch
git checkout -b copilot/rename-functions-checks-command-ci-codemod-6bcd6bf66ee14b5e main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-23382686837/aw-copilot-rename-functions-checks-command-ci-codemod.patch
# Push the branch and create the pull request
git push origin copilot/rename-functions-checks-command-ci-codemod-6bcd6bf66ee14b5e
gh pr create --title '[q] feat: dynamic boundary for daily-function-namer (process more files/functions per run)' --base main --head copilot/rename-functions-checks-command-ci-codemod-6bcd6bf66ee14b5e --repo github/gh-awNote
🔒 Integrity filtering filtered 1 item
Integrity filtering activated and filtered the following item during workflow execution.
This happens when a tool call accesses a resource that does not meet the required integrity or secrecy level of the workflow.
- issue:Rename
policyStatusesandgetActivationOutputsCodemodfor discoverability #22105 (issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".)
- expires on Mar 23, 2026, 3:33 PM UTC