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

Ouverte Adaptée aux débutants
#83,022 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
1/5
Temps estimé
Moins d'une heure
Accessibilité débutants
88/100
Type d'issue
Refactorisation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
github-actions, markdown

Piste de recherche

Commence par .github/workflows/mattpocock-skills-reviewer.md, en particulier par la protection autour des lignes 83, 120 et 130, et consolide-la sans affaiblir la règle ni supprimer les commandes nommées. Exécute make recompile et valide le .lock.yml régénéré, puis exécute make agent-report-progress avant le push final. Le travail est terminé lorsque la protection en double est supprimée et que toutes les commandes de validation indiquées réussissent.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
Go
Étoiles
5.7k
Forks
646
Merge moyen
4 h 29 min
PR mergées (30 j)
829

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/gh-aw

Toutes les issues de github/gh-aw

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.