项目管理,就是上下文管理。

适用于任何智能体、任务和工作流:将上下文、目标、任务、决策、证据和记忆保存在一份共享记录中,保留完整历史。类型化事项包含状态和验收标准,智能体通过统一的 CLI 和 SDK,以紧凑的 TOON 格式读取。可使用普通文件夹、托管工作区,或与团队现有工具同步。有无 git 均可。

无论是编程、研究、运维、长期运行的工作流,还是会调用自身的递归智能体,都能用同一份记录延续工作上下文。

安装 pm

npm install -g @unbrained/pm-cli

阅读快速入门

一份记录,每次变更pm-0682l4

pm-0682l4 · Issue · P0

GH-827: local package install must prevent recursive self-copy and disk exhaustion

confidence
highharness:claude-code · claude-code
assignee
harness:codexharness:codex · codex

变更记录

  1. · harness:claude-code · claude-code · confidence: high
  2. · harness:codex · codex · assignee: harness:codex

两次变更已记入事项及其历史。

来自 pm 自身跟踪器的真实变更,保留署名与来源。出处: pm-0682l4.

多个智能体,一份共享记录

智能体管理自身的上下文,人们与它们并肩协作。所有参与者通过 pm CLI、SDK、pm-web、远程 MCP 或 ChatGPT 读取和更新同一组类型化事项。

先认领,再开始
认领会为当前参与者保留事项,避免两个智能体同时开始同一项工作。
每次变更都有迹可循
变更追加到哈希链历史中,记录作者与智能体来源。决策和证据始终与工作相伴。
使用适合你的工具
将目标、任务和记忆保存在普通文件夹或托管工作区中,也可与团队现有系统同步。

兼容

  • 普通文件夹
  • git
  • GitHub
  • Jira
  • Linear
  • Azure DevOps
  • Slack
  • MCP
  • ChatGPT

你的智能体首先读取的内容

pm context --limit 10 用一次调用把项目状态交给智能体:哪些正在进行、哪些被阻塞、下一步做什么。这是 pm 自己的追踪器。

$ pm context --limit 10
summary:
  returned_focus:
    active_items: 10
    in_progress: 0
    open: 10
    blocked: 2
  blocked_fallback_used: false
  high_level: 6
  low_level: 4
  agenda_events: 1
  scope: "matching_items"
  active_items: 263
  open: 263
  in_progress: 0
  blocked: 64
  total_items: 3282
  closed: 2946
  canceled: 14
high_level[6]{id,title,type,status,priority,deadline,tags,updated_at,parent,blocked,blocker_ids}:
  pm-j82fd3,"Outcome milestone: agent-legible command grammar — one-screen surface, zero feature loss, alias-preserved",Milestone,open,1,"2026-10-31T00:00:00.000Z","agent-ux;grammar;horizon:near;milestone;outcome;token-efficiency","2026-10-10T19:31:13.316Z",pm-doxj,true,pm-1kxs
  pm-doxj,pm-cli post-v0.1 roadmap & living backlog,Milestone,open,0,null,backlog;context-management;living-map;pm-cli;post-v0.1;roadmap,"2026-11-04T17:39:51.547Z",null,null,null
  pm-rs9vry,"MCP 2026-07-28 conformance programme: stateless protocol, discovery, MRTR, subscriptions, extensions, security, caching, and released-artifact proof",Feature,open,1,"2026-12-31T00:00:00.000Z","2026-07-28;area:mcp;area:sdk;conformance;protocol;release-gate;security;stateless","2026-10-10T04:21:06.820Z",pm-5k4v,null,null
  pm-f05lsg,"Recovery closure: the fraction of refusals an agent can act on using only the refusal becomes a measured, ratcheted gate",Feature,open,1,null,agent-ergonomics;ci-gates;discoverability;long-horizon,"2026-11-06T12:45:34.036Z",pm-mpbb,null,null
  pm-4k6b,"Adaptive context relevance engine: multi-signal scoring over metadata, graph, and history drives context/next assembly under an explicit token budget",Feature,open,1,null,context;relevance;scale,"2026-09-22T04:59:34.890Z",pm-9rxu,true,pm-10l1vm;pm-3yzyfe;pm-atfm;pm-g8t7b9;pm-gxs55a;pm-o2kc
  pm-5t33or,"Contract-declared output token budgets: every command declares a default ceiling and degrades deterministically instead of emitting unbounded output",Feature,open,1,null,"agent-ux;area:cli;area:sdk;context-management;contracts;output-contract;token-efficiency","2026-10-10T08:23:09.508Z",pm-n7rr,null,null
high_level_encoding:
  json_columns: []
  absent[8]:
    - [2]: 1,blocked
    - [2]: 1,blocker_ids
    - [2]: 2,blocked
    - [2]: 2,blocker_ids
由 pm 2026.11.13 于 2026年11月13日 14:38 UTC 生成。 TOON 格式 5.4 kB,JSON 格式 9.1 kB。

每个智能体遵循的流程

每项工作都按这个顺序使用五条命令。

  1. 了解现状

    查看哪些正在进行、哪些被阻塞、接下来做什么。

    pm context --limit 10
  2. 认领

    认领一个条目,避免其他智能体同时开工。

    pm claim <id>
  3. 关联证据

    附上你修改的文件和用来测试它们的命令。

    pm files <id> --add src/x.ts
    pm test <id> --add command="npm test"
  4. 验证

    运行关联的测试,结果会记录在条目上。

    pm test <id> --run
  5. 关闭

    附上证据关闭条目,然后释放你的认领。

    pm close <id> "<evidence>"
    pm release <id>

扩展包

用 pm install 为项目添加集成和工作流。

浏览全部 49 个扩展包

或者使用托管服务

同一个追踪器,与团队实时共享:在浏览器、ChatGPT 或任何 MCP 客户端中使用。