π Release Highlights
This release focuses on richer observability from gh aw logs β flat classification fields, per-tool-call metrics, and consolidated security reporting β along with several community-driven bug fixes and feature additions.
β οΈ Breaking Changes
gh aw audit report has been removed. Cross-run security reports are now generated directly by gh aw logs --format:
# Before
gh aw audit report --workflow "agent-task" --last 10
gh aw audit report --format pretty
gh aw audit report --last 5 --json
# After
gh aw logs agent-task --format markdown --count 10
gh aw logs --format pretty
gh aw logs --format markdown --last 5 --jsonThe new --last flag is available as an alias for --count to ease migration. All existing --json output continues to work.
β¨ What's New
-
Flat run classification in
gh aw logs --json: Each run now carries a top-levelclassificationstring ("risky","normal","baseline", or"unclassified"), eliminating the need to null-guard against deeply nestedcomparison.classification.label. Query it directly:gh aw logs --json | jq '.runs[] | {id: .database_id, classification}'
-
Per-tool-call metrics in logs: Episode responses now include granular tool-call metrics β token usage, failure counts, and latency per tool β making it possible to identify which tools consume the most resources or fail most frequently.
-
Discussion thread reply support: The
add-commentsafe output now accepts areply_to_idfield, enabling agents to post threaded replies within GitHub Discussions. -
authfield accepted in HTTP MCP server config: Frontmatter validation no longer rejects theauthfield on HTTP MCP servers, unblocking workflows that use authenticated remote MCP endpoints. -
Fuzzy schedule no longer requires an
originremote: Workflows using fuzzy/relative schedules now work correctly in repositories without a configuredoriginremote.
π Bug Fixes & Improvements
- Token analysis workflows fixed: All four token workflows (Copilot/Claude analyzers and optimizers) now correctly parse
gh aw logs --jsonoutput β extracting.runs[]and using snake_case field names. A new sharedtoken-logs-fetchworkflow pre-fetches logs once daily to avoid redundant API calls. - Null-safe jq aggregations: Token optimizer workflows no longer crash with a division-by-zero error when runs have zero token usage.
π Documentation
- Agent-assisted workflow import guide: The packaging and imports guide now includes a step-by-step walkthrough for using a coding agent to import and adapt a workflow from another repository, with tabbed prompt examples for common use cases.
π Community Contributions
A huge thank you to the community members who reported issues that were resolved in this release!
@bbonafed
@corygehr
@jaroslawgajewski
- feat(mcp): Add per-tool-call metrics to
logsresponse (direct issue) - feat(mcp): Include classification label in
logstool response (direct issue)
@jeffhandley
- Fuzzy schedule requires an 'origin' remote (direct issue)
For complete details, see CHANGELOG.
Generated by Release Β· β 1.9M
What's Changed
- [log] Add debug logging to agentdrain package by @github-actions[bot] in #24383
- Wrap token usage step summary in a details section by @Copilot in #24375
- fix: add
authfield tohttp_mcp_toolfrontmatter schema by @Copilot in #24369 - [actions] Update GitHub Actions versions - 2026-04-03 by @github-actions[bot] in #24378
- Proactively ignore .dockerbuild artifacts in logs download by @Copilot in #24386
- feat(add-comment): support reply_to_id for discussion threading from any trigger by @Copilot in #24367
- fix: reduce API rate limit pressure in train-drain3-weights workflow by @Copilot in #24392
- feat(mcp): Surface repository and organization in logs tool response by @Copilot in #24391
- fix: fuzzy schedule scattering works with non-
originremote names by @Copilot in #24390 - feat(logs): add top-level
classificationfield toRunDatain logs response by @Copilot in #24394 - feat(mcp): Add per-tool-call metrics to
logsepisode response by @Copilot in #24389 - docs: add agent-assisted import & adapt section to packaging-imports guide by @Copilot in #24397
- feat: merge
gh aw audit reportintogh aw logs --formatby @Copilot in #24396 - fix: align token workflows with gh-aw logs --json schema and add shared log caching by @lpcox in #24395
Full Changelog: v0.66.0...v0.66.1