chati-dev 1.0.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/assets/logo.txt +6 -0
- package/bin/chati.js +175 -0
- package/framework/agents/build/dev.md +342 -0
- package/framework/agents/clarity/architect.md +263 -0
- package/framework/agents/clarity/brief.md +277 -0
- package/framework/agents/clarity/brownfield-wu.md +288 -0
- package/framework/agents/clarity/detail.md +274 -0
- package/framework/agents/clarity/greenfield-wu.md +231 -0
- package/framework/agents/clarity/phases.md +272 -0
- package/framework/agents/clarity/tasks.md +279 -0
- package/framework/agents/clarity/ux.md +293 -0
- package/framework/agents/deploy/devops.md +321 -0
- package/framework/agents/quality/qa-implementation.md +310 -0
- package/framework/agents/quality/qa-planning.md +289 -0
- package/framework/config.yaml +8 -0
- package/framework/constitution.md +238 -0
- package/framework/frameworks/decision-heuristics.yaml +64 -0
- package/framework/frameworks/quality-dimensions.yaml +59 -0
- package/framework/i18n/en.yaml +78 -0
- package/framework/i18n/es.yaml +78 -0
- package/framework/i18n/fr.yaml +78 -0
- package/framework/i18n/pt.yaml +78 -0
- package/framework/intelligence/confidence.yaml +42 -0
- package/framework/intelligence/gotchas.yaml +51 -0
- package/framework/intelligence/patterns.yaml +32 -0
- package/framework/migrations/v1.0-to-v1.1.yaml +48 -0
- package/framework/orchestrator/chati.md +333 -0
- package/framework/patterns/elicitation.md +137 -0
- package/framework/quality-gates/implementation-gate.md +64 -0
- package/framework/quality-gates/planning-gate.md +52 -0
- package/framework/schemas/config.schema.json +42 -0
- package/framework/schemas/session.schema.json +103 -0
- package/framework/schemas/task.schema.json +71 -0
- package/framework/templates/brownfield-prd-tmpl.yaml +103 -0
- package/framework/templates/fullstack-architecture-tmpl.yaml +101 -0
- package/framework/templates/prd-tmpl.yaml +94 -0
- package/framework/templates/qa-gate-tmpl.yaml +96 -0
- package/framework/templates/task-tmpl.yaml +85 -0
- package/framework/workflows/brownfield-discovery.yaml +75 -0
- package/framework/workflows/brownfield-fullstack.yaml +104 -0
- package/framework/workflows/brownfield-service.yaml +81 -0
- package/framework/workflows/brownfield-ui.yaml +87 -0
- package/framework/workflows/greenfield-fullstack.yaml +108 -0
- package/package.json +60 -0
- package/scripts/bundle-framework.js +58 -0
- package/src/config/ide-configs.js +80 -0
- package/src/config/mcp-configs.js +136 -0
- package/src/dashboard/data-reader.js +99 -0
- package/src/dashboard/layout.js +161 -0
- package/src/dashboard/renderer.js +104 -0
- package/src/installer/core.js +221 -0
- package/src/installer/templates.js +97 -0
- package/src/installer/validator.js +114 -0
- package/src/upgrade/backup.js +107 -0
- package/src/upgrade/checker.js +105 -0
- package/src/upgrade/migrator.js +171 -0
- package/src/utils/colors.js +18 -0
- package/src/utils/detector.js +51 -0
- package/src/utils/logger.js +41 -0
- package/src/wizard/feedback.js +76 -0
- package/src/wizard/i18n.js +168 -0
- package/src/wizard/index.js +107 -0
- package/src/wizard/questions.js +169 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# chati.dev i18n — English
|
|
2
|
+
language: en
|
|
3
|
+
name: English
|
|
4
|
+
|
|
5
|
+
installer:
|
|
6
|
+
welcome: "Welcome to chati.dev"
|
|
7
|
+
select_language: "Select your language:"
|
|
8
|
+
project_type: "What type of project are you setting up?"
|
|
9
|
+
greenfield: "Greenfield (new project from scratch)"
|
|
10
|
+
brownfield: "Brownfield (existing project integration)"
|
|
11
|
+
detected_brownfield: "Detected package.json and src/ in current directory"
|
|
12
|
+
suggestion_brownfield: "Suggestion: Brownfield"
|
|
13
|
+
select_ides: "Select IDE(s) for chati.dev configuration:"
|
|
14
|
+
select_mcps: "Select MCPs to install (project-level):"
|
|
15
|
+
confirmation_title: "Installation Summary"
|
|
16
|
+
project_label: "Project"
|
|
17
|
+
language_label: "Language"
|
|
18
|
+
ides_label: "IDEs"
|
|
19
|
+
mcps_label: "MCPs"
|
|
20
|
+
will_install: "Will install:"
|
|
21
|
+
agents_count: "13 agent definitions (CLARITY, BUILD, DEPLOY phases)"
|
|
22
|
+
workflows_count: "5 workflow blueprints"
|
|
23
|
+
templates_count: "5 templates (PRD, Brownfield PRD, Architecture, Task, QA Gate)"
|
|
24
|
+
constitution: "Constitution (10 Articles + Preamble)"
|
|
25
|
+
session_mgmt: "Session management system"
|
|
26
|
+
quality_gates: "Quality gates (4-tier validation)"
|
|
27
|
+
proceed: "Proceed with installation?"
|
|
28
|
+
installing: "Installing chati.dev..."
|
|
29
|
+
created_chati: "Created .chati/ session directory"
|
|
30
|
+
created_framework: "Created chati.dev/ framework directory (agents, templates, workflows)"
|
|
31
|
+
created_commands: "Created .claude/commands/ (thin router)"
|
|
32
|
+
installed_constitution: "Installed Constitution (Articles I-X)"
|
|
33
|
+
created_session: "Created session.yaml schema"
|
|
34
|
+
created_claude_md: "Created CLAUDE.md"
|
|
35
|
+
configured_mcps: "Configured MCPs:"
|
|
36
|
+
validating: "Validating installation..."
|
|
37
|
+
agents_valid: "All 13 agents implement 8 protocols"
|
|
38
|
+
handoff_ok: "Handoff protocol: OK"
|
|
39
|
+
validation_ok: "Self-validation criteria: OK"
|
|
40
|
+
constitution_ok: "Constitution: 10 articles verified"
|
|
41
|
+
session_ok: "Session schema: valid"
|
|
42
|
+
success: "chati.dev installed successfully!"
|
|
43
|
+
quick_start_title: "Quick Start"
|
|
44
|
+
quick_start_1: "Open your IDE"
|
|
45
|
+
quick_start_2: "Type: /chati"
|
|
46
|
+
quick_start_3: "The orchestrator will guide you through the process"
|
|
47
|
+
|
|
48
|
+
agents:
|
|
49
|
+
starting: "Starting agent: {agent}"
|
|
50
|
+
completed: "Agent {agent} completed with score {score}%"
|
|
51
|
+
refining: "Refining artifacts for consistency..."
|
|
52
|
+
running_validations: "Running additional validations..."
|
|
53
|
+
blocked: "Blocker detected: {blocker}"
|
|
54
|
+
|
|
55
|
+
options:
|
|
56
|
+
continue: "Continue with {agent} (Recommended)"
|
|
57
|
+
review: "Review last output"
|
|
58
|
+
status: "View full status"
|
|
59
|
+
enter_prompt: "Enter number or describe what you'd like to do:"
|
|
60
|
+
|
|
61
|
+
status:
|
|
62
|
+
project: "Project"
|
|
63
|
+
type: "Type"
|
|
64
|
+
phase: "Phase"
|
|
65
|
+
mode: "Mode"
|
|
66
|
+
language: "Language"
|
|
67
|
+
ide: "IDE"
|
|
68
|
+
current_agent: "Current Agent"
|
|
69
|
+
last_handoff: "Last Handoff"
|
|
70
|
+
backlog_items: "Backlog Items"
|
|
71
|
+
high_priority: "high priority"
|
|
72
|
+
|
|
73
|
+
errors:
|
|
74
|
+
session_corrupted: "Session file appears corrupted. Attempting recovery..."
|
|
75
|
+
handoff_missing: "Handoff not found. Using session.yaml + CLAUDE.md as fallback."
|
|
76
|
+
agent_failed: "Agent failed after 3 attempts. Escalating to user."
|
|
77
|
+
mcp_required: "Required MCP '{mcp}' is not configured. Install instructions:"
|
|
78
|
+
mcp_optional: "Optional MCP '{mcp}' not configured. Skipping related functionality."
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# chati.dev i18n — Espanol
|
|
2
|
+
language: es
|
|
3
|
+
name: Espanol
|
|
4
|
+
|
|
5
|
+
installer:
|
|
6
|
+
welcome: "Bienvenido a chati.dev"
|
|
7
|
+
select_language: "Seleccione su idioma:"
|
|
8
|
+
project_type: "Que tipo de proyecto esta configurando?"
|
|
9
|
+
greenfield: "Greenfield (nuevo proyecto desde cero)"
|
|
10
|
+
brownfield: "Brownfield (integracion con proyecto existente)"
|
|
11
|
+
detected_brownfield: "Detectado package.json y src/ en el directorio actual"
|
|
12
|
+
suggestion_brownfield: "Sugerencia: Brownfield"
|
|
13
|
+
select_ides: "Seleccione IDE(s) para configuracion de chati.dev:"
|
|
14
|
+
select_mcps: "Seleccione MCPs para instalar (nivel de proyecto):"
|
|
15
|
+
confirmation_title: "Resumen de Instalacion"
|
|
16
|
+
project_label: "Proyecto"
|
|
17
|
+
language_label: "Idioma"
|
|
18
|
+
ides_label: "IDEs"
|
|
19
|
+
mcps_label: "MCPs"
|
|
20
|
+
will_install: "Se instalara:"
|
|
21
|
+
agents_count: "13 definiciones de agentes (fases CLARITY, BUILD, DEPLOY)"
|
|
22
|
+
workflows_count: "5 blueprints de workflow"
|
|
23
|
+
templates_count: "5 templates (PRD, PRD Brownfield, Arquitectura, Task, QA Gate)"
|
|
24
|
+
constitution: "Constitucion (10 Articulos + Preambulo)"
|
|
25
|
+
session_mgmt: "Sistema de gestion de sesion"
|
|
26
|
+
quality_gates: "Quality gates (validacion en 4 capas)"
|
|
27
|
+
proceed: "Proceder con la instalacion?"
|
|
28
|
+
installing: "Instalando chati.dev..."
|
|
29
|
+
created_chati: "Creado directorio de sesion .chati/"
|
|
30
|
+
created_framework: "Creado directorio del framework chati.dev/ (agentes, templates, workflows)"
|
|
31
|
+
created_commands: "Creado .claude/commands/ (enrutador)"
|
|
32
|
+
installed_constitution: "Instalada Constitucion (Articulos I-X)"
|
|
33
|
+
created_session: "Creado schema session.yaml"
|
|
34
|
+
created_claude_md: "Creado CLAUDE.md"
|
|
35
|
+
configured_mcps: "MCPs configurados:"
|
|
36
|
+
validating: "Validando instalacion..."
|
|
37
|
+
agents_valid: "Los 13 agentes implementan 8 protocolos"
|
|
38
|
+
handoff_ok: "Protocolo de handoff: OK"
|
|
39
|
+
validation_ok: "Criterios de auto-validacion: OK"
|
|
40
|
+
constitution_ok: "Constitucion: 10 articulos verificados"
|
|
41
|
+
session_ok: "Schema de sesion: valido"
|
|
42
|
+
success: "chati.dev instalado con exito!"
|
|
43
|
+
quick_start_title: "Inicio Rapido"
|
|
44
|
+
quick_start_1: "Abra su IDE"
|
|
45
|
+
quick_start_2: "Escriba: /chati"
|
|
46
|
+
quick_start_3: "El orquestador le guiara por el proceso"
|
|
47
|
+
|
|
48
|
+
agents:
|
|
49
|
+
starting: "Iniciando agente: {agent}"
|
|
50
|
+
completed: "Agente {agent} completado con score {score}%"
|
|
51
|
+
refining: "Refinando artefactos para consistencia..."
|
|
52
|
+
running_validations: "Ejecutando validaciones adicionales..."
|
|
53
|
+
blocked: "Bloqueo detectado: {blocker}"
|
|
54
|
+
|
|
55
|
+
options:
|
|
56
|
+
continue: "Continuar con {agent} (Recomendado)"
|
|
57
|
+
review: "Revisar ultimo resultado"
|
|
58
|
+
status: "Ver estado completo"
|
|
59
|
+
enter_prompt: "Ingrese el numero o describa lo que desea hacer:"
|
|
60
|
+
|
|
61
|
+
status:
|
|
62
|
+
project: "Proyecto"
|
|
63
|
+
type: "Tipo"
|
|
64
|
+
phase: "Fase"
|
|
65
|
+
mode: "Modo"
|
|
66
|
+
language: "Idioma"
|
|
67
|
+
ide: "IDE"
|
|
68
|
+
current_agent: "Agente Actual"
|
|
69
|
+
last_handoff: "Ultimo Handoff"
|
|
70
|
+
backlog_items: "Items del Backlog"
|
|
71
|
+
high_priority: "alta prioridad"
|
|
72
|
+
|
|
73
|
+
errors:
|
|
74
|
+
session_corrupted: "Archivo de sesion parece corrupto. Intentando recuperacion..."
|
|
75
|
+
handoff_missing: "Handoff no encontrado. Usando session.yaml + CLAUDE.md como respaldo."
|
|
76
|
+
agent_failed: "Agente fallo despues de 3 intentos. Escalando al usuario."
|
|
77
|
+
mcp_required: "MCP requerido '{mcp}' no esta configurado. Instrucciones de instalacion:"
|
|
78
|
+
mcp_optional: "MCP opcional '{mcp}' no configurado. Omitiendo funcionalidad relacionada."
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# chati.dev i18n — Francais
|
|
2
|
+
language: fr
|
|
3
|
+
name: Francais
|
|
4
|
+
|
|
5
|
+
installer:
|
|
6
|
+
welcome: "Bienvenue sur chati.dev"
|
|
7
|
+
select_language: "Selectionnez votre langue:"
|
|
8
|
+
project_type: "Quel type de projet configurez-vous?"
|
|
9
|
+
greenfield: "Greenfield (nouveau projet a partir de zero)"
|
|
10
|
+
brownfield: "Brownfield (integration avec un projet existant)"
|
|
11
|
+
detected_brownfield: "Detecte package.json et src/ dans le repertoire actuel"
|
|
12
|
+
suggestion_brownfield: "Suggestion: Brownfield"
|
|
13
|
+
select_ides: "Selectionnez IDE(s) pour la configuration de chati.dev:"
|
|
14
|
+
select_mcps: "Selectionnez les MCPs a installer (niveau projet):"
|
|
15
|
+
confirmation_title: "Resume de l'Installation"
|
|
16
|
+
project_label: "Projet"
|
|
17
|
+
language_label: "Langue"
|
|
18
|
+
ides_label: "IDEs"
|
|
19
|
+
mcps_label: "MCPs"
|
|
20
|
+
will_install: "Sera installe:"
|
|
21
|
+
agents_count: "13 definitions d'agents (phases CLARITY, BUILD, DEPLOY)"
|
|
22
|
+
workflows_count: "5 blueprints de workflow"
|
|
23
|
+
templates_count: "5 templates (PRD, PRD Brownfield, Architecture, Task, QA Gate)"
|
|
24
|
+
constitution: "Constitution (10 Articles + Preambule)"
|
|
25
|
+
session_mgmt: "Systeme de gestion de session"
|
|
26
|
+
quality_gates: "Quality gates (validation en 4 couches)"
|
|
27
|
+
proceed: "Proceder a l'installation?"
|
|
28
|
+
installing: "Installation de chati.dev..."
|
|
29
|
+
created_chati: "Cree le repertoire de session .chati/"
|
|
30
|
+
created_framework: "Cree le repertoire du framework chati.dev/ (agents, templates, workflows)"
|
|
31
|
+
created_commands: "Cree .claude/commands/ (routeur)"
|
|
32
|
+
installed_constitution: "Installee la Constitution (Articles I-X)"
|
|
33
|
+
created_session: "Cree le schema session.yaml"
|
|
34
|
+
created_claude_md: "Cree CLAUDE.md"
|
|
35
|
+
configured_mcps: "MCPs configures:"
|
|
36
|
+
validating: "Validation de l'installation..."
|
|
37
|
+
agents_valid: "Les 13 agents implementent 8 protocoles"
|
|
38
|
+
handoff_ok: "Protocole de passation: OK"
|
|
39
|
+
validation_ok: "Criteres d'auto-validation: OK"
|
|
40
|
+
constitution_ok: "Constitution: 10 articles verifies"
|
|
41
|
+
session_ok: "Schema de session: valide"
|
|
42
|
+
success: "chati.dev installe avec succes!"
|
|
43
|
+
quick_start_title: "Demarrage Rapide"
|
|
44
|
+
quick_start_1: "Ouvrez votre IDE"
|
|
45
|
+
quick_start_2: "Tapez: /chati"
|
|
46
|
+
quick_start_3: "L'orchestrateur vous guidera a travers le processus"
|
|
47
|
+
|
|
48
|
+
agents:
|
|
49
|
+
starting: "Demarrage de l'agent: {agent}"
|
|
50
|
+
completed: "Agent {agent} termine avec un score de {score}%"
|
|
51
|
+
refining: "Affinement des artefacts pour la coherence..."
|
|
52
|
+
running_validations: "Execution de validations supplementaires..."
|
|
53
|
+
blocked: "Blocage detecte: {blocker}"
|
|
54
|
+
|
|
55
|
+
options:
|
|
56
|
+
continue: "Continuer avec {agent} (Recommande)"
|
|
57
|
+
review: "Revoir le dernier resultat"
|
|
58
|
+
status: "Voir le statut complet"
|
|
59
|
+
enter_prompt: "Entrez le numero ou decrivez ce que vous souhaitez faire:"
|
|
60
|
+
|
|
61
|
+
status:
|
|
62
|
+
project: "Projet"
|
|
63
|
+
type: "Type"
|
|
64
|
+
phase: "Phase"
|
|
65
|
+
mode: "Mode"
|
|
66
|
+
language: "Langue"
|
|
67
|
+
ide: "IDE"
|
|
68
|
+
current_agent: "Agent Actuel"
|
|
69
|
+
last_handoff: "Derniere Passation"
|
|
70
|
+
backlog_items: "Elements du Backlog"
|
|
71
|
+
high_priority: "haute priorite"
|
|
72
|
+
|
|
73
|
+
errors:
|
|
74
|
+
session_corrupted: "Le fichier de session semble corrompu. Tentative de recuperation..."
|
|
75
|
+
handoff_missing: "Passation non trouvee. Utilisation de session.yaml + CLAUDE.md comme repli."
|
|
76
|
+
agent_failed: "L'agent a echoue apres 3 tentatives. Escalade vers l'utilisateur."
|
|
77
|
+
mcp_required: "MCP requis '{mcp}' n'est pas configure. Instructions d'installation:"
|
|
78
|
+
mcp_optional: "MCP optionnel '{mcp}' non configure. Fonctionnalite associee ignoree."
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# chati.dev i18n — Portugues
|
|
2
|
+
language: pt
|
|
3
|
+
name: Portugues
|
|
4
|
+
|
|
5
|
+
installer:
|
|
6
|
+
welcome: "Bem-vindo ao chati.dev"
|
|
7
|
+
select_language: "Selecione seu idioma:"
|
|
8
|
+
project_type: "Que tipo de projeto voce esta configurando?"
|
|
9
|
+
greenfield: "Greenfield (novo projeto do zero)"
|
|
10
|
+
brownfield: "Brownfield (integracao com projeto existente)"
|
|
11
|
+
detected_brownfield: "Detectado package.json e src/ no diretorio atual"
|
|
12
|
+
suggestion_brownfield: "Sugestao: Brownfield"
|
|
13
|
+
select_ides: "Selecione IDE(s) para configuracao do chati.dev:"
|
|
14
|
+
select_mcps: "Selecione MCPs para instalar (nivel de projeto):"
|
|
15
|
+
confirmation_title: "Resumo da Instalacao"
|
|
16
|
+
project_label: "Projeto"
|
|
17
|
+
language_label: "Idioma"
|
|
18
|
+
ides_label: "IDEs"
|
|
19
|
+
mcps_label: "MCPs"
|
|
20
|
+
will_install: "Sera instalado:"
|
|
21
|
+
agents_count: "13 definicoes de agentes (fases CLARITY, BUILD, DEPLOY)"
|
|
22
|
+
workflows_count: "5 blueprints de workflow"
|
|
23
|
+
templates_count: "5 templates (PRD, PRD Brownfield, Arquitetura, Task, QA Gate)"
|
|
24
|
+
constitution: "Constituicao (10 Artigos + Preambulo)"
|
|
25
|
+
session_mgmt: "Sistema de gerenciamento de sessao"
|
|
26
|
+
quality_gates: "Quality gates (validacao em 4 camadas)"
|
|
27
|
+
proceed: "Prosseguir com a instalacao?"
|
|
28
|
+
installing: "Instalando chati.dev..."
|
|
29
|
+
created_chati: "Criado diretorio de sessao .chati/"
|
|
30
|
+
created_framework: "Criado diretorio do framework chati.dev/ (agentes, templates, workflows)"
|
|
31
|
+
created_commands: "Criado .claude/commands/ (roteador)"
|
|
32
|
+
installed_constitution: "Instalada Constituicao (Artigos I-X)"
|
|
33
|
+
created_session: "Criado schema session.yaml"
|
|
34
|
+
created_claude_md: "Criado CLAUDE.md"
|
|
35
|
+
configured_mcps: "MCPs configurados:"
|
|
36
|
+
validating: "Validando instalacao..."
|
|
37
|
+
agents_valid: "Todos os 13 agentes implementam 8 protocolos"
|
|
38
|
+
handoff_ok: "Protocolo de handoff: OK"
|
|
39
|
+
validation_ok: "Criterios de auto-validacao: OK"
|
|
40
|
+
constitution_ok: "Constituicao: 10 artigos verificados"
|
|
41
|
+
session_ok: "Schema de sessao: valido"
|
|
42
|
+
success: "chati.dev instalado com sucesso!"
|
|
43
|
+
quick_start_title: "Inicio Rapido"
|
|
44
|
+
quick_start_1: "Abra sua IDE"
|
|
45
|
+
quick_start_2: "Digite: /chati"
|
|
46
|
+
quick_start_3: "O orquestrador ira guia-lo pelo processo"
|
|
47
|
+
|
|
48
|
+
agents:
|
|
49
|
+
starting: "Iniciando agente: {agent}"
|
|
50
|
+
completed: "Agente {agent} concluido com score {score}%"
|
|
51
|
+
refining: "Refinando artefatos para consistencia..."
|
|
52
|
+
running_validations: "Executando validacoes adicionais..."
|
|
53
|
+
blocked: "Bloqueio detectado: {blocker}"
|
|
54
|
+
|
|
55
|
+
options:
|
|
56
|
+
continue: "Continuar com {agent} (Recomendado)"
|
|
57
|
+
review: "Revisar ultimo resultado"
|
|
58
|
+
status: "Ver status completo"
|
|
59
|
+
enter_prompt: "Digite o numero ou descreva o que deseja fazer:"
|
|
60
|
+
|
|
61
|
+
status:
|
|
62
|
+
project: "Projeto"
|
|
63
|
+
type: "Tipo"
|
|
64
|
+
phase: "Fase"
|
|
65
|
+
mode: "Modo"
|
|
66
|
+
language: "Idioma"
|
|
67
|
+
ide: "IDE"
|
|
68
|
+
current_agent: "Agente Atual"
|
|
69
|
+
last_handoff: "Ultimo Handoff"
|
|
70
|
+
backlog_items: "Itens do Backlog"
|
|
71
|
+
high_priority: "alta prioridade"
|
|
72
|
+
|
|
73
|
+
errors:
|
|
74
|
+
session_corrupted: "Arquivo de sessao parece corrompido. Tentando recuperacao..."
|
|
75
|
+
handoff_missing: "Handoff nao encontrado. Usando session.yaml + CLAUDE.md como fallback."
|
|
76
|
+
agent_failed: "Agente falhou apos 3 tentativas. Escalando para o usuario."
|
|
77
|
+
mcp_required: "MCP obrigatorio '{mcp}' nao esta configurado. Instrucoes de instalacao:"
|
|
78
|
+
mcp_optional: "MCP opcional '{mcp}' nao configurado. Pulando funcionalidade relacionada."
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Intelligence Layer — Agent Confidence Calibration
|
|
2
|
+
# Tracks agent performance across technologies and patterns
|
|
3
|
+
# Updated after each execution
|
|
4
|
+
# NEVER overwritten during upgrades
|
|
5
|
+
|
|
6
|
+
confidence:
|
|
7
|
+
dev:
|
|
8
|
+
overall: 0.90
|
|
9
|
+
by_technology:
|
|
10
|
+
react: 0.92
|
|
11
|
+
nextjs: 0.88
|
|
12
|
+
typescript: 0.93
|
|
13
|
+
python: 0.85
|
|
14
|
+
node: 0.91
|
|
15
|
+
by_pattern:
|
|
16
|
+
authentication: 0.90
|
|
17
|
+
crud_operations: 0.95
|
|
18
|
+
form_handling: 0.92
|
|
19
|
+
api_design: 0.88
|
|
20
|
+
last_calibrated: "2026-02-07"
|
|
21
|
+
|
|
22
|
+
architect:
|
|
23
|
+
overall: 0.88
|
|
24
|
+
by_technology:
|
|
25
|
+
react: 0.90
|
|
26
|
+
nextjs: 0.87
|
|
27
|
+
postgresql: 0.85
|
|
28
|
+
mongodb: 0.82
|
|
29
|
+
by_pattern:
|
|
30
|
+
monolith: 0.92
|
|
31
|
+
microservices: 0.80
|
|
32
|
+
serverless: 0.78
|
|
33
|
+
last_calibrated: "2026-02-07"
|
|
34
|
+
|
|
35
|
+
qa-implementation:
|
|
36
|
+
overall: 0.92
|
|
37
|
+
by_category:
|
|
38
|
+
test_execution: 0.95
|
|
39
|
+
security_scan: 0.90
|
|
40
|
+
code_review: 0.88
|
|
41
|
+
acceptance_verification: 0.93
|
|
42
|
+
last_calibrated: "2026-02-07"
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Intelligence Layer — Known Gotchas
|
|
2
|
+
# Agents READ from this file before implementation
|
|
3
|
+
# Agents APPEND new entries after discovering pitfalls
|
|
4
|
+
# QA agents VALIDATE entries before they become permanent
|
|
5
|
+
# NEVER overwritten during upgrades
|
|
6
|
+
|
|
7
|
+
gotchas:
|
|
8
|
+
- id: G001
|
|
9
|
+
technology: react
|
|
10
|
+
pattern: "useEffect with missing dependency array"
|
|
11
|
+
severity: high
|
|
12
|
+
description: "useEffect without dependency array runs on every render, causing performance issues and potential infinite loops"
|
|
13
|
+
mitigation: "Always specify dependency array. Use eslint-plugin-react-hooks to catch missing dependencies"
|
|
14
|
+
discovered_by: dev
|
|
15
|
+
discovered_at: "2026-02-07"
|
|
16
|
+
|
|
17
|
+
- id: G002
|
|
18
|
+
technology: nextjs
|
|
19
|
+
pattern: "Server component importing client-only library"
|
|
20
|
+
severity: critical
|
|
21
|
+
description: "Importing a client-only library (window, document, localStorage) in a server component causes build failure"
|
|
22
|
+
mitigation: "Use 'use client' directive or dynamic import with { ssr: false }"
|
|
23
|
+
discovered_by: qa-implementation
|
|
24
|
+
discovered_at: "2026-02-07"
|
|
25
|
+
|
|
26
|
+
- id: G003
|
|
27
|
+
technology: typescript
|
|
28
|
+
pattern: "any type suppressing real errors"
|
|
29
|
+
severity: medium
|
|
30
|
+
description: "Using 'any' type hides legitimate type errors that would be caught at compile time"
|
|
31
|
+
mitigation: "Use 'unknown' with type narrowing, or define proper types. Configure tsconfig strict: true"
|
|
32
|
+
discovered_by: dev
|
|
33
|
+
discovered_at: "2026-02-07"
|
|
34
|
+
|
|
35
|
+
- id: G004
|
|
36
|
+
technology: css
|
|
37
|
+
pattern: "Hardcoded color values instead of design tokens"
|
|
38
|
+
severity: high
|
|
39
|
+
description: "Hardcoded hex/rgb values bypass the Design System, making theming and dark mode impossible"
|
|
40
|
+
mitigation: "Always use CSS custom properties (var(--color-xxx)). Never hardcode visual values"
|
|
41
|
+
discovered_by: ux
|
|
42
|
+
discovered_at: "2026-02-07"
|
|
43
|
+
|
|
44
|
+
- id: G005
|
|
45
|
+
technology: api
|
|
46
|
+
pattern: "Missing input validation on API endpoints"
|
|
47
|
+
severity: critical
|
|
48
|
+
description: "API endpoints without input validation are vulnerable to injection attacks and unexpected data"
|
|
49
|
+
mitigation: "Validate all inputs at API boundaries using schema validation (zod, joi, yup)"
|
|
50
|
+
discovered_by: qa-implementation
|
|
51
|
+
discovered_at: "2026-02-07"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Intelligence Layer — Successful Patterns
|
|
2
|
+
# Recorded after successful execution
|
|
3
|
+
# Agents reference these when implementing similar features
|
|
4
|
+
# NEVER overwritten during upgrades
|
|
5
|
+
|
|
6
|
+
patterns:
|
|
7
|
+
- id: P001
|
|
8
|
+
context: "Authentication implementation"
|
|
9
|
+
pattern: "JWT + refresh token with httpOnly cookies"
|
|
10
|
+
outcome: "Passed QA-Implementation on first attempt"
|
|
11
|
+
score: 98
|
|
12
|
+
agent: dev
|
|
13
|
+
recorded_at: "2026-02-07"
|
|
14
|
+
notes: "Secure by default. httpOnly prevents XSS token theft. Refresh token handles session extension"
|
|
15
|
+
|
|
16
|
+
- id: P002
|
|
17
|
+
context: "Form validation"
|
|
18
|
+
pattern: "Schema-based validation (zod) shared between frontend and backend"
|
|
19
|
+
outcome: "Zero validation inconsistencies between client and server"
|
|
20
|
+
score: 97
|
|
21
|
+
agent: dev
|
|
22
|
+
recorded_at: "2026-02-07"
|
|
23
|
+
notes: "Single source of truth for validation rules. Eliminates frontend/backend sync issues"
|
|
24
|
+
|
|
25
|
+
- id: P003
|
|
26
|
+
context: "Error handling"
|
|
27
|
+
pattern: "Boundary-based error handling with typed error classes"
|
|
28
|
+
outcome: "Clean error propagation, helpful user messages"
|
|
29
|
+
score: 96
|
|
30
|
+
agent: dev
|
|
31
|
+
recorded_at: "2026-02-07"
|
|
32
|
+
notes: "Validate at boundaries, trust internal code. Custom error classes enable type-safe error handling"
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Migration: v1.0.0 -> v1.1.0
|
|
2
|
+
# Template for future migrations
|
|
3
|
+
|
|
4
|
+
migration:
|
|
5
|
+
from: "1.0.0"
|
|
6
|
+
to: "1.1.0"
|
|
7
|
+
description: "Template migration — no changes for initial version"
|
|
8
|
+
breaking: false
|
|
9
|
+
|
|
10
|
+
steps: []
|
|
11
|
+
# Example steps for future migrations:
|
|
12
|
+
#
|
|
13
|
+
# - type: create_directory
|
|
14
|
+
# path: "chati.dev/new-directory/"
|
|
15
|
+
# idempotent: true
|
|
16
|
+
#
|
|
17
|
+
# - type: create_file
|
|
18
|
+
# path: "chati.dev/new-directory/new-file.yaml"
|
|
19
|
+
# content: "key: value\n"
|
|
20
|
+
# skip_if_exists: true
|
|
21
|
+
#
|
|
22
|
+
# - type: update_yaml
|
|
23
|
+
# path: ".chati/session.yaml"
|
|
24
|
+
# operation: add_field
|
|
25
|
+
# field: "new_field"
|
|
26
|
+
# default: "default_value"
|
|
27
|
+
# skip_if_exists: true
|
|
28
|
+
#
|
|
29
|
+
# - type: update_yaml
|
|
30
|
+
# path: "chati.dev/config.yaml"
|
|
31
|
+
# operation: set
|
|
32
|
+
# field: "version"
|
|
33
|
+
# value: "1.1.0"
|
|
34
|
+
|
|
35
|
+
rollback: []
|
|
36
|
+
# - type: update_yaml
|
|
37
|
+
# path: "chati.dev/config.yaml"
|
|
38
|
+
# operation: set
|
|
39
|
+
# field: "version"
|
|
40
|
+
# value: "1.0.0"
|
|
41
|
+
|
|
42
|
+
notes: |
|
|
43
|
+
Migration rules:
|
|
44
|
+
- Migrations run sequentially (never skip versions)
|
|
45
|
+
- Every migration is idempotent (safe to run multiple times)
|
|
46
|
+
- Backup is created BEFORE any migration
|
|
47
|
+
- Automatic rollback on failure
|
|
48
|
+
- User artifacts (chati.dev/artifacts/, chati.dev/intelligence/) are NEVER modified
|