Reduce ambient prompt duplication in daily cache analyzer + shared workflow imports - #48733
Merged
Merged
Conversation
8 tasks
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Optimize daily ambient context for 2026-07-28
Reduce ambient prompt duplication in daily cache analyzer + shared workflow imports
Jul 28, 2026
pelikhan
marked this pull request as ready for review
July 28, 2026 21:48
Collaborator
|
@copilot resolve the merge conflicts on this branch. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reduces duplicated ambient prompt content while preserving workflow behavior.
Changes:
- Consolidates shared reporting and Serena Go guidance.
- Compresses repeated cache-analyzer finding tables.
- Regenerates many dependent lockfile hashes, though some importers remain stale.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/shared/reporting.md |
Consolidates reporting guidance. |
.github/workflows/shared/mcp/serena-go.md |
Retains only Go-specific guidance. |
.github/workflows/daily-cache-strategy-analyzer.md |
Replaces repeated severity tables. |
.github/workflows/daily-cache-strategy-analyzer.lock.yml |
Regenerates cache analyzer output. |
.github/workflows/workflow-normalizer.lock.yml |
Refreshes generated body hash. |
.github/workflows/workflow-health-manager.lock.yml |
Refreshes generated body hash. |
.github/workflows/test-quality-sentinel.lock.yml |
Refreshes generated body hash. |
.github/workflows/terminal-stylist.lock.yml |
Refreshes generated body hash. |
.github/workflows/super-linter.lock.yml |
Refreshes generated body hash. |
.github/workflows/static-analysis-report.lock.yml |
Refreshes generated body hash. |
.github/workflows/spec-extractor.lock.yml |
Refreshes generated body hash. |
.github/workflows/smoke-copilot.lock.yml |
Refreshes generated body hash. |
.github/workflows/smoke-copilot-arm.lock.yml |
Refreshes generated body hash. |
.github/workflows/smoke-copilot-aoai-entra.lock.yml |
Refreshes generated body hash. |
.github/workflows/smoke-copilot-aoai-apikey.lock.yml |
Refreshes generated body hash. |
.github/workflows/smoke-codex.lock.yml |
Refreshes generated body hash. |
.github/workflows/scout.lock.yml |
Refreshes generated body hash. |
.github/workflows/research.lock.yml |
Refreshes generated body hash. |
.github/workflows/repo-tree-map.lock.yml |
Refreshes generated body hash. |
.github/workflows/pr-triage-agent.lock.yml |
Refreshes generated body hash. |
.github/workflows/pr-nitpick-reviewer.lock.yml |
Refreshes generated body hash. |
.github/workflows/pr-description-caveman.lock.yml |
Refreshes generated body hash. |
.github/workflows/poem-bot.lock.yml |
Refreshes generated body hash. |
.github/workflows/pdf-summary.lock.yml |
Refreshes generated body hash. |
.github/workflows/org-health-report.lock.yml |
Refreshes generated body hash. |
.github/workflows/linter-miner.lock.yml |
Refreshes generated body hash. |
.github/workflows/issue-triage-agent.lock.yml |
Refreshes generated body hash. |
.github/workflows/issue-arborist.lock.yml |
Refreshes generated body hash. |
.github/workflows/impeccable-skills-reviewer.lock.yml |
Refreshes generated body hash. |
.github/workflows/gpclean.lock.yml |
Refreshes generated body hash. |
.github/workflows/go-pattern-detector.lock.yml |
Refreshes generated body hash. |
.github/workflows/glossary-maintainer.lock.yml |
Refreshes generated body hash. |
.github/workflows/functional-pragmatist.lock.yml |
Refreshes generated body hash. |
.github/workflows/dictation-prompt.lock.yml |
Refreshes generated body hash. |
.github/workflows/dev.lock.yml |
Refreshes generated body hash. |
.github/workflows/dev-hawk.lock.yml |
Refreshes generated body hash. |
.github/workflows/design-decision-gate.lock.yml |
Refreshes generated body hash. |
.github/workflows/deployment-incident-monitor.lock.yml |
Refreshes generated body hash. |
.github/workflows/dependabot-go-checker.lock.yml |
Refreshes generated body hash. |
.github/workflows/deep-report.lock.yml |
Refreshes generated body hash. |
.github/workflows/dataflow-pr-discussion-dataset.lock.yml |
Refreshes generated body hash. |
.github/workflows/daily-syntax-error-quality.lock.yml |
Refreshes generated body hash. |
.github/workflows/daily-hippo-learn.lock.yml |
Refreshes generated body hash. |
.github/workflows/daily-function-namer.lock.yml |
Refreshes generated body hash. |
.github/workflows/daily-aw-cross-repo-compile-check.lock.yml |
Refreshes generated body hash. |
.github/workflows/copilot-pr-nlp-analysis.lock.yml |
Refreshes generated body hash. |
.github/workflows/copilot-pr-merged-report.lock.yml |
Refreshes generated body hash. |
.github/workflows/copilot-opt.lock.yml |
Refreshes generated body hash. |
.github/workflows/commit-changes-analyzer.lock.yml |
Refreshes generated body hash. |
.github/workflows/cloclo.lock.yml |
Refreshes generated body hash. |
.github/workflows/cli-version-checker.lock.yml |
Refreshes generated body hash. |
.github/workflows/ci-coach.lock.yml |
Refreshes generated body hash. |
.github/workflows/aw-failure-investigator.lock.yml |
Refreshes generated body hash. |
.github/workflows/auto-triage-issues.lock.yml |
Refreshes generated body hash. |
.github/workflows/artifacts-summary.lock.yml |
Refreshes generated body hash. |
.github/workflows/archie.lock.yml |
Refreshes generated body hash. |
.github/workflows/approach-validator.lock.yml |
Refreshes generated body hash. |
.github/workflows/agent-persona-explorer.lock.yml |
Refreshes generated body hash. |
.github/workflows/agent-performance-analyzer.lock.yml |
Refreshes generated body hash. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 60/60 changed files
- Comments generated: 2
- Review effort level: Medium
| --- | ||
|
|
||
| ## Report Structure Guidelines | ||
| ## Reporting Guidelines |
| --- | ||
|
|
||
| ## Serena Go Code Analysis | ||
| ## Go-specific constraints |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Resolved in commit |
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.
Daily ambient-context sampling flagged repeated prompt fragments across workflow first requests, with the highest duplicate ratios in
daily-cache-strategy-analyzerand recurring shared imports (shared/reporting.md,shared/mcp/serena-go.md). This PR trims those repeated sections without changing workflow intent.Shared reporting fragment consolidation
.github/workflows/shared/reporting.mdby merging duplicated heading blocks into one compact guideline section.Serena Go guidance dedup
.github/workflows/shared/mcp/serena-go.mdto only Go-specific constraints, relying onshared/mcp/serena.mdfor base Serena behavior.Daily cache analyzer table/example compression
.github/workflows/daily-cache-strategy-analyzer.mdwith one canonical format plus per-severity detail sections.Regenerated compiled workflows
.lock.ymloutputs reflect the prompt-surface changes.