maskweaver 0.9.2 → 0.9.4

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.
@@ -1,114 +1,45 @@
1
1
  ---
2
- description: Weave 워크플로우 도움말
2
+ description: Show weave workflow help
3
3
  ---
4
4
 
5
- # /weave-help - Weave 워크플로우 도움말
5
+ # /weave-help
6
6
 
7
- > **Maskweaver v0.9.1**
7
+ Weave is Maskweaver's phase-driven workflow for moving from requirements to verified implementation.
8
8
 
9
- ## Weave란?
9
+ ## Main Flow
10
10
 
11
- Maskweaver의 **Phase-Driven Development** 워크플로우입니다.
12
- "AI가 검증하고, 유저가 확인한다"
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
- ## 통합 명령어 목록 (v0.9+)
40
-
41
- | 명령어 | 설명 |
42
- |--------|------|
43
- | `/weave-init` | Weave 초기화 (프로젝트당 1회) |
44
- | `/weave-map [deep]` | 코드베이스 구조 분석 + GDC 그래프 연동 |
45
- | `/weave-interview [docs]` | 코드베이스 기반 멀티스텝 요구사항 인터뷰 |
46
- | `/weave-prepare [docs]` | **research + spec + plan 번에 생성** (큰 계획은 자동 분할) |
47
- | `/weave-refine-plan` | `tasks/plan-notes.md` 지시문을 plan에 자동 반영 |
48
- | `/weave-approve` | 구현 계획 승인 게이트 통과 |
49
- | `/weave-craft [phase-id]` | 활성 플랜의 Phase 실행 준비 (실행 컨텍스트 생성) |
50
- | `/weave-build [action]` | **자율 빌드 루프** run, status, stop, list, resume, sync |
51
- | `/weave-status` | 전체 플랜 목록 + 진행 상황 |
52
- | `/weave-worktree` | git worktree 기반 병렬 작업 관리 |
53
- | `/weave-verify` | 빌드/테스트 검증 실행 (프로젝트 유형 자동 감지) |
54
- | `/weave-archive` | 검증된 변경사항 아카이브 |
55
- | `/weave-troubleshoot [error]` | 글로벌 지식 검색 / 솔루션 기록 (`--record`) |
56
- | `/weave-repair` | plan YAML 자동 검사 수리 |
57
- | `/weave-agents [flags]` | 에이전트 동기화 (`--sync`) / 설정 초기화 (`--init`) |
58
- | `/weave-help` | 도움말 |
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: Weave 워크플로우 초기화 (프로젝트별 1회)
3
- ---
4
-
5
- # /weave-init - Weave 워크플로우 초기화
6
-
7
- ## 개요
8
-
9
- 현재 프로젝트에서 Weave 워크플로우를 사용할 수 있도록 초기화합니다.
10
- **프로젝트당 1회**만 실행하면 됩니다.
11
-
12
- ---
13
-
14
- ## 수행 작업
15
-
16
- ### 1. `.ignore` 파일 설정
17
-
18
- 프로젝트 루트에 `.ignore` 파일을 생성/수정하여 `.opencode/weave/` 경로를 AI 도구가 탐색할 수 있도록 합니다.
19
-
20
- **왜 필요한가?**
21
- - `.gitignore`에 `.opencode/`가 있으면 ripgrep 기반 도구(glob, grep, list)가 PLAN 파일을 찾지 못합니다
22
- - `.ignore` 파일로 이 규칙을 덮어씌워 AI가 접근할 수 있게 합니다
23
- - Git 추적 상태는 변하지 않습니다 (`.gitignore`는 그대로)
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.
@@ -1,121 +1,23 @@
1
1
  ---
2
- description: 코드베이스 결과를 바탕으로 사용자 요구사항 인터뷰 수행
2
+ description: Ask clarifying questions until requirements and structural changes are clear
3
3
  ---
4
4
 
5
- # /weave-interview - 요구사항 인터뷰
5
+ # /weave-interview
6
6
 
7
- ## 개요
7
+ Use codebase context and optional requirement documents to ask the questions needed before planning.
8
8
 
9
- `/weave-map` 분석 결과를 바탕으로 **사용자와의 멀티스텝 인터뷰**를 수행합니다.
10
- 코드베이스의 현재 상태와 구조적 변경 가능성을 파악하고, 명확해질 때까지 질문을 반복합니다.
9
+ Use the `weave` tool:
11
10
 
12
- **사용법**:
13
- - `/weave-interview` — 기본 인터뷰 (코드베이스 맵 기반)
14
- - `/weave-interview docs/` — 문서 경로를 함께 참조하며 인터뷰
15
-
16
- ---
17
-
18
- ## 데이터 로드 방법 (필수)
19
-
20
- ```
21
- 1. .opencode/weave/maps/map-result.yaml 로드 (map 먼저 실행되어 있어야 함)
22
- 2. map 결과가 없으면: 자동으로 기본 map 분석 수행 후 진행
23
- 3. (선택) docsPath의 문서 로드
24
- 4. 코드베이스 기술 스택 및 구조적 이슈 확인
25
- ```
26
-
27
- ---
28
-
29
- ## 입력
30
-
31
- ```yaml
32
- docsPath: "docs/" # (선택) 요구사항 문서 경로
33
- ```
34
-
35
- ---
36
-
37
- ## 동작 흐름
38
-
39
- ```
40
- 1. 코드베이스 맵 결과 로드 (없으면 자동 생성)
41
- 2. 구조적 변경 감지 (structural changes)
42
- - 현재 상태 vs 제안된 변경
43
- - Breaking change 여부
44
- - 영향받는 파일 목록
45
- 3. 사용자에게 질문 생성
46
- - 변경 영역에 대한 의도 확인
47
- - 우선순위 및 범위 조정
48
- 4. 충분한 명확성 달성 시 인터뷰 종료
49
- - 종료 기준: 모든 structural changes에 대해 agreed 상태
50
- ```
51
-
52
- ---
53
-
54
- ## 출력 예시
55
-
56
- ### 인터뷰 진행 중
57
-
58
- ```markdown
59
- ## 🎤 Weave Interview
60
-
61
- **기반 맵**: `map-20250428-a1b2`
62
- **프로젝트 타입**: TypeScript / React
63
-
64
- ### 감지된 구조적 변경
65
-
66
- 1. **Auth 모듈 분리**
67
- - 현재: `src/lib/auth.ts` (단일 파일)
68
- - 제안: `src/auth/` 디렉토리로 분리
69
- - 영향: 8개 파일
70
- - Breaking: ❌ 아니오
71
-
72
- 2. **Prisma → Drizzle 마이그레이션**
73
- - 현재: Prisma ORM
74
- - 제안: Drizzle ORM으로 전환
75
- - 영향: 15개 파일
76
- - Breaking: ⚠️ 예 (DB 스키마 변경)
77
-
78
- ---
79
-
80
- ### 질문
81
-
82
- > **Q1**: Auth 모듈 분리는 단순 코드 구조 개선인가요, 아니면 새로운 인증 기능(예: OAuth) 추가를 위한 준비인가요?
83
- >
84
- > 답변 후 다음 질문으로 진행합니다.
85
- ```
86
-
87
- ### 인터뷰 완료
88
-
89
- ```markdown
90
- ## ✅ Interview Complete
91
-
92
- **모든 구조적 변경이 명확해졌습니다.**
93
-
94
- | 변경 영역 | 상태 | 결정 |
95
- |-----------|------|------|
96
- | Auth 모듈 분리 | ✅ Agreed | 디렉토리 분리 + OAuth 확장 준비 |
97
- | Prisma → Drizzle | ⏳ Pending | Phase 2로 연기 (현재는 Prisma 유지) |
98
-
99
- ### 다음 단계
100
- - `/weave-design` — 결정사항을 바탕으로 계획 수립
101
- - `/weave-prepare` — research + spec + plan 한 번에 생성
11
+ ```txt
12
+ weave command=interview
13
+ weave command=interview docsPath="docs/"
102
14
  ```
103
15
 
104
- ---
105
-
106
- ## 아티팩트 저장 위치
107
-
108
- 인터뷰 결과는 `.opencode/weave/interviews/`에 저장됩니다:
109
-
110
- ```
111
- .opencode/weave/interviews/
112
- └── interview-{id}.yaml # 질문-답변 기록 및 structural changes 상태
113
- ```
114
-
115
- ---
16
+ ## Goal
116
17
 
117
- ## 관련 명령어
18
+ - Identify unclear requirements.
19
+ - Detect structural changes that need explicit agreement.
20
+ - Separate must-have scope from later work.
21
+ - Produce enough clarity for `/weave-prepare`.
118
22
 
119
- - `/weave-map` 코드베이스 생성 (인터뷰 선행 조건)
120
- - `/weave-design` — 인터뷰 결과를 바탕으로 계획 수립
121
- - `/weave-prepare` — 전체 워크플로우 한 번에 실행
23
+ Use this before planning when requirements are fuzzy, architectural impact is likely, or multiple stakeholders need their assumptions surfaced.
@@ -1,109 +1,23 @@
1
1
  ---
2
- description: 코드베이스 구조를 분석하고 지식 그래프(knowledge graph) 생성
2
+ description: Analyze codebase structure via GDC and optional Graphify
3
3
  ---
4
4
 
5
- # /weave-map - 코드베이스 맵 분석
5
+ # /weave-map
6
6
 
7
- ## 개요
7
+ Map the current codebase before requirements interviews or planning.
8
8
 
9
- 현재 프로젝트의 코드베이스 구조를 분석하여 **기술 스택 자동 감지**, **디렉토리 구조 분석**, **GDC 그래프 연동** 결과를 생성합니다.
10
- `deep` 옵션 사용 시 `graphify-windows` 스킬을 활용한 딥 그래프 분석도 수행합니다.
9
+ Use the `weave` tool:
11
10
 
12
- **사용법**:
13
- - `/weave-map` — 기본 코드베이스 분석
14
- - `/weave-map --deep` — 심층 그래프 분석 (graphify-windows)
15
-
16
- ---
17
-
18
- ## 데이터 로드 방법 (필수)
19
-
20
- ```
21
- 1. 프로젝트 루트의 package.json, tsconfig.json, Cargo.toml, go.mod 등 탐지
22
- 2. GDC 설정 확인 (.gdc/config.yaml 또는 .opencode/gdc/)
23
- 3. GDC 활성화 시: gdc graph + gdc stats 명령 실행
24
- 4. deep 옵션 시: graphify-windows 스킬 실행
25
- ```
26
-
27
- ---
28
-
29
- ## 입력
30
-
31
- ```yaml
32
- deep: false # (선택) true 시 graphify-windows 딥 분석 실행
33
- ```
34
-
35
- ---
36
-
37
- ## 출력 예시
38
-
39
- ### 기본 분석
40
-
41
- ```markdown
42
- ## 🗺️ Codebase Map
43
-
44
- **프로젝트 타입**: TypeScript / Node.js
45
- **기술 스택**: React, Next.js, Prisma, Tailwind
46
-
47
- ### 디렉토리 구조
48
- ```
49
- src/
50
- ├── app/ # Next.js App Router
51
- ├── components/ # React 컴포넌트
52
- ├── lib/ # 유틸리티
53
- └── db/ # Prisma 스키마
11
+ ```txt
12
+ weave command=map
13
+ weave command=map deep=true
54
14
  ```
55
15
 
56
- ### GDC 그래프
57
- - **노드**: 42개
58
- - **엣지**: 78개
59
- - **커버리지**: 85% 구현, 60% 테스트
60
-
61
- ### 주요 의존성
62
- - next: ^14.0
63
- - react: ^18.2
64
- - @prisma/client: ^5.0
65
- ```
66
-
67
- ### 심층 분석 (deep)
68
-
69
- ```markdown
70
- ## 🗺️ Codebase Map (Deep)
71
-
72
- **그래프 분석 완료**
73
-
74
- ### 커뮤니티 클러스터
75
- | 클러스터 | 파일 수 | 핵심 엔티티 |
76
- |----------|--------|------------|
77
- | C1 | 12 | User, Auth, Session |
78
- | C2 | 8 | Post, Comment, Feed |
79
- | C3 | 6 | Payment, Subscription |
80
-
81
- ### 구조적 이슈
82
- - ⚠️ 순환 의존성: `src/lib/api.ts` ↔ `src/lib/auth.ts`
83
- - ⚠️ 고립 노드: `src/utils/legacy-helpers.ts` (참조 없음)
84
-
85
- ### 추천 리팩토링
86
- 1. `api.ts`와 `auth.ts` 순환 의존성 해소
87
- 2. `legacy-helpers.ts` 제거 또는 통합
88
- ```
89
-
90
- ---
91
-
92
- ## 아티팩트 저장 위치
93
-
94
- 분석 결과는 `.opencode/weave/maps/`에 저장됩니다:
95
-
96
- ```
97
- .opencode/weave/maps/
98
- ├── map-report.yaml # 구조 분석 요약
99
- ├── map-result.yaml # GDC 연동 결과
100
- └── graphify-report.html # deep 분석 시 생성
101
- ```
102
-
103
- ---
16
+ ## Behavior
104
17
 
105
- ## 관련 명령어
18
+ - Detects project type and important configuration files.
19
+ - Uses GDC when available for structural context.
20
+ - Uses deeper Graphify analysis when `deep=true` and the environment supports it.
21
+ - Saves map artifacts under `.opencode/weave/maps/`.
106
22
 
107
- - `/weave-interview` 결과를 바탕으로 사용자 인터뷰
108
- - `/weave-design` — 분석 결과를 바탕으로 계획 수립
109
- - `/weave-init` — weave 워크스페이스 초기화
23
+ This command is for understanding structure. It should not replace builds, tests, or smoke checks.
@@ -1,69 +1,23 @@
1
- ---
2
- description: research + spec + plan 번에 생성 (vNext 기본 경로)
3
- ---
4
-
5
- # /weave-prepare - spec + plan 통합
6
-
7
- ## 개요
8
-
9
- `/weave-research` + `/weave-spec` + `/weave-design`을 **한 번에** 이어서 수행합니다.
10
-
11
- - 문서를 깊게 읽어 **research.md** 아티팩트를 생성합니다
12
- - 문서에서 요구사항을 추출해 **baseline spec**을 생성합니다
13
- - 같은 입력으로 Phase 기반 **plan**을 생성합니다 (큰 계획은 shard plan 파일로 자동 분할)
14
- - 마지막에 승인 단계(`weave approve-plan`)를 안내합니다
15
-
16
- > 목적: 작은 기능마다 spec/plan을 두 번 돌리는 마찰을 줄이고,
17
- > "리서치-계획-승인"을 빠르게 통과할 수 있는 기본 경로(happy path)를 제공합니다.
18
-
19
- > 단순한 원커맨드가 필요하면 `/weave-flow [docs]`를 사용하세요
20
- > (`prepare -> auto-approve -> craft -> verify -> finalize`를 한 번에 실행).
21
-
22
- ---
23
-
24
- ## 사용법
25
-
26
- **사용법**: `/weave-prepare $ARGUMENTS`
27
- - `$ARGUMENTS` = 문서 경로 (예: `docs/`, `wiki/spec.md`)
28
-
29
- 예시:
30
- - `/weave-prepare docs/`
31
- - `/weave-prepare wiki/spec.md`
32
-
33
- ---
34
-
35
- ## 실행
36
-
37
- 아래 weave tool 호출을 수행합니다:
38
-
39
- ```txt
40
- weave command=prepare docsPath="$ARGUMENTS"
41
- ```
42
-
43
- 옵션(필요 시):
44
-
45
- ```txt
46
- weave command=prepare docsPath="$ARGUMENTS" projectName="My Project" planName="emotion-diary"
47
- ```
48
-
49
- ---
50
-
51
- ## 생성되는 산출물(기본)
52
-
53
- - Research: `tasks/research.md`
54
- - Spec: `.opencode/weave/specs/{planName}.yaml`
55
- - Plan: `.opencode/weave/plans/{planName}.yaml` 또는 `.opencode/weave/plans/{planName}-s*.yaml`
56
-
57
- > 주의: `.opencode/`가 gitignore 대상일 수 있으므로, AI 도구가 파일을 읽을 수 있게 `/weave-init`의 `.ignore` 설정을 권장합니다.
58
-
59
- ---
60
-
61
- ## 다음 단계
62
-
63
- 준비가 끝나면:
64
-
65
- ```txt
66
- weave command=refine-plan # (선택) plan-notes 반영
67
- weave command=approve-plan
68
- weave craft P1
69
- ```
1
+ ---
2
+ description: Create research, spec, and phase plan artifacts from requirements
3
+ ---
4
+
5
+ # /weave-prepare
6
+
7
+ Create the planning artifacts needed for phase-driven implementation.
8
+
9
+ Use the `weave` tool:
10
+
11
+ ```txt
12
+ weave command=prepare docsPath="docs/"
13
+ weave command=prepare docsPath="docs/" planName="emotion-diary"
14
+ ```
15
+
16
+ ## Outputs
17
+
18
+ - Research notes from the provided documents or project context.
19
+ - Baseline spec under `.opencode/weave/specs/`.
20
+ - Phase plan under `.opencode/weave/plans/`.
21
+ - Sharded plans when a plan is too large and `splitPlans=true`.
22
+
23
+ After prepare, review the generated plan, optionally run `/weave-refine-plan`, then approve with `/weave-approve`.