[ambient-context] Daily Ambient Context Optimizer - 2026-12-01

Aperta Adatta ai principianti
#83,022 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
88/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, markdown

Direzione di ricerca

Inizia da .github/workflows/mattpocock-skills-reviewer.md, in particolare dalla protezione intorno alle righe 83, 120 e 130, e consolidala senza indebolire la regola o rimuovere i comandi indicati. Esegui make recompile e committa il .lock.yml rigenerato, poi esegui make agent-report-progress prima del push finale. Il lavoro è completato quando la protezione duplicata viene rimossa e tutti i comandi di validazione elencati vengono eseguiti con successo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ambient-context analysis automation backlog:reports cookie optimization report workflow-optimization
Executive Summary

Sampled 4 completed runs from the last 24h across 4 distinct workflows. Median first-request size is 19,242 chars (p95 23,159). About 11 KB of the two largest requests is shared runtime and safe-outputs boilerplate that workflow .md files do not control, so the workflow-level lever is small. One change is recommended, which is the cap under auto-pause.

Highest-Leverage Changes
  1. [workflow-md] Deduplicate the no-GitHub-tools guardrail in Matt Pocock Skills Reviewer. Expected saving is about 0.2 KB (roughly 1% of its 23,159-char request). Impact: low.
CI-Validation Checklist for Implementing Agents
  • Keep one clear "do not call GitHub MCP tools for PR data" rule and keep the named commands gh pr diff, gh pr view, and get_review_comments. Do not weaken the rule.
  • Leave ## agent: pr-triage and all ## skill: blocks unchanged.
  • Run make recompile after editing .github/workflows/mattpocock-skills-reviewer.md and commit the regenerated .lock.yml.
  • Run make agent-report-progress before the final push.
Key Metrics
Metric Value
Sampled runs / distinct workflows 4 / 4
Median / p95 request chars 19,242 / 23,159
Shared leading chars (Matt Pocock vs Test Quality Sentinel) 11,109
Duplicate line ratio up to 0.013
Duplicate paragraph ratio 0.0
PRs merged / closed / close rate (7d) 3 / 2 / 40%

Close-rate warning: auto_pause is active (40% close rate over 5 settled PRs in 7 days). This report is capped at 1 recommendation.

Per-run metrics
Run Workflow Request chars First-request input tokens WSRF Turns
46724766882 Smoke Copilot Sub Agents 16,168 21,692 1.09 7
46725505145 Matt Pocock Skills Reviewer 23,159 8,151 1.65 15
46725505359 Test Quality Sentinel 22,316 8,272 1.56 13
46727788681 Smoke Copilot Auto 14,296 3,851 1.00 3
Repeated Signals and Method Notes
  • Source deviation: the canonical event-logs.jsonl was absent from the downloads. The first user.message in usage/aw_session.jsonl was used instead. prompt.txt was not used as a source.
  • Matt Pocock: workflow body is about 6.7 KB of the 23.2 KB request. The rest is runtime boilerplate.
  • Test Quality Sentinel: workflow body is about 6.0 KB of the 22.3 KB request.
  • Inline ## agent: pr-triage and ## skill: blocks are not in the captured first requests. Only prose references to them appear.
  • Shared runtime boilerplate (safe-outputs CLI guidance, noop versus report_incomplete, temporary_id) is about 11 KB in both large requests. It is compiler-generated, so it is not a workflow-md target. This is a repository-wide observation for compiler owners, not a recommendation.
  • Prefix checks: Matt Pocock source is 13,977 bytes, with 2,901 bytes beyond the 8,000-byte prefix. Test Quality Sentinel source is 22,684 bytes, with a 6,085-byte contract.
Recommendations by Category
workflow-md

1. Deduplicate the no-GitHub-tools guardrail (.github/workflows/mattpocock-skills-reviewer.md, lines 83, 120, 130)

  • Evidence: the same no-GitHub-tools rule appears in three places. Lines 120 and 130 both land in the first request, and line 83 repeats the clause. Estimated saving is about 0.2 KB.
  • Why it shrinks the request: it merges duplicate sentences into one rule while keeping every named command.
  • Expected impact: low.
  • Safe immediately: likely yes after manual review, because no rule is removed and the named commands are kept.
skills

No recommendation this cycle. Skill blocks are not in the captured first requests.

agents

No recommendation this cycle. Inline agent blocks are not in the captured first requests.

References

Generated by 🌫️ Daily Ambient Context Optimizer · copilot · routed: haiku55 xhigh · ~8 AIC · ⌖ ~2 AIC · ⊞ 8.9K · history

  • expires on Dec 8, 2026, 12:01 PM UTC-08:00
Lingua principale
Go
Stelle
5.7k
Fork
646
Merge medio
4h 29m
PR unite (30g)
829

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/gh-aw

Tutte le issue di github/gh-aw

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.