@luanpdd/kit-mcp 0.2.1 → 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/CHANGELOG.md +43 -1
- package/README.md +35 -18
- package/kit/COMANDOS.md +123 -0
- package/kit/agents/advisor-researcher.md +121 -0
- package/kit/agents/assumptions-analyzer.md +122 -0
- package/kit/agents/codebase-mapper.md +787 -0
- package/kit/agents/debugger.md +796 -0
- package/kit/agents/executor.md +516 -0
- package/kit/agents/integration-checker.md +217 -0
- package/kit/agents/nyquist-auditor.md +195 -0
- package/kit/agents/phase-researcher.md +715 -0
- package/kit/agents/plan-checker.md +289 -0
- package/kit/agents/planner.md +1373 -0
- package/kit/agents/project-researcher.md +671 -0
- package/kit/agents/research-synthesizer.md +259 -0
- package/kit/agents/roadmapper.md +696 -0
- package/kit/agents/ui-auditor.md +458 -0
- package/kit/agents/ui-checker.md +319 -0
- package/kit/agents/ui-researcher.md +374 -0
- package/kit/agents/user-profiler.md +183 -0
- package/kit/agents/verifier.md +719 -0
- package/kit/commands/adicionar-backlog.md +76 -0
- package/kit/commands/adicionar-fase.md +43 -0
- package/kit/commands/adicionar-tarefa.md +47 -0
- package/kit/commands/adicionar-testes.md +41 -0
- package/kit/commands/ajuda.md +22 -0
- package/kit/commands/atualizar.md +37 -0
- package/kit/commands/auditar-marco.md +36 -0
- package/kit/commands/auditar-uat.md +24 -0
- package/kit/commands/autonomo.md +41 -0
- package/kit/commands/branch-pr.md +25 -0
- package/kit/commands/concluir-marco.md +136 -0
- package/kit/commands/configuracoes.md +36 -0
- package/kit/commands/definir-perfil.md +12 -0
- package/kit/commands/depurar.md +173 -0
- package/kit/commands/discutir-fase.md +64 -0
- package/kit/commands/entrar-discord.md +18 -0
- package/kit/commands/estatisticas.md +18 -0
- package/kit/commands/executar-fase.md +59 -0
- package/kit/commands/expresso.md +47 -0
- package/kit/commands/fase-ui.md +34 -0
- package/kit/commands/fazer.md +30 -0
- package/kit/commands/fio.md +126 -0
- package/kit/commands/fluxos-trabalho.md +64 -0
- package/kit/commands/forense.md +56 -0
- package/kit/commands/gerenciador.md +39 -0
- package/kit/commands/inserir-fase.md +32 -0
- package/kit/commands/limpeza.md +18 -0
- package/kit/commands/listar-hipoteses-fase.md +46 -0
- package/kit/commands/listar-workspaces.md +19 -0
- package/kit/commands/mapear-codebase.md +71 -0
- package/kit/commands/nota.md +34 -0
- package/kit/commands/novo-marco.md +44 -0
- package/kit/commands/novo-projeto.md +42 -0
- package/kit/commands/novo-workspace.md +44 -0
- package/kit/commands/pausar-trabalho.md +38 -0
- package/kit/commands/perfil-usuario.md +46 -0
- package/kit/commands/pesquisar-fase.md +195 -0
- package/kit/commands/planejar-fase.md +47 -0
- package/kit/commands/planejar-lacunas.md +34 -0
- package/kit/commands/plantar-ideia.md +26 -0
- package/kit/commands/progresso.md +24 -0
- package/kit/commands/proximo.md +24 -0
- package/kit/commands/publicar.md +370 -0
- package/kit/commands/rapido.md +30 -0
- package/kit/commands/reaplicar-patches.md +124 -0
- package/kit/commands/relatorio-sessao.md +19 -0
- package/kit/commands/remover-fase.md +31 -0
- package/kit/commands/remover-workspace.md +26 -0
- package/kit/commands/resumo-marco.md +51 -0
- package/kit/commands/retomar-trabalho.md +40 -0
- package/kit/commands/revisar-backlog.md +60 -0
- package/kit/commands/revisar-ui.md +32 -0
- package/kit/commands/revisar.md +37 -0
- package/kit/commands/saude.md +22 -0
- package/kit/commands/setup-notion.md +93 -0
- package/kit/commands/sync-main.md +68 -0
- package/kit/commands/validar-fase.md +35 -0
- package/kit/commands/verificar-tarefas.md +45 -0
- package/kit/commands/verificar-trabalho.md +38 -0
- package/kit/file-manifest.json +219 -0
- package/kit/framework/VERSION +1 -0
- package/kit/framework/bin/lib/commands.cjs +959 -0
- package/kit/framework/bin/lib/config.cjs +442 -0
- package/kit/framework/bin/lib/core.cjs +1230 -0
- package/kit/framework/bin/lib/frontmatter.cjs +336 -0
- package/kit/framework/bin/lib/init.cjs +1442 -0
- package/kit/framework/bin/lib/milestone.cjs +252 -0
- package/kit/framework/bin/lib/model-profiles.cjs +68 -0
- package/kit/framework/bin/lib/phase.cjs +888 -0
- package/kit/framework/bin/lib/profile-output.cjs +952 -0
- package/kit/framework/bin/lib/profile-pipeline.cjs +539 -0
- package/kit/framework/bin/lib/roadmap.cjs +329 -0
- package/kit/framework/bin/lib/security.cjs +382 -0
- package/kit/framework/bin/lib/state.cjs +1031 -0
- package/kit/framework/bin/lib/template.cjs +222 -0
- package/kit/framework/bin/lib/uat.cjs +282 -0
- package/kit/framework/bin/lib/verify.cjs +888 -0
- package/kit/framework/bin/lib/workstream.cjs +491 -0
- package/kit/framework/bin/tools.cjs +918 -0
- package/kit/framework/commands/workstreams.md +63 -0
- package/kit/framework/references/checkpoints.md +778 -0
- package/kit/framework/references/continuation-format.md +249 -0
- package/kit/framework/references/decimal-phase-calculation.md +64 -0
- package/kit/framework/references/git-integration.md +295 -0
- package/kit/framework/references/git-planning-commit.md +38 -0
- package/kit/framework/references/model-profile-resolution.md +36 -0
- package/kit/framework/references/model-profiles.md +139 -0
- package/kit/framework/references/phase-argument-parsing.md +61 -0
- package/kit/framework/references/planning-config.md +202 -0
- package/kit/framework/references/questioning.md +162 -0
- package/kit/framework/references/tdd.md +263 -0
- package/kit/framework/references/ui-brand.md +160 -0
- package/kit/framework/references/user-profiling.md +657 -0
- package/kit/framework/references/verification-patterns.md +612 -0
- package/kit/framework/references/workstream-flag.md +58 -0
- package/kit/framework/templates/DEBUG.md +164 -0
- package/kit/framework/templates/UAT.md +265 -0
- package/kit/framework/templates/UI-SPEC.md +100 -0
- package/kit/framework/templates/VALIDATION.md +76 -0
- package/kit/framework/templates/claude-md.md +122 -0
- package/kit/framework/templates/codebase/architecture.md +185 -0
- package/kit/framework/templates/codebase/concerns.md +205 -0
- package/kit/framework/templates/codebase/conventions.md +204 -0
- package/kit/framework/templates/codebase/integrations.md +192 -0
- package/kit/framework/templates/codebase/stack.md +158 -0
- package/kit/framework/templates/codebase/structure.md +199 -0
- package/kit/framework/templates/codebase/testing.md +301 -0
- package/kit/framework/templates/config.json +44 -0
- package/kit/framework/templates/context.md +352 -0
- package/kit/framework/templates/continue-here.md +78 -0
- package/kit/framework/templates/copilot-instructions.md +7 -0
- package/kit/framework/templates/debug-subagent-prompt.md +91 -0
- package/kit/framework/templates/dev-preferences.md +20 -0
- package/kit/framework/templates/discovery.md +146 -0
- package/kit/framework/templates/discussion-log.md +63 -0
- package/kit/framework/templates/milestone-archive.md +123 -0
- package/kit/framework/templates/milestone.md +115 -0
- package/kit/framework/templates/phase-prompt.md +610 -0
- package/kit/framework/templates/planner-subagent-prompt.md +117 -0
- package/kit/framework/templates/project.md +186 -0
- package/kit/framework/templates/requirements.md +231 -0
- package/kit/framework/templates/research-project/ARCHITECTURE.md +204 -0
- package/kit/framework/templates/research-project/FEATURES.md +147 -0
- package/kit/framework/templates/research-project/PITFALLS.md +200 -0
- package/kit/framework/templates/research-project/STACK.md +120 -0
- package/kit/framework/templates/research-project/SUMMARY.md +170 -0
- package/kit/framework/templates/research.md +419 -0
- package/kit/framework/templates/retrospective.md +54 -0
- package/kit/framework/templates/roadmap.md +202 -0
- package/kit/framework/templates/state.md +176 -0
- package/kit/framework/templates/summary-complex.md +59 -0
- package/kit/framework/templates/summary-minimal.md +41 -0
- package/kit/framework/templates/summary-standard.md +48 -0
- package/kit/framework/templates/summary.md +209 -0
- package/kit/framework/templates/user-profile.md +146 -0
- package/kit/framework/templates/user-setup.md +256 -0
- package/kit/framework/templates/verification-report.md +258 -0
- package/kit/framework/workflows/add-phase.md +112 -0
- package/kit/framework/workflows/add-tests.md +351 -0
- package/kit/framework/workflows/add-todo.md +158 -0
- package/kit/framework/workflows/audit-milestone.md +340 -0
- package/kit/framework/workflows/audit-uat.md +109 -0
- package/kit/framework/workflows/autonomous.md +891 -0
- package/kit/framework/workflows/check-todos.md +177 -0
- package/kit/framework/workflows/cleanup.md +152 -0
- package/kit/framework/workflows/complete-milestone.md +696 -0
- package/kit/framework/workflows/diagnose-issues.md +231 -0
- package/kit/framework/workflows/discovery-phase.md +289 -0
- package/kit/framework/workflows/discuss-phase-assumptions.md +653 -0
- package/kit/framework/workflows/discuss-phase.md +1049 -0
- package/kit/framework/workflows/do.md +104 -0
- package/kit/framework/workflows/execute-phase.md +838 -0
- package/kit/framework/workflows/execute-plan.md +510 -0
- package/kit/framework/workflows/fast.md +102 -0
- package/kit/framework/workflows/forensics.md +265 -0
- package/kit/framework/workflows/health.md +181 -0
- package/kit/framework/workflows/help.md +606 -0
- package/kit/framework/workflows/insert-phase.md +130 -0
- package/kit/framework/workflows/list-phase-assumptions.md +178 -0
- package/kit/framework/workflows/list-workspaces.md +56 -0
- package/kit/framework/workflows/manager.md +362 -0
- package/kit/framework/workflows/map-codebase.md +377 -0
- package/kit/framework/workflows/milestone-summary.md +223 -0
- package/kit/framework/workflows/new-milestone.md +486 -0
- package/kit/framework/workflows/new-project.md +1250 -0
- package/kit/framework/workflows/new-workspace.md +237 -0
- package/kit/framework/workflows/next.md +97 -0
- package/kit/framework/workflows/node-repair.md +92 -0
- package/kit/framework/workflows/note.md +156 -0
- package/kit/framework/workflows/pause-work.md +176 -0
- package/kit/framework/workflows/plan-milestone-gaps.md +273 -0
- package/kit/framework/workflows/plan-phase.md +859 -0
- package/kit/framework/workflows/plant-seed.md +169 -0
- package/kit/framework/workflows/pr-branch.md +129 -0
- package/kit/framework/workflows/profile-user.md +450 -0
- package/kit/framework/workflows/progress.md +507 -0
- package/kit/framework/workflows/quick.md +757 -0
- package/kit/framework/workflows/remove-phase.md +155 -0
- package/kit/framework/workflows/remove-workspace.md +90 -0
- package/kit/framework/workflows/research-phase.md +82 -0
- package/kit/framework/workflows/resume-project.md +326 -0
- package/kit/framework/workflows/review.md +228 -0
- package/kit/framework/workflows/session-report.md +146 -0
- package/kit/framework/workflows/settings.md +283 -0
- package/kit/framework/workflows/ship.md +228 -0
- package/kit/framework/workflows/stats.md +60 -0
- package/kit/framework/workflows/transition.md +671 -0
- package/kit/framework/workflows/ui-phase.md +302 -0
- package/kit/framework/workflows/ui-review.md +165 -0
- package/kit/framework/workflows/update.md +323 -0
- package/kit/framework/workflows/validate-phase.md +174 -0
- package/kit/framework/workflows/verify-phase.md +252 -0
- package/kit/framework/workflows/verify-work.md +637 -0
- package/kit/hooks/check-update.js +114 -0
- package/kit/hooks/context-monitor.js +156 -0
- package/kit/hooks/prompt-guard.js +96 -0
- package/kit/hooks/statusline.js +119 -0
- package/kit/hooks/workflow-guard.js +94 -0
- package/kit/settings.json +45 -0
- package/package.json +1 -1
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Create an isolated workspace directory with git repo copies (worktrees or clones) and an independent `.planning/` directory. Supports multi-repo orchestration and single-repo feature branch isolation.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<required_reading>
|
|
6
|
+
Read all files referenced by the invoking prompt's execution_context before starting.
|
|
7
|
+
</required_reading>
|
|
8
|
+
|
|
9
|
+
<process>
|
|
10
|
+
|
|
11
|
+
## 1. Setup
|
|
12
|
+
|
|
13
|
+
**MANDATORY FIRST STEP — Execute init command:**
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
INIT=$(node "./.claude/framework/bin/tools.cjs" init new-workspace)
|
|
17
|
+
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Parse JSON for: `default_workspace_base`, `child_repos`, `child_repo_count`, `worktree_available`, `is_git_repo`, `cwd_repo_name`, `project_root`.
|
|
21
|
+
|
|
22
|
+
## 2. Parse Arguments
|
|
23
|
+
|
|
24
|
+
Extract from $ARGUMENTS:
|
|
25
|
+
- `--name` → `WORKSPACE_NAME` (required)
|
|
26
|
+
- `--repos` → `REPO_LIST` (comma-separated paths or names)
|
|
27
|
+
- `--path` → `TARGET_PATH` (defaults to `$default_workspace_base/$WORKSPACE_NAME`)
|
|
28
|
+
- `--strategy` → `STRATEGY` (defaults to `worktree`)
|
|
29
|
+
- `--branch` → `BRANCH_NAME` (defaults to `workspace/$WORKSPACE_NAME`)
|
|
30
|
+
- `--auto` → skip interactive questions
|
|
31
|
+
|
|
32
|
+
**If `--name` is missing and not `--auto`:**
|
|
33
|
+
|
|
34
|
+
Use AskUserQuestion:
|
|
35
|
+
- header: "Workspace Name"
|
|
36
|
+
- question: "What should this workspace be called?"
|
|
37
|
+
- requireAnswer: true
|
|
38
|
+
|
|
39
|
+
## 3. Select Repos
|
|
40
|
+
|
|
41
|
+
**If `--repos` is provided:** Parse comma-separated values. For each value:
|
|
42
|
+
- If it's an absolute path, use it directly
|
|
43
|
+
- If it's a relative path or name, resolve against `$project_root`
|
|
44
|
+
- Special case: `.` means current repo (use `$project_root`, name it `$cwd_repo_name`)
|
|
45
|
+
|
|
46
|
+
**If `--repos` is NOT provided and not `--auto`:**
|
|
47
|
+
|
|
48
|
+
**If `child_repo_count` > 0:**
|
|
49
|
+
|
|
50
|
+
Present child repos for selection:
|
|
51
|
+
|
|
52
|
+
Use AskUserQuestion:
|
|
53
|
+
- header: "Select Repos"
|
|
54
|
+
- question: "Which repos should be included in the workspace?"
|
|
55
|
+
- options: List each child repo from `child_repos` array by name
|
|
56
|
+
- multiSelect: true
|
|
57
|
+
|
|
58
|
+
**If `child_repo_count` is 0 and `is_git_repo` is true:**
|
|
59
|
+
|
|
60
|
+
Use AskUserQuestion:
|
|
61
|
+
- header: "Current Repo"
|
|
62
|
+
- question: "No child repos found. Create a workspace with the current repo?"
|
|
63
|
+
- options:
|
|
64
|
+
- "Yes — create workspace with current repo" → use current repo
|
|
65
|
+
- "Cancel" → exit
|
|
66
|
+
|
|
67
|
+
**If `child_repo_count` is 0 and `is_git_repo` is false:**
|
|
68
|
+
|
|
69
|
+
Error:
|
|
70
|
+
```
|
|
71
|
+
No git repos found in the current directory and this is not a git repo.
|
|
72
|
+
|
|
73
|
+
Run this command from a directory containing git repos, or specify repos explicitly:
|
|
74
|
+
/new-workspace --name my-workspace --repos /path/to/repo1,/path/to/repo2
|
|
75
|
+
```
|
|
76
|
+
Exit.
|
|
77
|
+
|
|
78
|
+
**If `--auto` and `--repos` is NOT provided:**
|
|
79
|
+
|
|
80
|
+
Error:
|
|
81
|
+
```
|
|
82
|
+
Error: --auto requires --repos to specify which repos to include.
|
|
83
|
+
|
|
84
|
+
Usage:
|
|
85
|
+
/new-workspace --name my-workspace --repos repo1,repo2 --auto
|
|
86
|
+
```
|
|
87
|
+
Exit.
|
|
88
|
+
|
|
89
|
+
## 4. Select Strategy
|
|
90
|
+
|
|
91
|
+
**If `--strategy` is provided:** Use it (validate: must be `worktree` or `clone`).
|
|
92
|
+
|
|
93
|
+
**If `--strategy` is NOT provided and not `--auto`:**
|
|
94
|
+
|
|
95
|
+
Use AskUserQuestion:
|
|
96
|
+
- header: "Strategy"
|
|
97
|
+
- question: "How should repos be copied into the workspace?"
|
|
98
|
+
- options:
|
|
99
|
+
- "Worktree (recommended) — lightweight, shares .git objects with source repo" → `worktree`
|
|
100
|
+
- "Clone — fully independent copy, no connection to source repo" → `clone`
|
|
101
|
+
|
|
102
|
+
**If `--auto`:** Default to `worktree`.
|
|
103
|
+
|
|
104
|
+
## 5. Validate
|
|
105
|
+
|
|
106
|
+
Before creating anything, validate:
|
|
107
|
+
|
|
108
|
+
1. **Target path** — must not exist or must be empty:
|
|
109
|
+
```bash
|
|
110
|
+
if [ -d "$TARGET_PATH" ] && [ "$(ls -A "$TARGET_PATH" 2>/dev/null)" ]; then
|
|
111
|
+
echo "Error: Target path already exists and is not empty: $TARGET_PATH"
|
|
112
|
+
echo "Choose a different --name or --path."
|
|
113
|
+
exit 1
|
|
114
|
+
fi
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
2. **Source repos exist and are git repos** — for each repo path:
|
|
118
|
+
```bash
|
|
119
|
+
if [ ! -d "$REPO_PATH/.git" ]; then
|
|
120
|
+
echo "Error: Not a git repo: $REPO_PATH"
|
|
121
|
+
exit 1
|
|
122
|
+
fi
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
3. **Worktree availability** — if strategy is `worktree` and `worktree_available` is false:
|
|
126
|
+
```
|
|
127
|
+
Error: git is not available. Install git or use --strategy clone.
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Report all validation errors at once, not one at a time.
|
|
131
|
+
|
|
132
|
+
## 6. Create Workspace
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
mkdir -p "$TARGET_PATH"
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### For each repo:
|
|
139
|
+
|
|
140
|
+
**Worktree strategy:**
|
|
141
|
+
```bash
|
|
142
|
+
cd "$SOURCE_REPO_PATH"
|
|
143
|
+
git worktree add "$TARGET_PATH/$REPO_NAME" -b "$BRANCH_NAME" 2>&1
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
If `git worktree add` fails because the branch already exists, try with a timestamped branch:
|
|
147
|
+
```bash
|
|
148
|
+
TIMESTAMP=$(date +%Y%m%d%H%M%S)
|
|
149
|
+
git worktree add "$TARGET_PATH/$REPO_NAME" -b "${BRANCH_NAME}-${TIMESTAMP}" 2>&1
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
If that also fails, report the error and continue with remaining repos.
|
|
153
|
+
|
|
154
|
+
**Clone strategy:**
|
|
155
|
+
```bash
|
|
156
|
+
git clone "$SOURCE_REPO_PATH" "$TARGET_PATH/$REPO_NAME" 2>&1
|
|
157
|
+
cd "$TARGET_PATH/$REPO_NAME"
|
|
158
|
+
git checkout -b "$BRANCH_NAME" 2>&1
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Track results: which repos succeeded, which failed, what branch was used.
|
|
162
|
+
|
|
163
|
+
## 7. Write WORKSPACE.md
|
|
164
|
+
|
|
165
|
+
Write the workspace manifest at `$TARGET_PATH/WORKSPACE.md`:
|
|
166
|
+
|
|
167
|
+
```markdown
|
|
168
|
+
# Workspace: $WORKSPACE_NAME
|
|
169
|
+
|
|
170
|
+
Created: $DATE
|
|
171
|
+
Strategy: $STRATEGY
|
|
172
|
+
|
|
173
|
+
## Member Repos
|
|
174
|
+
|
|
175
|
+
| Repo | Source | Branch | Strategy |
|
|
176
|
+
|------|--------|--------|----------|
|
|
177
|
+
| $REPO_NAME | $SOURCE_PATH | $BRANCH | $STRATEGY |
|
|
178
|
+
...for each repo...
|
|
179
|
+
|
|
180
|
+
## Notes
|
|
181
|
+
|
|
182
|
+
[Add context about what this workspace is for]
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## 8. Initialize .planning/
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
mkdir -p "$TARGET_PATH/.planning"
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## 9. Report and Next Steps
|
|
192
|
+
|
|
193
|
+
**If all repos succeeded:**
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
Workspace created: $TARGET_PATH
|
|
197
|
+
|
|
198
|
+
Repos: $REPO_COUNT
|
|
199
|
+
Strategy: $STRATEGY
|
|
200
|
+
Branch: $BRANCH_NAME
|
|
201
|
+
|
|
202
|
+
Next steps:
|
|
203
|
+
cd $TARGET_PATH
|
|
204
|
+
/new-project # Initialize framework in the workspace
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
**If some repos failed:**
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
Workspace created with $SUCCESS_COUNT of $TOTAL_COUNT repos: $TARGET_PATH
|
|
211
|
+
|
|
212
|
+
Succeeded: repo1, repo2
|
|
213
|
+
Failed: repo3 (branch already exists), repo4 (not a git repo)
|
|
214
|
+
|
|
215
|
+
Next steps:
|
|
216
|
+
cd $TARGET_PATH
|
|
217
|
+
/new-project # Initialize framework in the workspace
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Offer to initialize framework (if not `--auto`):**
|
|
221
|
+
|
|
222
|
+
Use AskUserQuestion:
|
|
223
|
+
- header: "Initialize framework"
|
|
224
|
+
- question: "Would you like to initialize a framework project in the new workspace?"
|
|
225
|
+
- options:
|
|
226
|
+
- "Yes — run /new-project" → tell user to `cd $TARGET_PATH` first, then run `/new-project`
|
|
227
|
+
- "No — I'll set it up later" → done
|
|
228
|
+
|
|
229
|
+
</process>
|
|
230
|
+
|
|
231
|
+
<success_criteria>
|
|
232
|
+
- [ ] Workspace directory created at target path
|
|
233
|
+
- [ ] All specified repos copied (worktree or clone) into workspace
|
|
234
|
+
- [ ] WORKSPACE.md manifest written with correct repo table
|
|
235
|
+
- [ ] `.planning/` directory initialized at workspace root
|
|
236
|
+
- [ ] User informed of workspace path and next steps
|
|
237
|
+
</success_criteria>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Detectar o estado atual do projeto e avançar automaticamente para o próximo passo lógico do workflow framework.
|
|
3
|
+
Lê o estado do projeto para determinar a progressão: discussão → planejamento → execução → verificação → conclusão.
|
|
4
|
+
</purpose>
|
|
5
|
+
|
|
6
|
+
<required_reading>
|
|
7
|
+
Ler todos os arquivos referenciados pelo execution_context do prompt invocador antes de começar.
|
|
8
|
+
</required_reading>
|
|
9
|
+
|
|
10
|
+
<process>
|
|
11
|
+
|
|
12
|
+
<step name="detect_state">
|
|
13
|
+
Ler o estado do projeto para determinar a posição atual:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Obter snapshot do estado
|
|
17
|
+
node "./.claude/framework/bin/tools.cjs" state json 2>/dev/null || echo "{}"
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Também ler:
|
|
21
|
+
- `.planning/STATE.md` — fase atual, progresso, contagens de planos
|
|
22
|
+
- `.planning/ROADMAP.md` — estrutura do milestone e lista de fases
|
|
23
|
+
|
|
24
|
+
Extrair:
|
|
25
|
+
- `current_phase` — qual fase está ativa
|
|
26
|
+
- `plan_of` / `plans_total` — progresso de execução de planos
|
|
27
|
+
- `progress` — percentual geral
|
|
28
|
+
- `status` — ativo, pausado, etc.
|
|
29
|
+
|
|
30
|
+
Se o diretório `.planning/` não existir:
|
|
31
|
+
```
|
|
32
|
+
Nenhum projeto framework detectado. Execute `/novo-projeto` para começar.
|
|
33
|
+
```
|
|
34
|
+
Sair.
|
|
35
|
+
</step>
|
|
36
|
+
|
|
37
|
+
<step name="determine_next_action">
|
|
38
|
+
Aplicar regras de roteamento com base no estado:
|
|
39
|
+
|
|
40
|
+
**Rota 1: Nenhuma fase existe ainda → discussão**
|
|
41
|
+
Se o ROADMAP tem fases mas nenhum diretório de fase existe no disco:
|
|
42
|
+
→ Próxima ação: `/discutir-fase <primeira-fase>`
|
|
43
|
+
|
|
44
|
+
**Rota 2: Fase existe mas não tem CONTEXT.md ou RESEARCH.md → discussão**
|
|
45
|
+
Se o diretório da fase atual existe mas não tem CONTEXT.md nem RESEARCH.md:
|
|
46
|
+
→ Próxima ação: `/discutir-fase <fase-atual>`
|
|
47
|
+
|
|
48
|
+
**Rota 3: Fase tem contexto mas sem planos → planejamento**
|
|
49
|
+
Se a fase atual tem CONTEXT.md (ou RESEARCH.md) mas nenhum arquivo PLAN.md:
|
|
50
|
+
→ Próxima ação: `/planejar-fase <fase-atual>`
|
|
51
|
+
|
|
52
|
+
**Rota 4: Fase tem planos mas summaries incompletos → execução**
|
|
53
|
+
Se planos existem mas nem todos têm summaries correspondentes:
|
|
54
|
+
→ Próxima ação: `/executar-fase <fase-atual>`
|
|
55
|
+
|
|
56
|
+
**Rota 5: Todos os planos têm summaries → verificar e concluir**
|
|
57
|
+
Se todos os planos na fase atual têm summaries:
|
|
58
|
+
→ Próxima ação: `/verificar-trabalho` então `/complete-phase`
|
|
59
|
+
|
|
60
|
+
**Rota 6: Fase concluída, próxima fase existe → avançar**
|
|
61
|
+
Se a fase atual está concluída e a próxima fase existe no ROADMAP:
|
|
62
|
+
→ Próxima ação: `/discutir-fase <proxima-fase>`
|
|
63
|
+
|
|
64
|
+
**Rota 7: Todas as fases concluídas → concluir milestone**
|
|
65
|
+
Se todas as fases estão concluídas:
|
|
66
|
+
→ Próxima ação: `/concluir-marco`
|
|
67
|
+
|
|
68
|
+
**Rota 8: Pausado → retomar**
|
|
69
|
+
Se STATE.md mostra paused_at:
|
|
70
|
+
→ Próxima ação: `/retomar-trabalho`
|
|
71
|
+
</step>
|
|
72
|
+
|
|
73
|
+
<step name="show_and_execute">
|
|
74
|
+
Exibir a determinação:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
## framework Próximo
|
|
78
|
+
|
|
79
|
+
**Atual:** Fase [N] — [nome] | [progresso]%
|
|
80
|
+
**Status:** [descrição do status]
|
|
81
|
+
|
|
82
|
+
▶ **Próximo passo:** `/[comando] [args]`
|
|
83
|
+
[Explicação em uma linha de por que este é o próximo passo]
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Então invocar imediatamente o comando determinado via SlashCommand.
|
|
87
|
+
Não pedir confirmação — o objetivo do `/proximo` é avanço sem fricção.
|
|
88
|
+
</step>
|
|
89
|
+
|
|
90
|
+
</process>
|
|
91
|
+
|
|
92
|
+
<success_criteria>
|
|
93
|
+
- [ ] Estado do projeto detectado corretamente
|
|
94
|
+
- [ ] Próxima ação determinada corretamente pelas regras de roteamento
|
|
95
|
+
- [ ] Comando invocado imediatamente sem confirmação do usuário
|
|
96
|
+
- [ ] Status claro mostrado antes de invocar
|
|
97
|
+
</success_criteria>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Operador de reparo autônomo para verificação de tarefas com falha. Invocado pelo execute-plan quando uma tarefa não passa nos critérios de conclusão. Propõe e tenta correções estruturadas antes de escalar ao usuário.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<inputs>
|
|
6
|
+
- FAILED_TASK: Número, nome e critérios de conclusão da tarefa no plano
|
|
7
|
+
- ERROR: O que a verificação produziu — resultado real vs. esperado
|
|
8
|
+
- PLAN_CONTEXT: Tarefas adjacentes e objetivo da fase (para consciência de restrições)
|
|
9
|
+
- REPAIR_BUDGET: Máximo de tentativas de reparo restantes (padrão: 2)
|
|
10
|
+
</inputs>
|
|
11
|
+
|
|
12
|
+
<repair_directive>
|
|
13
|
+
Analise a falha e escolha exatamente uma estratégia de reparo:
|
|
14
|
+
|
|
15
|
+
**RETRY** — A abordagem estava correta, mas a execução falhou. Tente novamente com um ajuste concreto.
|
|
16
|
+
- Usar quando: erro de comando, dependência ausente, caminho errado, problema de ambiente, falha transiente
|
|
17
|
+
- Saída: `RETRY: [ajuste específico a fazer antes de tentar novamente]`
|
|
18
|
+
|
|
19
|
+
**DECOMPOSE** — A tarefa é muito ampla. Divida em sub-etapas menores verificáveis.
|
|
20
|
+
- Usar quando: os critérios de conclusão cobrem múltiplos aspectos, lacunas de implementação são estruturais
|
|
21
|
+
- Saída: `DECOMPOSE: [sub-tarefa 1] | [sub-tarefa 2] | ...` (máx. 3 sub-tarefas)
|
|
22
|
+
- Sub-tarefas devem ter, cada uma, um único resultado verificável
|
|
23
|
+
|
|
24
|
+
**PRUNE** — A tarefa é inviável dadas as restrições atuais. Pule com justificativa.
|
|
25
|
+
- Usar quando: pré-requisito ausente e não corrigível aqui, fora do escopo, contradiz uma decisão anterior
|
|
26
|
+
- Saída: `PRUNE: [justificativa em uma frase]`
|
|
27
|
+
|
|
28
|
+
**ESCALATE** — Orçamento de reparo esgotado, ou esta é uma decisão arquitetural (Regra 4).
|
|
29
|
+
- Usar quando: RETRY falhou mais de uma vez com abordagens diferentes, ou a correção requer mudança estrutural
|
|
30
|
+
- Saída: `ESCALATE: [o que foi tentado] | [qual decisão é necessária]`
|
|
31
|
+
</repair_directive>
|
|
32
|
+
|
|
33
|
+
<process>
|
|
34
|
+
|
|
35
|
+
<step name="diagnose">
|
|
36
|
+
Leia o erro e os critérios de conclusão com atenção. Pergunte:
|
|
37
|
+
1. É um problema transitório/ambiental? → RETRY
|
|
38
|
+
2. A tarefa é verificavelmente muito ampla? → DECOMPOSE
|
|
39
|
+
3. Um pré-requisito está genuinamente ausente e não pode ser corrigido no escopo? → PRUNE
|
|
40
|
+
4. RETRY já foi tentado para esta tarefa? Verifique REPAIR_BUDGET. Se 0 → ESCALATE
|
|
41
|
+
</step>
|
|
42
|
+
|
|
43
|
+
<step name="execute_retry">
|
|
44
|
+
Se RETRY:
|
|
45
|
+
1. Aplique o ajuste específico declarado na diretiva
|
|
46
|
+
2. Execute novamente a implementação da tarefa
|
|
47
|
+
3. Execute novamente a verificação
|
|
48
|
+
4. Se passar → continue normalmente, registre `[Node Repair - RETRY] Tarefa [X]: [ajuste feito]`
|
|
49
|
+
5. Se falhar novamente → decremente REPAIR_BUDGET, invoque node-repair novamente com contexto atualizado
|
|
50
|
+
</step>
|
|
51
|
+
|
|
52
|
+
<step name="execute_decompose">
|
|
53
|
+
Se DECOMPOSE:
|
|
54
|
+
1. Substitua a tarefa com falha pelas sub-tarefas inline (não modifique PLAN.md em disco)
|
|
55
|
+
2. Execute as sub-tarefas sequencialmente, cada uma com sua própria verificação
|
|
56
|
+
3. Se todas passarem → trate a tarefa original como bem-sucedida, registre `[Node Repair - DECOMPOSE] Tarefa [X] → [N] sub-tarefas`
|
|
57
|
+
4. Se uma sub-tarefa falhar → invoque node-repair novamente para essa sub-tarefa (REPAIR_BUDGET aplica-se por sub-tarefa)
|
|
58
|
+
</step>
|
|
59
|
+
|
|
60
|
+
<step name="execute_prune">
|
|
61
|
+
Se PRUNE:
|
|
62
|
+
1. Marque a tarefa como pulada com justificativa
|
|
63
|
+
2. Registre no SUMMARY "Problemas Encontrados": `[Node Repair - PRUNE] Tarefa [X]: [justificativa]`
|
|
64
|
+
3. Continue para a próxima tarefa
|
|
65
|
+
</step>
|
|
66
|
+
|
|
67
|
+
<step name="execute_escalate">
|
|
68
|
+
Se ESCALATE:
|
|
69
|
+
1. Suba para o usuário via verification_failure_gate com histórico completo de reparo
|
|
70
|
+
2. Apresente: o que foi tentado (cada tentativa RETRY/DECOMPOSE), qual é o bloqueador, opções disponíveis
|
|
71
|
+
3. Aguarde a direção do usuário antes de continuar
|
|
72
|
+
</step>
|
|
73
|
+
|
|
74
|
+
</process>
|
|
75
|
+
|
|
76
|
+
<logging>
|
|
77
|
+
Todas as ações de reparo devem aparecer no SUMMARY.md em "## Desvios do Plano":
|
|
78
|
+
|
|
79
|
+
| Tipo | Formato |
|
|
80
|
+
|------|--------|
|
|
81
|
+
| RETRY com sucesso | `[Node Repair - RETRY] Tarefa X: [ajuste] — resolvido` |
|
|
82
|
+
| RETRY falha → ESCALATE | `[Node Repair - RETRY] Tarefa X: [N] tentativas esgotadas — escalado ao usuário` |
|
|
83
|
+
| DECOMPOSE | `[Node Repair - DECOMPOSE] Tarefa X dividida em [N] sub-tarefas — todas passaram` |
|
|
84
|
+
| PRUNE | `[Node Repair - PRUNE] Tarefa X pulada: [justificativa]` |
|
|
85
|
+
</logging>
|
|
86
|
+
|
|
87
|
+
<constraints>
|
|
88
|
+
- REPAIR_BUDGET padrão é 2 por tarefa. Configurável via config.json `workflow.node_repair_budget`.
|
|
89
|
+
- Nunca modifique PLAN.md em disco — sub-tarefas decompostas existem apenas em memória.
|
|
90
|
+
- Sub-tarefas DECOMPOSE devem ser mais específicas que a original, não apenas reescritas sinônimas.
|
|
91
|
+
- Se config.json `workflow.node_repair` for `false`, pule diretamente para verification_failure_gate (o usuário mantém o comportamento original).
|
|
92
|
+
</constraints>
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Captura de ideias sem fricção. Uma chamada Write, uma linha de confirmação. Sem perguntas, sem prompts.
|
|
3
|
+
Executa inline — sem Task, sem AskUserQuestion, sem Bash.
|
|
4
|
+
</purpose>
|
|
5
|
+
|
|
6
|
+
<required_reading>
|
|
7
|
+
Ler todos os arquivos referenciados pelo execution_context do prompt invocador antes de começar.
|
|
8
|
+
</required_reading>
|
|
9
|
+
|
|
10
|
+
<process>
|
|
11
|
+
|
|
12
|
+
<step name="storage_format">
|
|
13
|
+
**Formato de armazenamento de notas.**
|
|
14
|
+
|
|
15
|
+
Notas são armazenadas como arquivos markdown individuais:
|
|
16
|
+
|
|
17
|
+
- **Escopo do projeto**: `.planning/notes/{AAAA-MM-DD}-{slug}.md` — usado quando `.planning/` existe no cwd
|
|
18
|
+
- **Escopo global**: `./.claude/notes/{AAAA-MM-DD}-{slug}.md` — fallback quando não há `.planning/`, ou quando a flag `--global` está presente
|
|
19
|
+
|
|
20
|
+
Cada arquivo de nota:
|
|
21
|
+
|
|
22
|
+
```markdown
|
|
23
|
+
---
|
|
24
|
+
date: "AAAA-MM-DD HH:mm"
|
|
25
|
+
promoted: false
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
{texto da nota verbatim}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Flag `--global`**: Remover `--global` de qualquer lugar em `$ARGUMENTS` antes de analisar. Quando presente, forçar escopo global independentemente de `.planning/` existir.
|
|
32
|
+
|
|
33
|
+
**Importante**: NÃO criar `.planning/` se não existir. Usar escopo global silenciosamente como fallback.
|
|
34
|
+
</step>
|
|
35
|
+
|
|
36
|
+
<step name="parse_subcommand">
|
|
37
|
+
**Analisar subcomando de $ARGUMENTS (após remover --global).**
|
|
38
|
+
|
|
39
|
+
| Condição | Subcomando |
|
|
40
|
+
|----------|------------|
|
|
41
|
+
| Argumentos são exatamente `list` (sem distinção maiúscula/minúscula) | **list** |
|
|
42
|
+
| Argumentos são exatamente `promote <N>` onde N é um número | **promote** |
|
|
43
|
+
| Argumentos estão vazios (sem texto algum) | **list** |
|
|
44
|
+
| Qualquer outra coisa | **append** (o texto É a nota) |
|
|
45
|
+
|
|
46
|
+
**Crítico**: `list` é somente um subcomando quando é o ARGUMENTO INTEIRO. `/nota lista de compras` salva uma nota com o texto "lista de compras". O mesmo para `promote` — somente um subcomando quando seguido por exatamente um número.
|
|
47
|
+
</step>
|
|
48
|
+
|
|
49
|
+
<step name="append">
|
|
50
|
+
**Subcomando: append — criar um arquivo de nota com timestamp.**
|
|
51
|
+
|
|
52
|
+
1. Determinar escopo (projeto ou global) conforme formato de armazenamento acima
|
|
53
|
+
2. Garantir que o diretório de notas existe (`.planning/notes/` ou `./.claude/notes/`)
|
|
54
|
+
3. Gerar slug: primeiras ~4 palavras significativas do texto da nota, minúsculo, separado por hífen (remover artigos/preposições do início)
|
|
55
|
+
4. Gerar nome de arquivo: `{AAAA-MM-DD}-{slug}.md`
|
|
56
|
+
- Se um arquivo com esse nome já existir, adicionar `-2`, `-3`, etc.
|
|
57
|
+
5. Escrever o arquivo com frontmatter e texto da nota (ver formato de armazenamento)
|
|
58
|
+
6. Confirmar com exatamente uma linha: `Anotado ({escopo}): {texto da nota}`
|
|
59
|
+
- Onde `{escopo}` é "projeto" ou "global"
|
|
60
|
+
|
|
61
|
+
**Restrições:**
|
|
62
|
+
- **Nunca modificar o texto da nota** — capturar verbatim, incluindo erros de digitação
|
|
63
|
+
- **Nunca fazer perguntas** — apenas escrever e confirmar
|
|
64
|
+
- **Formato de timestamp**: Usar horário local, `AAAA-MM-DD HH:mm` (24 horas, sem segundos)
|
|
65
|
+
</step>
|
|
66
|
+
|
|
67
|
+
<step name="list">
|
|
68
|
+
**Subcomando: list — mostrar notas de ambos os escopos.**
|
|
69
|
+
|
|
70
|
+
1. Glob `.planning/notes/*.md` (se diretório existir) — notas do projeto
|
|
71
|
+
2. Glob `./.claude/notes/*.md` (se diretório existir) — notas globais
|
|
72
|
+
3. Para cada arquivo, ler frontmatter para obter `date` e status `promoted`
|
|
73
|
+
4. Excluir arquivos onde `promoted: true` das contagens ativas (mas ainda mostrar, dimmed)
|
|
74
|
+
5. Ordenar por data, numerar todas as entradas ativas sequencialmente começando em 1
|
|
75
|
+
6. Se total de entradas ativas > 20, mostrar apenas as últimas 10 com nota sobre quantas foram omitidas
|
|
76
|
+
|
|
77
|
+
**Formato de exibição:**
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
Notas:
|
|
81
|
+
|
|
82
|
+
Projeto (.planning/notes/):
|
|
83
|
+
1. [2026-02-08 14:32] refatorar o sistema de hook para suportar validadores assíncronos
|
|
84
|
+
2. [promovido] [2026-02-08 14:40] adicionar rate limiting nos endpoints da API
|
|
85
|
+
3. [2026-02-08 15:10] considerar adicionar flag --dry-run ao build
|
|
86
|
+
|
|
87
|
+
Global (./.claude/notes/):
|
|
88
|
+
4. [2026-02-08 10:00] ideia entre projetos sobre config compartilhada
|
|
89
|
+
|
|
90
|
+
{contagem} nota(s) ativa(s). Use `/nota promote <N>` para converter em uma tarefa.
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Se um escopo não tiver diretório ou entradas, mostrar: `(sem notas)`
|
|
94
|
+
</step>
|
|
95
|
+
|
|
96
|
+
<step name="promote">
|
|
97
|
+
**Subcomando: promote — converter uma nota em uma tarefa.**
|
|
98
|
+
|
|
99
|
+
1. Executar a lógica de **list** para construir o índice numerado (ambos os escopos)
|
|
100
|
+
2. Encontrar a entrada N da lista numerada
|
|
101
|
+
3. Se N for inválido ou referir a uma nota já promovida, informar o usuário e parar
|
|
102
|
+
4. **Requer diretório `.planning/`** — se não existir, avisar: "Tarefas requerem um projeto framework. Execute `/novo-projeto` para inicializar um."
|
|
103
|
+
5. Garantir que o diretório `.planning/todos/pending/` existe
|
|
104
|
+
6. Gerar ID da tarefa: `{NNN}-{slug}` onde NNN é o próximo número sequencial (escanear tanto `.planning/todos/pending/` quanto `.planning/todos/done/` pelo maior número existente, incrementar em 1, preencher com zeros à esquerda até 3 dígitos) e slug são as primeiras ~4 palavras significativas do texto da nota
|
|
105
|
+
7. Extrair o texto da nota do arquivo fonte (corpo após frontmatter)
|
|
106
|
+
8. Criar `.planning/todos/pending/{id}.md`:
|
|
107
|
+
|
|
108
|
+
```yaml
|
|
109
|
+
---
|
|
110
|
+
title: "{texto da nota}"
|
|
111
|
+
status: pending
|
|
112
|
+
priority: P2
|
|
113
|
+
source: "promoted from /nota"
|
|
114
|
+
created: {AAAA-MM-DD}
|
|
115
|
+
theme: general
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Objetivo
|
|
119
|
+
|
|
120
|
+
{texto da nota}
|
|
121
|
+
|
|
122
|
+
## Contexto
|
|
123
|
+
|
|
124
|
+
Promovido de nota rápida capturada em {data original}.
|
|
125
|
+
|
|
126
|
+
## Critérios de Aceitação
|
|
127
|
+
|
|
128
|
+
- [ ] {critério principal derivado do texto da nota}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
9. Marcar o arquivo de nota fonte como promovido: atualizar seu frontmatter para `promoted: true`
|
|
132
|
+
10. Confirmar: `Nota {N} promovida para tarefa {id}: {texto da nota}`
|
|
133
|
+
</step>
|
|
134
|
+
|
|
135
|
+
</process>
|
|
136
|
+
|
|
137
|
+
<edge_cases>
|
|
138
|
+
1. **"list" como texto de nota**: `/nota lista de coisas` salva nota "lista de coisas" (subcomando apenas quando `list` é o argumento inteiro)
|
|
139
|
+
2. **Sem `.planning/`**: Fallback para `./.claude/notes/` global — funciona em qualquer diretório
|
|
140
|
+
3. **Promote sem projeto**: Avisa que tarefas requerem `.planning/`, sugere `/novo-projeto`
|
|
141
|
+
4. **Arquivos grandes**: `list` mostra as últimas 10 quando há > 20 entradas ativas
|
|
142
|
+
5. **Slugs duplicados**: Adicionar `-2`, `-3` etc. ao nome do arquivo se slug já usado na mesma data
|
|
143
|
+
6. **Posição de `--global`**: Removido de qualquer lugar — `--global minha ideia` e `minha ideia --global` ambos salvam "minha ideia" globalmente
|
|
144
|
+
7. **Promote já promovido**: Informar usuário "Nota {N} já está promovida" e parar
|
|
145
|
+
8. **Texto de nota vazio após remover flags**: Tratar como subcomando `list`
|
|
146
|
+
</edge_cases>
|
|
147
|
+
|
|
148
|
+
<success_criteria>
|
|
149
|
+
- [ ] Append: Arquivo de nota escrito com frontmatter correto e texto verbatim
|
|
150
|
+
- [ ] Append: Nenhuma pergunta feita — captura instantânea
|
|
151
|
+
- [ ] List: Ambos os escopos mostrados com numeração sequencial
|
|
152
|
+
- [ ] List: Notas promovidas mostradas mas dimmed
|
|
153
|
+
- [ ] Promote: Tarefa criada com formato correto
|
|
154
|
+
- [ ] Promote: Nota fonte marcada como promovida
|
|
155
|
+
- [ ] Fallback global: Funciona quando `.planning/` não existe
|
|
156
|
+
</success_criteria>
|