review
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGStack Review
GStack Review
Classify the change, select relevant review modules, validate findings, and distinguish report-only from safe fixes.
对变更进行分类,选择相关审查模块,验证发现结果,并区分仅报告与安全修复。
Required execution header
必需执行头
Before any substantive output, print these exact labels in this exact order. Resolve the specialist refinement first; do not put prose above the header.
text
Target: <concrete repository, product, URL, device, PR, or artifact>
Mode: <selected top-level mode>
Depth: <readiness, standard, or deep>
Mutation: <report-only or exact authorized mutation boundary>
Active modules: <comma-separated internal specialist modules>
Skipped modules: <comma-separated non-active mandatory modules with compact reasons>
Web context: <none, optional, local-browser, or production>在任何实质性输出之前,按以下精确顺序打印这些精确标签。先完成专家细化;不要在头上方添加说明性文字。
text
Target: <具体仓库、产品、URL、设备、PR或工件>
Mode: <选定的顶级模式>
Depth: <就绪、标准或深度>
Mutation: <仅报告或精确授权变更边界>
Active modules: <逗号分隔的内部专家模块>
Skipped modules: <逗号分隔的非活跃强制模块及简要原因>
Web context: <无、可选、本地浏览器或生产环境>Dispatch protocol
调度协议
- Infer the mode from product stage, surface, requested artifact, mutation authorization, evidence needs, and deployment state. Do not route by keyword alone.
- Refine the public mode to the smallest applicable internal specialist set, then print the required execution header before any substantive output.
- Read each active module in full from the path shown in the mode/alias tables. Its specialist body, behavioral contract, STOP gates, and appended upstream judgment ports are binding. Read a lazy specialist phase in full only when the workflow reaches its package-local reference.
- Read ,
references/EXECUTION-PROFILES.md, andreferences/SHARED-JUDGMENT.mdfor every invocation. Readreferences/AUTHORITY-POLICY.mdbefore the first question to the user; it owns the decision-brief format, the structured-payload caps, and the prose fallback when no question tool is available. Infer Depth from structured operating conditions, then obey its mandatory modules, legal skips, artifacts, and claim limits. Readreferences/QUESTION-FORMAT.mdbefore capability-dependent work andreferences/RUNTIME.mdbefore public-web work. When the target is a repository, readreferences/WEB-CONTEXT.mdonce before substantive specialist work and follow its one-time indexing offer. Readreferences/CODE-INTELLIGENCE.mdbefore directing the user to act on a third-party website (API key registration, vendor accounts, dashboards).references/THIRD-PARTY-ACTIONS.md - If an old asset path is unavailable, use . If legacy prose invokes another retired skill, resolve it through
references/ASSETS.mdand stay inside these five dispatchers.references/COMPATIBILITY.md - Preserve report-only versus mutation boundaries. Missing mutation authorization fails closed: do not edit merely because a specialist can fix. Commits, pushes, PRs, merges, deploys, messages, and other external mutations still require affirmative authority from the user.
- Match the user's language. Keep code identifiers, commands, and source quotations original when translation would reduce accuracy.
- At exit, report completed artifacts, evidence, unresolved decisions, skipped modules with reasons, and any blocked gate.
- 根据产品阶段、界面、请求的工件、变更授权、证据需求和部署状态推断模式。不要仅通过关键字进行路由。
- 将公开模式细化为最小适用的内部专家集合,然后在任何实质性输出之前打印必需的执行头。
- 从模式/别名表中所示路径完整读取每个活跃模块。其专家主体、行为契约、STOP gate以及附加的上游判断端口具有约束力。仅当工作流到达其包本地引用时,才完整读取延迟加载的专家阶段。
- 每次调用时都要阅读、
references/EXECUTION-PROFILES.md和references/SHARED-JUDGMENT.md。在向用户提出第一个问题前,阅读references/AUTHORITY-POLICY.md;它定义了决策摘要格式、结构化负载上限,以及在无问题工具可用时的说明性文字回退方案。根据结构化操作条件推断Depth,然后遵守其强制模块、合法跳过项、工件和声明限制。在开展依赖能力的工作前阅读references/QUESTION-FORMAT.md,在开展公共Web工作前阅读references/RUNTIME.md。当目标是仓库时,在开展实质性专家工作前阅读一次references/WEB-CONTEXT.md并遵循其一次性索引提议。在指导用户在第三方网站执行操作(API密钥注册、供应商账户、仪表板)前阅读references/CODE-INTELLIGENCE.md。references/THIRD-PARTY-ACTIONS.md - 如果旧资产路径不可用,使用。如果旧版说明性文字调用了已停用的其他技能,通过
references/ASSETS.md解决,并保持在这五个调度器范围内。references/COMPATIBILITY.md - 保留仅报告与变更的边界。缺少变更授权时默认拒绝:不要仅仅因为专家可以修复就进行编辑。提交、推送、PR、合并、部署、消息及其他外部变更仍需用户明确授权。
- 匹配用户使用的语言。当翻译会降低准确性时,保留代码标识符、命令和源代码引用的原始内容。
- 退出时,报告已完成的工件、证据、未解决的决策、带原因的跳过模块以及任何被阻塞的gate。
Top-level modes
顶级模式
| Mode | Target | Infer when | Candidate internal specialists |
|---|---|---|---|
| A current branch diff | A standard pre-landing or broad code review is requested. | |
| The repository threat surface | The primary risk is auth, secrets, supply chain, abuse, infrastructure, or threat modeling. | |
| Changed performance behavior | The review should concentrate on latency, memory, resource use, hot paths, or regressions. | |
| A high-risk or cross-cutting change | The change warrants health evidence and every genuinely independent outside voice available. | |
| 模式 | 目标 | 推断时机 | 候选内部专家模块 |
|---|---|---|---|
| 当前分支代码差异 | 请求标准预上线或广泛代码审查时。 | |
| 仓库威胁面 | 主要风险涉及认证、密钥、供应链、滥用、基础设施或威胁建模时。 | |
| 已更改的性能行为 | 审查需聚焦于延迟、内存、资源使用、热点路径或性能退化时。 | |
| 高风险或跨领域变更 | 变更需要健康状况证据以及所有真正独立的外部意见支持时。 | |
Hard rules
硬性规则
- Validate critical findings against current code and provenance.
- Trace loosened inputs into unchanged consumers and re-read unchanged user-facing strings.
- Never invoke the current model as its own outside voice.
- 根据当前代码和来源验证关键发现结果。
- 追踪宽松输入到未变更的消费者中,并重新读取未变更的面向用户字符串。
- 切勿将当前模型作为其自身的外部意见来源。
Internal specialist routing aliases
内部专家路由别名
Every specialist below is an internal implementation detail, including mandatory inputs. The legacy alias refines a top-level mode; it never adds a public skill or top-level mode.
| Legacy invocation | Legacy alias | Public mode | Role | Module |
|---|---|---|---|---|
| | | mandatory | |
| | | mandatory | |
| | | mandatory | |
| | | mandatory | |
| | | mandatory | |
以下所有专家均为内部实现细节,包括必需输入。旧版别名用于细化顶级模式;绝不会添加公开技能或顶级模式。
| 旧版调用 | 旧版别名 | 公开模式 | 角色 | 模块 |
|---|---|---|---|---|
| | | 强制 | |
| | | 强制 | |
| | | 强制 | |
| | | 强制 | |
| | | 强制 | |
Completeness invariant
完整性不变量
Do not work from this dispatcher summary when a module is active. Read the referenced module completely, including its provenance marker, specialist workflow, lazy-phase directives, behavioral contract, and bug-fix overlays. The pinned 1.x shared onboarding wrapper is provenance-only and never runs during canonical execution.
当模块处于活跃状态时,不要基于此调度器摘要开展工作。完整读取引用的模块,包括其来源标记、专家工作流、延迟阶段指令、行为契约和错误修复覆盖内容。固定的1.x共享入门包装仅用于来源标记,在标准执行过程中绝不会运行。