docs: note hazard-analysis citations drift after the rag.ts decomposition — search by symbol#1000
Conversation
📝 WalkthroughWalkthroughThe clinical hazard analysis Method section now clarifies audit finding scope, remediation status, and symbol-based citation guidance after the RAG implementation decomposition. ChangesRAG documentation references
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
PR #998 (merged) already refreshed the file:line citations after the rag.ts decomposition, so this trims the parallel #1000 down to the one durable complement #998 left untouched: line 14 still claimed each control is "cited at its present location" — an absolute-currency claim that re-stales on every refactor. Replace it with an as-of-#998 note plus guidance to search by the named symbol when a line has drifted (docs:check-links validates the path, not the line). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019Jc1ZYHFjXjn6mE6U6riVU
5798512 to
c9f8c45
Compare
Summary
A one-line durability complement to the already-merged #998 (which refreshed the
file:linecitations inclinical-hazard-analysis.mdandrag-injection-threat-model.mdafter therag.ts→src/lib/rag/*decomposition).#998 re-pinned the citations to their current locations, but left one absolute-currency claim in the hazard doc: line 14 said each control is "cited at its present location." That claim re-stales on every refactor (and
docs:check-linksonly validates the file path, not the line — which is how the citations drifted unnoticed in the first place). This replaces it with an as-of-#998 note plus guidance to search by the named symbol when a line has shifted.Diff: 1 file, 1 line —
docs/clinical-hazard-analysis.md.Verification
npm run docs:check-links— pass (991 refs resolve).npm run format:check— pass.main.Risk and rollout
Clinical Governance Preflight
N/A — documentation-only edit to one analysis doc; no ingestion, answer generation, search/ranking, source rendering, document access, privacy, production-env, or clinical-output behaviour changed.
Notes
Broader durability option (separate pass, if wanted): switch the analysis docs'
file:linecitations to symbol + file references with no line number, which never go stale. Left as a future editorial decision.Generated by Claude Code
Summary by CodeRabbit