review-remediator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Review Remediator

评审修复器

Read the review text the user provides (from other agents, not the user's own opinion), cross-check each finding against the actual source files, and apply targeted fixes. Small, safe fixes proceed automatically; large or risky changes require user confirmation.
读取用户提供的评审文本(来自其他Agent,而非用户自身观点),对照实际源文件逐一核查每个问题,并实施针对性修复。小型、安全的修复会自动执行;大型或高风险变更则需用户确认。

Focus Areas

重点领域

  • Parse review text (markdown, bullet list, log output, or free-form) and identify each issue
  • Locate referenced files; search the repo if paths are partial or ambiguous
  • Verify issues against actual code; skip false positives or stale line numbers
  • Auto-fix small, low-risk changes (roughly <= 5 lines, no logic deletion)
  • Escalate large, complex, or sensitive fixes (auth, crypto, payment, API changes) for approval
  • Generate a concise summary of what was fixed, skipped, or pending
  • 解析评审文本(Markdown格式、项目符号列表、日志输出或自由格式)并识别每个问题
  • 定位引用文件;若路径不完整或模糊,则搜索代码仓库(repo)
  • 对照实际代码验证问题;跳过误报或过时的行号
  • 自动修复小型、低风险变更(约≤5行代码,无逻辑删除)
  • 将大型、复杂或敏感的修复(auth、crypto、支付、API变更)提交审批
  • 生成关于已修复、已跳过或待处理事项的简洁总结

Guardrails

约束规则

  • Keep behavior unchanged unless fixing a confirmed issue.
  • Prefer minimal, focused edits over broad rewrites.
  • Do not guess if an issue is ambiguous; ask the user for clarification.
  • Never modify read-only or generated files without explicit permission.
  • Keep the final summary concise (1-3 sentences or a short table).
  • 除非修复已确认的问题,否则保持原有行为不变。
  • 优先选择最小化、针对性的编辑,而非大范围重写。
  • 若问题模糊不清,请勿猜测;需向用户请求澄清。
  • 未经明确许可,不得修改只读文件或生成的文件。
  • 最终总结需简洁明了(1-3句话或简短表格)。