mancode 0.6.5 → 0.6.6
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 +80 -37
- package/README.md +52 -21
- package/dist/{chunk-E2K22WYH.js → chunk-D5ABGAF4.js} +164 -70
- package/dist/{chunk-E2K22WYH.js.map → chunk-D5ABGAF4.js.map} +1 -1
- package/dist/{chunk-WJ6WARGG.js → chunk-RMHUYJXB.js} +46 -47
- package/dist/chunk-RMHUYJXB.js.map +1 -0
- package/dist/cli.js +608 -442
- package/dist/cli.js.map +1 -1
- package/dist/{store-GSLSLZ7D.js → store-LLXL7QYG.js} +2 -2
- package/dist/{v3-adapter-T3IKK3LU.js → v3-adapter-KA2NOVI5.js} +2 -2
- package/package.json +3 -2
- package/dist/chunk-WJ6WARGG.js.map +0 -1
- /package/dist/{store-GSLSLZ7D.js.map → store-LLXL7QYG.js.map} +0 -0
- /package/dist/{v3-adapter-T3IKK3LU.js.map → v3-adapter-KA2NOVI5.js.map} +0 -0
package/README.en.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<p align="center">
|
|
26
26
|
<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>
|
|
27
27
|
<a href="https://www.npmjs.com/package/mancode"><img src="https://img.shields.io/npm/v/mancode?style=flat-square" alt="npm version" /></a>
|
|
28
|
-
<img src="https://img.shields.io/badge/status-Continuity%20v0.6.
|
|
28
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.6.6-2f855a?style=flat-square" alt="Status: mancode Continuity v0.6.6" />
|
|
29
29
|
<img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode%20%7C%20Kimi%20Code%20%7C%20Qoder%20%7C%20DeepSeek%20Harness-5865F2?style=flat-square" alt="Platforms: Claude Code, Cursor, Codex in ChatGPT desktop and CLI, GitHub Copilot, ZCode, Kimi Code, Qoder, DeepSeek Harness" />
|
|
30
30
|
</p>
|
|
31
31
|
|
|
@@ -104,9 +104,9 @@ already use.
|
|
|
104
104
|
- **Align requirements before planning**: `/man` investigates the project,
|
|
105
105
|
clarifies decisions that would change the solution, recommends viable
|
|
106
106
|
options, and produces a durable plan without automatically starting full execution.
|
|
107
|
-
- **Choose the
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
- **Choose the executor**: after plan approval, keep the plan, hand implementation
|
|
108
|
+
to one Solo session, or continue full `/man` execution. A governed Solo handoff
|
|
109
|
+
retains the original plan, scope, review, and acceptance gates.
|
|
110
110
|
- **Bind module delivery to a document**: opt into `--delivery` for a new `/man`
|
|
111
111
|
task and connect one Markdown plan to implementation scope, acceptance
|
|
112
112
|
criteria, verification evidence, review, and completion.
|
|
@@ -178,32 +178,52 @@ mancode is useful for:
|
|
|
178
178
|
- UI codebases with existing design conventions (when a UI is present)
|
|
179
179
|
- Teams that want local workflow memory and a CLI that sends no telemetry
|
|
180
180
|
|
|
181
|
-
###
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
181
|
+
### Model Autonomy and Engineering Standards
|
|
182
|
+
|
|
183
|
+
Persistent guidance keeps project facts and necessary boundaries. Skills supply
|
|
184
|
+
specialist methods on demand; the task's requirements, plan, review, verification,
|
|
185
|
+
and completion gates preserve its engineering commitments.
|
|
186
|
+
|
|
187
|
+
- Ordinary `solo` needs no actor identity, session, TaskRef, or formal plan. The
|
|
188
|
+
model chooses implementation steps, runs proportionate checks, and inspects the
|
|
189
|
+
actual diff. Add a reviewer when needed.
|
|
190
|
+
- `/man` retains requirements, approved plans, scope, verification, review, and
|
|
191
|
+
commit requirements. Reuse authorization while it remains applicable; new
|
|
192
|
+
material decisions or impacts outside the approved scope still need confirmation.
|
|
193
|
+
- Man → Solo changes the executor, not the delivery standard. Missing, failed,
|
|
194
|
+
or stale evidence blocks completion; ordinary Solo exemptions do not apply.
|
|
195
|
+
- Findings require concrete evidence and user impact. Remediation follows the
|
|
196
|
+
original task policy, with additional review when new defects justify it.
|
|
197
|
+
- A successful reviewer process or verification command does not replace passing
|
|
198
|
+
ledger entries and the completion gate. Keep self-review declarations honest.
|
|
199
|
+
|
|
200
|
+
The model can choose tools and implementation steps without rewriting approved
|
|
201
|
+
goals or acceptance criteria.
|
|
202
|
+
|
|
203
|
+
### v0.6.6 Updates
|
|
204
|
+
|
|
205
|
+
- Resume an authorized `man` plan-only task through its original `plan confirm`,
|
|
206
|
+
preserving the approved plan, scope, and TaskRef.
|
|
207
|
+
- Complete `manba` from diagnostic requirements, actual verification evidence,
|
|
208
|
+
and a typed outcome, without an inapplicable Man plan or module review.
|
|
209
|
+
- Fix exact-file claim/exclusion false positives in `manteam` while retaining
|
|
210
|
+
duplicate-claim, scope, and exclusion checks.
|
|
211
|
+
- Record formal review and verification for governed Solo handoffs. Runtime locks
|
|
212
|
+
avoid partial-owner reads and abandoned initialization locks; Windows CI directly
|
|
213
|
+
exercises write faults and killed-process recovery.
|
|
214
|
+
|
|
215
|
+
For `manba`, `fixed`, `verified`, and `no_repro` require passing required evidence.
|
|
216
|
+
`manual_test_required` records explicitly outstanding manual checks; it does not
|
|
217
|
+
mean the behavior was verified or satisfy a parent task's acceptance.
|
|
198
218
|
|
|
199
219
|
<span id="installation"></span>
|
|
200
220
|
|
|
201
221
|
## Installation
|
|
202
222
|
|
|
203
|
-
**Status**: mancode Continuity v0.6.
|
|
223
|
+
**Status**: mancode Continuity v0.6.6. Claude Code, Cursor, Codex in the ChatGPT
|
|
204
224
|
desktop app and CLI, GitHub Copilot, ZCode, Kimi Code, Qoder, and DeepSeek Harness adapters are included.
|
|
205
225
|
|
|
206
|
-
Requires Node.js 22 or newer. macOS, Linux, Windows CMD, PowerShell, and Git Bash
|
|
226
|
+
Requires Node.js 22.5.0 or newer. macOS, Linux, Windows CMD, PowerShell, and Git Bash
|
|
207
227
|
are supported. Git is optional: without it, initialization continues with solo
|
|
208
228
|
team-detection defaults. Claude Code hooks run with Node and do not require Bash
|
|
209
229
|
or jq.
|
|
@@ -272,6 +292,28 @@ mancode adapter upgrade --platform codex --dry-run # Stage a preview only
|
|
|
272
292
|
mancode adapter upgrade --platform codex --confirm --operation-id <operationId> --session <id> --client <client>
|
|
273
293
|
```
|
|
274
294
|
|
|
295
|
+
### Upgrade to v0.6.6
|
|
296
|
+
|
|
297
|
+
Finish active mancode writes before upgrading and use one CLI version throughout
|
|
298
|
+
the workspace:
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
npm install -g mancode@0.6.6
|
|
302
|
+
cd your-project
|
|
303
|
+
mancode adapter status --json
|
|
304
|
+
mancode adapter upgrade --platform codex --dry-run --json
|
|
305
|
+
# Inspect the preview, then use its operationId and a valid project session/client
|
|
306
|
+
mancode adapter upgrade --platform codex --confirm \
|
|
307
|
+
--operation-id <operationId> --session <id> --client codex
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
Replace the platform and client for other hosts. Updating the npm package does
|
|
311
|
+
not overwrite installed project Skills; use adapter upgrade to synchronize them.
|
|
312
|
+
Existing tasks retain their policies and must not be recreated to bypass gates.
|
|
313
|
+
The new runtime reads legacy directory locks; older CLIs reject the new file locks,
|
|
314
|
+
so mixed versions are not fully interoperable. Anonymous historical lock directories
|
|
315
|
+
are not automatically removed. Filesystems without hard-link support fail closed.
|
|
316
|
+
|
|
275
317
|
### What Gets Installed
|
|
276
318
|
|
|
277
319
|
By default, `mancode init` creates mancode workflow and platform integration files:
|
|
@@ -312,7 +354,7 @@ Context Pack:
|
|
|
312
354
|
|---|---|---|
|
|
313
355
|
| `solo` | Daily coding · practice day | No persistent mode; uses project facts, YAGNI checks, and one bounded diff self-check |
|
|
314
356
|
| `/manba` | Diagnosis and real validation · Mamba mentality | Reproduces defects, finds root causes, drives real user flows, and runs regression checks |
|
|
315
|
-
| `/man` | Work needing requirement alignment or a formal plan · playoffs | Research, recommendations, and a durable plan; then choose
|
|
357
|
+
| `/man` | Work needing requirement alignment or a formal plan · playoffs | Research, recommendations, and a durable plan; then choose governed Solo handoff or full execution |
|
|
316
358
|
| `/manteam` | Team projects · five on the floor, one mind | Shared memory, decisions, coordination, and Conventional Commits |
|
|
317
359
|
| `/manps` | Cleanup and maintenance · preseason | Project health scan with Markdown and JSON reports |
|
|
318
360
|
| `/mansolo` | Returning to lightweight work | Writes no legacy mode; performs an explicit handoff only when needed |
|
|
@@ -366,20 +408,20 @@ cost, or acceptance, and recommends 2–3 options when a decision benefits from
|
|
|
366
408
|
guidance. It writes the plan under `.mancode/local/workflows/<ULID>/` only
|
|
367
409
|
after the requirements are ready.
|
|
368
410
|
|
|
369
|
-
Finishing the plan does not
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
and
|
|
411
|
+
Finishing the plan does not authorize implementation. At the plan gate, choose a
|
|
412
|
+
governed Solo handoff, full `/man` execution, plan-only, or plan revision. Both
|
|
413
|
+
implementation paths retain the original review and acceptance commitments. The
|
|
414
|
+
following outlines full `/man`; follow the task's existing policy and Context Pack:
|
|
373
415
|
|
|
374
416
|
1. **Scout report**: maps existing code, risks, and unknowns.
|
|
375
417
|
2. **Clarification**: asks every unresolved decision-changing question, across as many batches as needed, without repeating confirmed answers; it makes a clear recommendation when a suitable approach exists.
|
|
376
418
|
3. **Plan**: Plan Coach checks input readiness, then creates a durable plan with technical choices, boundaries, and acceptance criteria.
|
|
377
|
-
4. **Plan gate**: choose
|
|
419
|
+
4. **Plan gate**: choose governed Solo handoff, full `/man`, plan-only, or plan revision.
|
|
378
420
|
5. **Implementation**: Head Coach applies the confirmed plan.
|
|
379
421
|
6. **Validation and review scope**: run build, lint, tests, smoke checks, then select targeted or full review from the actual diff and hard-risk triggers.
|
|
380
422
|
7. **Film session 1**: evidence-backed quality review, limited to the changed behavior.
|
|
381
423
|
8. **Film session 2**: security and boundary review for full-review tasks only; duplicate root causes are suppressed.
|
|
382
|
-
9. **Wrap-up**:
|
|
424
|
+
9. **Wrap-up**: resolve blockers under the task policy, complete necessary review and verification, save delivery records, and pass the completion gate.
|
|
383
425
|
|
|
384
426
|
Skipped steps are recorded. Artifacts remain on disk so you can inspect why a
|
|
385
427
|
decision was made later.
|
|
@@ -395,8 +437,10 @@ mancode workflow create man "Add an export module" \
|
|
|
395
437
|
```
|
|
396
438
|
|
|
397
439
|
`--delivery` is an explicit, immutable opt-in for new `man` tasks. It does not
|
|
398
|
-
upgrade existing tasks
|
|
399
|
-
|
|
440
|
+
upgrade existing tasks or other modes, or change ordinary lightweight Solo.
|
|
441
|
+
A subsequent Solo handoff of that Man task retains the same delivery policy and
|
|
442
|
+
assigned session: verify, review, sync, commit, and check before `workflow handoff --complete`.
|
|
443
|
+
The delivery plan is one versioned
|
|
400
444
|
Markdown file, preferably in the project's existing plan directory. Its
|
|
401
445
|
baseline and delivery-record markers let mancode update the record without
|
|
402
446
|
overwriting the surrounding document.
|
|
@@ -772,7 +816,7 @@ platform bootstrap and original mode entry. Coding agents should combine
|
|
|
772
816
|
Simplified output:
|
|
773
817
|
|
|
774
818
|
```text
|
|
775
|
-
mancode v0.6.
|
|
819
|
+
mancode v0.6.6
|
|
776
820
|
|
|
777
821
|
Project: my-app
|
|
778
822
|
Runtime: ready
|
|
@@ -1218,10 +1262,9 @@ not shared state.
|
|
|
1218
1262
|
|
|
1219
1263
|
### Does `--delivery` change existing workflows?
|
|
1220
1264
|
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
not a replacement for the existing workflow authority.
|
|
1265
|
+
It does not automatically upgrade existing tasks or other modes. `--delivery`
|
|
1266
|
+
is an explicit opt-in for a new `man` workflow. A subsequent Solo handoff of that
|
|
1267
|
+
task retains its delivery gates; it does not become an ordinary ungoverned Solo task.
|
|
1225
1268
|
|
|
1226
1269
|
### Does a verification command returning exit code 0 mean the feature passed?
|
|
1227
1270
|
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<p align="center">
|
|
19
19
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="许可证:AGPL-3.0" /></a>
|
|
20
20
|
<a href="https://www.npmjs.com/package/mancode"><img src="https://img.shields.io/npm/v/mancode?style=flat-square" alt="npm 版本" /></a>
|
|
21
|
-
<img src="https://img.shields.io/badge/status-Continuity%20v0.6.
|
|
21
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.6.6-2f855a?style=flat-square" alt="状态:mancode Continuity v0.6.6" />
|
|
22
22
|
<img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode%20%7C%20Kimi%20Code%20%7C%20Qoder%20%7C%20DeepSeek%20Harness-5865F2?style=flat-square" alt="平台:Claude Code、Cursor、ChatGPT 桌面端 Codex、Codex CLI、GitHub Copilot、ZCode、Kimi Code、Qoder、DeepSeek Harness" />
|
|
23
23
|
</p>
|
|
24
24
|
|
|
@@ -79,7 +79,7 @@ mancode 不是 Claude Code、Cursor、Codex 或 Copilot 的替代品。它是在
|
|
|
79
79
|
- **分享前先保护敏感数据**:在本机识别凭据和个人信息、生成脱敏副本;按需拦截敏感共享写入,或在支持的模型请求字段发往上游前替换原值。
|
|
80
80
|
- **在存在 UI 时匹配现有设计系统**:检查项目 UI 依赖、Tailwind 配置、CSS 变量和已有组件,让 agent 复用现有颜色、字体和交互模式。
|
|
81
81
|
- **先把需求和计划对齐**:`/man` 会调研项目、引导澄清会改变方案的需求、推荐可行选项并生成可确认的持久计划;计划完成后不会自动进入完整实施。
|
|
82
|
-
-
|
|
82
|
+
- **自由选择执行方式**:计划确认后,可只保留计划、交给单个 Solo 会话实施,或继续完整 `/man`;受管 Solo 交接仍继承原计划、范围、审查和验收门禁。
|
|
83
83
|
- **保留工作流产物**:调研、计划、审查报告和总结会保存到 `.mancode/<namespace>/workflows/<ULID>/`。
|
|
84
84
|
- **文档绑定的模块交付**:把需求、计划、实现范围、验收标准、验证证据、review 和完成门禁绑定到同一个 workflow。
|
|
85
85
|
- **可恢复的交付与重构**:支持 delivery record、checkpoint、reframe 和 operation recovery,避免中断后把半完成状态当成最终结果。
|
|
@@ -120,27 +120,38 @@ mancode 不是 Claude Code、Cursor、Codex 或 Copilot 的替代品。它是在
|
|
|
120
120
|
- 已有 UI 组件、主题、CSS 变量或设计约定的界面项目
|
|
121
121
|
- 希望保留本地团队记忆、使用不发送遥测的 CLI 的团队
|
|
122
122
|
|
|
123
|
-
###
|
|
123
|
+
### 模型自主性与工程标准
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
常驻指引保留项目事实和必要边界,专业 Skill 按需提供方法;工程标准由任务原有的
|
|
126
|
+
requirements、plan、review、verification 和完成门禁维持。
|
|
127
127
|
|
|
128
|
-
- `solo`
|
|
129
|
-
- `/man`
|
|
130
|
-
-
|
|
128
|
+
- 普通 `solo` 不要求身份、session、TaskRef 或正式计划;模型选择实施方法,运行与风险相称的验证并检查实际 diff。只有需要时才增加 reviewer。
|
|
129
|
+
- `/man` 保留需求澄清、批准计划、范围、验证、审查和提交要求。已有授权仍适用时继续执行,不因关键词重复审批;新的实质决定或越界影响仍需确认。
|
|
130
|
+
- Man → Solo 只改变执行者,不降低交付标准。证据缺失、失败或过期时不能完成,普通 Solo 的豁免不适用于交接任务。
|
|
131
|
+
- finding 必须有具体证据和用户影响。修复与复查遵循任务原 policy;有新问题时补查,不为固定轮数重复审查,也不能因做过一次 review 就忽略新缺陷。
|
|
131
132
|
- reviewer 进程成功退出不等于 review ledger 已通过;验证命令返回 0 也不等于验收已经满足,最终状态以结构化 ledger 和 completion gate 为准。
|
|
132
133
|
- 交付标题、summary、commit、PR 和 handoff 应基于已接受目标、权威基线、实际读回状态和本任务 diff;无法读回的外部状态必须标记为未验证。
|
|
133
134
|
|
|
134
|
-
|
|
135
|
+
模型可以灵活选择工具与实现步骤,但不能自行改写已批准的目标和验收标准。
|
|
136
|
+
|
|
137
|
+
### v0.6.6 更新
|
|
138
|
+
|
|
139
|
+
- `man` 的 `plan_only` 可在明确获准实施后,通过原任务的 `plan confirm` 恢复完整执行,保留计划、范围和任务标识。
|
|
140
|
+
- `manba` 使用诊断需求、真实验证证据和 typed outcome 正式完成,不再要求不适用的 Man 计划或总审。
|
|
141
|
+
- `manteam` 修复精确文件与排除路径的误判,保留重复认领、真实越界和 exclude 优先检查。
|
|
142
|
+
- 受管 Solo 可登记正式审查与验收;运行时锁修复并发半写读取和初始化中断占锁,Windows CI 直接验证故障与强杀恢复。
|
|
143
|
+
|
|
144
|
+
`manba` 的 `fixed`、`verified`、`no_repro` 要求必需证据通过;`manual_test_required`
|
|
145
|
+
只记录仍待人工验证的事项,不表示已验证,也不替代父任务验收。
|
|
135
146
|
|
|
136
147
|
<span id="安装方法"></span>
|
|
137
148
|
|
|
138
149
|
## 安装方法
|
|
139
150
|
|
|
140
|
-
**状态**:mancode Continuity v0.6.
|
|
151
|
+
**状态**:mancode Continuity v0.6.6。Claude Code、Cursor、ChatGPT 桌面端中的
|
|
141
152
|
Codex、Codex CLI、GitHub Copilot、ZCode、Kimi Code、Qoder 和 DeepSeek Harness adapter 均已接入。
|
|
142
153
|
|
|
143
|
-
需要 Node.js 22 或更高版本。原生支持 macOS、Linux、Windows CMD、
|
|
154
|
+
需要 Node.js 22.5.0 或更高版本。原生支持 macOS、Linux、Windows CMD、
|
|
144
155
|
PowerShell 和 Git Bash。Git 是可选依赖:未安装时仍可初始化,只会把团队
|
|
145
156
|
自动检测安全降级为 solo。Claude Code hooks 由 Node 执行,不需要 Bash 或 jq。
|
|
146
157
|
|
|
@@ -199,6 +210,25 @@ mancode adapter upgrade --platform codex --dry-run # 只生成 staging 预览
|
|
|
199
210
|
mancode adapter upgrade --platform codex --confirm --operation-id <operationId> --session <id> --client <client>
|
|
200
211
|
```
|
|
201
212
|
|
|
213
|
+
### 升级到 v0.6.6
|
|
214
|
+
|
|
215
|
+
先结束旧版本正在执行的 mancode 写操作,并统一升级同一工作区使用的 CLI:
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
npm install -g mancode@0.6.6
|
|
219
|
+
cd your-project
|
|
220
|
+
mancode adapter status --json
|
|
221
|
+
mancode adapter upgrade --platform codex --dry-run --json
|
|
222
|
+
# 审阅预览后,使用返回的 operationId 和本项目有效的 session/client
|
|
223
|
+
mancode adapter upgrade --platform codex --confirm \
|
|
224
|
+
--operation-id <operationId> --session <id> --client codex
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
其他平台替换 `--platform` 和对应 client。更新 npm 包不会自动覆盖现有项目 Skill;
|
|
228
|
+
需要通过上述 adapter upgrade 同步入口。原任务继续使用原 policy,不重新创建任务来绕过门禁。
|
|
229
|
+
新运行时可读旧目录锁;旧 CLI 遇到新文件锁会拒绝操作,不保证新旧版本混用。
|
|
230
|
+
无法确认归属的历史空锁目录不会自动删除;不支持硬链接的文件系统会拒绝获取锁。
|
|
231
|
+
|
|
202
232
|
### 安装后创建哪些文件?
|
|
203
233
|
|
|
204
234
|
默认的 `mancode init` 会创建 mancode 工作流目录和平台适配文件:
|
|
@@ -237,7 +267,7 @@ mancode 不把“当前模式”写进持久状态。需要某种工作方式时
|
|
|
237
267
|
|---|---|---|
|
|
238
268
|
| `solo` | 日常编码 · 日常训练 | 不创建持久模式,按项目事实执行 YAGNI 检查和一次受限 diff 自检 |
|
|
239
269
|
| `/manba` | 诊断与真实验证 · 曼巴心态 | 复现缺陷、定位根因、驱动真实用户路径并执行回归检查 |
|
|
240
|
-
| `/man` | 需要需求对齐或正式计划的改动 · 季后赛 |
|
|
270
|
+
| `/man` | 需要需求对齐或正式计划的改动 · 季后赛 | 调研、方案推荐和持久计划;确认后选择受管 Solo 交接或完整治理 |
|
|
241
271
|
| `/manteam` | 团队项目 · 上场五人,一条心 | 共享记忆、决策记录、协作和 Conventional Commits |
|
|
242
272
|
| `/manps` | 清理和维护 · 季前赛 | 输出 Markdown 和 JSON 项目健康报告 |
|
|
243
273
|
| `/mansolo` | 回到轻量工作 | 不写 legacy mode;需要时执行显式 handoff |
|
|
@@ -288,19 +318,19 @@ $mansolo
|
|
|
288
318
|
方案、优缺点和明确建议。需求足够清楚后,计划才会写入
|
|
289
319
|
`.mancode/local/workflows/<ULID>/plan.md`。
|
|
290
320
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
321
|
+
计划完成不会自动授权开发。用户在计划关卡选择受管 Solo 交接、完整 `/man`、只保留计划,
|
|
322
|
+
或修改计划。两种实施路径都保留原任务的审查和验收承诺;以下是完整 `/man` 的阶段概览,
|
|
323
|
+
具体执行按任务已有 policy 和当前 Context Pack:
|
|
294
324
|
|
|
295
325
|
1. **球探报告**:梳理既有代码、风险和未知项。
|
|
296
326
|
2. **需求澄清**:按需求就绪程度引导对齐;问出所有会改变方案且无法从项目查清的疑问,可按需分多批,不限制数量、不重复已确认内容,有合适方案时直接给出推荐。
|
|
297
327
|
3. **计划**:Plan Coach 先检查输入是否完整,再输出包含技术选择、边界和验收标准的持久计划。
|
|
298
|
-
4.
|
|
328
|
+
4. **计划关卡**:选择受管 Solo 交接、完整 `/man`、只保留计划或修改计划。
|
|
299
329
|
5. **实施**:Head Coach 按确认计划实现。
|
|
300
330
|
6. **验证与审查范围**:运行 build、lint、test、smoke test,再根据实际 diff 和硬风险选择定向或完整审查。
|
|
301
331
|
7. **录像分析 1**:只对改动行为做有证据的质量审查。
|
|
302
332
|
8. **录像分析 2**:仅完整审查任务执行安全与边界审查,并抑制相同根因的重复评论。
|
|
303
|
-
9.
|
|
333
|
+
9. **收尾**:按原 policy 修复 blocker、补齐必要复查与最终验证,保存交付记录并通过完成门禁。
|
|
304
334
|
|
|
305
335
|
跳过的步骤会被记录。所有产物保留在本地,之后可以回看当时为什么做某个决策。
|
|
306
336
|
|
|
@@ -316,7 +346,8 @@ mancode workflow create man "添加导出功能" \
|
|
|
316
346
|
该模式将一份 Markdown 计划作为交付基线,并绑定 implementation scope、验收项、验证证据、
|
|
317
347
|
review、计划回写和最终完成状态。模块按可独立验收的结果划分,而不是按文件或函数划分。
|
|
318
348
|
计划只讨论或规划,不会授权实现;`--delivery` 只影响新建的 `man` workflow,不会升级旧任务,
|
|
319
|
-
|
|
349
|
+
也不会升级普通 Solo 或其他模式。该 Man 任务后续交给 Solo 时,仍继承同一 delivery 策略,
|
|
350
|
+
使用原 assigned session 完成 verify、review、sync、提交和 check,再执行 `workflow handoff --complete`。
|
|
320
351
|
|
|
321
352
|
典型交付命令:
|
|
322
353
|
|
|
@@ -589,7 +620,7 @@ transport 和各平台 bootstrap/原 mode 入口的实际就绪状态。编码 A
|
|
|
589
620
|
以下是简化输出示例:
|
|
590
621
|
|
|
591
622
|
```text
|
|
592
|
-
mancode v0.6.
|
|
623
|
+
mancode v0.6.6
|
|
593
624
|
|
|
594
625
|
Project: my-app
|
|
595
626
|
Runtime: ready
|
|
@@ -922,8 +953,8 @@ decision 协作;checkout-local session 不会被误当作共享状态。
|
|
|
922
953
|
|
|
923
954
|
### `--delivery` 会影响已有任务吗?
|
|
924
955
|
|
|
925
|
-
|
|
926
|
-
|
|
956
|
+
不会自动升级旧任务或其他模式。它只对新建并显式启用 `--delivery` 的 `/man` workflow 生效;
|
|
957
|
+
该任务后续交给 Solo 时仍继承原 delivery 门禁,不会变成无治理的普通 Solo。
|
|
927
958
|
|
|
928
959
|
### verification 通过是否代表功能一定正确?
|
|
929
960
|
|