ambient-context: remove noop-reminder imports, trim workflow prompts (~3,600 chars/run saved) - #43910
Merged
Merged
Conversation
8 tasks
…imming workflow prompts
- Remove {{#runtime-import shared/noop-reminder.md}} from 171 workflow bodies
- Remove shared/noop-reminder.md from frontmatter imports in
daily-agent-of-the-day-blog-writer.md and daily-cache-strategy-analyzer.md
- Move Required Charts table to pre-agent-step in daily-code-metrics.md
- Remove redundant Report Guidelines section from daily-code-metrics.md
- Trim shared/python-dataviz.md body to runtime contract only (~500 chars saved)
- Relocate Discussion mining and Code pattern scanning schemas from
linter-miner.md main body into agent definitions (~1,000 chars saved)
- Recompile all 258 workflows (0 errors)
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove shared/noop-reminder.md imports from workflows
ambient-context: remove noop-reminder imports, trim workflow prompts (~3,600 chars/run saved)
Jul 7, 2026
pelikhan
marked this pull request as ready for review
July 7, 2026 06:08
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The runtime-injected system block already occupies 45–67% of every first request. Workflow-authored text was adding redundant content on top:
shared/noop-reminder.mdduplicated guidance already in the<safe-outputs>system block,daily-code-metrics.mdcarried a 1,238-char static chart table and a 899-char guidelines section that restated an already-imported shared file,linter-miner.mdduplicated sub-agent output schemas that already live in the agent definitions, andshared/python-dataviz.mdmixed env-setup commentary into the agent-visible body.Changes
Remove
shared/noop-reminder.mdimports (172 workflows): drops{{#runtime-import shared/noop-reminder.md}}from 171 workflow bodies and the frontmatterimports:entry fromdaily-agent-of-the-day-blog-writer.mdanddaily-cache-strategy-analyzer.mddaily-code-metrics.md— chart specs → pre-agent step: the variant-conditional### Required Chartstable (~1,238 chars) is now written to/tmp/gh-aw/agent/chart-specs.mdby a shell step keyed onGH_AW_EXPERIMENTS_OUTPUT_FORMAT; the agent body references it with one linedaily-code-metrics.md— remove### Report Guidelines: 899-char section duplicatedshared/reporting.mdwhich is already imported transitively viashared/daily-audit-base.mdshared/python-dataviz.md— body trimmed to runtime contract: removes env-setup/library commentary (~800 chars), keeps dirs, data-separation rule, chart save pattern, and upload API (~500 chars total)linter-miner.md— collapse Step 2 sub-agent schemas: replaces the verbose### Discussion mining(826 chars) and### Code pattern scanning(418 chars) sections in the main body with two bullet lines; full instructions already exist in the respective## agent:definitions