Repository navigation
refactor(github): await personal and repository publication lifecycle - #168953
Conversation
Include the reviewed requester context and conservative source revocation repairs.
Install canonical worker authority receipts before observers and ordinary replies.
Consume the corrected worker receipt and source contracts.
Preserve existing branch history while carrying reviewed S7 repairs.
Preserve existing branch history while carrying reviewed S7 repairs.
Preserve existing branch history while carrying reviewed S7 repairs.
Preserve existing branch history while carrying reviewed S7 repairs.
Preserve existing branch history while carrying reviewed S7 repairs.
Preserve existing branch history while carrying reviewed S7 repairs.
…pairs Preserve existing branch history and stage-specific ownership contracts.
Preserve existing branch history and stage-specific ownership contracts.
Preserve existing branch history and stage-specific ownership contracts.
Preserve existing branch history and stage-specific ownership contracts.
Preserve existing branch history and stage-specific ownership contracts.
Preserve existing branch history and stage-specific ownership contracts.
Preserve existing runtime bodies and branch history.
Preserve existing runtime bodies and branch history.
Preserve branch history and carry reviewed API, fixture, and static-gate repairs at their owning slice.
Preserve branch history and carry reviewed API, fixture, and static-gate repairs at their owning slice.
Preserve branch history and carry reviewed API, fixture, and static-gate repairs at their owning slice.
Preserve branch history and carry reviewed API, fixture, and static-gate repairs at their owning slice.
Preserve branch history and carry reviewed API, fixture, and static-gate repairs at their owning slice.
Preserve branch history and carry reviewed API, fixture, and static-gate repairs at their owning slice.
Keep agent-run admission separate from publication mutation authority and preserve the reviewed fixture repairs at their owning boundary.
Keep agent-run admission separate from publication mutation authority and preserve the reviewed fixture repairs at their owning boundary.
# Conflicts: # docs/reference/database-schemas/worker-access-inventory.md
…ync/sw7d-source # Conflicts: # docs/reference/database-schemas/worker-access-inventory.md
# Conflicts: # docs/reference/database-schemas/worker-access-inventory.md
|
Maintainer disposition under the agreed landing policy: the P2 selection-rejection interleaving is an accepted edge case. If another invocation admits the same session/idempotency key during identity preparation, a competing rejection can still clear the first client's local selection/attempt. The admitted durable receipt remains owned by the publication worker. We are deliberately not adding a rejection-time reread or coordination protocol for this recoverable UI bookkeeping race. The review reports no executed authorization bypass. Current authority checks before GitHub effects remain required; accepted-effect recording is bookkeeping, not permission for another effect. The existing focused authority and publication proof is retained with its stated limits; this disposition does not claim an additional live GitHub revocation test. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…openclaw#168953) * refactor(plugin-sdk): share legacy persistence warning budgets * refactor(github): move personal connection authority to workers * fix(github): publish connection and receipt revocation facts * refactor(github): share transaction-local publication transitions * refactor(github): prepare typed publication source authority Include the reviewed requester context and conservative source revocation repairs. * refactor(github): execute publication commands in state workers Install canonical worker authority receipts before observers and ordinary replies. * refactor(github): await personal and repository publication lifecycle Consume the corrected worker receipt and source contracts. * fix(github): propagate reviewed connection authority repairs Preserve existing branch history while carrying reviewed S7 repairs. * fix(github): propagate reviewed connections compatibility and gate repairs Preserve existing branch history and stage-specific ownership contracts. * refactor(github): propagate reviewed worker type-cycle repair Preserve existing runtime bodies and branch history. * fix(github): propagate reviewed connections gate repairs Preserve branch history and carry reviewed API, fixture, and static-gate repairs at their owning slice. * fix(github): preserve publication policy in source slice Keep agent-run admission separate from publication mutation authority and preserve the reviewed fixture repairs at their owning boundary. * fix(github): propagate reviewed facts focused repairs Preserve existing history and carry the reviewed repair at its owning slice. * refactor(github): simplify publication bookkeeping settlement Reuse native settlement and retain only consumed connection notifications. * refactor(github): simplify failed publication bookkeeping Carry reviewed S7 source and inventory through the existing stack. * perf(github): reuse the state worker for role authority * refactor(github): simplify execution bookkeeping authority * perf(github): reuse state worker for connection reads * refactor(github): reuse publication worker for lifecycle reads * perf(github): avoid redundant checkpoint and orphan preparation * perf(github): reuse resident role authority * refactor(github): check custody after repository preparation Remove the redundant intermediate custody check; retain the check after the awaited receipt read and the existing effect authority checks. * fix(github): normalize publication requester revocation Carry the reviewed publication runtime repair through its owning slice. Preserve existing authority checks and pending recovery outcomes. * refactor(github): reuse matching prepared publication requester * fix(github): defer source authority exports to their consumer slice * fix(github): defer worker exports until operation registration * refactor(github): stage source authority with its consumers * fix(github): preserve bounded deferral authority projection * fix(github): settle deferrals through authority receipts * test(github): expect host-minted publication requester * fix(sqlite): classify GitHub worker-only publication operations * fix(github): preserve migrated publication read dispatch
What Problem This Solves
Personal and repository publication coordinators still perform receipt transitions, checkpoint preparation, and recovery mutations on the Gateway thread.
User Impact
V2 personal/repository requests and their recovery paths now use the typed worker facade. Accepted internal bookkeeping and GitHub effect observations can settle after action revocation, while another external effect still requires current authority. The common shared coordinator, RPC migration, runtime reporting, and SDK facade are completed by the next slice.
Why This Change Was Made
The typed facade, checkpoint callers, execution callbacks, and recovery owner move together. Coordinators await worker commits and receipt installation; the shared coordinator passes its actual lifetime to its children. Execution bookkeeping uses custody without source reservations and retains the final
beforeRunguard. Each further external effect requires current authority.Eight publication read routes reuse the owning shared-state worker; their duplicate readonly registration, validation, and dispatch are removed with the last adapters. Shared async orphan deferral also moves to its existing worker command in this slice, avoiding an eager pending-results read for empty shared rows. Repository orphan reconciliation returns after its existing empty list read. Retirement checks its reservation once after the final awaited receipt read and holds it through settlement. Checkpoint source preparation reuses the existing action guard instead of wrapping it with duplicate checks. Repository execution checks custody after the complete awaited preparation sequence, avoiding the redundant intermediate check. No new fence, revocation generation, generic batching framework, or reconciliation protocol is introduced.
Checkpoint-preparation failure and stale-request retirement use bookkeeping custody. If a checkpoint becomes available or a session is restored after the observation, the user may need a new publication request. A dispatched marker can remain if the final
beforeRuneffect guard refuses; that marker does not prove an observed GitHub effect. Original content and recorded GitHub effects remain intact.S4b’s canonical receipt owner supplies authority facts. The obsolete stale-receipt wrapper is removed; restart confirmation and released opaque-callback diagnostics move in the final slice. Native compatibility routes remain. No schema, stored-data, retention, or update migration is required.
S10 handoff after the complete stack: the parked
w6githublane can use host-mintedGitHubPublicationRequesterV2andPersonalGitHubSessionActionV2, withGitHubPublicationTransitionAuthorityand typed source/transition operations. This slice is a prerequisite; the complete-stack handoff includes canonical receipt installation before observers and does not claim removal of every final synchronous guard.Repository execution propagates pending-recovery errors instead of recording a terminal failure while recovery is unsettled.
Immediate repository execution borrows the caller’s branded V2 requester only when its canonical encoded snapshot, including alias bindings, exactly matches the reread row; otherwise it restores a requester, and cleanup releases only the requester execution owns.
All three cold timing exceptions now meet the user’s same-flow warm condition: repository 1.007231831×, shared 1.199174605×, and failed worker-turn preparation 0.572740991×. The original cold results remain reported below. Required follow-up: "pre-warm if a cheap sibling warm-up exists". No product warmup is included.
Stack dependency: S7 slice 6/7, head
4e4245a101952e5af28654540cf34b36bc3fe056, basemain. Parent slice merged asc2e1f0f60557475951991e81cc17d38470878b62. The original implementation base remainsf9c477e3387116c0b9e7dc35cecfb1f52addf786; the current integration base isc2e1f0f60557475951991e81cc17d38470878b62.Evidence
Original complete-stack proof source:
f33795fc32205414b436f84f06dcd5e924255704, tree7e949f3b906ebc5e0f70dfa483b22c018c43c3cb. Its tree matches reviewed repairf33795fc32205414b436f84f06dcd5e924255704. post-runtime-repair-deb8cf38/source-relation.json — workerAwaitCorrection: exact twelve unnecessary awaits removed from one worker test; production and every other file equal b6. Actual proof heads retained. Slice1LandingIntegration records the separate remote-verified integrated successor; complete-stack f337 proof remains historical for that successor. Complete-stack results below do not claim a separate execution of this intermediate head.Current landing candidate:
4e4245a101952e5af28654540cf34b36bc3fe056, treec247baf3ec8d81b1ffeb20abdfcdb3a8595aa26e, integrated with captured mainc2e1f0f60557475951991e81cc17d38470878b62after S5 merged. All 27 production/test paths in this slice match the prior 3e093e7 source checkpoint byte for byte. The three affected suites passed 69 assertions at3177896fad36fc55ac2a13220a27955e6eba6604in 92.298 seconds; their reuse is explicit and no new runtime invocation is claimed.A complete-path comparison caught 84 retired generic read-adapter lines resurrected by the automatic merge outside the GitHub-prefixed files. The final correction restores exact tested registry/request/validation bytes; superseded f227/0edd heads are not the landing candidates. This is a merge correction, with no SQL change relative to the tested implementation. The complete 27-path comparison replaces the earlier incomplete GitHub-only comparison. Final native T1, type-aware core lint, source contracts and mock-export ratchet pass. T1 falls from raw 623 to 621 and normalized 621 to 619. Knip exits 1 with 57 production and 34 full-tree findings, reproduced on exact current base c2e1; all 37 implicated source files are identical. Original statement counts and timing measurements below retain their actual tested identities.
Historical cold timing exceptions — user-approved warm conditions met. These are the original measurements, not timings of the current landing head.
Repository and older shared evidence attribute first-use cost to existing compiled-JavaScript inventory/exact-sharing pools. Same-flow repeats amortize the cost; retained pool lifecycle is source-audited. The newer warm campaign did not retain task-worker IDs, so it does not assign every millisecond of shared/failure preparation to a specific worker. All warm ratios are ≤1.5; original cold values remain outside the ordinary duration gate. These are synthetic coordinator timings with setup excluded, not live GitHub or whole-Gateway measurements. Required follow-up: "pre-warm if a cheap sibling warm-up exists". No product warmup is included.
Original implementation diff at
a0eaf5e32865e1cc775adae6db9ce6e817970ad6relative tof9c477e3387116c0b9e7dc35cecfb1f52addf786: production +1253/−448 (1701 changed lines); tests +4/−4 (8 changed lines); docs +6/−6 (12 changed lines).The recorded GitHub-style comparison uses observed
mainrevisionc2e1f0f60557475951991e81cc17d38470878b62and merge basec2e1f0f60557475951991e81cc17d38470878b62: production +1539/−452 (1991 changed lines); tests +14/−4 (18 changed lines); docs +11/−11 (22 changed lines). This is a pinned comparison, not a claim about current main.3177896fad36fc55ac2a13220a27955e6eba6604— Three suites, 69 passing assertions: attribution, repository workflows and repository publication. No runtime rerun is claimed for corrected final 4e4245a.4e4245a101952e5af28654540cf34b36bc3fe056— T1 ratchet, type-aware core lint, source contracts and mock-export ratchet. T1 raw 623 → 621; normalized 621 → 619.4e4245a101952e5af28654540cf34b36bc3fe056— 57 production and 34 full-tree findings reproduce on exact captured base c2e1; all 37 implicated source files are byte-identical.7a695a0f91db5de010a402c9452527b3623a17cc— 12-query census;14 committed-file hash matches. No escaped legacy caller, runtime alias, mutating read or retired route. Source proof only.c043a016383fe39faf5e7228d94426b59b28e002— Four alternating pairs against fcb95c2; eight functional passes. Lead accepted RAW extra-pair whole decrease; first+234 and combinedstartup+216.5 remain explicit below. Owner duration is a separate gate.f33795fc32205414b436f84f06dcd5e924255704— Node 11/11 and Bun 11/11; zero failed/pending/skipped/todo. Exact final source remained stable. Validates the twelve synchronous-read await removals.7a695a0f91db5de010a402c9452527b3623a17cc— Shared 23/23 and boundary 36/36 passed; includes unbranded legacy writer/callback paths. Both suites and production are unchanged through f337.a7c683b6829e50b595848a8357a6521557cd1e94— 58/58: repository 43 and requester aliases 15 at a7. The repository suite includes the legacy callback that observes the publishing transaction. Later 7a bookkeeping tests are separate.f0b9308c8af2f3211f1c2fe357baed96bc596f0d— 14/14 tests across user-channel-identities and user-profiles-multi-account; native single invocation. Historical exact-f0 result.b6e39b6b5f2c4769ee6ec8d232e02c581eed1ff9— 50/50, zero failed/pending/skipped/todo. Includes executed legacy personal-writer cases; validates the teardown correction. Source remained exact throughout.22b70997d7b0a5f7c85229b51f5a938f48739a32— Bun wrapper 1/1 is type-only; f0 SDK test typecheck 54.002s validates its assertions. Legacy runtime coverage is listed separately; no universal parity or inherited-reader claim.7a695a0f91db5de010a402c9452527b3623a17cc— Core types, SDK declarations, Madge, configured Knip files/dependencies and canonical all-exports passed. SDK declarations match all 298 original f0 path/hash entries without normalization. git diff --check also passed.f0b9308c8af2f3211f1c2fe357baed96bc596f0d— Original 951a→f0 comparison: no entrypoint additions/removals, 7 added exports, 182 reachable changes. Exact 7a declarations equal original f0; b6 is test-only. No new API-diff run.7a695a0f91db5de010a402c9452527b3623a17cc— Common:a0→7a, 3 pairs, accepted under attributed turn noise floor/non-turn tolerance. Failure:2c32→7a, 5 pairs, 40/40 tests; cold worker-turn preparation has a user-approved exception after same-flow warm ratio 0.572741; original cold ratio retained. Actual bases, counts and all timings below.deb8cf386e59daf7c84825a0a1b3fe57d7380842— Original deb8: 131 passed/1 failed. Personal observation failure resolved by 22b7 selected cases (6 passed/44 skipped, 67.978s); full personal suite now passes 50/50 at b6. Original four-file run remains failed.7a695a0f91db5de010a402c9452527b3623a17cc— Original7a run stopped at counted-line cap1002>1000; later steps did not run. The b6 correction passed the line cap, but this original run remains failed.b6e39b6b5f2c4769ee6ec8d232e02c581eed1ff9— Original b6 run:31 stages passed, then exactly12 worker-test await-thenable errors stopped lint; later stages did not run in that invocation. Reviewed f337 removed those awaits; the accepted cumulative row records the successful continuation without relabeling this failure.f33795fc32205414b436f84f06dcd5e924255704— Lead accepted 31 successful prefix stages at b6 plus all11 native suffix stages at f337. Native command environments preserved; core0 errors/19 warnings, extension/script0 errors, cycles0. Production unchanged; neither original failed run is relabeled as passing.f33795fc32205414b436f84f06dcd5e924255704— Shared and failed worker-turn preparation: three alternating pairs each, all native assertions/same-process checks pass. Warm ratios 1.199174605/0.572740991. Repository original repeat ratio 1.007231831 retained. This satisfies the user’s cold-exception condition; cold ratios are not relabeled.CI seconds were not measured. Earlier f0 Gateway verification failed (383 passed/10 failed; 991.429s), leading to requester-abort, pending-recovery and fixture repairs. The deb8 failure and selected 22b7 resolution above retain that history. Executed legacy coverage includes unbranded shared/boundary writer paths at 7a and the repository callback at a7 and the personal writer at b6. The full b6 personal suite executes legacy writer cases with V2 fields stripped; synchronous connection cancel/disconnect fixture shapes were source-inspected. Branded V2 requesters called through old method names are not evidence of legacy behavior. The dedicated SDK fixture is type-only; this evidence does not claim universal writer/callback parity or inherited status-reader compatibility. Full b6 check:changed stopped at twelve await-thenable errors after its preceding type/dead-export stages passed; later checks are now covered by the corrected f337 suffix; the b6 invocation remains failed. Prior7a worker fixture results were Node11/11 in30.596s and Bun11/11 in28.199s; current f337 Node/Bun reruns now pass as listed above. The suffix attempt at
f33795fc32205414b436f84f06dcd5e924255704failed as tooling after 397.502812829s: the external runner dropped native command.env, promoting 19 untouched max-lines warnings to errors. Zero await-thenable errors remained. The corrected runner preserved native plan/environment and all11 suffix steps passed; that tooling failure remains recorded, with no source change. Evidence:renewal-f33795fc/evidence/results/changed/changed.log. Current S6 proof consists of final 4e4245 static/T1 checks and 69 explicitly reused assertions from actual 3177896. The exact native completion records the reused test hashes. Complete 27-path equivalence includes the generic read registry/request/validation owners; superseded f227/0edd integrations were corrected before landing. Knip remains a failed invocation with exact-base inheritance proven. Hosted CI, native review and merge outcomes remain separate; no all-green CI or completed merge is claimed.Current-head CI run 38143318385 has one failing test root: UI job 114481684259 repeats the mocked-Gateway directory-selection timeout waiting for the
reportsbutton. Nine other jobs were cancelled collaterally; their cancellation is not nine additional test failures and leaves that hosted coverage incomplete. CI gate job 114482638732 therefore does not establish a green run.The exact tested CI merge is
d53f0b2142b20667c5283c42af482950544f68f8, with parentsbbc5a01970308975f7b9a8bc7a12030f066e9b67and candidate4e4245a101952e5af28654540cf34b36bc3fe056. Its entire UI tree matches that CI base. The failing test explicitly usesinstallMockGateway; this GitHub worker lifecycle does not execute in that flow. The lead classifies the timeout as unrelated UI coverage, also observed in S5 CI. No baseline execution or fix of that UI failure is claimed. The exact candidate native checks and 69 reused assertions remain valid within their recorded scope; they do not fill the cancelled hosted coverage. Evidence:slice6-ui-qualification.json,slice6-4e42-ui.log,slice6-4e42-gate.log, andslice6-4e42-failfast.log.The ordinary native merge route refused before creating an intent. The lead is attempting the native admin route with
slice6-admin-evidence.json; no successful merge or all-green CI is claimed here.Lifecycle owner:
f9c477e3387116c0b9e7dc35cecfb1f52addf786→a0eaf5e32865e1cc775adae6db9ce6e817970ad6, five alternating pairs, 40/40 behavioral checks. Four ordinary flows pass. The cold exception is conditionally approved and its same-flow repository-repeat condition is met; its raw cold ratio remains outside the ordinary duration gate. Synthetic transport; all-thread totals include worker work.Evidence:
renewal-a7c683b6/evidence/results/owner6/comparison.json. Cold overhead is +0.909985183 s from first use of the existing compiled-JavaScript targetDiscoveryLane (inventory) and projectionLane (exact sharing) pools, not TypeScript compilation. The same-flow repository repeat measures 0.532329882→0.536179602 s, ratio 1.0072318314830202. Required follow-up: "pre-warm if a cheap sibling warm-up exists".Failure paths:
2c32aa6bfa7f9e1dc087d24c5f1cb810d50aebb1→7a695a0f91db5de010a402c9452527b3623a17cc, five alternating pairs, ten native invocations ×4/4 = 40/40. SQL/requests decrease in all four flows; cold worker-turn preparation retains its invalid raw ratio; its user-approved exception now has confirmed same-flow warm proof below.Synthetic transport; only
prepareClaimWorkspaceandresumeSessionRequestsare timed, excluding setup/verification. The actual baseline is prior 2c32, not the slice parent. Original fixture import failure was fixed by external-support-first ordering, without assertion/production changes. Evidence:renewal-7a695a0f/evidence/results/failure/comparison.jsonand ten native reports. The original cold delta is +0.522365799 s. Direct same-flow repeats now confirm that first-use cost is amortized; the warm timing and worker-attribution limit are recorded below.First-use timing caveat: owner6/7 call the coordinator directly with a synthetic client, without real Gateway startup; owner7 orders shared→personal→repository in one process. Older exact a7 worker IDs show target/exact startup in candidate shared publication (~268/249 ms), then ~0.2 ms for those workers in repository; base first use is repository (~247/258 ms). Exact 7a per-run sums for those three publication windows give medians 8.516258→7.690622 s, 15460→13074 SQL, 64→91 requests. They exclude setup and are not whole-workload proof or a gate override. Gateway startup hydrates projectionLane but does not guarantee targetDiscovery warmth. These are compiled-JavaScript workers, not TypeScript compilation. No pool/routing workaround is planned; the user conditionally approved the cold exceptions, requiring same-flow warm ratios <=1.5. All three conditions are now met: repository 1.007232, shared 1.199175, and failed preparation 0.572741. Direct repeats amortize first-use cost; the source audit and attribution limits are recorded below. Required follow-up: "pre-warm if a cheap sibling warm-up exists".
Common6 accepted under RAW TURN: measured
fcb95c21306f640aabafc3604be3ed013c9096d3→c043a016383fe39faf5e7228d94426b59b28e002, four alternating pairs/eight functional passes, valid durations. Initial first-turn +482 triggered pair 4. Pair 4 whole SQL 22161→21977 (−184), requests 3430→3404 (−26); final whole medians 22057.5→21959 (−98.5), 3411.5→3402.5 (−9). Final warmed median −16.7/turn; first-turn remains +234 and combined startup +216.5. The combined-startup decrease criterion does not pass.Acceptance uses the explicit RAW extra-pair rule and inspected source exclusions; not every indexing difference is a literal phase shift. M1/M2 lack direct source.replace across the workload while M3/M4/all candidates include it. Touched GitHub work is 68→64 SQL / +2 requests with no first/warm publication operation. Source bridges exclude repository execution; they do not validate active-owner timing. Aggregates lack per-request timestamps/arguments; memory-lock attribution uses matching source/operation groups. Evidence:
common6-c043a016-owner-audit.md/JSON,renewal-7914382e/evidence/results/common6/comparison.json, custody/repair source bridges.Historical failures retained: fcb95c2→c043a016 native owner proof passed 40 tests but publication rose +9 SQL, ratio 2.540277; workers were compiled JavaScript (earlier TypeScript explanation corrected). f9c477e→d4522c20 later had cold 1200→1200 SQL/ratio 2.464819, repeated 1116→1129 (+13)/ratio 1.178703 and orphan 23→20/ratio 1.542951. Subsequent requester reuse resolves repeated/orphan gates as the current table shows; the raw cold ratio remains invalid; the current conditional exception and warm proof are recorded above. Original receipts:
owner6-compiled-worker-correction.md,renewal-7914382e/evidence/results/owner6/comparison.json,renewal-deb8cf38/evidence/results/owner6/comparison.json.User-approved cold timing exceptions — warm conditions met. Repository repeat remains the original five-pair
f9c477e3387116c0b9e7dc35cecfb1f52addf786→a0eaf5e32865e1cc775adae6db9ce6e817970ad6result: 0.532329882→0.536179602 s, ratio 1.007231831. Three new alternating pairs compare shareda0eaf5e32865e1cc775adae6db9ce6e817970ad6→f33795fc32205414b436f84f06dcd5e924255704and failed worker-turn preparation2c32aa6bfa7f9e1dc087d24c5f1cb810d50aebb1→ that same f337 head. All native assertions and same-process checks pass.The new campaign also records supplementary cold samples: shared 0.568831818→1.150739805 s (2.022987759×) and failed preparation 0.024539257→0.350373265 s (14.278071459×). These do not replace the original five-pair cold numbers above and are not ordinary duration-gate passes. Direct same-flow repeats amortize first-use work; the source audit confirms that the pool remains alive between repeats. This campaign did not retain task-worker IDs, so it does not assign every millisecond to a specific worker. Prior repository/older shared evidence attributes first-use cost to existing compiled-JavaScript inventory and exact-sharing pools. Setup is excluded; this is synthetic coordinator evidence, not live GitHub or whole-Gateway timing. No new SQL measurement is claimed.
Evidence:
warm-repeat-f33795fc/completion.json(SHA2566dec994d872f40d296a2f34774becf313db58bf566cecb58f5c01a110c64e40c) andwarm-repeat-f33795fc/reuse-and-worker-lifecycle-audit.json. Required follow-up: "pre-warm if a cheap sibling warm-up exists". No product warmup is included.The compatibility claim covers released writer/callback forms. Inherited status-reader limitations are recorded in the final stack PR; this slice does not establish whole-family reader compatibility.
Published-driver × candidate update cell: not required (v4). Publication request/execution/recovery lifecycle moves to awaited workers. The async restart-confirmation helper is introduced but Gateway startup still calls the existing synchronous path until slice 7. Publication lifecycle is not service startup/shutdown; no other v4 trigger.