Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: luvs01/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
Co-Authored-By: Epinephrine <luvs01@hanmail.net>
|
Fixed in 57cc744 — the |
|
Fixed in 57cc744 — provenance now follows the command, not observed metadata: while the persisted command stays selected, pinned and origin-less records stay |
|
Fixed in 57cc744 — the migrated origin is now derived from whether the persisted command remained selected, independent of source/version changes; |
…budget Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Motivation
codex-runtime.jsonfiles created beforeoriginexisted are ambiguous because both automatic discovery anddoctor --fix-codex-runtimeonce wrote that shape.originas unpinned and allowed an automatic handover that could silently replace an operator-selected runtime.Description
origin: "discovered"are eligible for automatic replacement while ambiguous (origin-less) records are conservatively treated as pinned by default; seesrc/codex/runtime.tsupdates.origin: "pinned"instead ofdiscoveredso legacy operator choices are preserved; implemented inresolveAndPersistCodexRuntime.tests/codex-integration/codex-runtime.test.tsto assert the conservative handling, and add a short doc note instructure/runtime.mddescribing the provenance/migration contract.Testing
bun run typecheckand it succeeded.npx -y bun@latest test tests/codex-integration/codex-runtime.test.tsand all tests passed (59 pass, 0 fail).npx -y bun@latest run structure:checkandnpx -y bun@latest run privacy:scanand both succeeded.git diff --check; no whitespace or check failures were reported.bun testwith the environment's bundled Bun (1.2.14) produced an unrelated zlib export error, so the focused test run usednpx bun@latestas documented above;bun run test:changedcould not run because this checkout lacks adevcomparison ref.Codex Task