Skip to content

[bug] spectra-archive-post-ic 漏偵 prose-only #N reference #170

@kiki830621

Description

@kiki830621

Problem

/spectra-archive Step 7(spectra-archive-post-ic.sh#56)負責 post ## Implementation Complete 到 linked GitHub issue,觸發 /idd-close 的 supersession gate。但對 idd-worktree-isolation change 它回 (none — no linked issue detected),雖然該 change 全程關聯 #167

Root Cause(推測,待 diagnose 確認)

helper 的 linked-issue 偵測掃 archived tasks.mdexplicit markerRefs #N 形式。但 /spectra-propose 產出的 tasks.md 把 issue 號寫在 prose(例如 "referencing issue #167"),不是 Refs #N trailer 形式 → 偵測 miss。--linked-issue 167 也被拒("not in candidate set",因 candidate set 為空)。

Impact

Proposed Solution(待 diagnose)

  1. 擴大偵測來源 — 除 tasks.md 外也掃 proposal.md(IDD proposal 慣例會寫 issue link)。
  2. 或 spectra-propose 埋 marker — 在 tasks.md 或 .openspec.yaml 寫一個 canonical linked-issue: #N 欄位,post-ic 直接讀。
  3. --linked-issue override:candidate set 為空時應允許明確指定(目前空集合 → 拒所有)。

Workaround(已用於 #167

手動 compose ## Implementation Complete comment + gh issue comment


Source: surfaced during /idd-close #167(spectra-archive Step 7 對 idd-worktree-isolation 回 no-linked-issue)。Sister concern from #167.


Current Status

Phase: closed
Last updated: 2026-05-31 by /idd-diagnose

Key Decisions

  • Complexity = Simple → next: /idd-implement #170

Blocking

Commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    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