mancode 0.3.18 → 0.4.0
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 +60 -35
- package/README.md +53 -31
- package/dist/{chunk-QIOMFU35.js → chunk-K3MYY47M.js} +658 -106
- package/dist/chunk-K3MYY47M.js.map +1 -0
- package/dist/{chunk-LMXUPBCN.js → chunk-S3BAOJPP.js} +202 -50
- package/dist/chunk-S3BAOJPP.js.map +1 -0
- package/dist/cli.js +24026 -20939
- package/dist/cli.js.map +1 -1
- package/dist/{store-DCTOW75Z.js → store-LD5VRGON.js} +2 -2
- package/dist/{v3-adapter-C5EM5EHM.js → v3-adapter-URAKH6BV.js} +14 -2
- package/package.json +2 -1
- package/dist/chunk-LMXUPBCN.js.map +0 -1
- package/dist/chunk-QIOMFU35.js.map +0 -1
- /package/dist/{store-DCTOW75Z.js.map → store-LD5VRGON.js.map} +0 -0
- /package/dist/{v3-adapter-C5EM5EHM.js.map → v3-adapter-URAKH6BV.js.map} +0 -0
package/README.en.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
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-Continuity%20v0.
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.4.0-2f855a?style=flat-square" alt="Status: mancode Continuity v0.4.0" />
|
|
21
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" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
@@ -34,8 +34,9 @@ different gears for different stakes: light solo mode for daily practice, `/man`
|
|
|
34
34
|
for playoff-level engineering discipline, and coaching-staff subagents for
|
|
35
35
|
research, planning, implementation, and review.
|
|
36
36
|
|
|
37
|
-
**mancode Continuity** is the
|
|
38
|
-
decisions, and verification evidence safely into later
|
|
37
|
+
**mancode Continuity** is the cross-session and team-collaboration runtime that
|
|
38
|
+
carries tasks, decisions, and verification evidence safely into later
|
|
39
|
+
conversations.
|
|
39
40
|
|
|
40
41
|
[Installation](#installation) · [Usage](#usage)
|
|
41
42
|
|
|
@@ -107,10 +108,15 @@ one window's temporary state as another window's identity.
|
|
|
107
108
|
```bash
|
|
108
109
|
mancode status --brief --json
|
|
109
110
|
mancode context session new --client claude-code
|
|
111
|
+
mancode context session show --session <id> --client claude-code --json
|
|
110
112
|
mancode context resume <namespace:ULID> --session <id> --client claude-code
|
|
111
113
|
mancode context show --purpose orient --session <id> --client claude-code
|
|
112
114
|
```
|
|
113
115
|
|
|
116
|
+
When the project has a local mancode install, pin one CLI binary for the whole
|
|
117
|
+
task: prefer `./node_modules/.bin/mancode`, otherwise use `mancode`. Check the
|
|
118
|
+
selected binary with `--version` once and do not mix versions afterward.
|
|
119
|
+
|
|
114
120
|
The original `/man`, `/manba`, and `/manteam` entries handle these steps. The
|
|
115
121
|
CLI form above is useful for diagnostics, automation, or manual recovery.
|
|
116
122
|
|
|
@@ -234,7 +240,9 @@ design tokens:
|
|
|
234
240
|
</Button>
|
|
235
241
|
```
|
|
236
242
|
|
|
237
|
-
The default workflow
|
|
243
|
+
The default workflow evaluates a conditional clarity gate before writing code: it asks the user
|
|
244
|
+
only when an unresolved decision could change the goal, scope, behavior, acceptance, or key
|
|
245
|
+
constraints, and it proceeds without ceremonial questions when the request is already clear.
|
|
238
246
|
|
|
239
247
|
1. What problem does this change solve?
|
|
240
248
|
2. Can an existing implementation be reused?
|
|
@@ -243,6 +251,10 @@ The default workflow asks six questions before writing code:
|
|
|
243
251
|
5. What is the smallest meaningful runtime check?
|
|
244
252
|
6. What remains uncertain after checking the code and docs?
|
|
245
253
|
|
|
254
|
+
These are internal readiness checks, not a mandatory questionnaire. Any unresolved
|
|
255
|
+
decision-changing uncertainty becomes a focused question and blocks requirements finalization
|
|
256
|
+
until the user answers; clear requests continue directly.
|
|
257
|
+
|
|
246
258
|
<span id="usage"></span>
|
|
247
259
|
|
|
248
260
|
## Usage
|
|
@@ -353,7 +365,7 @@ it should behave, and why previous decisions were made.
|
|
|
353
365
|
|
|
354
366
|
## Installation
|
|
355
367
|
|
|
356
|
-
**Status**: mancode Continuity v0.
|
|
368
|
+
**Status**: mancode Continuity v0.4.0. Claude Code, Cursor, Codex in the ChatGPT
|
|
357
369
|
desktop app and CLI, GitHub Copilot, and ZCode adapters are included.
|
|
358
370
|
|
|
359
371
|
Requires Node.js 20 or newer. macOS, Linux, Windows CMD, PowerShell, and Git Bash
|
|
@@ -394,8 +406,9 @@ mancode init --platform PLATFORMS # One or more: claude-code,cursor,codex,copilo
|
|
|
394
406
|
mancode init --empty # Allow a safe empty directory in non-interactive scripts
|
|
395
407
|
mancode init --lang zh-CN # Explicit initialization language (zh-CN or en)
|
|
396
408
|
mancode refresh-project # Refresh facts after Git or project files are added
|
|
397
|
-
mancode
|
|
398
|
-
mancode
|
|
409
|
+
mancode adapter status --json # Inspect actual managed-content digests
|
|
410
|
+
mancode adapter upgrade --platform codex --dry-run # Stage a preview only
|
|
411
|
+
mancode adapter upgrade --platform codex --confirm --operation-id <operationId> --session <id> --client <client>
|
|
399
412
|
```
|
|
400
413
|
|
|
401
414
|
## Agent Modes
|
|
@@ -424,10 +437,16 @@ mancode init --legacy
|
|
|
424
437
|
mancode status
|
|
425
438
|
mancode status --json
|
|
426
439
|
mancode status --brief --json
|
|
427
|
-
mancode install <claude-code|cursor|codex|copilot|zcode>
|
|
440
|
+
mancode install <claude-code|cursor|codex|copilot|zcode> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
441
|
+
mancode adapter status [--platform <platform>] --json
|
|
442
|
+
mancode adapter upgrade <--all|--platform <platform>> --dry-run
|
|
443
|
+
mancode adapter upgrade <--all|--platform <platform>> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
444
|
+
mancode project upgrade --policy 2 --dry-run
|
|
445
|
+
mancode project upgrade --policy 2 --operation-id <operationId> --session <id> --client <client>
|
|
428
446
|
mancode list-platforms
|
|
429
447
|
mancode team identity create --name "<name>"
|
|
430
448
|
mancode context session new --client <platform>
|
|
449
|
+
mancode context session show --session <id> --client <client> --json
|
|
431
450
|
mancode workflow create <man|manba|manteam> "<task>" --session <id>
|
|
432
451
|
mancode workflow list --json
|
|
433
452
|
mancode workflow show <namespace:ULID> --json
|
|
@@ -438,6 +457,7 @@ mancode workflow plan <namespace:ULID> confirm --plan-decision <plan_only|govern
|
|
|
438
457
|
mancode workflow update <namespace:ULID> --status <status> --expected-revision <n> --session <id>
|
|
439
458
|
mancode workflow review <namespace:ULID> apply --file <review-ledger.json> --expected-revision <n> --session <id>
|
|
440
459
|
mancode workflow verify <namespace:ULID> apply --file <verification-ledger.json> --expected-revision <n> --session <id>
|
|
460
|
+
mancode workflow reframe <local:ULID> --expected-revision <n> --checkpoint-id <ULID> --session <id>
|
|
441
461
|
mancode workflow complete <namespace:ULID> --expected-revision <n> --session <id>
|
|
442
462
|
mancode manps [area]
|
|
443
463
|
mancode refresh-project
|
|
@@ -452,7 +472,7 @@ mancode version
|
|
|
452
472
|
Simplified output:
|
|
453
473
|
|
|
454
474
|
```text
|
|
455
|
-
mancode v0.
|
|
475
|
+
mancode v0.4.0
|
|
456
476
|
|
|
457
477
|
Project: my-app
|
|
458
478
|
Runtime: ready
|
|
@@ -594,14 +614,19 @@ mancode/
|
|
|
594
614
|
- Irreversible operations such as force pushes, schema migrations, and bulk
|
|
595
615
|
deletes require explicit human confirmation.
|
|
596
616
|
|
|
597
|
-
##
|
|
617
|
+
## Remaining Work
|
|
618
|
+
|
|
619
|
+
- Complete real-host session acceptance for Claude Code, Codex, Cursor,
|
|
620
|
+
GitHub Copilot, and ZCode on one release candidate; verified host sessions
|
|
621
|
+
and isolated explicit sessions are both valid evidence paths.
|
|
622
|
+
- Run `npm run release:check -- --candidate <full-commit-sha>` for the clean
|
|
623
|
+
checkout, automated two-clone/legacy checks, tarball SHA-256, and install
|
|
624
|
+
smoke; complete cross-host recovery separately.
|
|
625
|
+
- Confirm ZCode project-skill discovery and workspace-command paths; keep the
|
|
626
|
+
adapter provisional until then.
|
|
627
|
+
- Evaluate Windsurf, Cline, and Roo Code adapters based on real demand.
|
|
598
628
|
|
|
599
|
-
|
|
600
|
-
|---|---|
|
|
601
|
-
| MVP-1 | solo mode, aesthetics, and Claude Code hooks |
|
|
602
|
-
| MVP-2 | `/manba`, `/man`, `/manteam`, `/manps`, and coaching-staff subagents |
|
|
603
|
-
| MVP-3 | Cursor, Codex (ChatGPT desktop/CLI), and GitHub Copilot adapters |
|
|
604
|
-
| Public Release | stable npm release, marketplace distribution, docs, and demos |
|
|
629
|
+
See [0.4.0 Continuity Release Acceptance](./docs/release-acceptance.md) for the complete gate.
|
|
605
630
|
|
|
606
631
|
## Troubleshooting
|
|
607
632
|
|
|
@@ -616,21 +641,26 @@ a deliberately empty directory.
|
|
|
616
641
|
### Claude Code hooks not triggering
|
|
617
642
|
|
|
618
643
|
After `mancode init`, restart Claude Code so it reloads `.claude/settings.json`.
|
|
619
|
-
Run `mancode status` to verify hooks are registered.
|
|
620
|
-
|
|
644
|
+
Run `mancode status` to verify hooks are registered. For Continuity adapter drift, preview
|
|
645
|
+
`mancode adapter upgrade --platform claude-code --dry-run`, then repair that
|
|
646
|
+
preview with its `--operation-id`, an active session, and `--confirm`. The legacy
|
|
647
|
+
hook architecture still uses `mancode init --legacy --force`.
|
|
621
648
|
|
|
622
649
|
### `mancode status` shows a platform as "not ready"
|
|
623
650
|
|
|
624
|
-
This means the platform's target files are missing.
|
|
625
|
-
`mancode
|
|
651
|
+
This means the platform's target files are missing or their digest is stale.
|
|
652
|
+
Preview `mancode adapter upgrade --platform <platform> --dry-run`, inspect the
|
|
653
|
+
staged result, then run it with the returned `--operation-id`, an active session,
|
|
654
|
+
and `--confirm`. For managed-block
|
|
626
655
|
platforms (Codex, ZCode, Copilot), the managed block in `AGENTS.md` or
|
|
627
656
|
`.github/copilot-instructions.md` may have been manually edited or deleted.
|
|
628
657
|
|
|
629
658
|
### AGENTS.md or copilot-instructions.md managed block was accidentally deleted
|
|
630
659
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
660
|
+
Preview `mancode adapter upgrade --platform codex --dry-run` (or `zcode`, or
|
|
661
|
+
`copilot`), then run it with the returned `--operation-id`, an active session,
|
|
662
|
+
and `--confirm` to reinsert the managed block. User-authored content outside the
|
|
663
|
+
relevant markers is preserved.
|
|
634
664
|
|
|
635
665
|
### ZCode skills not appearing
|
|
636
666
|
|
|
@@ -648,16 +678,8 @@ description field — invoke them by asking for `/manba` or similar.
|
|
|
648
678
|
### How to reinstall Continuity adapters
|
|
649
679
|
|
|
650
680
|
```bash
|
|
651
|
-
mancode
|
|
652
|
-
mancode
|
|
653
|
-
mancode uninstall codex --force
|
|
654
|
-
mancode uninstall copilot --force
|
|
655
|
-
mancode uninstall zcode --force
|
|
656
|
-
mancode install claude-code
|
|
657
|
-
mancode install cursor
|
|
658
|
-
mancode install codex
|
|
659
|
-
mancode install copilot
|
|
660
|
-
mancode install zcode
|
|
681
|
+
mancode adapter upgrade --all --dry-run
|
|
682
|
+
mancode adapter upgrade --all --confirm --operation-id <operationId> --session <id> --client <client>
|
|
661
683
|
```
|
|
662
684
|
|
|
663
685
|
Continuity authority is protected, so `mancode uninstall --all` does not delete workflow
|
|
@@ -684,8 +706,11 @@ use.
|
|
|
684
706
|
|
|
685
707
|
### How is mancode different from a CLAUDE.md file?
|
|
686
708
|
|
|
687
|
-
A `CLAUDE.md` file is static guidance.
|
|
688
|
-
|
|
709
|
+
A `CLAUDE.md` file is static guidance. Continuity maintains one always-loaded
|
|
710
|
+
Claude Code bootstrap block there, while sessions, TaskRefs, requirements,
|
|
711
|
+
plans, and review evidence remain structured authority under `.mancode/`.
|
|
712
|
+
mancode also adds mode skills, persisted workflows, and separate review
|
|
713
|
+
subagents with clean context.
|
|
689
714
|
|
|
690
715
|
### How is mancode different from Cursor rules, custom prompts, or agent instructions?
|
|
691
716
|
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
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-Continuity%20v0.
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.4.0-2f855a?style=flat-square" alt="状态:mancode Continuity v0.4.0" />
|
|
21
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" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
日常任务用轻量 `solo`,关键任务用季后赛级别的 `/man`,复杂任务让教练组 subagents
|
|
37
37
|
负责调研、计划、实现和审查。
|
|
38
38
|
|
|
39
|
-
**mancode Continuity
|
|
39
|
+
**mancode Continuity(跨会话与团队协作运行时)**负责把任务、决策和验证证据安全地带到后续对话,并协调多人或多 Agent 的任务权威。
|
|
40
40
|
|
|
41
41
|
mancode 当前支持 Claude Code、Cursor、ChatGPT 桌面端中的 Codex、Codex CLI、
|
|
42
42
|
GitHub Copilot 和 ZCode。每个平台继续使用原来的 `man*` 入口,并通过静态
|
|
@@ -118,6 +118,16 @@ mancode context session new --client claude-code
|
|
|
118
118
|
mancode list-platforms
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
+
要只读检查一个 session(例如确认 Codex 续接时仍使用同一身份),使用:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
mancode context session show --session <session-id> --client <client> --json
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
在项目同时安装 mancode 时,整项任务应固定使用项目本地 CLI:优先
|
|
128
|
+
`./node_modules/.bin/mancode`,否则再使用 PATH 中的 `mancode`;先运行一次
|
|
129
|
+
`--version`,后续不要混用不同版本。
|
|
130
|
+
|
|
121
131
|
普通 `mancode init` 会生成原来的 `man`、`manba`、`manteam`、`manps`、
|
|
122
132
|
`mansolo` 平台命令,不需要改用另一套命令名。确实需要旧 `state.json` 架构时才使用
|
|
123
133
|
`mancode init --legacy`。
|
|
@@ -228,7 +238,8 @@ mancode 不把“当前模式”写进持久状态。需要某种工作方式时
|
|
|
228
238
|
|
|
229
239
|
`/man` 既是正式计划入口,也是面向关键任务的季后赛模式。即使当前处于默认
|
|
230
240
|
`solo`,当用户要求先调研、给方案或出计划时,也会进入 `/man`。它会先了解项目,
|
|
231
|
-
|
|
241
|
+
只追问会改变范围、架构、成本或验收的问题;需求足够清晰时不制造形式问题,需求
|
|
242
|
+
不清晰时会停下等待用户回答;适合由系统推荐的决策会给出 2–3 个
|
|
232
243
|
方案、优缺点和明确建议。需求足够清楚后,计划才会写入
|
|
233
244
|
`.mancode/local/workflows/<ULID>/plan.md`。
|
|
234
245
|
|
|
@@ -248,6 +259,10 @@ mancode 不把“当前模式”写进持久状态。需要某种工作方式时
|
|
|
248
259
|
|
|
249
260
|
跳过的步骤会被记录。所有产物保留在本地,之后可以回看当时为什么做某个决策。
|
|
250
261
|
|
|
262
|
+
默认 `solo` 也执行同一个轻量清晰度判断:清晰、窄范围的需求直接做最小改动;会改变
|
|
263
|
+
行为、范围、验收或关键约束的歧义必须先提问。涉及架构、owner/source of truth、迁移、
|
|
264
|
+
跨模块或团队决策时,`solo` 推荐 `/man`,但不会自行切换模式。
|
|
265
|
+
|
|
251
266
|
## 工作原理
|
|
252
267
|
|
|
253
268
|
### Bootstrap 和 Adapters
|
|
@@ -307,7 +322,7 @@ src/components/
|
|
|
307
322
|
|
|
308
323
|
## 安装
|
|
309
324
|
|
|
310
|
-
**状态**:mancode Continuity v0.
|
|
325
|
+
**状态**:mancode Continuity v0.4.0。Claude Code、Cursor、ChatGPT 桌面端中的
|
|
311
326
|
Codex、Codex CLI、GitHub Copilot 和 ZCode adapter 均已接入。
|
|
312
327
|
|
|
313
328
|
需要 Node.js 20 或更高版本。原生支持 macOS、Linux、Windows CMD、
|
|
@@ -346,8 +361,9 @@ mancode init --platform PLATFORMS # 一个或多个:claude-code,cursor,codex,c
|
|
|
346
361
|
mancode init --empty # 非交互脚本中允许安全的空目录
|
|
347
362
|
mancode init --lang zh-CN # 显式指定初始化语言(zh-CN 或 en)
|
|
348
363
|
mancode refresh-project # 后续加入 Git 或项目文件后刷新项目事实
|
|
349
|
-
mancode
|
|
350
|
-
mancode
|
|
364
|
+
mancode adapter status --json # 检查实际 managed content digest
|
|
365
|
+
mancode adapter upgrade --platform codex --dry-run # 只生成 staging 预览
|
|
366
|
+
mancode adapter upgrade --platform codex --confirm --operation-id <operationId> --session <id> --client <client>
|
|
351
367
|
```
|
|
352
368
|
|
|
353
369
|
## Agent Modes
|
|
@@ -376,10 +392,16 @@ mancode init --legacy
|
|
|
376
392
|
mancode status
|
|
377
393
|
mancode status --json
|
|
378
394
|
mancode status --brief --json
|
|
379
|
-
mancode install <claude-code|cursor|codex|copilot|zcode>
|
|
395
|
+
mancode install <claude-code|cursor|codex|copilot|zcode> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
396
|
+
mancode adapter status [--platform <platform>] --json
|
|
397
|
+
mancode adapter upgrade <--all|--platform <platform>> --dry-run
|
|
398
|
+
mancode adapter upgrade <--all|--platform <platform>> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
399
|
+
mancode project upgrade --policy 2 --dry-run
|
|
400
|
+
mancode project upgrade --policy 2 --operation-id <operationId> --session <id> --client <client>
|
|
380
401
|
mancode list-platforms
|
|
381
402
|
mancode team identity create --name "<name>"
|
|
382
403
|
mancode context session new --client <platform>
|
|
404
|
+
mancode context session show --session <id> --client <client> --json
|
|
383
405
|
mancode workflow create <man|manba|manteam> "<task>" --session <id>
|
|
384
406
|
mancode workflow list --json
|
|
385
407
|
mancode workflow show <namespace:ULID> --json
|
|
@@ -390,6 +412,7 @@ mancode workflow plan <namespace:ULID> confirm --plan-decision <plan_only|govern
|
|
|
390
412
|
mancode workflow update <namespace:ULID> --status <status> --expected-revision <n> --session <id>
|
|
391
413
|
mancode workflow review <namespace:ULID> apply --file <review-ledger.json> --expected-revision <n> --session <id>
|
|
392
414
|
mancode workflow verify <namespace:ULID> apply --file <verification-ledger.json> --expected-revision <n> --session <id>
|
|
415
|
+
mancode workflow reframe <local:ULID> --expected-revision <n> --checkpoint-id <ULID> --session <id>
|
|
393
416
|
mancode workflow complete <namespace:ULID> --expected-revision <n> --session <id>
|
|
394
417
|
mancode manps [area]
|
|
395
418
|
mancode refresh-project
|
|
@@ -404,7 +427,7 @@ mancode version
|
|
|
404
427
|
以下是简化输出示例:
|
|
405
428
|
|
|
406
429
|
```text
|
|
407
|
-
mancode v0.
|
|
430
|
+
mancode v0.4.0
|
|
408
431
|
|
|
409
432
|
Project: my-app
|
|
410
433
|
Runtime: ready
|
|
@@ -537,14 +560,14 @@ mancode/
|
|
|
537
560
|
- `/manps` 默认只扫描;进入整改前应明确确认代码改动。
|
|
538
561
|
- force push、schema migration、批量删除等不可逆操作需要明确人工确认。
|
|
539
562
|
|
|
540
|
-
##
|
|
563
|
+
## 仍在推进
|
|
564
|
+
|
|
565
|
+
- 在同一发布候选上完成 Claude Code、Codex、Cursor、GitHub Copilot 和 ZCode 的真实宿主 session 验收;宿主自动 session 和显式双 session 都是合法证据路径。
|
|
566
|
+
- 使用 `npm run release:check -- --candidate <完整提交 SHA>` 完成干净 checkout、自动双 clone/legacy、tarball SHA-256 和安装 smoke;另完成跨真实宿主恢复。
|
|
567
|
+
- 确认 ZCode 项目级 skill 发现和 workspace command 路径;完成前继续标记为 provisional。
|
|
568
|
+
- 根据真实需求评估 Windsurf、Cline 和 Roo Code adapter。
|
|
541
569
|
|
|
542
|
-
|
|
543
|
-
|---|---|
|
|
544
|
-
| MVP-1 | solo 模式、审美扫描、Claude Code hooks |
|
|
545
|
-
| MVP-2 | `/manba`、`/man`、`/manteam`、`/manps` 和教练组 subagents |
|
|
546
|
-
| MVP-3 | Cursor、Codex(ChatGPT 桌面端/CLI)、GitHub Copilot 适配 |
|
|
547
|
-
| 公开发布 | npm 稳定版、marketplace 分发、文档和演示 |
|
|
570
|
+
完整发布条件见 [0.4.0 Continuity 发布验收](./docs/release-acceptance.md)。
|
|
548
571
|
|
|
549
572
|
## 故障排查
|
|
550
573
|
|
|
@@ -557,18 +580,24 @@ mancode/
|
|
|
557
580
|
### Claude Code hooks 不生效
|
|
558
581
|
|
|
559
582
|
`mancode init` 后需要重启 Claude Code 以重新加载 `.claude/settings.json`。
|
|
560
|
-
运行 `mancode status` 确认 hooks
|
|
561
|
-
`mancode
|
|
583
|
+
运行 `mancode status` 确认 hooks 已注册。Continuity adapter 内容异常时,先运行
|
|
584
|
+
`mancode adapter upgrade --platform claude-code --dry-run`,再用该预览返回的
|
|
585
|
+
`--operation-id`、active session 和 `--confirm` 完成修复。legacy hook 架构仍使用
|
|
586
|
+
`mancode init --legacy --force`。
|
|
562
587
|
|
|
563
588
|
### `mancode status` 显示某平台 "not ready"
|
|
564
589
|
|
|
565
|
-
|
|
590
|
+
该平台的目标文件缺失或 digest 不匹配。先运行
|
|
591
|
+
`mancode adapter upgrade --platform <platform> --dry-run`,确认 staging 结果后再用
|
|
592
|
+
该预览返回的 `--operation-id` 和 active session 执行 `--confirm`。
|
|
566
593
|
对于 Codex、ZCode 和 Copilot,`AGENTS.md` 或 `.github/copilot-instructions.md`
|
|
567
594
|
中的受控区可能被手动编辑或删除了。
|
|
568
595
|
|
|
569
596
|
### AGENTS.md 或 copilot-instructions.md 受控区被误删
|
|
570
597
|
|
|
571
|
-
运行 `mancode
|
|
598
|
+
运行 `mancode adapter upgrade --platform codex --dry-run`(或 `zcode`、`copilot`)
|
|
599
|
+
检查差异,再用该预览返回的 `--operation-id` 和 active session 执行 `--confirm`
|
|
600
|
+
重新插入受控区。
|
|
572
601
|
对应 mancode 受控标记外的用户内容会被保留。
|
|
573
602
|
|
|
574
603
|
### ZCode skills 未出现
|
|
@@ -586,16 +615,8 @@ manps)按 description 触发——输入 `/manba` 等关键词即可激活。
|
|
|
586
615
|
### 如何重装 Continuity 适配器
|
|
587
616
|
|
|
588
617
|
```bash
|
|
589
|
-
mancode
|
|
590
|
-
mancode
|
|
591
|
-
mancode uninstall codex --force
|
|
592
|
-
mancode uninstall copilot --force
|
|
593
|
-
mancode uninstall zcode --force
|
|
594
|
-
mancode install claude-code
|
|
595
|
-
mancode install cursor
|
|
596
|
-
mancode install codex
|
|
597
|
-
mancode install copilot
|
|
598
|
-
mancode install zcode
|
|
618
|
+
mancode adapter upgrade --all --dry-run
|
|
619
|
+
mancode adapter upgrade --all --confirm --operation-id <operationId> --session <id> --client <client>
|
|
599
620
|
```
|
|
600
621
|
|
|
601
622
|
Continuity authority 受保护,`mancode uninstall --all` 不会删除工作流权威数据。需要
|
|
@@ -620,8 +641,9 @@ npm uninstall -g mancode
|
|
|
620
641
|
|
|
621
642
|
### mancode 和 CLAUDE.md 有什么区别?
|
|
622
643
|
|
|
623
|
-
`CLAUDE.md` 是静态指导。
|
|
624
|
-
|
|
644
|
+
`CLAUDE.md` 是静态指导。Continuity 只在其中维护一段始终加载的 Claude Code bootstrap,
|
|
645
|
+
真正的 session、TaskRef、requirements、计划和审查证据仍由 `.mancode/` 的结构化权威管理;
|
|
646
|
+
mancode 还提供 mode skills、持久化工作流和独立审查 subagents。
|
|
625
647
|
|
|
626
648
|
### mancode 和 Cursor rules、自定义 prompt、agent instructions 有什么区别?
|
|
627
649
|
|