docs(issues): close #008 as false-positive; fix #014 broken doc path#1049
Conversation
- #8 "dead href builders" is NOT dead code: documentReaderHref / documentEvidenceHref are live via the mock wrappers (mockDocumentReaderHref / mockDocumentEvidenceHref) used by the rendered /mockups/document-search/* routes, and are covered by tests/document-flow-routes.test.ts. Removing them breaks the build. Moved to Resolved/archive as a false positive (only the production non-mock hrefs are unlinked from prod UI — a wiring gap, not dead code). - Fix #14 Source path document-viewer/signed-image.tsx -> clinical-dashboard/signed-image.tsx (the document-viewer/ path never existed; it was failing docs:check-links on main). Docs-only. No code/protected-surface edits, no provider/CI/dashboard action. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
📝 WalkthroughWalkthroughThe documentation archives issue ChangesOutstanding issues documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/outstanding-issues.md`:
- Line 59: Update the `#008` entry in docs/outstanding-issues.md to use the actual
resolution or merge date instead of the future-dated 2026-07-22 value,
preserving the existing issue description and status.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 32808127-58e1-4aa6-9585-ab18cd871448
📒 Files selected for processing (1)
docs/outstanding-issues.md
| | ---- | ---- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | | ||
| | #003 | task | Staging tenancy release evidence outstanding | Ran GitHub Action and validated isolation | 2026-07-21 | | ||
| | #002 | task | Process-ownership fix not yet isolated on `main` | Fixed process isolation using child.pid termination | 2026-07-21 | | ||
| | #008 | rec | Dead href builders in `document-flow-routes.ts` | Not dead code (false positive): `documentReaderHref`/`documentEvidenceHref` are live via the mock wrappers in `src/components/document-search-mockups.tsx` + `src/components/master-document-flow-mockups.tsx` (rendered under `src/app/mockups/document-search/`) and covered by `tests/document-flow-routes.test.ts`; removing breaks the build. Only the production non-mock hrefs are unlinked from prod UI — a wiring gap, not dead code. | 2026-07-22 | |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Inspect the relevant section with line numbers.
sed -n '45,75p' docs/outstanding-issues.md | cat -n
# Show the file metadata and current system date available in the sandbox.
stat -c 'mtime=%y size=%s file=%n' docs/outstanding-issues.md
date -u '+utc=%Y-%m-%d %H:%M:%S %Z'
date '+local=%Y-%m-%d %H:%M:%S %Z'Repository: BigSimmo/Database
Length of output: 7037
Avoid future-dating the archive entry. docs/outstanding-issues.md:59 records #008 as resolved on 2026-07-22, which is later than this change; use the actual resolution/merge date so /issues stays historically accurate.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/outstanding-issues.md` at line 59, Update the `#008` entry in
docs/outstanding-issues.md to use the actual resolution or merge date instead of
the future-dated 2026-07-22 value, preserving the existing issue description and
status.
…cile issue IDs Review findings on PR #1050 (Codex P2 + CodeRabbit major, converged): a case that attempted generation but lost the provider response (timeout, missing output) has real-but-unrecorded token spend — keying $0 off hasOpenAIUsage alone would report those as fully priced. $0 now applies only when no request id, no model, and no generation time were recorded; provider-attempted cases without usage metadata stay null (n/a total). Also resolves the ledger merge conflict against #1049's concurrent ID allocation: main's #12-#17 stand, this session's six items renumber to #18-#23 (next-id 024), the cost-readout row is rewritten as post-fix validation only (CodeRabbit), and the unbalanced strikethrough tildes in the E-3d row are fixed (CodeRabbit). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EXsJcLrbZUXwnBeG91cVo9
Summary
Docs-only ledger update resolving #8 and fixing a pre-existing broken doc link.
documentReaderHref/documentEvidenceHref(+*MockHrefvariants) insrc/lib/document-flow-routes.tswere "exported but never called insrc". They are not dead code: the mock wrappersmockDocumentReaderHref/mockDocumentEvidenceHrefare used bysrc/components/document-search-mockups.tsxandsrc/components/master-document-flow-mockups.tsx(rendered by thesrc/app/mockups/document-search/*routes), those wrappers call the base builders (and use theirParameters<typeof …>types), andtests/document-flow-routes.test.tscovers them. Removing any of them breakstypecheck/build + a test. Moved to Resolved/archive. (The only kernel of truth — the production, non-mock/documents/sourcehrefs aren't linked from production UI — is a wiring gap, not dead code.)src/components/document-viewer/signed-image.tsx→src/components/clinical-dashboard/signed-image.tsx. Thedocument-viewer/path never existed, so it was failingdocs:check-linksonmain; this repairs it.Verification
prettier --check docs/outstanding-issues.md✅npm run docs:check-links✅ (1092 references resolve — repairs the pre-existing Clean stale frontend identity and CSS #14 red)Governance
docs/outstanding-issues.md.🤖 Generated with Claude Code
Summary by CodeRabbit