todo-monitor
Create and advance a per-open-item agent todo list using the `npm run todos --` CLI without pausing after each task. Follows todo-contract (strict CLI-only mutation) and todo-enforcer rules.
- License 许可
- MPL-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- todo-monitor
- description
- Create and advance a per-open-item agent todo list using the `npm run todos --` CLI without pausing after each task. Follows todo-contract (strict CLI-only mutation) and todo-enforcer rules.
03 SKILL.md 正文
Todo Monitor
Create and manage an Agent todo list for exactly one Open Item. This is the normal autonomous execution mode.
Read and follow .pi/skills/todo-contract/SKILL.md before creating or mutating a todo sidecar.
Preconditions
- A target open item
OI-####must exist before tracked todo work begins. - If no open item exists, stop and create or promote one first.
- Operate on only one open item at a time.
Process
1. Resolve the target open item
- Identify the owning
OI-####. - Read the open-item file (
OI-####.md). - Ensure a JSON sidecar exists: if
.agents/open-items/items/OI-####.todo.jsonis missing, runnpm run todos -- create OI-####(requires parent item). If it already exists, continue.
2. Generate or refresh the todo list
- Extract the concrete agent-work actions needed for the current execution pass.
- For each planned action,
npm run todos -- add-task OI-#### --task "…"(the CLI assignsT-###ids and dates). - Keep the sidecar scoped to that one open item only.
3. Execute normally
set-task-statustoin_progresswhen starting a task.set-task-statustocompletedimmediately when done (optionally--notes).- Continue to the next task without pausing for operator approval.
- Stop only when blocked, halted, or when operator input is actually required.
Prefer npm run todos -- list --json when you need a token-cheap overview of execution todos.
Behavioral rule
todo-monitor is the non-pausing mode: iterate through the todo tasks in order, updating the sidecar only through the todos CLI as work progresses.
Encountering legacy artifacts
If you find a working-directory TODO.md or an OI-####.todo.md, treat it as drift: split its tasks by owning open item, recreate them with npm run todos -- create + add-task, and delete the legacy file. See todo-enforcer § Encountering legacy artifacts.
Usage
- Use when non-trivial tracked work begins for an existing open item.
- Use when an existing per-open-item todo list needs to be generated or refreshed.
- Use when the agent should keep moving through tasks autonomously rather than stopping after each one.
04 同仓库更多 Skills
structured-output-repair
暂无简介
version-release
Use when the user asks to bump/increment the package version, prepare a release, produce changelog/release notes, or decide whether a change should be called out in the changelog.
ubiquitous-language
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".
todo-hard-stop
Execute a per-open-item todo list via the `npm run todos --` CLI under the canonical todo contract, pausing after each completed task for operator feedback.
todo-enforcer
Enforce the per-open-item todo contract (strict CLI-only mutation via `npm run todos --`; no hand-edits to `*.todo.json`) so tracked agent work stays focused, isolated, and linked to an open item.
todo-contract
Defines the canonical per-open-item todo JSON sidecar, strict CLI-only mutation, status vocabulary, and linkage rules.