Skip to content

idd-comment: human-facing comment mode — 逐點說清楚哪邊改了什麼 + perspective-writer 深度整合 #269

Description

@kiki830621

Problem

Original text(2026-07-18):
「我覺得如果是要給人看的comment,必須要說清楚哪邊改了什麼,可能我覺得可以跟perspective writer深度整合」
— Source: maintainer feedback,downstream research-repo session(/idd-close 後補「給 review 提出者的逐點回覆 comment」時)

情境:downstream private research repo 跑完 /idd-all → verify → merge → /idd-close 整條 pipeline 後,maintainer 要求對 review 提出者(人類 collaborator,非 AI)發一則「逐點回覆」comment:逐字引用對方原始 review 的每一點(blockquote)→ 緊接說明該點怎麼改(哪個 theorem / 哪段論證 / 哪個 commit)。這則 comment 本質是寫給人看的信件,不是 audit log——但現行 idd-* 的 comment 模板(closing 五段式、verify master report、idd-comment 六型)全部 audit-facing,沒有一型是 recipient-facing。結果是 maintainer 分兩輪口頭指揮才把格式排對(先「tag 他回應他」→ 再「逐點的處理要寫在最後給老師的 comment 裡面,說每一個怎麼改」)。

兩個 gap

  1. 「哪邊改了什麼」的粒度保證:給人看的 comment 必須 per-point 說清楚改動落點(file / theorem / section)+改法+錨定 merge SHA。audit 五段式把這些聚合在 Solution / Changes 段,對「寫 review 的人」不可導航——他要的是「我提的第 3 點你怎麼處理了」,不是聚合摘要。
  2. 語氣與收件人 calibration:recipient-facing comment 本質是 correspondence。perspective-writer plugin(psychquant-claude-plugins)已有 writer voice、recipient context、T-schema referent 紀律(每句 claim 要指到真實事物)、role-calibrator、draft-learner / save-feedback 的 rules 學習迴圈——這些正是「給人看的 comment」需要、而 idd-comment 完全沒有的能力。

Type

feature

Expected

idd-comment(或新 mode / flag,如 --audience human / --reply-to-review)在 comment 的 audience 是人類 collaborator 時:

  1. 模板切成 recipient-facing 逐點結構:對方原文逐點 blockquote → 該點的處理(哪裡改、怎麼改、cross-link commit / PR / theorem label)→ 結尾狀態(merged SHA、同步狀態、下一步)
  2. Draft 經 perspective-writer 深度整合後才 egress:voice、對象關係(指導教授 vs 同儕 vs 外部 reviewer)、T-schema referent check(每句「已修正」都要能指到真實 diff)
  3. Audit trail 不退化:human-facing comment 是 closing summary 之外的加項,不取代五段式

Actual

idd-comment 六型模板(decision / note / question / correction / link / errata)與 idd-close 五段式皆 audit-facing;「給人看」的 comment 只能靠 user 每次口頭指揮 ad-hoc 重排,無 voice calibration、無 per-point 錨定保證、且 perspective-writer 的 rules 學習迴圈吃不到 IDD comment 場景的 feedback(兩套系統各自為政)。

Impact

  • 對外(advisor、合作者、reviewer)溝通品質仰賴每次一次性口頭指令,不可重複、不可累積
  • 逐點回覆是學術協作的高頻場景(review reply、revision letter 的 issue-comment 版),值得 first-class 支援

Case study

  • PsychQuantHsu/psychophysical_representations#141(private):6 點 review 的逐點回覆 comment,兩輪口頭指揮才成形;最終格式(每點:原文 blockquote → 中文說明改法 → 錨定 merge SHA)可直接作為 recipient-facing 模板的雛形

Current Status

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions