* fix: replace /gsd: command format with /gsd- skill format in all suggestions All next-step suggestions shown to users were still using the old colon format (/gsd:xxx) which cannot be copy-pasted as skills. Migrated all occurrences across agents/, commands/, get-shit-done/, docs/, README files, bin/install.js (hardcoded defaults for claude runtime), and get-shit-done/bin/lib/*.cjs (generate-claude-md templates and error messages). Updated tests to assert new hyphen format instead of old colon format. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: migrate remaining /gsd: format to /gsd- in hooks, workflows, and sdk Addresses remaining user-facing occurrences missed in the initial migration: - hooks/: fix 4 user-facing messages (pause-work, update, fast, quick) and 2 comments in gsd-workflow-guard.js - get-shit-done/workflows/: fix 21 Skill() literal calls that Claude executes directly (installer does not transform workflow content) - sdk/prompt-sanitizer.ts: update regex to strip /gsd- format in addition to legacy /gsd: format; update JSDoc comment - tests/: update autonomous-ui-steps, prompt-sanitizer to assert new format Note: commands/gsd/*.md frontmatter (name: gsd:xxx) intentionally unchanged — installer derives skillName from directory path, not the name field. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(plan-phase): preserve --chain flag in auto-advance sync and handle ui-phase gate in chain mode Bug 1: step 15 sync-flag check only guarded against --auto, causing _auto_chain_active to be cleared when plan-phase is invoked without --auto in ARGUMENTS even though a --chain pipeline was active. Added --chain to the guard condition, matching discuss-phase behaviour. Bug 2: UI Design Contract gate (step 5.6) always exited the workflow when UI-SPEC was missing, breaking the discuss --chain pipeline silently. When _auto_chain_active is true, the gate now auto-invokes gsd-ui-phase --auto via Skill() and continues to step 6 without prompting. Manual invocations retain the existing AskUserQuestion flow. * fix: remove <sub>/clear</sub> pattern and duplicate old-format command in discuss-phase.md --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
85 lines
2.9 KiB
Markdown
85 lines
2.9 KiB
Markdown
# Referência de Configuração do GSD
|
|
|
|
Configurações do projeto ficam em `.planning/config.json`.
|
|
Esta versão resume os parâmetros principais em Português. Para schema completo, veja [inglês](../CONFIGURATION.md).
|
|
|
|
---
|
|
|
|
## Estrutura base
|
|
|
|
```json
|
|
{
|
|
"mode": "interactive",
|
|
"granularity": "standard",
|
|
"model_profile": "balanced",
|
|
"planning": {
|
|
"commit_docs": true,
|
|
"search_gitignored": false
|
|
},
|
|
"workflow": {
|
|
"research": true,
|
|
"plan_check": true,
|
|
"verifier": true,
|
|
"nyquist_validation": true,
|
|
"ui_phase": true,
|
|
"ui_safety_gate": true,
|
|
"research_before_questions": false,
|
|
"discuss_mode": "standard",
|
|
"skip_discuss": false
|
|
}
|
|
}
|
|
```
|
|
|
|
## Configurações principais
|
|
|
|
| Chave | Opções | Padrão | Descrição |
|
|
|------|--------|--------|-----------|
|
|
| `mode` | `interactive`, `yolo` | `interactive` | `yolo` autoaprova; `interactive` confirma cada etapa |
|
|
| `granularity` | `coarse`, `standard`, `fine` | `standard` | Granularidade de fases/planos |
|
|
| `model_profile` | `quality`, `balanced`, `budget`, `inherit` | `balanced` | Perfil de modelos por agente |
|
|
|
|
## Planning
|
|
|
|
| Chave | Padrão | Descrição |
|
|
|------|--------|-----------|
|
|
| `planning.commit_docs` | `true` | Comitar `.planning/` no git |
|
|
| `planning.search_gitignored` | `false` | Incluir arquivos ignorados em buscas amplas |
|
|
|
|
## Workflow toggles
|
|
|
|
| Chave | Padrão | Descrição |
|
|
|------|--------|-----------|
|
|
| `workflow.research` | `true` | Pesquisa antes de planejar |
|
|
| `workflow.plan_check` | `true` | Loop de verificação de plano |
|
|
| `workflow.verifier` | `true` | Verificação pós-execução |
|
|
| `workflow.nyquist_validation` | `true` | Camada de validação automatizada por requisito |
|
|
| `workflow.ui_phase` | `true` | Contrato de UI para fases frontend |
|
|
| `workflow.ui_safety_gate` | `true` | Gate de segurança para registry UI |
|
|
| `workflow.research_before_questions` | `false` | Pesquisa antes da discussão |
|
|
| `workflow.discuss_mode` | `standard` | Discussão aberta; use `assumptions` para modo baseado em código |
|
|
| `workflow.skip_discuss` | `false` | Pula discuss-phase no modo autônomo |
|
|
|
|
## Git branching
|
|
|
|
| Chave | Opções | Padrão | Descrição |
|
|
|------|--------|--------|-----------|
|
|
| `git.branching_strategy` | `none`, `phase`, `milestone` | `none` | Estratégia de criação de branches |
|
|
| `git.phase_branch_template` | string | `gsd/phase-{phase}-{slug}` | Nome para branch por fase |
|
|
| `git.milestone_branch_template` | string | `gsd/{milestone}-{slug}` | Nome para branch de milestone |
|
|
| `git.quick_branch_template` | string ou `null` | `null` | Branch opcional para `/gsd-quick` |
|
|
|
|
## Perfis de modelo
|
|
|
|
| Perfil | Objetivo |
|
|
|--------|----------|
|
|
| `quality` | Melhor qualidade, maior custo |
|
|
| `balanced` | Equilíbrio (padrão recomendado) |
|
|
| `budget` | Menor custo |
|
|
| `inherit` | Herdar modelo da sessão/runtime |
|
|
|
|
Troca rápida:
|
|
|
|
```bash
|
|
/gsd-set-profile budget
|
|
```
|