fix: external retained-task judgments must not withhold launcher startup readiness #435
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/startup-assessment-readiness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Narrow residual found during actual installed-task verification after433. The per-task release fix allowed real existing Akira Matrix work to resume/complete (same ID, depth40->48, changed actual worker result). However CLI still awaited the ENTIRE external recovery-assessment scan before sending hayate-runtime-ready/Started-and-ready. A backlog of30–120s external judgments can park launcher readiness for many minutes despite valid structurally recovered state/channels/dispatcher. This is not persisted task loss and must not be conflated with separate TypeSafe HTTP504.
Move ONLY the semantic retained-task assessment scan after native readiness acknowledgment. All structural restoration, parent revocation/reset/cancel reconciliation, subagent/Dispatcher recovery, authenticated channels, durable inbox replay counters and persist remain BEFORE ready. Existing same-task per-admission persist/eligibility/stop/expiry/approval/unknown-effect fences remain unchanged; no completion inference, reset, manual unpause, fallback or replacement business execution. Unexpected scan infrastructure failures invoke existing graceful shutdown; normal missing judgments remain independently held/read-only retries.
Actual process regression for BOTH dist/cli.js and dist/launcher.js with durable original task and intentionally pending non-model reviewer: baseline025276a fails BOTH within15s (assessment entered but readiness withheld); fixed BOTH pass (2–3.6s) while assessment remains open. Authenticated capabilities respond and graceful SIGTERM cancels the assessor without productive work. Full2402pass/1existingSkip; typecheck/build/diff-check green. Prior433 installed/proven on all13 agents with8behavioral checks each. No production ledger/config changes. Protected exact-head CI and normal managed publisher only.