-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat(coding-agent): event-driven supervisor agent roster serving list from one ledger #1897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
0f66949
feat(coding-agent): event-driven supervisor agent roster; serve list …
snimu 1573af1
fix(coding-agent): review fixes for the supervisor agent roster
snimu 1f5c3d2
fix(coding-agent): roster review fixes round two
snimu 62cb7b9
fix(coding-agent): roster bot-review fixes
snimu 1bd50df
fix(coding-agent): roster bot-review fixes round two
snimu e7ca988
fix(coding-agent): child deletes never proceed past an unreadable spa…
snimu d98a28f
fix(coding-agent): classify unreadable delete targets through the spa…
snimu 7f7dd96
fix(coding-agent): roster bot-review fixes round three
snimu a43fdbb
fix(coding-agent): roster bot-review fixes round four
snimu ad7cdd4
refactor(coding-agent): drop the lossless roster channel; disk is dur…
snimu c6176b1
perf(coding-agent): cache roster row serializations across flushes
snimu 24ca211
refactor(coding-agent): restart pre-roster workers on adoption; drop …
snimu 8cf2cbf
fix(coding-agent): roster rework review fixes, supervisor and worker …
snimu 0082257
test(coding-agent): await owned process exits before teardown rmSync
snimu 233b958
fix(coding-agent): serialize roster pulls with frame applies and hard…
snimu 8545c20
test(coding-agent): pin snapshot/pull serialization, pre-roster resta…
snimu 993b884
fix(coding-agent): abort queued roster applies for unregistered worke…
snimu 9ef24b4
test(coding-agent): let the stop land mid pre-read in the snapshot-ab…
snimu 3163dae
fix(coding-agent): single-flight roster repair pull with a logged fai…
snimu c3eb977
test(coding-agent): reduce the roster suite to distinct behavior pins
snimu c4bcbca
test(coding-agent): drop an unused import after the projection pin re…
snimu 603e044
test(coding-agent): fix formatting after the removal-id pin cut
snimu 4465a37
test(coding-agent): final reviewer-directed roster suite cuts
snimu 1257659
test(coding-agent): biome format for the population matrix
snimu f56e5ba
test(coding-agent): pin resident and seeded rows side by side in one …
snimu c88236a
chore(coding-agent): comment sweep — one-line present-tense rationale…
snimu b262931
fix(coding-agent): republish retry/tool transitions and guard pulled …
snimu ec6cb7d
refactor(coding-agent): rename AgentRosterLedger to AgentRoster
snimu afafbfa
refactor(coding-agent): one owner each for busy/status adapters, regi…
snimu 544b11e
fix(coding-agent): supervisor roster correctness batch
snimu bfcb78e
test(coding-agent): pin the roster correctness batch
snimu 02381f7
fix(coding-agent): let composed session rows beat lingering queued ma…
snimu 6fb3c6a
fix(coding-agent): keep unserved worker files listed as inactive rows…
snimu d80d7b3
fix(coding-agent): guard roster applies against dead registrations an…
snimu 05fb070
fix(coding-agent): drop client-owned workers' roster rows on unregist…
snimu 5fa2b95
fix(coding-agent): re-verify pid identity at the last moment before t…
snimu 642963e
fix(coding-agent): import the moved busy predicate for the empty-sess…
snimu a1766fa
fix(coding-agent): serve empty-detach eviction from the roster with w…
snimu b185223
fix(coding-agent): flush the roster on plain cron job add and cancel
snimu 6c66b5f
fix(coding-agent): keep the hydrated summary when a snapshot reseeds …
snimu 634a19d
chore(coding-agent): roster review nits
snimu 4bff2b4
fix(coding-agent): scope pending roster removals to one incarnation a…
snimu 2ee3fc8
chore(coding-agent): slim roster comments and consolidate roster tests
snimu 1a6b9c1
fix(coding-agent): roster identity and staleness fixes from the sixth…
snimu afc7623
chore(coding-agent): second slim pass on roster tests and comments
snimu 5dc7674
fix(coding-agent): seventh review round — spawn-append scoping, stat-…
snimu 0acfeb2
fix(coding-agent): remove, not passivate, rows renamed by in-place se…
snimu 385f566
fix(coding-agent): ninth review round — one family snapshot, family-s…
snimu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
packages/coding-agent/.changes/eng-5794-agent-roster-ledger.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| - Made the daemon supervisor own an event-driven agent roster: workers push roster deltas on session events and `list` is served from the supervisor's ledger with zero worker round-trips. Rows are as fresh as the owning worker's last delta; a silent worker's rows are annotated (recovering, last-heard-from) rather than dropped, and the surfaces that display those annotations ship in the follow-up PR. | ||
| - Tracked admitted subagent runs in the supervisor roster from the moment they are queued (they appear in `list` once their session exists), and kept passivated or evicted agents listed as inactive rows instead of disappearing (client-owned workers stay private: their rows are dropped when the worker goes away). | ||
| - Tracked worker liveness in the supervisor roster: a dead worker's rows are flagged "recovering" the moment its socket closes, and rows of silent workers carry a last-heard-from time. These fields are supervisor-internal here; the roster surfaces that display them ship in the follow-up PR. |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.