Repository navigation
chore(test): trim low-value session creation coverage - #207118
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. What this changesThis PR trims session-creation tests, consolidates two suites, and updates their CI selection references. Example: Session creation with a regular-file working directory
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains No new blocking defect found; the previous regression finding is resolved, while the explicit landing-floor exception remains pending. Reviewed head: Decision needed
Before merge
FindingsNone. Agent review detailsHow this fits togetherGateway creation tests exercise request admission, session ownership, workspace preparation, transcript persistence, and publication; CI planners select the relevant suites when their owners change. flowchart LR
A[Changed source paths] --> B[CI test planner]
B --> C[Creation test suites]
C --> D[Gateway session handlers]
D --> E[Session and workspace owners]
E --> F[Durable state and RPC results]
Technical reviewBest possible solution: Land the bounded consolidation after resolving its explicit numerical exception and satisfying the required checks for the reviewed head. Do we have a high-confidence way to reproduce the issue? This is an approved test-maintenance pilot rather than a product-bug report; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? The existing harnesses and receiver suites provide a focused consolidation without a new production owner, support framework, or compatibility path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a1ae1c43912c. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests -381, Other 0. Total -381 across 19 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (2 earlier review cycles)Reviewed November 27, 2026, 10:05 PM ET / November 28, 2026, 03:05 UTC (Revision 3). |
|
@clawsweeper re-review Current repaired head: Addressed the P2 from #207118 (comment):
This is an explicitly approved VALUE-based coverage reduction:504net test lines,220KEEP/28CUT,one pilot only. Keep auth/security/ownership/authorization, all authority-distinct variants, data loss, real races/TOCTOU, privacy, release integrity, witnessed user-visible regressions and the public-method happy paths. Challenge each of the28enumerated CUTs for hidden protected or incident-backed behavior, incomplete history, an invalid duplicate premise, or collection/isolation loss; uniqueness alone is not a retention reason. Actual Node proof combines19files/312tests. Final affected workspace-policy suite passed16cases (50.62s); type-aware lint/format and gateway type graph (3.0s) passed. Unchanged proof is reused explicitly in the body. Prior-head CI was green; required CI must cover this repaired head. No production changes. The prior2000-net floor exception remains pending BEFORE LANDING ONLY; do not pad or widen the pilot. |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review Exact repaired head: This is an explicitly approved VALUE-based coverage reduction, ONE Creation pilot only:381 net test lines,227KEEP/21CUT,production/shared-support0. Preserve auth/security/ownership/authorization (ALL authority-distinct variants), data loss, real race/TOCTOU, privacy, release integrity, witnessed user-visible regressions and one happy path per public method actually tested. Uniqueness alone is not KEEP. Addressed the latest P2 regular-file cwd regression (P131955): restored the real file fixture, INVALID_REQUEST and no-row outcome. Audited remaining CUTs through actual source/earlier history rather than stopping at test splits. Restored the shared monotonic catalog deadline/no-selection hang trap (P165989), explicit blank-owner/configured-parent authority (P127661/P165929), reported391869-token large-fork success (P132112), fresh-child stale context/usage reset (P97332), and rejected-commit category nonpublication (P123276). Main-reset rejecting fence and cross-owner input custody plus both prior directory diagnostics remain retained. B109 is KEEP; removing exact callback counts is not behavior-CUT credit. Please challenge the remaining21CUTs for hidden protected/witnessed behavior, false duplicate premises or collection/isolation breaks: B029,B035,B039,B059.empty,B059.error,B060,B074.before-input,B074.after-preparation,B082.storage,B085.syntax,B086.small,B090.unavailable,B091.fast,B107,B108.sql,B136.missing-turn,B136.blank,B148.listeners,B197,B207.options,B207.flag. Reasons/provenance and exact retained receivers are in the body. P169164 explicitly records B108.sql's attempted negative control passing on the buggy base. Qualified existing frozen dependencies; no new install. All five changed suites passed108/108 tests in220.90s on actual Node/one worker; combined19files317tests with unchanged proof reused. Scoped lint/format and gateway type graph5.4s passed; unchanged scripts/tooling type graphs and additive-only unused-file proof remain valid. New-head required CI is running; prior-head green is not current proof. The earlier2000-net floor exception remains pending BEFORE LANDING ONLY. Validation/publication are authorized. No merge or auto-merge has been submitted; do not infer that numerical landing approval has been granted. Please distinguish any source finding from this explicitly disclosed human scope decision. |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* test(gateway): checkpoint creation value pilot * chore(test): format creation pilot suites * test(gateway): retain creation reset and input custody guards * test(gateway): preserve witnessed workspace diagnostics * test(gateway): retain protected creation regression guards Co-authored-by: Vincent Koc <[email protected]>
What Problem This Solves
Creation tests repeat low-value option matrices, mock wiring and private-state observations. This maintainer-approved VALUE pilot removes selected coverage while retaining protected authority/ownership, data-loss, race/TOCTOU, privacy, release-integrity and witnessed user-visible regression guards.
User Impact
Internal test maintenance only; production behavior is unchanged. Coverage reduction is intentional. Focused validation and required exact-head CI passed. Fresh hosted review has zero source findings. Vincent explicitly approved the bounded floor exception for this single 381-net-line pilot on November 27, 2026.
Why This Change Was Made
VALUE decides KEEP/CUT; uniqueness is not a retention reason. All authority-distinct variants, including same/different backend, must retain equivalent proof. Keep one happy path per public method actually under test; observing/settling RPCs do not justify whole extra journeys.
APPROVED FLOOR EXCEPTION: Vincent explicitly approved landing this single 381-net-test-line pilot below the prior ≥2,000-net floor on November 27, 2026. The exception applies only to this PR; do not pad or widen scope.
Related: #139428
Freeze
4b752bd16f1d551a61824397af622d0cb213cfa4. Exactly28 original Creation roots, 12,144→11,763 LOC in 26 receivers. Discovery20 excluded. Changed:17 original test files (15 modified,2 removed), +432/−813; two necessary test-selector references +2/−2. Whole patch +434/−815. Production0; shared test-support0. Local fixture reductions are test LOC, not extra behavior-CUT credit.Evidence
4b752bd16f1d551a61824397af622d0cb213cfa4; current candidate69aed47648eba5d90b40da66ddfc2e7db66e3bcb. Full delta SHA-256 (11-character Git object abbreviations):77d44da57b36139a1ebe544e056704dbcad6ec02af06ab505a0452a9f0721ff7.07045665458da4ff1b4a4b3813ff571e36fc66f3; subsequent checkpoints apply formatting and restore protected guards identified by local/hosted review and the finite remaining-CUT provenance audit. Inspection is separate from runtime proof.OPENCLAW_VITEST_RUNTIME=nodeand one worker. Initial gateway-server proof:14 files/165 tests (407.93s). Prior guard repairs replaced lifecycle18→19 and workspace14→16; the final provenance repair reran all five changed files: 108/108 tests,220.90s, replacing their103-case prior result. The nine other gateway files are unchanged:173 final gateway-server cases. Projects DB-worker:1/18 (95.93s); retained parent-fork:1/12 (15.40s); authenticated clone identity:1/9 (100.86s;296.81s command including E2E preparation); selector integration/sibling:2/105 (158.68s). Intermediate reruns and duplicate reporter summaries count once. These are validation costs, not a speedup comparison.41ebb88cc97bce892e5c5bcf0b36866e4b5bb78bfound one P2: B196 missed the witnessed requested-directory diagnostic from P178664. Tracing the other diagnostic past the same test split also confirmed P140251 for B202. Both are now KEEP, with their actual bug/fix provenance below. The focused guards and original portable non-Git fixture are restored; workspace-policy16 cases, scoped type-aware lint/format and gateway type graph (3.0s) passed. No production changes.a4f4f6bae048a9bb0b828f64fce0562dfdc97ef0returned needs-human / one P2: B190.file was the witnessed regular-file cwd regression from P131955. The file fixture, typed refusal and no-row assertion are restored. A finite audit checked remaining CUTs against source and earlier history, following splits/folds where they obscured original witnesses: restored the P165989 shared deadline/no-catalog hang witnesses, P127661/P165929 blank explicit owner authority, P132112 reported large-fork success, P97332 fresh-child context/usage reset, and rejected-commit category nonpublication. B109 is now KEEP in the already-restored reset guard; removing a callback count is not a behavior cut. Remaining CUT reasons cite actual provenance and retained proof where relevant. No production changes. All five affected files then passed108cases,lint,format and scoped types; the subsequent exact-head result is recorded below.exact-head: CI, Build Artifacts Testbox, and Workflow Sanity, all success at69aed47648eba5d90b40da66ddfc2e7db66e3bcb. Aggregate CI gate also passed:63success/75skipped/1neutral, no pending/failing required checks. Native preparation retained the same source head; it did not rebase or add source changes.69aed47648eba5d90b40da66ddfc2e7db66e3bcb: 0 source findings, all previous findings repaired. The report returned needs-human solely for the 381-versus-2,000-line floor decision, with no source findings. Vincent explicitly approved that bounded exception on November 27, 2026, resolving the sole owner decision. Hosted review workflow46100749962 completed successfully; source and inventory are unchanged since that review.git diff --checkpassed; no tracked references remain to either retired suite filename. No production or shared test-support changes. No baseline runtime comparison or speedup claim.ClawSweeper review focus
Explicitly approved VALUE-based coverage reduction. Preserve every protected guard class and ALL authority-distinct variants. Challenge each enumerated CUT for hidden guarded-class/authority/bug coverage, invalid duplicate premise or collection/isolation breakage; challenge each KEEP for generic uniqueness, field echo, call shape or redundant happy-path reasoning. No uniqueness-only veto and no neighbor-name-only equivalence claim. The current exact-head review has zero source findings; its needs-human verdict concerned only the floor decision, now explicitly approved by Vincent for this single PR.
Guard and behavior counts
215 original inventory rows map to 248 stable child-expanded rows:227 KEEP /21 CUT /0 PENDING. Children are used where one original matrix has mixed outcomes. Counts are inventory decisions, not collected test counts. Retained class counts overlap: authorization120; data-loss61; happy-path3; ownership90; privacy37; race40; release-integrity14; security10; user-visible28. Retained cases may carry multiple classes.
—below means no linked bug found in inspected history, not a claim that none exists. Retention still needs its named protected contract. History lookup reaching a test split/refactor is not product-bug provenance. B186 was corrected to KEEP after introduction d0b8dbe proved a privacy/visible regression.Per-file evidence and current receiver map
26 test entry files remain. Two source-compatible folds retain all moved behavior; this is not a proof that26 is the minimum. Frozen-base LOC and behavior anchors refer to the original28 files. Removed files contribute zero post LOC; moved bodies are counted in their receivers, never as deleted behavior.
src/gateway/server.sessions.create.account-authority.test.tssrc/gateway/server.sessions.create.accounts.test.tssrc/gateway/server.sessions.create.attachments.test.tssrc/gateway/server.sessions.create.auth-policy.test.tssrc/gateway/server.sessions.create.authority.test.tssrc/gateway/server.sessions.create.clone-identity.e2e.test.tssrc/gateway/server.sessions.create.communication.test.tssrc/gateway/server.sessions.create.disk-full.test.tssrc/gateway/server.sessions.create.dispatch.test.tssrc/gateway/server.sessions.create.durability.test.tssrc/gateway/server.sessions.create.firstbirth.test.tssrc/gateway/server.sessions.create.fork-search.test.tssrc/gateway/server.sessions.create.forks.test.tssrc/gateway/server.sessions.create.incognito.test.tssrc/gateway/server.sessions.create.lifecycle.test.tssrc/gateway/server.sessions.create.member-sandbox.test.tssrc/gateway/server.sessions.create.projects.test.tssrc/gateway/server.sessions.create.reload.test.tssrc/gateway/server.sessions.create.repositories.test.tssrc/gateway/server.sessions.create.repository-required.test.tssrc/gateway/server.sessions.create.reset-fork.test.tssrc/gateway/server.sessions.create.resolved-model.test.tssrc/gateway/server.sessions.create.sandbox-project.test.tssrc/gateway/server.sessions.create.spawn.test.tssrc/gateway/server.sessions.create.titles.test.tssrc/gateway/server.sessions.create.workspace-policy.test.tssrc/gateway/server.sessions.create.worktree-selection.test.tssrc/gateway/server.sessions.create.worktrees.test.tsNecessary test infrastructure:
scripts/lib/ci-policy-test-watch.mts+1/−1 andtest/scripts/ci-changed-node-test-plan.integration.test.ts+1/−1 point the existing parent-fork owner watch/assertion to the fork-search receiver. Existing observed timing weights are unchanged; no runtime improvement is claimed without measurement.Constructive consolidation and isolation
setupSessionCreateHandlerTestHarness: same canonical resource/reset and creation mocks, withstartServer:false. Neither suite opens a socket or calls rpcReq; gatewayConnect in C13 constructs direct-request authority metadata. Two unnecessary suite Gateway starts are removed in source; execution/time impact is unmeasured.Complete behavior ledger
One source header per original file; @ anchors are frozen-base lines. Every original behavior ID appears directly or through stable children. KEEP includes explicit receiver folds; CUT is intentional approved VALUE reduction. Helper/assertion-only trims do not inflate behavior CUT counts.
src/gateway/server.sessions.create.account-authority.test.tssrc/gateway/server.sessions.create.accounts.test.tssrc/gateway/server.sessions.create.attachments.test.tssrc/gateway/server.sessions.create.auth-policy.test.tssrc/gateway/server.sessions.create.authority.test.tssrc/gateway/server.sessions.create.clone-identity.e2e.test.tssrc/gateway/server.sessions.create.communication.test.tssrc/gateway/server.sessions.create.disk-full.test.tssrc/gateway/server.sessions.create.dispatch.test.tssrc/gateway/server.sessions.create.durability.test.tssrc/gateway/server.sessions.create.firstbirth.test.tssrc/gateway/server.sessions.create.fork-search.test.tssrc/gateway/server.sessions.create.forks.test.tssrc/gateway/server.sessions.create.incognito.test.tssrc/gateway/server.sessions.create.lifecycle.test.tssrc/gateway/server.sessions.create.member-sandbox.test.tssrc/gateway/server.sessions.create.projects.test.tssrc/gateway/server.sessions.create.reload.test.tssrc/gateway/server.sessions.create.repositories.test.tssrc/gateway/server.sessions.create.repository-required.test.tssrc/gateway/server.sessions.create.reset-fork.test.tssrc/gateway/server.sessions.create.resolved-model.test.tssrc/gateway/server.sessions.create.sandbox-project.test.tssrc/gateway/server.sessions.create.spawn.test.tssrc/gateway/server.sessions.create.titles.test.tssrc/gateway/server.sessions.create.workspace-policy.test.tssrc/gateway/server.sessions.create.worktree-selection.test.tssrc/gateway/server.sessions.create.worktrees.test.tsBug/fix provenance
P161124: refactor(storage): run repository workspace SQL in workers #161124; fix
124ddc0a49fe09ec2d08cb307de642e9d7d4f314— worker ACK must publish repository state before the next socket projection read.P201623: fix: keep release validation bounded and clean up session fixtures #201623 — test-fixture cleanup repair only; not product-bug provenance for B029.
P202513: refactor(gateway): admit saved requesters once when work starts #202513;
3ad2cce4cd8— admitted creation/input survives later config/token change.P204249: refactor: drop the admitted operator authority re-check and the lifetime ratchet (R6z) #204249;
75cab7d1e9f— remove later authority rechecks from admitted inference.P166059: fix(sessions): keep runtime preparation from blocking other sessions #166059; fix
92c51f4acf53— unrelated writer progresses while runtime preparation waits.P190862: fix(sessions): replay creation requests across Gateway restarts #190862; fix
d40aa7c6f2ba— durable creation receipt replay/incarnation ownership.P191372: fix(android): start a new chat while a response is still running #191372; fix
987a9efe117f— parallel New leaves busy parent running; Fixes Android New chat is refused while the open conversation is still responding #191339.P186572: fix: keep initial attachments available in new worktrees #186572; fix
62177f294dc0— initial attachment originals survive pending worktree preparation.P170794: fix: name sessions before worktree and reply startup finish #170794; fix
82acd0a1c02a— name before progress/workspace and retry after settlement.P185337: fix: keep session titles stable after the opening task #185337; fix
3d064947c6bb— stop later automatic title refinement after seven follow-ups.P153455: fix: avoid prompt-derived worktree branch names #153455; fix
d0b8dbe47049e625a544a7ac9d3687bc5303a8d0— avoid prompt-derived worktree branch names, including no-initial-turn allocation.P193751: fix(sessions): let write-only creators use configured defaults #193751; fix
8fe5030ddcb4— Full default falls back for writer; nonwriter not elevated.P199413: fix: honor ID member agent policy for new sessions #199413; fix
b2f57063e731— member role ceiling is not replaced by linked named-role policy.P196889: fix: authenticate GitHub project worktree preparation #196889; fix
ff392dbeb06b— authenticated clone/default-base transport and source ref owner.P176998: fix(gateway): a chat accepted on a full disk vanishes without a terminal event #176998; fix
ef53bbce161d— full-disk input failure must visibly terminalize without phantom message.P205671: fix: let long chats fork without losing searchable history #205671; fix
c2ac7407ebab— explicit API forks retain full searchable history; native/CLI remain bounded.P203694: fix: open new chats without a Home parent #203694; fix
3e7e1ce50fbe— ordinary creation writes only an explicit parent, not Home fallback.P186828: fix: preserve Draft when copying conversations #186828; fix
5ff57b8e742f— fork Draft audience remains private; Fixes [Bug]: Whole-conversation forks turn Draft copies into Shared conversations #186771.P186856: fix: keep spawned helpers in the Draft audience #186856; fix
6d8ba301c1463ea6ec93f5ab5d19af1bef47eb44— spawned child retains Draft audience, including preparation change; Fixes [Bug]: Draft conversations spawn Shared children #186662.C30ec4a1: 30ec4a1; fix
30ec4a1b2de107df6c7b612e6b40ce08a2240e93— project clone errors preserve truthful terminal guidance.P169249: fix(gateway): keep other agents working while agents are created or deleted #169249; fix
b1cadeefe0b6— route capture belongs to target rather than global roster.P166660: fix(sessions): keep cleared history out of active session forks #166660; fix
e3f530727f7d— reset is a stable fork boundary; cleared context must not leak.P169030: fix(sessions): keep fallbacks when selecting the default model #169030; fix
f442662cabd8— default/explicit model selection keeps pin/fallback semantics.P194830: fix(gateway): limit restricted roles to public repositories #194830; fix
95363ce54afd— source handoff authorizes repository origin/visibility.P196168: fix: preserve conversation workspace during local publication #196168; fix
54e0bc0c2132— publication uses a distinct task checkout and preserves parent/message file source.P178664: fix(gateway): name the requested directory when it is not a git checkout #178664; fix
19753a7f33bcfafe252ca5bb89db9ec5d972ee25— a caller-selected non-Git directory must be named in the diagnostic rather than blaming the default workspace.P140251: fix(worktrees): explain session creation failures for repositories without commits #140251; fix
abd2d6f389f5a3c9dc8900181fb9d906e40bea82— preserve the specific no-commits cause and initial-commit recovery hint through session preparation; fixes Worktree session creation reports "not a git checkout" when the repo has no commits #140204.P165989: fix: New Session hangs while the model catalog is loading #165989; fix
4b485e5d0f3af82287ca72267a218d0d11f648ee— New Session must not hang on optional catalog publication and sequential reads share a monotonic deadline despite wall-clock steps.P127661: fix(gateway): prevent sessions from using unconfigured agents #127661; fix
8c0cdc653559f5009d89d9180497d2c77c000848— reject explicit/key-derived unconfigured creation owners, including blank explicit owner intent.P165929: fix(gateway): parent-only session creation loses its agent #165929; fix
5a060dd1e18e3181a4addd3b7b761f0d1c82f2a9— parent-derived agent selection cannot override an explicit invalid/blank owner.P132112: fix: allow large forks when child model supports them #132112; fix
24a8fe46be8605904b493b2519966955e38ed3ff— reported 391,869-token fork must fit the selected child model; preserve provider source and selected-window limits; fixes [Bug]: Operator session fork rejects model-safe parent at fixed non-configurable 100K cap #131925.P97332: fix: avoid stale dashboard child context budgets #97332; fix
c6ade83a5ccb12f2df2bce4aa745bdb28c60dd92— fresh dashboard children must not inherit stale parent context budgets and turn usage.P123276: Start new sessions with folder group defaults #123276; fix
edb5adfbf508d1fe83c1964860c2e1a518b8a3cf— category/group publication follows durable creation; rejected participation/commit fence leaves no category.P114477: fix(sessions): prevent lifecycle races and unsafe session management #114477; fix
9f5ba09a0dc2139a969f3729ed4d9db86f4808db— concurrent keyed creates adopt one canonical durable generation.P169164: perf: keep cold session and memory SQL off the Gateway main thread #169164; fix
4c884c148d031f46a90146dc978a1b9b423f5c91— cold-SQL performance fix; PR explicitly rejects this test's base-passing negative control as proof.P166891: perf(sessions): admit fresh initial input with its restart claim #166891; fix
9658ea8d8af2c6d1da1b4c1e04d8ccdbf59c2a5e— approved creation-only retention before the initial-input commit, with actual transaction/commit/retry guards retained.P112535: refactor: declare subagent spawn lineage explicitly so forks and dashboard chats stay spawn-capable #112535; fix
59f63ccc3becd2d4beb3a9e262f494b9e31421af— visible fork spawn lineage; malformed-option permutations are separate from the positive regression.P147373: fix: reduce repeated work while polling session pull requests #147373; fix
c747a4c85b902decef7c0bf17f59318814fe2a60— PR polling cache/read work; Creation retains repository source outcomes rather than helper listener shape.P154750: fix: bind session PR results to their reader #154750; fix
6b0b1119946678d720ddbc738b8af38f93e99cdf— PR results remain bound to reader and workspace; independent loader/handler regressions retain the replacement and withdrawal witnesses.P131955: fix: sessions.create rejects file working directories #131955; fix
f5bfececab24e8d92cc501091860fb9585ee92f4— authenticated sessions.create must reject a regular-file cwd without persisting an unusable session.Retained public-method / happy-path map
Primary subject: sessions.create, real wire+durable worker identity at firstbirth:149–160. Other methods remain where their own guard is tested; incidental reads/settlement do not create a new coverage mandate:
searchRemote/worktrees.list and user-account-management methods are authority-negative subjects where retained, not invitations to add happy allow journeys outside Creation. Event/store labels chat.title, sessions.changed, session.transcript.batch and session.actor.* are not counted as public methods.
Remaining gates and native checkout disposition
Vincent explicitly approved the prior ≥2,000-net floor exception for this single 381-net-line pilot on November 27, 2026. Focused validation, required exact-head CI and native preparation passed. Fresh exact-head ClawSweeper has zero source findings; its sole needs-human decision was resolved by that approval. Native squash merge landed as
f75bd912f3fd947a9ded4176fd19238e97a06529at November 28, 2026, 03:51:41 UTC. Native reconciliation verified the exact reviewed head, squash tree and main ancestry. The landed diff is +434/−815 =381 net test lines across19paths, production0. The native PR checkout was removed through scoped native GC. Campaign landed total: 134,599 (134,218 +381). This ONE-pilot round is complete; no next PR.The live task checkout is retained until its owning session departs; native completion/release is separate from physical deletion. The native PR checkout is removed. No production repair, dependency repair, foreign checkout mutation or unrelated history cleanup was part of this pilot.