Repository navigation
test(delivery): qualify publication truth and retry interaction - #1472
EffortlessSteven wants to merge 31 commits into
Conversation
…e delivery identities
…reparation reason Temporary hosted mutation witness: consume the full input, admit HTTP199/300, and omit the prepared publication reason. The new controls must fail before the existing production cap, status range and reason are restored. No gate or suppression changes. Refs #959; inherited #855 receipt reassessment.
…rols Restore the1MiB+1 reader cap, exclusive200..300 success range and prepared publication reason after hosted mutation witness cbccccc:1145passed/4failed. Observe consumed bytes, assert199/200/299/300 outcomes, and pin exact prepared and inconclusive reasons to reassess the inherited #855 closing-line selector. The reader seam preserves file behavior; suppressions and gates stay unchanged. Refs #959.
Restore the function-local trait import needed by Take::read_to_end after extracting the reader seam; preserve the cap and all publication controls. Refs #959.
Temporary hosted mutation witness removes only cmd_post's skip receipt writer. Paired actual-command controls must reject missing skip persistence and its tolerated success, before restoring the production hook. Strengthen seven existing delivery tests with exact guard errors and valid paired controls. No production delivery behavior, suppressions or protected gates change. Refs #959 and inherited #855 receipt re-verification.
… controls Restore unchanged cmd_post behavior after hosted RED8079f134:1148passed, 3intended failures2.52s. Actual skip success and I/O failure now validate current-gate finalization and error propagation even when posting errors are tolerated. Seven existing native delivery tests assert exact guards and valid paired cases, including fresh fake replies after malformed prior identities. No production delivery changes, suppression relaxation or gate changes. Refs #959; inherited #855 source controls reverified.
…and native plan counts Temporary hosted mutation witness removes the size guard, misclassifies unknown receipt states and reports zero submitted plan count. New exact error/state/count controls must reject these changes. Not a merge candidate; source restoration follows the normal hosted proof. No suppression or protected gate changes. Refs #959; retained #855/#828 semantic revalidation.
…opagation Restore first witness guards/state/plan counts. Temporarily omit delivered replies from grouped confirmation and swallow review-read errors in begin and finalize. Exact mixed counts and size-error controls must reject these changes. This is a hosted mutation witness, not a merge candidate. Refs #959 and retained #828 reply-collection target; no suppression or protected-gate changes.
…ive-count proof Restore production byte-identical to542 after two hosted mutation witnesses. Exact begin/finalize size errors and full unknown receipt tuples discriminate guard/propagation errors. Native confirmation objects assert plan/confirmed counts including mixed inline/reply2/2; omitting replies is caught explicitly. First RED1144pass/9direct+1lock-poison fail; second1151pass/3intended fail. Reverify bounded #855/#828 semantics without suppression or gate relaxation. Refs #959; producer limitations remain with ripr#1453/#1714.
Block uncertain retries in the same artifact directory and require terminal submission before inline receipt reuse. Refs #1433.
|
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 2 minutes. View limit details
Comment |
|
All verified: the PR diff rewrites the publication-truth semantics verbatim ( The diff rewrites the stable gate_outcome.v1 contract without touching its owning spec — and main has moved 63 commits.
|
|
Rejected: needs focused feature-port, deferring to owning session. This draft has been through 6+ autonomous rebase + receipt + gate cycles (queue passes 1–6). Each rebase hits real content collisions with the mid-October module-extraction reorganization that a mechanical union cannot resolve. The branch predates the restructuring and needs a focused multi-file feature-port by someone who understands the feature's intent. The fix-or-suppress tooling (rebase_one.sh, append_receipts.py, the gate pipeline) remains available — reopen and re-run the standard rebase + receipt loop after the port. See the earlier scope diagnosis for the specific files and conflicts. |
Summary
Qualifies the interaction of #1317 publication truth and #1440 same-directory retry reservation using local native transport/finalizer fixtures. The new six-case mixed inline/reply matrix covers complete delivery, lost submission response, adapter receipt-write failure, lost reply response, outer post-result persistence failure, and a retained pre-submission transaction prefix. Retry must attempt zero writes and cannot mark partial delivery posted; terminal exact receipts permit write-free recovery. Independent code evidence remains intact.
This is an integration qualification draft. Refreshed main is 3dbcc2b; dependencies are #1317 87e28f8 and #1440 bcc008f. Their single merge conflict retains both terminal-inline proof and distinct physical-comment-ID guards. The new author contribution after integration merge 54b0e74 is 232 test lines in src/github_delivery.rs. Existing author branches remain untouched.
Main advanced during validation to 9062300, adding only agent workflow/Tower-transition documentation. The new guidance was read; execution and publication source are unchanged by that drift. This evidence binds the exact candidate below, not a newly tested merge onto 9062300.
Head: c59e358
Tree: 8ccbc8542f718e85360e8558f58939904c991ff5
Policy receipts
No new controlled surface, dependency, suppression, credential, permission, workflow, deployment or release behavior. Existing source-policy receipts and all gates remain unchanged. Existing #1317/#1440 holds remain in force; this draft grants no merge or publication authority.
Verification
cargo fmt --all -- --check: passed.cargo check --workspace --all-targets --locked: passed.cargo test --workspace --all-targets --locked: 1,298 passed, one existing ignored subprocess driver. Binary unit tests: 1,177 passed; CLI tests: 59 passed; no test failures.cargo clippy --workspace --all-targets --locked -- -D warnings: passed.cargo doc --workspace --no-deps --locked: passed, existing ambiguous rustdoc link warning in proof/worktree.rs.cargo xtask policy-check: passed; existing overdue review warnings retained.python3 scripts/verify-bun-review-artifacts.py --self-test: passed unchanged under existing Ubuntu WSL/Python 3.12.3 with H: task scratch. Native Windows/Python 3.14 attempt stopped at WinError 1314 creating a file symlink; it is a platform limitation, not a passing receipt or product finding. No permission/settings change or skipped test was used.cargo xtask precommit --staged: zero blocking findings. fmt/check/Clippy, cargo-allow, RIPR and unsafe-review passed; ast-grep is missing; actionlint skipped because the staged change has no workflow files. This diff-scoped receipt is separate from the strict hosted gate on the combined dependency diff.git diff --cached --check: passed; committed checkout clean.Windows runtime: rustc 1.95.0 (59807616e), cargo 1.95.0 (f2d3ce0bd). Dedicated clone, mutable target and scratch under H:\Temp\ub-review-task26-*. Before Cargo, CPU 100%, free RAM about 96-114 GiB and commit headroom 61-83 GiB; four Cargo jobs selected while preserving active sibling resources. Existing immutable registry dependencies were reused; no sibling mutable build target was reused.
Two compiled negative controls each exercised the real selected test and failed, followed by a passing pristine recovery:
retained_before_submit: partial retry falsely confirmed.submit_response: retry attempted duplicate writes: [("POST", "http://scripted/repos/owner/repo/pulls/42/reviews")].The transport records attempts before consuming responses, so an exhausted script cannot conceal an unwanted write. Initial and retried confirmations compare complete objects, and initial writes compare exact ordered methods/URLs. The retained-prefix case is a synthetic durable-state fixture, not a physical crash/durability test.
Independent source review by a separate agent found the endpoint and retained-prefix oracle gaps, both addressed, then found no substantive remaining concern on final source blob 097c4cc0a874e44b83f7a12637af86367c055e56, SHA-256 d0134cccd6db1866b71560743b1e0e04dc33a770c3a9cd2db59896fccc1d8919. The reviewer also read back final head c59e358, its parent and unchanged blob. This is independent local source review, not a formal GitHub approval; runtime tests were owner-executed.
Raw logs, capacity receipts, pristine source and review receipt are retained locally under H:\Temp\ub-review-task26-evidence; this path is not hosted evidence. Exact outcomes and discriminating errors are recorded here for remote readers.
CI budget
Planned band: default. Development, focused controls and independent review are complete before this final requested draft transition. Current draft workflows do not exclude drafts and can start qualification; no rerun, activation, label or lane override is requested. Fresh protection read requires ub-review/gate from App 15368; settings remain unchanged.
Agent notes
Bounds: same prepared payload, same output directory, local scripted/loopback transport. Changed-payload/target identity remains owned by #1455 df590df; it is not incorporated or cleared here. No live review delivery, new authentication, remote recovery, global exactly-once guarantee, filesystem race/crash durability, full #959/#960 qualification, strict analyzer acceptance or merge readiness is claimed. The run/post authorization boundary remains unchanged. Required hosted checks and substantive native review remain separate integration conditions; keep Draft.
Hosted readback confirms Draft/OPEN at c59e358. The exact-head independent verifier job passed. The exact-head independent baseline completed successfully: all seven evidence jobs and the aggregate passed. The required ub-review/gate, verified as App 15368 matching protection, completed failure at 2026-10-15T05:55:02Z:
new_unsuppressed=103exceeds configured maximum zero. No required-gate clearance is claimed. Raw local receipt manifest SHA-256: 29238f0c0734df0d919f3ef7fa4cade6bb0c06bfbf5c0a6da44ba8860157f1b8 (H:\Temp\ub-review-task26-evidence\sha256-manifest.json). It includes reconstructed exact mutant sources/patches and terminal logs. The terminal-control transform also changes the identical predicate in two unselected legacy tests; those tests were not executed in the control run. Both selected compiled controls and their restored positive recoveries are retained.Terminal qualification and merge blockers
The existing run38688333975 was watched to completion without a rerun or duplicate broad job. Its required ub-review/gate (App15368, matching branch protection) failed. The independent baseline remains green; no Ready or merge transition was made.
Resume ownership: the coordinating owner retains #1472 continuation; existing RIPR producer/disposition owners must resolve the strict gate evidence, and #1455's owner retains payload identity and its qualification. Resume normal readiness only after substantive stack concerns and required exact-candidate qualification are satisfied. Preserve all protections, publication authorization boundaries and existing holds; no live review delivery, activation, deployment or release occurred.