Skip to content

EXTERNAL-CONSUMER CONTRACT: calibrate-draft 程式化入口(供 IDD idd-comment --type=reply soft-integration) #1

Description

@kiki830621

Problem

PsychQuant/issue-driven-development#269 決議:idd-comment 新增第 7 型 --type=reply(human-facing 逐點回覆),soft-depend 本 plugin 做 voice / recipient calibration(graceful degrade:缺席時印安裝指令照 post)。

目前 perspective-writer 只有 user-facing 的對話式 6-phase skill,沒有供外部 plugin 呼叫的文件化入口契約。IDD 端(consumer)需要下列問題有 normative 答案:

  1. 入口形態:consumer 用 Skill(skill="perspective-writer:perspective-writer") 帶什麼 args?(draft 文字或檔案路徑、recipient pointer、觸發情境說明)
  2. Recipient context 解析:consumer 傳 GitHub @login/人名,calibration 從 target repo .claude/rules/correspondence-<person>.md 讀規則(本 plugin 既有慣例)——缺 rules 檔時的行為(interview? 通用禮貌預設?)需定義
  3. 不可變更約束(CRITICAL):calibration 不得改動 referent 錨定事實——commit SHA、file / theorem 引用、逐字 blockquote 的原文。這是 T-Schema 紀律在 consumer 情境的鏡像:潤飾語氣,不碰指涉
  4. 回傳契約:calibrated draft 的交付形態(回傳文字 vs in-place 檔案編輯)
  5. 版本承諾:MIN 版本 floor 供 consumer pin(前例:parallel-ai-agents 2.19.0、codex-pro 0.7.0 的 EXTERNAL-CONSUMER CONTRACT 段)

Type

feature

Expected

文件化的 EXTERNAL-CONSUMER CONTRACT 段(README 或 docs/),涵蓋上述 5 點。PsychQuant/issue-driven-development#269 的 spectra proposal 將引用本契約的座標(check-plugin-presence.sh perspective-writer perspective-writer)與 MIN 版本。

Actual

無任何 consumer-facing 契約;外部 plugin 只能盲呼叫 user-facing skill,args 語意與不變量無承諾。

Cross-ref

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions