auroq-os 1.6.0 → 1.6.1
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.
|
@@ -1000,39 +1000,69 @@ Qual? (1 / 2 / 3)
|
|
|
1000
1000
|
4. Nao tem arquivos suspeitos? (executaveis, scripts desconhecidos)
|
|
1001
1001
|
|
|
1002
1002
|
**Passo 4 — Instalar**
|
|
1003
|
-
|
|
1004
|
-
|
|
1003
|
+
|
|
1004
|
+
1. Copiar pra `agents/{slug}/` (slug = nome da pasta, derivado de `name:` do `squad.yaml` em kebab-case ou nome da pasta no zip)
|
|
1005
|
+
|
|
1006
|
+
2. **Determinar nome da slash command (CRITICO):**
|
|
1007
|
+
|
|
1008
|
+
Ler do `squad.yaml` ou `config.yaml`:
|
|
1009
|
+
- SE existe campo `slash_prefix:` → usar esse valor (ex: `slideForgeV2`)
|
|
1010
|
+
- SE NAO existe `slash_prefix:` → usar `{slug}` como fallback (kebab-case)
|
|
1011
|
+
|
|
1012
|
+
```bash
|
|
1013
|
+
# Pseudo-codigo
|
|
1014
|
+
slash_command=$(yaml_read agents/{slug}/squad.yaml slash_prefix)
|
|
1015
|
+
if [ -z "$slash_command" ]; then
|
|
1016
|
+
slash_command="{slug}" # fallback
|
|
1017
|
+
fi
|
|
1018
|
+
```
|
|
1019
|
+
|
|
1020
|
+
**Exemplo concreto:**
|
|
1021
|
+
- Slide Forge v2: pasta `slide-forge`, mas `slash_prefix: "slideForgeV2"` → command file = `.claude/commands/slideForgeV2.md` → ativa com `/slideForgeV2`
|
|
1022
|
+
- Squad Forge: pasta `squad-forge`, `slash_prefix: "squadForge"` → `.claude/commands/squadForge.md` → ativa com `/squadForge`
|
|
1023
|
+
- Squad sem slash_prefix definido: pasta `meu-squad` → `.claude/commands/meu-squad.md` → ativa com `/meu-squad`
|
|
1024
|
+
|
|
1025
|
+
3. **SE existe `slash_prefix_legacy:` no squad.yaml:** criar TAMBEM o alias (backward-compat). Ex: Slide Forge v2 tem `slash_prefix_legacy: "slideForge"` → criar `.claude/commands/slideForge.md` apontando pro mesmo squad.
|
|
1026
|
+
|
|
1027
|
+
4. **Conteudo do slash command:**
|
|
1028
|
+
|
|
1005
1029
|
```markdown
|
|
1006
|
-
# {
|
|
1030
|
+
# {slash_command}
|
|
1007
1031
|
|
|
1008
|
-
{descricao do
|
|
1032
|
+
{descricao do squad — pegar de `description:` ou `title:` do squad.yaml}
|
|
1009
1033
|
|
|
1010
|
-
CRITICAL: First, read and adopt the persona defined in `agents/{slug}/agents/{nome}.md`.
|
|
1034
|
+
CRITICAL: First, read and adopt the persona defined in `agents/{slug}/agents/{nome-do-chief}.md`.
|
|
1011
1035
|
Then, read and execute the task defined in `agents/{slug}/tasks/start.md`.
|
|
1012
1036
|
Follow ALL instructions exactly as written. Those files are your single source of truth.
|
|
1013
1037
|
```
|
|
1014
|
-
|
|
1015
|
-
|
|
1038
|
+
|
|
1039
|
+
`{nome-do-chief}` vem do `tiers.orchestrator[0]` do squad.yaml (o agente principal). Se squad tem 1 só agente, usa esse.
|
|
1040
|
+
|
|
1041
|
+
5. SE tem `skill.md` na raiz do squad: registrar skill tambem
|
|
1042
|
+
6. SE tem `dependencies` no squad.yaml com pacotes externos: avisar expert + perguntar antes de qualquer install
|
|
1016
1043
|
|
|
1017
1044
|
**Passo 5 — Testar**
|
|
1018
|
-
1. Verificar que slash command aparece: "/{
|
|
1019
|
-
2. Verificar que
|
|
1020
|
-
3.
|
|
1021
|
-
4.
|
|
1045
|
+
1. Verificar que slash command aparece: "/{slash_command} esta disponivel"
|
|
1046
|
+
2. Verificar que `.claude/commands/{slash_command}.md` foi criado
|
|
1047
|
+
3. Verificar que agente carrega (ler persona, confirmar greeting)
|
|
1048
|
+
4. SE squad com workflow: verificar que fases referenciam tasks existentes
|
|
1049
|
+
5. Mostrar resultado:
|
|
1022
1050
|
|
|
1023
1051
|
```
|
|
1024
1052
|
=== INSTALACAO COMPLETA ===
|
|
1025
1053
|
|
|
1026
1054
|
Tipo: {Worker/Mind/Squad}
|
|
1027
|
-
Nome: {
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1055
|
+
Nome: {title ou name} v{versao}
|
|
1056
|
+
Pasta: agents/{slug}/
|
|
1057
|
+
Ativacao: /{slash_command}
|
|
1058
|
+
{SE houver slash_prefix_legacy:} Alias: /{slash_prefix_legacy} (backward-compat)
|
|
1059
|
+
Arquivos: {N} instalados
|
|
1060
|
+
Command file: .claude/commands/{slash_command}.md criado
|
|
1031
1061
|
|
|
1032
1062
|
{SE squad: Agentes: {lista}}
|
|
1033
1063
|
{SE squad: Workflow: {fases}}
|
|
1034
1064
|
|
|
1035
|
-
Pronto pra usar. Ative com /{
|
|
1065
|
+
Pronto pra usar. Ative com /{slash_command}
|
|
1036
1066
|
```
|
|
1037
1067
|
|
|
1038
1068
|
**Passo 6 — Limpar**
|
|
@@ -1203,19 +1233,42 @@ done
|
|
|
1203
1233
|
done
|
|
1204
1234
|
```
|
|
1205
1235
|
|
|
1206
|
-
**Passo 7 — Atualizar slash command**
|
|
1236
|
+
**Passo 7 — Atualizar slash command(s)**
|
|
1207
1237
|
|
|
1208
|
-
|
|
1238
|
+
1. **Ler `slash_prefix:` (e `slash_prefix_legacy:` se houver) do squad.yaml NOVO** (do zip):
|
|
1239
|
+
- Pode ter mudado entre versoes (ex: v1 era `slash_prefix: "slideForge"`, v2 e `slash_prefix: "slideForgeV2"` + `slash_prefix_legacy: "slideForge"`)
|
|
1209
1240
|
|
|
1210
|
-
|
|
1241
|
+
2. **Comparar com slash command atual** em `.claude/commands/`:
|
|
1242
|
+
- Se `slash_prefix` da v_new e DIFERENTE do nome de arquivo atual → criar o novo command file (mantem o antigo se for declarado como `slash_prefix_legacy`)
|
|
1243
|
+
- Se o conteudo mudou (descricao, agente chief renomeado, etc) → atualizar conteudo
|
|
1244
|
+
|
|
1245
|
+
3. **Atualizar conteudo do command file** com novo formato:
|
|
1246
|
+
|
|
1247
|
+
```markdown
|
|
1248
|
+
# {slash_prefix novo}
|
|
1249
|
+
|
|
1250
|
+
{description ou title novo do squad}
|
|
1251
|
+
|
|
1252
|
+
CRITICAL: First, read and adopt the persona defined in `agents/{slug}/agents/{novo-nome-do-chief}.md`.
|
|
1253
|
+
Then, read and execute the task defined in `agents/{slug}/tasks/start.md`.
|
|
1254
|
+
Follow ALL instructions exactly as written. Those files are your single source of truth.
|
|
1255
|
+
```
|
|
1256
|
+
|
|
1257
|
+
4. **SE slash_prefix mudou de v_old pra v_new (ex: slideForge → slideForgeV2):**
|
|
1258
|
+
- Criar command file novo
|
|
1259
|
+
- SE v_new declara `slash_prefix_legacy` apontando pro nome antigo: deixar antigo como alias com aviso de versao
|
|
1260
|
+
- SE v_new NAO declara legacy: opcional remover command antigo (perguntar pro expert: "v_new mudou ativacao de /slideForge pra /slideForgeV2. Remover o comando /slideForge antigo? Senao fica como alias.")
|
|
1261
|
+
|
|
1262
|
+
5. **SE squad-forge ou Slide Forge ou outro squad com greeting versionado:** lembrar expert que ao ativar, greeting deve mostrar a versao nova como confirmacao visual de que update funcionou.
|
|
1211
1263
|
|
|
1212
1264
|
**Passo 8 — Validar pos-update**
|
|
1213
1265
|
|
|
1214
1266
|
1. `agents/{slug}/squad.yaml` (ou `config.yaml`) parsea sem erro?
|
|
1215
1267
|
2. `agents/{slug}/tasks/start.md` existe?
|
|
1216
|
-
3.
|
|
1217
|
-
4.
|
|
1218
|
-
5.
|
|
1268
|
+
3. **`.claude/commands/{slash_prefix_novo}.md` existe e aponta pra arquivos existentes?**
|
|
1269
|
+
4. **SE houver `slash_prefix_legacy`:** alias correspondente existe e aponta pro mesmo squad?
|
|
1270
|
+
5. Versao no `squad.yaml` agora bate com a do zip?
|
|
1271
|
+
6. Runtime preservado intacto? (`agents/{slug}/minds/` se existia, `.state.json` se existia)
|
|
1219
1272
|
|
|
1220
1273
|
**SE algum check falhar:** rollback completo:
|
|
1221
1274
|
```bash
|
|
@@ -1229,9 +1282,14 @@ Reportar erro ao expert.
|
|
|
1229
1282
|
```
|
|
1230
1283
|
=== UPDATE COMPLETO ===
|
|
1231
1284
|
|
|
1232
|
-
Squad: {
|
|
1285
|
+
Squad: {title ou name}
|
|
1286
|
+
Pasta: agents/{slug}/
|
|
1233
1287
|
Versao: v{old} -> v{new}
|
|
1234
1288
|
|
|
1289
|
+
Ativacao:
|
|
1290
|
+
- /{slash_prefix novo}
|
|
1291
|
+
{SE houver slash_prefix_legacy:} - /{slash_prefix_legacy} (alias backward-compat)
|
|
1292
|
+
|
|
1235
1293
|
Arquivos:
|
|
1236
1294
|
- {N} arquivos framework substituidos
|
|
1237
1295
|
- {M} arquivos preservados (minds/, .state.json, runtime do expert)
|
|
@@ -1241,8 +1299,7 @@ Backups criados:
|
|
|
1241
1299
|
{SE houve modificacoes locais do expert:}
|
|
1242
1300
|
- _backup-tuas-mods/{slug}-v{old}-{timestamp}/ (tuas modificacoes preservadas)
|
|
1243
1301
|
|
|
1244
|
-
|
|
1245
|
-
Pra confirmar que ta v{new}: ative com /{slug} e olhe o greeting.
|
|
1302
|
+
Pra confirmar que esta v{new}: ative com /{slash_prefix novo} e olhe o greeting.
|
|
1246
1303
|
|
|
1247
1304
|
Tudo certo. Pode usar normalmente.
|
|
1248
1305
|
```
|
|
@@ -1318,9 +1375,13 @@ SE problemas: listar e perguntar se continua sem eles
|
|
|
1318
1375
|
**Passo 3 — Instalar (batch)**
|
|
1319
1376
|
Pra cada agente aprovado:
|
|
1320
1377
|
1. Copiar pra `agents/{slug}/`
|
|
1321
|
-
2.
|
|
1378
|
+
2. **Determinar slash command (mesma logica do `*install` Passo 4):**
|
|
1379
|
+
- Ler `slash_prefix:` do squad.yaml/config.yaml
|
|
1380
|
+
- Fallback: usar `{slug}` (nome da pasta) se nao houver `slash_prefix`
|
|
1381
|
+
- SE houver `slash_prefix_legacy:` declarado: criar tambem o alias
|
|
1382
|
+
3. Criar slash command em `.claude/commands/{slash_command}.md`:
|
|
1322
1383
|
```markdown
|
|
1323
|
-
# {
|
|
1384
|
+
# {slash_command}
|
|
1324
1385
|
|
|
1325
1386
|
{descricao extraida do squad.yaml, config.yaml ou README}
|
|
1326
1387
|
|
|
@@ -1328,16 +1389,16 @@ Pra cada agente aprovado:
|
|
|
1328
1389
|
Then, read and execute the task defined in `agents/{slug}/tasks/start.md`.
|
|
1329
1390
|
Follow ALL instructions exactly as written. Those files are your single source of truth.
|
|
1330
1391
|
```
|
|
1331
|
-
|
|
1332
|
-
- Ler squad.yaml/config.yaml
|
|
1392
|
+
4. Detectar o chief agent automaticamente:
|
|
1393
|
+
- Ler `tiers.orchestrator[0]` do squad.yaml/config.yaml
|
|
1333
1394
|
- SE nao tem yaml: usar primeiro .md em agents/ que contenha "chief" ou "forge-chief"
|
|
1334
1395
|
- SE ambiguo: perguntar ao expert
|
|
1335
|
-
|
|
1336
|
-
|
|
1396
|
+
5. SE tem skill.md: registrar skill
|
|
1397
|
+
6. SE tem dependencias: avisar expert antes de instalar
|
|
1337
1398
|
|
|
1338
1399
|
**Passo 4 — Validar (batch)**
|
|
1339
1400
|
Pra cada agente instalado:
|
|
1340
|
-
1. Verificar
|
|
1401
|
+
1. Verificar `.claude/commands/{slash_command}.md` existe (e o alias legacy se houver)
|
|
1341
1402
|
2. Verificar agent file carrega (ler persona, confirmar existe)
|
|
1342
1403
|
3. SE squad com workflow: verificar tasks referenciadas existem
|
|
1343
1404
|
|