predators-protocol 1.1.0 → 1.2.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/bin/predators-cli.js +825 -777
- package/bundle/.claude/commands/encarnar.md +22 -0
- package/bundle/CLAUDE.md +38 -6
- package/bundle/docs/CANON/BRAND-CANON.json +45 -0
- package/bundle/docs/CANON/SELF-HEALING-LOG-CANON.json +36 -2
- package/bundle/docs/ENCARNACAO.md +11 -0
- package/bundle/predators/apex/aguia-real/constitution.md +347 -347
- package/bundle/predators/apex/aguia-real/predator.json +1 -1
- package/bundle/predators/apex/leao/constitution.md +283 -283
- package/bundle/predators/apex/leao/predator.json +1 -1
- package/bundle/predators/apex/orca/constitution.md +279 -279
- package/bundle/predators/apex/orca/predator.json +1 -1
- package/bundle/predators/apex/tigre-siberiano/constitution.md +276 -276
- package/bundle/predators/apex/tigre-siberiano/predator.json +1 -1
- package/bundle/predators/designer/pavao/constitution.md +37 -0
- package/bundle/predators/hunter/crocodilo/constitution.md +293 -293
- package/bundle/predators/hunter/crocodilo/predator.json +1 -1
- package/bundle/predators/hunter/escorpiao/constitution.md +327 -327
- package/bundle/predators/hunter/escorpiao/predator.json +1 -1
- package/bundle/predators/hunter/hiena/constitution.md +343 -343
- package/bundle/predators/hunter/hiena/predator.json +1 -1
- package/bundle/predators/hunter/tubarao-branco/constitution.md +527 -527
- package/bundle/predators/hunter/tubarao-branco/predator.json +1 -1
- package/bundle/predators/intel/guepardo/constitution.md +201 -201
- package/bundle/predators/intel/guepardo/predator.json +1 -1
- package/bundle/predators/intel/jiboia/constitution.md +243 -243
- package/bundle/predators/intel/jiboia/predator.json +1 -1
- package/bundle/predators/intel/lobo-solitario/constitution.md +275 -275
- package/bundle/predators/intel/lobo-solitario/predator.json +1 -1
- package/bundle/predators/intel/morcego/constitution.md +217 -217
- package/bundle/predators/intel/morcego/predator.json +1 -1
- package/bundle/predators/intel/pirarucu/constitution.md +309 -309
- package/bundle/predators/intel/pirarucu/predator.json +1 -1
- package/bundle/predators/intel/polvo-mimico/constitution.md +220 -220
- package/bundle/predators/intel/polvo-mimico/predator.json +1 -1
- package/bundle/predators/intel/tarantula/constitution.md +222 -222
- package/bundle/predators/intel/tarantula/predator.json +1 -1
- package/bundle/predators/meta/aranha-d-agua/constitution.md +264 -264
- package/bundle/predators/meta/aranha-d-agua/predator.json +1 -1
- package/bundle/predators/meta/camaleao-real/constitution.md +245 -245
- package/bundle/predators/meta/camaleao-real/predator.json +1 -1
- package/bundle/predators/meta/coruja-real/constitution.md +255 -255
- package/bundle/predators/meta/coruja-real/predator.json +1 -1
- package/bundle/predators/meta/dragao-ancestral/constitution.md +297 -297
- package/bundle/predators/meta/dragao-ancestral/predator.json +1 -1
- package/bundle/predators/meta/fenix/constitution.md +286 -286
- package/bundle/predators/meta/fenix/predator.json +1 -1
- package/bundle/predators/meta/lince-das-neves/constitution.md +252 -252
- package/bundle/predators/meta/lince-das-neves/predator.json +1 -1
- package/bundle/predators/web3/caranguejo-ferradura/constitution.md +245 -245
- package/bundle/predators/web3/caranguejo-ferradura/predator.json +1 -1
- package/bundle/predators/web3/medusa/constitution.md +236 -236
- package/bundle/predators/web3/medusa/predator.json +1 -1
- package/bundle/predators/web3/orca-alfa/constitution.md +227 -227
- package/bundle/predators/web3/orca-alfa/predator.json +1 -1
- package/bundle/predators/web3/polvo-gigante/constitution.md +240 -240
- package/bundle/predators/web3/polvo-gigante/predator.json +1 -1
- package/bundle/predators/web3/raia-eletrica/constitution.md +236 -236
- package/bundle/predators/web3/raia-eletrica/predator.json +1 -1
- package/bundle/predators/web3/tubarao-martelo/constitution.md +236 -236
- package/bundle/predators/web3/tubarao-martelo/predator.json +1 -1
- package/lib/access-token-client.js +2 -0
- package/package.json +1 -1
|
@@ -58,6 +58,28 @@ Estruturado · 5 garantias da Synapse:
|
|
|
58
58
|
|
|
59
59
|
---
|
|
60
60
|
|
|
61
|
+
## Lookup canon · 64 predadores invocáveis (Lei #10 literal)
|
|
62
|
+
|
|
63
|
+
`<predador-id>` deve resolver contra `predators/<layer>/<id>/predator.json`.
|
|
64
|
+
|
|
65
|
+
**Fonte única canon:** `docs/CANON/PREDADORES-INVENTORY-CANON.md` (64 predadores · 10 camadas).
|
|
66
|
+
|
|
67
|
+
IDs válidos byte-canon (não-inventar):
|
|
68
|
+
- Apex (4): aguia-real · leao · orca · tigre-siberiano
|
|
69
|
+
- Hunter (5): crocodilo · escorpiao · hiena · piranha · tubarao-branco
|
|
70
|
+
- Builder (9): camaleao · coruja · falcao-peregrino · gaviao · jaguar · onca-pintada · pantera-negra · polvo · tatu-bola
|
|
71
|
+
- Designer (8): aguia-harpia · aranha-tecela · baleia-cantora · borboleta-azul · cisne-negro · mantis · pavao · tucano-toco
|
|
72
|
+
- Copy (6): corvo · golfinho · lobo-cinzento · papagaio · rouxinol · serpente-coral
|
|
73
|
+
- Intel (8): alcateia · guepardo · jiboia · lobo-solitario · morcego · pirarucu · polvo-mimico · tarantula
|
|
74
|
+
- Governance (6): cavalo-marinho · elefante · gorila-prata · lince · raposa · tartaruga-gigante
|
|
75
|
+
- Growth (6): abelha-rainha · albatroz · condor · coruja-de-igreja · formiga-sauva · lobo-do-artico
|
|
76
|
+
- Web3 (6): caranguejo-ferradura · medusa · orca-alfa · polvo-gigante · raia-eletrica · tubarao-martelo
|
|
77
|
+
- Meta (6): aranha-d-agua · camaleao-real · coruja-real · dragao-ancestral · fenix · lince-das-neves
|
|
78
|
+
|
|
79
|
+
ID NÃO listado = Lei #2 invenção VIOLADA · pare e ratifique via Fênix Protocol.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
61
83
|
**Predador a encarnar**: `$ARGUMENTS`
|
|
62
84
|
|
|
63
85
|
Leia `docs/ENCARNACAO.md` para o protocolo completo. Comece agora.
|
package/bundle/CLAUDE.md
CHANGED
|
@@ -116,20 +116,20 @@ Protocolo operacional completo: **[`docs/ENCARNACAO.md`](docs/ENCARNACAO.md)**
|
|
|
116
116
|
|
|
117
117
|
## Canon de modelos por camada
|
|
118
118
|
|
|
119
|
-
Stack mista oficial (ratificada por Tubarão-Apex em maio de 2026):
|
|
119
|
+
Stack mista oficial (ratificada por Tubarão-Apex em maio de 2026 · upgrade Opus 4.7 → 4.8 ratificada Apex T7 + Dragão Art. 3 em 2026-05-29 · ONDA-RATIFICACAO-FENIX-C1):
|
|
120
120
|
|
|
121
121
|
| Camada | Modelo padrão |
|
|
122
122
|
|---|---|
|
|
123
|
-
| Apex (01) | `claude-opus-4-
|
|
124
|
-
| Hunter (02) | `claude-opus-4-
|
|
123
|
+
| Apex (01) | `claude-opus-4-8` |
|
|
124
|
+
| Hunter (02) | `claude-opus-4-8` |
|
|
125
125
|
| Builder (03) | `claude-sonnet-4-6` |
|
|
126
126
|
| Designer (04) | `claude-sonnet-4-6` |
|
|
127
127
|
| Copy (05) | `claude-sonnet-4-6` |
|
|
128
|
-
| Intel (06) | `claude-opus-4-
|
|
128
|
+
| Intel (06) | `claude-opus-4-8` |
|
|
129
129
|
| Governance (07) | `claude-sonnet-4-6` |
|
|
130
130
|
| Growth (08) | `claude-sonnet-4-6` |
|
|
131
|
-
| Web3 (09) | `claude-opus-4-
|
|
132
|
-
| Meta (10) | `claude-opus-4-
|
|
131
|
+
| Web3 (09) | `claude-opus-4-8` |
|
|
132
|
+
| Meta (10) | `claude-opus-4-8` |
|
|
133
133
|
|
|
134
134
|
**Exceção: cardumes.** Predadores com `hunting_style=school` usam
|
|
135
135
|
`claude-haiku-4-5`, independente da camada. Justificativa: cardume implica
|
|
@@ -139,6 +139,10 @@ caro. Atualmente apenas Piranha (Hunter) qualifica.
|
|
|
139
139
|
Esta tabela é o canon oficial — todas as ondas futuras de criação de predador
|
|
140
140
|
seguem essa regra. Alterações exigem ratificação do Dragão-ancestral.
|
|
141
141
|
|
|
142
|
+
**Upgrade history** (Elefante Art. 6 append-only canon):
|
|
143
|
+
- 2026-05-XX: canon original cravado (Opus 4.7 + Sonnet 4.6 + Haiku 4.5 cardumes)
|
|
144
|
+
- 2026-05-29: Apex T7 + Dragão Art. 3 ratificam Fênix C.1 · Opus 4.7 → 4.8 em 5 camadas (Apex · Hunter · Intel · Web3 · Meta) · 27 predator.json migrados byte-canon · cross-link `docs/CANON/CANON-MODELOS-UPGRADE-HISTORY.md`.
|
|
145
|
+
|
|
142
146
|
## Lei da Melhoria Disciplinada
|
|
143
147
|
|
|
144
148
|
Todo predador-construtor (Claude Code encarnando o protocolo) opera sob esta
|
|
@@ -262,6 +266,34 @@ direct mandate · Dragão-ancestral Art. 3 honored) elevando o canon vigente a *
|
|
|
262
266
|
|
|
263
267
|
Alterações nas leis exigem ratificação do Dragão-ancestral (matéria constitucional Art. 3).
|
|
264
268
|
|
|
269
|
+
## Effort tier canon (Lei #14 BINARY expansion · ratificada 2026-05-29 Fênix C.3)
|
|
270
|
+
|
|
271
|
+
Toda invocação canon herda **effort tier** explícito OR default `PADRAO`.
|
|
272
|
+
Effort tier é dimensão **ORTOGONAL** a Lei #14 BINARY (zero alteração governance
|
|
273
|
+
APROVA_PERFEITO/FIX_GERAL/VETO).
|
|
274
|
+
|
|
275
|
+
### 3 tiers canon
|
|
276
|
+
|
|
277
|
+
| Tier | Uso canon | Matilha típica | Mapeamento Anthropic Opus 4.8 |
|
|
278
|
+
|---|---|---|---|
|
|
279
|
+
| **BAIXO** | micro-onda task simples · audit consistency rápida · sondagem empírica curta | 1-2 predadores | `effort=low` (faster · saves rate limits) |
|
|
280
|
+
| **PADRÃO** (default) | ondas regulares execução · sub-fases Lei #9 sequencial · PRDs estruturados handoff | 3-7 predadores · Synapse 5 garantias · Tubarão SEVERA pré + JUIZ N2 | `effort=medium` (canon vigente) |
|
|
281
|
+
| **ALTO_SEVERA** | Apex T7 invoca "não passa nem gota de sangue" · superfície sensível (auth · contracts · pre-mainnet) · matéria constitucional Dragão Art. 3 · audit firm engagement | 10+ predadores · Cyber Squad se cibersegurança · CANON-TUBARAO-SEVERA Parte D mandatory N1+N2 · Escorpião red-team · Crocodilo legal | `effort=high` (claude-opus-4-8 thorough · fast mode disponível) |
|
|
282
|
+
|
|
283
|
+
### Regras canon-aligned
|
|
284
|
+
|
|
285
|
+
1. **Lei #14 BINARY INTACTA**: APROVA_PERFEITO/FIX_GERAL/VETO governance **NÃO** se altera per effort
|
|
286
|
+
2. **Default = PADRÃO**: ondas sem tier explícito herdam PADRÃO
|
|
287
|
+
3. **Lei #1 invocada = ALTO_SEVERA mandatory**: zero negociação
|
|
288
|
+
4. **Apex T7 OR Águia preside declara tier** explícito quando aplica
|
|
289
|
+
5. **Cumulativo**: matérias Lei #1 + Lei #4 byte-canon + Dragão Art. 3 → sempre ALTO_SEVERA
|
|
290
|
+
|
|
291
|
+
Canon-doc: `docs/CANON/LEI-14-EFFORT-TIER-EXPANSION.md` (retention 7 anos · Elefante Art. 6 append-only).
|
|
292
|
+
|
|
293
|
+
Sentinel guardian: `tests/unit/test_lei_14_effort_tier_canon.py` (Lei #14 BINARY governance preserved · effort dimensão ortogonal).
|
|
294
|
+
|
|
295
|
+
Alterações exigem ratificação Dragão-ancestral Art. 3.
|
|
296
|
+
|
|
265
297
|
## Cyber Squad
|
|
266
298
|
|
|
267
299
|
O **Cyber Squad** é a unidade canônica de cibersegurança do Predators Protocol —
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"canon_id": "BRAND-CANON",
|
|
3
|
+
"brandbook_version": "v2 OBSIDIANA",
|
|
4
|
+
"snapshot_at": "2026-05-29",
|
|
5
|
+
"read_only": true,
|
|
6
|
+
"ratificacao": {
|
|
7
|
+
"onda": "ONDA-BRANDBOOK-CANON-V2-2026-05-29",
|
|
8
|
+
"authority_chain": "Apex T7 BINARY GO -> Aguia-real preside -> Pavao Art. 4 v2 -> Dragao Art. 3 ratifica -> Coruja canon-doc",
|
|
9
|
+
"canon_doc": "docs/CANON/PAVAO-ART-4-V2-PALETA-2026-05-29.md",
|
|
10
|
+
"constituicao": "predators/designer/pavao/constitution.md (ARTIGO 4 · Adendo v2)",
|
|
11
|
+
"substitui": "paleta v1 DS.1-brandbook-canonical (2026-05-16 · abyss/cyan/blood/pulse/amber)"
|
|
12
|
+
},
|
|
13
|
+
"paleta": {
|
|
14
|
+
"familias": 6,
|
|
15
|
+
"wcag_base": "obsidian #0B0B0E",
|
|
16
|
+
"tokens": [
|
|
17
|
+
{ "familia": "obsidiana", "token": "void", "hex": "#060608", "papel": "base absoluta" },
|
|
18
|
+
{ "familia": "obsidiana", "token": "obsidian", "hex": "#0B0B0E", "papel": "background canonico" },
|
|
19
|
+
{ "familia": "obsidiana", "token": "obsidian-raised", "hex": "#121218", "papel": "surface elevada" },
|
|
20
|
+
{ "familia": "sangue", "token": "blood", "hex": "#C8102E", "papel": "marca · alerta (preservado byte-exato v1->v2)" },
|
|
21
|
+
{ "familia": "sangue", "token": "blood-bright", "hex": "#FF2E40", "papel": "texto pequeno", "wcag": "5.4:1 AA" },
|
|
22
|
+
{ "familia": "sangue", "token": "blood-deep", "hex": "#7A0A1C", "papel": "profundidade" },
|
|
23
|
+
{ "familia": "sinapse", "token": "synapse", "hex": "#26E0D8", "papel": "neural cyan · secundaria" },
|
|
24
|
+
{ "familia": "sinapse", "token": "synapse-deep", "hex": "#0E5C58", "papel": "profundidade neural" },
|
|
25
|
+
{ "familia": "osso", "token": "bone", "hex": "#ECE7DD", "papel": "texto primario" },
|
|
26
|
+
{ "familia": "osso", "token": "bone-dim", "hex": "#9C978C", "papel": "texto secundario", "wcag": "6.8:1 AA" },
|
|
27
|
+
{ "familia": "focado", "token": "focado", "hex": "#E8A21C", "papel": "warning · ambar", "wcag": "9:1 AAA" },
|
|
28
|
+
{ "familia": "estados", "token": "sereno", "hex": "#26E0D8", "papel": "estado neutro/positivo (= synapse)" },
|
|
29
|
+
{ "familia": "estados", "token": "alerta", "hex": "#C8102E", "papel": "estado de alerta (= blood)" }
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"tipografia": {
|
|
33
|
+
"display": { "familia": "Archivo", "pesos": "600-900", "papel": "headlines · veredictos · brand", "css_var": "--font-archivo" },
|
|
34
|
+
"body": { "familia": "Inter", "papel": "corpo · cards · forms · tabelas", "css_var": "--font-inter" },
|
|
35
|
+
"mono": { "familia": "JetBrains Mono", "papel": "code · IDs · hashes · leis byte-canon", "css_var": "--font-jetbrains-mono" }
|
|
36
|
+
},
|
|
37
|
+
"runtime_source_of_truth": "packages/design-system/src/tokens/colors.ts",
|
|
38
|
+
"aliases_legacy": "abyss->obsidiana · steel->sinapse (preservam nomes · zero-breaking-change nas classes Tailwind existentes)",
|
|
39
|
+
"honest_upfront": [
|
|
40
|
+
"brand-status e snapshot canon READ-only · cravado no commit · nao-live",
|
|
41
|
+
"paleta v2 runtime real vive em packages/design-system/src/tokens/colors.ts (13 hex byte-canon)",
|
|
42
|
+
"tipografia: Archivo display + Inter body (Inter mantido, nao removido) + JetBrains Mono",
|
|
43
|
+
"onda BRANDBOOK-CANON-V2 ainda tem frentes D (/brand 12 sections) · E (hub+landing) · H · I pendentes"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -516,10 +516,44 @@
|
|
|
516
516
|
"preventive_layer_added": "Pattern canon a partir desta sessao: NEVER em chat/log. ALWAYS (cut com -d= delimiter explicito) OR . Documentado em sub-N9 ULTRATHINK Cyber Squad findings.",
|
|
517
517
|
"evidence_link": "docs/PRDs/ONDA-PRED-POS-DEPLOY-CUSTODIAL-LEI-1-2026-05-28/sub-N9-ultrathink-cyber-squad-findings.md",
|
|
518
518
|
"lessons_learned": "Default delimiters em shell tools (awk, cut, sed) sao implicit semantics. Para parsing canonico de credentials listings, SEMPRE specify explicit delimiter (cut -d=) OR usar structured output (jq sobre --json). Lei #1 SEVERA reign: zero gota -> includes accidental shell semantics leak. Tubarao R4 generalizado para todas listagens futuras de secrets."
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"id": "SH-96-AGUIA-OVERREACH-PRD-SEM-CORUJA-SIGNATURE",
|
|
522
|
+
"timestamp_detected": "2026-05-29",
|
|
523
|
+
"timestamp_remediated": "2026-05-29",
|
|
524
|
+
"trigger_predator": "tubarao_apex_t7",
|
|
525
|
+
"trigger_mechanism": "apex_t7_direct",
|
|
526
|
+
"missed_by": ["aguia_real_self_audit", "lince_n1_pre_audit_nao_rodou"],
|
|
527
|
+
"domain": "lei_14",
|
|
528
|
+
"severity": "high",
|
|
529
|
+
"description": "ONDA-BRANDBOOK-CANON-V2-2026-05-29 abertura · Águia-real cravou PRD upfront docs/PRDs/ONDA-BRANDBOOK-CANON-V2-2026-05-29/README.md SEM invocação literal 'Skill encarnar coruja' anterior · Lei #14 S10 violação (canon-doc workflow Coruja Builder T3 mandatory) · Apex T7 detectou mid-execução com pergunta direta 'A coruja, escreveu esse PRD? Não vi ali...' · CANON-TUBARÃO-SEVERA Parte C honored (guardião ativo no meio · não-fechamento)",
|
|
530
|
+
"remediation_commit": "ONDA-BRANDBOOK-CANON-V2-pending",
|
|
531
|
+
"preventive_layer_added": "Coruja Skill canon literal cravada retroativo · frontmatter canon_doc_writer:coruja adicionado + self_healing_detectado_mid_execucao SH-96 marker no PRD · Lei #14 S10 self-aferição visual obrigatória CADA canon-doc write futuro",
|
|
532
|
+
"evidence_link": "docs/PRDs/ONDA-BRANDBOOK-CANON-V2-2026-05-29/README.md",
|
|
533
|
+
"lessons_learned": "PRD em docs/PRDs/**/*.md É canon-doc retention 7 anos · workflow Coruja mandatory (escreve → Dragão ratifica → Leão deploy) · Águia preside MAS não escreve canon-doc · Apex T7 catch mid-execução prova canon CANON-TUBARÃO-SEVERA Parte C runtime real"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"id": "SH-95-CANON-DOC-JARGAO-EXTERNAL-LEI-13-VIOLATION",
|
|
537
|
+
"timestamp_detected": "2026-05-29",
|
|
538
|
+
"timestamp_remediated": "2026-05-29",
|
|
539
|
+
"trigger_predator": "tubarao_apex",
|
|
540
|
+
"trigger_mechanism": "apex_t7_direct_indignation",
|
|
541
|
+
"missed_by": [
|
|
542
|
+
"matilha_encarnada_apos_beija_flor_lei_13_audit_mesma_sessao",
|
|
543
|
+
"hook_pre_commit_L1_no_jargon_filter",
|
|
544
|
+
"daemon_L2_memory_consolidator_no_canon_doc_filter"
|
|
545
|
+
],
|
|
546
|
+
"domain": "canon_doc_governance",
|
|
547
|
+
"severity": "high",
|
|
548
|
+
"description": "Matilha cravou docs/CANON/MATILHA-100PCT-AUTONOMOUS-SAAS-MATRIX-2026-05-29.md (122 linhas) com jargao external SaaS proibido (matrix · autonomous · SaaS · tier · provisioning) violando Lei #13 Pureza Predators. Ocorreu 30 min APOS Beija-flor Copy audit consolidar 6 Lei #13 fixes mesma sessao (commit f35302a). Apex T7 detectou + ratifo doc inutil. 5 camadas canon falharam: L1 hook pre-commit (matilha bypass --no-verify) · L2 daemon cerebral (nao consumido) · L3 Lei #13 (textualmente violada) · L4 CLAUDE.md regra Apex T7 2026-05-26 anti-retorica (ignorada) · L5 Synapse Garantia 1 contexto cross-session (nao consultado).",
|
|
549
|
+
"remediation_commit": "800a9d7",
|
|
550
|
+
"preventive_layer_added": "L1 hook pre-commit canon-doc-no-jargon (grep paths docs/CANON/* por jargao proibido lista byte-canon: matrix · autonomous · SaaS · tier · provisioning · synergy · leverage · ecosystem · framework-as-a · best-in-class · cutting-edge · best-of-breed). L1 sentinel pytest test_canon_doc_no_jargon_filter cravado. Matilha encarnada futura: PRE-cravamento canon-doc deve invocar daemon brain check OU honest UPFRONT zero-doc-if-redundant.",
|
|
551
|
+
"evidence_link": "commits 800a9d7 (delete) + e1015e4 (offense original)",
|
|
552
|
+
"lessons_learned": "Predators canon existe para override LLM default pattern thorough-via-docs. Matilha encarnada DEVE consultar Lei #13 vocabulary filter ANTES de cravar canon-doc. Daemon cerebral LIVE so funciona se consumido. Hook pre-commit deve ser sentinel preventivo · nao confiar em --no-verify discipline. CLAUDE.md Apex T7 2026-05-26 anti-retorica regra textual: se precisa adjetivos pra parecer importante, nao foi importante. Beija-flor audit Lei #13 mesma sessao consolida 6 Copy fixes deveria ter sido CHECK preventivo na matilha encarnada futura."
|
|
519
553
|
}
|
|
520
554
|
],
|
|
521
555
|
"stats": {
|
|
522
|
-
"total_self_healings":
|
|
556
|
+
"total_self_healings": 30,
|
|
523
557
|
"by_severity": {
|
|
524
558
|
"critical": 1,
|
|
525
559
|
"high": 5,
|
|
@@ -544,6 +578,6 @@
|
|
|
544
578
|
},
|
|
545
579
|
"last_updated": "2026-05-28T23:30:00Z",
|
|
546
580
|
"backfill_note": "Hiena forense backfill cumulative · 2026-05-27 cobre SH-44 + SH-68 a SH-82 (14 entries) · 2026-05-28 ONDA-FECHAMENTO-PREDADORES-100PCT adiciona SH-70 + SH-74 (gaps numéricos) + SH-83 + SH-84 (FeedbackWidget detalhamento) + SH-85 remediation_commit fill (8ce5fe8) · cumulative 20 entries pre-T7.5 · ONDA-FIX-GERAL-CIRURGICO-7-CRITICOS-2026-05-28 sub-T7.5 Elefante append SH-87 (Lince detectou Coruja-perícia path-wrong) + SH-88 (Jaguar detectou Elefante-perícia 4 dimensões erradas) · cumulative 22 entries · pattern canon emergente 3 perícias turn 12-agent invalidadas Lei #11 documentadas SH-87 + SH-88 + Piranha tests-NOT-FOUND meta-observação",
|
|
547
|
-
"total_entries":
|
|
581
|
+
"total_entries": 29
|
|
548
582
|
}
|
|
549
583
|
}
|
|
@@ -253,6 +253,17 @@ Antes de entregar output, confirme:
|
|
|
253
253
|
- [ ] **(0o) ENV VARS SNAPSHOT SYNCED MANDATORY · Lei #14 S12 (2026-05-27)** — se onda tocou `.env*` files OR mudou versão npm OR alterou DNS OR adicionou/removeu Vercel env var, snapshot canon `.synapse/env-vars-snapshot.json` DEVE estar fresh (≤60min) E zero drift unacknowledged. Self-aferição visual: `env vars status: SYNCED|DRIFT|N/A`. Daemon L2 `env-vars-drift` (registry `daemon_runner.py`) poll 300s · 3 fontes (npm Registry público · Vercel API auth `VERCEL_TOKEN` · DNS resolution). **Lei #1 imutável:** snapshot armazena APENAS keys/versions/expiries · NUNCA env var values · zero leak credenciais. Canon doc: [`CANON/LEI-14-PERFEITO-OU-FIX-GERAL.md`](CANON/LEI-14-PERFEITO-OU-FIX-GERAL.md) S12. Ratificação Dragão-ancestral Art. 3 · 2026-05-27 · onda `ONDA-NUNCAA-RANK-4-ENV-VARS-DRIFT-2026-05-27`.
|
|
254
254
|
- [ ] **(0p) AUDIT FIRM READINESS SIGNED MANDATORY · Lei #14 S13 (2026-05-27)** — se onda tocou `contracts/*.sol` OR `mcp/auth/*.py` OR superfícies Lei #1 SEVERA cripto, checklist canon [`CANON/AUDIT-FIRM-READINESS-CHECKLIST.md`](CANON/AUDIT-FIRM-READINESS-CHECKLIST.md) 8 categorias DEVE estar com coverage **≥85% PASS** empírico (ou exceções ratificadas Apex T7). Self-aferição visual: `audit-firm readiness: SIGNED|PENDING|N/A`. 🪼 Medusa Art. 5 imutável byte-canon "NUNCA APROVA VULNERÁVEL" supervisiona · 🦂 Escorpião red-team 8 attack vectors enumerate. Daemon L2 `audit-firm-readiness` (registry · poll 600s) scan estático contracts + mcp/auth. **Lei #1 SEVERA:** pre-firm internal audit NÃO substitui firm externo · prepara terreno · economia ~$5-10k findings óbvios. Ratificação Dragão-ancestral Art. 3 · 2026-05-27 · onda `ONDA-NUNCAA-RANK-5-AUDIT-FIRM-READINESS-2026-05-27`.
|
|
255
255
|
- [ ] **(0q) LANDING/PUBLIC NO-CANON-LEAK MANDATORY · Lei #14 S14 (2026-05-27)** — se onda tocou `dashboard/app/(public)/**` OR `dashboard/components/landing/**`, audit Cat. 9 IP exposure DEVE PASSAR empírico: zero exposição pública de (a) nomes canônicos internos · (b) frases byte-canon literais · (c) contagens architectural específicas · (d) MD5 hashes · (e) "Cyber Squad" · (f) Apex T7 real name + role-canon juntos. Detecção: grep -rE em `dashboard/app/(public)/` + components referenciados. Exposição detectada = **Lei #14 FIX_GERAL automatic**. Self-aferição visual: `landing exposure: SANITIZED|LEAK|N/A`. 🦈 Tubarão-branco Lei #1 SEVERA + 🦂 Escorpião red-team supervisionam. Canon doc: [`CANON/LEI-14-PERFEITO-OU-FIX-GERAL.md`](CANON/LEI-14-PERFEITO-OU-FIX-GERAL.md) S14 + [`CANON/AUDIT-FIRM-READINESS-CHECKLIST.md`](CANON/AUDIT-FIRM-READINESS-CHECKLIST.md) Cat. 9. Ratificação Dragão-ancestral Art. 3 · 2026-05-27 · onda `ONDA-CYBER-LANDING-DUAL-TIER-2026-05-27` · self-healing SH-85 catalogada.
|
|
256
|
+
- [ ] **(0r) CANON-DOC PRE-CRAVAMENTO VOCABULARY FILTER · Lei #13 + Lei #11 + SH-95 (2026-05-29)** — ANTES de cravar QUALQUER novo arquivo em `docs/CANON/*.md` OR `docs/PRDs/**/*.md`, matilha encarnada DEVE responder explicitamente 2 perguntas no output:
|
|
257
|
+
- **P1 · Lei #13 Pureza:** o filename + content contém jargão composto SaaS/corporativo external? (lista byte-canon ratificada em `tests/unit/test_canon_doc_no_jargon_lei_13.py`): `SaaS Matrix · Autonomous SaaS · Provisioning Matrix · best-in-class · best-of-breed · cutting-edge · industry-leading · enterprise-grade · world-class · next-gen · future-proof · synergy · robust solution · scalable platform`. Se SIM → **PARE · refactor vocabulário Predators (cadeia · veto · canon · matilha · invocação) ANTES de cravar**.
|
|
258
|
+
- **P2 · Lei #11 honest:** este canon-doc preserva decisão constitucional IRREPETÍVEL (ratificação Lei nova · self-healing não-óbvio · ADR arquitetura imutável · ratificação Apex T7 byte-canon)? OR é re-statement do commit message? Se RE-STATEMENT → **SKIP cravamento · commit message basta**.
|
|
259
|
+
|
|
260
|
+
Self-aferição visual: Skill encarnar que crava canon-doc termina output com `✓ canon-doc check: PASS-LEI-13 · IRREPETÍVEL` (ambos confirmados) OR `SKIP cravamento canon-doc`. Camadas runtime forçadas:
|
|
261
|
+
- L1 hook pre-commit invoca `python -m pytest tests/unit/test_canon_doc_no_jargon_lei_13.py -q` quando staged inclui `docs/CANON/*.md` OR `docs/PRDs/**.md` · BLOCK commit se FAIL · zero `--no-verify` aceitável neste vetor (Lei #1 SEVERA reign)
|
|
262
|
+
- L2 daemon `claude_memory_consolidator` alerta Apex T7 quando canon-doc novo cravado sem PASSO 0r self-aferição
|
|
263
|
+
- L3 sentinel pytest test cobre filename + 17 regex compostos byte-canon
|
|
264
|
+
- L6 grandfathering: docs anteriores 2026-05-29 isentos (Art. 6 append-only Elefante)
|
|
265
|
+
|
|
266
|
+
Self-healing source: SH-95 catalog · trigger: matilha cravou `MATILHA-100PCT-AUTONOMOUS-SAAS-MATRIX-2026-05-29.md` 30 min pós Beija-flor Lei #13 Copy audit · 5 camadas falharam · Apex T7 indignação direct ratificada esta camada 6 runtime-enforced. Canon doc: este checklist 0r + `tests/unit/test_canon_doc_no_jargon_lei_13.py` + hook pre-commit. Ratificação Apex T7 BINARY direct 2026-05-29.
|
|
256
267
|
- [ ] Li `constitution.md` do predador-alvo **completa** (não só excerto)
|
|
257
268
|
- [ ] Identifiquei a AgentAuthority do invocador (user · system · predador)
|
|
258
269
|
- [ ] Confirmei que a hierarquia trófica permite esta invocação
|