[awf-feature-surfacing] Surface model-routing and governance toolset guidance
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions
调研方向
从 .github/aw/syntax-engine.md 第 97 行的过时表述开始,并与 docs/src/content/docs/reference/model-routing.md 对照检查,后者已经写明了正确的规则。然后在 docs/src/content/docs/reference/github-tools.md 第 22 行的 Available 列表中添加治理信息,工具用途和 token 权限使用 pkg/workflow/data/github_toolsets_permissions.json。当两个页面都与 schema 及该权限映射一致时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Overview
The seven-day AWF spec/compiler review found two user-facing guidance gaps in recently changed capabilities. The compiler and schema accept the behavior, but two discoverable syntax references still give incomplete or incorrect instructions.
Key findings
- P2 — Model routing syntax:
.github/aw/syntax-engine.mdsaysengine.model-routing.allowed-modelsis required and implies it limits models the routed task may call. Since #68495, it is an optional router candidate list (AWF v0.28.33+); onlymodels.allowedandmodels.blockedset the request policy. The same syntax entry omits theengine.model-provider: githubrequirement for routed Claude and Codex workflows enforced by #68080. - P2 — GitHub governance toolset: The
tools.github.toolsetsschema acceptsgovernanceafter #67738, and.github/aw/syntax-tools-imports.mdlists it, but the Available list indocs/src/content/docs/reference/github-tools.mdomits it. The reference also lacks a short explanation of its custom property and ruleset tools and token permissions.
Evidence and current surfacing
pkg/parser/schemas/main_workflow_schema.jsonhasengine.model-routingrequired fieldsgoalandmodeonly, and describesallowed-modelsas optional router candidates. It includesgovernanceingithub_toolset_name.pkg/workflow/model_routing.goapplies routing policy and provider validation;pkg/workflow/data/github_toolsets_permissions.jsonmapsgovernanceto custom property and ruleset tools and their permission needs.docs/src/content/docs/reference/model-routing.mdcorrectly explains optional candidates, the AWF version boundary, request policy, and the GitHub provider requirement.docs/src/content/docs/reference/frontmatter.mdalso describes the candidate/policy distinction..github/aw/syntax-engine.md:97retains the stale required-field and request-limit wording.docs/src/content/docs/reference/github-tools.md:22has the incomplete toolset list.- Relevant changes: #68495 (
63e2c65) and #68080 (70f8448) for routing; #67738 for GitHub MCP toolsets.
Next actions
- P2: Update
.github/aw/syntax-engine.mdto callallowed-modelsoptional for AWF v0.28.33+, describe it as router candidates only, and point readers tomodels.allowed/models.blockedfor request policy. State that routed Claude and Codex must resolveengine.model-providertogithub. - P2: Update the GitHub tools reference's available-toolsets list and add a compact
governanceexample with the tool purposes and required token permissions, using the permission map as the source.
Generated by 🧭 Daily AWF Spec Compiler Surfacing Review · codex · gpt60 · 127.8 AIC · ⌖ 5.96 AIC · ⊞ 14.1K · ◷
- expires on Oct 20, 2026, 2:27 PM UTC-08:00
- 主要语言
- Go
- 星标
- 5.4k
- 派生
- 584
- 平均合并
- 3 小时 59 分钟
- 30 天内合并 PR
- 823
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/gh-aw 的其他 Issue
-
goroutineresourceleak (81st linter): paren_unwrap_gap across lock/cancel/channel detection, day one未关闭cookie sergo
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
agentic-workflows cascade-suspected
难度 4/5 3-5 天 新手友好度 22/100
维护者通常 1 天内回复
-
agentic-workflows cascade-suspected
难度 4/5 3-5 天 新手友好度 18/100
维护者通常 1 天内回复
-
agentic-workflows cascade-suspected
难度 4/5 3-5 天 新手友好度 18/100
维护者通常 1 天内回复
-
agentic-workflows cascade-suspected
难度 4/5 1-2 天 新手友好度 15/100
维护者通常 1 天内回复
相似的 Issue
-
copilot-api domain:platform go
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
docs: clarify gh api -f vs -F and @-file expansion in the gh skill可能已有人在做 @MatiasOlivera 今天认领。 未关闭enhancement
难度 2/5 半天 新手友好度 62/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
aws/aws-advanced-go-wrapper#612 ·
-
Say in the changelog that the text-index update cannot be rolled back可能已有人在做 @praetorianer777 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
praetorianer777/GoTome#275 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
SAP/crossplane-provider-btp#1118 ·
维护者通常 1 天内回复