context-first-cli 2.3.2 → 2.3.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.md +108 -6
- package/dist/commands/feature.d.ts.map +1 -1
- package/dist/commands/feature.js +25 -26
- package/dist/commands/feature.js.map +1 -1
- package/package.json +1 -1
- package/dist/templates/commands/pt-BR/commands/engineer/plan.md +0 -301
- package/dist/templates/commands/pt-BR/commands/engineer/pr.md +0 -194
- package/dist/templates/commands/pt-BR/commands/engineer/pre-pr.md +0 -325
- package/dist/templates/commands/pt-BR/commands/engineer/start.md +0 -285
- package/dist/templates/commands/pt-BR/commands/engineer/work.md +0 -256
- package/dist/templates/commands/pt-BR/commands/products/check.md +0 -237
- package/dist/templates/commands/pt-BR/commands/products/collect.md +0 -170
- package/dist/templates/commands/pt-BR/commands/products/refine.md +0 -231
- package/dist/templates/commands/pt-BR/commands/products/spec.md +0 -271
- package/dist/templates/commands/pt-BR/commands/quality/metrics.md +0 -266
- package/dist/templates/commands/pt-BR/commands/quality/observe.md +0 -172
- package/dist/templates/commands/pt-BR/commands/warm-up.md +0 -59
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Aquecimento - Carregamento de Contexto
|
|
2
|
-
|
|
3
|
-
Prepara o ambiente carregando o contexto otimizado do projeto.
|
|
4
|
-
|
|
5
|
-
## 1. Carregar Configuração
|
|
6
|
-
|
|
7
|
-
Leia os arquivos do orchestrator:
|
|
8
|
-
- **`context-manifest.json`** - Repositórios e roles
|
|
9
|
-
- **`ai.properties.md`** - base_path, task_management_system
|
|
10
|
-
|
|
11
|
-
## 2. Carregar Contexto Compacto (OTIMIZADO)
|
|
12
|
-
|
|
13
|
-
**IMPORTANTE**: Use carregamento PROGRESSIVO para economizar janela de contexto.
|
|
14
|
-
|
|
15
|
-
### Obrigatório (warm-up)
|
|
16
|
-
|
|
17
|
-
Localize metaspecs via `context-manifest.json` (role: "specs-provider"):
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
{base_path}/{metaspecs-id}/specs/_meta/WARM_UP_CONTEXT.md (~100 linhas)
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Este arquivo contém TODOS os essenciais:
|
|
24
|
-
- Stack tecnológica
|
|
25
|
-
- Hierarquia de contexto
|
|
26
|
-
- 5 regras críticas
|
|
27
|
-
- Padrões de código mínimos
|
|
28
|
-
- Tabela de carregamento sob demanda
|
|
29
|
-
|
|
30
|
-
### Sob Demanda (NÃO carregar durante warm-up)
|
|
31
|
-
|
|
32
|
-
| Necessidade | Documento |
|
|
33
|
-
|-------------|-----------|
|
|
34
|
-
| Gerar código | `CLAUDE.meta.md` |
|
|
35
|
-
| Arquitetura | `ARCHITECTURE.md` |
|
|
36
|
-
| Feature específica | `features/{FEATURE}.md` |
|
|
37
|
-
| Anti-patterns completos | `ANTI_PATTERNS.md` |
|
|
38
|
-
|
|
39
|
-
## 3. Verificar Repositórios
|
|
40
|
-
|
|
41
|
-
Para cada repositório no `context-manifest.json`:
|
|
42
|
-
- Verificar existência em `{base_path}/{repo-id}/`
|
|
43
|
-
- **NÃO** ler README.md agora (sob demanda)
|
|
44
|
-
|
|
45
|
-
## 4. Verificar Sessão (se existir)
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
ls -la .sessions/<ISSUE-ID>/ 2>/dev/null
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## 5. Princípio Jidoka
|
|
52
|
-
|
|
53
|
-
Se problemas detectados: **PARE**, documente, alerte o usuário.
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
**Argumentos**: #$ARGUMENTS
|
|
58
|
-
|
|
59
|
-
**Status**: Contexto carregado. Aguardando próximo comando.
|