- 55 arquivos .md renomeados para sem extensão - Convenção: artefatos de conhecimento sem extensão, scripts (.sh) e dados (.json) mantêm extensão - Scripts atualizados: gerar-manifesto.sh, atualizar-agente.sh, atualizar-agente.global.sh, gerar-agent-json.sh, verificar-linhas.sh - Documentação reescrita: AGENTS, README, EXTEND para refletir uso como submodule .agent direto - manifesto.json regenerado v3.0.0 - Todas as referências internas entre artefatos atualizadas BREAKING CHANGE: arquivos não possuem mais extensão .md
54 lines
No EOL
1.2 KiB
Text
54 lines
No EOL
1.2 KiB
Text
---
|
|
type: workflow
|
|
name: atualizar-agente
|
|
description: Atualiza o submodule AGENT-IA e sincroniza artefatos herdados
|
|
scope: local
|
|
updatedAt: "2026-06-18"
|
|
---
|
|
|
|
# Workflow: Atualizar Agente (Submodule)
|
|
|
|
## Objetivo
|
|
|
|
Atualizar o submodule `.agent/base/` para a versão mais recente do AGENT-IA e sincronizar os artefatos herdados no projeto.
|
|
|
|
## Passos
|
|
|
|
### 1. Atualizar o submodule
|
|
|
|
```bash
|
|
cd .agent/base
|
|
git pull origin main
|
|
cd ../..
|
|
git add .agent/base
|
|
```
|
|
|
|
### 2. Executar o script de sincronização
|
|
|
|
// turbo
|
|
|
|
```bash
|
|
sh .agent/atualizar-agente.sh
|
|
```
|
|
|
|
O script sincroniza `.agent/inherited/` com os artefatos do `base/`, sem tocar em `local/`.
|
|
|
|
### 3. Verificar resultado
|
|
|
|
Confirmar que a estrutura está íntegra:
|
|
|
|
```bash
|
|
echo "=== Herdados ===" && find .agent/inherited/ -type f | sort
|
|
echo "=== Locais ===" && find .agent/local/ -type f | sort 2>/dev/null || echo "(vazio)"
|
|
```
|
|
|
|
### 4. Revisar mudanças (quando aplicável)
|
|
|
|
Se houve alterações significativas nas rules ou workflows herdados, executar `/aprimorar-IA` para validar consistência do sistema de conhecimento.
|
|
|
|
### 5. Commitar a atualização
|
|
|
|
```bash
|
|
git add .agent/base
|
|
git commit -m "chore: atualizar agent-ia para versão mais recente"
|
|
``` |