Task Power

Manage Todo and Schedule shells backed by the shared Task execution core

The Desktop Sidebar provides Memo, Needs attention, and Tasks. The main area browses and organizes collections, with one control for List, Board, Calendar, and Timeline. Its toolbar provides title search, completion filters, and List/Board sorting. Selecting a task opens a BayBar tab while the collection keeps its position. Returning to Tasks restores the previous view, filters, dates, and scroll position.

All four views share search and completion filters, retaining the same task set when switching views. List and Board also support field sorting. The sidebar attention queue prioritizes review, failures, preparation, and active work, and keeps the selected task accessible. Use the main search to find tasks across the complete collection.

Memo uses Tiptap directly with its official TaskList and TaskItem extensions. A new document starts with a Todo; typing, Enter, Backspace, nesting, and paste use the editor's standard behavior. Exit the list to write paragraphs, headings, or code freely. The application never splits document content into business tasks. The whole document autosaves, and checkboxes are document formatting only: writing, selecting, and checking never invoke a model or start an Agent.

The memo automatically saves to this Desktop's local browser storage, surviving view changes and refreshes; this is not cloud synchronization. Save failures retain current editor content with an error and retry action. Unreadable stored data is preserved rather than overwritten with an empty document.

Selecting text shows a small How should I handle this? entry beside the selection. Write an instruction and send without leaving the document or choosing modes. Summarizing, rewriting, explaining, and extracting a todo list return a local preview without creating a business task. Replace selected text explicitly applies the result and can be undone. If the original selection was edited or deleted during processing, replacement is disabled; the result remains available to copy.

Only explicit requests to create, record, schedule, or delegate work enter the task flow with the original source and instruction. The saved task opens in BayBar, with a link beside the selection; source text and the memo editing position stay intact. Read-only text processing uses the default text model and has no tool privileges. Source and instruction together accept up to 24,000 characters; oversized requests are retained with a clear error.

The leading circle toggles personal one-time work between completed and unfinished. Agent deliveries require review before acceptance; schedule enable state is separate from completion. Each row's menu offers applicable editing, execution, reopen, schedule, and delete actions. Edit task opens the same task's BayBar editor. Row controls act independently without also opening details. Active execution restricts editing, deletion, and duplicate starts; deletion requires confirmation.

Default sorting puts unfinished work first, ordered by its nearest execution or planned time, then undated work, with closed tasks last. Click Name, Type, Status, Executor, or Time headers to toggle ascending/descending order; arrows show the direction. Time sorting uses actual instants and the next calculable recurring trigger, keeping undated, paused, or unpredictable recurrence last in either direction. Creation time and task ID break ties consistently. List and Board share a collection toolbar for default sorting, field selection, and direction; the list headers and toolbar stay synchronized.

Visual hierarchy

The task workspace uses compact controls, subtle row dividers, and selected backgrounds. The collection toolbar provides search, filters, and view selection. Calendar and Timeline also provide date navigation; Calendar's Week/Month controls select its local date range. List separates Unfinished and Completed with consistent row heights and aligned title, status, executor, and time columns. Agent avatars and personal executor icons occupy the same width. The Sidebar keeps workspace entries and attention tasks accessible. Board column headers contain a stage icon, name, actual count, and add button. Cards show a real status label, title, and a footer with timing and executor. Calendar and Timeline use fine grids, today markers, and clear time positions. Light and dark themes share semantic tokens, with hover, selected, and keyboard focus feedback. Popovers have opaque theme backgrounds.

BayBar task pages emphasize the task title, with a subtle status below, the main action on the right, and more actions in the top bar menu. Status, executor, workspace, and applicable timing use two columns: muted field names and aligned values. Editable values show hover and keyboard focus feedback and open a property popover. Instructions have their own heading and a consistent reading width; creation and full editing use the same title, property, and instruction structure. Delivery emphasizes output with handling actions after the body. History uses compact time and status rows; selecting a row opens that execution's delivery.

Views

Each task has one stable BayBar tab, whose label follows the task title. A task row first opens Task; repeated clicks retain its current section. Notifications and attention entries explicitly select their execution. Task is always available; Delivery and History appear when executions exist, with Delivery also available while a run starts. A single-section personal todo hides section navigation. Tabs remain available when you return to chat. Narrow windows use Shell's BayBar overlay; collapsing it reveals the preserved collection.

Needs attention uses unresolved task records for reviews, reminders, failed or missed work, and preparation questions. Selecting an entry locates its task or specific delivery without completing or dismissing it. Successive runs of one Task update one Inbox matter. Its latest summary and result link point to the current run; complete history stays in Task. Explicit outcome fields distinguish success and failure. Ordinary updates have a Mark as read action that acknowledges only that notification's current version without resolving the task record. It shares Notification Power state with Inbox and the application badge. The application number counts respondable original requests plus unread Inbox failure matters; success and informational updates retain unread dots. Inbox supports single and snapshot read/clear actions checked against update IDs and content versions. Clearing ordinary notifications retains Task/Run history and original Interactions, and later events can notify again. The current Task interface has no in-run question-answer or resume channel; tool approvals remain in the original execution session.

Board groups tasks into Not started, In progress, Needs attention, and Completed. Columns scroll independently, with horizontal browsing on narrow screens. Header plus and Add task open a BayBar draft; the saved task's actual progress determines its column. Click a card title or blank area to open its task tab, or use Enter/Space on its title button. Timing is editable in place, and card menus share List actions. Recurring enable state remains separate from occurrence completion. Dragging between columns is not supported.

Calendar defaults to Month and can switch to Week. Neutral surfaces, fine date grids, and a single today marker keep the view simple; entries show only timing and title. Month displays only the complete weeks needed to cover that month, including weekends. Each cell previews three entries, with More expanding the remaining entries in place. Week displays all entries ordered by actual start time; entry height does not represent execution duration.

Calendar entries preview executor, status, and full start/end times. Edit timing there or open the task in BayBar; closing the preview preserves the calendar position. Recurring status uses its matching occurrence. Drag one-time plans between dates while preserving time and duration; recurrence and deadlines are not drag-editable. New task opens a draft, while daily plus buttons or a double-click supply that date as its planned time. No reminder or execution is enabled before saving. The grid uses the device timezone, lists each occupied date of a range, and never invents durations. The footer returns to List for unscheduled or out-of-range tasks.

Timeline shows a navigable two-week range with a fixed task column, sticky date header, and today line. Click an out-of-range direction hint to locate its date. Planned ranges appear as bars and time points as separate diamond markers. Recurring tasks show their next calculable trigger. Undated tasks, paused recurrence, and advanced rules without a prediction remain accessible below the timeline. Timeline is currently read-only, without drag editing or dependency links.

Todo

A memo Todo is simply a Tiptap document item, without a business task identity, per-item menu, or task-state synchronization. Explicitly processing a selection may create trackable work; source text and task links are stored outside the document. Editing or checking the document never changes the generated task, whose acceptance remains in task details.

Todo represents one-time work, with no time, a specific time, or a planned time range. A requested time can trigger one reminder or execution. A planned range does not imply continuous execution, and a deadline does not start an agent. Complete personal todos from the list and undo that completion. For agent results, complete the todo or request revisions.

If saving succeeds but starting fails, the form reports that the todo is saved but not started. Retry starting the same object instead of creating another todo.

Schedule

Schedule represents recurring work based on Cron and a timezone. An explicit processing instruction for selected memo content can arrange a weekly research report or a one-time reminder. Merely writing those sentences in Memo never enables an automation.

Recurring tasks show a time summary and an enable switch. Detailed settings are available under More. Pausing does not stop active work, and a successful run does not end recurrence.

Personal reminders create an actionable reminder without an agent run. Planned ranges use planned_at and planned_end_at; the end must follow the start and does not imply repeated execution. Automatic triggers require City to remain running. Missed one-time Todos need a user decision; recurring work missed while offline is not replayed in a burst.

Task system notifications

While Desktop is running, personal reminders, successful Agent or script executions, results awaiting acceptance, execution failures, triggers that cannot start, and newly discovered missed one-time arrangements request an operating-system notification. Each execution sends at most one final result notification: “结果待验收” for results requiring human acceptance and “执行成功” for other successful executions. Creating, editing, starting, pausing, resuming, and skipping work do not send system notifications.

A notification brings the window forward and activates its task's BayBar tab, selecting the saved execution when available. A new notification updates the execution selection even if that tab is already open. Desktop retains the latest click while hidden, minimized, or preparing. Deleted sources show an unavailable message; failed reads offer retry. Opening a delivery only views it. Accepting, submitting feedback, ignoring, and marking read remain explicit actions.

Allow notifications for Downcity in your operating-system settings. Permissions, Do Not Disturb, and system policy can suppress banners; tasks and in-app pending matters remain available. Automatic arrangements require Desktop's City to stay running; a fully exited app cannot wake the system. One-time arrangements are checked by the minute and become missed matters after the existing tolerance. Delivery is best effort: restarting does not replay historical notifications, and notifications may be lost during a process crash.

Creation APIs

Agents use task.create() for known structured fields and task.generate() for natural-language creation or revision. Desktop's natural-language editing action generates a suggestion for the current draft; the user checks and explicitly saves it.

Pass text to create, or task_id with changes to revise the same task. Generation waits for validation and saving and returns the complete task. Reuse submission_id for uncertain new submissions. Successful generation applies the arrangement without confirmation. Recording work does not start it; explicit immediate requests start execution and timed work waits for its trigger. Manual create work starts through run. Model failures retain the task identity for retry. Shared time validation checks formatting, timezone, and past triggers; relative dates use the current generation time.

Input and saving

Memo follows write, autosave, explicitly process content, then inspect the linked task. Writing and checking do not create tasks or trigger execution. Only explicit actions in the processing panel create work. Generated tasks keep source links even if preparation or scheduling needs correction.

New task opens one retained BayBar draft. Check its title, instructions, executor, workspace, and timing in the same editor. Save is the default; choosing immediate execution changes the action to Save and run. Natural-language organization only fills a draft suggestion. A successful save opens the real task tab and closes the submitted draft.

Existing titles and instructions support inline editing. Edit task expands the full editor in Task with Save and Cancel. Switching tabs, collapsing BayBar, or leaving Tasks retains drafts; external updates do not replace typed input. Closing a dirty tab offers continued editing or explicit discard.

Todo or Schedule follows the complete request, independently of list filters. A deadline does not trigger execution. Titles may repeat or change while identities stay stable.

Task body and history

An Agent task's body contains only the goal, steps, constraints, and deliverable requirements for one execution, instructing the executor to complete the current task directly and return its deliverable. Cron, recurrence, trigger times, and timezones are stored separately in fields such as when and timezone. The body contains no scheduling arrangements or instructions to create, schedule, or delegate another task.

Select a sidebar or collection task to activate its BayBar tab. Task shows requirements, status, and applicable properties. Delivery shows one execution's output, time, status, and handling actions. History lists execution summaries in reverse time order. Starting, retrying, or submitting revisions follows the new execution in this same tab. Run completion remains separate from task acceptance.

Tasks are not split into separate blocks by internal state or type. Older tasks remain in the same list with their identities and history intact. Reading a notification does not complete or accept work.

History loads the latest page first and offers earlier pages on demand. Selecting an execution opens Delivery; Return to history restores the list position. A selected historical execution stays fixed when a newer run finishes. Notifications can explicitly select another execution in the same tab without loading all preceding history. Switching delivery targets isolates old read requests.

Results and recovery

References share a compact block across the composer, queue, and sent messages. Task deliveries show the task title and result summary; messages, files, and code selections use distinct icons and source information. Click to expand the complete context. Editable references have a right-side removal action; read-only messages do not. Blocks have no shadows or decorative borders, and presentation never truncates the context sent to the model.

Delivery results provide two actions. Copy reference writes structured HTML and readable plain text. Pasting into ChatInput restores the reference block; other apps can read the source and full output. Reference blocks have a Copy reference action, and selecting a reference in the editor supports system copy. Plain-text paste and paste inside code blocks remain text. Continue discussion opens a workspace new conversation for the task's Agent and Workspace, prefilling ChatInput with a structured delivery reference without sending. No existing conversation needs to be open. Existing new-conversation draft content is preserved; the Session is created on send through the normal application workflow. Missing execution targets are reported locally rather than silently replaced.

Results and history stay with the original object. One-time agent results require acceptance; recurring results follow the configured per-run acceptance setting.

Explicit acceptance and revisions with feedback publish replayable facts atomically with work state, retaining the specific result, original Agent/Workspace and bounded source snapshots. Execution success, opening a result and ordinary completion do not create acceptance facts. The official Power assembly lets Memory read these facts. Background consolidation is disabled by default and must be enabled for an exact scope in Memory; Task sources remain private to the original Agent. Deleting a Task archives its published command facts before removing the definition and run directories. Deletion does not erase every source copy.

Request revisions in the task's delivery section, then choose Submit and start revisions to save feedback and start a subsequent execution on the same task. If starting fails after saving, feedback remains available and Start revisions retries execution without resubmitting it. Previous results remain available. Feedback on a recurring result does not automatically change its standing instructions.

Retry or ignore a failed execution in its Delivery section. Failed natural-language suggestions retain the input for another attempt. Saved arrangements with synchronization errors offer a retry in Task without calling the model again.

An Agent task completes its current execution directly in an independent Task executor Session. Its final reply is the deliverable body itself. Task Power is disabled in both Task executor and simulated reviewer (user_simulator) Sessions. Neither may dispatch another Session through session.start or agent.delegate. Questions, approvals, and secret input stay in the original execution Session for the user to handle through the shared interaction interface. Approvals and private input must use their original trusted entry points.

After a City restart, interrupted work is retained for review rather than silently replayed. Shell tasks with auto_notify_on_exit enabled report completion automatically to the original execution; late results cannot wake it after it stops. Restart recovery only delivers saved completion results. Processes that cannot be taken over are reported as interrupted or unknown, without rerunning commands. Wait for active execution to finish before editing its definition or deleting it.

Chat-created work retains its original delivery session even if the executor changes. Results can still be queued for asynchronous handling in that Chat after its original Turn finishes or is stopped. Stopping Chat's current reply does not cancel the background Task execution. Explicitly instruct the executing agent to use Messenger when external delivery is required.

Continue with Messenger Power or Agent Powers Docs.