Skip to content

mission mode: task-list tools (todo_write/todo_read) persisted in the session #198

Closed

Description

@ajianaz

Summary

Part of the approved 0.7.0 Mission MVP train (owner decision 2026-10-06 — identity extended to "chat-first personal assistant with mission mode for autonomous work").

Add a durable task-list surface the model can maintain during long missions: todo_write (create/update a structured task list: id, content, status pending/in_progress/completed, optional parent for subtasks) and todo_read (fetch the current list). List state persists as ordinary session entries in the write-once JSONL store — crash/resume keeps the plan, and replay shows how the plan evolved.

Why

Every leading harness has this (Claude Code TodoWrite, opencode, Cline): long autonomous runs need a durable plan memory or the model re-derives intent every turn. For tole this is the keystone primitive for tole mission (#roadmap) — and it fits the existing architecture perfectly: no new storage engine, just another session entry type.

Design sketch

  • Risk: todo_write = Write (through the normal approval gate; --trust internal preset should cover it), todo_read = ReadOnly.
  • Multiple in_progress tasks: at most 1 at a time (matching harness conventions); list order = priority.
  • Entries are appended (new state = new entry), keeping the write-once guarantee; readers fold to latest.

Acceptance

  • todo_write/todo_read registered, gated, documented (README tool table + threat-model note)
  • State survives crash-resume (durable entries, replayable)
  • CHANGELOG + docs updated in the same PR (AGENTS.md §7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions