Repository navigation
RAG and ingestion audit follow-up (24 Oct): remaining fixes, plus two database migrations for the owner's own merge #3790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
830a74a
fix(rag): keep reviewed-out table rows and superseded titles out of r…
claude 9fbba65
fix(rag): honest review fallback, keep policy headings, split unpunct…
claude 7277a0f
fix(chunking): repeat a short table note on every piece of a split ta…
claude fca0330
fix(worker): no label carry-down into a left-spanned cell, no table t…
claude 99670e4
fix(rag): signed guidance-difference notes survive a re-index by pass…
claude 4f05391
fix(extractor): refuse a raster comparison that dropped a decimal poi…
claude b3609aa
fix(ingestion): admin jobs panel lists and retries shared library job…
claude 376238b
fix(worker): record image-table reader and maths-helper use in extrac…
claude 19462fc
fix(reindex): rollback picks candidates from documents and warns abou…
claude a430730
fix(clinical-ask): keep sources and context out of the system message…
claude 58e1a33
feat(ingestion): watch extraction quality on a schedule; after-canary…
claude 4d85564
feat(medications): stamp each imported snapshot with its upstream ver…
claude 11b2c41
feat(governance): offline report of searchable documents missing lice…
claude 67b93bb
fix(ingestion): sweep leftover images on delete, refresh caches after…
claude 1e926b9
feat(db): rollback to pre-cutover pages, keep summaries and labels, l…
claude 9f7b5c0
fix(scripts): use the narrow cache client for the shared cache delete
claude 1c9dd60
docs(decisions): record that a licence withdrawal takes a document ou…
claude 054b8ae
test(ingestion): route coverage expects the shared-library job filter…
claude 4e70ee6
fix(reindex): page viewer follows the document's page mode, so a roll…
claude 43198ee
chore(docs): refresh generated snapshots after rebasing onto main
claude 64c5cfe
refactor(rag): move candidate metadata query expansion into its own m…
claude b603948
docs(rag): move threat-model line anchors into rag.ts after the modul…
claude 4ad70c1
fix(db): renumber the follow-up migrations after #3789's so the two d…
claude 31ef787
Merge main (#3789, #3793) into the RAG follow-up
claude 7f321b8
fix: keep a one-page document's heading and only record a real Medica…
claude 2116cae
fix(worker): name the startup step in the fatal log
claude 09dc3d0
fix: address CodeRabbit review on #3790
claude dc111dc
fix(backfill): clear shared answer cache even when the revision bump …
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
12 changes: 12 additions & 0 deletions
12
docs/decisions/2026-10-25-licence-withdrawal-leaves-answers.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Decision: A document whose licence stops permitting indexing leaves answers at once | ||
|
|
||
| - **Status:** decided 2026-10-25 | ||
| - **Source:** `supabase/migrations/20261025171000_label_cache_revision_licence_withdrawal.sql`, find "it is now marked outdated in the same update" | ||
|
|
||
| The owner approved every remaining recommendation of the 24 Oct 2026 search and ingestion | ||
| re-audit, including audit E2E-10. When a document's licence changes to one that forbids indexing | ||
| its text, the database marks the document outdated in the same update, so the existing answer | ||
| filter stops using it. Nothing is deleted, and changing the licence back does not restore the old | ||
| status by itself. The migration merges only after the owner's own yes to that database change. | ||
|
|
||
| If this summary and the source ever differ, the source wins. |
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.