mancode 0.3.12 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -17,10 +17,8 @@
17
17
  <p align="center">
18
18
  <a href="./LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="License: AGPL-3.0" /></a>
19
19
  <a href="https://www.npmjs.com/package/mancode"><img src="https://img.shields.io/npm/v/mancode?style=flat-square" alt="npm version" /></a>
20
- <img src="https://img.shields.io/badge/status-stable%20v0.3.12-green?style=flat-square" alt="Status: stable v0.3.12" />
21
- <img src="https://img.shields.io/badge/V3-cross--CLI%20team%20Beta-FB6A21?style=flat-square" alt="V3: cross-CLI team Beta" />
20
+ <img src="https://img.shields.io/badge/status-stable%20v0.3.13-green?style=flat-square" alt="Status: stable v0.3.13" />
22
21
  <img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode-5865F2?style=flat-square" alt="Platforms: Claude Code, Cursor, Codex in ChatGPT desktop and CLI, GitHub Copilot, ZCode" />
23
- <img src="https://img.shields.io/badge/tests-passing-brightgreen?style=flat-square" alt="Tests passing" />
24
22
  </p>
25
23
 
26
24
  <p align="center">
@@ -39,17 +37,17 @@ research, planning, implementation, and review.
39
37
  [Installation](#installation) · [Usage](#usage)
40
38
 
41
39
  mancode ships with adapters for Claude Code, Cursor, Codex in the ChatGPT
42
- desktop app and CLI, GitHub Copilot, and ZCode. V3 keeps the original `man*`
40
+ desktop app and CLI, GitHub Copilot, and ZCode. It keeps the original `man*`
43
41
  entries on every platform and connects them to one Context Pack and workflow
44
42
  authority through static bootstraps.
45
43
 
46
44
  mancode installs three things:
47
45
 
48
- 1. **V3 authority** for explicit sessions, TaskRefs, Context Packs, workflows,
46
+ 1. **Workflow authority** for explicit sessions, TaskRefs, Context Packs, workflows,
49
47
  and team coordination.
50
48
  2. **Skills / modes** for `solo`, `/manba`, `/man`, `/manteam`, `/manps`, and
51
49
  `/mansolo`.
52
- 3. **Platform bootstraps** that connect those original entries to V3; only
50
+ 3. **Platform bootstraps** that connect those original entries to mancode; only
53
51
  `--legacy` installs the old hooks.
54
52
 
55
53
  Use mancode when an AI coding agent writes too much code, ignores your existing
@@ -90,13 +88,36 @@ These are agent skills, not deprecated custom prompts. See the official
90
88
  [slash-command](https://learn.chatgpt.com/docs/reference/slash-commands) docs.
91
89
  Existing workflow metadata remains compatible and does not need migration.
92
90
 
93
- ## V3 Cross-CLI and Team Beta
91
+ ## Continue Work Across Sessions
94
92
 
95
- V3 gives new team projects stable `TaskRef` context, isolated sessions,
96
- governance ledgers, worktree claims and handoffs, and optional git-ref
97
- coordination across clones. It is a **hard-gated Beta**: adapters bootstrap
98
- Claude Code, Cursor, Codex, GitHub Copilot, and ZCode, but platform files never
99
- become the authority for task or session state.
93
+ mancode keeps goals, requirements, plans, validation results, and handoff notes
94
+ under a stable `TaskRef`. When you open a new chat window, restart your coding
95
+ agent, or continue from another supported CLI, the new session can resume the
96
+ same task and load a purpose-specific Context Pack without depending on the old
97
+ conversation remaining open.
98
+
99
+ This resumes **task context**, not raw chat history. Sessions from different
100
+ clients remain isolated. A new session uses its own client identity and
101
+ explicitly resumes the existing TaskRef, preserving continuity without treating
102
+ one window's temporary state as another window's identity.
103
+
104
+ ```bash
105
+ mancode status --json
106
+ mancode context session new --client claude-code
107
+ mancode context resume <namespace:ULID> --session <id> --client claude-code
108
+ mancode context show --purpose orient --session <id> --client claude-code
109
+ ```
110
+
111
+ The original `/man`, `/manba`, and `/manteam` entries handle these steps. The
112
+ CLI form above is useful for diagnostics, automation, or manual recovery.
113
+
114
+ ## Cross-Client and Team Collaboration
115
+
116
+ mancode gives team projects stable TaskRefs, isolated sessions, governance
117
+ ledgers, worktree claims and handoffs, and optional git-ref coordination across
118
+ clones. Claude Code, Cursor, Codex, GitHub Copilot, and ZCode use the same
119
+ workflow data through platform bootstraps; platform files do not hold task or
120
+ session copies.
100
121
 
101
122
  For a new project, start with one platform you actually use:
102
123
 
@@ -107,38 +128,19 @@ mancode context session new --client claude-code
107
128
  mancode list-platforms
108
129
  ```
109
130
 
110
- Plain `mancode init` is now the V3 entry and still generates the original
111
- `man`, `manba`, `manteam`, `manps`, and `mansolo` host commands. No separate V3
112
- command name is required. `--v3` remains an explicit compatibility alias; use
131
+ Plain `mancode init` generates the original `man`, `manba`, `manteam`, `manps`,
132
+ and `mansolo` host commands. No separate command family is required. Use
113
133
  `mancode init --legacy` only when the old `state.json` architecture is required.
114
134
 
115
135
  Use the CLI for creation, resume, and coordination: `mancode workflow create`,
116
136
  `mancode context resume`, `mancode team claim`, and `mancode team handoff`. For
117
137
  an existing project, begin with `mancode migrate context --dry-run`, then follow
118
138
  its stage and activation report. Do not manually mix legacy `state.json` writes
119
- with V3 authority.
120
-
121
- ### Beta validation boundary
122
-
123
- - The `main` branch requires a Windows gate that runs smoke tests in CMD,
124
- PowerShell, and Git Bash.
125
- - `mancode context beta --release-candidate <commit> --json` checks activation,
126
- adapters, repair state, worktree binding, and session evidence for all five
127
- platforms. Evidence must bind to that immutable release candidate; any blocker
128
- stops broad enablement.
129
- - Each platform must prove distinct sessions in two real host windows, child-command
130
- propagation, and child-agent inheritance (or record a specific reason it is not
131
- applicable). `context session spike` records an operator-attested real-host result;
132
- it never infers propagation from a temporary environment variable. Stored evidence
133
- never includes raw session keys.
134
-
135
- Until that gate passes, use an explicit `--session <id>` and do not treat host
136
- identity as verified. This lets you try V3 without presenting unproven
137
- cross-platform session behavior as a fact.
139
+ with current workflow authority.
138
140
 
139
141
  ## What Gets Installed
140
142
 
141
- By default, `mancode init` creates V3 authority and platform integration files:
143
+ By default, `mancode init` creates mancode workflow and platform integration files:
142
144
 
143
145
  ```text
144
146
  .mancode/
@@ -156,7 +158,7 @@ AGENTS.md # Codex (ChatGPT desktop/CLI): managed instruct
156
158
  .github/prompts/ # GitHub Copilot: original mode prompts
157
159
  ```
158
160
 
159
- `.mancode/` separates shareable V3 authority from checkout-local sessions,
161
+ `.mancode/` separates shareable workflow data from checkout-local sessions,
160
162
  workflows, and scan reports. Platform files contain only bootstrap guidance and
161
163
  the original mode entries, never task/session snapshots. `mancode init
162
164
  --legacy` creates the old `state.json` layout.
@@ -187,7 +189,7 @@ mancode is useful for:
187
189
 
188
190
  - Developers using AI coding agents on backend, web, mobile, desktop, CLI,
189
191
  library, data, or mixed projects
190
- - Users who want V3 Context Packs, skills, and explicit governance behind the original `man*` entries
192
+ - Users who want Context Packs, skills, and explicit governance behind the original `man*` entries
191
193
  - Teams that want AI agents to reuse existing components and patterns
192
194
  - Projects that need a repeatable AI-assisted code review workflow
193
195
  - UI codebases with existing design conventions (when a UI is present)
@@ -242,8 +244,8 @@ The default workflow asks six questions before writing code:
242
244
 
243
245
  ## Usage
244
246
 
245
- V3 no longer persists a “current mode.” Invoke the original command for the
246
- kind of work you need; the entry resolves V3 status, session, TaskRef, and
247
+ mancode does not persist a “current mode.” Invoke the original command for the
248
+ kind of work you need; the entry resolves status, session, TaskRef, and
247
249
  Context Pack:
248
250
 
249
251
  | Mode | Best For | What It Does |
@@ -253,7 +255,7 @@ Context Pack:
253
255
  | `/man` | Work needing requirement alignment or a formal plan · playoffs | Research, recommendations, and a durable plan; then choose lightweight solo delivery or the full 9-step workflow |
254
256
  | `/manteam` | Team projects · five on the floor, one mind | Shared memory, decisions, coordination, and Conventional Commits |
255
257
  | `/manps` | Cleanup and maintenance · preseason | Project health scan with Markdown and JSON reports |
256
- | `/mansolo` | Returning to lightweight work | Writes no legacy mode; performs an explicit V3 handoff only when needed |
258
+ | `/mansolo` | Returning to lightweight work | Writes no legacy mode; performs an explicit handoff only when needed |
257
259
 
258
260
  ## How `/man` Works: Playoffs Mode
259
261
 
@@ -286,10 +288,10 @@ decision was made later.
286
288
 
287
289
  ### Bootstrap and Adapters
288
290
 
289
- V3 assumes no hook approval. Each adapter installs a stable bootstrap plus the
290
- original `man/manba/manteam/manps/mansolo` entries; task, mode, and session
291
- authority stays in V3. Claude Code's internal bootstrap is hidden from users,
292
- so it does not add a public `/mancode-v3` command. Until real-host session
291
+ mancode assumes no hook approval. Each adapter installs a stable bootstrap plus
292
+ the original `man/manba/manteam/manps/mansolo` entries; task, mode, and session
293
+ authority stays in mancode workflow data. Claude Code's internal bootstrap is
294
+ hidden from users, so it does not add another public command. Until real-host session
293
295
  propagation is proven, mutations require an explicit `--session`.
294
296
 
295
297
  Only `mancode init --legacy` installs the old Claude hooks that read
@@ -297,7 +299,7 @@ Only `mancode init --legacy` installs the old Claude hooks that read
297
299
 
298
300
  ### Design Token Awareness
299
301
 
300
- V3 writes detected project facts to `.mancode/shared/context/project.json` and
302
+ mancode writes detected project facts to `.mancode/shared/context/project.json` and
301
303
  keeps checkout-local design-token caches under `.mancode/local/cache/`. It can
302
304
  work with backend services, web applications, mobile apps, desktop apps, CLIs,
303
305
  libraries, and mixed repositories; it does not assume a JavaScript or UI stack.
@@ -333,7 +335,7 @@ Before writing new code, mancode pushes the agent through this priority order:
333
335
 
334
336
  ### Team Memory
335
337
 
336
- `/manteam` reads and updates confirmed entities in V3 shared authority:
338
+ `/manteam` reads and updates confirmed entities in shared workflow data:
337
339
 
338
340
  ```text
339
341
  .mancode/shared/
@@ -348,7 +350,7 @@ it should behave, and why previous decisions were made.
348
350
 
349
351
  ## Installation
350
352
 
351
- **Status**: stable v0.3.12. Claude Code, Cursor, Codex in the ChatGPT desktop app
353
+ **Status**: stable v0.3.13. Claude Code, Cursor, Codex in the ChatGPT desktop app
352
354
  and CLI, and GitHub Copilot are supported. ZCode adapter support is included,
353
355
  with project skill discovery kept behind a verification gate before release.
354
356
 
@@ -368,7 +370,7 @@ mancode init --platform all
368
370
 
369
371
  Supported platforms:
370
372
 
371
- - Claude Code: hidden bootstrap plus original mode skills; V3 does not depend on hooks
373
+ - Claude Code: hidden bootstrap plus original mode skills; the default setup does not depend on hooks
372
374
  - Cursor: `.cursor/rules/*.mdc` bootstrap plus original mode commands under `.cursor/commands/`
373
375
  - Codex (ChatGPT desktop app, CLI, and IDE extension): managed `AGENTS.md`
374
376
  block plus `$man*` repo skills under `.agents/skills/`
@@ -390,8 +392,8 @@ mancode init --platform PLATFORMS # One or more: claude-code,cursor,codex,copilo
390
392
  mancode init --empty # Allow a safe empty directory in non-interactive scripts
391
393
  mancode init --lang zh-CN # Explicit initialization language (zh-CN or en)
392
394
  mancode refresh-project # Refresh facts after Git or project files are added
393
- mancode install --force # Repair or reinstall the selected V3 adapter
394
- mancode install --minimal # V3 is already bootstrap-only; retained for compatibility
395
+ mancode install --force # Repair or reinstall the selected adapter
396
+ mancode install --minimal # The bootstrap is already minimal; retained for compatibility
395
397
  ```
396
398
 
397
399
  ## Agent Modes
@@ -442,19 +444,18 @@ mancode version
442
444
 
443
445
  ### `mancode status`
444
446
 
445
- Simplified V3 output:
447
+ Simplified output:
446
448
 
447
449
  ```text
448
- mancode v0.3.12 (V3 authority)
450
+ mancode v0.3.13
449
451
 
450
452
  Project: my-app
451
- Activation: v3_active
452
453
  Runtime: ready
453
454
  Transport: local
454
455
  Identity: not configured
455
456
  Session evidence: explicit required
456
457
 
457
- V3 adapter status:
458
+ mancode adapter status:
458
459
  ○ Claude Code: not installed
459
460
  ○ Cursor: not installed
460
461
  ✓ Codex (ChatGPT desktop/CLI): ready
@@ -475,8 +476,8 @@ Issue DB: .mancode/local/preseason-issues.json
475
476
 
476
477
  ### `mancode init`
477
478
 
478
- Initializes V3 authority and connects the selected platform's original mode
479
- entries to V3 Context Packs and workflow commands. It does not create legacy
479
+ Initializes mancode workflow data and connects the selected platform's original
480
+ mode entries to Context Packs and workflow commands. It does not create legacy
480
481
  `state.json`; use `mancode init --legacy` explicitly for the old architecture.
481
482
 
482
483
  ```bash
@@ -485,7 +486,7 @@ mancode init
485
486
 
486
487
  ### `mancode status`
487
488
 
488
- Shows V3 activation, runtime binding, identity/session evidence, transport, and
489
+ Shows activation, runtime binding, identity/session evidence, transport, and
489
490
  the physical readiness of each platform bootstrap and original mode entry.
490
491
 
491
492
  ```bash
@@ -495,7 +496,7 @@ mancode status --json
495
496
 
496
497
  ### `mancode workflow`
497
498
 
498
- Creates and manages V3 workflows used by `/manba`, `/man`, and `/manteam`.
499
+ Creates and manages workflows used by `/manba`, `/man`, and `/manteam`.
499
500
  Every mutation uses a `namespace:ULID` TaskRef, an explicit session, and the
500
501
  latest expected revision. Requirements, plan, review, verification, and
501
502
  completion use dedicated commands instead of the legacy `--step` protocol.
@@ -541,7 +542,7 @@ tokens. It updates:
541
542
  .mancode/shared/context/project.json
542
543
  ```
543
544
 
544
- V3 adapters are static bootstraps that embed no task or style snapshot, so
545
+ Platform adapters are static bootstraps that embed no task or style snapshot, so
545
546
  refreshing project facts does not require reinstalling them.
546
547
 
547
548
  ## Project Files
@@ -553,7 +554,7 @@ mancode/
553
554
  │ ├── mancode status
554
555
  │ └── mancode install <platform>
555
556
 
556
- ├── V3 authority
557
+ ├── Workflow authority
557
558
  │ ├── shared/context + team
558
559
  │ └── local/session + workflow + cache
559
560
 
@@ -681,7 +682,7 @@ are opt-in for work that needs planning, tests, and review.
681
682
 
682
683
  Yes. mancode supports Claude Code, Cursor, Codex in the ChatGPT desktop app and
683
684
  CLI, GitHub Copilot, and experimental ZCode adaptation through static
684
- bootstraps and original mode entries. V3 treats no platform hook as approved by
685
+ bootstraps and original mode entries. mancode treats no platform hook as approved by
685
686
  default.
686
687
 
687
688
  ### Can mancode help with frontend consistency?
package/README.md CHANGED
@@ -17,10 +17,8 @@
17
17
  <p align="center">
18
18
  <a href="./LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="许可证:AGPL-3.0" /></a>
19
19
  <a href="https://www.npmjs.com/package/mancode"><img src="https://img.shields.io/npm/v/mancode?style=flat-square" alt="npm 版本" /></a>
20
- <img src="https://img.shields.io/badge/status-stable%20v0.3.12-green?style=flat-square" alt="状态:稳定版 v0.3.12" />
21
- <img src="https://img.shields.io/badge/V3-%E8%B7%A8%20CLI%20%E5%9B%A2%E9%98%9F%20Beta-FB6A21?style=flat-square" alt="V3:跨 CLI 团队协作 Beta" />
20
+ <img src="https://img.shields.io/badge/status-stable%20v0.3.13-green?style=flat-square" alt="状态:稳定版 v0.3.13" />
22
21
  <img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode-5865F2?style=flat-square" alt="平台:Claude Code、Cursor、ChatGPT 桌面端 Codex、Codex CLI、GitHub Copilot、ZCode" />
23
- <img src="https://img.shields.io/badge/tests-passing-brightgreen?style=flat-square" alt="测试通过" />
24
22
  </p>
25
23
 
26
24
  <p align="center">
@@ -39,15 +37,15 @@
39
37
  负责调研、计划、实现和审查。
40
38
 
41
39
  mancode 当前支持 Claude Code、Cursor、ChatGPT 桌面端中的 Codex、Codex CLI、
42
- GitHub Copilot 和 ZCode。V3 在每个平台继续使用原 `man*` 入口,并通过静态
43
- bootstrap 接入统一 Context Pack 与 workflow authority。
40
+ GitHub Copilot 和 ZCode。每个平台继续使用原来的 `man*` 入口,并通过静态
41
+ bootstrap 接入统一的 Context Pack 与 workflow authority。
44
42
 
45
43
  mancode 会安装三类能力:
46
44
 
47
- 1. **V3 authority**:管理显式 session、TaskRef、Context Pack、workflow 和团队协调。
45
+ 1. **工作流权威数据**:管理显式 session、TaskRef、Context Pack、workflow 和团队协调。
48
46
  2. **Skills / modes**:提供 `solo`、`/manba`、`/man`、`/manteam`、`/manps`、
49
47
  `/mansolo` 工作流模式。
50
- 3. **平台 bootstrap**:把原入口接到 V3;只有 `--legacy` 才安装旧 hooks。
48
+ 3. **平台 bootstrap**:把原入口接到 mancode;只有 `--legacy` 才安装旧 hooks。
51
49
 
52
50
  当 AI 编码代理写太多代码、忽略已有 UI 系统、跳过计划,或者关键改动需要稳定工程流程时,
53
51
  mancode 可以作为一层本地工作流约束。
@@ -83,12 +81,31 @@ ChatGPT 桌面端、Codex CLI 和 Codex IDE 扩展会从 `.agents/skills/` 读
83
81
  和 [slash command 文档](https://learn.chatgpt.com/docs/reference/slash-commands)。
84
82
  已有 workflow 元数据继续兼容,不需要迁移。
85
83
 
86
- ## V3 跨 CLI 与团队协作 Beta
84
+ ## 跨会话继续工作
87
85
 
88
- V3 为新团队项目提供稳定 `TaskRef` 上下文、隔离 session、治理账本、worktree
89
- claim/handoff,以及可选的 git-ref clone 协调。它是**带硬门禁的 Beta**:adapter 能为
90
- Claude Code、Cursor、Codex、GitHub Copilot 和 ZCode 提供 bootstrap,但不会把平台文件
91
- 当作任务或 session 状态的权威来源。
86
+ mancode 把目标、需求、计划、检查结果和交接信息保存在稳定 `TaskRef` 下。换一个聊天
87
+ 窗口、重启编码 Agent,或者从另一个受支持的 CLI 继续时,新会话可以恢复同一项任务,
88
+ 再按当前目的读取精简的 Context Pack,而不必依赖上一段对话仍然打开。
89
+
90
+ 它续接的是**任务上下文**,不是原始聊天记录。不同客户端的 session 仍然隔离;新会话
91
+ 必须使用自己的 client 身份,并显式恢复已有 TaskRef。这样既能延续工作,也不会把一个
92
+ 窗口的临时状态误当成另一个窗口的身份。
93
+
94
+ ```bash
95
+ mancode status --json
96
+ mancode context session new --client claude-code
97
+ mancode context resume <namespace:ULID> --session <id> --client claude-code
98
+ mancode context show --purpose orient --session <id> --client claude-code
99
+ ```
100
+
101
+ 原来的 `/man`、`/manba` 和 `/manteam` 入口会处理这些步骤。上面的 CLI 形式适合排查、
102
+ 自动化或手工恢复任务。
103
+
104
+ ## 跨客户端与团队协作
105
+
106
+ mancode 为团队项目提供稳定 TaskRef、隔离 session、治理账本、worktree claim/handoff,
107
+ 以及可选的 git-ref 跨 clone 协调。Claude Code、Cursor、Codex、GitHub Copilot 和
108
+ ZCode 都通过 bootstrap 使用同一套工作流数据;平台文件本身不保存任务或 session 副本。
92
109
 
93
110
  在全新项目中,从一个实际使用的平台开始:
94
111
 
@@ -99,30 +116,18 @@ mancode context session new --client claude-code
99
116
  mancode list-platforms
100
117
  ```
101
118
 
102
- 普通 `mancode init` 现在就是 V3 入口,并继续生成原来的 `man`、`manba`、
103
- `manteam`、`manps`、`mansolo` 平台命令;不需要改用另一套 V3 命令名。
104
- `--v3` 仅保留为显式兼容别名;确实需要旧 `state.json` 架构时才使用
119
+ 普通 `mancode init` 会生成原来的 `man`、`manba`、`manteam`、`manps`、
120
+ `mansolo` 平台命令,不需要改用另一套命令名。确实需要旧 `state.json` 架构时才使用
105
121
  `mancode init --legacy`。
106
122
 
107
123
  创建、恢复和协作均通过 CLI 完成:`mancode workflow create`、`mancode context resume`、
108
124
  `mancode team claim` 和 `mancode team handoff`。已有项目先运行
109
125
  `mancode migrate context --dry-run`,再按迁移报告确认 stage/activation;不要手工混写
110
- legacy `state.json` 与 V3 authority。
111
-
112
- ### Beta 的验证边界
113
-
114
- - `main` 的 Windows 门禁会从 CMD、PowerShell 和 Git Bash 运行 smoke 测试。
115
- - `mancode context beta --release-candidate <commit> --json` 会检查 activation、adapter、repair、worktree binding 和
116
- 五个平台的 session evidence;evidence 必须绑定同一个不可变发布候选,任何 blocker 都会阻止大范围启用。
117
- - 每个平台都必须在真实宿主中证明两个窗口的 session 区分、子命令传播以及子 agent 继承(或记录明确的不适用原因)。
118
- `context session spike` 只记录操作者报告的真实宿主结果,不会由临时环境变量自动推断传播成功;证据不保存原始 session key。
119
-
120
- 在门禁通过前,继续显式传入 `--session <id>`,不要把 host identity 视为已验证。这样可以
121
- 先试用 V3,同时避免把尚未证明的跨平台 session 行为当作事实。
126
+ legacy `state.json` 与当前工作流权威数据。
122
127
 
123
128
  ## 安装后创建哪些文件?
124
129
 
125
- 默认的 `mancode init` 会创建 V3 权威目录和平台适配文件:
130
+ 默认的 `mancode init` 会创建 mancode 工作流目录和平台适配文件:
126
131
 
127
132
  ```text
128
133
  .mancode/
@@ -140,7 +145,7 @@ AGENTS.md # Codex(ChatGPT 桌面端/CLI):托管 ins
140
145
  .github/prompts/ # GitHub Copilot:原 mode prompts
141
146
  ```
142
147
 
143
- `.mancode/` 把可共享的 V3 权威与 checkout-local 的 session、workflow 和扫描报告分开。
148
+ `.mancode/` 把可共享的工作流数据与 checkout-local 的 session、workflow 和扫描报告分开。
144
149
  平台文件只保存 bootstrap 和原模式入口,不保存 task/session 副本。
145
150
  `mancode init --legacy` 才会创建旧的 `state.json` 布局。
146
151
 
@@ -159,7 +164,7 @@ AGENTS.md # Codex(ChatGPT 桌面端/CLI):托管 ins
159
164
  mancode 适合:
160
165
 
161
166
  - 正在使用 AI 编码代理的后端、Web、移动端、桌面端、CLI、库、数据或混合项目
162
- - 希望在原 `man*` 命令中使用 V3 Context Pack、skills 和显式治理的用户
167
+ - 希望在原 `man*` 命令中使用 Context Pack、skills 和显式治理的用户
163
168
  - 希望 AI 代理复用已有组件和代码模式的团队
164
169
  - 需要可重复 AI 辅助代码审查流程的项目
165
170
  - 已有 UI 组件、主题、CSS 变量或设计约定的界面项目
@@ -205,8 +210,8 @@ mancode 不是 Claude Code、Cursor、Codex 或 Copilot 的替代品。它是在
205
210
 
206
211
  ## 使用方法
207
212
 
208
- V3 不再把“当前模式”写进持久状态。需要某种工作方式时,直接在 AI 编码代理的
209
- 对话中调用原命令;入口会解析 V3 status、session、TaskRef 和 Context Pack:
213
+ mancode 不把“当前模式”写进持久状态。需要某种工作方式时,直接在 AI 编码代理的
214
+ 对话中调用原命令;入口会解析 status、session、TaskRef 和 Context Pack:
210
215
 
211
216
  | 模式 | 适合场景 | 做什么 |
212
217
  |---|---|---|
@@ -215,7 +220,7 @@ V3 不再把“当前模式”写进持久状态。需要某种工作方式时
215
220
  | `/man` | 需要需求对齐或正式计划的改动 · 季后赛 | 调研、方案推荐和持久计划;确认后选择 solo 轻量开发或完整 9 步治理 |
216
221
  | `/manteam` | 团队项目 · 上场五人,一条心 | 共享记忆、决策记录、协作和 Conventional Commits |
217
222
  | `/manps` | 清理和维护 · 季前赛 | 输出 Markdown 和 JSON 项目健康报告 |
218
- | `/mansolo` | 回到轻量工作 | 不写 legacy mode;需要时执行显式 V3 handoff |
223
+ | `/mansolo` | 回到轻量工作 | 不写 legacy mode;需要时执行显式 handoff |
219
224
 
220
225
  ## `/man` 如何工作:季后赛模式
221
226
 
@@ -245,16 +250,16 @@ V3 不再把“当前模式”写进持久状态。需要某种工作方式时
245
250
 
246
251
  ### Bootstrap 和 Adapters
247
252
 
248
- V3 默认不假设任何 hook 已获批准。平台 adapter 只安装稳定 bootstrap 与原来的
249
- `man/manba/manteam/manps/mansolo` 入口;任务、模式和 session 仍以 V3 authority
250
- 为准。Claude Code 的内部 bootstrap 对用户隐藏,不会增加 `/mancode-v3` 公共命令。
253
+ mancode 默认不假设任何 hook 已获批准。平台 adapter 只安装稳定 bootstrap 与原来的
254
+ `man/manba/manteam/manps/mansolo` 入口;任务、模式和 session mancode 工作流数据
255
+ 为准。Claude Code 的内部 bootstrap 对用户隐藏,不会增加额外的公共命令。
251
256
  没有经真实宿主验证的 session 传播时,写命令必须显式传入 `--session`。
252
257
 
253
258
  只有 `mancode init --legacy` 才安装读取 `.mancode/state.json` 的旧 Claude hooks。
254
259
 
255
260
  ### 设计 Token 感知
256
261
 
257
- mancode 会把检测到的 V3 项目事实写入 `.mancode/shared/context/project.json`;
262
+ mancode 会把检测到的项目事实写入 `.mancode/shared/context/project.json`;
258
263
  checkout-local 的设计 token 缓存位于 `.mancode/local/cache/`。它可用于后端服务、
259
264
  Web、移动端、桌面端、CLI、库和混合仓库;不会预设 JavaScript 或 UI 技术栈。
260
265
 
@@ -286,7 +291,7 @@ src/components/
286
291
 
287
292
  ### 团队记忆
288
293
 
289
- `/manteam` 通过 V3 shared authority 读写经过确认的团队实体:
294
+ `/manteam` 通过共享工作流数据读写经过确认的团队实体:
290
295
 
291
296
  ```text
292
297
  .mancode/shared/
@@ -300,7 +305,7 @@ src/components/
300
305
 
301
306
  ## 安装
302
307
 
303
- **状态**:稳定版 v0.3.12。Claude Code、Cursor、ChatGPT 桌面端中的 Codex、
308
+ **状态**:稳定版 v0.3.13。Claude Code、Cursor、ChatGPT 桌面端中的 Codex、
304
309
  Codex CLI 和 GitHub Copilot 均已支持。ZCode adapter 已接入,但项目级 skill
305
310
  发现路径在发布前仍作为验证门禁。
306
311
 
@@ -319,7 +324,7 @@ mancode init --platform all
319
324
 
320
325
  平台支持:
321
326
 
322
- - Claude Code:隐藏 bootstrap 与原 mode skills;V3 默认不依赖 hooks
327
+ - Claude Code:隐藏 bootstrap 与原 mode skills;默认不依赖 hooks
323
328
  - Cursor:`.cursor/rules/*.mdc` bootstrap 与 `.cursor/commands/` 原 mode commands
324
329
  - Codex(ChatGPT 桌面端、CLI、IDE 扩展):托管 `AGENTS.md` block,并在
325
330
  `.agents/skills/` 下提供 `$man*` 项目 skills
@@ -340,8 +345,8 @@ mancode init --platform PLATFORMS # 一个或多个:claude-code,cursor,codex,c
340
345
  mancode init --empty # 非交互脚本中允许安全的空目录
341
346
  mancode init --lang zh-CN # 显式指定初始化语言(zh-CN 或 en)
342
347
  mancode refresh-project # 后续加入 Git 或项目文件后刷新项目事实
343
- mancode install --force # 修复或重装所选 V3 adapter
344
- mancode install --minimal # V3 bootstrap 已是最小形态;保留兼容参数
348
+ mancode install --force # 修复或重装所选 adapter
349
+ mancode install --minimal # bootstrap 已是最小形态;保留兼容参数
345
350
  ```
346
351
 
347
352
  ## Agent Modes
@@ -392,19 +397,18 @@ mancode version
392
397
 
393
398
  ### `mancode status`
394
399
 
395
- 以下是 V3 项目的简化输出示例:
400
+ 以下是简化输出示例:
396
401
 
397
402
  ```text
398
- mancode v0.3.12 (V3 authority)
403
+ mancode v0.3.13
399
404
 
400
405
  Project: my-app
401
- Activation: v3_active
402
406
  Runtime: ready
403
407
  Transport: local
404
408
  Identity: not configured
405
409
  Session evidence: explicit required
406
410
 
407
- V3 adapter status:
411
+ mancode adapter status:
408
412
  ○ Claude Code: not installed
409
413
  ○ Cursor: not installed
410
414
  ✓ Codex (ChatGPT desktop/CLI): ready
@@ -425,7 +429,7 @@ Issue DB: .mancode/local/preseason-issues.json
425
429
 
426
430
  ### `mancode init`
427
431
 
428
- 初始化 V3 authority,并把所选平台的原 mode 入口接到 V3 Context Pack 与 workflow CLI。
432
+ 初始化 mancode 工作流数据,并把所选平台的原 mode 入口接到 Context Pack 与 workflow CLI。
429
433
  不会创建 legacy `state.json`;旧架构需显式运行 `mancode init --legacy`。
430
434
 
431
435
  ```bash
@@ -434,7 +438,7 @@ mancode init
434
438
 
435
439
  ### `mancode status`
436
440
 
437
- 显示 V3 activation、runtime binding、identity/session evidence、transport 和各平台
441
+ 显示 activation、runtime binding、identity/session evidence、transport 和各平台
438
442
  bootstrap/原 mode 入口的实际就绪状态。
439
443
 
440
444
  ```bash
@@ -444,7 +448,7 @@ mancode status --json
444
448
 
445
449
  ### `mancode workflow`
446
450
 
447
- 创建和管理 `/manba`、`/man` 和 `/manteam` 使用的 V3 workflow。每次写入使用
451
+ 创建和管理 `/manba`、`/man` 和 `/manteam` 使用的 workflow。每次写入使用
448
452
  `namespace:ULID` TaskRef、显式 session 和最新 expected revision;requirements、plan、
449
453
  review、verification 与 completion 各走专用命令,不再使用 legacy `--step` 协议。
450
454
 
@@ -488,7 +492,7 @@ mancode manps config
488
492
  .mancode/shared/context/project.json
489
493
  ```
490
494
 
491
- V3 adapter 是不嵌入 task/style 快照的静态 bootstrap,因此刷新项目事实后不需要重装。
495
+ 平台 adapter 是不嵌入 task/style 快照的静态 bootstrap,因此刷新项目事实后不需要重装。
492
496
 
493
497
  ## 项目文件
494
498
 
@@ -499,7 +503,7 @@ mancode/
499
503
  │ ├── mancode status
500
504
  │ └── mancode install <platform>
501
505
 
502
- ├── V3 authority
506
+ ├── Workflow authority
503
507
  │ ├── shared/context + team
504
508
  │ └── local/session + workflow + cache
505
509
 
@@ -615,7 +619,7 @@ hooks。用户自定义的 rules 和 instructions 会被保留。
615
619
 
616
620
  支持。mancode 通过静态 bootstrap 和原 mode 入口支持 Claude Code、Cursor、
617
621
  ChatGPT 桌面端中的 Codex、Codex CLI、GitHub Copilot,并提供实验性 ZCode adapter。
618
- V3 默认不把任何平台的 hook 当成已批准能力。
622
+ mancode 默认不把任何平台的 hook 当成已批准能力。
619
623
 
620
624
  ### mancode 能改善前端一致性吗?
621
625