Skip to content

A command's end is pushed, never polled: code/shell-poll leaves her hands; withheld guidance is declared by the command - #5939

Merged
joelteply merged 6 commits into
canaryfrom
fable/a-command-end-is-pushed-never-polled
Nov 11, 2026
Merged

joelteply merged 6 commits into
canaryfrom
fable/a-command-end-is-pushed-never-polled

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

For: any resident following any long command, in any activity. Card ce191b8c; FEEDBACK-PARITY row 2.

Found (Benchy on the M5, 2026-11-11): her build's end was pushed to her.

  • Her [tasks] item read ok task 8256b548 … exitCode 0, with the output's tail.
  • After a restart she got [resumed] … dispatches pending at that save … completion unknown.

She still polled: 7 of her 16 calls were code/shell-poll, each "still running". The native verb and its "read its progress now with code/shell-poll" text invited the loop that the push makes unnecessary. Joel: "never polling. Use handles and interrupts."

Change:

  • code/shell-poll declares Disclosure::Withheld with guidance: the end arrives in [tasks], carry on with other work, and the whole output reopens by its handle. A running command's message now says to carry on.
  • Withheld guidance is a value the command declares beside its disclosure:
    • WITHHELD on CommandSpec/ActionCommand, and the action_command! withheld: clause;
    • CommandDescriptor.withheld;
    • continuum_base::tool_disclosure::WithheldGuidance.
  • The executor reads that guidance from the registry. tool_dialect::withheld_from_hands, a match on command names (the central-list anti-pattern), is deleted, and code/git/apply declares its own guidance.

Tests: CI. I'm not building on the serving M5.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…ands; withheld guidance is declared by the command, never a name switch

Benchy on the M5, 2026-11-11: her build's end WAS pushed to her ([tasks] 'ok task 8256b548 ...
exitCode 0' with its tail; after a restart '[resumed] ... dispatches pending at that save ...
completion unknown'), yet 7 of her 16 calls were code/shell-poll, each 'still running': the native
verb and the 'read its progress now with code/shell-poll' text invited the loop the push makes
unnecessary. Joel: 'never polling. Use handles and interrupts.'

- code/shell-poll declares Disclosure::Withheld with its guidance (the end arrives in [tasks];
  carry on; the whole output reopens by its handle); a running command's message says carry on.
- Withheld guidance becomes a value the command declares beside its disclosure
  (CommandSpec/ActionCommand::WITHHELD, the action_command! 'withheld: why => instead' clause,
  CommandDescriptor.withheld, continuum_base::tool_disclosure::WithheldGuidance), read from the
  registry by the executor. tool_dialect::withheld_from_hands, a match on command names (the
  central-list anti-pattern), and WithheldVerb are deleted; code/git/apply declares its own.

For: any resident following any long command, in any activity.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply and others added 2 commits November 11, 2026 09:18
…ns it withheld

The exact core-hands pin (surface.rs) failed on #5939 exactly as designed: 'declaring a core hand is
this one-line diff'. code/shell-poll leaves the core list and is asserted Withheld.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 11, 2026
…vious push (#5941)

A branch that merges canary in (the repo's rule: merge canary in, never rebase) was judged against
its previous push, so every file the merge brought in read as touched by the branch: #5936 and #5939
failed unjustified_serialization and unwrap_justification on continuum-academy benchmark_*.rs, files
neither edits (2026-11-11). A push to a work branch now takes canary's tip as its base (the ratchets
take the merge base, so it judges exactly the branch's own change); pushes to canary and main keep
the commit before them; PRs keep their merge commit's first parent. No new job.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Opus 5.5 <[email protected]>
joelteply and others added 2 commits November 11, 2026 09:49
…s fields become the input without an expect, each default states its reason, the two guessed caps name their card (67580505)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 8565ddd into canary Nov 11, 2026
40 checks passed
@joelteply
joelteply deleted the fable/a-command-end-is-pushed-never-polled branch November 11, 2026 17:16
joelteply added a commit that referenced this pull request Nov 11, 2026
…and any whole-tree sample follow, labelled as such (#5946)

The touched-file failure printed the advice (which can carry a whole-tree sample) before the
offenders, so the sample read as the change's own sites: on 2026-11-11 an agent spent an hour
on #5945/#5939/#5936 chasing continuum-academy files those PRs never touched, and asked CI's
owner about a CI bug that did not exist. Selection, counts and the gate are unchanged; only
the order and the headings of the message move. zero() reads the same way.


Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant