Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
3a28799
feat(ingestion): preserve managed reference pipeline and RAG handover
BigSimmo Oct 14, 2026
9f11b43
fix(ingestion): reconcile pilot source and migration contracts
BigSimmo Oct 14, 2026
a52ee76
docs(ingestion): format generated delivery ownership
BigSimmo Oct 14, 2026
7a5f41f
fix(ci): pin synthetic witness secret-scan finding
BigSimmo Oct 14, 2026
a90da76
fix(ingestion): declare locked extraction dependencies
BigSimmo Oct 14, 2026
f3e3319
Reconcile current main with verified ingestion and Answer fixes
BigSimmo Oct 15, 2026
ca4207b
Format retained ingestion reconciliation records
BigSimmo Oct 15, 2026
308afe8
Reconcile existing provider agreement evidence
BigSimmo Oct 15, 2026
d8e36a0
Preserve landed database history and current clinical changes
BigSimmo Oct 15, 2026
0559cdd
Record hosted worker acceptance and final Answer refusal
BigSimmo Oct 15, 2026
837b935
Recover source-supported summary framing and optional sections
BigSimmo Oct 15, 2026
00c0880
Extract reviewed RAG helpers within unchanged maintainability budgets
BigSimmo Oct 15, 2026
fa6307c
Normalize extracted helper formatting and drop unused import
BigSimmo Oct 15, 2026
0d4a738
Preserve current main safety corrections in ingestion rollout
BigSimmo Oct 15, 2026
3bb8baa
Refresh repository inventory for final ingestion records
BigSimmo Oct 15, 2026
d22345d
Record accepted hosted Answer and actual clipboard with cleanup evidence
BigSimmo Oct 15, 2026
1dee9a1
Use shared polite announcements for administrator pilot status
BigSimmo Oct 15, 2026
2e69952
Merge remote-tracking branch 'origin/main' into codex/ingestion-rag-p…
BigSimmo Oct 15, 2026
f3773e9
fix: retain bounded OCR detail for numerical tables
BigSimmo Oct 15, 2026
cb59830
docs: record aligned ingestion and bounded OCR acceptance
BigSimmo Oct 15, 2026
3839b3a
Merge branch 'main' into codex/ingestion-rag-pilot-handover-20261014
BigSimmo Oct 15, 2026
21804fd
fix(edge): use ts-ignore for Deno .ts import suppressions
claude Oct 15, 2026
8373fdb
fix: Admit headed single-column tables
qodo-code-review[bot] Oct 15, 2026
caaa6b5
fix: Restore compatible document index reset
qodo-code-review[bot] Oct 15, 2026
27dd059
fix: 2 findings — Treat invalid pilot tickets as inactive; Scope pilot i
qodo-code-review[bot] Oct 15, 2026
f5ce178
fix: Accept sources without mandatory layouts
qodo-code-review[bot] Oct 15, 2026
1afd91f
fix: Reject conflicting procedure evidence
qodo-code-review[bot] Oct 15, 2026
9b6b745
fix: Preserve PDF extraction without provenance
qodo-code-review[bot] Oct 15, 2026
db6ce97
fix: Gate alcohol summary rendering
qodo-code-review[bot] Oct 15, 2026
809fb9f
fix: Force nonpersistent pilot responses
qodo-code-review[bot] Oct 15, 2026
0d04325
fix: Log upload cleanup ownership details
qodo-code-review[bot] Oct 15, 2026
fbb9d1a
wip(ingestion-review): fenced reset/deep-memory migration, pilot tick…
claude Oct 15, 2026
44c2af3
test: finish test updates for PR 3546 contract changes
claude Oct 15, 2026
8c759ef
Merge PR 3546 head; keep stricter pilot fallback, undo inverted sourc…
claude Oct 15, 2026
a9c6ab6
fix: undo bot change that let sparse labelled frames count as tables …
claude Oct 15, 2026
549001a
fix: drop bot's whole-chunk negation filter, match 'guidelines', stab…
claude Oct 15, 2026
e9be43c
Merge remote-tracking branch 'origin/main' into claude/ingestion-revi…
claude Oct 15, 2026
334c58b
fix(answer-pilot): refuse scope-, query- and unreadable-ticket matche…
claude Oct 15, 2026
caaaea2
fix(ingestion-sql): null-safe staging ownership and allow extraction_…
claude Oct 15, 2026
2ecbd89
Merge main into PR 3546 branch (resolve migration seal, schema and dr…
claude Oct 15, 2026
2d05bf0
fix: refuse unrestricted document scope when pilot ticket is unusable
gitar-bot Oct 15, 2026
d8d1200
Apply owner decisions on PR 3546 review items
claude Oct 15, 2026
6948557
Merge remote-tracking branch 'origin/codex/ingestion-rag-pilot-handov…
claude Oct 15, 2026
54fdcd6
Judge an All-documents Answer on owner and query when the pilot ticke…
claude Oct 15, 2026
4ba1aad
Queue the import-cycle follow-up through the ledger inbox instead of …
claude Oct 16, 2026
6f54b26
Merge main into PR 3546 branch (seal order and drift manifest after t…
claude Oct 16, 2026
81586a4
Regenerate drift manifest after main merge
claude Oct 16, 2026
578c15d
Keep rag.ts within its line budget
claude Oct 16, 2026
a41e832
Refresh the repo-awareness snapshot
claude Oct 16, 2026
fbacd5d
Merge branch 'main' into codex/ingestion-rag-pilot-handover-20261014
BigSimmo Oct 16, 2026
0d77c26
Drop organisation-map entries that main now places elsewhere
claude Oct 16, 2026
7a0604f
Port Codex f04 fixes: optional TXT layout and fenced bad-row failure
claude Oct 16, 2026
3b797b7
Queue the Codex held-items follow-up through the ledger inbox
claude Oct 16, 2026
afb7f38
Keep the fuller receipt when the same row is observed twice
claude Oct 16, 2026
026f8de
Merge remote-tracking branch 'origin/main' into claude/ingestion-revi…
claude Oct 16, 2026
96b3e0d
Break the two runtime import loops inside PR 3546
claude Oct 16, 2026
e06d43f
Merge remote-tracking branch 'origin/main' into claude/ingestion-revi…
claude Oct 16, 2026
bf88090
Place the receipt-merge test in the answer-engine area
claude Oct 16, 2026
b71c850
Merge remote-tracking branch 'origin/main' into claude/ingestion-revi…
claude Oct 16, 2026
29047e5
Import PyMuPDF by its current name in the table-extraction test
claude Oct 16, 2026
c4cfac3
Move the published-original layout loader out of rag.ts
claude Oct 16, 2026
d712a15
fix: Complete image-free native PDF ingestion
qodo-code-review[bot] Oct 16, 2026
7d5ea74
fix: Reject unsupported backend document admissions
qodo-code-review[bot] Oct 16, 2026
d2082f3
Revert "fix: Reject unsupported backend document admissions"
claude Oct 16, 2026
cc21aa0
Revert "fix: Complete image-free native PDF ingestion"
claude Oct 16, 2026
10c7b1d
Let a confirmed database rejection reach fail-or-retry
claude Oct 16, 2026
3cfad38
Merge main (open shifts follow-up) into the ingestion PR
claude Oct 16, 2026
88835ed
Address CodeRabbit's quick fixes on the ingestion PR
claude Oct 16, 2026
1263ccd
Limit the deep-memory supersede delete to deep-memory rows
claude Oct 16, 2026
f59c5d6
Queue the CodeRabbit items held out of PR 3546
claude Oct 16, 2026
67d98d7
Update a source-shape test and a doc anchor after the merge
claude Oct 16, 2026
b8d1b38
Refresh the drift manifest fingerprint and retry transient database r…
claude Oct 16, 2026
5124c29
Compute the route orphan scan once per mode in the reachability test
claude Oct 16, 2026
6668b99
Treat statement_completion_unknown (40003) as an uncertain outcome
claude Oct 16, 2026
ad07275
Remove legacy deep-memory rows stamped with the committed generation
claude Oct 16, 2026
54f8559
Widen the foreign-section guard to match the legacy deep-memory deletes
claude Oct 16, 2026
6afd8bc
Test the admitted-passage delivery gap on the answer path
claude Oct 16, 2026
ebbee0c
Pin the exact facet delivery gap in the admitted-passage test
claude Oct 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ a958fdce92f53571c02fa3ea2a03c61300122763:supabase/applied-migration-hashes.json:
# migrations rewrote the snapshot (CRLF to LF), so the unchanged line rescans as new.
dd709e6fcc6bf8940272537e8afada52396af1a4:supabase/schema.sql:generic-api-key:13492
2323e43ae1484f18f6e245034867095af84c5360:supabase/schema.sql:generic-api-key:13492

# Reviewed synthetic witness marker; retained exact original historical finding only.
3a287997fab2fcd9b207d692d4af1b334801bbfb:tests/worker-original-witness-readback.test.ts:generic-api-key:302

# Migration seal entry: the filename contains "keys" and the value is a sha256,
# which the generic-api-key rule reads as a key. Not a secret.
e270353c3f8a154971a11b9eabd2b0acef4476ec:supabase/applied-migration-hashes.json:generic-api-key:317
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Before any repository write or publication, read and follow [the remaining proje

<!-- BEGIN:nextjs-agent-rules -->

# This is NOT the Next.js you know
## This is NOT the Next.js you know

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.

Expand Down
87 changes: 87 additions & 0 deletions data/repo-awareness-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -1448,6 +1448,11 @@
"file": "src/app/(search-app)/psychiatry/page.tsx",
"area": "product"
},
{
"path": "/admin/pilot",
"file": "src/app/admin/pilot/page.tsx",
"area": "product"
},
{
"path": "/on-call/first-night",
"file": "src/app/(search-app)/on-call/first-night/page.tsx",
Expand Down Expand Up @@ -2494,6 +2499,11 @@
"section": "superpowers",
"catalogued": true
},
{
"path": "docs/governance/openai-standard-agreement-evidence-2026-10-05.md",
"section": "governance",
"catalogued": false
},
{
"path": "docs/superpowers/plans/2026-07-24-webkit-rsc-prefetch-disposition.md",
"section": "superpowers",
Expand Down Expand Up @@ -2719,6 +2729,11 @@
"section": "root",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-original-section-delivery-scope.md",
"section": "decisions",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-keep-migration-history.md",
"section": "decisions",
Expand Down Expand Up @@ -3294,6 +3309,11 @@
"section": "superpowers",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-import-loops-fixed-in-3546.md",
"section": "decisions",
"catalogued": true
},
{
"path": "docs/superpowers/rag-upgrade/cloud/plans/2026-08-20-rag-ingestion-reindex.md",
"section": "superpowers",
Expand Down Expand Up @@ -3509,6 +3529,11 @@
"section": "superpowers",
"catalogued": true
},
{
"path": "docs/governance/railway-dpa-completion-evidence-2026-10-05.md",
"section": "governance",
"catalogued": false
},
{
"path": "docs/ci-operations.md",
"section": "root",
Expand Down Expand Up @@ -3684,6 +3709,11 @@
"section": "on-call",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-indexing-repair-provider-calls-stay-off.md",
"section": "decisions",
"catalogued": true
},
{
"path": "docs/care-plan/patient-facing-sheets/README.md",
"section": "care-plan",
Expand Down Expand Up @@ -3719,6 +3749,11 @@
"section": "audit",
"catalogued": true
},
{
"path": "docs/audit/ingestion-rag-2026-10-15/complete-record.md",
"section": "audit",
"catalogued": true
},
{
"path": "docs/decisions/2026-09-25-clinical-eval-battery-additions.md",
"section": "decisions",
Expand Down Expand Up @@ -4189,6 +4224,11 @@
"section": "root",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-provider-agreements-verified-for-first-release.md",
"section": "decisions",
"catalogued": true
},
{
"path": "docs/decisions/2026-09-26-doppler-is-not-used.md",
"section": "decisions",
Expand Down Expand Up @@ -4324,6 +4364,11 @@
"section": "care-plan",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-admitted-upload-survives-client-cancel.md",
"section": "decisions",
"catalogued": true
},
{
"path": "docs/design-system/sweep-2026-08-29-visual.md",
"section": "design-system",
Expand Down Expand Up @@ -4754,6 +4799,11 @@
"section": "root",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-deep-memory-preparation-is-protected.md",
"section": "decisions",
"catalogued": true
},
{
"path": "docs/specifier-entry-worksheet-with-catatonia.md",
"section": "root",
Expand Down Expand Up @@ -5039,6 +5089,11 @@
"section": "decisions",
"catalogued": true
},
{
"path": "docs/decisions/2026-10-16-duplicate-sighting-receipt-merge.md",
"section": "decisions",
"catalogued": true
},
{
"path": "docs/brand/canvas/README.md",
"section": "brand",
Expand Down Expand Up @@ -10254,6 +10309,14 @@
"outcome": "Redundant: exact source HEAD was squash-merged by PR #469; eligible for deletion when unreferenced.",
"checks": "GitHub merged-PR source HEAD matched exactly."
},
{
"date": "2026-10-14",
"ref": "PR #3546 / codex/ingestion-rag-pilot-handover-20261014",
"head": "3a287997fab2fcd9b207d692d4af1b334801bbfb",
"scope": "PR3546 preserved-main conflict and source restoration",
"outcome": "Qualified source acceptance: SQL, RAG, extractor and neutral table restorations independently accepted; hosted preview remains failed.",
"checks": "Dirty pins: guard548b80f4; extract809a366c; chunkerbe5cf416; tablefacts43fd50df; indexunits8120dfef. Fresh guard positive/two refusals/rollback; SDK21; recordedAnswer13+3; provenance172; contracts342; native86/parent20; supplier/index63. No general clinical GO or merge authority."
},
{
"date": "2026-07-25",
"ref": "cursor-indexing-ignore (PR #1171)",
Expand Down Expand Up @@ -19758,6 +19821,14 @@
"outcome": "APPROVE. The remaining bottom band clipped live result content above the hidden dock because both phone application owners used viewport-sized fixed roots, a physical-iOS paint path that can disagree with correct DOM geometry. Both owners now share a bounded in-flow dynamic-viewport shell; hidden reserve remains zero, the last viewport pixel remains content-owned, and viewport resize preserves the reading offset. No P0-P3 finding remains. Highest residual risk is physical-device iOS compositing beyond desktop WebKit emulation.",
"checks": "`verify:cheap` PASS (393 files; 3519 passed / 2 skipped); focused Therapy and dashboard production WebKit PASS; `verify:ui` PASS (314/314); `verify:pr-local` PASS including production build/client-secret scan and 36-case offline RAG fixtures; no live provider-backed checks."
},
{
"date": "2026-10-15",
"ref": "codex/ingestion-rag-pilot-handover-20261014",
"head": "a90da76c2f29990ce54456a806b75394314405e3",
"scope": "Uncommitted native-PDF layout v5 producer 352d178978ef9086df1df708aa71266538076a2f5050a526b8ff3941af5ff984",
"outcome": "Independent technical P1/P2 closure and qualified representative-source acceptance; no hosted or general OCR claim",
"checks": "Final106page46artifact capture and all image/page identity comparisons accepted; actual source receipt24fcb7738f1590f77ce9823c6d0d840efd4201115572d483df491d46f3b4ba74; retained v3/v4 failures; no provider or deployment"
},
{
"date": "2026-10-10",
"ref": "codescene-non-rag-current-20261010",
Expand Down Expand Up @@ -23294,6 +23365,14 @@
"outcome": "FIXED. Resolved CONFLICTING merge vs main by keeping main soft-glass phone chrome, shared test-run-lock coordinator, tokenized document-nav mockups, and accessible-name Playwright contract; preserved PR forced-colors:border and literalShadowClasses 0 ratchet. Bugbot found no remaining P0-P2 on unique product delta. Removed 9 exact duplicate ledger rows introduced by merge=union.",
"checks": "Focused design-system + knip + mobile-chrome-paint + test-runner-safety PASS; ledger guard PASS after dedupe; hosted Static PR re-run pending; no provider-backed checks."
},
{
"date": "2026-10-15",
"ref": "codex/ingestion-rag-pilot-handover-20261014",
"head": "d22345dc7e34e3b0fc3de0c127285b34a047d72e",
"scope": "Uncommitted admin pilot shared announcement correction; file SHA256 0f76deaa4d8d9ad46139d0ba83a0973241669d582ce2517d1ede680ce2ddb5bb",
"outcome": "Independent frontend source review ACCEPT; visible message and polite singleton announcements preserved; no MFA, credential, network or baseline change",
"checks": "Scoped ESLint and source diff check passed. Design-system core contract passed at unchanged visibleLiveRegions17; wrapper gate tracked separately. No browser or real screen-reader execution claimed."
},
{
"date": "2026-07-13",
"ref": "origin/copilot/fix-failing-ci",
Expand Down Expand Up @@ -25998,6 +26077,14 @@
"outcome": "approved after merging #1457 without overlap; upload parity and repository guards remain green",
"checks": "upload self-test pass; issues 141; ledger 141+1206; actions pin, format, diff pass"
},
{
"date": "2026-10-15",
"ref": "PR #3546 / codex/ingestion-rag-pilot-handover-20261014",
"head": "f3773e9c2e666063c9169e14cbb163c65a9ce78a",
"scope": "bounded OCR detail source safety and independent whole-table fidelity",
"outcome": "ACCEPT by independent ingestion-worker and clinical-governance reviewers. Exact source SHA e7390bbe03e6b66ffc782f5d7bf4bb1ec5b19185564dc6f204955001f3acaeba retains default4M pixel budget and timeout. Whole page table text equals independently frozen expectation after whitespace normalization:56values,14orderedrows,4ratio-percent header pairs,2groups and weekly units. Crop-specific local textual-table acceptance only; no general scan, structured fact, clinical-use or hosted-runtime acceptance.",
"checks": "Fresh51 Python extractor regression tests PASS; actual extractor on frozen text-free high-detail raster PASS at default4M and explicit6M. InputSHA725604979441b1e132f312b1b90b7fcb736dbd75a02a4d2eb631d4cee2e4e17a; defaultresultSHAd3d928473477ae7db29dca4bffff0735bb8c50e8631431e9b7db285719315ecc; frozenSHA119422cdb8fa98821bec9bdec738685300213f24ef2264c5edea43346c32cfcf. Local WindowsTesseract5.4 only; no providers or deployment. Main merge independently clean; no SQL/schema/migration differences relativeto main0e04b21641d23a3bb5c04c45821458ec17fbdd6c."
},
{
"date": "2026-08-15",
"ref": "codex/medication-list-spacing-20260814",
Expand Down
Loading
Loading