feat(fb-40): fact-grounded answer — rag-v2 prompt template #132
Reference in New Issue
Block a user
Delete Branch "feat/fb-40-fact-grounded-answer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
SYSTEM_PROMPT_RAG_V2system prompt: V1 의 4 규칙 유지 + 3 신규 (verbatim span 인용 / 학습 지식 동원 금지 / 근거 모호 시 "확실하지 않다").config.rag.prompt_template_version값을system_prompt_for(version)helper 로 dispatch — V1 / V2 / unknown 분기."rag-v1"→"rag-v2". V1 은 legacy backwards-compat (user TOML 명시 시 유지).Design:
docs/superpowers/specs/2026-05-10-p9-fb-40-fact-grounded-answer-design.mdPlan:
docs/superpowers/plans/2026-05-10-p9-fb-40-fact-grounded-answer.mdTest plan
cargo test --workspace --no-fail-fast -j 1green (138 test result lines, 0 FAILED)cargo clippy --workspace --all-targets -- -D warningscleankebab schema --json | jq .models.prompt_template_versionreturns"rag-v2";kebab ask "hello" --json | jq .prompt_template_versionreturns"rag-v2"; user TOML override"rag-v1"produces"rag-v1"answer🤖 Generated with Claude Code