Repository navigation
Add delegated agent workflows and same-chat scheduling - #714
Merged
Merged
Conversation
Use one integer-minute contract across HTTP, scheduling, and the editor. Migrate v1/v2 schedules to v3 with exact private source backups and preserved cadence. Cover minute claims, unit conversion, migration, HTTP edits, and restart preservation.
Allow already-recorded outcomes to use private controls without adding a second notice. Validate every control against the current transcript view at dequeue, dropping stale entries without blocking valid successors. Generalize the existing delivery name while preserving inter-agent routing and receipt behavior.
Add strict single-child and schedule envelopes, escaped action bodies, and view-qualified result contracts. Separate delay and recurrence bounds, resolve first-run timing under the scheduler lock, and report uncertain persistence without retrying.
Commit private request evidence before actions, inherit the parent's path and permission for independent children, and persist delegation edges through normal admission. Record typed creation outcomes, identify preamble-retained children, and deliver view-fenced private replies without retries. Reconstruct historical evidence and correlation without replaying actions, with independent settings gates and composed regression coverage.
Add independent start and schedule gates with inherited-authority guidance. Decode scheduled action titles without changing saved prompts, and cover settings persistence and minute scheduling through the browser.
Reject a raw nested opener while scanning envelope attributes. Preserve the outer family boundary so a nested self-closing command cannot expose a later side effect.
Latch controller shutdown permanently and close action admission before asynchronous teardown. Late provider emissions cannot persist work after the scheduler stops.
Exercise child starts and private results through pinned providers, with Cursor covered at its unit-only boundary. Compose ledger publication, minute claims, and ordinary queue or skip admission, including malformed input and shutdown regressions.
Assert that action controllers stop after the server shutdown latch and before queue teardown or the first await. This protects the production ordering independently of controller lifecycle tests.
Track recognized envelope nesting and fence malformed quoted openers so inner closing tags cannot expose later side effects. Preserve independent trailing commands only after a trustworthy outer boundary, with parser and composed scheduling regressions.
Skip comment, CDATA, and processing-instruction contents when recovering malformed command envelopes. Leave unclosed regions and unsupported declarations opaque so embedded closing tags cannot admit nested actions.
cfal
force-pushed
the
design-start-agent-and-schedule
branch
from
September 7, 2026 23:30
f5fdc7c to
a1b1354
Compare
Observe public terminal receipts atomically before retention can remove their output, and retire waiters on cancellation, private rejection, or retry replacement. Centralize sorted multi-chat locking for delegated admission.
Seed fixed transcript snapshots before child publication, persist custom titles before dispatch, and explicitly disable preambles for markup starts. Add cancellation-aware direct-child resume admission using current saved configuration, without exposing configuration overrides.
Expose a default-enabled resume gate under the agent-command master switch, with independent settings UI and complete persisted, HTTP, WebSocket, and browser fixtures.
Add correlated admission and terminal results with optional async-only acknowledgments. Keep resume restricted to direct delegation and current child settings, and wire transcript snapshots, custom titles, and preamble-free starts into the shared command path. Capture bounded completion before acknowledgment delivery, preserve original correlation on native import, and distinguish confirmed preparation or compensation failures from uncertain admission. Add lifecycle, locking, privacy, and exact-output regressions.
Verify exact acknowledgments and child-turn output through scripted Claude, Codex, Pi, and OpenCode. Cover same- and cross-agent snapshots, delegated resume, title persistence, interruption, deletion, restart callback loss, and native reload correlation without replay.
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.
let agents delegate work and receive exact-turn results without arranging manual callbacks. add single-child starts and direct-child resume with correlated acknowledgments, optional async-only reporting, transcript snapshots, custom titles, and preamble-free starts while preserving inherited start permissions and project paths. add one-off and recurring scheduling back to the existing chat, with independent command toggles and whole-minute recurrence. existing schedules migrate to version 3 with cadence preserved and a private source backup; server and client now use intervalMinutes instead of intervalHours. pending callbacks remain process-local and are never replayed after restart.