tasks-axi
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesetasks-axi
tasks-axi
Agent ergonomic task & backlog manager for the current workspace. Prefer this over hand-editing backlog.md for task state, dependency, or hold changes.
You do not need tasks-axi installed globally - invoke it with .
If tasks-axi output shows a follow-up command starting with , run it as instead.
npx -y tasks-axi <command>tasks-axinpx -y tasks-axi ...tasks-axi operates on a hand-editable in the current workspace (or the path set in ). It edits the file in place with a byte-exact round-trip, so the human-readable backlog stays the source of truth.
backlog.md.tasks.toml面向当前工作区的Agent友好型任务与待办事项管理器。在修改任务状态、依赖关系或暂停设置时,优先使用该工具而非手动编辑backlog.md。
无需全局安装tasks-axi——使用即可调用。
如果tasks-axi的输出显示后续命令以开头,请改为运行。
npx -y tasks-axi <command>tasks-axinpx -y tasks-axi ...tasks-axi操作当前工作区中可手动编辑的文件(或中设置的路径)。它会在原文件中进行字节级精确的往返编辑,因此人类可读的待办事项始终是可信数据源。
backlog.md.tasks.tomlWhen to use
使用场景
Use tasks-axi whenever a task touches the backlog: filing or dispatching work, moving a task through queued -> in flight -> done, recording a PR url or report path on completion, tracking blocked-by dependencies, pausing dispatch with structured holds, finding dispatchable ready work or intentionally held work, or trimming the Done list.
只要涉及待办事项的操作都可使用tasks-axi:提交或分派工作、将任务从已排队→进行中→已完成、完成时记录PR链接或报告路径、跟踪依赖阻塞、通过结构化暂停暂停分派、查找可就绪的可分派工作或有意暂停的工作,或清理已完成任务列表。
Workflow
工作流程
- Run with no arguments for a dashboard of the current backlog - in flight work, queued work with blockers, and suggested next commands.
npx -y tasks-axi - Drill in verb-first: ,
list,show <id>, then mutate withready,add,start,done/block,unblock/hold,unhold.update - The long notes never appear in ; run
listto read a task's complete body before replacing it.show <id> --full - takes a caller-supplied id (the join key), e.g.
add; or passtasks-axi add fm-x "title" --kind ship --repo firstmate --startto generate a slug-xx id from the title.--mint - (or
done <id> --pr <url>) closes a task, records the link, and prunes the Done list (archived, never deleted). Then--report <path>shows work it unblocked.ready - pauses dispatch without prose parsing;
hold <id> --reason "<text>"excludes active holds by default, andreadyshows a separate held group. Useready --include-heldfor a date gate that becomes inactive on and after that date.--until YYYY-MM-DD - Human-readable responses include contextual next-step hints under when there is a useful follow-up - follow them.
help: - mutation responses skip
--jsonand return the deterministic result object instead.help:
- 不带参数运行,查看当前待办事项的仪表盘——包括进行中的工作、存在阻塞的排队工作,以及建议的后续命令。
npx -y tasks-axi - 以动词优先深入操作:、
list、show <id>,然后通过ready、add、start、done/block、unblock/hold、unhold进行修改。update - 长注释不会出现在结果中;在替换任务内容前,运行
list查看任务的完整内容。show <id> --full - 命令接受调用者提供的id(关联键),例如
add;或传入tasks-axi add fm-x "title" --kind ship --repo firstmate --start参数,根据标题生成slug-xx格式的id。--mint - (或
done <id> --pr <url>)会关闭任务、记录链接,并清理已完成任务列表(归档,永不删除)。之后运行--report <path>可查看该任务解锁的工作。ready - 可暂停任务分派,无需解析文本内容;默认情况下
hold <id> --reason "<text>"会排除处于活动暂停状态的任务,而ready会单独显示暂停的任务组。 使用ready --include-held设置日期限制,该限制在指定日期及之后失效。--until YYYY-MM-DD - 人类可读的响应中,当存在有用的后续操作时,会在下显示上下文相关的下一步提示——请遵循这些提示。
help: - 参数的修改响应会跳过
--json,返回确定性的结果对象。help:
Commands
命令
commands[19]:
(none)=dashboard, add, list, show, start, done, reopen, update, rm, block, unblock, hold, unhold, ready, public-followup, mv, prune, render, setupRun for global flags, or for per-command usage.
npx -y tasks-axi --helpnpx -y tasks-axi <command> --helpcommands[19]:
(none)=dashboard, add, list, show, start, done, reopen, update, rm, block, unblock, hold, unhold, ready, public-followup, mv, prune, render, setup运行查看全局标志,或运行查看各命令的使用说明。
npx -y tasks-axi --helpnpx -y tasks-axi <command> --helpTips
提示
- Output is TOON-encoded and token-efficient; the long task body is truncated by default - the whole point is that stays cheap. Use
listonly when you need the complete notes.--full - Every write leads with an line confirming the write result, including the resulting task state when the command changes one (e.g.
ok:,ok: start <id> -> In flight,ok: done <id> -> Done (pr <url>)), then state-aware next-step hints. Mutations are idempotent and addok: render -> normalized <n>on a no-op; re-running is safe.already: true - Pass to any mutation (
--json,add,start,done,reopen,update,rm,block,unblock,hold,unhold,mv,prune) for a machine-readable result object (renderor operation-specific result fields) instead of TOON - confirm a write deterministically without a follow-up read.{ "ok": true, "action": ..., "task": { ... } } - and
block <id> --by <other>manage the dependency graph;unblockandhold <id> --reason "<text>" [--until YYYY-MM-DD]manage structured dispatch pauses;unholdlists only queued work with no unresolved blocker and no active hold.ready - Filter with
list,--state,--repo,--kind,--blocked, and add columns with--limit. Use--fields a,b,corlist --state heldwhen scanning active hold state.--fields held,hold_reason,hold_kind,hold_until - Existing prose markers such as ,
HELD,PARKED,DEFERRED, andCAPTAIN-DECISIONstay prose until intentionally migrated. Preserve the original prose as the hold reason, then choosedo not dispatch,captain,parked,future, orloadonly when the text supports that bucket.external - Note writes are inspect-then-update: run , then replace the curated current body with
show <id> --fullorupdate <id> --body "<text>". Add--body-file <path>to preserve the superseded body in--archive-body;note-archive.mdreplaces the title;--title "<text>"normalizes the file;rendermoves one or more tasks to another backlog in one atomic transaction - pass a whole connected set (a blocker and its dependents) to move it together and preserve itsmv <id> [<id>...] --to <path>links and reason strings; moves that would strand an endpoint are refused.blocked-by - Free-form (no-id) backlog lines are preserved verbatim and are never modified.
- 输出采用TOON编码,且令牌效率高;默认情况下任务的长内容会被截断——这样设计的核心是让操作保持轻量化。 仅在需要查看完整注释时使用
list参数。--full - 每次写入操作都会以行开头,确认写入结果,包括命令修改后的任务状态(例如
ok:、ok: start <id> -> In flight、ok: done <id> -> Done (pr <url>)),然后显示基于状态的下一步提示。 修改操作具有幂等性,无操作时会添加ok: render -> normalized <n>;重复运行是安全的。already: true - 对任何修改操作(、
add、start、done、reopen、update、rm、block、unblock、hold、unhold、mv、prune)传入render参数,可获得机器可读的结果对象(--json或特定操作的结果字段),而非TOON格式——无需后续读取即可确定性地确认写入操作。{ "ok": true, "action": ..., "task": { ... } } - 和
block <id> --by <other>用于管理依赖图;unblock和hold <id> --reason "<text>" [--until YYYY-MM-DD]用于管理结构化的分派暂停;unhold仅列出无未解决阻塞且无活动暂停的排队工作。ready - 使用、
--state、--repo、--kind、--blocked过滤--limit结果,并使用list添加列。 查看活动暂停状态时,使用--fields a,b,c或list --state held。--fields held,hold_reason,hold_kind,hold_until - 现有的文本标记(如、
HELD、PARKED、DEFERRED和CAPTAIN-DECISION)会保留为文本,直到有意迁移。 将原始文本保留为暂停原因,仅当文本支持对应分类时,才选择do not dispatch、captain、parked、future或load分类。external - 注释写入采用先检查后更新的方式:运行,然后使用
show <id> --full或update <id> --body "<text>"替换整理后的当前内容。 添加--body-file <path>参数可将被替换的内容保存到--archive-body中;note-archive.md用于替换标题;--title "<text>"用于规范化文件;render可将一个或多个任务原子性地移动到另一个待办事项文件中——需传入完整的关联集合(阻塞项及其依赖项),以保持其mv <id> [<id>...] --to <path>链接和原因字符串;会拒绝导致端点孤立的移动操作。blocked-by - 自由格式(无id)的待办事项行会被原样保留,且永远不会被修改。