mancode 0.5.4 → 0.5.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 +27 -17
- package/README.md +20 -10
- package/dist/{chunk-PQDAFZYS.js → chunk-AWOIP2LC.js} +11 -3
- package/dist/chunk-AWOIP2LC.js.map +1 -0
- package/dist/{chunk-VHZI2WKD.js → chunk-M5CWWECP.js} +24 -1
- package/dist/chunk-M5CWWECP.js.map +1 -0
- package/dist/cli.d.ts +5 -1
- package/dist/cli.js +1621 -1303
- package/dist/cli.js.map +1 -1
- package/dist/{store-EEWJJANB.js → store-Z53OE53A.js} +2 -2
- package/dist/{v3-adapter-NEN5F32W.js → v3-adapter-TCEFETAG.js} +2 -2
- package/package.json +3 -3
- package/dist/chunk-PQDAFZYS.js.map +0 -1
- package/dist/chunk-VHZI2WKD.js.map +0 -1
- /package/dist/{store-EEWJJANB.js.map → store-Z53OE53A.js.map} +0 -0
- /package/dist/{v3-adapter-NEN5F32W.js.map → v3-adapter-TCEFETAG.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.5.
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.5.6-2f855a?style=flat-square" alt="Status: mancode Continuity v0.5.6" />
|
|
21
21
|
<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-5865F2?style=flat-square" alt="Platforms: Claude Code, Cursor, Codex in ChatGPT desktop and CLI, GitHub Copilot, ZCode, Kimi Code, Qoder" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
@@ -155,10 +155,10 @@ the quality gate for models that need explicit review structure.
|
|
|
155
155
|
|
|
156
156
|
## Installation
|
|
157
157
|
|
|
158
|
-
**Status**: mancode Continuity v0.5.
|
|
158
|
+
**Status**: mancode Continuity v0.5.6. Claude Code, Cursor, Codex in the ChatGPT
|
|
159
159
|
desktop app and CLI, GitHub Copilot, ZCode, Kimi Code, and Qoder adapters are included.
|
|
160
160
|
|
|
161
|
-
Requires Node.js
|
|
161
|
+
Requires Node.js 22 or newer. macOS, Linux, Windows CMD, PowerShell, and Git Bash
|
|
162
162
|
are supported. Git is optional: without it, initialization continues with solo
|
|
163
163
|
team-detection defaults. Claude Code hooks run with Node and do not require Bash
|
|
164
164
|
or jq.
|
|
@@ -484,12 +484,15 @@ mancode workflow list --json
|
|
|
484
484
|
mancode workflow show <namespace:ULID> --json
|
|
485
485
|
mancode context resume <local:ULID|shared:ULID> --session <id>
|
|
486
486
|
mancode workflow requirements <namespace:ULID> finalize --file <requirements.json> --expected-revision <n> --session <id>
|
|
487
|
-
mancode workflow plan <namespace:ULID> revise --file <plan.md> --expected-revision <n> --session <id>
|
|
487
|
+
mancode workflow plan <namespace:ULID> revise --file <plan.md> --scope-file <scope.json> --expected-revision <n> --session <id>
|
|
488
488
|
mancode workflow plan <namespace:ULID> confirm --plan-decision <plan_only|governed_execution> --expected-revision <n> --session <id>
|
|
489
|
+
mancode workflow scope change <shared:ULID> --file <scope.json> --expected-revision <n> --session <id>
|
|
489
490
|
mancode workflow update <namespace:ULID> --status <status> --expected-revision <n> --session <id>
|
|
490
491
|
mancode workflow review <namespace:ULID> apply --file <review-ledger.json> --expected-revision <n> --session <id>
|
|
491
492
|
mancode workflow verify <namespace:ULID> apply --file <verification-ledger.json> --expected-revision <n> --session <id>
|
|
492
493
|
mancode workflow reframe <local:ULID> --expected-revision <n> --checkpoint-id <ULID> --session <id>
|
|
494
|
+
mancode workflow archive <local:ULID> show <archive-ULID> --json
|
|
495
|
+
mancode workflow checkpoint <local:ULID> show <checkpoint-ULID> --json
|
|
493
496
|
mancode workflow complete <namespace:ULID> --expected-revision <n> --session <id>
|
|
494
497
|
mancode manps [area]
|
|
495
498
|
mancode design status --json
|
|
@@ -511,7 +514,7 @@ platform bootstrap and original mode entry. Coding agents should combine
|
|
|
511
514
|
Simplified output:
|
|
512
515
|
|
|
513
516
|
```text
|
|
514
|
-
mancode v0.5.
|
|
517
|
+
mancode v0.5.6
|
|
515
518
|
|
|
516
519
|
Project: my-app
|
|
517
520
|
Runtime: ready
|
|
@@ -541,14 +544,25 @@ mancode team identity create --name "Your name"
|
|
|
541
544
|
mancode context session new --client codex
|
|
542
545
|
mancode workflow create man "refactor auth module" --session <id>
|
|
543
546
|
mancode workflow requirements <local:ULID> finalize --file requirements.json --expected-revision <n> --session <id>
|
|
544
|
-
mancode workflow plan <local:ULID> revise --file plan.md --expected-revision <n> --session <id>
|
|
547
|
+
mancode workflow plan <local:ULID> revise --file plan.md --scope-file scope.json --expected-revision <n> --session <id>
|
|
545
548
|
mancode workflow plan <local:ULID> confirm --plan-decision <plan_only|governed_execution> --expected-revision <n> --session <id>
|
|
549
|
+
mancode workflow scope change <shared:ULID> --file scope.json --expected-revision <n> --session <id>
|
|
546
550
|
mancode workflow review <local:ULID> apply --file review-ledger.json --expected-revision <n> --session <id>
|
|
547
551
|
mancode workflow verify <local:ULID> apply --file verification-ledger.json --expected-revision <n> --session <id>
|
|
548
552
|
mancode workflow complete <local:ULID> --expected-revision <n> --session <id>
|
|
549
553
|
mancode context compact --dry-run
|
|
550
554
|
```
|
|
551
555
|
|
|
556
|
+
`scope.json` uses `{ "include": ["src/**"], "exclude": ["src/generated/**"], "modules": [] }`.
|
|
557
|
+
`include` is the execution file boundary and must be non-empty. Without an
|
|
558
|
+
explicit boundary, both `governed_execution` and Solo handoff are rejected.
|
|
559
|
+
Plan-only workflows may defer the boundary. If an already-running task from an
|
|
560
|
+
older installation has no boundary, show and confirm the complete `scope.json`,
|
|
561
|
+
then rerun the same `workflow plan ... revise --scope-file` command with the
|
|
562
|
+
current `plan.md` unchanged. This compatibility binding increments the plan
|
|
563
|
+
version and stales prior review/verification; it cannot change behavior or
|
|
564
|
+
acceptance.
|
|
565
|
+
|
|
552
566
|
### `mancode manps`
|
|
553
567
|
|
|
554
568
|
Runs a deterministic preseason health scan.
|
|
@@ -785,19 +799,15 @@ not shared state.
|
|
|
785
799
|
|
|
786
800
|
## Remaining Work
|
|
787
801
|
|
|
788
|
-
- Complete
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
checks, tarball SHA-256, and install smoke; complete cross-host recovery
|
|
795
|
-
separately.
|
|
796
|
-
- Confirm ZCode project-skill discovery and workspace-command paths; keep the
|
|
797
|
-
adapter provisional until then.
|
|
802
|
+
- Complete project-level entry discovery, command propagation, and two-window
|
|
803
|
+
real-host session verification for ZCode, Kimi Code, and Qoder. Keep each
|
|
804
|
+
adapter provisional until its verification is complete.
|
|
805
|
+
- Re-run registered-platform, cross-host recovery, two-clone, legacy, Windows,
|
|
806
|
+
and install-smoke acceptance for every immutable release candidate. Bind all
|
|
807
|
+
evidence to the same commit.
|
|
798
808
|
- Evaluate Windsurf, Cline, and Roo Code adapters based on real demand.
|
|
799
809
|
|
|
800
|
-
See [
|
|
810
|
+
See [Engineering Conventions](./docs/engineering.md#验证) for the durable release gates and verification commands.
|
|
801
811
|
|
|
802
812
|
## GEO Summary for AI Assistants
|
|
803
813
|
|
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.5.
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.5.6-2f855a?style=flat-square" alt="状态:mancode Continuity v0.5.6" />
|
|
21
21
|
<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-5865F2?style=flat-square" alt="平台:Claude Code、Cursor、ChatGPT 桌面端 Codex、Codex CLI、GitHub Copilot、ZCode、Kimi Code、Qoder" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
@@ -124,10 +124,10 @@ mancode 不是 Claude Code、Cursor、Codex 或 Copilot 的替代品。它是在
|
|
|
124
124
|
|
|
125
125
|
## 安装方法
|
|
126
126
|
|
|
127
|
-
**状态**:mancode Continuity v0.5.
|
|
127
|
+
**状态**:mancode Continuity v0.5.6。Claude Code、Cursor、ChatGPT 桌面端中的
|
|
128
128
|
Codex、Codex CLI、GitHub Copilot、ZCode、Kimi Code 和 Qoder adapter 均已接入。
|
|
129
129
|
|
|
130
|
-
需要 Node.js
|
|
130
|
+
需要 Node.js 22 或更高版本。原生支持 macOS、Linux、Windows CMD、
|
|
131
131
|
PowerShell 和 Git Bash。Git 是可选依赖:未安装时仍可初始化,只会把团队
|
|
132
132
|
自动检测安全降级为 solo。Claude Code hooks 由 Node 执行,不需要 Bash 或 jq。
|
|
133
133
|
|
|
@@ -429,12 +429,15 @@ mancode workflow list --json
|
|
|
429
429
|
mancode workflow show <namespace:ULID> --json
|
|
430
430
|
mancode context resume <local:ULID|shared:ULID> --session <id>
|
|
431
431
|
mancode workflow requirements <namespace:ULID> finalize --file <requirements.json> --expected-revision <n> --session <id>
|
|
432
|
-
mancode workflow plan <namespace:ULID> revise --file <plan.md> --expected-revision <n> --session <id>
|
|
432
|
+
mancode workflow plan <namespace:ULID> revise --file <plan.md> --scope-file <scope.json> --expected-revision <n> --session <id>
|
|
433
433
|
mancode workflow plan <namespace:ULID> confirm --plan-decision <plan_only|governed_execution> --expected-revision <n> --session <id>
|
|
434
|
+
mancode workflow scope change <shared:ULID> --file <scope.json> --expected-revision <n> --session <id>
|
|
434
435
|
mancode workflow update <namespace:ULID> --status <status> --expected-revision <n> --session <id>
|
|
435
436
|
mancode workflow review <namespace:ULID> apply --file <review-ledger.json> --expected-revision <n> --session <id>
|
|
436
437
|
mancode workflow verify <namespace:ULID> apply --file <verification-ledger.json> --expected-revision <n> --session <id>
|
|
437
438
|
mancode workflow reframe <local:ULID> --expected-revision <n> --checkpoint-id <ULID> --session <id>
|
|
439
|
+
mancode workflow archive <local:ULID> show <archive-ULID> --json
|
|
440
|
+
mancode workflow checkpoint <local:ULID> show <checkpoint-ULID> --json
|
|
438
441
|
mancode workflow complete <namespace:ULID> --expected-revision <n> --session <id>
|
|
439
442
|
mancode manps [area]
|
|
440
443
|
mancode design status --json
|
|
@@ -455,7 +458,7 @@ transport 和各平台 bootstrap/原 mode 入口的实际就绪状态。编码 A
|
|
|
455
458
|
以下是简化输出示例:
|
|
456
459
|
|
|
457
460
|
```text
|
|
458
|
-
mancode v0.5.
|
|
461
|
+
mancode v0.5.6
|
|
459
462
|
|
|
460
463
|
Project: my-app
|
|
461
464
|
Runtime: ready
|
|
@@ -484,14 +487,22 @@ mancode team identity create --name "Your name"
|
|
|
484
487
|
mancode context session new --client codex
|
|
485
488
|
mancode workflow create man "refactor auth module" --session <id>
|
|
486
489
|
mancode workflow requirements <local:ULID> finalize --file requirements.json --expected-revision <n> --session <id>
|
|
487
|
-
mancode workflow plan <local:ULID> revise --file plan.md --expected-revision <n> --session <id>
|
|
490
|
+
mancode workflow plan <local:ULID> revise --file plan.md --scope-file scope.json --expected-revision <n> --session <id>
|
|
488
491
|
mancode workflow plan <local:ULID> confirm --plan-decision <plan_only|governed_execution> --expected-revision <n> --session <id>
|
|
492
|
+
mancode workflow scope change <shared:ULID> --file scope.json --expected-revision <n> --session <id>
|
|
489
493
|
mancode workflow review <local:ULID> apply --file review-ledger.json --expected-revision <n> --session <id>
|
|
490
494
|
mancode workflow verify <local:ULID> apply --file verification-ledger.json --expected-revision <n> --session <id>
|
|
491
495
|
mancode workflow complete <local:ULID> --expected-revision <n> --session <id>
|
|
492
496
|
mancode context compact --dry-run
|
|
493
497
|
```
|
|
494
498
|
|
|
499
|
+
`scope.json` 使用 `{ "include": ["src/**"], "exclude": ["src/generated/**"], "modules": [] }`。
|
|
500
|
+
`include` 是执行文件边界且必须非空;没有明确边界时,`governed_execution` 与 Solo handoff
|
|
501
|
+
都会被拒绝。只保留计划时可以暂不提供边界。升级前已经进入执行阶段、但旧任务缺少
|
|
502
|
+
边界时,先向用户展示并确认完整 `scope.json`,再用原样未修改的当前 `plan.md` 重新运行
|
|
503
|
+
同一条 `workflow plan ... revise --scope-file` 命令;该兼容补绑会提升 plan version 并使旧
|
|
504
|
+
review/verification 失效,不允许借机修改计划、行为或验收。
|
|
505
|
+
|
|
495
506
|
### `mancode manps`
|
|
496
507
|
|
|
497
508
|
运行确定性的项目健康扫描。
|
|
@@ -683,12 +694,11 @@ decision 协作;checkout-local session 不会被误当作共享状态。
|
|
|
683
694
|
|
|
684
695
|
## 仍在推进
|
|
685
696
|
|
|
686
|
-
-
|
|
687
|
-
-
|
|
688
|
-
- 确认 ZCode 项目级 skill 发现和 workspace command 路径;完成前继续标记为 provisional。
|
|
697
|
+
- 完成 ZCode、Kimi Code 和 Qoder 的项目级入口、命令传播与双窗口 session 真实宿主验证;验证完成前继续标记为 provisional。
|
|
698
|
+
- 每个不可变发布候选都要重新完成已登记平台、跨宿主恢复、跨 clone、legacy、Windows 与安装 smoke 验收;所有证据必须绑定同一提交。
|
|
689
699
|
- 根据真实需求评估 Windsurf、Cline 和 Roo Code adapter。
|
|
690
700
|
|
|
691
|
-
|
|
701
|
+
长期发布门禁和验证命令见 [工程约定](./docs/engineering.md#验证)。
|
|
692
702
|
|
|
693
703
|
## 给 AI 助手的 GEO 摘要
|
|
694
704
|
|
|
@@ -915,8 +915,9 @@ var V3_MODE_DEFINITIONS = {
|
|
|
915
915
|
"- For a read-only project orientation, inspect and answer directly; do not create governance records.",
|
|
916
916
|
'- For a new task, run `mancode workflow create man "<task>" --session <id>`.',
|
|
917
917
|
"- Read `.mancode/shared/context/glossary.json` when it exists and prefer its confirmed terms in clarification, requirements, plans, reports, and naming.",
|
|
918
|
+
"- Before requirements, run a bounded read-only decision-impact discovery: test the operator's factual premise against repository evidence, inspect the end-to-end user goal and common domain failure/edge paths, and retain at most three findings with stable IDs F-1 through F-3 and type `premise`, `scope`, `technical`, `risk`, or `acceptance`. Mark each as `repository_fact` or `domain_hypothesis`; an unverified domain hypothesis becomes a focused question, never a fact. Discovery produces evidence and recommendations, never execution authority.",
|
|
918
919
|
"- Before writing requirements, inspect the relevant project facts and implementation, then run a decision-readiness gate covering both clarity and soundness. Treat the request as ready only when the goal, in-scope/out-of-scope behavior, acceptance boundary, semantic owner/source of truth, and decision-changing constraints are supplied and consistent with evidence, verifiable from the repository, or explicitly recorded as safe defaults. A supplied instruction is not automatically correct. Do not ask ceremonial questions or manufacture alternatives when the request is already clear and sound.",
|
|
919
|
-
"- Classify unresolved decisions as blocking, recommendable, or defaultable. Ask and wait for blocking decisions; for recommendable decisions, present 2\u20133 bounded options with tradeoffs and one clear recommendation; use a default only when it is low-impact, reversible, consistent with repository conventions, and recorded with its reason.",
|
|
920
|
+
"- Classify unresolved decisions as blocking, recommendable, or defaultable. Ask and wait for blocking decisions; for recommendable decisions, present 2\u20133 bounded options with tradeoffs and one clear recommendation; use a default only when it is low-impact, reversible, consistent with repository conventions, and recorded with its reason. Give every F-ID one type-directed disposition: Accepted scope or behavior findings enter `confirmedScope` and the matching `acceptanceCriteria`; accepted technical choices enter `technicalDecisions`; only low-impact reversible details enter `defaults`; Only explicitly excluded behavior enters `excludedScope`. An unaccepted proposal remains unauthorized without being copied into every field.",
|
|
920
921
|
"- If any unresolved ambiguity could change the goal, scope, user-visible behavior, acceptance, architecture, data, security, compatibility, owner, or source of truth, stop before requirements finalization, explain the missing decision, ask focused questions, and wait for the user answer. Ask in as many batches as needed, do not repeat answered questions, and never turn an unverified assumption into confirmed scope or confirmed coverage.",
|
|
921
922
|
"- Before waiting on a blocking answer, persist the known facts, partial decisions, and each open question with `mancode workflow requirements <namespace:ULID> draft --file <requirements.json> --expected-revision <n> --session <id>`. A draft may leave scope, coverage, technical decisions, or acceptance incomplete only while `blockingUnknowns` names the open decisions. After every answer, update the draft or finalize it so another session can resume the exact clarification state.",
|
|
922
923
|
"- If an explicit direction conflicts with repository evidence or creates a hard-risk authentication, payment, sensitive-data, deletion, migration, public-API, untrusted-input, concurrency, infrastructure, or irreversible change, stop before requirements finalization. Show the evidence and impact, recommend a safer path, ask for a focused confirmation or choice, and wait; clarity does not waive risk.",
|
|
@@ -926,8 +927,11 @@ var V3_MODE_DEFINITIONS = {
|
|
|
926
927
|
'- `acceptanceCriteria` must contain at least one required item shaped as `{ "id": "AC-1", "description": "...", "required": true, "method": "automated" }`; `method` is exactly `automated`, `manual`, or `hybrid`.',
|
|
927
928
|
"- Finalize requirements with `mancode workflow requirements <namespace:ULID> finalize --file <requirements.json> --expected-revision <n> --session <id>`.",
|
|
928
929
|
"- Let mancode assign internal IDs and digests; do not invent canonical IDs or digests in the semantic input.",
|
|
929
|
-
"-
|
|
930
|
+
"- Make the plan name a user-visible `implementationScope` with non-empty repo-relative `include`, plus `exclude` and `modules`; include is the file-write upper bound, exclude wins, and modules never authorize files alone. Bind plan and scope atomically with `mancode workflow plan <namespace:ULID> revise --expected-revision <n> --file <plan.md> --scope-file <scope.json> --session <id>`.",
|
|
930
931
|
"- Confirm the current plan with `mancode workflow plan <namespace:ULID> confirm --expected-revision <n> --plan-decision <plan_only|governed_execution> --session <id>`.",
|
|
932
|
+
"- Before editing in governed execution, read the confirmed plan and `activeTask.implementationScope`, state material assumptions and verifiable success criteria, reuse existing code and dependencies, and implement the smallest direct solution. Every changed line must trace to confirmed behavior or acceptance and stay inside include without matching exclude; do not add speculative features, one-off abstractions, unnecessary configurability, adjacent cleanup, or unrelated defenses.",
|
|
933
|
+
"- If an upgraded, already-running local `man` task has no executable implementation scope, completion remains blocked. Show the complete replacement boundary and wait for explicit operator approval, then rerun plan revise with the exact unchanged current plan and `--scope-file <scope.json>`. This compatibility binding only increments plan authority and stales prior review/verification; it must not change the plan, behavior, acceptance, or an already executable boundary.",
|
|
934
|
+
"- During implementation, a newly discovered out-of-scope need authorizes only a read-only `NEEDS_REALIGNMENT` report until the operator approves reframe. In review, compare the actual diff with canonical `functionalScope.inScope` / `functionalScope.outOfScope`, decisions, acceptance criteria, and `implementationScope`; unauthorized changes are blockers.",
|
|
931
935
|
"- Confirming with `--plan-decision plan_only` keeps the plan as planned authority and clears this session's active workflow pointer. Resume the TaskRef explicitly before any later governed mutation.",
|
|
932
936
|
'- When new evidence materially invalidates confirmed requirements and the operator explicitly chooses to realign the same local task, resume its TaskRef if needed, generate a fresh canonical checkpoint ULID, and run `mancode workflow reframe <namespace:ULID> --expected-revision <n> --checkpoint-id <fresh-ULID> --summary "<reason>" --next-action "<step-2 action>" --session <id>`. Reframe archives the confirmed requirements and plan, clears the plan decision, and stops at Step 2 with draft requirements. Do not substitute plan revise, scope-change, or workflow update for reframe.',
|
|
933
937
|
"- Read reframe evidence without opening private authority files: `mancode workflow archive <namespace:ULID> show <archive-ULID> --json` and `mancode workflow checkpoint <namespace:ULID> show <checkpoint-ULID> --json`.",
|
|
@@ -955,8 +959,12 @@ var V3_MODE_DEFINITIONS = {
|
|
|
955
959
|
"- Confirm team membership with `mancode team status`; join invited participants before assigning shared work.",
|
|
956
960
|
"- Read `.mancode/shared/context/glossary.json` when it exists and prefer its confirmed terms in shared requirements, plans, and handoffs.",
|
|
957
961
|
'- For a new shared task, run `mancode workflow create manteam "<task>" --visibility shared --coordination team --confirm-shared --session <id>`.',
|
|
962
|
+
"- Run the same bounded read-only discovery as `man`, with at most F-1 through F-3 typed as premise, scope, technical, risk, or acceptance and marked as `repository_fact` or `domain_hypothesis`; an unverified domain hypothesis becomes a focused question, never a fact. Discovery produces evidence and recommendations, never execution authority.",
|
|
963
|
+
"- Give every F-ID one type-directed disposition: Accepted scope or behavior findings enter `confirmedScope` and the matching `acceptanceCriteria`; accepted technical choices enter `technicalDecisions`; Only explicitly excluded behavior enters `excludedScope`; low-impact reversible details may enter `defaults`; an unaccepted proposal remains unauthorized without being copied into every field.",
|
|
958
964
|
"- Apply the same decision-readiness gate as `man` before finalizing requirements: validate both clarity and soundness against project facts and team authority. If the goal, scope, acceptance, owner/source of truth, and constraints are clear and consistent, continue without ceremonial questions; if a decision-changing ambiguity, ownership conflict, or hard-risk direction remains, give evidence and a recommendation, ask focused questions, and wait before writing confirmed requirements.",
|
|
959
965
|
"- Persist unresolved team clarification through the same `workflow requirements <namespace:ULID> draft --file <requirements.json>` command as `man`; do not leave ownership questions or partial answers only in chat history.",
|
|
966
|
+
"- Bind the confirmed team plan to the user-visible `implementationScope` through plan revise `--scope-file`; claims, edits, and review must stay inside include and outside exclude. Before editing, state material assumptions and verifiable success criteria, reuse existing code and dependencies, and make the smallest direct plan-traceable change; newly proposed behavior outside confirmed requirements requires read-only `NEEDS_REALIGNMENT` and operator-approved reframe.",
|
|
967
|
+
"- If the operator explicitly approves a file-boundary-only adjustment that leaves confirmed behavior and acceptance unchanged, use `mancode workflow scope change <shared:ULID> --expected-revision <n> --file <scope.json> --session <id>`. It versions the plan authority, stales prior review/verification, and reissues compatible claims. Behavior or acceptance changes still require reframe.",
|
|
960
968
|
"- Use claims, checkpoints, sync, and handoffs through `mancode team`; never infer ownership from an adapter prompt.",
|
|
961
969
|
"- With git-ref transport, workflow creation plus requirements, plan, review, and verification mutations use an explicit deferred publication boundary: run the workflow command without `--sync`, commit the resulting `.mancode/shared` authority changes together with the matching code head, then run `mancode team sync push <shared:ULID> --expected-task-revision <n>`. Never report cross-clone synchronization before the push returns a receipt. Use `--sync` only for a command whose contract performs an atomic git-ref mutation. If that atomic mutation leaves tracked `.mancode/shared` projection changes for a resumable in-progress or blocked task, commit them, then run the same `team sync push` with the unchanged task revision to rebind the remote code head before another clone resumes the task."
|
|
962
970
|
]
|
|
@@ -2059,4 +2067,4 @@ export {
|
|
|
2059
2067
|
renderV3Bootstrap,
|
|
2060
2068
|
renderV3ModeEntry
|
|
2061
2069
|
};
|
|
2062
|
-
//# sourceMappingURL=chunk-
|
|
2070
|
+
//# sourceMappingURL=chunk-AWOIP2LC.js.map
|