melhorias na ia
This commit is contained in:
parent
62170f1e38
commit
993252c49b
46 changed files with 4428 additions and 101 deletions
52
workflows/atualizar-agente.global.md
Normal file
52
workflows/atualizar-agente.global.md
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
---
|
||||
type: workflow
|
||||
name: atualizar-agente
|
||||
description: Sincroniza artefatos globais do ecossistema de agentes via git submodule
|
||||
scope: global
|
||||
updatedAt: "2026-07-01"
|
||||
---
|
||||
|
||||
# Workflow: Atualizar Agente
|
||||
|
||||
## Objetivo
|
||||
|
||||
Sincronizar rules, workflows, skills e `agent.json` de todos os agentes com a versão mais recente do submodulo `.agent`.
|
||||
|
||||
> **Padrão atual:** git submodule. O script `atualizar-agente.global.sh` (curl legado) foi removido.
|
||||
|
||||
## Passos
|
||||
|
||||
### 1. Atualizar o submodulo
|
||||
|
||||
```bash
|
||||
sh .agent/atualizar-agente.sh
|
||||
```
|
||||
|
||||
O script:
|
||||
1. Faz `git submodule update --remote --merge` para puxar a última versão
|
||||
2. Copia todos os artefatos globais para `.agent/inherited/`
|
||||
3. Configura os symlinks em `.gemini/agents/` para o Antigravity
|
||||
|
||||
### 2. Regenerar os `agent.json` (quando necessário)
|
||||
|
||||
Se as rules globais mudaram e os `agent.json` precisam ser recompilados:
|
||||
|
||||
```bash
|
||||
sh .agent/adaptadores/antigravity/gerar-agent-json.sh
|
||||
```
|
||||
|
||||
Para regenerar apenas um agente específico:
|
||||
|
||||
```bash
|
||||
sh .agent/adaptadores/antigravity/gerar-agent-json.sh ag-back
|
||||
```
|
||||
|
||||
### 3. Verificar resultado
|
||||
|
||||
```bash
|
||||
find .agent/inherited/ -type f | sort
|
||||
```
|
||||
|
||||
### 4. Revisar mudanças (quando aplicável)
|
||||
|
||||
Se houve alterações significativas nas rules ou workflows, executar `/aprimorar-IA` para validar consistência do sistema de conhecimento.
|
||||
Loading…
Add table
Add a link
Reference in a new issue