feat(tasks): add chat-native task board#58828
Conversation
Greptile SummaryThis PR adds a Key changes:
The implementation is clean and consistent with existing command patterns. No P0 or P1 issues were found. Confidence Score: 5/5This PR is safe to merge — it adds an additive read-only chat command with no mutations and no cross-session data leakage. All findings are P2 or lower. The core rendering logic correctly delegates to the existing TaskStatusSnapshot abstraction, the handler properly guards unauthorized senders, and the three targeted tests lock in the session-scoped visibility contract. No data mutations, no new network calls, no cross-session leakage. No files require special attention. Reviews (1): Last reviewed commit: "Merge branch 'main' into feat/tasks-slas..." | Re-trigger Greptile |
Summary
/taskscommand to inspect current background work without relying on the compact/statusline./statusshould stay compact./taskscommand that shows current-session background tasks with recent details, and falls back to agent-local counts when the current session has no visible linked tasks.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
/taskscommand — User-facing task status dashboard via IM channels #54226Root Cause / Regression History (if applicable)
git blame, prior PR, issue, or refactor if known): the new task registry already existed, but chat only exposed a compact/statussummary.Regression Test Plan (if applicable)
src/auto-reply/reply/commands-tasks.test.ts/tasksshows current-session active/recent tasks, hides stale completed rows, and falls back to agent-local counts without leaking other-session task details.User-visible / Behavior Changes
/tasksas a built-in chat command./taskslists current-session background tasks with runtime, status, timing, and progress/error detail./tasksfalls back to agent-local counts only.Unreleased > Changes. Thanks @vincentkoc.Diagram (if applicable)
Security Impact (required)
Yes, explain risk + mitigation: N/ARepro + Verification
Environment
/tasksSteps
/tasksthrough the chat command surface.Expected
/tasksis available in command discovery and help.Actual
Evidence
Human Verification (required)
/tasks extrareturns usage; fallback does not expose hidden task labels/details.Review Conversations
Compatibility / Migration
Risks and Mitigations
/tasksis already a global per-user board.#54226.AI-assisted: yes. Local verification run.