maskweaver 0.9.3 → 0.9.5
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.ko.md +279 -325
- package/README.md +109 -113
- package/assets/commands/meta/commands.json +34 -34
- package/assets/commands/weave-agents.md +12 -52
- package/assets/commands/weave-approve.md +12 -51
- package/assets/commands/weave-archive.md +21 -0
- package/assets/commands/weave-build.md +20 -89
- package/assets/commands/weave-craft.md +22 -43
- package/assets/commands/weave-help.md +37 -106
- package/assets/commands/weave-init.md +26 -108
- package/assets/commands/weave-interview.md +13 -111
- package/assets/commands/weave-map.md +13 -99
- package/assets/commands/weave-prepare.md +23 -69
- package/assets/commands/weave-refine-plan.md +26 -59
- package/assets/commands/weave-repair.md +22 -70
- package/assets/commands/weave-status.md +22 -155
- package/assets/commands/weave-troubleshoot.md +11 -47
- package/assets/commands/weave-verify.md +23 -44
- package/assets/commands/weave-worktree.md +27 -69
- package/dist/cli/doctor.js +5 -21
- package/dist/cli/install.d.ts +0 -8
- package/dist/cli/install.js +0 -39
- package/dist/context/config.d.ts +0 -22
- package/dist/context/config.js +0 -28
- package/dist/context/feature.d.ts +0 -39
- package/dist/context/feature.js +0 -77
- package/dist/context/files.d.ts +0 -13
- package/dist/context/files.js +1 -24
- package/dist/context/index.d.ts +0 -7
- package/dist/context/index.js +0 -12
- package/dist/context/project.d.ts +0 -21
- package/dist/context/project.js +0 -30
- package/dist/context/types.d.ts +0 -48
- package/dist/context/types.js +0 -12
- package/dist/context/utils.d.ts +0 -18
- package/dist/context/utils.js +0 -27
- package/dist/core/engine/promptBuilder.d.ts +0 -17
- package/dist/core/engine/promptBuilder.js +0 -28
- package/dist/core/index.d.ts +0 -6
- package/dist/core/index.js +0 -9
- package/dist/core/loader/MaskLoader.d.ts +0 -23
- package/dist/core/loader/MaskLoader.js +0 -29
- package/dist/core/schema/types.d.ts +0 -47
- package/dist/core/schema/types.js +0 -6
- package/dist/core/schema/validator.d.ts +0 -14
- package/dist/core/schema/validator.js +0 -18
- package/dist/i18n/index.d.ts +0 -18
- package/dist/i18n/index.js +4 -23
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -8
- package/dist/lib.d.ts +0 -5
- package/dist/lib.js +0 -12
- package/dist/memory/chunking.d.ts +0 -22
- package/dist/memory/chunking.js +2 -37
- package/dist/memory/core.d.ts +0 -29
- package/dist/memory/core.js +1 -52
- package/dist/memory/index.d.ts +0 -5
- package/dist/memory/index.js +0 -10
- package/dist/memory/indexer.d.ts +0 -21
- package/dist/memory/indexer.js +0 -44
- package/dist/memory/providers/examples.d.ts +0 -5
- package/dist/memory/providers/examples.js +4 -64
- package/dist/memory/providers/factory.d.ts +0 -44
- package/dist/memory/providers/factory.js +0 -46
- package/dist/memory/providers/index.d.ts +0 -26
- package/dist/memory/providers/index.js +0 -28
- package/dist/memory/providers/ollama.d.ts +0 -6
- package/dist/memory/providers/ollama.js +1 -8
- package/dist/memory/providers/openai.d.ts +0 -6
- package/dist/memory/providers/openai.js +1 -8
- package/dist/memory/providers/openrouter.d.ts +0 -6
- package/dist/memory/providers/openrouter.js +0 -8
- package/dist/memory/providers/text-only.d.ts +0 -13
- package/dist/memory/providers/text-only.js +0 -17
- package/dist/memory/providers/types.d.ts +0 -39
- package/dist/memory/providers/types.js +0 -7
- package/dist/memory/providers/voyage.d.ts +0 -22
- package/dist/memory/providers/voyage.js +1 -24
- package/dist/memory/search/hybrid.d.ts +0 -12
- package/dist/memory/search/hybrid.js +1 -22
- package/dist/memory/store/sqlite.d.ts +0 -72
- package/dist/memory/store/sqlite.js +4 -127
- package/dist/plugin/config/index.d.ts +0 -112
- package/dist/plugin/config/index.js +0 -115
- package/dist/plugin/index.d.ts +0 -13
- package/dist/plugin/index.js +1 -124
- package/dist/plugin/tools/command-registry.d.ts +0 -6
- package/dist/plugin/tools/command-registry.js +0 -14
- package/dist/plugin/tools/context.d.ts +0 -12
- package/dist/plugin/tools/context.js +0 -58
- package/dist/plugin/tools/maskSave.d.ts +0 -3
- package/dist/plugin/tools/maskSave.js +0 -3
- package/dist/plugin/tools/memoryGet.d.ts +0 -3
- package/dist/plugin/tools/memoryGet.js +0 -3
- package/dist/plugin/tools/memoryIndexer.d.ts +0 -3
- package/dist/plugin/tools/memoryIndexer.js +0 -10
- package/dist/plugin/tools/memorySearch.d.ts +0 -31
- package/dist/plugin/tools/memorySearch.js +0 -79
- package/dist/plugin/tools/memoryWrite.d.ts +0 -8
- package/dist/plugin/tools/memoryWrite.js +0 -32
- package/dist/plugin/tools/retrospect.d.ts +0 -3
- package/dist/plugin/tools/retrospect.js +0 -3
- package/dist/plugin/tools/slashcommand.d.ts +0 -11
- package/dist/plugin/tools/slashcommand.js +0 -38
- package/dist/plugin/tools/squad.d.ts +0 -12
- package/dist/plugin/tools/squad.js +11 -83
- package/dist/plugin/tools/weave.d.ts +0 -6
- package/dist/plugin/tools/weave.js +0 -78
- package/dist/plugin/types.d.ts +0 -20
- package/dist/plugin/types.js +0 -7
- package/dist/retrospect/index.d.ts +0 -7
- package/dist/retrospect/index.js +0 -9
- package/dist/retrospect/mask-save.d.ts +0 -12
- package/dist/retrospect/mask-save.js +1 -80
- package/dist/retrospect/retrospect.d.ts +0 -18
- package/dist/retrospect/retrospect.js +0 -63
- package/dist/retrospect/strategies/base.d.ts +0 -15
- package/dist/retrospect/strategies/base.js +0 -7
- package/dist/retrospect/strategies/deep.d.ts +0 -12
- package/dist/retrospect/strategies/deep.js +0 -24
- package/dist/retrospect/strategies/index.d.ts +0 -12
- package/dist/retrospect/strategies/index.js +0 -12
- package/dist/retrospect/strategies/quick.d.ts +0 -12
- package/dist/retrospect/strategies/quick.js +0 -19
- package/dist/retrospect/strategies/standard.d.ts +0 -12
- package/dist/retrospect/strategies/standard.js +0 -15
- package/dist/retrospect/types.d.ts +0 -7
- package/dist/retrospect/types.js +0 -7
- package/dist/shared/config.d.ts +0 -105
- package/dist/shared/config.js +0 -33
- package/dist/shared/errors.d.ts +0 -18
- package/dist/shared/errors.js +0 -19
- package/dist/shared/generate-agents.d.ts +0 -69
- package/dist/shared/generate-agents.js +2 -86
- package/dist/shared/image.d.ts +0 -67
- package/dist/shared/image.js +6 -104
- package/dist/shared/index.d.ts +0 -5
- package/dist/shared/index.js +0 -7
- package/dist/shared/model-registry.d.ts +0 -72
- package/dist/shared/model-registry.js +5 -95
- package/dist/shared/types.d.ts +0 -15
- package/dist/shared/types.js +0 -3
- package/dist/shared-context/dag.d.ts +0 -105
- package/dist/shared-context/dag.js +3 -114
- package/dist/shared-context/index.d.ts +0 -5
- package/dist/shared-context/index.js +0 -15
- package/dist/shared-context/logger.d.ts +0 -37
- package/dist/shared-context/logger.js +0 -41
- package/dist/shared-context/parallel-executor.d.ts +0 -54
- package/dist/shared-context/parallel-executor.js +4 -56
- package/dist/shared-context/session.d.ts +0 -56
- package/dist/shared-context/session.js +0 -47
- package/dist/shared-context/squad.d.ts +0 -68
- package/dist/shared-context/squad.js +0 -63
- package/dist/shared-context/storage.d.ts +0 -132
- package/dist/shared-context/storage.js +0 -116
- package/dist/shared-context/task.d.ts +0 -120
- package/dist/shared-context/task.js +0 -152
- package/dist/shared-context/test/dag.test.js +9 -14
- package/dist/shared-context/test/logger.test.d.ts +0 -8
- package/dist/shared-context/test/logger.test.js +0 -52
- package/dist/shared-context/test/session.test.d.ts +0 -7
- package/dist/shared-context/test/session.test.js +0 -63
- package/dist/shared-context/test/squad.test.d.ts +0 -10
- package/dist/shared-context/test/squad.test.js +2 -68
- package/dist/shared-context/test/storage.test.d.ts +0 -8
- package/dist/shared-context/test/storage.test.js +0 -68
- package/dist/shared-context/test/task.test.d.ts +0 -7
- package/dist/shared-context/test/task.test.js +0 -54
- package/dist/shared-context/test/watchdog.test.d.ts +0 -7
- package/dist/shared-context/test/watchdog.test.js +3 -58
- package/dist/shared-context/types.d.ts +0 -215
- package/dist/shared-context/types.js +0 -125
- package/dist/shared-context/watchdog.d.ts +0 -127
- package/dist/shared-context/watchdog.js +0 -148
- package/dist/shared-context/worktree.d.ts +0 -68
- package/dist/shared-context/worktree.js +2 -34
- package/dist/verify/budget.d.ts +0 -29
- package/dist/verify/budget.js +0 -34
- package/dist/verify/critical-files.d.ts +0 -17
- package/dist/verify/critical-files.js +0 -37
- package/dist/verify/escalation.d.ts +0 -20
- package/dist/verify/escalation.js +0 -22
- package/dist/verify/index.d.ts +0 -5
- package/dist/verify/index.js +0 -11
- package/dist/verify/prompts.d.ts +0 -20
- package/dist/verify/prompts.js +0 -20
- package/dist/verify/types.d.ts +0 -26
- package/dist/verify/types.js +1 -12
- package/dist/verify/verifier.d.ts +0 -29
- package/dist/verify/verifier.js +0 -54
- package/dist/version.d.ts +1 -16
- package/dist/version.js +1 -16
- package/dist/weave/bridge.d.ts +0 -35
- package/dist/weave/bridge.js +0 -51
- package/dist/weave/environment/detector.d.ts +0 -6
- package/dist/weave/environment/detector.js +4 -45
- package/dist/weave/environment/index.d.ts +0 -19
- package/dist/weave/environment/index.js +1 -39
- package/dist/weave/environment/issues.d.ts +0 -35
- package/dist/weave/environment/issues.js +0 -59
- package/dist/weave/git.d.ts +0 -8
- package/dist/weave/git.js +0 -8
- package/dist/weave/index.d.ts +0 -13
- package/dist/weave/index.js +2 -28
- package/dist/weave/knowledge/global.d.ts +0 -39
- package/dist/weave/knowledge/global.js +2 -78
- package/dist/weave/loop.js +0 -3
- package/dist/weave/orchestrator.d.ts +0 -69
- package/dist/weave/orchestrator.js +1 -101
- package/dist/weave/phase-manager.d.ts +0 -64
- package/dist/weave/phase-manager.js +0 -89
- package/dist/weave/security/secret-scan.d.ts +0 -14
- package/dist/weave/security/secret-scan.js +0 -19
- package/dist/weave/stages/build.js +0 -15
- package/dist/weave/stages/execute.d.ts +0 -42
- package/dist/weave/stages/execute.js +4 -86
- package/dist/weave/stages/handoff.d.ts +0 -7
- package/dist/weave/stages/handoff.js +0 -43
- package/dist/weave/stages/index.d.ts +0 -3
- package/dist/weave/stages/index.js +0 -3
- package/dist/weave/stages/intake.d.ts +0 -8
- package/dist/weave/stages/intake.js +5 -65
- package/dist/weave/stages/map.d.ts +0 -1
- package/dist/weave/stages/openspec.d.ts +0 -1
- package/dist/weave/stages/plan.d.ts +0 -11
- package/dist/weave/stages/plan.js +1 -53
- package/dist/weave/stages/refine.d.ts +0 -7
- package/dist/weave/stages/refine.js +0 -7
- package/dist/weave/stages/research.d.ts +0 -6
- package/dist/weave/stages/research.js +0 -6
- package/dist/weave/stages/spec.d.ts +0 -12
- package/dist/weave/stages/spec.js +0 -17
- package/dist/weave/types.d.ts +0 -20
- package/dist/weave/types.js +0 -5
- package/dist/weave/verification/commands.d.ts +0 -12
- package/dist/weave/verification/commands.js +0 -19
- package/dist/weave/verification/index.d.ts +0 -6
- package/dist/weave/verification/index.js +1 -19
- package/dist/weave/verification/playwright.d.ts +0 -47
- package/dist/weave/verification/playwright.js +1 -90
- package/dist/weave/worktree.d.ts +0 -16
- package/dist/weave/worktree.js +0 -23
- package/dist/weave/yaml-repair.d.ts +0 -39
- package/dist/weave/yaml-repair.js +13 -116
- package/package.json +1 -1
|
@@ -1,62 +1,22 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Sync generated agent files and initialize runtime configuration
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /weave-agents
|
|
5
|
+
# /weave-agents
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Manage the agent files that Maskweaver exposes to opencode.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `weave` tool:
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
| `init` | 기본 설정 파일(maskweaver.config.json) 생성 | `weave init-config` |
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## 사용법
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
# 에이전트 파일 동기화
|
|
22
|
-
/weave-agents --sync
|
|
23
|
-
|
|
24
|
-
# 기본 설정 파일 생성
|
|
25
|
-
/weave-agents --init
|
|
26
|
-
|
|
27
|
-
# 동시 실행
|
|
28
|
-
/weave-agents --sync --init
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## 입력
|
|
34
|
-
|
|
35
|
-
```yaml
|
|
36
|
-
sync: true # (선택) 에이전트 파일 강제 재생성
|
|
37
|
-
init: true # (선택) 기본 설정 파일 생성 (기존 파일 덮어쓰지 않음)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## 출력 예시
|
|
43
|
-
|
|
44
|
-
### 동기화
|
|
45
|
-
|
|
46
|
-
```markdown
|
|
47
|
-
## 🔄 Agent Sync
|
|
48
|
-
|
|
49
|
-
✅ Updated: `.opencode/agents/dummy-human-1.md`
|
|
50
|
-
✅ Updated: `.opencode/agents/dummy-human-2.md`
|
|
51
|
-
|
|
52
|
-
> ⚠️ **Important:** You may need to restart OpenCode for the updated agent files to take effect.
|
|
11
|
+
```txt
|
|
12
|
+
weave command=agents sync=true
|
|
13
|
+
weave command=agents init=true
|
|
53
14
|
```
|
|
54
15
|
|
|
55
|
-
|
|
16
|
+
## Modes
|
|
56
17
|
|
|
57
|
-
|
|
58
|
-
|
|
18
|
+
- `sync=true`: regenerate `.opencode/agents/*.md` from the configured dummy-human pool.
|
|
19
|
+
- `init=true`: create the default runtime and plugin configuration files when they do not exist.
|
|
20
|
+
- `sync=true init=true`: initialize config and refresh generated agent files in one pass.
|
|
59
21
|
|
|
60
|
-
|
|
61
|
-
✅ Created plugin config: .opencode/maskweaver.json
|
|
62
|
-
```
|
|
22
|
+
Prefer this command when agent markdown files are missing, stale, or out of sync with `maskweaver.config.json`.
|
|
@@ -1,61 +1,22 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Approve the plan or finalize a crafted phase
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /weave-approve
|
|
5
|
+
# /weave-approve
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Pass the approval gate before implementation, or finalize a phase after craft and verify have completed.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `weave` tool:
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## 사용법
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
# Plan 승인 (가장 일반적)
|
|
19
|
-
/weave-approve
|
|
20
|
-
|
|
21
|
-
# Craft 완료된 Phase 최종 확정
|
|
22
|
-
/weave-approve P1
|
|
11
|
+
```txt
|
|
12
|
+
weave command=approve
|
|
13
|
+
weave command=approve phaseId="P1"
|
|
23
14
|
```
|
|
24
15
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## 입력
|
|
28
|
-
|
|
29
|
-
```yaml
|
|
30
|
-
phaseId: "P1" # (선택) 최종 확정할 Phase ID. 미지정 시 Plan 승인
|
|
31
|
-
planReview: "..." # (선택) Plan 검토 요약
|
|
32
|
-
applyNotes: true # (선택) plan-notes 자동 반영 여부 (기본: true)
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
---
|
|
16
|
+
## Behavior
|
|
36
17
|
|
|
37
|
-
|
|
18
|
+
- Without `phaseId`, approve the active plan so implementation can begin.
|
|
19
|
+
- With `phaseId`, finalize the crafted phase after verification.
|
|
20
|
+
- `applyNotes=true` applies structured notes before approval when plan notes are present.
|
|
38
21
|
|
|
39
|
-
|
|
40
|
-
1. 활성 Plan 로드
|
|
41
|
-
2. phaseId 미지정 → Plan 승인
|
|
42
|
-
└─ applyNotes=true → plan-notes 자동 반영 후 승인
|
|
43
|
-
3. phaseId 지정 → Phase 최종 확정 (finalize)
|
|
44
|
-
└─ verify → 통과 시 완료 처리
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## 출력 예시
|
|
50
|
-
|
|
51
|
-
### Plan 승인
|
|
52
|
-
|
|
53
|
-
```markdown
|
|
54
|
-
## ✅ Plan Approved
|
|
55
|
-
|
|
56
|
-
- Plan: `.opencode/weave/plans/emotion-diary.yaml`
|
|
57
|
-
- Approved at: 2025-04-28T10:30:00.000Z
|
|
58
|
-
- Review note: Approved without additional notes.
|
|
59
|
-
|
|
60
|
-
다음 단계: `weave command=craft phaseId="P1"`
|
|
61
|
-
```
|
|
22
|
+
Do not treat approval as a substitute for verification. Use `/weave-verify` or `/build` for evidence before finalizing work.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Archive the verified active change artifact
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /weave-archive
|
|
6
|
+
|
|
7
|
+
Archive the active change after implementation has been verified and the phase or plan no longer needs to stay active.
|
|
8
|
+
|
|
9
|
+
Use the `weave` tool:
|
|
10
|
+
|
|
11
|
+
```txt
|
|
12
|
+
weave command=archive
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## When To Use
|
|
16
|
+
|
|
17
|
+
- The active change has passed build/test verification.
|
|
18
|
+
- The user has accepted the implementation result.
|
|
19
|
+
- The plan should be preserved for history but removed from the active workflow.
|
|
20
|
+
|
|
21
|
+
Do not archive unverified work. Run `/weave-verify` or `/build` first and keep the verification result in the change record.
|
|
@@ -1,99 +1,30 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Run, resume, stop, list, or inspect autonomous build loops
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /weave-build
|
|
5
|
+
# /weave-build
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Run the Maskweaver autonomous build loop for approved phases, or manage an existing build loop.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `weave` tool:
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## 사용법
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
# 자율 빌드 시작 (기본)
|
|
26
|
-
/weave-build
|
|
27
|
-
/weave-build P1,P2
|
|
28
|
-
|
|
29
|
-
# 빌드 상태 확인
|
|
30
|
-
/weave-build --status build-20250428-a1b2
|
|
31
|
-
|
|
32
|
-
# 빌드 중단
|
|
33
|
-
/weave-build --stop build-20250428-a1b2
|
|
34
|
-
|
|
35
|
-
# 빌드 목록
|
|
36
|
-
/weave-build --list
|
|
37
|
-
|
|
38
|
-
# 중단 빌드 재개
|
|
39
|
-
/weave-build --resume build-20250428-a1b2
|
|
40
|
-
|
|
41
|
-
# 위임 결과 동기화
|
|
42
|
-
/weave-build --sync build-20250428-a1b2
|
|
11
|
+
```txt
|
|
12
|
+
weave command=build
|
|
13
|
+
weave command=build action=run phaseIds="P1,P2"
|
|
14
|
+
weave command=build action=status buildId="build-20250428-a1b2"
|
|
15
|
+
weave command=build action=stop buildId="build-20250428-a1b2"
|
|
16
|
+
weave command=build action=list
|
|
17
|
+
weave command=build action=resume buildId="build-20250428-a1b2"
|
|
18
|
+
weave command=build action=sync buildId="build-20250428-a1b2"
|
|
43
19
|
```
|
|
44
20
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
## 입력
|
|
48
|
-
|
|
49
|
-
```yaml
|
|
50
|
-
action: run | status | stop | list | resume | sync # (선택) 서브 액션. 기본값: run
|
|
51
|
-
phaseIds: "P1,P2" # (선택, action=run) 쉼표로 구분된 Phase ID
|
|
52
|
-
buildId: "build-xxx" # (선택, action=status/stop/resume/sync) 대상 빌드 ID
|
|
53
|
-
maxRetries: 3 # (선택, action=run) 태스크당 최대 재시도
|
|
54
|
-
maxIterations: 1 # (선택) 최대 반복 횟수
|
|
55
|
-
maxNoProgress: 1 # (선택) 무진행 허용 횟수
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
---
|
|
59
|
-
|
|
60
|
-
## 출력 예시
|
|
61
|
-
|
|
62
|
-
### 성공 (run)
|
|
63
|
-
|
|
64
|
-
```markdown
|
|
65
|
-
## ✅ Build Complete
|
|
66
|
-
|
|
67
|
-
**Build ID**: `build-20250428-a1b2`
|
|
68
|
-
**Plan**: `emotion-diary`
|
|
69
|
-
**Phases**: P1, P2
|
|
70
|
-
|
|
71
|
-
| Phase | 상태 | 소요 시간 |
|
|
72
|
-
|-------|------|----------|
|
|
73
|
-
| P1 | ✅ 완료 | 12분 |
|
|
74
|
-
| P2 | ✅ 완료 | 8분 |
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### 일부 실패 (blocked)
|
|
78
|
-
|
|
79
|
-
```markdown
|
|
80
|
-
## ⚠️ Build Blocked
|
|
81
|
-
|
|
82
|
-
**Build ID**: `build-20250428-c3d4`
|
|
83
|
-
**Plan**: `emotion-diary`
|
|
84
|
-
|
|
85
|
-
| Phase | 상태 | 실패 원인 |
|
|
86
|
-
|-------|------|----------|
|
|
87
|
-
| P1 | ✅ 완료 | - |
|
|
88
|
-
| P2 | 🚫 blocked | 타입 검증 실패 (3회 재시도 소진) |
|
|
89
|
-
|
|
90
|
-
**다음 동작**: `weave build action=resume buildId="build-20250428-c3d4"`
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
---
|
|
21
|
+
## Actions
|
|
94
22
|
|
|
95
|
-
|
|
23
|
+
- `run`: execute selected phases, or the next approved work when phase IDs are omitted.
|
|
24
|
+
- `status`: inspect one build loop.
|
|
25
|
+
- `stop`: request a running loop to stop.
|
|
26
|
+
- `list`: show known build loops.
|
|
27
|
+
- `resume`: continue a blocked or stopped build.
|
|
28
|
+
- `sync`: import squad/runtime results into the build record.
|
|
96
29
|
|
|
97
|
-
|
|
98
|
-
- `/weave-verify` — 현재 워크트리 검증
|
|
99
|
-
- `/weave-status` — 전체 진행 상황
|
|
30
|
+
The short `/build` command is also installed for opencode users who expect build to appear as a direct command.
|
|
@@ -1,43 +1,22 @@
|
|
|
1
|
-
---
|
|
2
|
-
description:
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /weave-craft
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- `$ARGUMENTS` = 선택적 Phase ID (`P1`, `P2` 등)
|
|
24
|
-
|
|
25
|
-
예시:
|
|
26
|
-
|
|
27
|
-
```txt
|
|
28
|
-
/weave-craft
|
|
29
|
-
/weave-craft P1
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## 내부 호출
|
|
33
|
-
|
|
34
|
-
```txt
|
|
35
|
-
weave command=craft phaseId="$ARGUMENTS"
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## 권장 흐름
|
|
39
|
-
|
|
40
|
-
1. `weave command=craft`로 phase 실행 컨텍스트 준비
|
|
41
|
-
2. 코드 구현/위임 수행
|
|
42
|
-
3. `weave command=verify`로 검증
|
|
43
|
-
4. `weave command=approve-plan`으로 phase 확정
|
|
1
|
+
---
|
|
2
|
+
description: Prepare execution context for a phase
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /weave-craft
|
|
6
|
+
|
|
7
|
+
Prepare one approved phase for implementation.
|
|
8
|
+
|
|
9
|
+
Use the `weave` tool:
|
|
10
|
+
|
|
11
|
+
```txt
|
|
12
|
+
weave command=craft
|
|
13
|
+
weave command=craft phaseId="P1"
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Behavior
|
|
17
|
+
|
|
18
|
+
- Selects the next runnable phase when `phaseId` is omitted.
|
|
19
|
+
- Loads plan, spec, masks, and execution context for the chosen phase.
|
|
20
|
+
- Gives the implementer the bounded task context needed to start work.
|
|
21
|
+
|
|
22
|
+
After implementation, run `/weave-verify` or `/build` before using `/weave-approve` to finalize the phase.
|
|
@@ -1,114 +1,45 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Show weave workflow help
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /weave-help
|
|
5
|
+
# /weave-help
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Weave is Maskweaver's phase-driven workflow for moving from requirements to verified implementation.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Main Flow
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
| CLI | `maskweaver --version` 또는 `maskweaver -V` |
|
|
23
|
-
| npm | `npm list maskweaver` |
|
|
24
|
-
| 채팅 내 | `maskweaver_status` 도구 사용 |
|
|
25
|
-
| Weave | `/weave help` |
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## 핵심 철학
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
1. 테스트 먼저 (Protect Before Change)
|
|
33
|
-
2. 작게 자주 (Small & Often)
|
|
34
|
-
3. 동작이 정답 (Working > Perfect)
|
|
11
|
+
```txt
|
|
12
|
+
/weave-init
|
|
13
|
+
/weave-map
|
|
14
|
+
/weave-interview
|
|
15
|
+
/weave-prepare
|
|
16
|
+
/weave-refine-plan
|
|
17
|
+
/weave-approve
|
|
18
|
+
/weave-craft
|
|
19
|
+
/build
|
|
20
|
+
/weave-verify
|
|
21
|
+
/weave-archive
|
|
35
22
|
```
|
|
36
23
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
| `/weave-
|
|
44
|
-
| `/weave-
|
|
45
|
-
| `/weave-
|
|
46
|
-
| `/weave-
|
|
47
|
-
| `/weave-
|
|
48
|
-
| `/
|
|
49
|
-
| `/weave-
|
|
50
|
-
| `/weave-
|
|
51
|
-
| `/weave-
|
|
52
|
-
| `/weave-
|
|
53
|
-
| `/weave-
|
|
54
|
-
| `/weave-
|
|
55
|
-
| `/weave-
|
|
56
|
-
| `/weave-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
## 워크플로우
|
|
63
|
-
|
|
64
|
-
```
|
|
65
|
-
/weave-init ← 프로젝트 초기화 (1회)
|
|
66
|
-
↓
|
|
67
|
-
/weave-prepare docs/ ← research + spec + plan 한 번에 생성
|
|
68
|
-
↓
|
|
69
|
-
/weave-refine-plan ← (선택) plan-notes 기반 자동 정제
|
|
70
|
-
↓
|
|
71
|
-
/weave-approve ← 구현 전 계획 승인 (필수)
|
|
72
|
-
↓
|
|
73
|
-
/weave-craft ← 다음 Phase 자동 선택 실행 준비
|
|
74
|
-
↓
|
|
75
|
-
/weave-build ← 자율 빌드 루프 실행
|
|
76
|
-
↓
|
|
77
|
-
/weave-verify ← 검증
|
|
78
|
-
↓
|
|
79
|
-
/weave-archive ← 아카이브
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
---
|
|
83
|
-
|
|
84
|
-
## 파일 구조
|
|
85
|
-
|
|
86
|
-
```
|
|
87
|
-
.opencode/weave/
|
|
88
|
-
├── state.yaml ← 활성 플랜 추적
|
|
89
|
-
├── specs/
|
|
90
|
-
│ └── *.yaml ← baseline spec
|
|
91
|
-
└── plans/
|
|
92
|
-
└── *.yaml ← 플랜
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
---
|
|
96
|
-
|
|
97
|
-
## 마이그레이션 노트 (v0.9)
|
|
98
|
-
|
|
99
|
-
| 기존 명령어 | 새 명령어 | 비고 |
|
|
100
|
-
|-------------|-----------|------|
|
|
101
|
-
| `approve-plan` | `approve` | alias로 v0.9까지 동작 |
|
|
102
|
-
| `build-resume` | `build --resume` | alias로 v0.9까지 동작 |
|
|
103
|
-
| `loop-run` | `build` | alias로 v0.9까지 동작 |
|
|
104
|
-
| `loop-status` | `build --status` | alias로 v0.9까지 동작 |
|
|
105
|
-
| `loop-stop` | `build --stop` | alias로 v0.9까지 동작 |
|
|
106
|
-
| `loop-list` | `build --list` | alias로 v0.9까지 동작 |
|
|
107
|
-
| `loop-sync` | `build --sync` | alias로 v0.9까지 동작 |
|
|
108
|
-
| `record` | `troubleshoot --record` | alias로 v0.9까지 동작 |
|
|
109
|
-
| `sync-agents` | `agents --sync` | alias로 v0.9까지 동작 |
|
|
110
|
-
| `init-config` | `agents --init` | alias로 v0.9까지 동작 |
|
|
111
|
-
| `research` | `prepare` | deprecated alias (v0.9 경고) |
|
|
112
|
-
| `spec` | `prepare` | deprecated alias (v0.9 경고) |
|
|
113
|
-
| `design` | `prepare` | deprecated alias (v0.9 경고) |
|
|
114
|
-
| `flow` | `prepare` → `approve` → `craft` | deprecated alias (v0.9 경고) |
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
| Command | Purpose |
|
|
27
|
+
| --- | --- |
|
|
28
|
+
| `/weave-init` | Initialize workspace files and probe GDC integration |
|
|
29
|
+
| `/weave-map` | Analyze codebase structure |
|
|
30
|
+
| `/weave-interview` | Clarify requirements before planning |
|
|
31
|
+
| `/weave-prepare` | Create research, spec, and plan artifacts |
|
|
32
|
+
| `/weave-refine-plan` | Apply structured notes to the active plan |
|
|
33
|
+
| `/weave-approve` | Approve a plan or finalize a verified phase |
|
|
34
|
+
| `/weave-craft` | Prepare phase execution context |
|
|
35
|
+
| `/build` | Run or manage the autonomous build loop |
|
|
36
|
+
| `/weave-build` | Long-form build command |
|
|
37
|
+
| `/weave-status` | View plan and phase progress |
|
|
38
|
+
| `/weave-worktree` | Manage git worktrees for parallel work |
|
|
39
|
+
| `/weave-verify` | Run build/test verification |
|
|
40
|
+
| `/weave-archive` | Archive a verified active change |
|
|
41
|
+
| `/weave-troubleshoot` | Search or record solution knowledge |
|
|
42
|
+
| `/weave-repair` | Repair corrupted plan YAML |
|
|
43
|
+
| `/weave-agents` | Sync generated agent files and config |
|
|
44
|
+
|
|
45
|
+
Use `/build` for the common autonomous build path. Keep `/weave-*` for workflow commands so opencode built-in commands stay clear.
|
|
@@ -1,108 +1,26 @@
|
|
|
1
|
-
---
|
|
2
|
-
description:
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /weave-init
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
# Allow AI tools to access weave plans (overrides .gitignore)
|
|
28
|
-
!.opencode/weave/
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
만약 `.ignore` 파일이 이미 있다면, `!.opencode/weave/` 줄만 추가합니다 (중복 방지).
|
|
32
|
-
|
|
33
|
-
### 2. 디렉토리 구조 생성
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
mkdir -p .opencode/weave/plans
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### 3. `state.yaml` 초기화
|
|
40
|
-
|
|
41
|
-
`.opencode/weave/state.yaml` 파일을 생성합니다:
|
|
42
|
-
|
|
43
|
-
```yaml
|
|
44
|
-
# Weave Multi-Plan State
|
|
45
|
-
# 이 파일은 활성 플랜을 추적합니다
|
|
46
|
-
active_plan: null
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### 4. 기존 PLAN.yaml 마이그레이션 (해당 시)
|
|
50
|
-
|
|
51
|
-
만약 `.opencode/weave/PLAN.yaml` (구버전 단일 플랜)이 존재하면:
|
|
52
|
-
1. 기존 PLAN을 읽어 multi-plan 포맷으로 저장
|
|
53
|
-
2. `state.yaml`의 `active_plan`을 해당 플랜으로 설정
|
|
54
|
-
3. 기존 PLAN.yaml 삭제 (가능한 경우)
|
|
55
|
-
|
|
56
|
-
### 5. GDC 연동 점검 및 그래프 동기화
|
|
57
|
-
|
|
58
|
-
`weave init`은 GDC 연동 상태를 확인합니다.
|
|
59
|
-
|
|
60
|
-
- `.gdc` 워크스페이스 미감지 시:
|
|
61
|
-
- 안내 메시지 출력 (`gdc init --language <lang>`)
|
|
62
|
-
- 감지 + 연동 활성화 시:
|
|
63
|
-
- `gdc version --machine`
|
|
64
|
-
- `gdc sync --machine`
|
|
65
|
-
- `gdc check --machine`
|
|
66
|
-
- `gdc stats --machine`
|
|
67
|
-
|
|
68
|
-
이 단계는 **정보 제공 및 부트스트랩 목적**이며, 실패해도 Weave 초기화 자체는 완료됩니다.
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
## 완료 메시지
|
|
73
|
-
|
|
74
|
-
```markdown
|
|
75
|
-
## ✅ Weave 초기화 완료!
|
|
76
|
-
|
|
77
|
-
### 생성된 파일
|
|
78
|
-
- `.ignore` — AI 도구 접근 허용 설정
|
|
79
|
-
- `.opencode/weave/state.yaml` — 플랜 상태 추적
|
|
80
|
-
- `.opencode/weave/plans/` — 플랜 저장 디렉토리
|
|
81
|
-
|
|
82
|
-
### 다음 단계
|
|
83
|
-
프로젝트 계획을 세우려면:
|
|
84
|
-
`weave command=prepare docsPath="docs/"`
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## 이미 초기화된 경우
|
|
90
|
-
|
|
91
|
-
`.opencode/weave/state.yaml`이 이미 존재하면:
|
|
92
|
-
|
|
93
|
-
```markdown
|
|
94
|
-
ℹ️ 이미 Weave가 초기화되어 있습니다.
|
|
95
|
-
|
|
96
|
-
활성 플랜: {active_plan 또는 "없음"}
|
|
97
|
-
전체 플랜 수: {plans/ 내 yaml 파일 수}
|
|
98
|
-
|
|
99
|
-
상태 확인: `/weave-status`
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
## 주의사항
|
|
105
|
-
|
|
106
|
-
- `.ignore` 파일은 `.gitignore`와 **같은 레벨(프로젝트 루트)**에 생성합니다
|
|
107
|
-
- `.ignore`는 Git이 아니라 ripgrep만 참조하므로 Git 추적에 영향 없음
|
|
108
|
-
- `.ignore` 파일 자체는 `.gitignore`에 넣지 마세요 (AI가 읽어야 하므로)
|
|
1
|
+
---
|
|
2
|
+
description: Initialize weave workspace files and probe GDC integration
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /weave-init
|
|
6
|
+
|
|
7
|
+
Initialize the Weave workspace for the current project.
|
|
8
|
+
|
|
9
|
+
Use the `weave` tool:
|
|
10
|
+
|
|
11
|
+
```txt
|
|
12
|
+
weave command=init
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## What It Creates
|
|
16
|
+
|
|
17
|
+
- `.opencode/weave/state.yaml`
|
|
18
|
+
- `.opencode/weave/plans/`
|
|
19
|
+
- `.opencode/weave/specs/`
|
|
20
|
+
- `.ignore` entry that lets AI tools read `.opencode/weave/` even when `.opencode/` is gitignored
|
|
21
|
+
|
|
22
|
+
## GDC Probe
|
|
23
|
+
|
|
24
|
+
When GDC is present, init probes the workspace and reports status. Missing or unavailable GDC should be reported as a setup hint, not as a failed Weave initialization.
|
|
25
|
+
|
|
26
|
+
Run this once per project root. Worktrees should be created with `/weave-worktree` so Weave artifacts are bootstrapped correctly.
|