Problem
From verification of #53 (PR #58):
「跑 find tests/ 與 *.bats 在整個 repo:zero 結果。Plugin 沒 test infra。Implementation Complete 的「Smoke Tests (manual — 4/4 PASS)」是 self-reported 的人工跑 jq,沒記錄 input fixture、沒記錄 reproduce 命令、沒 commit 到 repo」
— Source: team:devils-advocate (HIGH structural)
Repo 的 markdown skill 沒有自動化 test infra。所有 jq filter / regex / shell logic 都靠 manual smoke test → self-reported PASS → commit。半年後 jq 升版改變 (?m) 行為、或 contributor 把 regex 改錯,沒有自動化 catch。
Type
test (infrastructure)
Priority
P3 (structural debt — risk grows over time)
Strategy
- 在
plugins/issue-driven-dev/tests/ 加 shell test fixture infra(bats 或純 bash)
- 為現有 jq detection logic 寫 fixture:
- Test runner:
tests/diagnosis-detection.sh 跑 jq filter 對每個 fixture,assert expected output
- CI integration (若有 CI infra)
Acceptance
Related
Source: surfaced during /idd-verify --pr 58 (cluster #49 #53), Step 5b triage. Master report: #58 (comment)
Problem
Repo 的 markdown skill 沒有自動化 test infra。所有 jq filter / regex / shell logic 都靠 manual smoke test → self-reported PASS → commit。半年後 jq 升版改變
(?m)行為、或 contributor 把 regex 改錯,沒有自動化 catch。Type
test (infrastructure)
Priority
P3 (structural debt — risk grows over time)
Strategy
plugins/issue-driven-dev/tests/加 shell test fixture infra(bats 或純 bash)tests/fixtures/comments/canonical.json— 真 diagnosis commenttests/fixtures/comments/quoted.json— quoted history (> ## Diagnosis)tests/fixtures/comments/mid_text.json— inline mentiontests/fixtures/comments/leading_ws.json—## Diagnosis(related idd-all: 增加 HITL(attended)模式 — direct-commit + 允許 sub-skill AskUserQuestion #1 leading-ws follow-up)tests/fixtures/comments/fenced.json— code block## Diagnosis(related idd-all: direct-commit mode 加 passive warning (dirty tree / on default branch) #2 fenced follow-up)tests/diagnosis-detection.sh跑 jq filter 對每個 fixture,assert expected outputAcceptance
bash tests/diagnosis-detection.shRelated
Source: surfaced during /idd-verify --pr 58 (cluster #49 #53), Step 5b triage. Master report: #58 (comment)