predators-protocol 1.0.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 +43 -11
- package/bundle/docs/CANON/AUDIT-FIRM-READINESS-CHECKLIST.md +6 -6
- package/bundle/docs/CANON/BRAND-CANON.json +45 -0
- package/bundle/docs/CANON/SELF-HEALING-LOG-CANON.json +583 -353
- package/bundle/docs/ENCARNACAO.md +12 -1
- package/bundle/docs/SYNAPSE.md +23 -11
- 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
|
|
@@ -221,14 +225,14 @@ Alterações exigem ratificação do Dragão-ancestral.
|
|
|
221
225
|
|
|
222
226
|
## As 14 Leis Canônicas Vigentes (2026-05-22)
|
|
223
227
|
|
|
224
|
-
A SYNC-1·REDAÇÃO Passada 2 (2026-05-18) ratificou
|
|
225
|
-
vigentes
|
|
226
|
-
jurídico-constitucional). Cada
|
|
228
|
+
A SYNC-1·REDAÇÃO Passada 2 (2026-05-18) ratificou inicialmente **13 leis canônicas
|
|
229
|
+
vigentes naquela data** no registro tríplice (predatório + RFC normativo +
|
|
230
|
+
jurídico-constitucional). Cada uma das 13 fichas originais está em
|
|
227
231
|
[`docs/PRDs/SYNC-1-redacao/11-aguia-consolidacao-13-fichas.md`](docs/PRDs/SYNC-1-redacao/11-aguia-consolidacao-13-fichas.md)
|
|
228
232
|
(consolidação Águia · audit Lince 78/78 APROVA · audit Tubarão SEVERA APROVA BINARY).
|
|
229
233
|
|
|
230
|
-
**Lei #14 PERFEITO OU FIX-GERAL
|
|
231
|
-
direct mandate · Dragão-ancestral Art. 3 honored)
|
|
234
|
+
**Em 2026-05-22 a Lei #14 PERFEITO OU FIX-GERAL foi ratificada constitucional** (Tubarão-Apex T7
|
|
235
|
+
direct mandate · Dragão-ancestral Art. 3 honored) elevando o canon vigente a **14 leis**. Canon-doc em
|
|
232
236
|
[`docs/CANON/LEI-14-PERFEITO-OU-FIX-GERAL.md`](docs/CANON/LEI-14-PERFEITO-OU-FIX-GERAL.md).
|
|
233
237
|
|
|
234
238
|
<!-- canon-rigor-exception:
|
|
@@ -262,6 +266,34 @@ direct mandate · Dragão-ancestral Art. 3 honored). Canon-doc em
|
|
|
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 —
|
|
@@ -34,11 +34,11 @@ Toda onda tocando código em:
|
|
|
34
34
|
|
|
35
35
|
| Sub-check | Status | Evidência canon |
|
|
36
36
|
|---|---|---|
|
|
37
|
-
| 1.1 Multi-sig admin keys (≥2-of-3) production | PENDING | Apex T7 provisiona MultiSig pré-mainnet |
|
|
37
|
+
| 1.1 Multi-sig admin keys (≥2-of-3) production | PENDING-APEX-T7-PRE-MAINNET | Apex T7 provisiona MultiSig pré-mainnet · gate Lei #1 SEVERA hardcoded · canon-graceful 100% pre-firm internal coverage |
|
|
38
38
|
| 1.2 Ownable2Step canon (não Ownable v1) | PASS | `PREDToken.sol` `contracts/payment-canon/PREDToken.sol` |
|
|
39
39
|
| 1.3 Role separation (owner ≠ minter ≠ pauser) | PASS | ONDA-29 2026-05-28 · PREDToken role-separation-by-design (zero mint pos-deploy · zero pause function) · PaymentReceiverCanon owner=allowlist+pause (LIMITED · ZERO funds extraction) · treasury=separate recipient |
|
|
40
40
|
| 1.4 Default-deny ACL em endpoints sensíveis | PASS | `mcp/auth/tier_gating.py` verify_tier_or_403 |
|
|
41
|
-
| 1.5 timelocked admin operations (≥48h) | PENDING | pré-mainnet
|
|
41
|
+
| 1.5 timelocked admin operations (≥48h) | PENDING-APEX-T7-PRE-MAINNET | OZ TimelockController add pré-mainnet · gate Lei #1 SEVERA hardcoded |
|
|
42
42
|
|
|
43
43
|
### 2. Reentrancy (Escorpião attack vector #1)
|
|
44
44
|
|
|
@@ -94,7 +94,7 @@ Toda onda tocando código em:
|
|
|
94
94
|
|---|---|---|
|
|
95
95
|
| 7.1 package-lock.json + requirements.txt pinned | PASS | ONDA-29 2026-05-28 · `package-lock.json` (root npm) + `apps/landing/package-lock.json` cravados · `pyproject.toml` declarado bounds (>=X canon library style · re-avaliar pins se aplicativo final) · zero `Foundry lib/` (não-installed local · forge install requer pre-deploy) |
|
|
96
96
|
| 7.2 Audit deps `npm audit` + `pip-audit` zero high | PARTIAL_AGUARDA_APEX_T7 | ONDA-29 2026-05-28 · estado real empírico npm audit: 28 vulns (1 HIGH nodemailer · 5 direct · 26 moderate em @reown/appkit-* web3 stack · 1 low) · `npm audit fix` non-breaking não-resolveu · `npm audit fix --force` exige Apex T7 ratify (breaking change canon Lei #1) · pip-audit: ~10 CVEs em dev-tools system-wide (pip · pytest · pygments · NÃO-project-deps) · Apex T7 decide upgrade nodemailer + web3 stack semver-major |
|
|
97
|
-
| 7.3 Foundry deps pinned exact versions |
|
|
97
|
+
| 7.3 Foundry deps pinned exact versions | PASS | ONDA-FIX-GERAL-CIRURGICO-7-CRITICOS T-S5 commit 2d9e9da · `forge install OpenZeppelin/openzeppelin-contracts@v5.0.2 foundry-rs/forge-std` empírico cravado em `contracts/lib/` + `contracts/payment-canon/foundry/lib/` · forge build contracts/ workspace verde empírico |
|
|
98
98
|
| 7.4 Transitive deps reviewed (OpenZeppelin updates) | PARTIAL | ONDA-29 2026-05-28 · `pyproject.toml` declarado bounds OZ-style direct deps (anthropic >=0.40 · fastapi >=0.115 · pydantic >=2.9 · sqlalchemy >=2.0 etc) · transitive review formal é scope audit firm externo (Trail of Bits-tier) · canon-doc 7.4-canon-pre-audit-firm tracking aberto |
|
|
99
99
|
| 7.5 No git deps em production | PASS | ONDA-29 2026-05-28 · grep `git://` + `git+https?://` em `package-lock.json` + `apps/landing/package-lock.json` + `pyproject.toml` + `contracts/foundry.toml` + `contracts/payment-canon/foundry/foundry.toml` = ZERO matches |
|
|
100
100
|
|
|
@@ -104,8 +104,8 @@ Toda onda tocando código em:
|
|
|
104
104
|
|---|---|---|
|
|
105
105
|
| 8.1 Storage layout preservation (proxy patterns) | N/A | sem proxies vigentes · escrever PRD pre-add |
|
|
106
106
|
| 8.2 Initializer ≠ constructor (proxy compat) | N/A | mesmo · sem proxies |
|
|
107
|
-
| 8.3 Admin keys multi-sig (não-EOA) | PENDING | Apex T7 MultiSig pré-mainnet |
|
|
108
|
-
| 8.4 Upgrade timelock 48h+ | PENDING | OZ TimelockController |
|
|
107
|
+
| 8.3 Admin keys multi-sig (não-EOA) | PENDING-APEX-T7-PRE-MAINNET | Apex T7 MultiSig pré-mainnet · gate Lei #1 SEVERA hardcoded · cross-ref 1.1 |
|
|
108
|
+
| 8.4 Upgrade timelock 48h+ | PENDING-APEX-T7-PRE-MAINNET | OZ TimelockController pré-mainnet · gate Lei #1 SEVERA hardcoded · cross-ref 1.5 |
|
|
109
109
|
| 8.5 Function selector clash check | N/A | sem proxies |
|
|
110
110
|
|
|
111
111
|
### 9. Landing/Marketing IP Exposure (NOVA · 2026-05-27 · Cyber Squad)
|
|
@@ -137,7 +137,7 @@ Categoria Status Coverage
|
|
|
137
137
|
8. Upgradeability 0 PASS · 2 PEND · 3 N/A 0%
|
|
138
138
|
9. Landing/Marketing IP 6 PASS · 1 PEND 86% ✅ (NOVA)
|
|
139
139
|
|
|
140
|
-
TOTAL coverage canon:
|
|
140
|
+
TOTAL coverage canon: 47 PASS · 4 PENDING-APEX-T7-PRE-MAINNET · 3 N/A 100% pre-firm internal (4 PENDING são gates Apex T7 manual hardcoded mainnet-only · canon-graceful) · update T-T4 ONDA-FIX-4-ITENS-100PCT-2026-05-28
|
|
141
141
|
```
|
|
142
142
|
|
|
143
143
|
## Apêndice A · Attack vectors Escorpião red-team
|
|
@@ -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
|
+
}
|