Skip to content

feat(mcp): offer conditional resource reads - #13367

Draft
EffortlessSteven wants to merge 16 commits into
mainfrom
codex/mcp-conditional-resource
Draft

EffortlessSteven wants to merge 16 commits into
mainfrom
codex/mcp-conditional-resource

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Summary

ripr_read_resource_if_changed lets an opted-in client avoid replaying an unchanged resource. It runs the ordinary resource route and checks, hashes the exact requested URI plus the complete current response, and returns either that response with its digest or an explicit unchanged result.

Swarm / Source Boundary

  • ordinary same-repository MCP, documentation, spec and test work

Source-of-truth Links

Proposal: #13328
Spec: RIPR-SPEC-0211
ADR: ADR 0022
Plan item: conditional resource reads
Governing issue or accepted claim: #13328
Acceptance delta (one sentence): An opted-in client avoids replaying an unchanged current resource response using a digest computed after the ordinary resource route and its checks.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): codex/mcp-conditional-resource
Stack parent or prerequisite PR (if any): #13357 independent pagination is accepted at 80721ce1b4aa4db6d9449bb834d43184aaf13a94; #13168 is accepted at ff686557b9fd0bc439a8003c1d00671ea1dd8afa. The remaining qualification-route dependency is #4987 / #4841.
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): not applicable
Accepted winner and losing candidate disposition (when decided): sole existing conditional-read candidate; continuing the same branch

Current Candidate and Repair

Published head: 890cedec77c6a87c2e75be6972bff498a7547822; tree: 3fd4343c96b73b322ef0d8bb956889ceaefcecaa; sole parent: 2b765a96eb0d33a09e40468d2e1a8e88b68df52a. This is the exact reviewed tree of prepared local 9650ba572fd3f202495151d6ac8b4f11654a579d, published by ordinary fast-forward with an expected-parent lease.

The complete repair deletes five lines from .config/nextest.toml: the unsupported conditional-test successful-output retention override. The config now equals current main. Product source, all tests, the strict policy guard, workflows, retries, timeout and JUnit path are unchanged. The independent cost receipt retains the measurements separately.

Exact-head SOURCE_REVIEW_READY review records the repaired source defect, cumulative review, observed merge composition and remaining proof.

Scope and Acceptance

Contract Evidence retained
First/changed reads preserve the complete ordinary response Owned SDK ServerResult conversion and real stdio whole-response parity
Unchanged reads omit replayed content and bind the exact requested URI First/repeat controls, alias binding and live attempt-link changes
Ordinary failures and current recovery win over digest reuse Typed no-snapshot/stale, invalid digest, dirty-unrefreshed and old-digest stale-receipt controls
Output remains bounded and strict Direct-handler failure/budget controls, strict arguments and panic containment
Public discovery and accepted pagination remain coherent Eleven-tool descriptor/schema/help parity and independent disjoint pagination walks

Non-goals: changing ordinary resource semantics or TTL, detecting unrefreshed source edits, persistent caching, default host behavior, or changing accepted pagination.

Proof

Portable exact-tree/delta, whitespace and TOML checks passed. The repaired profile has precisely the accepted native-activation output row. This is source/configuration evidence; no new local Rust harness or current-head hosted qualification is claimed.

Required run 42188503698, attempt 1 remains failed on predecessor 2b765a96.... Its native merge was 616241143f5a95f2cc5e4e790f01b8b42fb29182, tree 2fd4d5b3d86164cd7807f7fe1a83d045484761f3. Gates passed; all ten relevant MCP controls passed. The only test failure was product_gate_plan::tests::required_nextest_profile_cannot_filter_retry_or_drop_junit, addressed by the five-line repair. Complete raw accounting is:

Planned Executed Passed Failed Unrun
27,804 26,788 26,787 1 1,016

The native verifier and required Result correctly failed. No unrun case is counted as passing. The retained audit binds all four partition artifacts and explains the separate verifier-accepted aggregate. Earlier SDK conversion and Clippy failures/repairs remain in the review history.

Observed current GitHub merge ref: 2ffd08f75ace81fa27bcb51632d5f6c51c37ef99, ordered parents main be4b8b6d73cf21e5c1e356f0078f33b89ce1b43a and this head, tree ede120c19374ca0094808d42047241224ef60806. This composition has not received native qualification.

Retained executable cost evidence

The 69-frame receipt uses the actual predecessor executable from wheel run 42187165202/artifact 13488363029. Its source and binary identities remain bound to 2b765a96...; it is not relabeled as an executable built from this repair.

Mode Ordinary round trip First conditional Unchanged conditional
full 777 1,993 367
summary / brief 777 1,065 409

These are o200k reference text tokens including request/response and digest overhead. The measured catalog-row counterfactual adds 494 tokens. Including discovery and the first read, strict savings begin at six total reads in full mode or four in summary/brief, assuming subsequent reads remain unchanged at the measured size. This does not establish provider billing, whole-task savings or latency.

Claim Boundary and Rollback

The ordinary resource is constructed and serialized before digest comparison. The digest cannot certify unrefreshed source currentness; first reads and discovery cost more. The retained corpus is not exhaustive negative-response or platform/release qualification.

Rollback is a focused revert of the conditional tool, shared-dispatcher extraction and supporting evidence while preserving accepted independent pagination. No stored-data migration.

Spec-Test-Code Traceability

.ripr/traceability.d/13328-mcp-conditional-resource.toml maps RIPR-SPEC-0211 to the descriptor, conditional tool/shared dispatcher, server/stdio controls, repair-state fixture, guide and schema. The changelog is changelog.d/13328-mcp-conditional-resource.md. No golden changes; ADR 0022 retains bounded read-only authority.

CI Economics and Continuation

The PR remains Draft and unqualified, with no merge-ready label or auto-merge. [skip ci] is a publication-only deferral honoring the user's no-early-CI and 20-minute ceiling. GitHub documents that this suppresses push/pull_request runs and leaves required checks unsatisfied; it does not create a pass. No workflow, setting or protection change was made, and no new required run or merge was requested.

Owner / governing claim: MCP delivery lane of the active token-efficiency session / #13328.
Candidate: #13367 at 890cedec77c6a87c2e75be6972bff498a7547822, reviewed tree and observed merge subject above.
Review: exact-head SOURCE_REVIEW_READY; final REVIEW_READY awaits complete qualification and current feedback.
Validation: retained native controls and failed complete-run audit; current repaired composition remains unqualified.
Dependency: #4987 pre-allocation obligation/reuse adapter and #4841 complete proof within 20 minutes. The installed full gates/shards route does not meet that ceiling.
Next: the delivery owner resumes only after a supported compliant route is installed; refresh the current subject, obtain complete native partition/denominator evidence, address feedback and make the final protected expected-head squash judgment.

@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 Nov 6, 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 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 155 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: ec7cadea-14c3-496a-8f5c-9d8d8e4830ed
Commits

Reviewing files that changed from the base of the PR and between ff68655 and 890cede.

Files selected for processing: 14

  • .ripr/traceability.d/13328-mcp-conditional-resource.toml
  • .ripr/traceability.d/9360-mcp-independent-pages.toml
  • changelog.d/13328-mcp-conditional-resource.md
  • changelog.d/9360-mcp-independent-pages.md
  • crates/ripr/src/mcp/mod.rs
  • crates/ripr/src/mcp/protocol.rs
  • crates/ripr/src/mcp/server.rs
  • crates/ripr/src/mcp/server_tests.rs
  • crates/ripr/src/mcp/workspace.rs
  • crates/ripr/tests/mcp_sdk.rs
  • crates/ripr/tests/mcp_stdio.rs
  • docs/OUTPUT_SCHEMA.md
  • docs/interop/mcp.md
  • docs/specs/RIPR-SPEC-0211-mcp-workspace-session-evidence.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Preserve the existing candidate and accepted main histories, retain both spec test mappings, guard the Rust-only transport fixture, and exercise independent walks with full, summary and brief text plus explicit-false compatibility.

Tree matches locally reviewed 0e770c3dc26fb13d93d49d301a5277c1df5f3b34. Native Rust proof remains pending hosted qualification.
Apply the exact formatting diff from qualification run 42163032010, job 127713272471. No production or test-oracle behavior changes. Tree matches local 04e607b8e170894d926695305b16781fff6037dd.
Preserve both histories, retain the shared ordinary resource dispatcher and URI/full-response digest design, add a Rust feature guard, and pin ordinary-resource parity, exact URI binding and typed refusals through stdio.

Tree matches locally reviewed f802be429193bcdd02c74dc1bb695c4f95418206. Native Rust proof remains pending hosted qualification.

@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.

SOURCE_REVIEW_READY

Reviewed exact candidate b74de6d, tree b3179fa756aab0bb586acf73eb84eb31d4beac0b, equivalent to local 4d47bd0027ad098a5a923df99a326f0b037443a5. This is source-scope qualification evidence; hosted native formatting, compilation and execution remain to be established.

The owning MCP lane inspected the complete candidate and affected resource, failure, budget, schema, discovery, SDK and stdio consumers. A separate parent-session reviewer read the full production candidate f802be429193bcdd02c74dc1bb695c4f95418206 and the measurement follow-up 9d9e104ffed9b927aaa750b85587fca703c97ebd. The requested grammar correction and explicit full tools-list environment pin are included in this exact tree.

The tool invokes the shared ordinary resource dispatcher and current checks before computing its digest from the exact requested URI and the complete ReadResourceResponse. Existing route priority, ambiguity refusal, typed nested failure data, current snapshot recovery, envelope budgets, private/zero-TTL resource semantics and panic containment remain intact. The digest does not certify unrefreshed source currentness.

Substantive controls distinguish URI-only and resource-only digest shortcuts, snapshot-only reuse, omitted live attempt links, stale receipt success, invalid digest coercion and changed-response budget overflow. The alias case holds response bytes constant while varying the URI; ordinary-resource parity compares the complete resource result. Real stdio cases retain error flags and recovery identities. Generic summary/brief text still directs callers to complete structuredContent while retaining scalar state and digest.

The existing feature-gated stdio control now records equal-ID serialized reply JSON bytes for ordinary, changed and unchanged status reads. Full discovery mode is explicitly pinned. Its catalog row-removal comparison is labeled as a current-frame counterfactual, not a prior-version measurement. The narrow nextest override retains only this successful test output in existing JUnit evidence without changing selection, retries, jobs or required gates.

Portable whitespace, TOML, traceability, changelog and exact-tree publication checks passed. Runtime results and host-token savings are not inferred from source inspection. No actionable source defect remains in this bounded review.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 6, 2026 05:02
@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!

@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.

SOURCE_REVIEW_READY

Reviewed exact candidate f549af7, tree b8c2d4ee142d94549ec5e6d5fdae501ec5bd7a2f, equivalent to local 0c701fe01003a90a474d1633f6c92667ad1d7c83. This is source-scope qualification evidence; hosted native formatting, compilation and execution remain to be established.

The owning MCP lane inspected the complete candidate and affected resource, failure, budget, schema, discovery, SDK and stdio consumers. A separate parent-session reviewer read the full production candidate f802be429193bcdd02c74dc1bb695c4f95418206 and the measurement follow-up 9d9e104ffed9b927aaa750b85587fca703c97ebd. The requested grammar correction and explicit full tools-list environment pin are included in this exact tree.

The tool invokes the shared ordinary resource dispatcher and current checks before computing its digest from the exact requested URI and the complete ReadResourceResponse. Existing route priority, ambiguity refusal, typed nested failure data, current snapshot recovery, envelope budgets, private/zero-TTL resource semantics and panic containment remain intact. The digest does not certify unrefreshed source currentness.

Substantive controls distinguish URI-only and resource-only digest shortcuts, snapshot-only reuse, omitted live attempt links, stale receipt success, invalid digest coercion and changed-response budget overflow. The alias case holds response bytes constant while varying the URI; ordinary-resource parity compares the complete resource result. Real stdio cases retain error flags and recovery identities. Generic summary/brief text still directs callers to complete structuredContent while retaining scalar state and digest.

The existing feature-gated stdio control now records equal-ID serialized reply JSON bytes for ordinary, changed and unchanged status reads. Full discovery mode is explicitly pinned. Its catalog row-removal comparison is labeled as a current-frame counterfactual, not a prior-version measurement. The narrow nextest override retains only this successful test output in existing JUnit evidence without changing selection, retries, jobs or required gates.

The two-file follow-up applies the exact native formatter output from run 42166033697/job 127722918173, which stopped before compilation. Comparing every non-whitespace source character confirms the layout-only scope. The independent production and measurement reviews remain applicable.

Portable whitespace, TOML, traceability, changelog and exact-tree publication checks passed. Runtime results and host-token savings are not inferred from source inspection. No actionable source defect remains in this bounded review.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit 2b765a96eb0d · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=ff686557b9fd0bc439a8003c1d00671ea1dd8afa findings=111 gaps=5 infection_unknown=6 propagation_unknown=2 static_unknown=27 weakly_exposed=76
analysis=incomplete|outcome=partial_with_limitations
limitation=diff_scope_oversized|reason=The run analyzed 565 changed line(s) and left at least 462 changed line(s) outsi…|recovery=To widen the analyzed partition, raise RIPR_PARTIAL_DIFF_LINE_BUDGET to at least 1027, then re-run.
weakly_exposed|crates/ripr/src/mcp/protocol.rs:1584|"minItems": 11,|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_mcp_protocol.rs:return_value:6fac768e
weakly_exposed|crates/ripr/src/mcp/protocol.rs:253|tools: [&'static str; 11],|missing=tools: [&'static str; 11],|test=t1|id=probe:crates_ripr_src_mcp_protocol.rs:field_construction:837f699c
weakly_exposed|crates/ripr/src/mcp/protocol.rs:1585|"maxItems": 11|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_mcp_protocol.rs:return_value:e57e9057
weakly_exposed|crates/ripr/src/mcp/server.rs:1329|protocol::CONDITIONAL_RESOURCE_TOOL_NAME =>|missing=No strong discriminator was detected|test=t2|id=probe:crates_ripr_src_mcp_server.rs:match_arm:5925fd1c
weakly_exposed|crates/ripr/src/mcp/server.rs:1330|Some(protocol::CONDITIONAL_RESOURCE_SCHEMA_VERSION)|missing=No strong discriminator was detected|test=t3|id=probe:crates_ripr_src_mcp_server.rs:return_value:b5a78efa
t1=crates/ripr/src/mcp/protocol.rs:2349 conditional_resource_descriptor_keeps_ambiguity_failure_and_state relational_check `if !codes.contains(&json!(super::super::workspace::CODE_ID_AMBIGUOUS)) { return …` miss=weak_assertion
t2=crates/ripr/src/mcp/server_tests.rs:1671 argument_validation_errors_carry_structured_recovery_data exact_value `assert_eq!(missing.code, rmcp::model::ErrorCode::INVALID_PARAMS);` miss=observation_unconfirmed
t3=crates/ripr/src/mcp/tool_panic_tests.rs:281 every_tool_is_panic_contained relational_check `if !contained { return Err(format!("{name}: glue panics are not contained")); }` miss=weak_assertion
limits=infection_unknown:6,propagation_unknown:2,static_unknown:27,weakly_exposed:71
next=ripr explain --root /home/runner/work/ripr-swarm/ripr-swarm/head --base ff686557b9fd0bc439a8003c1d00671ea1dd8afa --committed --mode draft --format agent probe:crates_ripr_src_mcp_protocol.rs:return_value:6fac768e

Took 107s.

@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.

SOURCE_REVIEW_READY

Reviewed exact candidate 46e8017, tree b27f2224d00a649dfc981542b03e4ef17dab154b, equivalent to local cca7a13eaad0c7d7ad93b056641434444a1475dc. This is source-scope qualification evidence; hosted native formatting, compilation and execution remain to be established.

The owning MCP lane inspected the complete candidate and affected resource, failure, budget, schema, discovery, SDK and stdio consumers. A separate parent-session reviewer read the full production candidate f802be429193bcdd02c74dc1bb695c4f95418206 and the measurement follow-up 9d9e104ffed9b927aaa750b85587fca703c97ebd. The requested grammar correction and explicit full tools-list environment pin are included in this exact tree.

The tool invokes the shared ordinary resource dispatcher and current checks before computing its digest from the exact requested URI and the complete SDK wire-result payload. Existing route priority, ambiguity refusal, typed nested failure data, current snapshot recovery, envelope budgets, private/zero-TTL resource semantics and panic containment remain intact. The digest does not certify unrefreshed source currentness.

Substantive controls distinguish URI-only and resource-only digest shortcuts, snapshot-only reuse, omitted live attempt links, stale receipt success, invalid digest coercion and changed-response budget overflow. The alias case holds response bytes constant while varying the URI; ordinary-resource parity compares the complete resource result. Real stdio cases retain error flags and recovery identities. Generic summary/brief text still directs callers to complete structuredContent while retaining scalar state and digest.

The existing feature-gated stdio control now records equal-ID serialized reply JSON bytes for ordinary, changed and unchanged status reads. Full discovery mode is explicitly pinned. Its catalog row-removal comparison is labeled as a current-frame counterfactual, not a prior-version measurement. The narrow nextest override retains only this successful test output in existing JUnit evidence without changing selection, retries, jobs or required gates.

The two-file follow-up applies the exact native formatter output from run 42166033697/job 127722918173, which stopped before compilation. Comparing every non-whitespace source character confirms the layout-only scope. The independent production and measurement reviews remain applicable.

Run 42166432075/job 127724161961 passed formatting, then compilation exposed E0277: ReadResourceResponse itself has no Serde implementation. This head converts through ServerResult::from, the same exhaustive conversion used by rmcp's ordinary handler, before serialization. The pinned rmcp 3.7.0 archive SHA-256 matches Cargo.lock (ece64e19631fc38758181e637c15509a2c2709ee53bfde1e1d58f9dc991f919e). Owning and independent parent review verified both variants preserve their complete payload and ServerResult derives untagged Serialize. Current-protocol stdio equality remains the behavioral oracle; universal negotiated-wire-byte parity is not claimed. Native execution and inherited CLI prerequisite integration remain pending.

Portable whitespace, TOML, traceability, changelog and exact-tree publication checks passed. Runtime results and host-token savings are not inferred from source inspection. No actionable source defect remains in this bounded 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.

REPAIR_REQUIRED

Reviewed published head 46e8017. A bounded public-contract correction is required before the next qualification request: crates/ripr/src/mcp/mod.rs::MCP_HELP still lists the previous ten-tool catalog, although discovery and the unknown-tool response include ripr_read_resource_if_changed. The existing help-list assertion also pins the prior final conjunction. The owned candidate now contains the small help inventory/assertion repair locally; it will be published together with the canonical #13168 prerequisite integration, preserving both histories.

This finding does not change the dispatcher, digest, resource/failure parity, or the measured current-protocol results on this head. The candidate remains unlabeled with no automatic merge armed; no new required run is being requested until this repair wave and source rereview are complete. The existing source-only attestation is withdrawn for this public-contract dimension; the final integration review is still outstanding.

Copy link
Copy Markdown
Member Author

Executed native conditional-read cost and control evidence

Bound to published candidate 46e8017013338c70e272218288db1cbbbe764f70, tree b27f2224d00a649dfc981542b03e4ef17dab154b. The already-existing read-only wheel workflow 42168065947, attempt 1, produced artifact 13479799706. Its API-listed ZIP SHA-256, inner wheel/receipt, candidate/tree/Cargo.lock identities and native payload digest were verified before directly executing the CLI. Native payload SHA-256: 15c530ae99b382a26a72acda5414f6901980d6ff5c5541235f2c7a9c3a5b1f5d; version readback names this exact candidate. This establishes actual native CLI execution here, without a local Rust installation/build or a claim that the Rust test harness ran locally.

The current-protocol (2026-07-28) stdio control used equal request IDs, explicitly pinned full tool discovery, and measured raw request plus response bytes including each framing newline for ripr://workspace/status before refresh:

Text mode Ordinary read First conditional read Unchanged conditional repeat First total reads with strict savings, including marginal discovery row
full 3,357 B 7,675 B 1,281 B 5
summary 3,357 B 4,431 B 1,448 B 3
brief 3,357 B 4,431 B 1,448 B 3

The actual full catalog reply is 47,622 B. Removing exactly the conditional tool row from that same reply gives a counterfactual, not a prior-server measurement, of 45,511 B: a 2,111 B marginal row. The threshold includes this row, the larger initial conditional response and the seen-digest request overhead, and assumes every subsequent resource stays unchanged at the measured size. For full mode, four reads still cost more (13,629 vs 13,428 B); five cost less (14,910 vs 16,785 B). Summary/brief cross at three reads (9,438 vs 10,071 B).

The 69 retained raw request/response pairs (23 per mode) and ledgers reconcile all byte lengths, response hashes, IDs and newline framing. Complete changed-resource equality with ordinary resources/read, byte-identical repeated ordinary reads, exact-URI digest separation with equal resource data, invalid digest types, typed no-snapshot/stale-snapshot failures and current recovery identity, live attempt-link changes within one snapshot, the dirty-unrefreshed boundary and stale receipt failure with an old digest all executed. An independent read-only accounting audit reproduced the costs and strict thresholds.

The cost denominator uses only the ordinary/first/repeat reads plus the marginal catalog row; other control traffic is retained but excluded. The raw control corpus does not establish exhaustive ordinary-versus-conditional negative-response parity or no-snapshot-versus-digest-validation precedence. It does not measure host-model tokens, total-session latency, CPU savings, all resources, or legacy negotiated-wire equivalence. Full mode's initial double-carry overhead remains explicit.

Measurement receipt conditional-cost.json SHA-256: 061a59860e2ee7ea8447eafe9182faf684c3bd6cd811a4e87b0fbb6e04962b67 (distinct from the native payload digest). Raw traces, driver, exact fixture Git identities and provenance are retained by the MCP lane. A separate initial driver attempt sent an out-of-contract 125,745-byte request ID; the server returned the bounded null-ID -32600 error. That incident is preserved as invalid driver input and establishes no conditional budget or product-hang result.

Full required qualification remains outstanding after the small CLI-help inventory correction and canonical #13168 prerequisite integration. This evidence comment does not restore the withdrawn source attestation or authorize landing.

Integrate the canonical #13168 native assertion prerequisite and current snapshot-hint semantics while preserving both histories and the independent pagination contract.
Preserve the existing conditional-read candidate and exact #13357 parent, including accepted main and the canonical #13168 assertion repair. Complete the eleven-tool MCP help inventory. Keep both PR bases on main and land the pagination prerequisite first.

@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.

SOURCE_REVIEW_READY

Head: d027abb7410bdfb63141b2259b1d28f49e5c6f88; tree: 29b6fb4724740b75ce5f6381b76e658efc87b3a5.

Directed owner review covers the twelve-file conditional/help delta and the shared pagination integration: resource dispatch order and current checks, exact requested URI plus complete serialized response identity, SDK ServerResult conversion, typed refusal/current-snapshot data, tool envelope and panic handling, schema/catalog/help parity, full versus compact structured content, and real stdio positive/negative controls. The eleven-tool help inventory is complete and the existing conjunction assertion now names the actual final tool. The previous public-help finding is repaired in this publication.

The complete conditional implementation is byte-identical to the previously reviewed SDK repair. The automatic merge carries reviewed #13357 unchanged; the workspace owner follows accepted snapshot-hint semantics. Both the strict independent_pages parser and conditional URI/digest parser retain their separate contracts. Guide and spec retain both features. A second bounded review of this exact composition found no semantic collision; feature patch identity is unchanged and remerge diff is empty.

The source/oracle review explicitly challenges URI aliasing, snapshot-only hashing, changed live attempt links, dirty unrefreshed source, stale receipt behavior, invalid digest types, oversized changed replies, default pagination parity and whole ordinary-resource response equality. The emitted byte comparison pins full discovery and equal request-ID size, and labels descriptor-row removal as a counterfactual. Earlier direct native evidence remains bound to head46e80170 and its verified payload; its raw traffic audit is separate from current-composition Rust harness proof.

GitHub merge subject 49e9e53e46ffc36e73c036b82879028cb5c335b8 has parents accepted main ff686557b9fd0bc439a8003c1d00671ea1dd8afa and this exact head, with the reviewed tree. Canonical #13168 assertion blob a6afed984e1c0baf55b85766381bed61cb583a4e is present. Native qualification follows this source attestation; final exact-head proof and integration judgment will also require actual #13357 landing. No source or oracle finding remains.

@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.

REPAIR_REQUIRED

Required request 42178290836, attempt 1, is terminal failure on candidate d027abb, native merge 49e9e53. Native gates job 127762008630 passed formatting and policy checks, then library-test compilation stopped at four E0277 errors: the new conditional_resource_observes_failure_and_bounds test serializes CallToolResponse directly at server_tests.rs lines 29, 39, 55 and 65. That SDK handler wrapper has no Serialize implementation.

This is a candidate test-compilation defect. Current source readiness is withdrawn until the four observations use the SDK's exhaustive ServerResult conversion and the repaired head is reviewed. Production behavior and the earlier exact-head direct native measurements remain scoped to their recorded subjects; neither establishes the new Rust harness's execution. No shard ran in this failed request, and required Result correctly failed. merge-ready has been removed; no auto-merge is armed. The same owner will repair the existing candidate and request fresh exact-head qualification after source/proof preparation.

@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.

SOURCE_REVIEW_READY

Reviewed head: 69bc5c7; tree c2d35bc3b68770d08b768a5f772e86f155059e17. Observed main composition c6edaa0 has accepted main ff68655 and this exact head as parents, with the same tree.

The focused test repair uses the pinned SDK's exhaustive From for ServerResult conversion before each of the four existing serialization observations. Complete, InputRequired and Task stay owned by the SDK's untagged result model. The model import already supplies ServerResult. Removing the four conversion lines and one comment reproduces the preceding test source exactly: first/read digest, unchanged repeat, changed failure state, and typed size refusal assertions are retained.

Directed owner review checked the complete five-line delta, pinned SDK definitions and conversion, all new serialization sites, healthy-root fixture, status/failure producer and the resource-budget to bounded-tool to typed-failure route. The 64-byte direct-handler control observes the refusal code and isError; it makes no claim about a final 64-byte wire envelope. No production, schema, digest, response budget, help or paging behavior changes in this repair. Prior full source reviews and the independently reviewed main/pagination composition retain their original scopes.

Whitespace and exact local/published/observed-merge tree checks passed. The updated full inspection and failed-run lineage are in the PR body; its metadata check ran with the provenance-checked native validator after complete parser-region source equality. No current Rust test execution is inferred from source review or older wheel measurements. Hosted compilation, complete partition coverage, current feedback and final integration remain distinct requirements before landing.

EffortlessSteven commented Nov 6, 2026 •

Copy link
Copy Markdown
Member Author

Current repaired-head continuation: 2b765a96eb0d33a09e40468d2e1a8e88b68df52a, branch tree 0822986237c4657ce8e9817daf09f0bcbfcc0c8f.

The two-binding Clippy repair received an independent exact-delta source review: replacing |_| with |_error| changes no error payload, SDK conversion, digest input or test bytes, and follows the surrounding serialization idiom. Current native source review 5797621493 and the complete validated PR body are read back. #13357 is actually accepted at 80721ce1b4aa4db6d9449bb834d43184aaf13a94; no implementation prerequisite remains.

Required request 42188503698, attempt 1, is admitted. Raw admission job 127794681932 identifies checkout 616241143f5a95f2cc5e4e790f01b8b42fb29182, with actual main 7c1087709bdecb88f1fd25b0e813e86ffc2213dc and this exact head as ordered parents; its tree is 2fd4d5b3d86164cd7807f7fe1a83d045484761f3. Local composition independently reproduces that tree. The full main delta was source-reviewed by the owner and an independent reader; MCP/SDK owners and workflow inputs are unchanged, and both sides' blobs are preserved without overlap.

Admission and its source-review/thread prechecks passed. Native gates job 127794820818 passed formatting and is active in the independent user-text step as of 08:38 UTC. Complete native lint, harness execution and final integration judgment remain outstanding. The owning lead retains this run through results, full shard/denominator artifacts, feedback and normal protected expected-head squash.

The earlier request 42182604713 at 69bc5c70... is terminal failed Clippy evidence after successful SDK test compilation/all-features checking; no shard ran. Request 42178290836 at d027abb7... remains failed SDK test-compilation evidence. Their exact failures and repairs remain in the PR body and native reviews. No Result-only retry or duplicate current-head qualification was requested; older byte/reference-token receipts keep their original native subjects and limits.

Copy link
Copy Markdown
Member Author

Reference-token break-even differs from byte break-even

The retained native wire-cost receipt now has message-wise reference-token accounting. Its subject remains native head 46e8017013338c70e272218288db1cbbbe764f70, payload SHA-256 15c530ae99b382a26a72acda5414f6901980d6ff5c5541235f2c7a9c3a5b1f5d. This uses the same before-refresh workspace/status reads, protocol 2026-07-28 and equal request IDs; no new server/build was run.

Text mode Ordinary request + response First conditional request + response Unchanged repeat request + response First total read count with strict savings, including marginal discovery
full 775 1,989 367 6
summary 775 1,063 409 4
brief 775 1,063 409 4

Values are ordinary-text reference tokens over each complete raw request and response, including its newline. The actual catalog costs 10,641 reference tokens; a counterfactual that removes exactly this one tool row costs 10,147, giving a marginal 494-token discovery cost. The actual full catalog reserialization was verified byte-identical before row removal. This is the difference between complete catalogs, not an isolated row's token count.

For full mode, five reads cost 3,951 conditional tokens including discovery versus 3,875 ordinary; six cost 4,318 versus 4,650. For summary/brief, three cost 2,375 versus 2,325; four cost 2,784 versus 3,100. Thus strict reference-token thresholds are 6/4/4 total reads, while the earlier byte thresholds remain 5/3/3. All later reads must remain unchanged at the measured size for this cost model. The larger first response and discovery cost cannot be omitted.

Independent audit recomputed all 69 retained frame pairs and their bindings, ordinary repeat equality, first-response complete-resource parity, cost-row placement before refresh, the catalog counterfactual and both neighboring threshold values. Instrument source SHA-256 007ae1fc5025815432d30456c15566e75433746ab3be3428f720902bf5dadb49, o200k_base vocabulary SHA-256 446a9538cb6c348e3516120d7c08b09f57c36495e2acfffe59a5bf8b0cfb1a2d; three literal token-ID controls executed. Joint receipt SHA-256 0647a79e224deb1ab08d507cee6409d714224231baa4cd8aaaa4959f9fb6c7be.

This is a fixture-specific raw-protocol reference count, not host context, provider billing, whole-session cost, latency, prior-version behavior or current-head qualification. The existing resource route still constructs the response before comparison. The retained failure controls and their limits remain as documented in the native receipt; this accounting pass adds no execution coverage.

@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

  • Typed resource failures are converted into owned bounded tool documents, while errors without typed failure data remain SDK errors; no failure payload is referenced after its producer scope ends.

Verification questions

  • Confirm conditional reads own and serialize the complete resource before hashing; no borrowed digest input or response reference escapes the async route.
  • Confirm independent-pages coverage requires disjoint axes.
  • Confirm the digest sibling surface is the conditional SHA-256 computation over exact URI plus serialized ServerResult; no alternate digest route appears in the shown changed source.

Parked follow-ups

  • The changed digest contract cannot represent unrefreshed source edits, and the public documentation states this limitation.

Evidence gaps

  • The new async and stdio lifetime-sensitive paths lack a completed cargo-test receipt in this review packet.
  • Model proof intent was rejected by deterministic validation.
  • Current executed Rust proof is not established by the supplied review packet.
  • The conditional tool's wrapper introduces a second envelope boundary after ordinary resource serialization; this is documented and bounded, but the failed RIPR run and absent cargo-test receipt leave the exact current harness result unverified.
  • Required executable evidence is incomplete despite extensive source and seeded native evidence.

@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.

REPAIR_REQUIRED

Required request 42182604713/1 is terminal failure on head 69bc5c7, actual native composition c6edaa0. The SDK test-conversion repair compiled: native formatting, policy and all-features target check passed. Strict Clippy job 127775759676 then reported two candidate map_err_ignore violations at server.rs:258 and :260: .map_err(|_| ...) discards each serialization error without an explicit ignored binding. Result 127786629168 correctly failed; no test shard ran.

Current source readiness is withdrawn for the required lint repair. The existing surrounding resource serialization code uses a named _error binding with the same sanitized public error, so the focused repair will use that existing form without changing message, code, data or control flow. merge-ready is removed and no auto-merge is armed. The prior native measurements retain their original f348/46e subjects; this failed run does not establish current unit or stdio execution. The same owner will complete the repair and affected source review before one fresh full qualification; no Result-only retry.

@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.

SOURCE_REVIEW_READY

Head: 2b765a9; branch tree: 0822986237c4657ce8e9817daf09f0bcbfcc0c8f. This publication is byte-identical to independently reviewed local 4791835d66042ce94c17434a980906094658b3a3.

The complete child delta replaces two map_err wildcard bindings with named _error bindings. Byte comparison proves no other source or test change. Surrounding serialization code uses the same form; public error code, sanitized message, data, SDK conversion, digest input and every stimulus/assertion remain unchanged. No lint allowance or new error disclosure is introduced. Whitespace and exact local/published tree checks passed.

Preceding native request 42182604713 compiled the SDK test conversion and passed formatting, policy and the all-features target check, then strict Clippy reported exactly these two bindings. No shard ran. The required lint repair is source-complete; fresh native lint and complete execution remain separate outstanding evidence.

Cumulative owner review retains the complete dispatcher, SDK conversion, typed failure/budget/current-snapshot behavior, schema/catalog/help and full/compact contracts, real stdio controls and independent pagination composition. Review 5797348155's questions were checked directly: the complete SDK response becomes an owned JSON value before synchronous URI-plus-response serialization; owned bytes feed the sole digest computation and no borrowed response escapes. Accepted pagination controls cover both axes without replay and with complete record equality. Missing current Rust execution and the advisory model's rejected proof intent remain missing evidence, not a semantic source finding.

Pagination prerequisite #13357 is accepted at 80721ce. Observed remote merge 6162411 has actual main 7c10877 and this exact head as parents, with tree 2fd4d5b3d86164cd7807f7fe1a83d045484761f3. Local merge-tree reproduces it. Owner and independent bounded review inspected the full main delta: private LSP message selection, test-only seam-limit synchronization and supporting records; every candidate and main blob is preserved without overlap. MCP/SDK owners, Cargo/workflows and instructions are unchanged. No source collision or unmet implementation prerequisite was found.

The complete review inventory has no inline threads; quota-limited providers are not reported as clean reviews. The previous required request is terminal. One fresh exact-subject request follows this source attestation. Final published-head review, actual native admission identity, complete shard/denominator artifacts and current feedback must be inspected before protected landing. Older native byte/reference-token receipts retain their original heads and boundaries.

EffortlessSteven commented Nov 6, 2026 •

Copy link
Copy Markdown
Member Author

Current publication reconciliation — 2026-11-06

Fresh GitHub reads establish that PR #13367 is published at 890cedec77c6a87c2e75be6972bff498a7547822, tree 3fd4343c96b73b322ef0d8bb956889ceaefcecaa, exactly identical to this lane's reviewed local 9650ba572fd3f202495151d6ac8b4f11654a579d tree. Publication occurred outside this lane; this reconciliation made no retry of the previously rejected push. The old publication blocker is resolved in repository state, so no duplicate source publication or renewed approval for that completed action is needed.

The five-line nextest configuration deletion is now published; product code, test assertions and the strict policy guard remain unchanged. Current source review is 5798883271. The publisher explicitly defers new required qualification; no request or ownership change is made here.

The retained 69-exchange executable measurement remains bound to predecessor 2b765a96…: ordinary request plus response 777 reference tokens, unchanged conditional 367 in full or 409 in summary/brief, with complete first-read/catalog overhead and six/four-total-read break-even. Required predecessor run 42188503698 remains failed: 27,804 planned, 26,788 executed, 26,787 passed, one failed and 1,016 unrun. The unchanged-product evidence does not qualify the repaired whole head.

Catalog accounting clarification. The six/four-read thresholds assume every later read is unchanged and charge the 494-token marginal catalog-response cost once for the whole sequence: 494 + first + (n - 1) * unchanged. This is serialized-message reference-token accounting, not repeated provider prompt-schema cost or billing. If the full 494-token marginal cost were charged on every read, neither mode would break even at these measured payload sizes: full would cost 1626 + 861n versus ordinary 777n; summary/brief would cost 656 + 903n. Actual provider prompt serialization, caching and billing were not measured.

The PR is open and Draft, without merge-ready or auto-merge at readback. Its current publisher's qualification hold and existing ownership remain intact. Publication and exact-tree source-review transfer do not establish native qualification or merge readiness. The retained prior records below keep their original dates, source identities, failure accounting and proof limits.

Prior execution, repair and publication-denial record

Current-head executable: 69 conditional-read exchanges and reference-token accounting

This continuation measures published head 2b765a96eb0d33a09e40468d2e1a8e88b68df52a, branch tree 0822986237c4657ce8e9817daf09f0bcbfcc0c8f. It does not relabel the earlier receipts for head 46e80170….

Executable identity. The already-successful read-only wheel run 42187165202, attempt 1, produced artifact 13488363029. The downloaded ZIP's listed size and SHA-256, contained wheel/receipt, candidate/tree/Cargo.lock identity and extracted executable were verified before use. ripr --version reports the exact current head.

  • Artifact ZIP SHA-256: 106ddf9dec3c347382483da15d8b54d8308e501c0305bd1a6b40fa84de213b9b.
  • Wheel SHA-256: 38b475b80ee0499129ff260f2c41d1630c16a90a3cf9850d688a8ce27c533837.
  • Executed native payload SHA-256: 0429ed102471edd1c5e3a82d31cbae72e6222c07a56ef3ec86bef48dca64f307.

Executed controls. The retained measurement driver was rebound to this payload and current head; it completed 23 request/response pairs in each of full, summary and brief modes, 69 total, with zero process exit status. An independent audit reconciled all raw frame lengths, response hashes, ledgers and equal request/response IDs. The real stdio controls establish first-read equality with the entire ordinary resource response, unchanged repetition, exact-requested-URI alias binding, refresh/current identity, live attempt-link changes under the same snapshot, invalid digest types, typed no-snapshot/stale refusals and recovery identity, unrefreshed edit boundaries, and old-digest stale-receipt refusal. The latter demonstrates that the ordinary refusal wins over digest reuse.

Costs include both request and response, their terminating newlines and the digest sent by the caller. These are before-refresh workspace/status measurements with protocol 2026-07-28 and equal request IDs. Each raw message is counted separately using the retained offline o200k_base reference instrument; three literal published token vectors, including Japanese text, passed.

Text mode Ordinary round trip First conditional round trip Unchanged conditional round trip Unchanged saving
full 777 reference tokens 1,993 367 52.8%
summary 777 reference tokens 1,065 409 47.4%
brief 777 reference tokens 1,065 409 47.4%

Removing exactly the conditional tool row from the actual complete catalog is a counterfactual, not a previous-server measurement. That row costs 494 reference tokens (2,111 bytes). With this discovery cost and the more expensive first response included, strict token savings begin at six total reads in full mode or four in summary/brief, assuming later reads remain unchanged at this measured size:

  • Full: five ordinary reads cost 3,885 tokens versus 3,955 conditional; six cost 4,662 versus 4,322.
  • Summary/brief: three ordinary reads cost 2,331 versus 2,377 conditional; four cost 3,108 versus 2,786.

Wire bytes remain 3,357 for an ordinary round trip; full first/repeat are 7,675/1,281, summary/brief first/repeat 4,431/1,448. Including the marginal catalog bytes, strict byte break-even is five total full reads or three summary/brief, distinct from the token thresholds above.

Retained corpus identities. Every mode has the same 8,526-byte request stream, SHA-256 378780b0969c2d7f964cd5356e78ed3a4e2d07e27734f2f36e42fbb2ab388d95. Response streams are:

Mode Bytes SHA-256
full 143,241 87cafb4bacf11779ff0af43184ec255b72d78c92d224b4da0fc8f9072ee08218
summary 111,169 52c429d20c35ad7d64eae564df28b660f978a2c5ab6424a69684a1275ded3227
brief 110,030 4642f16c2c0b1f91b2b0e7ce446c539354799dc436a78a4f6d2180b4a8287f0a

The reference instrument source SHA-256 is 007ae1fc5025815432d30456c15566e75433746ab3be3428f720902bf5dadb49; vocabulary SHA-256 is 446a9538cb6c348e3516120d7c08b09f57c36495e2acfffe59a5bf8b0cfb1a2d; current accounting-auditor SHA-256 is cbae4f75bec472126a11c4cbc9f42ae2709614426031217573effe3d6cd296b4. Raw streams, driver, cost receipt, wheel receipt and token audit remain retained in the owning session's proof bundle.

Boundary and continuation. These fixture-specific reference text-token counts do not establish provider billing, host context, whole-session savings, latency, exhaustive negative-response parity or platform/release qualification. The changed route still constructs and serializes the ordinary resource before comparing its digest. First reads and catalog discovery cost more; unrefreshed source edits remain outside the digest's currentness claim.

Terminal qualification and prepared repair

Required run 42188503698, attempt 1, is now failed. Its admitted merge is 616241143f5a95f2cc5e4e790f01b8b42fb29182, base 7c1087709bdecb88f1fd25b0e813e86ffc2213dc, tree 2fd4d5b3d86164cd7807f7fe1a83d045484761f3. All-features compilation, strict Clippy, goldens, fixtures, verdict corpora, doctests, PR evidence and schema sweep passed. The PR-evidence canonical base/head snapshots timed out and are not treated as complete evidence.

The four retained shard ZIPs were verified against provider size/SHA-256, candidate/run/attempt, native checkout/profile/command and four input blob identities. Their planned lists form the exact disjoint 27,804-test workspace inventory, with no duplicates or foreign executed cases.

Shard Planned Raw JUnit executed Passed Failed Selected but unexecuted
1 7,038 7,038 7,038 0 0
2 7,005 5,989 5,988 1 1,016
3 6,878 6,878 6,878 0 0
4 6,883 6,883 6,883 0 0
Total 27,804 26,788 26,787 1 1,016

The native completeness verifier and required Result correctly failed. The verifier excludes the invalid shard from its accepted JUnit aggregate (20,799); the table above separately reports every raw executed case. None of the 1,016 unexecuted cases is counted as passing.

All ten selected MCP controls passed, including conditional_resource_read_over_stdio, conditional descriptor/failure/bounds controls, refresh/readiness custody, strict optional arguments, generic panic containment, SDK metadata and the independent pagination walks. These successes remain partial evidence for the published head, not complete qualification.

Candidate-owned failure and minimal repair. product_gate_plan::tests::required_nextest_profile_cannot_filter_retry_or_drop_junit rejected this candidate's additional nextest success-output retention override. The policy intentionally accepts exactly the existing native-activation override. Prepared local commit 9650ba572fd3f202495151d6ac8b4f11654a579d, tree 3fd4343c96b73b322ef0d8bb956889ceaefcecaa, directly follows published head 2b765a96… and deletes only the five added configuration lines. The resulting config equals the admitted base byte for byte. Owner, coordinator and independent source review agree on this narrow repair; product code, test assertions, policy guard, retries, timeout and JUnit path are unchanged. Portable configuration/diff checks passed. The repaired head has not received hosted qualification.

Publication boundary. Automatic approval review rejected git push origin HEAD:refs/heads/codex/mcp-conditional-resource for that exact prepared commit, stating that exporting the changed source on this branch was outside the specifically authorized branch publication. The push was not retried through another route. Remote head remains 2b765a96eb0d33a09e40468d2e1a8e88b68df52a; the PR is Draft, merge-ready is absent and auto-merge is disabled. REPAIR_REQUIRED review 5798388457 withdraws the prior readiness.

The owning conditional-read lane retains the prepared commit and evidence. Resume after publication authorization: verify the remote head and claim identity, publish the repair normally, restore the exact-head source attestation, complete the governed repair wave and current-subject qualification, inspect complete results and final main/review applicability, then use protected expected-head squash only if earned. No further run or merge was requested. The executable measurements above remain bound to published head 2b765a96…; they are not relabeled as measurements of the unpublished repair.

@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.

REPAIR_REQUIRED

Reviewed published head 2b765a96eb0d33a09e40468d2e1a8e88b68df52a. Required run 42188503698, attempt 1, native merge 616241143f5a95f2cc5e4e790f01b8b42fb29182, has a concrete failure in shard 2 job 127813879012.

product_gate_plan::tests::required_nextest_profile_cannot_filter_retry_or_drop_junit fails at line 992 because the candidate added a second profile.ci.overrides row to retain successful scalar output from conditional_resource_read_over_stdio. The policy permits only the existing exact native-activation receipt row. This is a candidate-owned test-profile contract defect; it is not being treated as a transient or a reason to weaken the guard.

The smallest repair removes only those five added configuration lines and restores the accepted base/main configuration bytes. Product code, test bodies/assertions, selection, retries, JUnit path, workflows and the strict policy guard will remain unchanged. The independent 69-frame executable/cost receipt already retains the measurements separately.

Shard 2 executed 5,989 of 7,005 selected tests: 5,988 passed, one failed and 1,016 selected tests were not run after fail-fast. The printed 20,809 skipped count includes other partitions and must not be reported as 20,809 missing cases. Other partitions are still running and will be retained and inspected. No complete denominator or successful required Result is claimed.

Source readiness is withdrawn for this configuration defect. The owned correction will receive exact-delta review; fresh current-head qualification and final integration judgment remain required after repair. No gate exception, Result-only retry, duplicate qualification or source restack is proposed.

@EffortlessSteven
EffortlessSteven marked this pull request as draft November 6, 2026 09:45
Remove the unsupported conditional-read success-output override and restore the accepted nextest profile.

Publication-only deferral: PR #13367 remains Draft and unqualified pending a supported required qualification route that completes within 20 minutes. Preserve the user's no-early-CI constraint; skipped workflows are not passed proof. No workflow or settings change and no merge is requested.

@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.

SOURCE_REVIEW_READY

Head: 890cedec77c6a87c2e75be6972bff498a7547822; tree: 3fd4343c96b73b322ef0d8bb956889ceaefcecaa; sole parent: 2b765a96eb0d33a09e40468d2e1a8e88b68df52a. The published tree is identical to independently reviewed prepared local 9650ba572fd3f202495151d6ac8b4f11654a579d. Publication used a normal fast-forward with the expected-parent lease.

Repair and source judgment. The complete child delta deletes the five-line conditional-test successful-output retention override from .config/nextest.toml. GitHub compare confirms one path, zero additions and five deletions. The resulting blob 5b4ecaa307beb307b23edd5b72e03f5bf00e946f equals current main. Inspection of product_gate_plan confirms that its closed policy permits precisely the existing native-activation output row; the repaired TOML has that one exact row. Portable parsing, whitespace and exact-delta checks passed. Zero retries, the required timeout and JUnit path remain intact. Product source, every test/assertion, the policy guard and all workflow bytes are unchanged. No allowlist exception or relaxed oracle is introduced.

This resolves the source defect in review 5798388457. The separate 69-frame executable and cost receipt retains scalar observations without a CI-output exception. Its executable remains bound to predecessor 2b765a96... and payload SHA-256 0429ed102471edd1c5e3a82d31cbae72e6222c07a56ef3ec86bef48dca64f307, not relabeled as this child's binary.

Cumulative source review retains the shared ordinary dispatcher, owned complete SDK ServerResult conversion, exact URI-plus-response digest, typed failures and current recovery, bounded output, strict arguments, eleven-tool schema/catalog/help parity, panic mapping, real stdio controls and accepted independent pagination. Earlier verification questions about serialization ownership, the sole digest computation and disjoint pagination were source-dispositioned and retain their recorded evidence. The final predecessor run executed all ten relevant MCP controls successfully. These scoped successes are not complete qualification.

Currentness and integration. GitHub merge ref 2ffd08f75ace81fa27bcb51632d5f6c51c37ef99 was read back with ordered parents current main be4b8b6d73cf21e5c1e356f0078f33b89ce1b43a and this head, tree ede120c19374ca0094808d42047241224ef60806. Main's delta since the last recorded 05eacb5b... basis consists of computed-local boundary evidence/cache-generation changes and CI adoption documentation; it changes no conditional resource owner or workflow. The ordinary response remains the digest's complete dynamic input. This source applicability judgment does not claim native execution of the new combined tree. No behind-only restack was performed.

Evidence inventory and remaining gate. The refreshed conversation inventory has eleven prior native reviews, nineteen timeline entries and zero inline threads; quota-limited or neutral providers are not treated as substantive clean review. Required run 42188503698/1 remains failed: 27,804 planned, 26,788 executed, 26,787 passed, one failed and 1,016 unrun. The failed test is the repaired config policy. Neither the old result nor its unrun cases is relabeled. No new local Rust harness or current-head qualification is claimed.

Publication-only deferral. The user's no-early-CI and 20-minute ceiling apply. The commit includes [skip ci]; GitHub's documented skip behavior suppresses push/pull_request runs while required checks remain unsatisfied. Other trigger families were inspected: the actual pull_request_target workflow is label-only, and no label request or provider invocation is made. Actions readback for this head initially returned zero runs. The PR remains Draft, without merge-ready or auto-merge.

The remaining CI route dependency is tracked by #4987 and #4841: the installed full gates/shards route does not establish complete qualification within 20 minutes. This is source-scope readiness only. Request no new qualification until a supported compliant route exists; then refresh the exact subject, complete native partition/denominator evidence and final review before any ordinary protected expected-head squash.

Copy link
Copy Markdown
Member Author

Current integration and measurement findings for the existing MCP delivery owner. Fresh readback still shows Draft head 890cedec77c6a87c2e75be6972bff498a7547822, unmerged and conflicting. Frozen main is cb95c5b0e15b1d5f37fdb4c4c8f0b63098377d10; the actual common base is ff686557b9fd0bc439a8003c1d00671ea1dd8afa.

The November 6 nextest repair/publication is already complete. There is no reason to repeat that repair or publication. Its source review and predecessor execution receipts keep their original subjects; they do not qualify today's integration.

Accepted main changed the discovery contract
#13873 merged on November 9 as c1fd5f8717a386f5d042f6fd067be13633c165af. It makes slim tools/list the default, keeps RIPR_MCP_TOOLS_LIST=full as the schema-advertising opt-in, shortens descriptions and adds corresponding byte guards. The conditional-read integration must preserve those accepted defaults.

A source-only three-way check of exact base/head/main text using Git merge-file --diff3 confirmed five conflict hunks across the two inspected paths:

  • crates/ripr/src/mcp/protocol.rs: per-tool description budgets, total ceiling, its diagnostic string and exact description-total assertion. This candidate adds the conditional tool to the older budget set; main has the shortened descriptions. The candidate's exact total is 16,649 versus main's 11,286; their ceilings are 16,894 versus 11,300.
  • docs/interop/mcp.md: the candidate's eleven-tool/full-by-default explanation conflicts with main's ten-tool/slim-by-default explanation and newer discovery measurements.

This is a partial conflict diagnosis, not a complete conflict inventory, full-tree integration, semantic review or runtime qualification. Reconcile the conditional descriptor and eleven-tool inventory with accepted slim/full behavior, refresh docs and measure the resulting budgets. Do not restore the old default or copy old ceilings merely to make the tests pass. Preserve accepted pagination and the ordinary resource route's failure/currentness authority.

Remeasure the successor, keeping the two mode axes distinct
The retained executable receipt belongs to predecessor 2b765a96...: ordinary round trip 777 reference tokens; full text first/repeat 1,993/367; summary or brief first/repeat 1,065/409. The marginal full-catalog cost is 494 reference tokens, charged once per sequence. Its strict six/four-total-read thresholds require every later read to remain unchanged at that measured payload size. Charging that catalog overhead on every read eliminates savings in the recorded model.

Those figures are not current-default-client or provider-billing results. On the repaired exact successor, measure actual slim/default and full discovery separately from full/summary/brief text content. Include complete request/response framing, the digest request, marginal discovery, first/changed reads and invalidation. Preserve ordinary-response parity and failure controls. Resource construction and serialization still occur before comparison, so the existing evidence establishes no CPU or latency saving.

Ownership remains with this PR's existing MCP delivery lane. The #4987/#4841 compliant-route dependency and existing qualification holds remain unchanged. No new qualification, CI rerun, readiness transition, source/ref change or merge was requested or performed by this review.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Evidence-only sweep triage: this PR currently conflicts with main (merge state CONFLICTING, stale since mid-November). An evidence-only head-exact review at the current head would be wasted work — the head must change to resolve the conflict, which invalidates any review posted now. Please rebase onto current origin/main and push; the evidence review lane will pick the refreshed head up from the sweep queue automatically. No defect is asserted — this is a landing-order state, not a code finding.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant