Skip to content

feat: merge live Remote Control task events into the agent tree - #388

Merged
Mearman merged 1 commit into
mainfrom
feat/live-agent-tasks
Oct 11, 2026
Merged

Mearman merged 1 commit into
mainfrom
feat/live-agent-tasks

Conversation

@Mearman

@Mearman Mearman commented Oct 11, 2026

Copy link
Copy Markdown
Member

The door's Remote Control tracker now keeps the background tasks and subagents its sessions report, and agentTrees.show merges them into the tree read from disk.

A live task joins a disk agent by task_id or tool_use_id. The merged node keeps every disk field and gains its provenance and the stream's state with when the door observed it; tasks that belong to the session (by output_file) but name no disk agent are listed as liveOnly. The stream is never the only source, so a session the door has not observed returns the disk tree with every node marked disk.

The event shapes and the merge rules are in docs/rc-agent-events.md.

Closes #364

The tracker folds `task_started`, `task_progress`, `task_updated`, `task_notification` and
`background_tasks_changed` events from the worker's batches and the client read stream into a
per-session book, bounded and kept in memory only. `agentTrees.show` merges that book into the tree
read from disk by `task_id` or `tool_use_id`: disk fields are kept, a matched node gains its
provenance and the stream's state with its observation time, and tasks that belong to the session
but name no disk agent are listed separately. The disk tree stays the authoritative source for
every session.
@Mearman

Mearman commented Oct 11, 2026

Copy link
Copy Markdown
Member Author

@codex review

@Mearman

Mearman commented Oct 11, 2026

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-10-11T23:58:03.606262Z 20a34df Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 20a34df3e1

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@Mearman
Mearman merged commit 47bdfed into main Oct 11, 2026
32 checks passed
@Mearman
Mearman deleted the feat/live-agent-tasks branch October 11, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge live task and subagent events from Remote Control into the agent tree

1 participant