Skip to content

[refactor] Issue body archival 策略 — 防止 audit section 長期堆積導致可讀性下降 (sister concern from #116) #118

Description

@kiki830621

Problem

#116 sister concern 浮出: 為了避免 notification spam,#116 strategy 把 AI-only content routing 到 gh issue edit --body PATCH。長期會讓 issue body 累積大量 audit section(Vagueness Pre-check / Sister Concerns Filed / Linked-Context Siblings Filed / Clarification / Current Status …),使用者打開 issue 第一眼看到的是一堵牆。

需要 archival 策略:

  • Threshold(N section 或 K chars 後 trigger)
  • 移到哪裡(.claude/.idd/issue-history/issue-NNN-archive-<date>.md?)
  • Issue body 留下 pointer link
  • 哪個 skill 做 archival(新 idd-archive-body?還是 idd-update 內含 garbage-collect step?)

Type

refactor(quality-of-life,非 blocker)

Expected

長期 issue 維持 body 可讀(< N sections),老舊 audit section 自動歸檔到 file,issue body 留 link 可追溯。

Actual

無 archival。每個 IDD lifecycle 都 append 一塊到 body,長期 issue 可能 5000+ lines。

Source

surfaced during /idd-diagnose #116 sister concern surfacing (Step 3.6)

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