review

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

GStack 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

调度协议

  1. Infer the mode from product stage, surface, requested artifact, mutation authorization, evidence needs, and deployment state. Do not route by keyword alone.
  2. Refine the public mode to the smallest applicable internal specialist set, then print the required execution header before any substantive output.
  3. 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.
  4. Read
    references/EXECUTION-PROFILES.md
    ,
    references/SHARED-JUDGMENT.md
    , and
    references/AUTHORITY-POLICY.md
    for every invocation. Read
    references/QUESTION-FORMAT.md
    before 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. Read
    references/RUNTIME.md
    before capability-dependent work and
    references/WEB-CONTEXT.md
    before public-web work. When the target is a repository, read
    references/CODE-INTELLIGENCE.md
    once before substantive specialist work and follow its one-time indexing offer. Read
    references/THIRD-PARTY-ACTIONS.md
    before directing the user to act on a third-party website (API key registration, vendor accounts, dashboards).
  5. If an old asset path is unavailable, use
    references/ASSETS.md
    . If legacy prose invokes another retired skill, resolve it through
    references/COMPATIBILITY.md
    and stay inside these five dispatchers.
  6. 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.
  7. Match the user's language. Keep code identifiers, commands, and source quotations original when translation would reduce accuracy.
  8. At exit, report completed artifacts, evidence, unresolved decisions, skipped modules with reasons, and any blocked gate.
  1. 根据产品阶段、界面、请求的工件、变更授权、证据需求和部署状态推断模式。不要仅通过关键字进行路由。
  2. 将公开模式细化为最小适用的内部专家集合,然后在任何实质性输出之前打印必需的执行头。
  3. 从模式/别名表中所示路径完整读取每个活跃模块。其专家主体、行为契约、STOP gate以及附加的上游判断端口具有约束力。仅当工作流到达其包本地引用时,才完整读取延迟加载的专家阶段。
  4. 每次调用时都要阅读
    references/EXECUTION-PROFILES.md
    references/SHARED-JUDGMENT.md
    references/AUTHORITY-POLICY.md
    。在向用户提出第一个问题前,阅读
    references/QUESTION-FORMAT.md
    ;它定义了决策摘要格式、结构化负载上限,以及在无问题工具可用时的说明性文字回退方案。根据结构化操作条件推断Depth,然后遵守其强制模块、合法跳过项、工件和声明限制。在开展依赖能力的工作前阅读
    references/RUNTIME.md
    ,在开展公共Web工作前阅读
    references/WEB-CONTEXT.md
    。当目标是仓库时,在开展实质性专家工作前阅读一次
    references/CODE-INTELLIGENCE.md
    并遵循其一次性索引提议。在指导用户在第三方网站执行操作(API密钥注册、供应商账户、仪表板)前阅读
    references/THIRD-PARTY-ACTIONS.md
  5. 如果旧资产路径不可用,使用
    references/ASSETS.md
    。如果旧版说明性文字调用了已停用的其他技能,通过
    references/COMPATIBILITY.md
    解决,并保持在这五个调度器范围内。
  6. 保留仅报告与变更的边界。缺少变更授权时默认拒绝:不要仅仅因为专家可以修复就进行编辑。提交、推送、PR、合并、部署、消息及其他外部变更仍需用户明确授权。
  7. 匹配用户使用的语言。当翻译会降低准确性时,保留代码标识符、命令和源代码引用的原始内容。
  8. 退出时,报告已完成的工件、证据、未解决的决策、带原因的跳过模块以及任何被阻塞的gate。

Top-level modes

顶级模式

ModeTargetInfer whenCandidate internal specialists
Normal
A current branch diffA standard pre-landing or broad code review is requested.
references/legacy/review.md
Security
The repository threat surfaceThe primary risk is auth, secrets, supply chain, abuse, infrastructure, or threat modeling.
references/legacy/cso.md
Performance
Changed performance behaviorThe review should concentrate on latency, memory, resource use, hot paths, or regressions.
references/legacy/review.md
Deep
A high-risk or cross-cutting changeThe change warrants health evidence and every genuinely independent outside voice available.
references/legacy/review.md
,
references/legacy/health.md
,
references/legacy/codex.md
,
references/legacy/claude.md
模式目标推断时机候选内部专家模块
Normal
当前分支代码差异请求标准预上线或广泛代码审查时。
references/legacy/review.md
Security
仓库威胁面主要风险涉及认证、密钥、供应链、滥用、基础设施或威胁建模时。
references/legacy/cso.md
Performance
已更改的性能行为审查需聚焦于延迟、内存、资源使用、热点路径或性能退化时。
references/legacy/review.md
Deep
高风险或跨领域变更变更需要健康状况证据以及所有真正独立的外部意见支持时。
references/legacy/review.md
,
references/legacy/health.md
,
references/legacy/codex.md
,
references/legacy/claude.md

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 invocationLegacy aliasPublic modeRoleModule
/review
diff
Normal
mandatory
references/legacy/review.md
/cso
security
Security
mandatory
references/legacy/cso.md
/health
health
Deep
mandatory
references/legacy/health.md
/codex
outside-codex
Deep
mandatory
references/legacy/codex.md
/claude
outside-claude
Deep
mandatory
references/legacy/claude.md
以下所有专家均为内部实现细节,包括必需输入。旧版别名用于细化顶级模式;绝不会添加公开技能或顶级模式。
旧版调用旧版别名公开模式角色模块
/review
diff
Normal
强制
references/legacy/review.md
/cso
security
Security
强制
references/legacy/cso.md
/health
health
Deep
强制
references/legacy/health.md
/codex
outside-codex
Deep
强制
references/legacy/codex.md
/claude
outside-claude
Deep
强制
references/legacy/claude.md

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共享入门包装仅用于来源标记,在标准执行过程中绝不会运行。