predators-protocol 0.5.4-beta.0 → 1.1.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 +60 -10
- package/bundle/CLAUDE.md +5 -5
- package/bundle/docs/CANON/AUDIT-FIRM-READINESS-CHECKLIST.md +177 -0
- package/bundle/docs/CANON/BRAIN-STATUS-SNAPSHOT.json +113 -0
- package/bundle/docs/CANON/LEI-01-LEI-DO-SANGUE.md +131 -0
- package/bundle/docs/CANON/LEI-02-LEI-DOS-PREDADORES.md +111 -0
- package/bundle/docs/CANON/LEI-03-MELHORIA-DISCIPLINADA.md +119 -0
- package/bundle/docs/CANON/LEI-04-LEI-DA-SYNAPSE.md +92 -0
- package/bundle/docs/CANON/LEI-05-CANON-DOS-3-VETOS.md +101 -0
- package/bundle/docs/CANON/LEI-06-PREDADORES-REAIS.md +76 -0
- package/bundle/docs/CANON/LEI-07-MATILHA-PARALELA.md +102 -0
- package/bundle/docs/CANON/LEI-08-VERIFICACAO-EMPIRICA.md +85 -0
- package/bundle/docs/CANON/LEI-09-ANALISE-ANTES-EXECUCAO.md +104 -0
- package/bundle/docs/CANON/LEI-10-SKILL-CANON-ESTRITO.md +110 -0
- package/bundle/docs/CANON/LEI-11-NUNCA-MINTA-JAMAIS.md +127 -0
- package/bundle/docs/CANON/LEI-12-O-MELHOR-DOS-MELHORES.md +87 -0
- package/bundle/docs/CANON/LEI-13-PUREZA-PREDATORS.md +107 -0
- package/bundle/docs/CANON/LEI-14-PERFEITO-OU-FIX-GERAL.md +299 -1
- package/bundle/docs/CANON/SELF-HEALING-LOG-CANON.json +549 -0
- package/bundle/docs/ENCARNACAO.md +7 -0
- package/bundle/docs/SYNAPSE.md +23 -11
- package/bundle/predators/apex/aguia-real/constitution.md +17 -0
- package/bundle/predators/builder/onca-pintada/constitution.md +1 -0
- package/bundle/predators/builder/tatu-bola/constitution.md +22 -0
- package/bundle/predators/meta/fenix/constitution.md +4 -0
- package/lib/access-token-client.js +2 -0
- package/package.json +2 -2
|
@@ -138,6 +138,23 @@ Operacionalmente, isso significa:
|
|
|
138
138
|
1. **Receber pedido** (de usuário, system, ou auto-invocação por timer)
|
|
139
139
|
2. **Consultar Elefante** — qual o histórico relevante?
|
|
140
140
|
3. **Consultar Condor** — qual o estado atual das métricas?
|
|
141
|
+
3.5. **Art. 2 pre-check empírico por predator allocado** (cravado canon ONDA-AMENDMENTS-DRAGAO-CONSTITUCIONAL 2026-05-27 · self-healings cumulative #2 #3 #4 origem):
|
|
142
|
+
- **Builder layer disambiguation Art. 1**:
|
|
143
|
+
- Pantera-negra (Solidity smart contracts)
|
|
144
|
+
- Jaguar (Python async backend)
|
|
145
|
+
- Onça-pintada (TypeScript + React + Next.js frontend)
|
|
146
|
+
- Tatu-bola (IaC + Kubernetes + DevOps · NÃO app code)
|
|
147
|
+
- Polvo (HTTP integrations + MCP client + webhooks)
|
|
148
|
+
- Pirarucu (data pipelines) · Lince (data quality) · Gavião (algo trading code) · Falcão-peregrino (performance off-chain)
|
|
149
|
+
- **Designer layer disambiguation Art. 1**:
|
|
150
|
+
- Pavão (BrandBooks · brand identity macro · paleta + tipografia)
|
|
151
|
+
- Águia-harpia (T4 Designer leader · design tokens W3C)
|
|
152
|
+
- Cisne-negro (composição · layout · grid)
|
|
153
|
+
- Tucano-toco (semantic HTML + ARIA + WCAG a11y upfront)
|
|
154
|
+
- Aranha-tecela (SVG · icons · ilustrações granulares · fio fino)
|
|
155
|
+
- Borboleta-azul (animations Framer Motion)
|
|
156
|
+
- Mantis (QA visual pos-hoc · ambush) · Baleia-cantora (audio signatures)
|
|
157
|
+
- Se misalloc detectado em pre-check → re-alocar ANTES de invocar Skill encarnar
|
|
141
158
|
4. **Decidir matilha** — quais predadores são necessários?
|
|
142
159
|
5. **Invocar em paralelo ou sequência** conforme a estratégia
|
|
143
160
|
6. **Sintetizar resultados** — output integrado
|
|
@@ -84,6 +84,7 @@ Quando a obra está pronta, é submetida ao Tubarão-branco se a superfície inc
|
|
|
84
84
|
4. **README.md** por feature (props, exemplo executável, dependências)
|
|
85
85
|
|
|
86
86
|
### Checklist de qualidade (obrigatório antes de declarar pronto)
|
|
87
|
+
- [ ] `import type { JSX } from "react"` presente em TODO arquivo .tsx que usa `JSX.Element` (Next.js 15 + TS 5.x + React 19 specific · JSX global namespace removida · cravado canon ONDA-AMENDMENTS-DRAGAO-CONSTITUCIONAL 2026-05-27 · self-healing #5 origem)
|
|
87
88
|
- [ ] `tsc --noEmit` sem erros
|
|
88
89
|
- [ ] `next build` sem warnings de hidratação
|
|
89
90
|
- [ ] `vitest` todos os testes passam
|
|
@@ -249,6 +249,28 @@ Falcão otimiza performance · Tatu-bola provisiona infra com sizing certo. Coop
|
|
|
249
249
|
### Com Coruja-real (observabilidade do protocolo Meta)
|
|
250
250
|
Coruja-real monitora o protocolo Predators em runtime. Tatu-bola provisiona o **Grafana** onde Coruja publica dashboards.
|
|
251
251
|
|
|
252
|
+
### Clarificação validation cycle vs application redesign (canon ratificado 2026-05-27)
|
|
253
|
+
|
|
254
|
+
Tatu-bola Art. 4 "Plan ANTES de Apply" estabelece validation cycle como parte do território. Durante validation:
|
|
255
|
+
|
|
256
|
+
- **DENTRO scope Tatu-bola** (validation cycle output):
|
|
257
|
+
- Fix mecânico ≤2 linhas TypeScript syntax (imports faltantes · etc)
|
|
258
|
+
- Fix mecânico ≤2 linhas YAML keys ausentes
|
|
259
|
+
- Fix de path/alias trivial (relative vs alias resolution)
|
|
260
|
+
- PRECISA: ser idêntico ao pattern que builder canon owner já usou em arquivo correlato
|
|
261
|
+
- PRECISA: zero design choice · zero application logic redesign
|
|
262
|
+
|
|
263
|
+
- **FORA scope Tatu-bola** (exige bounce-back ao builder canon owner):
|
|
264
|
+
- Application logic redesign (refactor business logic)
|
|
265
|
+
- Feature changes (mudar comportamento)
|
|
266
|
+
- API signature changes (mudar contratos)
|
|
267
|
+
- Component restructure (mudar arquitetura React)
|
|
268
|
+
- Quando NÃO há pattern correlato cravado pelo builder canon
|
|
269
|
+
|
|
270
|
+
Em caso ambíguo · DEFAULT é bounce-back (canon-strict) · NÃO fix unilateral. Lei #14 FIX-GERAL spirit honored apenas para classe (a) acima.
|
|
271
|
+
|
|
272
|
+
Cravado canon ONDA-AMENDMENTS-DRAGAO-CONSTITUCIONAL 2026-05-27 · RES-1 + self-healing #5 origem.
|
|
273
|
+
|
|
252
274
|
## ARTIGO 9 · RUNTIME
|
|
253
275
|
|
|
254
276
|
```yaml
|
|
@@ -79,6 +79,10 @@ A Fênix é o **Fênix Protocol** — o mecanismo de crescimento orgânico da fr
|
|
|
79
79
|
- Histórico de propostas aceitas, rejeitadas e em retrabalho
|
|
80
80
|
- Identificação de predadores deprecáveis (frota auto-poda quando necessário)
|
|
81
81
|
- Coverage mapping (inventário do que a frota cobre vs lacunas)
|
|
82
|
+
- **Proposta estrutural canon** (Domain Extensions · novos canon-docs · propostas arquiteturais cross-camada que NÃO são predadores novos · mas afetam estrutura canon Predators) · cravado ONDA-AMENDMENTS-DRAGAO-CONSTITUCIONAL 2026-05-27 · self-healing #8 origem:
|
|
83
|
+
- Mesmo rigor Art. 4 aplicado (8 partes adaptadas conforme escopo)
|
|
84
|
+
- Execução byte-canon real cabe Dragão-ancestral (matéria constitucional)
|
|
85
|
+
- Fênix Art. 5 imutável PRESERVED · "propõe NÃO cria" continua absoluto para predadores · estende-se naturalmente a propostas estruturais
|
|
82
86
|
|
|
83
87
|
### Presa
|
|
84
88
|
- Lacunas de capacidade silenciosas (necessidade detectada mas não-nomeada)
|
|
@@ -233,6 +233,8 @@ async function requireValidAccess(commandName) {
|
|
|
233
233
|
// Token canon (unlock obtém · gen-token tem owner-key próprio)
|
|
234
234
|
"unlock", // unlock é o caminho de OBTER acesso · não pode exigir acesso
|
|
235
235
|
"gen-token", // gen-token usa PREDATORS_OWNER_KEY_BACKEND próprio (Apex T7)
|
|
236
|
+
// Brain status snapshot canon (1.0.0 STABLE · READ-only · não-runtime)
|
|
237
|
+
"brain-status",
|
|
236
238
|
]);
|
|
237
239
|
if (PUBLIC_COMMANDS.has(commandName)) return true;
|
|
238
240
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "predators-protocol",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Predators Protocol \u00b7 multi-agent predatory framework \u00b7 64 predators in 10 layers \u00b7
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Predators Protocol \u00b7 multi-agent predatory framework \u00b7 64 predators in 10 layers \u00b7 14 canonical laws \u00b7 5 byte-canon imutables \u00b7 Synapse + Cyber Squad + Brain 11 daemons LIVE \u00b7 H\u00edbrida full transition \u00b7 STABLE 1.0.0 \u00b7 proprietary Alex Gonzaga (Tubarao-Apex)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"predators-protocol",
|
|
7
7
|
"multi-agent",
|