Repository navigation
test(rust): retain returned String rendering witness and decoys (#3161) - #7808
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 reachedThe included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits. Next included review available in 7 minutes. View limit details
Comment |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Published-head evidence review, submitted as COMMENT by the author account. A separate independent review agent performed source/oracle inspection and isolated native/static experiments; root inspected its raw receipts. This is not a provider APPROVE or hosted qualification.
Reviewed head c0c01c27c581c83d7736ad30436d6100f4d28108, tree 7bbfa92c19e7c1fc8244d273cac820e468ebeccf, source base c96a792 / remote main base f9f30d56c8ae1cd5911004b35a8ae86a07ebed30. Re-read remote head unchanged, Draft/open/unmerged. Exactly the three evidence files in the PR were inspected.
Independent reviewer confirmed the fixture preserves prefix write → mutable helper call → same-local return → actual returned-buffer assertion; later-write order is retained. Sibling-only, ignored-return, shadowed-buffer, wrong-helper and overwritten-buffer controls remain independent. Native final fixture: seven pass. Deleting only the complete render_pr_signal statement in append_diagnostic compiles, then fails precisely the two actual-buffer observers, five decoys pass. Root inspected independent logs; final source hash matches 30b0e1d6b93bff05911f487a9fd5cf78ca63e99318a23940aa789c735e545751.
Seven independent isolated static replays were complete with unique targets: six propagation_unknown/weak discrimination; wrong-helper no_static_path/discrimination=no. No static class is upgraded. Checked #7355 lineage in returned_ledger/retained witness: FieldConstruction/push/final-statement and unique-binding gates match the boundary note. Existing EffectTarget/DirectReturn identity pieces do not establish free-call mutable arguments, String writer semantics, ordered survival or exact observer/deletion sensitivity. The proposed partial-identity successor is conservatively scoped.
Final author receipts read by root: eight-test target passed; strict focused Clippy, explicit allow policy and check-fast passed. Selector independently agrees on three paths and six applicable gates; skipped Clippy is supplied by the explicit focused run. No public product/schema/rendering behavior, policy, support-tier or generated-output delta needs promotion; fixture/docs omission of full UB loops, activation, Markdown transformations and cap_review_body is explicit.
Disposition: REVIEW_INCOMPLETE — no blocking source/oracle finding. Published scope/body match the reviewed subject. No inline review threads were found by the reviewer; current Gemini quota and CodeRabbit limit notices supply no substantive review clearance. Hosted CI/Security/Windows Advisory/wheel/ub-review checks were pending or running and Droid review queued at its observation; workflow lookup covered only the returned first page. Skipped workflows are not successful proof. No global all-green assertion.
Keep Draft. This review supports a reusable exact fixture and documented next slice, not implementation/capability acceptance, UB #1428 three/max0 clearance, analyzer adoption, Ready, merge, release or deployment. Independent raw evidence retained in /workspace/scratch/1428-review/returned; author receipts /workspace/scratch/1428-render-returned. Parent owns subsequent hosted and capability acceptance.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm public-API matrix asserts classification != exposed and discriminate != yes for all seven cases by design; it intentionally cannot fail red and is a non-support pin, not a regression gate.
- Confirm native deletion-control claim by author (delete
render_pr_signalstatement, expect 2 actual-buffer fails / 5 decoys pass) is a deterministic focused mutation-witness reproducible from the fixture in isolation. - Confirm public-API matrix uses assert_ne! guards against classification=exposed and discriminate.state=yes, but never asserts any specific positive outcome (e.g., expose, suppress, identity) — it pins non-support, not a target.
- Confirm native fixture's
observes_returned_bufferusescontains+starts_with;overwritten_bufferdecoy would also pass if the helper were a no-op becausetext.clear(); text.push_str(DIAGNOSTIC)writes the literal directly — so the decoy does not independently refute 'helper is unnecessary' on the actual observer case. - Confirm late cargo-test receipt is scheduled but not yet landed; without it, the public claim that 'eight tests pass' (seven + matrix) is author-reported, not gateway-witnessed.
Refuted
- Missing CI evidence for the deletion-mutation experiment raises trust below approval threshold.; refuted because: Diffs are tests-only, no production/source touched, fixture is dependency-free, and the mutation is a single-line deletion reproducible by any reviewer; central CI rerun adds little new information beyond the author's already-cited local receipt.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- Native deletion experiment is documented only in PR body prose and the .md evidence file; no executable test in this PR encodes the 'delete render_pr_signal, expect 2 fail / 5 pass' mutation as a
#[test]so CI cannot regress on it.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Fresh independent post-handoff review (2026-10-14 UTC). COMMENT disposition: REVIEW_INCOMPLETE — no blocking source/oracle finding. Keep Draft.
Reviewed head c0c01c27c581c83d7736ad30436d6100f4d28108, tree 7bbfa92c19e7c1fc8244d273cac820e468ebeccf; source/merge base c96a7929f8c694eb62cff2dbe2ad7ee94beea815. Read the full 358-line three-file addition, #3161 and its substantive continuation, prior review 5511682836, and current review 5511745603. Applied AGENTS and review-pr guidance. No production classifier, policies, support tiers, UB files or shared traceability changed.
Source/oracle inspection: the changed render_pr_signal call remains in append_diagnostic; prefix → mutable helper → same-local return → actual returned-String assertion is intact. Later suffix stays after the helper. Sibling-only, ignored-return, shadowed binding, wrong helper and clear/rewrite controls are intentionally independent. Existing returned_ledger gates require FieldConstruction/record/push, parsed unique mutable bindings and a final helper statement; retained EffectTarget/DirectReturn endpoints do not supply this free call's argument/order/String-writer/observer authority. The boundary note accurately withholds that support. Its omission of new acceptance mapping/changelog is justified by this evidence-only, non-support scope.
Observed fresh Linux x86_64 / rustc 1.95.0 proof, in detached reviewer-owned worktrees:
cargo test --locked -p ripr --test returned_render_buffer: 8/8 pass at the exact head (seven native controls plus the seven-case API matrix).rustc --edition=2024 --test crates/ripr/tests/data/returned_render_buffer.rs -o <review-native>and execution: 7/7 pass. Delete only the complete render_pr_signal statement inside append_diagnostic in an isolated copy, compile and run: exit 101, precisely the two actual returned-buffer observers fail on contains; five decoys pass. Compile warnings are not the red witness. Pristine SHA25630b0e1d6b93bff05911f487a9fd5cf78ca63e99318a23940aa789c735e545751; reviewer deletion source SHA256e3db787d0de17f79b8055290df1f3b79d2e393efd88dbe04c949b29779315cac.- Independent prefix/helper order reversal compiles and fails only starts_with (1 fail/6 pass); suffix/helper reversal compiles and fails only ends_with (1 fail/6 pass).
cargo clippy --locked -p ripr --test returned_render_buffer -- -D warnings,cargo xtask check-allow-attributes,check-file-policy,check-no-panic-family,check-fixture-contractsand diff checks pass. Fixture-contracts validates repository contracts, not external executable custody or this runtime deletion experiment.cargo xtask check-fast: six applicable gates pass; strict selector is stable with exactly three paths. Clippy/fixture-contracts were selector-skipped and explicitly executed above.
Executed current-main composition: main f9f30d56c8ae1cd5911004b35a8ae86a07ebed30 + reviewed head, local commit 9df11e8065be88c515ec675d34c9b7df5239ce27, tree 969a194287b2e875578266c0573831910ee67980. Focused target passes 8/8 and strict check-fast passes the same six gates/three paths. Connected GitHub merge object e3680d5e086223479404adcc7ee99057cb68231f has those exact two parents and tree. This establishes local combined-tree execution and remote source identity, not hosted checkout execution.
Review 5511745603 reconciliation: the matrix intentionally pins non-support, rather than promising a positive classification. It is not vacuous: complete/nonempty analysis, unique changed call and retained observes row are required. In separate reviewer harness copies, independently injecting false classification=exposed and discrimination.state=yes each produces the expected matrix assertion failure (exit 101). These are guard challenges, not producer/admission proof. The overwritten-buffer decoy deliberately survives a no-op/deletion; the two actual-buffer failures independently establish the helper's necessity for those observers. The deletion experiment is reproducible now, but is not an automated committed mutation gate; that remains an explicit durability limit, not a reason to infer production support. Fresh observed eight-test receipts replace reliance on the author's scheduled/reported receipt.
Hosted observation: all 23 returned exact-head check rows inspected; Droid review remains queued, several lanes skipped, while the Rust-only, UB-review, Windows subset, wheel/install and security rows report success. No inline review threads found. No all-green/required-gate or provider-approval claim; actual hosted job checkout/steps and protection were not qualified in this bounded review.
Residuals: contains is not exact-string discrimination; runtime deletion does not grant static promotion. Full UB activation, loops, cap_review_body and transformation survival remain unproven; no UB #1428 three/max0 clearance, analyzer adoption or parent #3161 completion. No Ready, merge, release or deployment. No broad unrelated build or full golden matrix claimed. Author checkout untouched; review experiments removed. Raw logs/reports retained under /workspace/scratch/postreview-7808.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Coordinator qualification update: fresh independent review #7808 (review) completed exact-head native, negative/oracle and executed f9f30d5 composition checks with no blocking source finding. A separate integration pass verified unchanged head c0c01c2 composes cleanly on main459ad8f2c112f2a8592585413ca89b0e0e2c665d, tree306459d4be637ce390b0dec43c6a86f89bbfc58d. The complete delta from the executed prior composition is exactly #7629's two documentation files; runtime subjects and candidate delta are unchanged. No runtime tests were rerun for that docs-only delta. Marked Ready solely to start required routed qualification. Earlier Keep Draft language describes the previous handoff state. Hosted exact-checkout qualification and required checks remain pending; no analyzer capability upgrade, UB gate clearance, merge, release or adoption is claimed. |
|
Final bounded qualification: required Ripr Rust Small Result passed at exact head c0c01c2 in run38493080782, result job115638817246 (GitHub Actions app15368). Hosted Rust job115622678495 actually checked out e3680d5, parents f9f30d5 and this head, tree969a194287b2e875578266c0573831910ee67980; 15,451 tests passed, two skipped. Fresh source/oracle review5511789830 and later Devin5511844540 remain clean, with no unresolved inline threads. Independent current-main integration on ff4a2fc cleanly produced tree13570a040411e731eeb496bfc95b8bc5e1c3278c: all eight API/native target tests, fixture contracts and diff checks passed; standalone native pristine7, helper-deletion2 failures/5 passes, prefix and suffix reversals each1 intended failure/6 passes. This local current-main composition is distinct from the hosted old-base tree; both identities are retained. No source change since review. This supports normal integration of the three-file non-support witness only, not a classifier capability upgrade, UB gate clearance, analyzer adoption or release. |
A renderer can mutate a caller-owned
Stringthrough a helper and return that same local to a substring assertion. Current RIPR cannot bind this route to the exact observer. Retain an executable fixture and conservative public-API matrix, distinguishing it from #7355's returned collection-ledger identity support. Refs #3161; follows the UB #1428 attribution investigation.Evidence-only: no analyzer implementation or classification upgrade. Keep Draft.
crates/ripr/tests/data/returned_render_buffer.rs: dependency-free native subject. Preserves prefix write → mutable helper call → same-local return, plus a later-write positive and sibling-only, ignored-return, shadowed-buffer, wrong-helper and overwritten-buffer controls. The changed call remains insideappend_diagnostic, which invokes the formatting/writing helper.crates/ripr/tests/returned_render_buffer.rs: compiles all seven native tests and isolates seven static cases through the public API. Requires complete/nonempty analysis, a unique changed call and a retained oracle row; withholds exposed/discriminate=yes for this currently unsupported route.crates/ripr/tests/data/returned_render_buffer.md: exact boundary, source lineage, reproduction, falsifiers and next partial-identity slice. Existing EffectTarget/DirectReturn edges retain some ledger identity, but the FieldConstruction/push gate supplies neither this free call's mutable argument/order receipt nor its String observer. Reuse the existing parser binding checks in a future partial-identity producer; keep ordered survival and observer/deletion sensitivity unresolved until separately established.Frozen source: base
c96a7929f8c694eb62cff2dbe2ad7ee94beea815, headc0c01c27c581c83d7736ad30436d6100f4d28108, tree7bbfa92c19e7c1fc8244d273cac820e468ebeccf. Branchinvestigate/3161-returned-render-buffer. No production/shared files, #7794 reveal/aggregation files, #4478/#3215 linkage files, or UB files touched. #7794 coordination is recorded on its issue.Observed Linux/Rust 1.95.0 proof:
cargo test --locked -p ripr --test returned_render_buffer: eight tests pass (seven native plus the isolated seven-case public-API matrix).render_pr_signalstatement insideappend_diagnostic: compiles, then precisely the two actual-buffer observers fail; all five decoys pass. This observes helper-call deletion, not a repeated direct-buffer mutation receipt. Final pristine source SHA25630b0e1d6b93bff05911f487a9fd5cf78ca63e99318a23940aa789c735e545751; mutant sourcee78bf0ccc8c7a21ae983e9f1e6d86f22a744a1f0652bcdaad7952a6fe722644a.check-fast --helpactually entered the gate and found this lane's unformatted test; that shaping failure was corrected before these terminal receipts.f9f30d56c8ae1cd5911004b35a8ae86a07ebed30; merge-tree is conflict-free, tree969a194287b2e875578266c0573831910ee67980. This is composition inspection, not executed combined-tree or hosted qualification.Changelog exemption: test/fixture-only internal evidence with no product behavior, API, output, workflow, support tier or documentation-system change (CHANGELOG_POLICY.md). No spec acceptance change; existing SPEC-0159 has its mapped helper-wrapper suite. These new non-support experiments intentionally add no acceptance mapping to the shared traceability file.
Limits: the fixture omits UB receipt activation, loops, sentence/Markdown transformations beyond trim/bullet formatting, and
cap_review_body. Its direct returned-local route is not the complete UB caller. Runtime deletion discrimination does not grant static promotion. No hosted gate rerun, 3/max0 clearance, analyzer adoption, UB source/policy/pin/suppression change, Ready, merge, release or deployment. No full local golden/CI matrix is claimed for this test-only evidence slice. Rollback removes the three added files.Raw lane receipts remain under
/workspace/scratch/1428-render-returned; independent receipts under/workspace/scratch/1428-review/returned. Parent retains subsequent capability/consumer acceptance.