Repository navigation
feat: a turn carries open work and origin, and a reply notifies at rest (D-259) - #240
Merged
Merged
Conversation
Five scrubbed recordings (Claude Code 2.1.282: a foreground agent, two background agents, a nested agent, a stopped background agent; codex-cli 0.166.0: one sub-agent), tests that hold their shapes, and the gate record of what they show the activity line does not yet handle. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ted for Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The open set comes from the runtime's live-task frames, each turn stores its origin, empty wake-ups are folded, and a send during a running turn is delivered to that turn. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…sign Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…eps a thread working Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…read in the working band Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…e attention fixture Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ld back A touched turn is checked for two notifications, each keyed and ledgered on its own: its own failure, then the thread's latest reply when the thread is at rest. The malformed-timestamp test now uses a value the cast refuses, and the prune, BANDS and API comments say what is true now. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…rows Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…rn, and a second Codex turn Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The first copy was cut short: the driver exited before its output was flushed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ale objects Package build and tests failed to link on this pull request: test objects restored from main's build still named Turn's old initialiser, which gained two parameters (D-259). Their own sources had not changed, so they were not recompiled. The key now carries a version to bump when that happens. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Change 1 of 6 of the runtime turns design (
docs/superpowers/specs/2026-11-19-runtime-turns-and-open-work-design.md). It adds the fields and the rules that read them. Nothing writes the fields yet, so behaviour is unchanged until the coordinator change lands.docs/verification/2026-11-19-live-sub-agent-recordings.md.Turn.openWork(agents the turn started that are still running) andTurn.origin(nil for a turn the owner sent), decoded leniently. Coordinator migration0016, hub migration0023, mirror schema 11.attention.jsonfixture gained four threads all three implementations agree on.Behaviour changes to know
openWork(a later change): both hub tasks must run0023code first. Seedocs/compatibility.md.Open points (D-259)
Checked
swift test: 2284 tests in 258 suites passed, after merging main.cargo test --workspace --lockedpassed,cargo fmtandcargo clippyclean (before the merge; the merge touched no hub file).swift format lint --strictandScripts/docs-index.sh --checkclean.Not checked
0023.🤖 Generated with Claude Code