Repository navigation
refactor: simplify infra and plugin lifecycle bookkeeping - #173523
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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d38c13d0f1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Codex review: blocked before merge. What this changesThis PR simplifies infrastructure and plugin lifecycle bookkeeping, cleanup, caching, and migration paths. Example: Two callers share a Git checkout-context read, and one cancels.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 5 items remain Keep this maintainer-authored PR open: the simplification has value, but stale approval retries can restart healthy handlers and several test consumers still expect removed behavior. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherGateway and CLI lifecycle owners coordinate approval delivery, plugin resources, Git workers, telemetry, and persisted-state maintenance; they receive requests and lifecycle events and produce deliveries, cached facts, cleanup, and durable migration results. flowchart TD
A[Gateway and CLI requests] --> B[Lifecycle owners]
B --> C[Approval and channel runtimes]
B --> D[Plugin resources and caches]
B --> E[Git and telemetry workers]
B --> F[Doctor maintenance]
F --> G[SQLite and transcript archives]
Technical reviewBest possible solution: Keep the simpler owners, suppress retries from superseded approval contexts, and complete the affected test cutovers. Do we have a high-confidence way to reproduce the issue? The approval retry regression follows directly from context replacement during pending startup; exact-head hosted annotations independently establish the identified test failures. Is this the best way to solve the issue? The owner-approved simplification is reasonable, and a captured-context check handles the demonstrated retry failure without restoring generation machinery. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6cace69448ae. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -523, Tests -516, Docs -3, Other 0. Total -1042 across 78 files. Added test files: 1. View PR surface stats
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 Reviewed October 15, 2026, 6:58 PM ET / 22:58 UTC. |
8eb9135 to
5b07712
Compare
…3671) * fix(state): refuse cached plugin reads after database quarantine A refused shared-state acquisition invalidated cached handles but left physical schema facts available to the plugin-state row cache. Retire those facts at the existing terminal-refusal owner so a quarantined database cannot become readable through that cache after schema inspection. Strengthen the existing quarantine test with a real read-only schema inspection and canonical refusal, and retain its rejection checks for lookup, lookupMany and register while adding entries/count coverage. Omitting only the new revocation reproduces a lookup resolving true; restoring it passes all 23 cases. No new latch, cache or repeated hot SQL. Settle the existing startup catalog owner before sampling the Gateway visitor run's shared retention counter, and again before exact disposal comparison. All output, positive retention and release assertions stay. This narrow fixture repair also appears in broad PRs #173523 and #173481. Proof: pnpm test src/plugin-state/plugin-state-store.test.ts --maxWorkers=1 passes 23 cases (115.57s wrapper-reported wall); its forced negative control fails at the rejection assertion (64.73s). The changed Gateway file passes all 5 cases with one worker (243.58s pnpm wall, mostly cold transforms). Core production and both owning test typegraphs, targeted typed lint, boundary lint, formatting and diff checks pass. Final P2: scoped-clean. Additional reader/retention and architecture checks continue in parallel; PR CI owns broad proof. No retries, longer timeouts or assertions removed. * test(gateway): defer startup custody fixture repair to main Main bd5f760 (#170534) landed the pre-sample startup-catalog join that fixes the reported visitor retention assertion. Its PR records all five plugin borrowing cases passing. Drop our already-covered Gateway hunk, resolving the differing-comment merge conflict without integrating unrelated main changes or weakening an assertion. The final PR delta is only the two quarantine files. Their reviewed source and regression are byte-identical to the proven candidate; retain the 52 focused safety/reader/retention/quarantine-cleanup passes, types, lint, full architecture and scoped-clean P2. The earlier five Gateway passes remain prior-candidate evidence; main owns that fixture repair.
…nclaw#173671) * fix(state): refuse cached plugin reads after database quarantine A refused shared-state acquisition invalidated cached handles but left physical schema facts available to the plugin-state row cache. Retire those facts at the existing terminal-refusal owner so a quarantined database cannot become readable through that cache after schema inspection. Strengthen the existing quarantine test with a real read-only schema inspection and canonical refusal, and retain its rejection checks for lookup, lookupMany and register while adding entries/count coverage. Omitting only the new revocation reproduces a lookup resolving true; restoring it passes all 23 cases. No new latch, cache or repeated hot SQL. Settle the existing startup catalog owner before sampling the Gateway visitor run's shared retention counter, and again before exact disposal comparison. All output, positive retention and release assertions stay. This narrow fixture repair also appears in broad PRs openclaw#173523 and openclaw#173481. Proof: pnpm test src/plugin-state/plugin-state-store.test.ts --maxWorkers=1 passes 23 cases (115.57s wrapper-reported wall); its forced negative control fails at the rejection assertion (64.73s). The changed Gateway file passes all 5 cases with one worker (243.58s pnpm wall, mostly cold transforms). Core production and both owning test typegraphs, targeted typed lint, boundary lint, formatting and diff checks pass. Final P2: scoped-clean. Additional reader/retention and architecture checks continue in parallel; PR CI owns broad proof. No retries, longer timeouts or assertions removed. * test(gateway): defer startup custody fixture repair to main Main f35773f (openclaw#170534) landed the pre-sample startup-catalog join that fixes the reported visitor retention assertion. Its PR records all five plugin borrowing cases passing. Drop our already-covered Gateway hunk, resolving the differing-comment merge conflict without integrating unrelated main changes or weakening an assertion. The final PR delta is only the two quarantine files. Their reviewed source and regression are byte-identical to the proven candidate; retain the 52 focused safety/reader/retention/quarantine-cleanup passes, types, lint, full architecture and scoped-clean P2. The earlier five Gateway passes remain prior-candidate evidence; main owns that fixture repair.
27b9cf5 to
6bcdf02
Compare
0926f37 to
e35dcba
Compare
e35dcba to
b6fabc6
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b6fabc609a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
f041efa to
57d4b86
Compare
57d4b86 to
060c947
Compare
|
Landing evidence for exact head The complete paginated check-run census after the body update contains 196 terminal checks: 128 success, 63 skipped, four failures and one neutral. The new body-evidence check117317262468 also completed successfully. CI run 38994461663 remains red; it is not relabeled green.
Conflict-focused lint/format, targeted core-test-infra types, runtime cycles (zero) and Madge cycles (zero) passed. Earlier interrupted archive tests and a Git-listing suppression timeout remain incomplete, not passing proof. Exact-head hosted suites provide broad proof. Independent review produced four findings, source-declined with owner/caller evidence already recorded in the PR; this is not a scoped-clean verdict. Security/effect authority, FIFO, durability, ordinary shutdown settlement, public SDK signatures and the standalone Phase E memory backend remain intact. The exact current canonical renders completed for base The archive review thread now has a source-backed maintainer disposition: both real writers hold stopped-writer maintenance; the preparation caller is verify-only; transaction authority and durable publication remain. Unsupported raw-SQL mutation inside that exclusive scope is the explicitly accepted scenario, not ordinary concurrent writing. No actionable finding remains. Native Campaign Ending10 authorizes a direct exact-head guarded merge after repeated native infrastructure failures, not a check waiver. Two terminal native operations failed on shared |
…73523) * refactor: simplify infra and plugin lifecycle bookkeeping * refactor(infra): finish lifecycle cleanup cutover * fix(plugin-sdk): retain lifecycle result and cache contracts
…3671) * fix(state): refuse cached plugin reads after database quarantine A refused shared-state acquisition invalidated cached handles but left physical schema facts available to the plugin-state row cache. Retire those facts at the existing terminal-refusal owner so a quarantined database cannot become readable through that cache after schema inspection. Strengthen the existing quarantine test with a real read-only schema inspection and canonical refusal, and retain its rejection checks for lookup, lookupMany and register while adding entries/count coverage. Omitting only the new revocation reproduces a lookup resolving true; restoring it passes all 23 cases. No new latch, cache or repeated hot SQL. Settle the existing startup catalog owner before sampling the Gateway visitor run's shared retention counter, and again before exact disposal comparison. All output, positive retention and release assertions stay. This narrow fixture repair also appears in broad PRs #173523 and #173481. Proof: pnpm test src/plugin-state/plugin-state-store.test.ts --maxWorkers=1 passes 23 cases (115.57s wrapper-reported wall); its forced negative control fails at the rejection assertion (64.73s). The changed Gateway file passes all 5 cases with one worker (243.58s pnpm wall, mostly cold transforms). Core production and both owning test typegraphs, targeted typed lint, boundary lint, formatting and diff checks pass. Final P2: scoped-clean. Additional reader/retention and architecture checks continue in parallel; PR CI owns broad proof. No retries, longer timeouts or assertions removed. * test(gateway): defer startup custody fixture repair to main Main bd5f760 (#170534) landed the pre-sample startup-catalog join that fixes the reported visitor retention assertion. Its PR records all five plugin borrowing cases passing. Drop our already-covered Gateway hunk, resolving the differing-comment merge conflict without integrating unrelated main changes or weakening an assertion. The final PR delta is only the two quarantine files. Their reviewed source and regression are byte-identical to the proven candidate; retain the 52 focused safety/reader/retention/quarantine-cleanup passes, types, lint, full architecture and scoped-clean P2. The earlier five Gateway passes remain prior-candidate evidence; main owns that fixture repair. (cherry picked from commit e51c322) Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
Internal lifecycle paths repeat admission, copy producer-owned facts, and coordinate unsupported reentrant callers after their real owners already establish the required contract. These mechanisms obscure the actual security, FIFO, durability, and shutdown boundaries.
User Impact
No intended user-visible feature or public SDK change. Rare, recoverable internal reentry and manually incomplete build scenarios follow the best-effort behavior named below; security effects, FIFO, user-data durability and ordinary shutdown settlement stay.
Why This Change Was Made
Use one shared telemetry check, caller-local Git cancellation, per-registration cleanup settlement, first-settlement auth receipts, and straight-line private install batches. Remove redundant approval bookkeeping while preserving the live registered-context check before delivery starts. Consolidate official plugin-version candidate construction and service-stop preparation.
Plan transcript changes inside the existing immediate transaction and write prepared archive rows under the existing exclusive maintenance owner. Keep recovery journals, canonical hashes, publication receipts, authority checks and restart reconciliation. The state-directory latch cut was withdrawn after inconclusive changed-path proof; its producer, caller and test isolation are restored together.
Drop duplicate native removal acknowledgements, HTTP abort once flags, diagnostic drain generations and permanent profiler poisoning. Expose temporary ClawHub archive cleanup failures as warnings without replacing the installation result; its record-field normalization moves unchanged to the existing record owner.
Public SDK names/signatures, config/protocol/persisted shapes, security boundaries, normal user-data durability, ordinary shutdown settlement and Phase E standalone session memory remain unchanged.
Best-effort tradeoffs accepted
Net production LOC at the current head: 505 removed across35 production files, +381/−886 against
9285ef2266ef9902c7126dc6c52d11de81a80686, excluding tests, support, fixtures, generated files and declarations. Includes80 orphan script lines. Main-absorbed work is not counted. The session-planning cut was withdrawn at conflict integration; the entire current-main transcript-directives owner is retained.Evidence
Current head
Conflict repair published signed head
060c94725398d0bda6d48b0be434325b5818ba3don base9285ef2266ef9902c7126dc6c52d11de81a80686; GitHub reports MERGEABLE and exact-head CI run38994461663 is attached. The actual conflict was in transcript-directives.ts: preserve main's entire masked-provider migration/repair owner instead of transplanting the older session-planning cleanup. All three signatures are valid. No merge or auto-merge is armed.Fresh independent review completed with four findings, all source-declined: exclusive maintenance and durable archive publication remain; the npm fallback already invokes the same compatibility validator; actual transport-mutated Git diff envelopes retain copies; the first synchronous aborted-signal admission remains. No accepted actionable finding remains; this was not a scoped-clean verdict.
Conflict-focused local archive proof was interrupted before assertions. Its suppression companion/inventory cases passed, while Git-backed file listing exceeded the unchanged120-second budget. No passing archive suite or causal/inherited timeout attribution is claimed. After recovering a verified dead task-owned artifact lock, fresh archive lint/format, runtime cycles (0), Madge cycles (0), and targeted core-test-infra types (226.4s) passed under isolated HOME/OpenClaw/XDG.
Exact-head CI38994461663 is complete. Two substantive failures are inherited: job117284178026 has the same runtime-llm prepared-owner LRU expected2/received3 signature as unrelated PR174831/run38982034436/job117245342341; job117284177089 has the same mock-exports maintenance-native fixture52→update-command-database-context.js signature as scheduled main38991549274/job117275051710. None of those direct owners/tests changed here. The earlier body-parser failure is superseded by successful same-head job117285125816. Other substantive CI jobs completed successfully. Fresh complete census:185 terminal checks,123 success/57 skipped/four failures/one neutral, including the aggregate and superseded body failure.
Current canonical SDK renders both completed successfully for9285→060c. Their retained complete22MiB surfaces are byte-identical, SHA256
74e1b4ffb3908fd0b3d6b6c023178994eefde1a8c442ca042e8f4defc7dd63f9, captured only after each exact render-completed marker under clean pinned toolinga150. Canonical parse/diff/report/evidence functions separately compared those hash-verified surfaces and completed exit0: No Plugin SDK API changes, digestff7b090f, any drift fails/no acknowledgement waiver. The original renderer wrapper remains in synchronous temporary-worktree cleanup; its terminal exit is not claimed yet. The completed lightweight comparison is exact current-head API proof, not old-head reuse or a second render.The public archive review conversation has a source-backed maintainer response and is resolved: the two actual writers hold stopped-writer maintenance, pre-stop preparation is read-only, and live transaction authority/publication recovery remain. The accepted unsupported case is injected raw-SQL mutation inside that exclusive owner. Prior-head CI and checks below are historical only.
Prior-head evidence (not current-head proof)
Conflict-repaired signed head
57d4b86b70468239dcbde5dc07b06bde2cd94574is published with an exact-f041 lease after conflict-specific types, lint/format, suppressions and cycles passed. GitHub reported a real conflict at published f041. This repair preserves main's whole deferred service reload/resumption implementation and moved public service types, including pendingReload assignment, cancellation and ownership. Only the existing four-statement stop-preparation deduplication is adapted at the conflict. All three Peter signatures are valid; range-diff shows that adaptation alone, with the second cutover and SDK repair exactly equal. Main's logger transport and fixture remain untouched. No merge request or auto-merge is armed. The superseded29f→b6fa SDK attempt joined130 after normal cleanup without a verdict; it is not API proof. The current ff786f→57d4 canonical SDK comparison is still rendering, without acknowledgement or waiver.On 57d4, core production types, the affected services/plugins-platform test graphs (350.5s/355.3s), typed services lint, formatting, diff-check and both cycle checks passed; runtime and Madge cycles are zero and the complete serial chain joined0. A separate mandatory suppression run passed all3 cases, without inventory changes. Local combined focused proof ended143 at the unchanged900-second no-output worker-preparation guard, before its requested service or suppression assertions. It is not a passing service suite. The one remote request failed its staged-source identity guard before native Crabbox dispatch: no allocation or remote result. No provider retry/fallback was used.
Exact-head hosted run 38984868161 completed. All175 check runs are accounted for:120 success,51 skipped,two failures,one neutral and one cancelled. Security-fast117254330489 passed. Cancelled metadata117253848832 has successful same-head successor117254023101. CI itself remains red, not relabelled green:
runtime-llm.prepared-owner.test.ts, completion ownershiplru, line923: expected2 forks, received3. Independently verified identical case/values/full stack on unrelated PR #174831, headf1ad31c293f0ab56fde42bdc81197eec47e9238b, run38982034436/job117245342341. Its35 paths have zero intersection with this cut's56 paths. The failure test and direct completion/capture/full-catalog owners are unchanged in this PR's actual tested merge.The automated classifier reported UNKNOWN because no comparable scheduled-main shard existed; this additional unrelated-PR evidence establishes the matching signature, not its root cause. The one local LRU replay ended143 during worker preparation at the unchanged900-second guard, with no assertion verdict or serial baseline. Host load is not claimed as attribution. Native inherited-failure admission remains pending, along with the current-head SDK comparison. The actual tested merge09c6685399b848dd25c7ad5f3fdb3e745c7ac5a1 has ordered parents2b3e9726390c2458b9a2429e67a1d8eeb9c44717 and57d4; its tree matches a freshly reconstructed merge of those parents.
On f041, core production types, both affected canonical test graphs (infra114.8s, state/logging63.5s), matching type-aware lint, formatting and diff checks passed. Runtime and Madge cycles are both zero. All13 logger cases passed with the existing Linux-only skip (387.14s); the focused command exited1 because the suppression suite's Git-backed production-file listing exceeded its unchanged120-second budget (actual231565ms). Its suppression inventory and companion rule cases passed. This remains an unresolved local timeout, not inherited-CI attribution or a passing suite. The earlier Commander explicit-registration timeout also remains investigated without a proven causal repair. No timeout, retry, skip, suppression or allowlist was changed. Lock/workspace and dependency settings match the prior frozen install; only an unrelated Windows test command changed.
Prior-head proof and investigations
Conflict repair candidate: signed local head
b6fabc609a2e61981351ee7998cdc4bc39b1c4e1. Native landing aborted before dispatch when GitHub reported an actual conflict. The conflict-only rebase keeps main's package-integrity and bounds files byte-for-byte, and preserves main's question-runtime helper/table coverage while adapting only this cut's removed synthetic late-request case and captured-context expectations. The SDK contract repair replays unchanged. Isolated frozen installation, core production types, affected infra/services test types, matching fixture lint, formatting and both cycle checks passed with zero cycles; the recovered Madge command completed normally with exit0. All40 question-runtime/package-bounds assertions passed; session loss interrupted completed-worker verification/cleanup, so the focused wrapper is incomplete, not claimed green. The suppression shard had two passes and main's extra no-map-spread entry (95vs94); main has since landed the exact owner repair in #174689, with15 owner/suppression cases passing. No allowlist was changed. The new canonical29f→b6fa SDK comparison is running without an acknowledgement; exact-head hosted CI remains pending. The following e35d results are prior-head evidence, not a waiver for the repaired candidate.Exact-head hosted CI run 38933219775 completed successfully on
e35dcba29d398a869776b1a4d2838787d0787a1f: 121 jobs completed, zero failures. No CI rerun or green-only push was used. The final canonical SDK comparison also completed normally with exit 0 after both renders and cleanup: No Plugin SDK API changes between8079cb87aefeedd6f43994bd8930efd622c6cec3and this exact head, digestff7b090f, without an acknowledgement waiver. Native review is ready for preparation; no merge has been claimed.Earlier published signed head:
e35dcba29d398a869776b1a4d2838787d0787a1f, pushed with an exact0926 lease after fresh local proof and identity verification. That conflict-only rebase completed with all three Peter signatures valid. Its sole conflict was main's approval-bootstrap fixture consolidation: retain all main helpers/cases plus the unique cleanup-error visibility regression adapted to those helpers. Production was patch-identical; the two later commits replayed exactly. Its read-only merge against then-current main0dc31f5f64309d199f12aea643452bfde54f4888was clean; a later confirmed conflict prompted the b6fa repair above.The earlier01e-based conflict reconciliation preserved main's human-reported Gateway drain repair (#173788): fixed 45-second drainage, no renewal, and caller/owner/reason/expiry attribution. Only scheduler recovery retries remain removed. That earlier conflict was telemetry; main's #174112 absorbed the arbitration cut, leaving a four-line addition/six-line removal at its final slot release. Its two follow-up commits replayed exactly; the remaining first-commit difference was upstream loader-function naming context. Main's Git-test preparation/pruning stays, and the Gateway borrowing fixture remains byte-identical to the base.
On candidate e35d, the isolated frozen install, core production types, affected infra test graph (263.3s), matching fixture lint and all three mandatory suppression cases passed. All12 approval-bootstrap cases passed (1458.82s Vitest, dominated by worker preparation), including cleanup-error visibility, cancellation and ordinary shutdown settlement. The complete focused command joined0 after normal completed-generation verification/cleanup:15 tests across two shards,1746.59s wrapper. Both fresh cycle checks passed with zero cycles; the serial type/lint/cycle chain joined0. The current changed-check dry-run selects coreTests only; it is not an executed broad check. Prior published0926 proof remains qualified prior-input evidence: core types, telemetry lint, infra test types, zero runtime/Madge cycles, 32 telemetry tests and three suppression cases passed (2199.71s focused wrapper time), including worker-output verification and cleanup. The earlier check chain's trailing runtime-script name was mistyped after types/lint; the separate correct cycle pair passed. All six suspension RPC tests and the coordinator/handoff/Git-cache batch passed on the preceding patch-equivalent implementation (1482.13s for the batch).
Fresh whole-candidate P0–P2 review completed with three declined findings, not a scoped-clean verdict. Archive writes remain under the exclusive maintenance owner in both write callers; snapshot preparation is read-only. The removed outbound assertion is on a stable-intent collision branch that can only return an empty result or throw, not perform delivery; live queue and effect-boundary checks remain. Runtime registration still rejects an already-aborted signal before its synchronous publication block; only speculative reentrant signal methods needed the second check. No accepted actionable finding remains, and the telemetry reconciliation itself was found sound.
The superseded 01e→0926 canonical SDK comparison was interrupted after the renewed actual conflict and fully joined after normal cleanup, exit130/no verdict. The other PR's fd2→35ed comparison was also interrupted by session loss, with no result artifacts or surviving reader; neither is API proof. The final integrated8079→e35d canonical comparison completed normally in isolated state without an acknowledgement waiver, with no API changes. No dependency-store reconciliation occurred during rendering. Both renders completed (9131868ms and9163458ms), and the comparison returned only after ordinary temporary-worktree cleanup joined.
Historical proof and limitations
The following records describe earlier heads, not outstanding gates on e35d. Their references to pending SDK or type proof are superseded by the exact-head results above; interrupted checks remain incomplete, not retroactively passing.
The canonical full SDK comparison on the preceding published head found two reachable declaration changes, not a resource failure: scheduler recovery result variants and the cache SDK's
usableDistArtifactsmember. The repair restores their exact public shapes and matching Gateway RPC translations without restoring the retry loop or dist scanner. Incremental independent P0–P2 review was scoped-clean; targeted core lint, formatting, diff-check and the core typecheck pass. The final canonical comparison above now verifies those preserved shapes without an acknowledgement waiver.On the repaired source, all six suspension RPC tests pass (208.35s Vitest). The coordinator shard was stopped and joined during cold compiled-worker preparation after the combined runner spent 26m58s; it reached no coordinator assertions. Its type alternatives are the only coordinator repair, with no runtime import edge or coordinator implementation change. Fresh runtime cycles are zero; the preceding zero-component Madge proof remains applicable because the repair adds no import edges. A redundant fresh Madge run was stopped and joined after 17m25s without a result. The suppression check passed two cases and reproduced the same two out-of-lane allowlist omissions already proven on clean main; no suppression or allowlist was added. These incomplete/inherited local results are not blanket green proof. The new immutable head's CI is the broad gate.
Conflict-only rebased signed head
5b07712ef799229e5fc9ae296ab09cfd31849eb9completes the standalone scanner orphan removal, restores synchronous idle projection release ordering, and repairs fixture settlement observations. GitHub reported CONFLICTING at the preceding published head; the sole conflict was the Telegram fixture, whose identical readiness repair had already landed on main in172aae503c5. That file now equals the new base byte-for-byte. Production changes are patch-identical. Post-rebase runtime and madge cycles are both zero; all three held-operation cases pass (706.98s Vitest, predominantly cold transform). The suppression check reproduces the two already-verified clean-main unbound-method allowlist omissions; no suppression/allowlist was added. Broad local types are not qualified because the borrowed install contains pi-tui1.0.4 while the lock pins1.1.0; exact-head frozen-install CI owns that proof. Canonical SDK comparison remains pending, without acknowledgement waiver.Earlier isolated proof: 3 lint-suppression tests, all5 Gateway borrowing/service cases, and all3 Telegram held-operation cases passed in1126.80s total wrapper time (Gateway666.27s, Telegram290.85s). The Telegram fixture observes the real mocked setWebhook notification rather than polling before account preparation finishes; accepted commit, rollback and introduction settlement assertions remain unchanged. Gateway retained-work assertions settle the existing shared startup catalog owner before comparing counts; missing and leaked run retention remain detectable. Fresh independent P0–P2 review was scoped-clean. Core fixture lint and formatting passed; extension lint did not reach linting because prerequisite SDK declarations exceeded the existing300000ms build bound. No timeout/retry/skip was changed, and no extension-lint pass is claimed.
Earlier isolated proof passed8 restored state-directory migration tests; runtime value cycles and madge cycles are both zero. Core/tooling repair lint, format and diff checks passed. Earlier focused repair proof passed53 tooling tests,46 infra tests and45 plugin tests; the existing Commander explicit-registration case timed out at its unchanged120-second bound. That timeout remains investigated but unattributed, not a claimed inherited failure or a proven repair. Production/test typecheck and regular build groups passed on the earlier head; canonical SDK API comparison remains pending. Corrected-head hosted CI is the broad gate; no SDK acknowledgement waiver is authorized. A serial replay of published head19e9 and clean main-parentf4 reproduces the same Telegram account-preparation abort before the held-operation scenario; the repaired fixture reaches and passes all three actual settlement scenarios. This is fixture-repair evidence, not a live Telegram claim or a blanket inherited-CI exception.
Independent full-candidate review completed. One earlier cache-consistency/security-consumer finding was fixed by restoring the completed-publication preference. The signal finding is disproved by the unchanged early abort boundary; partial-dist fallback is the explicit rebuild tradeoff above. A final skipped-migration finding is also disproved by the sole caller: a prior completed migration leaves no legacy path and returns before the reported condition; preparation is called once. A captured source disappearing during teardown remains a refusal, not a successful relocation.
Repair review: the disposal-ordering and complete standalone scanner cascade passed independent P0–P2 review. A subsequent withdrawal review identified the original process-global migration-latch limitation; all17 withdrawal paths are byte-identical to the actual PR base, so this is an existing follow-up, not a change-owned regression. The withdrawn multi-root/retry feature is not replaced with another cache or latch map.
The ClawHub cleanup regression uses real parsing/compatibility/archive installation with synthetic network I/O and preserves the original result while reporting temporary cleanup failure. Existing tests remain. Earlier interrupted/load-bound proof runs are incomplete, not passes or product-failure attribution. No new suppressions, retries, skips, budgets or raised timeouts.