Repository navigation
feat(mcp): offer conditional resource reads - #13367
EffortlessSteven wants to merge 16 commits into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
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. View limit details
|
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
left a comment
There was a problem hiding this comment.
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.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
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.
ripr static exposure checkCommit Took 107s. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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.
Executed native conditional-read cost and control evidenceBound to published candidate The current-protocol (
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 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 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.
EffortlessSteven
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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.
|
Current repaired-head continuation: The two-binding Clippy repair received an independent exact-delta source review: replacing Required request 42188503698, attempt 1, is admitted. Raw admission job 127794681932 identifies checkout 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 |
Reference-token break-even differs from byte break-evenThe retained native wire-cost receipt now has message-wise reference-token accounting. Its subject remains native head
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 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. |
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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.
Current publication reconciliation — 2026-11-06Fresh GitHub reads establish that PR #13367 is published at 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 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: 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 recordCurrent-head executable: 69 conditional-read exchanges and reference-token accountingThis continuation measures published head Executable identity. The already-successful read-only wheel run 42187165202, attempt 1, produced artifact
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.
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:
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
The reference instrument source SHA-256 is 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 repairRequired run 42188503698, attempt 1, is now failed. Its admitted merge is 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.
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. Publication boundary. Automatic approval review rejected 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 |
EffortlessSteven
left a comment
There was a problem hiding this comment.
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.
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
left a comment
There was a problem hiding this comment.
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.
|
Current integration and measurement findings for the existing MCP delivery owner. Fresh readback still shows Draft head 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 A source-only three-way check of exact base/head/main text using Git
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 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. |
|
Evidence-only sweep triage: this PR currently conflicts with |
Summary
ripr_read_resource_if_changedlets 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
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-resourceStack parent or prerequisite PR (if any): #13357 independent pagination is accepted at
80721ce1b4aa4db6d9449bb834d43184aaf13a94; #13168 is accepted atff686557b9fd0bc439a8003c1d00671ea1dd8afa. 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 local9650ba572fd3f202495151d6ac8b4f11654a579d, 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
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 was616241143f5a95f2cc5e4e790f01b8b42fb29182, tree2fd4d5b3d86164cd7807f7fe1a83d045484761f3. Gates passed; all ten relevant MCP controls passed. The only test failure wasproduct_gate_plan::tests::required_nextest_profile_cannot_filter_retry_or_drop_junit, addressed by the five-line repair. Complete raw accounting is: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 mainbe4b8b6d73cf21e5c1e356f0078f33b89ce1b43aand this head, treeede120c19374ca0094808d42047241224ef60806. 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.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.tomlmaps RIPR-SPEC-0211 to the descriptor, conditional tool/shared dispatcher, server/stdio controls, repair-state fixture, guide and schema. The changelog ischangelog.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-readylabel 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.