ln-403-task-rework

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Task Rework Executor

任务返工执行器

Executes rework for a single task marked To Rework and hands it back for review.
对标记为「待返工」的单个任务执行返工操作,并将其转回审核环节。

Purpose & Scope

目标与范围

  • Load full task, reviewer comments, and parent Story; understand requested changes.
  • Apply fixes per feedback, keep KISS/YAGNI, and align with guides/Technical Approach.
  • Update only this task: To Rework -> In Progress -> To Review; no other tasks touched.
  • 加载完整任务、审核员评论及父级Story;理解要求的修改内容。
  • 根据反馈修复问题,遵循KISS/YAGNI原则,并与指南/Technical Approach保持一致。
  • 仅更新当前任务:状态从「待返工」→「进行中」→「待审核」;不得修改其他任务。

Task Storage Mode

任务存储模式

AspectLinear ModeFile Mode
Load task
get_issue(task_id)
Read("docs/tasks/epics/.../tasks/T{NNN}-*.md")
Load review notesLinear commentsReview section in task file or kanban
Update status
update_issue(id, state)
Edit
the
**Status:**
line in file
File Mode transitions: To Rework → In Progress → To Review
维度线性模式文件模式
加载任务
get_issue(task_id)
Read("docs/tasks/epics/.../tasks/T{NNN}-*.md")
加载审核备注Linear评论任务文件或看板中的审核章节
更新状态
update_issue(id, state)
编辑文件中的
**Status:**
文件模式状态流转: 待返工 → 进行中 → 待审核

Workflow (concise)

工作流(精简版)

  1. Receive task: Get task ID from orchestrator (ln-400); read task (Linear: get_issue; File: Read task file), review notes, parent Story.
  2. Plan fixes: Map each comment to an action; confirm no new scope added.
  3. Implement: Follow task plan/checkboxes; address config/hardcoded issues; update docs/tests noted in Affected Components and Existing Code Impact.
  4. Quality: Run typecheck/lint (or project equivalents); ensure fixes reflect guides/manuals/ADRs/research.
  5. Handoff: Set task to To Review (Linear: update_issue; File: Edit status line); move it in kanban; add summary comment referencing resolved feedback.
  1. 接收任务: 从编排器获取任务ID(ln-400);读取任务内容(Linear:调用
    get_issue
    ;文件模式:读取任务文件)、审核备注及父级Story。
  2. 规划修复: 将每条评论映射为对应操作;确认未新增范围。
  3. 实施修复: 遵循任务计划/复选框要求;解决配置/硬编码问题;更新「受影响组件」和「现有代码影响」中提及的文档/测试。
  4. 质量检查: 运行类型检查/代码扫描(或项目等效检查);确保修复符合指南/手册/ADRs/研究成果。
  5. 移交: 将任务状态设置为「待审核」(Linear:调用
    update_issue
    ;文件模式:编辑状态行);在看板中移动任务;添加总结评论,注明已解决的反馈内容。

Critical Rules

核心规则

  • Single-task only; never bulk update.
  • Do not mark Done; only To Review (ln-402 decides Done).
  • Keep language (EN/RU) consistent with task.
  • No new tests/tasks created here; only update existing tests if impacted.
  • Do NOT commit. Leave all changes uncommitted — ln-402 reviews and commits with task ID reference.
  • 仅处理单个任务;绝不批量更新。
  • 不得标记为「完成」;仅能设置为「待审核」(完成状态由ln-402决定)。
  • 保持任务语言(英语/俄语)一致。
  • 不得在此创建新测试/任务;仅在受影响时更新现有测试。
  • 禁止提交代码。所有修改保持未提交状态——由ln-402审核并关联任务ID提交。

Definition of Done

完成标准

  • Task and review feedback fully read; actions mapped.
  • Fixes applied; docs/tests updated as required.
  • Quality checks passed (typecheck/lint or project standards).
  • Status set to To Review; kanban updated; summary comment added referencing fixed items.
  • 已完整阅读任务及审核反馈;已映射所有修复操作。
  • 已完成修复;已按要求更新文档/测试。
  • 已通过质量检查(类型检查/代码扫描或项目标准检查)。
  • 已将任务状态设置为「待审核」;已更新看板;已添加总结评论注明已修复项。

Reference Files

参考文件

  • [MANDATORY] Problem-solving approach:
    shared/references/problem_solving.md
  • Kanban format:
    docs/tasks/kanban_board.md

Version: 3.0.0 Last Updated: 2025-12-23
  • [强制] 问题解决方法:
    shared/references/problem_solving.md
  • 看板格式:
    docs/tasks/kanban_board.md

版本: 3.0.0 最后更新: 2025-12-23