-
Notifications
You must be signed in to change notification settings - Fork 0
chore: implement audit remediation fixes #1153
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
40 commits
Select commit
Hold shift + click to select a range
dac5555
chore: implement audit remediation fixes
BigSimmo 6f87e0e
chore: format files
BigSimmo 441d904
fix: review findings
BigSimmo 4ebf548
fix: keep live heavyweight locks past five minutes
cursoragent 85d83ed
fix: restore fixed skill catalog count assertions
cursoragent 935b0cb
merge: resolve origin/main into audit-remediation
cursoragent 5f2f04c
Merge remote-tracking branch 'origin/main' into HEAD
cursoragent 00f72a6
fix: stabilize audit remediation tests
cursoragent 98408b4
style: format extractor process error handling
cursoragent c4adfe9
Merge remote-tracking branch 'origin/main' into HEAD
BigSimmo 32a3780
docs: record Run PR sweep ledger row for PR #1153
BigSimmo 902b090
ci: sync PR policy body for audit remediation
cursoragent 818f9ef
ci: retrigger PR policy after body sync
cursoragent 4163069
chore: merge origin/main into audit-remediation
BigSimmo d5d0344
docs: ledger re-sync sweep for PR #1153
BigSimmo 00e36f5
Merge branch 'main' into audit-remediation
cursoragent 98e42fc
Merge branch 'main' into audit-remediation
cursoragent 80ca8bb
fix(ci): keep skills and tests fail closed
BigSimmo dafd3f1
docs: record PR 1153 maintenance
BigSimmo fa5ce6f
Merge remote-tracking branch 'origin/main' into HEAD
BigSimmo 87be77e
Merge remote-tracking branch 'origin/audit-remediation' into HEAD
BigSimmo 344ce85
fix: clear PR_POLICY_BODY conflict markers and alias skill prompts
cursoragent d09021d
fix(ci): format skill sync repair
BigSimmo 4b8ceff
Merge branch 'main' into audit-remediation
cursoragent 24db515
Merge remote-tracking branch 'origin/main' into audit-remediation
cursoragent 605c360
Merge remote-tracking branch 'origin/main' into audit-remediation
cursoragent 20ba44c
Merge cursor/pr-queue-hygiene-72ec for postcss audit + PR branch sync
cursoragent 24349d3
Merge branch 'main' into audit-remediation
github-actions[bot] 60387f5
merge origin/main into audit-remediation
BigSimmo f0f14c4
Merge branch 'main' into audit-remediation
github-actions[bot] a0981aa
Merge branch 'main' into audit-remediation
github-actions[bot] 1901284
merge origin/main into audit-remediation
BigSimmo 6024b7a
merge origin/main into audit-remediation
BigSimmo 25fbc5e
Merge remote-tracking branch 'origin/main' into audit-remediation
BigSimmo 352c56b
Merge remote-tracking branch 'origin/audit-remediation' into audit-re…
BigSimmo 5105a6f
Merge branch 'main' into audit-remediation
github-actions[bot] af44462
ci: retrigger checks on audit-remediation tip
BigSimmo d6f9e9a
Merge branch 'main' into audit-remediation
github-actions[bot] a8cd878
fix(ci): do not block audit on script-only package.json edits
BigSimmo 5a731df
fix(pr-1153): address CodeRabbit thread blockers
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| ## Summary | ||
|
|
||
| - Audit remediation: IPv6/port client-IP normalization, defensive semantic-rerank score clamping, PWA BroadcastChannel update signaling, heavyweight test-run lock live-owner preservation, PDF extractor signal handling, and fixed skill-catalog count pins. | ||
|
|
||
| RAG impact: no retrieval behaviour change — clamps non-finite/out-of-range similarity into [0,1] for scoring only; in-range scores, comparator key order, and release ranking are unchanged. | ||
|
|
||
| ## Verification | ||
|
|
||
| - [x] Focused: `node scripts/run-vitest.mjs run tests/test-runner-safety.test.ts` (17/17) | ||
| - [x] Focused: `node scripts/run-vitest.mjs run tests/database-skills.test.ts` (4/4) and `npm run check:skills` | ||
| - Verification not run: full `npm run verify:pr-local` not re-run after the latest merge; CI unit/static gates will re-validate on this head. | ||
| - UI verification not run: PWA lifecycle BroadcastChannel update is covered by unit/route tests; full Chromium `npm run verify:ui` not run in this cloud agent session. | ||
|
|
||
| ## Risk and rollout | ||
|
|
||
| - Risk: medium — touches public API rate-limit identity, semantic-rerank score sanitization, document extraction error handling, and PWA update UX; lock/skills fixes are tooling-only. | ||
| - Rollback: after squash-merge, revert the single squash commit on main; no schema/migration dependency. | ||
| - Provider or production effects: None | ||
|
|
||
| ## Clinical Governance Preflight | ||
|
|
||
| - [x] Source-backed claims still require linked source verification before clinical use | ||
| - [x] No patient-identifiable document workflow was introduced or expanded without explicit governance approval | ||
| - [x] Supabase target remains `Clinical KB Database` (`sjrfecxgysukkwxsowpy`) | ||
| - [x] Service-role keys and private document access remain server-only | ||
| - [x] Demo/synthetic content remains clearly separated from real clinical sources | ||
| - [x] Source metadata, review status, and outdated/unknown-source behavior remain conservative | ||
| - [x] Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed | ||
|
|
||
| ## Notes | ||
|
|
||
| - Review P1 live-lock reclaim and P2 skill-catalog tautology were fixed and resolved on-thread. | ||
| - `PR_POLICY_BODY.md` exists so CI Sync PR policy body can write this description (agent token cannot edit the live PR body directly). Safe to delete after policy is green if you do not want the sync template retained. |
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.