Model routing: route Update Astro, Changeset Generator and Sighthound Security Scan (Codex on Copilot) instead of pinning GPT-5.6 Sol and GPT-6 Sol
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Đọc .github/workflows/update-astro.md, changeset.md và sighthound-security-scan.md, sau đó chạy gh aw compile update-astro changeset sighthound-security-scan để kiểm tra cấu hình workflow. Thêm định tuyến Economy dựa trên chi phí vào từng workflow và cấp copilot-requests: write trong hai tệp cần quyền này. Hoàn thành khi biên dịch thành công mà không có cảnh báo mới, các lượt chạy được định tuyến đầu tiên sử dụng đúng các mô hình Luna dự kiến và có chi phí thấp hơn, đồng thời các PR Update Astro vẫn vượt qua bước build tài liệu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Estimated saving: about 450-650 AIC/week. These three Codex workflows already use the Copilot provider but pin a large GPT model. Route them with economy, like Auto-Triage Issues, Ponytail Reviewer and Daily Go Test Parallelizer (#74199, #74201, #74586).
| Workflow | Output | Now | Mode | Agent runs/wk | AIC/run now | Est. saving/wk |
|---|---|---|---|---|---|---|
| update-astro | PR (Astro and npm upgrade for the docs) | copilot/gpt-5.6-sol |
economy |
~2 | ~200 | 250-320 |
| changeset | changeset file pushed to the PR | copilot/gpt-5.6-sol |
economy |
3-6 | ~52 | 130-260 |
| sighthound-security-scan | issue (top Sighthound findings) | copilot/gpt-6-sol |
economy |
5 | ~17 | 50-60 |
AIC/run includes threat detection.
Why
- Codex routing on Copilot works. On AWF v0.29.6, Ponytail Reviewer succeeded on 39 of 40 runs (the one failure was a PR-branch run that never reached routing), Auto-Triage Issues 3 of 3 and Daily Go Test Parallelizer 9 of 9. None of these three workflows uses sub-agents, so the open Codex sub-agent bugs (#71157, #72094) don't apply.
- Routed runs cost much less. Auto-Triage Issues went from 79 to 20 AIC per run (GPT-6 Astra before), Ponytail Reviewer from 15 to 4 (Terra), and Daily Go Test Parallelizer, which also writes code and opens PRs, from 55 to 11-33 on
economy(Terra). Terminal Stylist went from 106 to 35 after leaving its GPT-5.6 Sol pin. economyfor all three. Update Astro's PR has to pass the docs build and is reviewed. Changeset Generator writes one small changeset file. Sighthound finds the violations itself, and the agent only runs when there are actionable findings and summarises the top ones in an issue. For this work, economy picks GPT-5.6 Luna or GPT-6 Luna (hightomax);balancedpicks the same Luna for most of these labels.- Detection gets much cheaper. Threat detection inherits today's pin: about 40 AIC per run for Update Astro, 27 for Changeset Generator (as much as its agent) and 5 for Sighthound. Without a pin it uses the
detectionmodel, about 1 AIC, as on Ponytail Reviewer and Auto-Triage Issues. - No model restrictions. Only a hard cross-system label picks
gpt-5.6-sol:max, which could cost more than today. None of the three works across systems.
Change
In .github/workflows/update-astro.md, changeset.md and sighthound-security-scan.md, delete the top-level model: line and add model-routing to the existing engine block:
engine:
id: codex
model-provider: github
model-routing:
goal: cost
mode: economy
Add copilot-requests: write to permissions in update-astro.md and changeset.md; sighthound-security-scan.md already has it. Keep the prompts, steps and safe outputs. Don't add model restrictions.
Run gh aw compile update-astro changeset sighthound-security-scan. On main (fdfc5d5a0d) these compile with no new warnings: routing is enabled with GPT candidates on Copilot, Update Astro and Changeset Generator move from the COPILOT_GITHUB_TOKEN secret to github.token, and detection uses the detection model.
Check
- Audit the first routed runs with
gh aw audit <run>: expect a Luna pick, and compare AIC per run with the table. - A
gpt-5.6-sol:maxpick means the run was labelled hard cross-system work. If Sighthound keeps getting it and costs more than about 17 AIC per run, restore itscopilot/gpt-6-solpin. - Check that Update Astro's next PRs still pass the docs build.
Estimates use gh-aw usage from 19 October to 3 November and AWF v0.29.6's routing tables; the routed cost per run is estimated from the routed workflows above.
- Ngôn ngữ chính
- Go
- Star
- 5.6k
- Fork
- 615
- Merge trung bình
- 5 giờ 51 phút
- Pull request đã merge (30 ngày)
- 793
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/gh-aw
-
automated-analysis code-quality cookie testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-research
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
automated-analysis code-quality cookie refactoring
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
cookie dependencies go
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
automation cookie
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
enhancement needs:sonnet ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/TypeScript#65370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs: data-ownership invites vendors to build add-ons around the OSCó thể đã có người làm @brandli đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
gentian-org/gentian-os#894 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tech debt testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws/amazon-vpc-cni-k8s#3976 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug raised-by:desk
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
medici-finance/assay#5678 ·
Maintainer thường phản hồi trong vòng 1 ngày