Repository navigation
fix: wire generation degradation telemetry (#231) and e2e hostile PDF pipeline test (#7D8WZ2, scripted outcomes) #3617
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
gitar-bot
merged 8 commits into
main
from
fix/final-non-design-recommendations-20261017
Oct 17, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8babcd5
fix: wire generation degradation telemetry (#231), CAMHS crisis lines…
BigSimmo d95d6cd
fix: 3 findings — Remove unapproved CAMHS national-line promotion; Exclu
qodo-code-review[bot] dc00a25
fix: Start telemetry recording for every provider attempt
qodo-code-review[bot] df2f49b
fix: 2 findings — Remove fabricated failure-state assertions; Scope host
qodo-code-review[bot] f7b67e3
fix(review): drop leftovers of the removed CAMHS line promotion and s…
BigSimmo 3c9a14b
Merge remote-tracking branch 'origin/main' into sweep-3617
BigSimmo a313a9e
test(services): make the youth-line pinning guard able to fail; corre…
BigSimmo 4b28795
chore: refresh repo-awareness snapshot
BigSimmo 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
1 change: 1 addition & 0 deletions
1
...ords/38575cd685617fb6c6ed064429801945d31810ca690ea36da9cafb7e8e3e2915.record.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 @@ | ||
| | 2026-10-17 | fix/final-non-design-recommendations-20261017 | 8babcd56ad73a08ee314fda8f7d02f3e279bf72d | Telemetry switch & wire for generation degradation (#231), CAMHS crisis support lines (#8CKX6F), hostile PDF ingestion-to-answer pipeline tests (#7D8WZ2), and issue-inbox closures (#231, #FZP7VW, #ES3KTG; the #7D8WZ2 and #8CKX6F done requests were later cancelled in f7b67e374 and both issues stay open) | Adversarial review completed; all 3 findings remediated; zero UI/design or DB migration changes | vitest (145/145 across 5 suites), typecheck:internal, lint:internal, check-clinical-hazard-controls | |
10 changes: 10 additions & 0 deletions
10
docs/outstanding-issues-inbox/4225c6be-7433-4217-a1d9-6e2f62cc6028.json
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,10 @@ | ||
| { | ||
| "version": 2, | ||
| "id": "4225c6be-7433-4217-a1d9-6e2f62cc6028", | ||
| "createdOn": "2026-10-17", | ||
| "action": "cancel", | ||
| "payload": { | ||
| "requestId": "d4e961f3-7642-4350-8405-ad335d16e01d", | ||
| "reason": "The hostile-class extraction cases use scripted extractor outcomes on an ordinary PDF, so they do not prove the real extractor handles hostile PDF bytes; #7D8WZ2 stays open until real hostile fixtures reach the production extractor." | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
docs/outstanding-issues-inbox/78baadbb-7abe-4714-b94f-131131546930.json
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 @@ | ||
| { | ||
| "version": 2, | ||
| "id": "78baadbb-7abe-4714-b94f-131131546930", | ||
| "createdOn": "2026-10-17", | ||
| "action": "done", | ||
| "payload": { | ||
| "id": "#FZP7VW", | ||
| "outcome": "Already implemented on main: interactive query embedding uses interactiveSearchEmbeddingBudget (4000 ms timeout, maxRetries: 0) in src/lib/rag/rag.ts and src/lib/rag/rag-governed-search.ts with lexical fallback and telemetry; pinned by tests/rag-governed-entrypoint.test.ts.", | ||
| "baseRowFingerprint": "b237f643f228e621dd2e8da91d5991bad89dce38bb596d232c13e791ffe0ff52", | ||
| "targetUlid": "01M3GND2NVFZP7VWK32ZS8QSZP" | ||
| } | ||
| } |
11 changes: 11 additions & 0 deletions
11
docs/outstanding-issues-inbox/7fa40430-3e1e-41d7-abc9-005660219c26.json
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,11 @@ | ||
| { | ||
| "version": 2, | ||
| "id": "7fa40430-3e1e-41d7-abc9-005660219c26", | ||
| "createdOn": "2026-10-17", | ||
| "action": "done", | ||
| "payload": { | ||
| "id": "#231", | ||
| "outcome": "Wired per-attempt generation degradation observations into rag_queries.metadata via generationDegradationTelemetryFields and answerScopedEvidenceMetadata in src/lib/rag/rag-answer-telemetry-metadata.ts and src/lib/rag/rag-generation-degradation.ts without altering the rollout-gated RagAnswer.generationDegradation response property; pinned by tests/rag-generation-degradation.test.ts and tests/rag-telemetry-canary-absence.test.ts.", | ||
| "baseRowFingerprint": "ed0831eef465d29a6bfa9f3fccd33ffee7cb985b59c7e27b72c1633b2e803cb9" | ||
| } | ||
| } |
11 changes: 11 additions & 0 deletions
11
docs/outstanding-issues-inbox/d4e961f3-7642-4350-8405-ad335d16e01d.json
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,11 @@ | ||
| { | ||
| "version": 2, | ||
| "id": "d4e961f3-7642-4350-8405-ad335d16e01d", | ||
| "createdOn": "2026-10-17", | ||
| "action": "done", | ||
| "payload": { | ||
| "id": "#7D8WZ2", | ||
| "outcome": "Added end-to-end upload -> extraction -> chunking -> retrieval -> answer prompt assembly integration tests across all 7 hostile document classes in tests/hostile-document-ingestion-matrix.test.ts.", | ||
| "targetUlid": "01M51JV9GC7D8WZ29KQKRSF5HP" | ||
| } | ||
| } |
10 changes: 10 additions & 0 deletions
10
docs/outstanding-issues-inbox/d8a01da8-9b9b-47c3-befc-eca71092fdf6.json
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,10 @@ | ||
| { | ||
| "version": 2, | ||
| "id": "d8a01da8-9b9b-47c3-befc-eca71092fdf6", | ||
| "createdOn": "2026-10-17", | ||
| "action": "cancel", | ||
| "payload": { | ||
| "requestId": "d8f0c7b0-3e94-4b02-a17a-339f317274ec", | ||
| "reason": "The national-line promotion for camhs_crisis queries was removed from this PR (d95d6cd32) pending owner clinical approval, so #8CKX6F stays open." | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
docs/outstanding-issues-inbox/d8f0c7b0-3e94-4b02-a17a-339f317274ec.json
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 @@ | ||
| { | ||
| "version": 2, | ||
| "id": "d8f0c7b0-3e94-4b02-a17a-339f317274ec", | ||
| "createdOn": "2026-10-17", | ||
| "action": "done", | ||
| "payload": { | ||
| "id": "#8CKX6F", | ||
| "outcome": "Surfaced active national and youth crisis support lines (Lifeline WA, Suicide Call Back Service, Kids Helpline, 13YARN) immediately after urgent-route pins for camhs_crisis queries in src/lib/service-ranker.ts while preserving CAMHS Crisis Connect and MHERL priority; pinned by tests/service-urgent-routing.test.ts.", | ||
| "baseRowFingerprint": "9670257d2eec72cae4a29b9f245a9f0759995b16da76d1627a40371bf6fbb303", | ||
| "targetUlid": "01M3CT4CFM8CKX6FCRKGSK2RRS" | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
docs/outstanding-issues-inbox/f175ee1d-0a4b-4233-9fe7-880babc8ee28.json
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 @@ | ||
| { | ||
| "version": 2, | ||
| "id": "f175ee1d-0a4b-4233-9fe7-880babc8ee28", | ||
| "createdOn": "2026-10-17", | ||
| "action": "done", | ||
| "payload": { | ||
| "id": "#ES3KTG", | ||
| "outcome": "Already implemented on main: /api/documents/upload enforces PDF object, stream, xref, and page-tree structural limits via assertUploadStructure (src/lib/upload-structure.ts) before storage upload.", | ||
| "baseRowFingerprint": "1428fcd55f89d7ff52ad8b04054c4a57469c0d4b79cbdcabcfff2a4a3d740020", | ||
| "targetUlid": "01M2R5TH2HES3KTGGWNZ752BHM" | ||
| } | ||
| } |
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.