fix: harden Codex auto-resolve review guard - #445
Conversation
… claude/llm-pipeline-review
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Defer embedding until after text/document fast paths and coverage gate - Rehydrate cached document metadata in attachDocumentRankingMetadata - Load env-dependent script imports after loadEnvConfig in seed/reindex scripts - Harden registry corpus: shared identity, medication tags, rollback, detail hrefs - Route registry citations to detail pages; handle registry rows in signed-url API - Prioritize safety warnings over registry info; preserve stale registry labels - Guard OCR repair against dropping isolated single-letter clinical tokens - Update skill docs, changelog dedup, CI Supabase setup-cli@v3 Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
- Backfill NULL document_images.index_generation_id during re-stamp - Count globally forced embedding eval cases in retrieval summaries Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Treat NULL document_images.index_generation_id as stale even when JSON metadata already matches the committed generation, and propagate global --force-embedding into eval reporting/validation so index-unit-vector runs count forced cases correctly. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
… codex/pr433-fix # Conflicts: # .cursor/skills/supabase-postgres-best-practices/CHANGELOG.md # .cursor/skills/supabase-postgres-best-practices/references/security-rls-performance.md # scripts/reindex-image-generation-metadata.ts # src/lib/differential-seed.ts # src/lib/document-index-units.ts # src/lib/medication-seed.ts # src/lib/rag.ts # src/lib/registry-corpus.ts # src/lib/registry-seed.ts # src/lib/source-governance.ts # src/lib/source-metadata.ts # supabase/migrations/20260708160000_retrieval_owner_matches_fail_closed.sql # supabase/migrations/20260708160001_retrieval_owner_matches_fail_closed.sql # supabase/migrations/20260708161000_retrieval_owner_matches_fail_closed.sql # tests/document-index-units.test.ts # tests/registry-corpus.test.ts # tests/source-governance.test.ts
PR #433 preview branch recorded 20260708160000 before the file was removed, causing remote migration versions not found in local migrations directory. Keep a no-op stub for history sync; transactional index DDL stays on 170000. Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(rag): finish registry re-embed and quality routing * fix: resolve merge conflicts with claude/llm-pipeline-review --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
… claude/llm-pipeline-review # Conflicts: # tests/rag-routing.test.ts
📝 WalkthroughWalkthroughAdds try/catch error handling for 403 responses when listing PR comments in a Codex autofix workflow, introduces a validation script and CI step guarding that workflow's structure, and updates AGENTS.md/docs to scope auto-resolve requests to actionable findings and restrict branch-review-ledger updates during pure reviews. ChangesCodex autofix workflow hardening and guard
Estimated code review effort: 2 (Simple) | ~12 minutes Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 1 warning)
✅ Passed checks (9 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Updates to Preview Branch (codex/autoresolve-listcomments-403) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
BigSimmo
commented
Jul 9, 2026
@copilot resolve the merge conflicts in this pull request |
Head branch was pushed to by a user without write access
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Fixes Applied SuccessfullyFixed 3 file(s) based on 3 unresolved review comments. Files modified:
Commit: The changes have been pushed to the Time taken: |
Fixed 3 file(s) based on 3 unresolved review comments. Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
Head branch was pushed to by a user without write access
BigSimmo
commented
Jul 9, 2026
@copilot resolve the merge conflicts in this pull request |
Resolved. Merge commit:
Typecheck and Prettier checks pass. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:ecd4fd4a0a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Uh oh!
There was an error while loading. Please reload this page.
Summary
Verification
Notes