Repository navigation
Conversation
…d a failure keeps its output (HER-TOOLS T2, first slice) Only a normal exit published `command:completed`: a timeout, a kill or a wait error set their own status first, so a handed-back execution's panel entry read `[running]` forever (the M5, 10-30: six long cargo runs never reported back; Aris launched one test three times). - run_shell_command: one terminal step, `settle`, for every way out (including the early no-shell / spawn / pipe failures); it stamps the end, wakes watchers and publishes for a handed-back execution. The completion carries how it ended (exit N, timed out at its timeout_ms, killed) and the retained stdout and stderr whole; the 20-line tail is gone (her view sizes it). The log line carries the full id (no `[..8]` slice). - dispatch_listener: a failure keeps its output after the error line; keeping only "exit 101" dropped the build log exactly when she needed it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Review of #5633 at exact head baeeed1 (Cormac): Verified by reading the diff:
Blocker: an uncollapsible whole log. The completion now carries
What I'd keep exactly as is: the |
… end on every path, the end wakes her; reflexes and sentinels) Design only. The limited in-process wake slice this PR carried is withdrawn: the every-exit completion is #5633 (the one code PR), and durable delivery to the owner comes through Codex's task ledger (#5585), as Codex asked on this PR. Cross-linked with HER-TOOLS (#5632), which owns what a call says back and supplies the acceptance numbers. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
* HER-TASKS: the task design alone (every act a task with a handle, one end on every path, the end wakes her; reflexes and sentinels) Design only. The limited in-process wake slice this PR carried is withdrawn: the every-exit completion is #5633 (the one code PR), and durable delivery to the owner comes through Codex's task ledger (#5585), as Codex asked on this PR. Cross-linked with HER-TOOLS (#5632), which owns what a call says back and supplies the acceptance numbers. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * HER-TASKS: acknowledge an end at perception (working memory's retirement point), not at filing; ends render through the leveled tasks source; one health interrupt per episode (Cormac on #5581) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
|
Local receipts (M5, serving-down window, 2026-10-31 04:50Z, |
|
Closed and folded into #5640 (the tasks source), as agreed with Cormac: #5640 carries the every-exit settle() and the failure-keeps-output listener in the same change that makes dispatched tasks leveled items, so a whole log never lands in an unshrinkable block. The branch fable/task-completion-every-exit stays as the source. |
How it serves the minds: a long build or test she handed off must tell her how it ended. Today only a normal exit does, so timeouts and kills left her waiting on
[running]forever. HER-TOOLS (#5632) slice T2; path step 2.Change
run_shell_command: one terminal step,settle, for every way out, publishing completion for any handed-back execution. The result says how it ended and carries the retained stdout and stderr whole. The fixed 20-line tail is deleted.dispatch_listener: a failure keeps its output after the error line.Measured (before), corrected
The M5's 10-30 build
ab0466601was off canary and already carried #5581's every-exit code: Aris's timed-out runs showed[failed]: timed outin her panel (416 prompt captures carry it). That code was never merged. Deploying canary4a0f05df2(2026-10-31 03:54Z) removed it, so on the running M5 a timed-out or killed handed-back run is silent again (canary'srun_shell_commandpublishes only inside the normal-exit branch). This PR puts the every-exit end on canary, where it can no longer be lost to a deploy. Whatab0466601showed her was the bare "timed out" with no output: this PR carries the retained stdout and stderr, and the listener keeps them on failure. The levels that keep a whole log shrinkable come in the same PR as Cormac's ordering requires (thetaskssource).Prediction
After deploy, every handed-back shell run produces a Done/Failed panel entry. No
[running]entry outlives its process, and no running command is re-launched.Tests
a_handed_back_execution_that_times_out_publishes_its_completion(hands)folds_own_handles_ignores_othersextended: a failure keeps its output (cognition)Not yet compiled locally: this machine serves residents, so CI compiles it, then a serving-down test window with the deploy.
Next T2 slices: the wake itself (Codex's scheduler), the task namespace and verbs, and retention in a class handle (replacing the 10,000-line drain; blocked on class handles).
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo