Add Cate Agent mission orchestration - #548
Draft
Anton-Horn wants to merge 14 commits into
Draft
Conversation
…ration # Conflicts: # src/renderer/lib/terminal/terminalLifecycle.ts
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 changed
starting/workinginstead of treating the registry's no-failurenullas a failureWhy
Cate Agent needed an explicit orchestration path for coordinating coding agents without conflating a panel host with the worktree a chat operates in. Keeping the worktree on the chat makes ownership and persistence consistent when chats move between hosts, while the orchestration UI makes delegated work observable and controllable.
The terminal failure registry returns
nullwhen there is no startup failure. Mission status consumers compared that value withundefined, so every newly created Codex worker could be reported as failed even while its PTY was alive and working.User impact
Users can ask Cate Agent to coordinate parallel coding work, see each delegated agent's real progress, receive useful failure reasons, retry provider-specific failures with another CLI, stop running work cleanly, and keep each chat attached to the correct worktree as it moves around the app.
Validation
npm run typecheck— passed after merging currentmainnpm testhost run — 3057 passed, 45 skipped, 1 unrelated failure insrc/main/runtime/local-daemon-tarball.test.ts; its temporary workspace was rejected by the runtime allowlist (Access denied: path ... is outside allowed directories)