Skip to content

fix(output): share oracle wording across LSP and agent briefs - #8967

Merged
EffortlessSteven merged 3 commits into
mainfrom
codex/8951-oracle-projection
Oct 20, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
codex/8951-oracle-projection

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Governing issue or accepted claim: #8951

Acceptance delta: finding hover, fix-site diagnostic links, seam diagnostic links and targeted agent briefs use the shared oracle phrase, so ungraded assertions read exact value oracle, not graded against this probe or an unclassified oracle, not graded against this probe.

Fixes #8951.

Change

The four prose sites call output::related_test_miss::oracle_projection. Fix-site prose reuses the existing typed DiagnosticWitness test selector instead of interpreting string DTO metadata. Its Python, Perl and general selection rules and witness guard are preserved. Graded oracle kinds use the formatter's human-readable spaces.

Six literal renderer controls cover classified/unclassified ungraded assertions, graded assertions, absent-assertion hover, and a producer-selected unknown row beside a stronger row under both input orders. Two LSP code-action goldens change only the embedded brief phrase. SPEC-0224 and its traceability mappings cover the added controls.

Candidate relationships and limits

Candidate: 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483; tree 39a9b757af8b2ae2db9451b9a73f68ac263d1d0b; base cec602041daf5fe102a0ff0460feb4fbf2bffdcc; branch codex/8951-oracle-projection.

One diagnostic wording repair. Analyzer matching, diff parsing, fix-site selection policy, structured oracle tags, compact seam-hover metadata and shared helper implementation are outside this delta. The helper's existing None/Unknown wording limitation remains outside this claim; #8949 and its human-only split #8964 retain that helper's separate absence-wording ownership. The claim-specific searches found no competing #8951 repair. Original local proof used base cec602041daf5fe102a0ff0460feb4fbf2bffdcc; the recorded hosted qualification basis is a82991d032d35dc48a2d3f2f5aa9ee876f174215. Existing repair candidates and integration/release/deployment holds are retained.

Support-tier impact: none. Policy, workflow, process, network, dependency and permission impact: none. Rollback: revert this ten-file wording/proof unit. No successor is selected in this lane.

Proof

  • Exact-base worktree doctor, check-fast and cargo check --locked -p ripr --all-targets passed. Baseline selector independently confirmed zero changed paths; check-fast ran six gates with seven declared skips.
  • Old-production test-only commit d7dd582532af9aac9414339aa79b7801b20ecc9b: four actual renderer controls failed on their complete message strings (native 101). Their compiler-selected executable is retained, SHA256 7a6a5b145fa0b1937f8b8e51f800b6393ab8a0e38427d1f792d43e8aeefbb9de.
  • Exact candidate: cargo test --locked -p ripr --lib oracle_wording -- --nocapture --test-threads=1 passed six tests, zero failed/ignored. Existing witness10, seam-diagnostic32, agent-packet95 and shared-reason7 tests passed, plus affected hover, diagnostic, witness and boundary-gap code-action controls. These counts overlap and are not a whole-suite claim.
  • Independent exact-head source/oracle review found no blocking finding and verified both actor hashes and native logs. Frozen green actor SHA256 289b16d304c9deaa47726680a883375aefbc7d0a0a350a48cf5dbd92313e4e5b.
  • Exact-head output contracts, traceability, changelog format, spec format and public API checks passed. The original check-fast reached the 480-second driver cap during workspace Clippy after file policy passed (exit124); its interrupted report was incomplete. After inspecting that log and the later warm file-policy/precommit receipts, one admitted retry with unchanged source, gates, profiles and cap passed in 86.024 seconds. Its stable selector agrees with all ten paths; all 15 applicable gates ran, including workspace strict Clippy (60.924s). The 31 file-policy Cargo warmup/list children totaled 3.702s; they enumerate tests and are not test-execution claims. Exact cold-phase allocation is unavailable, so this does not establish a cold-run improvement or a parser defect. The original timeout and baseline reports remain preserved. cargo xtask precommit passed on the exact candidate, including ripr and xtask all-target strict Clippy. Its initial golden subreport identified a missing locked dependency; the documented cargo xtask goldens prepare followed by cargo xtask goldens check closed that gap. Final goldens passed 507 fixture entries with zero drift and no violations; CLI version identifies this head and its frozen SHA256 is 50da60552177614ee5faa0ddef29973609941b8d47ac0a511e84413e9f12eff5.

Runtime: Linux x86_64, Rust/Cargo1.95.0, default features, locked dependencies, serial Cargo operations, one compiler job for tests, local dev/test debug info disabled. Hosted profile/matrix equivalence is not claimed.

Changelog: changelog.d/8951-editor-agent-oracle-wording.md matches the canonical Fixed section marker, bullet and trailing #8951 reference.

Continuation

Owner / governing claim: consumer diagnostic lane / #8951; parent owns integration follow-through.

Candidate: unchanged head 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483, tree 39a9b757af8b2ae2db9451b9a73f68ac263d1d0b. Original local proof basis: cec602041daf5fe102a0ff0460feb4fbf2bffdcc. Actual hosted Rust Gates checkout: 6aa6341e2a1c21ecdc44afbd11470fe01e6c5723, ordered parents [a82991d032d35dc48a2d3f2f5aa9ee876f174215, 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483], tree 964af08edd0618726ba9688e823467360232403a.

Review: terminal exact-head inspection and qualification record, technical REVIEW_READY. Independent source/oracle and terminal proof inspection found no blocking finding. Fresh reviews, inline threads and Conversation reads retain no new material finding or unresolved inline thread. Devin reported no issues; provider quota responses remain missing provider reviews. The terminal review inspected main's movement through 5403d85084486d7804a5bb08a08cda9c2d4a5710; those doctor/framework/artifact-root and ValueFact cache changes leave the repaired wording/selection paths unchanged. No restack or repeated qualification is warranted; no execution pass is claimed on that later main tree.

Validation: native qualification run39499933925 attempt1 completed successfully at 2026-10-20T22:03:19Z. Rust Gates job118894855957 and required Result job118912288049 passed. Nextest: 17764 passed, 4 skipped, across 131 binaries; all six new wording controls passed. Doctests: 2 passed, 1 ignored. All required formatting/policy/compile/Clippy/golden/fixture/four-corpus/PR-evidence gates passed. The ten PR-evidence commands used their explicitly recorded cec60204...71fb76bf8 diff. Rust-only CI passed on merge6aa; Windows advisory passed on source head71fb. Original local causal red/focused green, precommit, warm check-fast and final goldens remain on their recorded basis above. Ready and one native request were applied and verified; no duplicate qualification was requested.

Limits / dependency: shared helper None/Unknown absence wording retains its separate owner. Earlier UB source questions were addressed, while its advisory sensor cause and raw artifact inspection remain unestablished. Its incomplete result and the original local timeout remain preserved; no diagnostic retry or underlying-cause repair is claimed. No source dependency is selected for this delta.

Next: parent reconciles the current integration candidate under existing authority and holds. PR remains open and Ready with auto-merge disabled. No merge, release, deployment or denied diagnostic retry is authorized in this lane.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 68 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: ac018341-c786-4b46-991e-b131467c0ab8
📥 Commits

Reviewing files that changed from the base of the PR and between cec6020 and 71fb76b.

📒 Files selected for processing: 10
  • .ripr/traceability.toml
  • changelog.d/8951-editor-agent-oracle-wording.md
  • crates/ripr/src/domain/diagnostic_witness.rs
  • crates/ripr/src/lsp/diagnostics.rs
  • crates/ripr/src/lsp/hover.rs
  • crates/ripr/src/lsp/tests.rs
  • crates/ripr/src/output/agent_seam_packets.rs
  • docs/specs/RIPR-SPEC-0224-examined-test-miss-evidence.md
  • fixtures/boundary_gap/expected/lsp-code-actions.json
  • fixtures/editor_lsp_workflow/expected/lsp-code-actions.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disposition: REVIEW_INCOMPLETE — Draft handoff; no blocking source or test-oracle finding was found by the independent reviewer. This author COMMENT records that evidence and is not approval.

Reviewed candidate: 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483; tree 39a9b757af8b2ae2db9451b9a73f68ac263d1d0b; base cec602041daf5fe102a0ff0460feb4fbf2bffdcc. GitHub merge subject d752bbb5cc7886228142ad5cce01066146332b00 has ordered [base, head] parents and the identical candidate tree.

Independent reviewer oracle_contract_review inspected the complete ten-file delta, producer-selected typed witness rules, formatter consumers, literals, generated goldens and traceability. It caught an invalid initial no-fix-site test premise, which was corrected before qualification, and added scrutiny of mixed/reordered selected rows. Final exact-head source/oracle and proof review found no blocker. Four complete renderer messages fail against unchanged old production at test-only d7dd5825; six candidate controls pass. Existing affected witness, diagnostics, hover, packets, shared-reason and code-action controls passed. Native precommit passed with both ripr and xtask all-target strict Clippy. The initial golden dependency gap was closed through documented goldens prepare/check; final goldens passed 507 fixture entries, zero drift and no violations.

Standalone candidate check-fast timed out at 480 seconds (exit124); its stale zero-path baseline report is excluded from candidate evidence. Required hosted Ripr Rust Small Result is unrequested. Source of Truth passed; UB review39377562495 and Python wheel39377562527 were in progress at the latest read. CI/advisory skips and provider quota comments supply no qualification or substantive review.

Parent owns integration follow-through. Keep Draft pending current-head required native qualification and material review feedback. Existing owner scopes, action-specific restrictions and integration/release/deployment holds remain in force.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • ripr sensor failed exit 2 and cargo-test scheduled-late while PR body still reports native precommit incomplete and check-fast hit 480s cap; reviewers cannot corroborate 'golden tests passed' assertions from the prose.

Verification questions

  • Confirm diagnostic_oracle_wording_follows_producer_selection_over_a_stronger_row only proves reverse-flip resilience for related_tests order, not for evidence ordering or duplicate suggested_* entries.
  • Confirm evidence[i].suggested_test_* continuity still depends on python_suggested_related_test identity checks; if #8951 deltas touched Python guard inputs, selection could silently shift - diff confirms guard inputs untouched.
  • Confirm hover::finding_hover_markdown drops strength/kind pipe and passes literal true as has_oracle for the related-test row, perfect for never-None path but a glue-only literal.

Refuted

  • Two existing seam diagnostic tests already had goldens containing 'strong exact_value oracle'; updating only the canonical string but leaving seams with no oracle to print would regress absent-assertion prose.; refuted because: Existing seam fixtures use strong graded rows; absent-assertion prose for the seam path is not asserted by a new test, but the seam_grip path now routes through oracle_projection which (per related_test_miss) returns 'no oracle' when has_assertion is false - and seam callers pass strength!=None, so absent assertion cannot reach that branch.
  • This change requires a new shared formatter or broad surface migration to keep wording consistent.; refuted because: oracle_projection already owns shared prose; changed consumers call it directly, with no new formatter or unrelated analyzer/selection changes.
  • the fix-site diagnostic link could drift to a stronger row when one exists, swapping the user-selected test; refuted because: DiagnosticWitness::selected_related_test is invoked rather than re-parsing string DTO fields, and diagnostic_oracle_wording_follows_producer_selection_over_a_stronger_row runs both orders and asserts the unclassified selected_observer row, not the stronger row.

Parked follow-ups

  • Two fixture goldens still embed 'strong exact_value oracle' inside Imitate lines; those are structured oracle-kind fields (outside this delta's scope per SPEC-0224) and the change correctly leaves them untouched. Worth a follow-up if user-facing strictness later requires identical phrasing.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • The strongest remaining uncertainty is execution proof: cargo-test is scheduled late and the seeded thread reports precommit/golden validation still pending.
  • ripr sensor failed with exit 2 and cargo-test was scheduled-late; PR handoff reports REVIEW_INCOMPLETE with no native precommit complete yet.

Copy link
Copy Markdown
Member Author

Follow-up to UB review5581427316, exact unchanged head 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483. Disposition remains REVIEW_INCOMPLETE; keep Draft.

The source questions are resolved, with independent rereview:

The pending-precommit/goldens premise came from an earlier PR snapshot. Exact-head native precommit passed; final goldens passed507 fixture entries with zero drift. Four old-production message controls failed and six candidate controls passed. The original check-fast timeout remains preserved. After inspecting its log and later warm receipts, one unchanged-source/gate/profile retry passed in86.024s, with a stable ten-path selector and all15applicable gates. Workspace strict Clippy took60.924s;31file-policy warmup/list children totaled3.702s. These observations do not establish the original cold timing breakdown.

The terminal UB run39377562495 has a successful advisory wrapper but its own reporter says INCOMPLETE: ripr exit2; cargo-test timed out900s (superseding scheduled-late); rejected/unsupported proof intents and unexecuted portfolio tasks remain. One HEAD-only receipt passed; no hosted red/green result is claimed. Checkout log identifies merge d752bbb5cc7886228142ad5cce01066146332b00, whose [base,head] parents and tree match the recorded subject.

Artifact12244982297 exists, but raw ZIP materialization in this executor is blocked by proxy403. The ripr sensor's underlying failure cause is therefore not established; local passes do not erase that hosted evidence gap. No source repair or infrastructure retry is selected from exit2 alone.

Next required qualification prerequisite: parent obtains the applicable authorization and uses the native exact-head request for Ripr Rust Small Result. Parent also owns raw sensor diagnosis and integration. No Ready/label/merge/release/deployment transition occurred in this lane.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 20, 2026 21:23

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disposition: REVIEW_READY for unchanged published head 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483. This author COMMENT records independent inspection and qualification; it does not authorize merging or releasing.

The source/oracle review covers the complete ten-file #8951 repair: four consumers reuse the existing formatter, the typed witness selector preserves Python/Perl/general producer choices, and structured tags and analyzer behavior remain unchanged. Four complete renderer controls failed on old production; six candidate controls pass. Mixed and reordered related-test rows retain the selected unknown observer beside a stronger alternative. Native local precommit, warm check-fast and 507-entry zero-drift goldens remain valid on their recorded original basis.

Native qualification run39499933925, attempt1 completed successfully at 2026-10-20T22:03:19Z. Actual Rust Gates checkout 6aa6341e2a1c21ecdc44afbd11470fe01e6c5723 has ordered parents [a82991d032d35dc48a2d3f2f5aa9ee876f174215, 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483] and tree 964af08edd0618726ba9688e823467360232403a. Rust Gates job118894855957 and required Result job118912288049 passed. Nextest ran 17764 tests across 131 binaries: 17764 passed, 4 skipped; all six new wording controls passed. Doctests: 2 passed, 1 ignored. Formatting, policies, workspace/all-target and all-feature checks, strict Clippy, goldens, fixtures, four verdict corpora and all ten PR-evidence commands passed. The PR-evidence diff itself is explicitly cec60204...71fb76bf8; it is not a different-base analysis claim.

Independent terminal review checked the complete logs and source applicability, including main's movement through 5403d85084486d7804a5bb08a08cda9c2d4a5710 through #8901 doctor/framework/artifact-root work and #8986 cached ValueFact.file persistence. Those changes leave this repair's formatter, selector, LSP and brief paths untouched; the traceability and first-use cache-corpus changes do not alter its wording expectations. They warrant no restack or repeated qualification. The run proves the recorded a829-based merge subject, not a test execution on later main. Rust-only CI also passed on 6aa; Windows advisory passed on the exact source head 71fb.

Fresh submitted-review, inline-thread and Conversation inspection found no unresolved material finding; inline threads are empty. Devin reported no issues. CodeRabbit/Gemini quota responses remain missing provider reviews. The earlier UB source questions were addressed in the source-backed reply; its incomplete sensor result and uninspected raw diagnostic artifact remain disclosed, without a retry or a claim that their cause was repaired. No blocking source/test-oracle finding remains for #8951. The shared helper's None/Unknown wording limitation retains its separate owner.

PR remains open and Ready with auto-merge disabled. No duplicate qualification was requested. Parent retains integration follow-through; all merge, release, deployment and diagnostic-retry holds remain in force.

EffortlessSteven commented Oct 20, 2026 •

Copy link
Copy Markdown
Member Author

LANDED: normal protected expected-head squash 67c8f9cdb4dc96e4477d5375cd9cb5c9b00b5363, parent a4851b833b4224e4a895247c6c3859bcfedf393c, tree 857e563b8e24640e57486dc2ad6f2fb823221144. GitHub PR merged/closed and main readbacks verified; the landed tree equals the premerge inspected composition. Both #8965 and #8967 are now on main, in that order. No bypass or settings change. #8951 verified closed; broader #5059 verified open. Required qualification was reused, not rerun; no release/deployment. The prior pending-authorization conclusion is superseded by the reconciliation and successful server-enforced landing below.

Landing reconciliation, superseding this comment's earlier unexplained authorization gap (2026-10-20 UTC).

Exact head 71fb76bf8bd16fee8b25e647ed58ba6eb52a9483. Review5592458280 says “This author COMMENT records independent inspection and qualification; it does not authorize merging or releasing” and “Parent retains integration follow-through; all merge, release, deployment and diagnostic-retry holds remain in force.” These reserve the former qualification worker's scope and the parent's integration judgment; they name no distinct dated user merge prohibition or remaining candidate defect. The user's later direct23:29UTC request is to get work reviewed, merged and integrated, followed by23:33UTC “Proceed with improving the repos”. Current landing delegation applies that newer instruction to qualified protected squash. The prior task-only no-merge scope is superseded. Release/deployment/diagnostic-retry restrictions remain.

Existing independent oracle-contract review and terminal REVIEW_READY5592458280 are reused without a new writer or qualification campaign. Fresh decoded Rust job118894855957 confirms actual checkout6aa6341e2 into a82991d, exact SUBJECT_HEAD71fb76b, all six wording tests PASS, 17,764passed/4skipped and doctests2passed/1ignored. Run39499933925 attempt1 and exact-head required Result are success. Complete check inventory61/61 is terminal success/skips.

#8965 first squash-landed as a4851b833b4224e4a895247c6c3859bcfedf393c, parenta816499e, with treef1a7fa98 matching its inspected composition. #8967 has no source dependency on it. Current-main changes since qualified a82991d leave #8967's formatter, typed selector, LSP and brief source/test/golden paths unchanged; only independent traceability insertions share a file. Clean composition on landed8965 has tree 857e563b8e24640e57486dc2ad6f2fb823221144. This is composition/applicability inspection, not test execution on later main.

Supported connector review-thread collection is empty; Conversation and reviews retain no new substantive finding. UB questions were addressed in reply6284826045, while sensor and rejected/unsupported proof limitations remain. The shared None/Unknown helper limitation retains #8949/#8964 ownership.

Main active ruleset18845973 requires resolved threads/zero approvals and permits squash; bypass actors are empty. Branch metadata requires Ripr Rust Small Result. Classic detail403 remains an unreadable-policy limitation; CLI conversation query transport Forbidden also remains disclosed. No denied endpoint was bypassed or retried through another route. Existing server enforcement plus current exact-head checks/reviews/conversation and clean composition suffice for a normal protected expected-head squash attempt. Any additional GitHub gate must block the attempt; no settings, admin bypass, auto-merge, release or deployment.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disposition: REVIEW_READY — final integration refresh for exact published head71fb76bf8bd16fee8b25e647ed58ba6eb52a9483. Author COMMENT, not platform approval.

Reused independent source/oracle review and terminal5592458280; no source change or duplicated qualification. Direct production diff inspection confirms oracle_projection reuse, unchanged producer Python/Perl/general selection via extracted typed selector, unchanged hover absent-oracle branch, and literal rendered controls for four consumers. Existing old-production red and six candidate controls retain original identities. UB source questions remain answered by6284826045; raw sensor/unsupported proof and helper absence limitations remain disclosed and uncredited.

Fresh job118894855957 logs confirm checkout6aa6341e2/a82991d0+head, SUBJECT_HEAD, six tests PASS, 17,764passed/4skipped and doctests2passed/1ignored. Live run39499933925 and exact-head required Result success; complete inventory61/61 terminal success/skips. Existing reviews/Conversation and supported connector thread reads retain no material unresolved finding.

Integration basis nowa4851b833b4224e4a895247c6c3859bcfedf393c, verified landing of8965 atop a816499. Since qualifieda82991d0, the formatter/selector/LSP/brief implementation/tests/goldens are unchanged on main;8965 changes independent phase parser/test/package paths, and traceability edits compose without conflict. Local Git combined tree857e563b8e24640e57486dc2ad6f2fb823221144. No new execution pass on this later composition claimed; unrelated main movement warrants no repeated qualification.

Hold reconciliation is in updated comment6304201625: the later direct user merge/integrate request supersedes the prior worker-only no-merge scope. Release/deployment/diagnostic denials remain. Protection detail403 and CLI conversation Forbidden remain limits without alternate-route retries. Main active ruleset and exact-head required check are observed; normal expected-head squash retains all server enforcement and must stop on any rejection. No bypass or settings change.

No blocking candidate source/oracle finding, unresolved inline thread, source dependency or affected integration premise remains. Shared helper #8949/#8964 ownership and Windows repair owners #8845/#8849 are preserved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align LSP hover/diagnostics and agent packets with the shared oracle_projection wording

1 participant