Skip to content

Add eca__task tool for multi-step task planning and tracking#341

Merged
ericdallo merged 13 commits intomasterfrom
todo-tool
Mar 5, 2026
Merged

Add eca__task tool for multi-step task planning and tracking#341
ericdallo merged 13 commits intomasterfrom
todo-tool

Conversation

@zikajk
Copy link
Member

@zikajk zikajk commented Mar 3, 2026

Introduces a new native tool eca__task to help the agent plan, organize, and track progress across complex, multi-step tasks.

  • Maintains a persistent task state per chat in the DB

  • Supports operations: plan, add, update, start, complete, delete, clear

  • Includes dependency tracking (blocked_by) and cycle detection

  • Enforces sequential execution by default to prevent improper batching

  • Covered by comprehensive unit and integration tests

  • I added a entry in changelog under unreleased section.

  • This is not an AI slop.

Introduces a new native tool `eca__todo` to help the agent plan, organize,
and track progress across complex, multi-step tasks.

- Maintains a persistent TODO state per chat in the DB
- Supports operations: plan, add, update, start, complete, delete, clear
- Includes dependency tracking (blocked_by) and cycle detection
- Enforces sequential execution by default to prevent improper batching
- Covered by comprehensive unit and integration tests
ericdallo and others added 7 commits March 4, 2026 10:15
- Remove the `goal` field from the TODO state and `plan` operation, as discrete tasks often do not share a single high-level objective.
- Unify the JSON tool parameter schema to use `snake_case` (e.g., `active_summary`) to match existing fields like `blocked_by`.
- Restrict the `active_summary` parameter exclusively to the `start` operation, where it semantically belongs.
- Update agent prompts (`todo.md`, `code_agent.md`) to explicitly forbid batch-starting tasks unless performing genuinely parallel work (e.g., dispatching subagents).
- Update all corresponding tool tests to reflect the new state shape and validation logic.
Copy link
Member

@ericdallo ericdallo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!
I did the UI version in todo branch of eca-emacs

@ericdallo ericdallo changed the title Add eca__todo tool for multi-step task planning and tracking Add eca__task tool for multi-step task planning and tracking Mar 4, 2026
@ericdallo ericdallo merged commit d701d0a into master Mar 5, 2026
7 checks passed
@ericdallo ericdallo mentioned this pull request Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants