feat(tui): unify feedback and commands into single task queue#43
Merged
HonestMajority merged 1 commit intomainfrom Feb 23, 2026
Merged
feat(tui): unify feedback and commands into single task queue#43HonestMajority merged 1 commit intomainfrom
HonestMajority merged 1 commit intomainfrom
Conversation
Replace the feedback-only `Vec<String>` queue with a tagged `QueueItem` enum supporting both Feedback and Command variants. This lets users queue commands on running tasks the same way they queue feedback. Key changes: - Add `QueueItem` enum with `#[serde(tag = "type")]` for clean JSON - Rename `feedback_queue.json` → `queue.json` with migration on read - Rename all `feedback_queue` methods to generic `queue` equivalents - Commands are queued when task is running, run immediately when stopped - Stranded queue processor handles both feedback and command items - Queue view shows typed items with `[feedback]`/`[cmd]` prefixes - Agent flow runner only processes Feedback items (not commands) - Add tests for queue_command, mixed queue, and migration path Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
feedback_queue.json(Vec<String>) with a unifiedqueue.jsoncontaining a taggedQueueItemenum (Feedback/Commandvariants), so both feedback and stored commands share a single FIFO queue per task.agman continuefor feedback,agman run-commandfor commands).wkey) renders both item types with[feedback]/[cmd]prefixes and resolves command IDs to display names.feedback_queue.jsonformat.🤖 Generated with Claude Code