Skip to content

Delegated tasks finish before resumable Action continuations complete #482

Done

Description

@lastobelus

Rollout status

Phase 4 is accepted on exact installed 0.1.8-nightly.20261109.4399, source 138c0100d5cbe88829d5d12803bf326bab1c122c. Its separate installed and representative-use gate passed. Phase 4 acceptance and limits. New child-owned PR watches require capability version 1 and acceptance of the destination artifact; existing parent-owned waits keep their owner. Phase 3 is accepted on installed 0.1.8-nightly.20261105.4218, source 94aa6edfa3da8edd45b0a905c908a39a2d0f03bf. Phase 3 acceptance and limits. #594 passes matching packaged-web and native navigation. Phase 2 remains accepted on 3917; the broader Phase 1/#484 matrix remains incomplete. No extra production checkpoint, installation or live restart is authorized by source merge or this status.

  • Phase 1: Action inspection/status and safe parent mediation — implemented; Astra High and Opus 5.5 High reviews clean; local checks passed; PR #509 merged as bea65a384b25b364054fc14035f78747f24fb89a; normal installed mediation and representative separate-checkout real use observed; full installed acceptance remains open.
  • Phase 2: visible waits and pause recovery — PR #520 merged as 024232bae1e7ac1b7b47e8c1b7c3a48ce033cdda; reviewed source a57aefcd20ba2467dce60e84e09171e17db16709, base 1556523eef088062a129484af6e859c349b25c56. The merged tree exactly matches the reviewed head and is contained in main. Source checks pass 694 tests across 18 files and all 36 typechecks; Quick CI, exact GitHub CI, clean Codex review, Astra integration review and matching-client native development QA passed. Current affected model controls pass 20/20 valid samples; broader failed samples/errors and source pins remain recorded. Scoped installed acceptance and representative real use pass on 3917; see the recorded decision. Historical child rendering fixtures remain labelled and reused only on verified unchanged paths; no child execution is inferred.
  • Phase 3: one logical task across a child Action wait — accepted exactly on checkpoint 4218; Phase 3 acceptance and limits.
  • Phase 4: child-owned PR watches — PR #611 merged as 17931c67940e172ce333c25467e327e3b074950a; scoped installed acceptance and representative real use passed on exact checkpoint 4399. Phase 4 acceptance and limits.

A check means the phase has passed installed acceptance and representative real use, not merely merged. Record phase PRs, artifacts, validation results, and reassessment in this issue. Concrete machine details stay private.

An app-owned delegated child can launch a resumable Project Action, end its provider turn as instructed, and be reported to its parent as a completed task while the Action is still running. The published result can literally say the child is waiting for the Action. An automatic Action follow-up can later resume the same child thread without retaining the original task ownership, so the resumed work does not produce the expected final task result for the parent.

Reproduction

  1. Delegate work to an app-owned child.
  2. In that child, call run_project_action_and_resume for an eligible Action and end the turn.
  3. Observe that the parent's task becomes completed before the Action finishes.
  4. Let the automatic follow-up resume the child. Inspect the continuation run's delegated ownership and the parent's final result.

Retained execution records confirm both premature completion and successful same-child resumption without a later result transfer for the resumed work. This is not a general inability of children to launch Actions.

Expected behavior

The logical task remains unfinished while its owned Action or continuation is outstanding. Its automatic follow-up runs under the same task, and the parent receives one final result only after the work finishes. Ordinary turn-end notices can remain, but intermediate notices must identify a nonterminal wait and say when no parent action is needed. Parent polling is not a recovery mechanism.

The client and MCP status must distinguish a running Action from a finished command awaiting continuation. #509 supplies inspectable status, and #507 adds a desktop/web notice for completed results carrying retained pause intent. Phase 2 consolidates that notice into current pause and exact-follow-up visibility across clients, preserving the result meaning and summary. Respect the environment pause; do not expire or bypass it.

Relevant code

  • packages/provider-core/src/server/subagentProjection.ts: task progress does not include Action obligations.
  • apps/server/src/orchestration-v2/Orchestrator.ts: delegated finalization and task-specific pending-result checks; ordinary system follow-ups do not propagate task ownership.
  • apps/server/src/mcp/OrchestratorMcpService.ts: task-specific status can infer finality from a terminal run alone.
  • apps/server/src/actionResume/ActionResume.ts: Action delivery dispatches an ordinary queued system message without its originating task/run ownership.
  • Web useActionResumeBanners.tsx and mobile ActionResumeNotice.tsx: pending-delivery visibility.

Acceptance should include an isolated parent → child → Action → ended turn → automatic same-task continuation → final parent result, with no premature completion and no polling. Cover fast completion, duplicate delivery, restart, pause/Resume, Stop, and archive.

Investigated with GPT-6.1 Sol through Codex, with Astra High and Claude Opus 5.5 High analysis.


Reliable delegated waits: four checkpoint phases

Goal and boundaries

Make delegated work dependable without asking parent agents to poll or carry every child's workflow. Deliver four incremental phases. Each phase has distinct merge, identified-checkpoint, installed acceptance and real-use gates. The user has authorized Phase 2 development after recent Phase 1 evidence while its complete acceptance matrix remains explicitly open; this is a progression exception, not a claim that unobserved cases passed. No other phase bypasses its preceding gate. The user has separately authorized the current Phase 4 development, review and guarded delivery after Phase 3 acceptance. Plan readiness alone authorizes no production checkpoint run, installation or restart.

Status: Phase 1 merged in PR #509 as bea65a384b25b364054fc14035f78747f24fb89a; normal-path installed mediation and metadata are validated, while its broader matrix remains incomplete. Phase 2 is merged and accepted on installed 3917 within its stated scope. Phase 3 is accepted on exact installed checkpoint 4218 within its recorded scope and limits. Phase 4 is merged in PR #611 and accepted on exact installed checkpoint 4399 within its recorded scope and limits. Issue #482 is the umbrella tracker and durable home for this plan and phase evidence. Keep working Markdown and private acceptance records outside the repository. Thread or worktree deletion must not remove the shared plan or evidence. Publication or source review alone authorizes no phase progression.

Current source baseline and completed repair

Current reassessment and installed evidence:

  • Phase 3 accepted artifact: lastcode/checkpoint/v0.1.8-nightly.20261105.4218, source 94aa6edfa3da8edd45b0a905c908a39a2d0f03bf; Phase 3 acceptance and limits. Phase 4 entry refs: LastCode c8ecf0d8509de27c377dfed86f64a65da912b3db, fetched upstream b90e554e0a942605c4de2d4ff5d4654caf998e27, common ancestor c55db3e9c72fdf584f4b54192fb39beb88667b59. Reassess the affected paths and materially revised Phase 4 plan before implementation; older entry pins below describe their source deliveries.

  • Phase 3 source delivery: validated LastCode base 446b3b054710e41c615a4b6689bab9f2aa4af0de, reviewed head 9ef44f5f76a3d670230613cbbf47bbe0bc915b3c, merge 58ca26ec8bdea894c953ff1d321797a20aabee1f. All ten feature patches survived the final rebase unchanged; the merged tree matches the reviewed head. The final integration retains the newer peer authorization/read routing, queue-hold release semantics, remote delegation, Stop/cancellation and side-chat boundaries. The entry comparison used LastCode e3adedfa0ba887b9548ca930858f8ebb1fce40bd, upstream e5909e53c32a9d5b51caf6352d1f17fd73e86db7, and common ancestor 97e35bcf23e4dcf34c2dcffadd37c08db0e01e52. Refresh upstream and LastCode again before Phase 4; the entry comparison is not a current installed acceptance result.

  • Phase 2 delivery base: LastCode 1556523eef088062a129484af6e859c349b25c56; published source a57aefcd20ba2467dce60e84e09171e17db16709. The incorporated upstream common ancestor remains 9e09926d97824179d97311d1a810c6b5bb60d2d1; the recorded locally fetched upstream comparison ref is 8298664e9e46ad8af2c8966cfb4c08a2a31898a4. Reuse final fix(server): deliver delegated children's background command results to the parent #484 and fix(server): deliver Action results that finish during a pause #497 unchanged. Main’s unified current-work UI, subsequent compact styling and independent PR-watch quiet deadline are integrated. Local/remote children retain their owning-environment badges/navigation. With fix(server): deliver Action results that finish during a pause #497, accepted delivery may be delivered while the exact continuation remains durably paused; no historical hold flag or queueHeld marker is required. Refresh both source baselines before the next phase. These repairs do not solve same-task Action ownership.

  • Installed version used for the recorded Phase 1 evidence: server and desktop 0.1.3-nightly.20261026.3717.1, immutable tag lastcode/revision/v0.1.3-nightly.20261026.3717.1, source 802f8a0472f760830d7e26fe53844f6c75265e3f. Carry-compiled source contains Phase 1's status helper, safe summary and read-only settlement metadata.

  • Phase 1 merged in PR #509, merge bea65a384b25b364054fc14035f78747f24fb89a, reviewed head 428bca5ec9bfd3b4d4a7dfb62796df11c8203789. Local/changed-file checks, exact GitHub CI and Astra/Opus/Codex reviews passed. The final fix(server): deliver delegated children's background command results to the parent #484 repair is retained: merge 5d3e8b15276811a51281573afa11899d55f42a06, final PR head a24eb45587c5f32e5d972598b6c1f274e85e21d8.

  • Recent installed evidence proves bounded Action reads, a running automatic wait and one successful separate-checkout mediation: terminal child handoff → parent Action → automatic parent continuation → explicit queued child return with stable identity/task receipt → actual child work and result. The wait showed no agent polling. Earlier successes before installation were excluded.

  • Full Phase 1 acceptance remains open: fast/shared-checkout, pause/recovery/held/interrupted/disposed states, fix(server): deliver delegated children's background command results to the parent #484's installed background-notification regression and full fresh-provider/client/native/remote coverage are not established by that recent-thread audit. The known settlement-guidance defect is excluded from that audit at the user's request and is corrected narrowly in Phase 2.

Reuse #484; do not implement its background-result repair again. Its shared mayStartSubagentFollowup predicate admits qualifying non-monitor provider notifications and selects the same parent lock for follow-up registration. The final repair preserves lifecycle admission, Pause, independent children, and released ownership. Its regression covers a background command waking an already-completed child, registering a later task round, and delivering that later result exactly once. Preserve these source changes and tests, including their existing carry ownership.

#484 alone does not keep one task alive across an Action wait. It remains the separate later-task-round background-result repair. Phase 3 adds durable logical-task ownership and an outstanding-work fence to Actions and their queued continuations, without disguising Action messages as generic background notifications or implementing #484 again. Source delivery does not establish the installed same-task guarantee; retain parent mediation until the destination checkpoint passes the Phase 3 gate.

The fetched upstream includes the equivalent background-follow-up predicate plus newer runless provider-turn cleanup and command metrics changes. Those are reassessment inputs, not additional Phase 1 implementation work. Inspect current upstream again at each phase entry; reuse already-solved behavior rather than transplanting an old orchestration design.

Source of truth

This plan and the final #484 source and regression tests are current specification inputs. Earlier incident notes, recommendations, and provider comparisons are historical evidence, not implementation requirements. The original environment pause was lifted; this plan does not assume a live pause remains. Issue #498 separately tracks PR-watch scannability. The observed quota-admission problem is also separate; neither silently expands Phase 1.

Temporary parent-owned waits

Until the destination installed checkpoint passes Phase 3 acceptance, parents must brief app-owned delegated children to hand resumable Actions to the parent for ordinary work. The launch tool and source capability alone do not establish the installed guarantee. Child PR watches remain unavailable until Phase 4 is accepted. Narrowly authorized acceptance scenarios may exercise the new capability in an isolated instance of the installed candidate; this never enables ordinary work before acceptance. Ordinary independent conversations retain their Actions and watches; provider-native subagents have no general guarantee of a dispatchable child context.

  • The child ends its turn with one explicit, identified handoff request, work unfinished as its final response and recorded task result, identifying its child thread, project/environment, exact checkout and head, eligible Action or PR, expected result, and continuation step. It does not send its parent a separate t3_thread_send message to hand off. The parent receives the recorded result through the async completion notification or a terminal delegate_task wait-mode return; a timeout is not a recorded result. That completed-turn result represents the handoff, not completion of the overall work. A successful tool receipt is required before anyone says a wait is armed or a PR is watched. Ordinary top-level Actions launch and resume without any settlement change. This temporary protection keeps a mediating parent visible while it owes a child a result; it is not Action eligibility. The runtime now protects an unfinished or recoverable parent-owned Action and its exact retained or queued follow-up from automatic settlement. No manual automatic-settlement change, receipt or restoration is required for an ordinary Action or parent-mediated handoff. Protection ends with that exact continuation; an explicit user Stop or Settle still stands.
  • The parent records which child owns the request and prepares the target, then waits for the existing child-completion notification or terminal wait-mode return containing the recorded handoff result before launching the mediated Action. An explicit handoff message sent while the child turn still runs is not sufficient. Use that notification rather than polling to establish the recorded result; only then list eligible Actions, launch one, and end the turn. The parent handles the automated Action result and sends one follow-up to the existing child conversation with t3_thread_send, explicit mode: "queue", and a stable clientRequestId; do not use auto or steer for this return. Require and retain the returned task ID before claiming tracked continuation. If the send receipt omits it, retain the accepted message/run receipt and report the precise tracking blocker instead of blindly resending or claiming success. Do not automatically steer unrelated active child work. Today a follow-up creates a task round; do not claim the original task ID spans the handoff. A PR uses the parent's native watch, existing-findings review, and watch-then-gates ordering. Each meaningful watch event is relayed once; no agent polls for completion.
  • Before assigning implementation work, verify dependency preparation and the exact execution target. Eligible-Action listing alone proves neither command nor target. Use t3_project_read to inspect the registered workspace and saved scripts and eligible-Action listing to confirm opt-in; use supported Project Settings/setup only when import, changes or opt-in are needed; verify effective cwd, worktree environment, and any worktree-local package/build selection. Prefer a shared checkout with serialized mutations when suitable. For a separate child worktree, prepare an explicitly targeted, opted-in saved Action using the supported setup runbook, docs/internals/resumable-project-actions-setup.md; its setup must not depend on that child's missing packages. Keep concrete paths and selection details in private environment settings. If preparation needs unavailable dependencies or additional authorization, use the shared-checkout route when safe, otherwise report that precise blocker. Never substitute a default parent Action, reproduce its long-running command in an agent shell, bypass trust with direct database writes, or rebind an active parent to the child worktree.
  • One parent thread can have only one outstanding Action continuation. Serialize child requests in the parent's existing work record; do not build a queue service or launch duplicate work. An unavailable Action or a pause is a named blocker, not permission to poll. Parent cancellation and later follow-ups must account for the retained Action before retrying.

Phase 1 updates the owning injected agent instructions as well as repository/workflow guidance, with a Claude writing pass. In packages/provider-core/src/server/runtimeInstructions.ts, place the child Action handoff rule beside the existing child PR-watch restriction. In packages/provider-core/src/server/orchestrationInstructions.ts, put the parent mediation sequence beside delegated follow-up guidance. Align apps/server/src/mcp/toolkits/actionResume/tools.ts descriptions, LastCode AGENTS.md, and the owning workflow skills. This must reach agents in other projects through provider injection, not depend on parents remembering a repository-only rule. Update every source assertion and recorded replay fixture that embeds a changed injected block; Codex developer-instruction, Claude adapter, and ACP adapter tests are examples, not an exhaustive list. Search apps/server/src/orchestration-v2/testkit/fixtures/ for literal runtime/orchestration instruction copies, including Muse and Grok NDJSON, and mechanically replace only the changed injected text without re-recording transcripts or altering unrelated events. Focused validation includes the affected ProviderReplayFixtures-based, ClaudeReplayFixtures, AcpRegistryReplayFixtures, and OrchestratorReplayRecovery suites; do not rely on beside-file tests alone. Keep the existing PR-watch restriction until Phase 4; Phase 3 conditional Action enablement revises these same injected sentences. Do not leave unconditional child launch instructions alongside this temporary rule. Ship conditional enablement guidance with Phases 3 and 4: normal autonomous use requires the destination environment's verified runtime capability and accepted checkpoint identity; source availability or a newer-looking version alone is insufficient. Acceptance can therefore lift the Action restriction after Phase 3 and watch restriction after Phase 4 without another guidance-only checkpoint. Use fresh agent sessions to verify installed prompts and tool descriptions. Previously created mediated work keeps its recorded owner until deliberately handed over; do not migrate it implicitly.

Delivery and umbrella record

Use one explicitly authorized PR per phase, each targeting lastcode/main. Merge each phase independently when its normal gates pass; keep #482 open until all four phases have installed acceptance and real-use evidence. Phase PRs reference #482 without auto-closing it. No umbrella PR or permanent integration branch is required.

Keep the reviewed plan and authorized Phase 1 boundary published in #482. Revise that one plan in place after material reassessment; do not maintain competing plan versions. After each phase, add a concise validation comment and update its phase checklist with:

  • phase PR and merge SHA;
  • checkpoint tag, full source SHA, artifact identity, and evidence the tag includes the required changes;
  • installed server/client identity and affected surfaces, with concrete machine details retained privately;
  • installed acceptance scenarios and representative real use, observed results, failures, and remaining manual/native QA;
  • upstream/LastCode reassessment and the explicit decision to repair this phase or seek approval for the next.

Distinguish merged, published, built, installed, accepted, and observed in real use. A completed PR alone does not advance the checklist. Use the existing issue and private acceptance record rather than adding a queue, tracker service, or duplicated repository checklist.

Required gate after every phase

  1. Run the phase's focused regression checks and normal PR gates. Publish one phase checkpoint through the existing release workflow and prove the immutable tag contains its changes; a merged PR or an unrelated newer build is insufficient. Phase 1 may include fix(server): deliver delegated children's background command results to the parent #484 and Phase 1 together in this checkpoint. Prove inclusion of fix(server): deliver delegated children's background command results to the parent #484's final merged repair (by ancestry, or exact source/test equivalence if the release workflow replays commits); do not require a separate fix(server): deliver delegated children's background command results to the parent #484-only installation before Phase 1. Use parent-owned Wait for Checkpoint and the appropriate architecture's resumable package build. Published and built are separate from installed.
  2. At the authorized installation window, install the exact artifact through the existing guarded process. Record tag, full source SHA, artifact identity, server descriptor, connected environment, and client version. A development preview is preparation, not installed-checkpoint acceptance. Do not restart agents or services without the applicable authorization.
  3. Exercise the phase's scenarios using that installed version and disposable QA threads/state. Run destructive lifecycle cases and global pause/restart tests in an isolated instance of the installed executable, never by pausing the maintainer's live environment. Record one real client acceptance pass for affected surfaces, following test-t3-app or test-t3-mobile; deferred human or unavailable native QA remains pending. Use fresh parent/child agent sessions and a harmless opted-in test Action so injected instructions, actual tools, and runtime behavior are tested together. Follow deterministic installed acceptance with representative real use on that same installed version; record it in Delegated tasks finish before resumable Action continuations complete #482 before progressing. An isolated acceptance scenario proves safety and behavior, while real use establishes that the phase helps the intended workflow.
  4. After authorization and before Phase 1 implementation, and again before every subsequent phase, refresh the current upstream and LastCode baselines. Diff the affected contracts, continuation/notification paths, finalization, automatic settlement (ThreadSettlementService.ts), Action service, watch service, and clients against the planning baseline or accepted checkpoint. Reproduce the remaining defect, remove work already solved upstream, and rewrite this plan as one complete current plan. Obtain an Astra High review of material changes. Track installed evidence and the go/no-go decision in the owning issue, without private infrastructure details.

A failed or incomplete installed gate normally stops progression. The user explicitly authorized Phase 2 development after the bounded recent-use audit; retain its listed Phase 1 gaps as unresolved, and do not mark full Phase 1 acceptance from that exception. Phase 3 progression is now authorized by the user following the separately completed Phase 2 gate on 3917. Diagnose within the current phase and deliver a repair checkpoint. Preserve supported user data; never downgrade a database to make rollback convenient. Keep parent mediation available as the safe workflow. If publication omits the change or upstream materially changes the model, reassess instead of expanding the phase silently.

Phase 1 — Inspectable status and safe mediation

Delivered boundary: Phase 1 only. Base the work on refreshed LastCode main containing final #484. Reuse its registration, shared intake/locking predicate, safeguards, and regression coverage unchanged unless a separately reviewed concrete regression requires attention. No duplicate background-result fix, generalized notification rewrite, task-finalization change, Action ownership change, child-watch enablement, client redesign, quota-admission repair, or new scheduler is included.

Deliverables: bounded Action summaries in existing thread reads; delivery/hold detail in Action inspection; a small truthful derived presentation; the parent's read-only autoSettleDisabledAt; consistent interim parent-mediation guidance; focused metadata/projection regressions. Build on the existing Action service and durable ledger. The implementation review must identify exact touched contracts, service/MCP projection paths, tests, and owning guidance before coding. Repository guidance changes get the required Claude writing pass. No frontend UI work is planned in this phase; any necessary wire consumers must remain compatible with the deliberately bounded additive metadata contract.

Improvement: a parent can determine whether its child has a real Action and why delivery is held, while the temporary handoff prevents new reliance on broken child completion.

Add bounded Action summaries to existing thread reads and delivery/hold details to Action inspection. Cross-thread summary fields are explicitly allowlisted: runId, actionId, actionName, outcome, delivery, startedAt, finishedAt, exitCode, exitSignal, derived status, and optional report outcome plus bounded report summary labelled as untrusted Action output. Exclude terminalId, exact command, report facts/artifact URLs, progress detail, and outputTail. Add a focused parent-reading-child test proving no excluded fields escape. Define one pure derived-status function in the existing packages/shared/src/actionResume.ts subpath. Pass plain values for current environment pause, Action outcome/delivery, follow-up run status/queue hold, and pending-request presence; perform no I/O in the helper. Thread read and Action inspection are its first callers, and later clients reuse it. Test the distinctions in the existing shared Action test module and focused service/MCP fixtures. heldByEnvironmentPause records recovery intent, not current pause truth: a pending result may now wait behind an approval after Resume. delivered means dispatch accepted, not resumed work complete. available and interrupted/disposed outcomes must identify whether attention is required instead of promising automatic resume. Test these metadata/projection distinctions using existing fixtures; no new wait engine, polling, or full-transcript hydration.

Use the existing durable ledger and shell; do not change task finalization, wake routing, provider adapters, or watch permissions. Parent reads may inspect an authorized child's safe summary; raw retained terminal output keeps its current access boundary. Label mediated Actions as parent-owned and retain the child association only in the explicit handoff record. Automatic child summaries describe actual child-owned state; structured task-to-Action association belongs in Phase 3.

Installed gate: use one Phase 1 checkpoint that includes #484 and the Phase 1 changes; no repair-only installation is a prerequisite. In an isolated instance of that installed candidate, demonstrate #484's ordinary background-command case: the already-finished child gets a later task round and its later result reaches the parent once, while monitor, independent, released-ownership, and Pause boundaries remain intact. This acceptance reuses #484; it is not the Action same-task test and must not be reported as one. Then demonstrate a successful shared-checkout parent-owned Action handoff and queued return to the correct child, including a fast Action: the original handoff result must already be recorded before launch, and the return receipt must include a task ID. With older merged PRs present, verify that the persistent automatic-settlement setting survives the Action wake and child return; restore its prior value only when appropriate. Also demonstrate a verified different-checkout target when supported, or an explicit refusal before launch; refusal proves safety, not successful isolated-worktree mediation. Query running, succeeded/pending, resumed-but-pending behind an approval, stale held flags after delivery, queued follow-up, and interrupted cases. Confirm an isolated pause hold is explained and ordinary top-level Action behavior is unchanged. Capture the current UI before Phase 2. Complete a representative parent-mediated dependency or validation wait during real work on the installed version and record the receipt, correct target, queued return to the child, and outcome in #482. If targeting cannot be prepared, record the precise blocker; safe refusal does not pass the positive mediation or real-use gate.

Phase 2 — Visible waits and pause recovery

Status: development authorized after recent Phase 1 real-use validation, with its full acceptance matrix still open. The detailed Phase 2 scope and verification milestones are published with this plan. Astra High's four material planning findings were applied before implementation.

Improvement: users can see the named Action, running or completed-command wait, automatic-resume status and attention reason without transcript investigation. Use Phase 1's helper and the exact continuation userMessageId; never infer it from an unrelated latest run. Known connected pause truth is session != null && session.phase !== 'resuming'. Unknown/disconnected observations make no automatic-resume promise; a resuming notice does not claim delivery remains held.

Use consistent web/desktop and mobile notices, existing subscriptions/permission checks and explicit Resume controls. No new polling engine or RPC is required. Unopened child rows show only directly supported non-delivered running/pending/available state from actual child shells, owning-environment pause and pending-request summary. Hide delivered/disposed child wait badges when exact continuation state is unavailable; opening the child supplies detailed status. Do not hydrate child transcripts, substitute latestRunId/activeRunId, parse mediation prose or persist temporary associations. Parent-mediated Actions appear normally on their parent; the handoff supplies the child link. An ended follow-up turn is not completed logical child work.

Make the environment pause visible beside affected thread/Action state, including when no Action is running. Reuse the explicit Resume dialog without auto-expiry or implicit Resume. Correct guidance that frames the automatic-settlement menu setting as an ordinary Action-resume prerequisite; keep any temporary parent-relay visibility safeguard accurately scoped. Automatic ownership/settlement enforcement remains Phase 3.

Verification milestones: before implementation capture the missing pending notice in isolated installed-client state, clearly labelling synthetic visual fixtures, and establish focused failing coverage at implementation entry. Before delivery exercise an exact continuation durably held by Pause, explicit Resume with a remaining request, a separately held exact queued continuation, interrupted/available recovery and disappearance after the exact follow-up ends. Distinguish actual runtime transitions from fixtures/test-harness proof. Keep broader installed Phase 1 gaps recorded rather than silently waived.

Installed gate: capture before/after views of running Action, an ended Action whose continuation is held by Pause, delivered/queued follow-up and interrupted result. Verify correct child/terminal targets and existing cancel/resume controls. Check web/desktop and an actual mobile client when changed, including remote connection. An intentional Pause must survive isolated restart, and only explicit Resume releases it; the UI must then stop presenting a stale hold while preserving any request/queue barrier. No global pause/restart scenario runs in live maintainer state. Record representative real use and a fresh upstream reassessment before Phase 3 progression. These are now recorded for installed 3917, and the user has authorized that progression. After #497, accepted delivery may already be delivered; prove the exact queued continuation persists without provider start. Neither a historical hold flag nor queueHeld:true is required as evidence of environment Pause.

Phase 3 — Complete one child Action under one task

Source delivered: PR #555, merge 58ca26ec8bdea894c953ff1d321797a20aabee1f. The installed gate is accepted on exact checkpoint 4218; Phase 3 acceptance and limits. New ordinary child Action use requires the destination capability and that accepted immutable checkpoint. Existing mediated work keeps its recorded owner.

An app-owned child Action retains one logical task through its automatic continuation and final result. Durable ownership and a run fence commit before the command launches. Ownership transfers to the exact durable queued continuation before the waiting fence is released; generic follow-up registration cannot create a replacement task. Finalization, recovery, status/waits and automatic settlement share outstanding-work truth, including nested and provider background work. Intermediate replies remain unfinished; the parent receives one final result without polling. Preserve #484's ordinary later-round background-result path and #497's accepted delivery during Pause.

Native Codex and Claude calls bind to an immutable run/attempt origin. Unattributed or stale child calls fail closed, including after remote disposal; retained sessions must refresh attribution for the actual execution without rebinding old calls. Remote work is durably prepared before source ownership is recorded and activation is allowed. Activation, follower waits, results, retries and cancellation are scoped to the exact delegation and task round. Retain destination authorization and peer refusals.

Stop, archive, task cancellation, interrupted-result discard and shutdown must not resurrect work or publish an earlier waiting reply as successful completion. Preserve unrelated later rounds and background work. Remote activation obeys update-drain admission before dispatch locks, including its claim race. Explicit environment Pause, persistent user-message holds, pending requests and separate queue holds remain distinct; automatic Action holds release through their supported lifecycle. Ordinary top-level Actions, explicit user decisions and provider-native subagents retain their existing boundaries. Child PR watches remain Phase 4.

Source validation passed 1,461 tests across 49 files, all fast checks, 35 affected typechecks and exact-head Quick CI. Exact-head/base GitHub CI and Codex review passed with zero unresolved findings. Earlier development runtime and model evidence stays separately pinned in the PR; it is not installed acceptance.

Installed gate: an actual parent delegates, the child launches a harmless Action, ends its turn, resumes automatically under the same task, and produces exactly one final result. Check both the original task and a later requested task round, using supported Codex-parent/Codex-child, Claude-parent/Codex-child, and Claude-parent/Claude-child app-owned combinations. Intermediate notices stay visible but cannot be mistaken for completion or prompt polling. Include a regression with the parent's older linked PRs all merged while a child still owes its continuation/handoff: automatic settlement must not hide that unfinished work or lose the eventual parent notification. Repeat focused failure, duplicate, cancellation, pause/restart, and parent-update scenarios. Only after acceptance lift the temporary Action restriction for new work on that installed version.

For this gate, prove local and cross-environment ownership before execution, fast completion, stale native origins on retained Codex/Claude sessions, source/destination restart recovery, nested/background cancellation after a foreground turn ends, queued later-round cancellation, shutdown/discard interruption and update-drain refusal. Use the exact installed executable and matching clients. Preserve one command execution, one logical task and one final result; explicit Resume must not rerun the command. Record representative real use on that accepted artifact. Existing parent-mediated work keeps its recorded owner until deliberately handed over.

Phase 4 — Child-owned PR watches

Source delivered: PR #611, merge 17931c67940e172ce333c25467e327e3b074950a, reviewed head 48a968acc95188c20afe079cbe3011d5f3a3bc28, base c8ecf0d8509de27c377dfed86f64a65da912b3db. The merged tree matches the reviewed head. Exact GitHub CI, clean Codex review, Terra xhigh confirmation, focused checks and the bounded source workflow passed. The scoped installed and representative-use gate passed on exact checkpoint 4399; Phase 4 acceptance and limits. New child-owned watches require capability version 1 and acceptance of the destination artifact. Source delivery or a newer version number alone does not pass that gate.

Improvement: a delegated child can own its full authorized PR workflow, including passive CI/review waits, without the parent relaying routine news.

Reuse Phase 3's ownership and outstanding-work rules for task-owned watches and their continuations. Update MCP, command-admission, reactor, packages/provider-core/src/server/runtimeInstructions.ts, and workflow-skill restrictions together, plus the distinction between owned watch work and unrelated monitor messages. Preserve watch-then-gates ordering, existing findings, exact-head review requirements, deduplication, and unchanged merge authority.

Before implementation, specify the small ownership-transition matrix for merge, close, explicit unwatch, handoff, comment-limit exhaustion, settlement, terminal read failure, cancellation, archive, and deletion. Each ending must durably transfer ownership to an appropriate continuation or explicitly dispose/cancel it, including when final-event delivery fails. Removing a watch must not strand the task or finish it before the child processes its final event. Restart and generation checks must keep old watch events from attaching to a later task round. Ordinary top-level watches and unrelated monitor messages retain their behavior.

Installed gate: use one disposable PR to prove child watch → one gate check → end turn → CI/review event → child continuation → authorized stopping point → one final parent result. Include a comment before registration, a racing comment, a changed head, watch cancellation, and terminal watch events. Focused fixture tests exercise every transition-matrix row, failed final-event delivery, restart during transfer, and stale events after a new task round. Confirm parent/top-level watches and unrelated monitor handling still work. After acceptance retire the temporary watch restriction and run a representative delegated workflow containing both an Action and a PR watch, recording that the parent neither polled nor relayed routine events.

Review and next action

Alternating Opus 5.5 High / Astra High Phase 1 plan review completed six passes with all findings addressed and a clean final review. Two implementation-review rounds followed. Astra High and Opus 5.5 High both found the final Phase 1 source clean. Their earlier findings were repaired: complete MCP test dependencies, unchanged child PR-watch restriction, once-per-workflow settlement protection including preexisting settings, and accurate target/status read guidance. No material findings are deferred. Source checks passed, including 171 changed-file tests, 369 provider instruction/replay tests, and 20 additional toolkit tests. Source review and checks do not replace installed acceptance or real use.

The user authorized each delivered source phase through its implementation, review and guarded merge. Phase 1 merged after exact-head/base GitHub CI and clean Codex review; its broader installed matrix remains incomplete. Phase 2 is merged and passed its scoped installed/real-use gate on 3917. Phase 3 is merged as 58ca26ec8bdea894c953ff1d321797a20aabee1f after its source gates, with no checkpoint requested. Phase 3 subsequently passed its scoped installed/real-use gate on checkpoint 4218. Source merge does not authorize building, installing or restarting production. The user authorized Phase 4 after that acceptance. Its entry reassessment, material plan review, implementation and guarded delivery are complete; its scoped installed and representative-use gate passed on checkpoint 4399.

Next action: use child-owned Action and PR-watch waits for new authorized delegations on accepted artifacts after verifying each separate capability and stating ownership in the brief. Keep existing mediated or parent-owned waits with their recorded owner, and preserve merge authority. Retain the broader Phase 1/#484 gaps, every failed historical observation, and the source-only limits in the acceptance record. Re-bridge affected paths before accepting another artifact. No extra production checkpoint, installation or live restart is started by this plan.


Phase 1 remaining validation matrix

Status: historical Phase 1 recipe with its broader matrix still open. Phase 1 merged in PR #509 as bea65a384b25b364054fc14035f78747f24fb89a. The current in-flight checkpoint must finish before a subsequent checkpoint is admitted. Installed acceptance and representative real use remain pending. This recipe starts no build, install or restart and does not close the remaining Phase 1 matrix. Phase 2 and scoped Phase 3 acceptance are recorded separately above.

Select and identify the installed candidate

  1. Record the Phase 1 PR, final merge SHA, and final reviewed source. Update the Phase 1 row in umbrella issue Delegated tasks finish before resumable Action continuations complete #482 to merged / installed acceptance pending. Keep Delegated tasks finish before resumable Action continuations complete #482 open.
  2. Record the already-running checkpoint's identity and terminal publication/promotion result using the existing checkpoint workflow. If it remains in flight, use its supported resumable Wait for Checkpoint Action when waiting is authorized; do not poll or request a duplicate run. A failed or partially promoted run needs its owner's resolution before selecting a successor.
  3. Once that run is finished, the next admitted checkpoint must incorporate both final fix(server): deliver delegated children's background command results to the parent #484 and Phase 1. Prove exact inclusion from its immutable tag/source manifest; use equivalent final source and tests when carry replay changes ancestry. No separate fix(server): deliver delegated children's background command results to the parent #484-only install is required.
  4. Use the appropriate resumable package-build Action for that exact installable tag when required. Record artifact identity and distinguish published, built, and installed. Installation/restart follows the existing authorized window and guarded process.
  5. Record actual installed server/client versions and source, connected environment, and affected surfaces. Keep machine names, paths, endpoints, and selection wiring in the private acceptance record. Exercise the installed executable in isolated QA state with disposable parent/child threads and a harmless opted-in Action; never pause or restart the maintainer's live environment for a test.

Acceptance on that installed version

Start fresh supported provider sessions in a disposable project outside the LastCode repository. Confirm the injected child Action restriction, final-response handoff, and parent queued-return instructions are present; no repository-local AGENTS.md should be needed to obtain those rules.

  • Reused fix(server): deliver delegated children's background command results to the parent #484: an already-completed child gets a background-command notification, registers a later task round, and delivers its later result exactly once. Preserve monitor exclusion, independent/released ownership, and Pause. Do not claim this is same-task Action ownership.
  • Inspectable Action: a parent reads its child's bounded Action summary and can distinguish running, finished/pending, currently paused, resumed-but-still-pending, queued/delivered continuation, interrupted/available, and disposed states. Historical hold intent must not be reported as current pause truth, and accepted dispatch must not be described as completed work. Raw command/output access remains restricted.
  • Mediated wait: verify automatic-settlement protection for the unfinished or recoverable parent-owned Action and its exact retained or queued follow-up. Manual setting changes and receipt restoration are no longer prerequisites; retained historical setting observations do not close this remaining matrix. Use a correct shared checkout, receive the child's final-response handoff as a recorded async or wait-mode result before parent launch, run a harmless Action including a fast completion, and send one child return with explicit mode: "queue", stable clientRequestId, and a retained task-ID receipt. Verify older merged PRs cannot hide the parent across the Action wake or child return. Respect explicit later user Stop/Settle choices; change no automatic-settlement setting for this workflow.
  • Target safety: exercise a prepared separate-checkout target when supported; otherwise require a precise refusal before launch. That refusal proves safety but does not satisfy the positive shared-checkout mediation case.
  • Regression boundaries: ordinary top-level Actions and PR watches remain usable; task finalization, Action ownership, and child-watch restrictions are unchanged. A genuine pause persists until explicit Resume in isolated state.

Real-use record and next decision

After deterministic installed acceptance, complete one representative parent-mediated dependency or validation wait during real work on the same installed version. Record launch/return receipts, correct target, actual resumed result, and any friction. Do not introduce polling or use a failed setup as a successful case.

Add a concise public validation comment to #482 with checkpoint tag/SHA, artifact identity, installed client/server versions, scenarios and outcomes, representative real-use result, outstanding manual/native QA, and remaining defects. Private operational detail stays private. Refresh LastCode/upstream and revise/re-review material changes before the next phase decision. Phase 2 development is already authorized under the explicit exception above. Incomplete installed acceptance or real use leaves Phase 1 pending; source checks, merge, or publication alone do not pass it.

Phase 2 — visible Action waits and pause recovery

Goal, authority and boundaries

Show the Action name, command result, continuation state and attention reason on web/desktop and mobile. Show the affected environment’s current Pause beside the thread, including without an Action. App-owned child rows may display actual child-owned shell state without opening a transcript. Parent-mediated Actions belong to the parent; do not infer an association from handoff prose.

The user authorized Phase 2 implementation, review, native validation, babysitting and merge. Phase 1 normal installed mediation and representative separate-checkout real use are observed; its full matrix remains open. Phase 2 development was an explicit exception to that entire matrix, not a pass of its missing checks. Phase 2 subsequently passed scoped installed acceptance on 3917. The separately authorized Phase 3 source work is merged and its scoped gate is accepted on checkpoint 4218. Phase 4 development is now authorized; another production checkpoint, live installation/restart and pausing the live environment remain separate decisions. A matching isolated native development client remains an authorized QA prerequisite.

Current source and reused repairs

Phase 2 merged as 024232bae1e7ac1b7b47e8c1b7c3a48ce033cdda in PR #520. Reviewed source is a57aefcd20ba2467dce60e84e09171e17db16709, based on 1556523eef088062a129484af6e859c349b25c56; the merged tree is identical. Source checks, Quick CI, exact GitHub CI/Codex review, Astra’s integration re-check, matching native development QA and model assessment are complete. No context-budget approval label is required. Native evidence from f8beb472c81 applies through verified unchanged mobile application/native inputs. Reassess LastCode/upstream before the next phase; installed acceptance is separate.

Reuse Phase 1’s pure actionResumeStatus, bounded Action summary and read-only autoSettleDisabledAt. Select only the follow-up with userMessageId = action-resume:<Action runId>:follow-up; never substitute the latest or active run. Accepted dispatch and an ended turn do not mean a logical child task finished.

Reuse final #484 unchanged. It repairs qualifying later background-notification task rounds, not same-task Action ownership. Preserve child-watch restrictions, Action ownership, queue policy, provider adapters and current terminal-output authorization.

Reuse #497 unchanged. An Action finishing during Pause can now dispatch its continuation into the orchestrator’s durable paused queue and become delivery:delivered. Pause prevents provider execution. Startup/list/launch also retry retained pending results. Do not reintroduce the removed service-level hold or pending-to-available recovery downgrade.

For a known connected observation, Pause truth is session != null && session.phase !== 'resuming'. Unknown/disconnected observations stay outside the boolean helper and promise no automatic continuation. A resuming notice is separate from a Pause hold. heldByEnvironmentPause is historical recovery intent. Neither that flag nor queueHeld:true proves environment Pause. Explicit queue holds and pending requests remain separate barriers after Resume.

Implementation

  1. Use the small shared client-runtime projector and existing detail atoms to read the owning Action, exact follow-up and pending requests. Keep context identity stable during unrelated streaming/visit changes. Reuse existing subscriptions and pause observations; add no polling engine, timer, wait service or transport.
  2. Share one presentation model across web/desktop and mobile. Show the Action name and result meaning/summary with its running, pending delivery, paused, input, queued, held, dispatched, active, interrupted/available or disposed state. Remove stale waits when the exact continuation ends; do not infer completion from unrelated activity. Preserve fix(web): show completed Actions held by Pause #507’s result meaning while consolidating notices. Keep command/output detail behind existing terminal access.
  3. Show current environment Pause beside the affected composer/Action. Distinguish pausing, paused, resuming and unknown. Reuse the existing explicit Resume dialog; opening it neither resumes nor expires the pause. Preserve destination-scoped cancel, terminal, Resume-agent, Discard and pause-control permissions. Resume/Discard require orchestration.operate; read-only destinations disable them as well as being rejected by the server.
  4. Preserve nullable draft-detail guards on both clients, through draft promotion. No Action/detail subscription may request a reserved thread before materialization.
  5. Resolve child badges with the same local/known-remote destination used for navigation. Read only that owning environment’s available shell and pause observation. Show only directly supported non-delivered running/pending/available state and shell pending-input reason. Hide delivered/disposed badges without exact continuation detail; opening the child supplies that detail. Do not hydrate history, parse prose, persist mediation metadata, relabel a terminal task as unfinished, or enable autonomous child Actions.
  6. Correct injected guidance and the Action tool description: ordinary top-level threads launch and resume their own Actions without changing settlement. The temporary parent-relay safeguard keeps a parent visible while it owes a child a result; it is not runtime eligibility. Preserve the recorded final handoff, receipt reuse, verified target, queued idempotent return and tracked task-receipt workflow. Retain the completed Claude writing pass and mechanically synchronize actual embedded instruction copies. Same-task ownership and automatic settlement enforcement remain Phase 3.
  7. Validate model-facing behavior with actual-source evals and ordinary-work controls. Preserve the before/fix comparison, avoid weakening checks after outputs, and distinguish model failures from setup/runner errors. The full per-model suite remains required after targeted checks. Use Codex for validation, with an explicit Codex shell simulator through the existing proxy if the runner needs that bounded support; do not silently remap model IDs, call real host tools or claim unrun cases passed.

Evidence and remaining source-delivery checks

  • Before/after web captures establish the missing-notice rendering change. The refreshed real-client check shows one named Action status and its result/wait details in main’s current-work UI, with no duplicate composer Action notice. Synthetic metadata has no Action ledger; these captures prove rendering only.
  • Destination-permission and remote-child badge regressions failed before their fixes. Shared state, draft, permissions and interaction tests remain. The new rendering-only mobile table was removed following GitHub review.
  • Reviewed source a57aefcd20ba2467dce60e84e09171e17db16709 on 1556523eef088062a129484af6e859c349b25c56 passed 694 tests across 18 files, all 36 affected typechecks and static checks. Exact head/base Quick CI run 38f31b1a-72c1-4c28-b272-6b290d54eb2b passed and the normal push reused its receipt. GitHub CI run 40845661655 passed on tested merge 09a6a35e068220e524a21c641ada904ad8e7d1ca; Codex’s exact-head review is clean with zero unresolved threads. Six current-work browser tests, the compiler check and all 411 grader tests passed. The guarded merge requested no checkpoint.
  • Astra High’s full exact base-to-head integration review is clean. The main current-work status receives Phase 2’s pending notice; duplicate composer notices and duplicate running names are removed. Exact follow-up selection, permissions, draft guards, fix(server): deliver delegated children's background command results to the parent #484/fix(server): deliver Action results that finish during a pause #497 and shell-only child boundaries remain intact.
  • The matched six-case Action-guidance comparison passed 18/18 candidate samples versus 15/18 baseline samples; only the visibility explanation improved from 0/3 to 3/3, and the original top-level demand was not reproduced. The full Sol-medium/Luna-shell run on dfc5f3468548bb8612c5c1dc30e3d33dfff733f4 / 4fc5620986a11ec9138e2bcac719364609b33337 completed 108 cases: 100 passed the majority rule, with 203/226 valid sample passes and one retained incomplete-response error. All four Action cases passed 8/8. Comparing the eight failed guards with the actual old Action text reproduced four failures; other scores differed under simulator contradictions or policy/check mismatches. That selected, small comparison establishes neither causality nor absence of regression. Following the watch-deadline integration, eight affected controls passed 16/16 valid samples; a provider-rejected child sample remains separately recorded and was not retried. Two new deadline graders first threw regex errors, then passed red/green fixture-based syntax repair and 4/4 model samples with unchanged prompts/requirements. The current focused total is 20/20 valid samples, not a full 110-case pass. All 110 initial requests and dynamically discovered tools remain unchanged through the latest styling/grader-only update.
  • Refreshed matching-client native QA at f8beb472c81 passed real read-only/operate recovery permissions, interrupted-result Resume and Discard without command rerun, draft/live detail, a real named Action/result/continuation and durable Pause/explicit release. The actual release cancelled a draining pause; it does not prove an all-quiet Resume or installed restart persistence. Labelled local/remote child fixtures passed names, owning Pause/input reasons, negatives and navigation; they do not prove child execution. Native fingerprint 6fabe8c41ef164a8d9100d88463f12435ea928eb matches that source. Mobile application, client-runtime and native dependency inputs remain identical through subsequent test-only and web-styling updates; Astra identified no changed native path requiring a repeated development-client run. Earlier evidence retains its original source pins.

The source-delivery gate is complete: changed-file checks, Quick CI, local integration reviews, model assessment and exact-head GitHub CI/Codex review passed before the guarded merge, with zero unresolved threads. No expectations or installed acceptance gates were waived. Further validation belongs to the identified installed checkpoint below.

The integrated development-client passes are complete on web/desktop and matching native mobile, including destination permissions and the refreshed Action/Pause flow. Repeat only affected checks if new production or native inputs change. Avoid paid turns for generic UI streaming; use Replay (dev). Real providers are only for provider-dependent behavior, using the cheapest suitable Codex model. Development-client evidence does not pass the later installed-executable gate; deferred or unavailable acceptance remains unpassed.

For child badges/navigation, use explicitly labelled isolated local and distinct remote app-owned shell/projection fixtures for running, pending and available Actions. Verify name, owning-environment Pause/input reason and correct navigation. Include delivered/disposed and inherited parent-owned negative cases. This is fixture-backed integrated rendering/navigation only; real child-owned execution and same-task continuation belong to Phase 3. Do not impersonate a child or grant a launch exception to obtain this evidence.

Installed checkpoint and real-use gate

Phase 2 accepted candidate: immutable tag lastcode/checkpoint/v0.1.6-nightly.20261030.3917, source 9d240879725f0ac0c6a065749767ee4563d72980, installed packaged server/static client version 0.1.6-nightly.20261030.3917. Matching installed native fingerprint 6fabe8c41ef164a8d9100d88463f12435ea928eb ran exact clean 3917 JavaScript through Metro against the actual packaged backend; this does not claim an App Store release. Recorded outcomes, real-use evidence and historical-fixture boundaries. No new production checkpoint, install or restart was requested. Retain the following recipe for affected future candidates; development/source evidence alone never passes installed acceptance.

On an isolated instance of that installed executable, capture all four scenarios: running Action; ended command whose continuation is held by Pause; delivered/queued exact continuation; and interrupted result with recovery controls. Verify correct terminal/environment/child destinations, cancel/Resume/Discard permissions, and removal after the exact follow-up ends. Cover web/desktop, actual mobile and remote connection.

For Pause: finish a harmless opted-in Action while paused, verify its exact continuation persists durably without provider start, restart only the isolated instance, verify Pause still holds it, then explicitly Resume the environment. Verify that same continuation runs without rerunning the command. With #497, delivery:delivered after acceptance is expected; do not demand delivery:pending, a historical hold flag or queueHeld:true. Separately prove remaining provider requests and explicit queue holds still block after Resume. No live global Pause/restart is authorized.

Keep the broader Phase 1/#484 acceptance matrix open: fast/shared-checkout mediation, installed background-notification delivery, fresh-provider injection and remaining client/remote/recovery cases. Record representative real use, refreshed upstream assessment, unavailable checks and an explicit phase decision in this issue. Phase 3 passed its scoped installed gate on checkpoint 4218. Source merge alone passes no installed gate. Keep #482 and the unresolved Phase 1 matrix open. Phase 4 passed its scoped installed and representative-use gate on checkpoint 4399; Phase 4 acceptance and limits.

Activity

  1. lastobelus commented on Oct 26, 2026

    @lastobelus
    OwnerAuthor

    Phase 1 is merged: PR #509, merge commit bea65a384b25b364054fc14035f78747f24fb89a.

    The final reviewed source was 428bca5ec9bfd3b4d4a7dfb62796df11c8203789 on base ba9dfa98ef5e16536d689dca454486b01a66ea71. Astra High and Opus 5.5 High implementation reviews were clean. Quick CI and changed-file checks passed; affected provider/replay suites passed 369 tests, changed-file suites passed 171, and additional toolkit suites passed 20. GitHub CI run 40270026426 passed for the exact head/base. Codex reviewed that head clean; no review threads remained open. The guarded merge requested no checkpoint.

    Installed acceptance and real use remain pending. The full four-phase plan and prepared acceptance recipe are in this issue's body. After the current in-flight checkpoint finishes, the next admitted candidate must include final #484 and Phase 1, proven from its immutable source/manifest (source/test equivalence is acceptable after carry replay). No separate #484-only install is needed.

    On that installed candidate, verify fresh external-project agent guidance; bounded Action status and raw-output restrictions; pause/Resume and interrupted/disposed states in isolated state; a successful parent-mediated wait and queued child return with a task-ID receipt, including fast completion and repeated requests; preexisting and workflow-created settlement protection; correct target checks; and ordinary top-level regressions. Then record one representative real-use wait, artifact and installed identities, remaining QA, and fresh upstream reassessment here. Keep the Phase 1 checkbox unchecked until those gates pass; Phase 2 still requires separate authorization.

    No checkpoint, package build, installation or restart was started by Phase 1 delivery.

  2. lastobelus commented on Oct 27, 2026

    @lastobelus
    OwnerAuthor

    Phase 1 recent installed-use validation

    Installed server and desktop report 0.1.3-nightly.20261026.3717.1. Its immutable source tag is lastcode/revision/v0.1.3-nightly.20261026.3717.1, commit 802f8a0472f760830d7e26fe53844f6c75265e3f; the compiled source retains Phase 1's status helper, bounded Action summary and read-only settlement metadata.

    Recent installed use confirms bounded native thread reads and a genuine running automatic Action wait. One real parent-mediated dependency workflow completed: the child returned its final handoff, the parent ran a correctly targeted saved Action, its automatic result resumed the parent, and an explicit queued child return had a stable request identity and a tracked task receipt. The child resumed work and produced #513. The observed wait contained no agent polling. This is a positive separate-checkout target, not just a safe refusal.

    This is partial acceptance, not the full installed scenario matrix. Earlier Action successes were excluded because they preceded installation. Shared-checkout/fast-completion, pause/recovery, held queued or interrupted/disposed states, the #484 background-notification regression, fresh-provider injection and full client acceptance remain unverified in this audit. The known settlement-guidance defect was excluded at the user's request; disabling that setting is not a runtime Action-resume prerequisite.

    The user requested progressing to Phase 2. Its plan is being reassessed and reviewed against current LastCode/upstream source. Keep Phase 1's acceptance checkbox unchecked until its remaining validation or an explicit revised acceptance decision is recorded. Phase 2 does not enable child-owned Action continuation or child-owned PR watching.

  3. lastobelus commented on Oct 28, 2026

    @lastobelus
    OwnerAuthor

    Native QA found a concrete permission UI defect in #520: read-only connections show enabled Resume agent and Discard controls. The server rejects the request with the expected permission error; unauthorized recovery did not occur. The repair belongs in CLIENT_GUARDED_RPC_SCOPES: map actionResume.resume and actionResume.discard to orchestration:operate, with destination-grant regression coverage.

    The native follow-up evidence also establishes real pending-input behavior after Resume, reconnect during that hold, an exact queued/held continuation released through Resume queue, and undelivered process-loss recovery through both Resume agent and Discard. These results remain pinned to source 488aa28e9cbeba1896de33e1e585a43446f04e7d and native fingerprint 60d571e75a667bad614c39c4596e759bc79e55b6. Actual child-owned badge/navigation coverage is still pending under the interim child-launch restriction; no autonomous-child exception has been granted or runtime pass claimed.

    Main has since advanced through a large upstream carry replay to 51e0ca111b3866da4cc90b958b1bcaced64ccdca, including new native dependencies. The Phase 2 rebase conflicts are resolved locally; dependency preparation, the failing permission regression and repair, fresh integration review, and a matching native-client retest precede publication/merge. Earlier native-input equivalence does not cover this newer baseline. Four rollout phases and their installed/real-use gates remain open; #484 is reused unchanged and Phase 3/4 remain outside this work.

  4. 56 remaining items

  5. lastobelus commented on Nov 4, 2026

    @lastobelus
    OwnerAuthor

    Phase 3 remains pending, and Phase 4 has not started.

    The final focused cancellation case now passes on checkpoint 0.1.7-nightly.20261103.4119: after the child foreground ended with a native background result still owed, the exact task cancellation cleared ownership, stopped the command, preserved cancellation without resurrection or waiting-as-success, and removed the parent wait in the web client. The frozen audit passed 54 checks with 28 unchanged inputs and no protocol deviations. The two authenticated stale-origin cases also passed, reaching the origin refusal for Codex and Claude rather than stopping at authentication.

    The remaining prerequisite is an immutable installable checkpoint containing merged mobile repair #594, then matching-client verification and any focused source bridge required by that checkpoint. No such checkpoint is currently admitted, queued, running, or published; 4119 lacks the fix. Patched-source native navigation has passed, but it does not make 4119 an accepted matching package. No extra checkpoint, live application install, or live application restart has been requested.

    The earlier overlap reporting error, input/recovery protocol deviations, setup failures and source-only timing limits remain recorded. These newer passes do not erase them or grant broader acceptance. Ordinary child Action ownership remains restricted until an explicit installed-artifact decision here.

  6. lastobelus commented on Nov 6, 2026

    @lastobelus
    OwnerAuthor

    Checkpoint 0.1.8-nightly.20261105.4218 (source 94aa6edfa3da8edd45b0a905c908a39a2d0f03bf) includes #594. The actual original completed remote Task card now opens the expected child and returns through its parent-back control in both the packaged web client and matching native client. Native source, fresh fingerprint, bundle and backend identities were checked. This replaces the earlier patched-source-only navigation limitation.

    The original and later useful child Action rounds completed successfully on the same remote child. Their frozen audit records two distinct Tasks, two Action invocations, two automatic continuations, two final applications and two notifications, with bookkeeping and retained reporting/protocol deviations counted separately. A further cross-machine child-owned dependency preparation genuinely completed and supplied the native build.

    Terra found no confirmed source defect, but identified changed sibling-interruption and queued-recovery contracts. Two finite focused lifecycle observations are being prepared for those paths; the native input-answer observation will share the queued-recovery case. Phase 3 remains pending, and Phase 4 has not started. The user has authorized starting Phase 4 after acceptance. Historical failures and unproved timing edges remain recorded. No live desktop application install/restart or extra production checkpoint was performed.

    Setup defects discovered during this work are tracked separately in #609 and #610; their safe isolated setup workaround does not claim to repair either defect.

  7. lastobelus commented on Nov 6, 2026

    @lastobelus
    OwnerAuthor

    Phase 3 accepted on checkpoint 4218

    Phase 3 is accepted for exactly 0.1.8-nightly.20261105.4218, tag lastcode/checkpoint/v0.1.8-nightly.20261105.4218, source 94aa6edfa3da8edd45b0a905c908a39a2d0f03bf. This accepts the app-owned child Action workflow within the evidence below. It does not complete Phase 1’s broader matrix or accept child PR watches.

    • fix(mobile): open remote task cards when destination attaches late #594 and matching clients: the packaged web client and matching native client both open the original remote Task card, reach the expected child, and return through its actual parent control. The timeline genuinely lacks the late remote destination while the live Task contains it. Native source stayed clean at the selected tag; the official installer supplied fingerprint 7440d2dbe8964f4f2bf5148b285b3c1a301d989a. Native JavaScript bundle SHA256: 4a0d289223e96b35d8fe01a83a155d6841280b57e7438a443af92477600b4c40. This is a matching development client against the actual packaged backend, not an App Store distribution claim.
    • Original/later rounds and useful work: two distinct Tasks reused one remote child, with two successful saved Actions, two automatic continuations, two final applications and two notifications. Dependency preparation and a focused native regression command were real work. A separate genuine cross-environment dependency Action prepared the exact native checkout used by the official install and matching client. The regression Action’s compact output has no readable test summary, so no test-count claim is made.
    • Interrupted sibling result: an A-only parent wake was interrupted while B remained owed. A’s interrupted delivery was disposed; B subsequently completed and delivered once. Two commands ran once each; no parent polling or relay. Frozen audit: 31 named checks, 36 hashed inputs.
    • Pause, restart, parent update and native input: one exact unstarted Action continuation persisted through process loss of the isolated packaged server under Pause. Normal Resume ran that same continuation once. One genuine blocking question was answered through native UI with one Proceed selection and one submit. Child and parent both reported the real exit-zero result and selected answer. One command, continuation, final application and completion notification; the additional pending-question notification is separate. Frozen audit: 31 named checks, 44 hashed inputs. An explicit ordinary user note completed before restart, as Pause permits; this does not prove that note survived in the queued state.
    • Historical evidence carried narrowly: the three named provider pairs, truthful failed Action, exact cancellation/retry isolation, archive, Resume/Discard, background/nested cancellation, authenticated stale-origin refusals, update-drain refusal and genuine merge-settlement observation retain their original artifact pins and limits. Focused source bridges, current authenticated calls and the two changed-lifecycle checks above support reuse; they do not relabel historical runs as 4218 execution.

    Retained failures and limits: earlier input/recovery protocol violations, misleading overlap “replay/already reported” wording, rejected fixtures and setup errors remain failed observations. The new successful cases do not erase them. The short never-started user-run acceptance window, aged input outside the recent timeline, crash-window/activation-claim races, unsupported unattributed wakes, old-peer/old-Stop replays and physical-process guarantees beyond recorded receipts remain unproved or source-only. Package identity is pinned by official version/tag selection and unchanged copied executable/archive digests, not a cryptographic source attestation. #609 and #610 remain separate configuration/authentication setup follow-ups. No new concrete ownership defect remains established by this batch.

    Rollout decision: new ordinary work may use child-owned Actions only after verifying the destination’s appOwnedActionContinuationVersion: 1 and this accepted installed checkpoint. Existing parent-mediated requests keep their recorded owner. The user’s conditional authorization now starts Phase 4 development, review and normal guarded delivery; child PR watches remain parent-owned until Phase 4 installed acceptance. This decision starts no production checkpoint, live app installation or restart. #482 remains open.

    Validation and integration: Codex GPT-6.1 Sol, with Terra source-bridge review and independent frozen-evidence audits. Earlier Terra/Opus assessments and their disagreements remain recorded.

  8. lastobelus commented on Nov 6, 2026

    @lastobelus
    OwnerAuthor

    Phase 4 material plan review passed in two Astra High rounds. Both findings were addressed; basic, best-practices and KISS lenses are clean. No new UI component is planned; integrated client checks remain required. Source implementation follows this plan, with Terra xhigh implementation review and the normal guarded PR workflow. Ordinary child PR watches remain restricted until the separate installed gate.

    Child-owned PR watches

    Goal and authority

    Let an app-owned delegated child finish an authorized PR workflow while the parent waits for one truthful final result. A registered watch keeps the same logical Task unfinished across passive CI/review waits and its attributed continuations. The parent does not poll or relay routine watch events.

    The user authorized Phase 4 after Phase 3 acceptance. Phase 3 is accepted specifically on lastcode/checkpoint/v0.1.8-nightly.20261105.4218, source 94aa6edfa3da8edd45b0a905c908a39a2d0f03bf, as recorded in #482. Its retained failures, source-only limits and broader Phase 1/#484 gaps remain open. That decision enables verified child Actions on that checkpoint; it does not enable child watches.

    This work includes implementation, focused validation, local review, one LastCode PR, GitHub CI/review, babysitting and guarded merge. A later identified artifact must independently pass the Phase 4 installed/real-use gate. No extra production checkpoint, live app installation/restart, production Pause, merge-authority expansion or implicit migration of parent-owned waits is authorized here. Source availability or a newer version does not establish installed acceptance.

    Refreshed baseline and implementation boundary

    • Branch: lastcode/child-owned-pr-watches, from LastCode c8ecf0d8509de27c377dfed86f64a65da912b3db.
    • Fetched upstream: b90e554e0a942605c4de2d4ff5d4654caf998e27; common ancestor c55db3e9c72fdf584f4b54192fb39beb88667b59.
    • Existing watch behavior is intentionally unavailable to bound app-owned children: MCP discovery/handler, orchestration admission, the service's thread selection and the watch reactor must be reconciled. Removing only the tool guard is insufficient.
    • Reuse Phase 3's exact task/run origin, outstanding-work and continuation rules, remote association, locks, persisted events/outbox and lifecycle cancellation. Preserve fix(server): deliver delegated children's background command results to the parent #484's separate later-round background behavior and the existing provider-native subagent boundary.
    • Reuse the current PR-host polling, grouped reads, quiet deadline, comment limit, existing-findings state and generation checks. Add no polling engine, scheduler, timer service or generic workflow framework.
    • The backend needs a small durable watch ownership record and matching finality/continuation changes. Extend the owning contracts, orchestrator, PR domain service and reactor. Keep MCP/WS transports thin and keep host I/O outside the orchestrator.

    Before editing source, finish the focused source map and inspect the affected upstream delta. Identify already-solved behavior rather than importing an older design. Obtain Astra High material plan review; implementation reviews use the user's requested Terra xhigh. Address review findings within scope before proceeding. No dependency install or repo validation is needed for this read-only entry work.

    Current specification and source map

    This plan is the implementation specification for Phase 4. The canonical four-phase contract remains in #482; the accepted Phase 3 record supplies its prerequisite, not a request to repeat its entire matrix. The focused source map is supporting analysis. Older acceptance matrices, exploratory designs and failed fixtures retain their historical pins and cannot silently add implementation requirements or erase retained failures.

    The focused source comparison found no upstream implementation of child watch ownership. Preserve the fetched upstream's background-Git execution and optimized projection queries when integrating nearby changes; do not port unrelated upstream work merely to widen this PR.

    Use a distinct recurring watch obligation on the owning source run, paired with an explicit server-authorized watch-continuation marker. The existing watch record references that obligation/generation; it must not introduce a second independently mutable owner. Keep active-wait and terminal-pending states durable after the polling registration disappears. Reuse existing persisted message/run/outbox identities for per-event progress instead of growing a second event-history collection. Reserve terminal delivery in a committed transaction before attempting provider-continuation admission, as specified below; do not rely on rolling back watch sync to reconstruct an unpersisted terminal payload.

    One Task may own several watches and finish only when all watch obligations and their admitted continuations are complete or explicitly disposed. Quiet rearm of the same active owned watch retains its generation; unwatch followed by registration creates a new generation. A different task/attempt cannot take over the active generation. Final merge/close delivery includes the updates actually read in that pass; if only a known terminal snapshot is available, report that limitation rather than implying unseen reviews/comments were consumed.

    Ownership and admission contract

    1. A child watch is owned by one exact logical Task, source run/attempt and delegation, plus the PR identity and a distinct watch generation. Derive ownership from authenticated immutable native-call provenance, never a caller-supplied task ID or a mutable latest run. Refuse stale, unattributed, released, foreign, native-subagent or otherwise ineligible origins before registration.
    2. Commit the watch and its durable outstanding-work fence before returning a successful registration receipt. The existing tool receipt remains the arm point. A parent may not claim a child watch from prose. Repeated registration for the same active owner is idempotent; a deliberate new generation cannot inherit the old one's pending events.
    3. A watch can outlive several provider turns. Each real PR update gets an exact persisted event/message identity and an attributed continuation under that same Task. The active watch remains outstanding between wakes. While a wake is queued, held, starting or running, its ownership remains outstanding even if the active watch has just ended.
    4. Owned PR updates must be distinguishable from unrelated monitor messages. Ordinary monitor runs stay excluded from delegated finality. Do not disguise a PR update as an Action, loosen monitor admission globally, or permit a public client to forge provider-owned continuation provenance.
    5. At a terminal watch event, atomically replace the active-watch wait with a durable terminal-pending event reservation. After that transaction commits, continuation admission atomically binds that reservation to the exact queued run and transfers its fence. The child processes that event before its Task can finish. A transient admission failure leaves the saved event pending; an explicit lifecycle decision that makes delivery invalid disposes it with a truthful interrupted/cancelled outcome. Never silently drop the event or accept waiting prose as success.
    6. Share outstanding-work truth across local and remote task finalization, task status/wait, automatic settlement, recovery and Stop/cancellation. Remote destination continuations retain their original source-task association and peer authorization. A later round, unrelated work in the child, or a replaced watch is not a substitute owner.
    7. Existing Pause, pending input and user queue holds remain separate barriers. Registration does not bypass Pause, and accepted durable dispatch does not mean a provider started. Restart restores the same obligation/event/continuation without duplicate host events, child turns or parent finals.
    8. Keep ordinary top-level watches operational. Existing persisted top-level watches without new ownership metadata remain ordinary watches; this is real current data, not a new compatibility facade. No provider-adapter capability beyond Codex/Claude app-owned execution is implied.

    Durable terminal delivery and recovery

    Terminal delivery has two committed boundaries:

    1. Reservation: a generation-checked watch-sync/ending command records the terminal reason, bounded actual notification payload and stable event/message identity on the source-run obligation (or a persisted outbox payload referenced by it). The same commit updates the final cursors, removes the active polling registration, records terminal-pending and enqueues the delivery effect. This commit does not call continuation admission. The obligation remains outstanding even when link.watch is absent. Repeated terminal observations reuse the reservation and cannot replace its payload or identity.
    2. Admission: the existing effect worker attempts a dedicated server-owned delivery command. Under the same ownership/lifecycle locks used for admission, it verifies the exact pending reservation, creates or recognizes the stable message/continuation, and records the admitted run and fence transfer in one commit. Accepted dispatch during Pause is a queued continuation, not provider execution. A duplicate attempt recognizes the existing message and returns its same admitted run without creating another turn.

    An admission attempt that fails transiently cannot roll back the prior reservation or remove its payload. Retrying uses the same event/message identity and a fresh attempt command identity, because a previously rejected command receipt is not a new attempt. Use existing worker retry/recovery and the existing watch sweep/startup reconciliation to discover pending obligations independently of visible watch links; schedule no second concurrent attempt when its outbox effect is already live. Restart must recover the saved terminal payload without another host read and without inventing a new event.

    Classify failures before retrying. Temporary provider/queue readiness or a transport interruption retains pending delivery. An authenticated lifecycle recheck proving task cancellation, explicit Settle, archive/delete, released ownership, or revoked required authority commits generation-scoped disposal and a truthful interrupted/cancelled result instead of retrying forever. An unauthenticated or forged delivery command is simply rejected; it cannot dispose a legitimate reservation. Repeated host-read failure is the terminal event's content, not a reason to delete the saved event if its delivery attempt fails.

    Every operation that removes or replaces a watched PR link uses the same ending operation. Owner-originated unlink or stack dismissal in the exact owning turn behaves like owner unwatch, preserving that current turn. External unlink/dismissal behaves like external unwatch and reserves its terminal notification. Legacy linked-PR replacement ends each removed owned generation through that rule before replacing the links; an unchanged identity retains its existing generation, and any newly watched identity requires fresh registration. Preserve other PR watches and reject an in-flight response from a removed/replaced generation.

    Required transition matrix

    Trigger Ownership after the transition Final child processing
    Ordinary CI, review, comment, conflict or pushed-head update Watch stays active; exact event and attributed continuation are durable Same Task consumes the update once, acts within authority, runs one gate check and ends if still waiting
    Merge End active watch; retain owned terminal event until its continuation ends Child reports actual merge state; no new merge authority
    Close without merge End active watch; retain owned terminal event Child reports closure accurately
    Child explicitly unwatches in its owning turn Dispose only that watch generation and obsolete pending events; preserve the current owning turn Current turn can report its real result or explicit unfinished handoff
    External explicit unwatch End registration; retain one owned stopped-watch event unless the user's lifecycle choice requires disposal Child gets one truthful stopping outcome; no orphaned Task
    Unlink or stack dismissal Exact owner call follows owner-unwatch semantics; external call reserves the external-unwatch terminal event Preserve the current owning turn and every unrelated PR watch
    Linked-PR replacement End each removed owned generation before replacing links; retain unchanged generations and require fresh registration for new watches Removed watches cannot strand Tasks or accept stale in-flight reactor responses
    Handoff to parent Child releases its own generation and reports unfinished handoff as its recorded result Parent separately arms its authorized watch; no automatic creation or transfer of merge authority
    Comment-limit exhaustion End active generation; retain one bounded final event Child processes the stopping reason before finishing or handing back
    Quiet deadline Preserve the existing bounded-wait meaning and rearm policy; retain ownership until the child processes it and explicitly stops or continues Never treat quiet expiration as clean review or merge permission
    Automatic settlement eligibility An active watch or owed owned event prevents premature settlement Final processing can complete before normal eligibility resumes
    Explicit Settle Respect the user's choice; dispose scoped watch work and queued owned events durably No subsequent resurrection or fabricated successful result
    Terminal host-read failure End active watch; durably retain failure event or explicit terminal disposal if delivery is invalid Child sees a truthful failure; failed message dispatch cannot erase the obligation
    Task cancellation / Stop Dispose the exact task's generations and owned continuations using existing scoped lifecycle locks Preserve unrelated later rounds; no provider restart or late wake resurrection
    Archive Dispose all watch work owned by the archived task/thread with truthful interruption No automatic resumption or waiting-as-success
    Delete Record disposal/cancellation before removing required owner state Parent-side outstanding work settles truthfully; stale reactor updates cannot recreate it
    Restart, duplicate event or old-generation response Recover the same durable pending state; exact event receipt deduplicates; reject old owner/generation At most one admitted continuation and one final parent application per logical event/task

    Implement the matrix using the smallest additions to existing ownership/event models and the reservation/admission boundaries above. Do not store duplicate independently mutable ownership truth.

    Guidance and client behavior

    Update MCP discovery/registration/result guidance, command admission, reactor behavior, packages/provider-core/src/server/runtimeInstructions.ts, related injected orchestration guidance and owning workflow skills together. A new capability should distinguish supported owned watches from ordinary watch availability. Conditional enablement must require both that capability and a checkpoint explicitly accepted for Phase 4 in #482. Preserve parent fallback elsewhere and retain ownership of already-mediated work.

    Keep the established sequence: link after create/takeover/push; finish any required source update; register watch; run one gate check after registration; end the turn if passive; act on genuine events; explicitly unwatch before handback. Preserve exact-head CI/review requirements, existing findings and merge authority. Do not add implementation details to the product flow.

    Delegate substantive agent-guidance/app-copy and PR-title/description wording to the required Claude writing pass. Review factual accuracy once; do not make prose approval a delivery blocker. Read evals/README.md and the owning eval README before changing model-facing text. Mechanically update recorded injected-instruction copies without rerecording unrelated transcripts. Keep the temporary restriction conditional so source merge does not enable ordinary child watches prematurely.

    Expected visible behavior uses existing Task/wait/result UI. Verify web/desktop and mobile decisions explicitly; if existing shared projections suffice, document that decision and run a real client check without inventing UI changes. Preserve local/known-remote destination routing, read-only/operate permissions and interrupted-result visibility. Separate actual execution evidence from rendering fixtures.

    Validation and delivery

    1. Write the smallest genuine failing regressions at existing owning test seams before each behavior fix. Prefer existing cases/tables and real orchestration/effect-worker drains. Cover registration ownership, exact continuation association, finality and settlement, each matrix ending, failed final-event dispatch, paused/held queues, restart during transfer, stale-generation replies, same-child later-round isolation and remote result delivery. In the terminal-delivery regression, commit reservation, fail admission, restart, then deliver the same saved event once with no further host read and no premature parent result. Include ordinary unlink, stack dismissal and linked-PR replacement while an old reactor response is in flight; preserve other watched PRs. A cancelled unstarted wake must not consume the result fence or publish waiting prose.
    2. Keep controls for top-level watches, unrelated monitors, provider-native subagents, independent/promoted threads, permissions and ordinary Action behavior. Test public actor/provenance boundaries without relying only on handler metadata. Source code must reject a forged continuation even if a client knows readable owner IDs.
    3. Run affected instruction/replay suites and model evals with baseline/candidate samples plus ordinary-work controls. Preserve actual failures and runner errors. Use a focused initial sample to validate the eval runner, affected cases until corrected, then the required full run per chosen model. Do not change graders to relabel failed behavior.
    4. Run focused tests/lint/typechecks and vp run check:changed origin/lastcode/main, plus the configured resumable Quick CI workflow. No repo-wide local test/typecheck runs. A preparation Action must target the exact current branch checkout; do not execute its helper manually.
    5. One integrated isolated client pass after integration; real providers only for provider-dependent behavior, using the cheapest suitable model. Never restart or pause the live environment. Keep identity/receipts and any screenshots private until privacy-reviewed public evidence is needed.
    6. Complete bounded Terra xhigh implementation review, repair findings and review changed material. Finish the authorized LastCode PR through current-base validation, exact-head GitHub CI/Codex review, zero unresolved findings and guarded merge. Follow lastcode-pr/babysit; use native watch-then-gates, no agent-side polling or unauthorized checkpoint request. Reference Delegated tasks finish before resumable Action continuations complete #482 without closing it.

    Separate installed and real-use gate

    Identify an ordinary installable artifact containing the final merged source. Record immutable tag/source, actual packaged executable/archive identity, backend descriptors and matching client identity. Source/CI success is not installed acceptance. Build/install/restart follows its separately authorized release window; use supported resumable wait/package Actions when needed.

    Against isolated state, use one genuine authorized disposable PR or a suitable organic PR without changing its merge authority/schedule: child watch → one gate check → ended turn → genuine CI/review event → exact child continuation → authorized stopping point → one final parent result. Include pre-registration and racing comments, changed head, cancellation and terminal events. The deterministic source fixtures cover every transition row, failed final delivery, restart-transfer and stale later-round events; do not require manufacturing every host race in a paid runtime turn.

    Run matching web/desktop and native checks for affected behavior and a representative delegated workflow containing both a useful child Action and a PR watch. Confirm the parent neither polls nor relays routine events. Preserve failed/unsupported observations. Record an explicit scoped Phase 4 go/no-go decision in #482. Until that separate decision, ordinary child watches remain parent-owned even after source merge. Keep the broader Phase 1 matrix and unrelated setup issues open.

  9. lastobelus commented on Nov 7, 2026

    @lastobelus
    OwnerAuthor

    Phase 4 source is merged in #611 as 17931c67940e172ce333c25467e327e3b074950a. The merged tree exactly matches reviewed head 48a968acc95188c20afe079cbe3011d5f3a3bc28, and main contains the merge.

    • Required GitHub CI, exact-head Codex review with zero unresolved threads, Terra xhigh confirmation, Quick CI and changed-file checks passed.
    • A bounded source workflow passed 67 frozen-evidence assertions: one child Task, two resumable Actions, one PR watch, one gate check, one CI event, explicit unwatch and one final parent result. Real web Task-card navigation passed. The observer/cleanup deviations remain recorded; this is source QA.
    • All affected watch model cases and selected controls passed 20/20. The broader model run completed 399 samples with 378 passes and two additional stream errors; unrelated failed observations remain unresolved, without a full-baseline regression claim.

    Phase 4 is not yet accepted. The remaining gate needs an identified installable artifact containing this change, matching-client checks and the planned installed/representative-use observations. Until an explicit acceptance decision, ordinary delegated-child watches remain parent-owned; the capability alone does not enable them. Existing mediated waits retain their owner.

    Phase 3 remains accepted exactly on checkpoint 4218 within its recorded limits. Phase 1/#484 gaps and this issue remain open. No extra production checkpoint, live installation or restart was requested by this source merge.

  10. lastobelus commented on Nov 8, 2026

    @lastobelus
    OwnerAuthor

    Checkpoint 4353 contains #611, but Phase 4 is not yet accepted.

    Artifact: lastcode/checkpoint/v0.1.8-nightly.20261108.4353, source bc490628e9e379239c678fa2f4135f39e5d4c50f. Installed metadata, executable/archive identity and isolated server version were verified. The focused source bridge found no concrete regression in the reviewed ownership paths; it is not a claim that the full historical runtime matrix was repeated.

    The bounded installed backend/web run passed 23 mechanical checks: one Task across one useful dependency Action and its automatic continuation, one child-owned watch and gate check, a quiet wake, an operator unwatch terminal wake, one final result transfer and one parent notification. Actual Task-card/child/parent-back navigation passed. A read-only control request was rejected without changing the watch.

    Retained failure: at the quiet wake the model claimed to unwatch but made no call. Ownership correctly remained outstanding; operator cleanup was needed. The later child unwatch was real and idempotent, but does not erase that failure. The parent also obscured the operator's role in its final report. The verifier preserves this model-compliance failure rather than reporting an all-pass.

    Still pending: a genuine CI/review and changed-head observation, pre-registration/racing-comment and cancellation checks, focused changed rearm/recovery observations, and matching native acceptance. Native setup was unavailable through the supported path in this run. No new product source defect was established, and no live app installation/restart or production checkpoint was requested.

    Ordinary child PR watches remain parent-owned until an explicit scoped installed/real-use acceptance decision. Existing mediated work keeps its recorded owner. Phase 3's 4218 decision and broader Phase 1 gaps remain unchanged.

  11. lastobelus commented on Nov 11, 2026

    @lastobelus
    OwnerAuthor

    Phase 4 accepted on checkpoint 4399

    Child-owned PR watches pass the scoped installed and representative-use gate on 0.1.8-nightly.20261109.4399, immutable tag lastcode/checkpoint/v0.1.8-nightly.20261109.4399, source 138c0100d5cbe88829d5d12803bf326bab1c122c. The frozen packaged executable and application archive matched the installed artifact; application-archive SHA256: 49863c4ed813f42728714d55ebfb63e97c43ca94c4782ba07f65b1dfb3807a39.

    The reviewed #611 implementation was bridged to this source. Actual packaged-server/web checks and matching iOS development-client checks passed. The native client used exact 4399 JavaScript and freshly verified fingerprint 80a67bbd98149f02a43e55cb20b5c8188c384f90; this is not an App Store release claim.

    Observed installed behavior:

    • A useful child-owned Prepare Dependencies Action completed and automatically continued the same Task into a real PR watch. Five ordinary events, a changed head, failed gates, actual unwatch, and one final parent result were captured without parent polling or routine-event relay.
    • A later watch on the same child was interrupted from the native client. Its one interrupted result reached the parent; the original completed result stayed unchanged.
    • An exact queued watch continuation and Pause survived an isolated server restart. Explicit Resume ran that continuation once and delivered one final result. Native navigation, final status, waiting removal, read-only refusal and operate permissions were observed.
    • Controlled host authentication loss produced a durable unreadable ending, one owned continuation, the expected ordinary-rearm refusal, actual unwatch and one truthful parent result. Prior quiet-deadline/refused-rearm evidence carries only through the recorded source bridge.
    • The final registration case captured an authentic native watch request in flight, a real non-self comment before its admission, and the initial gate including that comment for the current head. A distinct later review reached both an ordinary top-level watch and the child's owned watch independently. The owned Task stayed unfinished until PR closure. The final audit passed 52 checks: one Task, four owned watch continuations, one final application, one consumed result transfer and one parent notification. Both actors actually unwatched, and the parent reproduced the complete child final.
    • With an unrelated, unawaited native Monitor, the original delegated Task finished normally; the later Monitor notification woke only its child. Its original Task/result remained unchanged, with no second parent result. The frozen audit passed 23 checks.

    Retained failures and limits: earlier model failures and timed-out fixtures remain failed. Several earlier parents summarized truthful finals instead of copying them in full; the final registration case did copy the full result. Monitor setup used one additional tool-discovery call. Observer defects involving failed-command classification, WAL notifications and the interval before final delivery are retained with their corrections; no actor retry was used to erase them. The terminal close notice warned that comments/reviews could not be fully read, and the final reports preserved that warning. Fixture CI failures were reported honestly; the disposable PR was closed unmerged.

    The registration observation proves an in-flight native call boundary, not an internal host-read/commit race or crash window. Pre-admission crash recovery, every lifecycle ending, stale-generation races and explicit restart:true rearm retain their focused source-test coverage; this is not a claim that each was reproduced on the installed artifact. Queued recovery was already admitted before restart. Physical interaction/process claims remain bounded by the recorded receipts. No new product defect remains from these observations.

    Rollout decision: new app-owned children may own PR watches on exactly this accepted artifact when their parent verifies features.appOwnedPullRequestWatchContinuationVersion === 1 and states that ownership in the brief. Child Action ownership remains separately gated; the useful 4399 Action-to-watch workflow also re-bridges that accepted boundary. Existing parent-owned or mediated waits keep their recorded owner. Watching adds no merge authority. Other artifacts require an explicit affected-path bridge and decision; a newer version number alone is insufficient.

    Phase 4 is accepted within this scope. Phase 2/3 decisions and the incomplete broader Phase 1/#484 matrix remain intact, so #482 stays open. No production checkpoint, live-app installation or live-app restart was performed for this acceptance.

    Validated through Codex with GPT-6.1 Sol; Terra xhigh reviewed the source bridge and final acceptance boundary.

  12. lastobelus commented on Nov 22, 2026

    @lastobelus
    OwnerAuthor

    Acceptance work on the Action phases of this issue stops as of Nov 22 PT. #824 retires the agent run-and-resume path that those phases extend, so further installed acceptance of child-owned Actions would be spent on code that is planned for deletion. The Action phases close when that deletion lands. The pull-request watch phase is unaffected and continues. Existing accepted behaviour and the current guidance stay in force until #824 changes them.

  13. lastobelus commented on Nov 30, 2026

    @lastobelus
    OwnerAuthor

    Closing this rollout tracker after the PR-watch guidance update landed on the default branch.

    Phase 4 delivered task-owned PR watches. In the current guidance, the parent verifies PR-watch continuation capability version 1 on the actual destination before assigning a watch to a delegated child. Where the parent keeps the watch, the child hands back the pending work. The recorded checkpoint acceptance remains historical evidence for the original rollout.

    Server admission verifies the authenticated live delegated execution and task ownership. Assignment in the brief is an agent instruction. The shipped wording was checked in two assigned native watch runs and a native unassigned control that handed back the pending review without a watch call. Issue 914 tracks the blocked tool-discovery samples.

    The command-wait migration and remaining legacy Action soak and deletion work continue in issue 824. Earlier Action acceptance evidence and its recorded limits remain in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions