feat: add upcoming goal queue - #393
Conversation
🦋 Changeset detectedLatest commit: b4943fa The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 01582829dd
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
# Conflicts: # apps/kimi-code/src/tui/controllers/session-event-handler.ts # docs/en/configuration/data-locations.md # docs/en/guides/sessions.md # docs/en/reference/slash-commands.md # docs/zh/configuration/data-locations.md # docs/zh/guides/sessions.md # docs/zh/reference/slash-commands.md
commit: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aefaf07d27
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
# Conflicts: # docs/zh/reference/slash-commands.md
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a35404cf6
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b4943fa831
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Related Issue
No linked issue. This PR addresses a TUI workflow gap where users could only assign one autonomous goal at a time and had to return manually after each goal completed.
Problem
Agents can complete narrow goals faster than users expect. When users already know several independent tasks they want to run, assigning only one goal at a time interrupts the workflow and encourages broader combined goals.
What changed
This PR adds a TUI-owned upcoming goals queue for
/goal. Users can run/goal next <objective>to queue another goal and/goal next manageto review and change the queue interactively. Queued goals stay hidden from the agent until they become the active goal, and the TUI promotes the next queued goal only after the current goal completes.The PR also keeps upcoming goals out of RPC and SDK surfaces, documents the new slash command behavior in English and Chinese docs, adds a changeset, and covers persistence, promotion, blocked/paused/cancelled behavior, manager interactions, and autocomplete with tests.
Checklist
gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.