Skip to content

Align daily ambient context optimizer with proxy-aware CLI guidance#36738

Merged
pelikhan merged 3 commits into
mainfrom
copilot/update-daily-ambient-context-optimizer
Jun 3, 2026
Merged

Align daily ambient context optimizer with proxy-aware CLI guidance#36738
pelikhan merged 3 commits into
mainfrom
copilot/update-daily-ambient-context-optimizer

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 3, 2026

This update makes the daily ambient context optimizer evaluate whether GitHub gh-proxy and cli-proxy are enabled in sampled workflows. When they are missing, it now drives recommendations to enable them and rewrites MCP-tool-oriented problem wording into CLI-form instructions.

  • Data collection switched to CLI form

    • Replaced MCP-tool-specific log/audit instructions with gh aw CLI commands so optimizer guidance matches proxy-enabled execution patterns.
  • Feature-readiness review added

    • Added explicit source-review checks for:
      • tools.github.mode: gh-proxy
      • tools.cli-proxy: true
  • Optimizer workflow now proxy-enabled

    • Enabled proxy settings in this workflow frontmatter:
      • tools.github.mode: gh-proxy
      • tools.cli-proxy: true
  • Recommendation policy tightened

    • Added prioritization guidance to recommend enabling missing proxy features and rewriting MCP-centric problem statements to CLI-command form.
  • Report structure alignment

    • Explicitly removed the idea of a standalone “MCP Tools” section; MCP-to-CLI rewrite guidance now stays within existing recommendation categories.
  • Branch sync and regeneration

    • Merged the latest main into this branch.
    • Recompiled workflows to refresh generated lockfiles and resolve merge-time lockfile drift.
- run `gh aw logs --start-date -1d -c 60 --json -o /tmp/gh-aw/aw-mcp/logs`
- run `gh aw audit <run-id> --json`
- check `tools.github.mode: gh-proxy`, `tools.cli-proxy: true`

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Update daily ambient context optimizer for CLI proxy feature checks Align daily ambient context optimizer with proxy-aware CLI guidance Jun 3, 2026
Copilot AI requested a review from pelikhan June 3, 2026 21:55

Also review proxy/CLI feature readiness for each sampled workflow:

- GH Proc enabled (check `features.gh-proc: true` or an equivalent GH Proc enablement marker in frontmatter)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilots delete this line

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 164093c.

2. reduce broad skill loading or oversized skill fusion
3. simplify or remove low-value inline agents
4. move deterministic data gathering out of the main prompt
5. enable GH Proc, `gh-proxy`, and `cli-proxy` when missing, then rewrite MCP-tool-oriented problem wording to CLI-form commands
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot enable gh-proxy, cli-proxy

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 164093c: enabled tools.github.mode: gh-proxy and tools.cli-proxy: true.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented Jun 3, 2026

@copilot merge main and recompile

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jun 3, 2026

@copilot merge main and recompile

Done in 6643a4f: merged main into this branch and recompiled workflows.

@pelikhan pelikhan marked this pull request as ready for review June 3, 2026 22:26
Copilot AI review requested due to automatic review settings June 3, 2026 22:26
@pelikhan pelikhan merged commit 7e4f3dc into main Jun 3, 2026
@pelikhan pelikhan deleted the copilot/update-daily-ambient-context-optimizer branch June 3, 2026 22:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Daily Ambient Context Optimizer workflow to be proxy-aware (GitHub gh-proxy + cli-proxy) and to prefer CLI-based operational guidance over MCP-tool-specific instructions, so its optimization recommendations better match the repository’s intended execution model.

Changes:

  • Enabled tools.cli-proxy: true and tools.github.mode: gh-proxy for the optimizer workflow and regenerated its compiled lockfile accordingly.
  • Replaced MCP-tool-specific run collection instructions with equivalent gh aw logs / gh aw audit CLI commands.
  • Refreshed multiple workflow lockfiles (notably GitHub MCP server container version bumps as part of regeneration/sync).
Show a summary per file
File Description
.github/workflows/daily-ambient-context-optimizer.md Enables cli-proxy + gh-proxy and rewrites run/audit collection guidance to gh aw CLI form; adds proxy-readiness checks and recommendation policy notes.
.github/workflows/daily-ambient-context-optimizer.lock.yml Regenerated compiled workflow to start/stop CLI proxy, adjust injected prompt guidance, and align MCP CLI mounting/server list with proxy execution.
.github/workflows/daily-code-metrics.lock.yml Regenerated lock manifest (includes GitHub MCP server container version bump).
.github/workflows/chaos-pr-bundle-fuzzer.lock.yml Regenerated lock manifest (includes GitHub MCP server container version bump).
.github/workflows/agentic-token-trend-audit.lock.yml Regenerated lock manifest (includes GitHub MCP server container version bump).
.github/workflows/agentic-token-audit.lock.yml Regenerated lock manifest (includes GitHub MCP server container version bump).

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 6/6 changed files
  • Comments generated: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants