feat: /idd-ask — grounded QA over the issue corpus (surfacing family 4th member)#266
Merged
Conversation
…4th member) Mirrors /spectra-ask for IDD's knowledge base (issues + comments + linked PRs, open+closed): natural-language question -> decide-to-search gate (greetings/meta skip; bug-shaped questions NEVER trigger diagnose) -> retrieval delegating idd-find's search backend (family rule: never rebuild a read-only query) -> full-text read of top-N hits (default 5, --limit capped at 10 — the honest token-cost boundary) -> grounded synthesis: first line blockquotes the question, every claim carries an issue/comment citation, source priority closed-with-PR > open > orphaned comment with conflicts surfaced, ending with Referenced Issues. Corpus silence is reported, never filled from training memory. First live run of the #140 fourth-member procedure: three-question gate recorded honestly (Q3 delegate-consumer is a weak hit — ask-type skills serve humans, per the spectra-ask isomorph) and the family member table updated. Discoverability: plugin CLAUDE.md row + usecase-routing scenario 30. TDD: new suite idd-ask RED 0/17 -> GREEN 17/0; sweep 37 suites 0 fail; Spectra change idd-ask-skill 4/4 tasks, validate clean. Refs #72
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #72
/idd-ask — issue 知識庫 grounded 問答(surfacing family 第 4 員)
Spectra change
idd-ask-skill(opt-out → propose,診斷既定:「鏡像 /spectra-ask」)。契約要點
idd-findbackend(family 鐵律:不重造唯讀查詢)→ top-N 全文(預設 5、上限 10 — token 成本界限明文)→ grounded 合成### Referenced Issues;語料查無 → 誠實說查無,不從訓練記憶腦補Verification
新 suite
idd-ask(RED 0/17 → GREEN 17/0);全 sweep 37 suites 0 fail;artifacts validate ✓(analyze 僅 1 個刻意 RFC-2119MAYSUGGEST)。issue 結案不由本 PR 觸發 — merge 後走 close ritual。