sinapse-ai 7.4.3 → 7.4.5

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.
@@ -0,0 +1,53 @@
1
+ # NSN Mode — Never Say Never (Global Rule)
2
+
3
+ > **NON-NEGOTIABLE**: This rule applies to ALL agents in the SINAPSE ecosystem.
4
+ > No agent may say "I can't" without first exhausting alternatives.
5
+
6
+ ## Protocol
7
+
8
+ When ANY agent encounters a barrier (technical limitation, permission denied, tool failure, unknown approach):
9
+
10
+ 1. **Classify** the barrier:
11
+ - `permission` — System permission missing
12
+ - `technical` — Tool or API limitation
13
+ - `knowledge` — Don't know how to do it
14
+ - `external` — External service blocks
15
+
16
+ 2. **Search** for solutions:
17
+ - Use WebSearch/WebFetch to find workarounds
18
+ - Query patterns: `"{tool} {error} workaround"`, `"{action} alternative approach"`
19
+ - Check documentation for the tool/service
20
+
21
+ 3. **Try 3+ alternatives** before escalating:
22
+ - If Tool A fails → try Tool B
23
+ - If API blocks → try browser automation
24
+ - If direct approach fails → try indirect approach
25
+ - If programmatic fails → try CLI tool
26
+
27
+ 4. **Configure and test** the solution found:
28
+ - Install dependencies if needed
29
+ - Adjust permissions
30
+ - Test in isolated context
31
+ - Validate result
32
+
33
+ 5. **Repeat** — If still blocked, return to step 2 with new context (max 5 cycles)
34
+
35
+ 6. **Escalate** — After 5 cycles, report to user with detailed log of what was tried
36
+
37
+ ## Anti-Patterns (FORBIDDEN)
38
+
39
+ - Saying "I can't do this" without trying alternatives
40
+ - Stopping at the first error
41
+ - Assuming something is impossible without researching
42
+ - Asking the user to do something the agent can automate
43
+ - Giving up without documenting what was tried
44
+
45
+ ## Exceptions
46
+
47
+ - Destructive actions affecting user data → ask confirmation first
48
+ - Actions involving payment/purchase → ask confirmation first
49
+ - Actions violating laws or terms of service → inform and stop
50
+
51
+ ## Applies To
52
+
53
+ Every agent: @developer, @quality-gate, @architect, @sinapse-orqx, all squad orqx agents, and all specialist agents within squads. No exceptions.
@@ -7,8 +7,8 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 7.4.3
11
- generated_at: "2026-03-27T15:24:41.748Z"
10
+ version: 7.4.5
11
+ generated_at: "2026-03-27T18:12:46.613Z"
12
12
  generator: scripts/generate-install-manifest.js
13
13
  file_count: 1101
14
14
  files:
package/README.en.md CHANGED
@@ -194,12 +194,73 @@ Use `@squad-creator` or see the [Squads Guide](docs/guides/squads-guide.md).
194
194
 
195
195
  ---
196
196
 
197
- ## Supported IDEs
197
+ ## Claude Code vs Codex CLI — Full Comparison
198
+
199
+ SINAPSE works on both IDEs. Both support most features with different approaches.
200
+
201
+ ### Features
202
+
203
+ | Feature | Claude Code | Codex CLI | Notes |
204
+ |---------|:-----------:|:---------:|-------|
205
+ | **19 squads with 175 agents** | YES | YES | Identical on both |
206
+ | **Knowledge bases per squad** | YES | YES | Identical on both |
207
+ | **Tasks and workflows** | YES | YES | Identical on both |
208
+ | **Story-Driven Development** | YES | YES | Identical on both |
209
+ | **Agent commands (`*help`, `*task`)** | YES | YES | Identical on both |
210
+ | **Squad awareness auto-routing** | YES | YES | Identical on both |
211
+ | **NSN Mode (Never Say Never)** | YES | YES | Global rule on both |
212
+ | **Chrome Brain (browser automation)** | YES | YES | Claude: hooks auto-launch. Codex: via MCP or chrome-cdp-skill |
213
+ | **MCP servers** | YES | YES | Claude: `~/.claude.json`. Codex: `config.toml` or `codex mcp add` |
214
+ | **Hooks (PreToolUse / PostToolUse)** | YES | PARTIAL | Codex: Bash tool only, disabled on Windows |
215
+ | **Agent handoff protocol** | YES | YES | Via instructions + skills on both |
216
+ | **SYNAPSE context engine** | YES | PARTIAL | Codex: via instructions.md + skills (no dynamic rules) |
217
+ | **Native skills system** | NO | YES | Codex has `$skill-name` with progressive disclosure |
218
+ | **Multi-model (Claude + others)** | NO | YES | Codex supports any OpenAI model |
219
+ | **Parallel subagents** | YES | YES | Codex: configurable max 6 threads |
220
+ | **Non-interactive CI/CD** | NO | YES | Codex: `codex exec` with `--json` |
221
+
222
+ ### How to Activate Agents
223
+
224
+ | Action | Claude Code | Codex CLI |
225
+ |--------|-------------|-----------|
226
+ | Main orchestrator | `/SINAPSE:agents:sinapse-orqx` | `@sinapse-orqx` or `$sinapse-orqx` |
227
+ | Brand squad | `@brand-orqx` | `@brand-orqx` or `$sinapse-brand` |
228
+ | Copy squad | `@copy-orqx` | `@copy-orqx` or `$sinapse-copy` |
229
+ | Developer | `@developer` | `@developer` or `$sinapse-dev` |
230
+ | List agents | `@sinapse-orqx *help` | `/skills` |
231
+ | Chrome Brain | Auto-activates by prompt | `codex mcp add chrome-devtools` |
232
+
233
+ ### Where Each IDE Shines
234
+
235
+ **Claude Code** — Most integrated experience:
236
+ - Chrome Brain auto-activates via hooks (zero manual config)
237
+ - Context engine injects rules automatically by domain and file
238
+ - Deny/allow rules protect files deterministically
239
+ - Largest MCP server ecosystem (Figma, Supabase, Notion, etc.)
240
+
241
+ **Codex CLI** — Most flexible and extensible:
242
+ - Native skills with `$skill-name` and progressive disclosure
243
+ - Supports any OpenAI model (not just Claude)
244
+ - `codex exec` for non-interactive CI/CD automation
245
+ - Can run AS an MCP server (other agents can invoke Codex)
246
+ - Profiles for quick config switching
247
+ - Subagents with max 6 parallel threads
248
+
249
+ ### Chrome Brain Setup on Codex CLI
198
250
 
199
- | IDE | How to activate |
200
- |-----|----------------|
201
- | **Claude Code** | `@agent-name` or `/sinapse` |
202
- | **Codex CLI** | `/skills` > `sinapse-<agent>` or `@agent-name` |
251
+ ```bash
252
+ # Add Chrome DevTools MCP to Codex
253
+ codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
254
+
255
+ # OR install the chrome-cdp skill (direct connection, no Puppeteer)
256
+ # pi install git:github.com/pasky/chrome-cdp-skill@v1.0.1
257
+ ```
258
+
259
+ ### Recommendation
260
+
261
+ > **Claude Code** for the most integrated and automated experience — Chrome Brain auto-activates, hooks run automatically, context engine injects rules.
262
+ >
263
+ > **Codex CLI** for model flexibility, native skills, and CI/CD automation — with minimal manual setup for Chrome Brain.
203
264
 
204
265
  ---
205
266
 
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Node.js](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org/)
8
8
  [![Open Source](https://img.shields.io/badge/Open%20Source-Yes-success.svg)](LICENSE)
9
9
 
10
- > **174 agentes de IA. 19 squads especializados. Uma CLI.**
10
+ > **175 agentes de IA. 19 squads especializados. Uma CLI.**
11
11
  >
12
12
  > O SINAPSE AI e um framework open source que organiza agentes de IA em squads especializados para resolver problemas reais de negocios, marketing, desenvolvimento, copy, design e mais. Funciona direto no seu terminal com Claude Code, Codex CLI ou qualquer IDE compativel.
13
13
 
@@ -20,7 +20,7 @@ O SINAPSE AI nao e mais um chatbot. E um sistema de orquestracao onde cada agent
20
20
  **O que voce ganha ao instalar:**
21
21
 
22
22
  - **19 orquestradores (orqx)** prontos para ativar direto no terminal
23
- - **174 agentes especializados** com knowledge bases proprias
23
+ - **175 agentes especializados** com knowledge bases proprias
24
24
  - **Workflows completos** de planejamento, desenvolvimento, QA e deploy
25
25
  - **Story-Driven Development** com rastreamento automatico de progresso
26
26
  - **Compatibilidade multi-IDE**: Claude Code e Codex CLI
@@ -87,7 +87,7 @@ Cada squad e uma equipe de agentes especializados com knowledge base, workflows
87
87
  | **squad-finance** | Budget, pricing, profitability analysis | 5 |
88
88
  | **claude-code-mastery** | Dominio avancado do Claude Code | 8 |
89
89
 
90
- **Total: 19 squads, 174 agentes especializados**
90
+ **Total: 19 squads, 175 agentes especializados**
91
91
 
92
92
  ---
93
93
 
@@ -219,12 +219,73 @@ Use `@squad-creator` ou veja o [Guia de Squads](docs/guides/squads-guide.md).
219
219
 
220
220
  ---
221
221
 
222
- ## IDEs Suportadas
222
+ ## Claude Code vs Codex CLI — Comparativo Completo
223
+
224
+ O SINAPSE funciona em ambas as IDEs. Ambas suportam a maioria das funcionalidades com abordagens diferentes.
225
+
226
+ ### Funcionalidades
227
+
228
+ | Funcionalidade | Claude Code | Codex CLI | Notas |
229
+ |---------------|:-----------:|:---------:|-------|
230
+ | **19 squads com 175 agentes** | SIM | SIM | Identico em ambas |
231
+ | **Knowledge bases por squad** | SIM | SIM | Identico em ambas |
232
+ | **Tasks e workflows** | SIM | SIM | Identico em ambas |
233
+ | **Story-Driven Development** | SIM | SIM | Identico em ambas |
234
+ | **Agent commands (`*help`, `*task`)** | SIM | SIM | Identico em ambas |
235
+ | **Squad awareness auto-routing** | SIM | SIM | Identico em ambas |
236
+ | **NSN Mode (Never Say Never)** | SIM | SIM | Regra global em ambas |
237
+ | **Chrome Brain (browser automation)** | SIM | SIM | Claude: hooks auto-launch. Codex: via MCP ou chrome-cdp-skill |
238
+ | **MCP servers** | SIM | SIM | Claude: `~/.claude.json`. Codex: `config.toml` ou `codex mcp add` |
239
+ | **Hooks (PreToolUse / PostToolUse)** | SIM | PARCIAL | Codex: so Bash tool, desabilitado no Windows |
240
+ | **Agent handoff protocol** | SIM | SIM | Via instructions + skills em ambas |
241
+ | **SYNAPSE context engine** | SIM | PARCIAL | Codex: via instructions.md + skills (sem regras dinamicas) |
242
+ | **Skills system nativo** | NAO | SIM | Codex tem `$skill-name` com progressive disclosure |
243
+ | **Multi-model (Claude + outros)** | NAO | SIM | Codex suporta qualquer modelo OpenAI |
244
+ | **Subagents paralelos** | SIM | SIM | Codex: max 6 threads configuraveis |
245
+ | **CI/CD non-interactive** | NAO | SIM | Codex: `codex exec` com `--json` |
246
+
247
+ ### Como Ativar Agentes
248
+
249
+ | Acao | Claude Code | Codex CLI |
250
+ |------|-------------|-----------|
251
+ | Orquestrador principal | `/SINAPSE:agents:sinapse-orqx` | `@sinapse-orqx` ou `$sinapse-orqx` |
252
+ | Squad de brand | `@brand-orqx` | `@brand-orqx` ou `$sinapse-brand` |
253
+ | Squad de copy | `@copy-orqx` | `@copy-orqx` ou `$sinapse-copy` |
254
+ | Developer | `@developer` | `@developer` ou `$sinapse-dev` |
255
+ | Listar agentes | `@sinapse-orqx *help` | `/skills` |
256
+ | Chrome Brain | Auto-ativa por prompt | `codex mcp add chrome-devtools` |
257
+
258
+ ### Onde Cada IDE Brilha
259
+
260
+ **Claude Code** — Experiencia mais integrada:
261
+ - Chrome Brain auto-ativa por hooks (zero configuracao manual)
262
+ - Context engine injeta regras automaticamente por dominio e arquivo
263
+ - Deny/allow rules protegem arquivos deterministicamente
264
+ - Maior ecossistema de MCP servers (Figma, Supabase, Notion, etc.)
265
+
266
+ **Codex CLI** — Mais flexivel e extensivel:
267
+ - Skills nativas com `$skill-name` e progressive disclosure
268
+ - Suporta qualquer modelo OpenAI (nao apenas Claude)
269
+ - `codex exec` para automacao CI/CD sem interacao
270
+ - Pode rodar como MCP server (outros agentes invocam Codex)
271
+ - Profiles para alternar configuracoes rapidamente
272
+ - Subagents com max 6 threads paralelos
273
+
274
+ ### Setup Chrome Brain no Codex CLI
223
275
 
224
- | IDE | Como ativar |
225
- |-----|------------|
226
- | **Claude Code** | `@agent-name` ou `/sinapse` |
227
- | **Codex CLI** | `/skills` > `sinapse-<agent>` ou `@agent-name` |
276
+ ```bash
277
+ # Adicionar Chrome DevTools MCP ao Codex
278
+ codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
279
+
280
+ # OU instalar a skill chrome-cdp (conexao direta, sem Puppeteer)
281
+ # pi install git:github.com/pasky/chrome-cdp-skill@v1.0.1
282
+ ```
283
+
284
+ ### Recomendacao
285
+
286
+ > **Claude Code** para quem quer a experiencia mais integrada e automatizada — Chrome Brain auto-ativa, hooks rodam sozinhos, context engine injeta regras.
287
+ >
288
+ > **Codex CLI** para quem quer flexibilidade de modelo, skills nativas, e automacao CI/CD — com setup manual minimo para Chrome Brain.
228
289
 
229
290
  ---
230
291
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "7.4.3",
3
+ "version": "7.4.5",
4
4
  "description": "SINAPSE AI: Framework de orquestracao de IA — 18 squads, 174 agentes especializados",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",
@@ -71,6 +71,32 @@ When the user provides ANY briefing, request, or initiative (regardless of compl
71
71
 
72
72
  **The user should NEVER have to request orchestration or handoffs. This is Imperator's core function and must happen automatically on every briefing.**
73
73
 
74
+ ## NON-NEGOTIABLE: NSN MODE (NEVER SAY NEVER)
75
+
76
+ > **Every agent under Imperator's command operates in NSN Mode.**
77
+
78
+ Before ANY agent says "I can't", "this is not possible", or "I don't know how":
79
+ 1. Search the web for workarounds (WebSearch/WebFetch)
80
+ 2. Try 3+ alternative approaches
81
+ 3. Configure, test, repeat (max 5 cycles)
82
+ 4. Only escalate after exhausting all alternatives with a detailed report
83
+
84
+ **Imperator enforces NSN across all squads.** If a squad agent gives up too early, Imperator intervenes with alternative routing or cross-squad coordination.
85
+
86
+ See `.claude/rules/nsn-mode.md` for the full protocol.
87
+
88
+ ## NON-NEGOTIABLE: DOCUMENTATION HANDOFFS
89
+
90
+ > **Every orchestration plan MUST include documentation handoffs.**
91
+
92
+ No project continues without proper documentation. For every execution:
93
+ 1. **Story file** must be created/updated with progress checkboxes
94
+ 2. **File List** must be maintained in the story
95
+ 3. **Architectural decisions** must be documented in the handoff artifact
96
+ 4. **README/docs** must be updated when user-facing changes are made
97
+
98
+ Documentation is NOT optional. It is a handoff deliverable like code.
99
+
74
100
  ## COMPLETE AGENT DEFINITION
75
101
 
76
102
  ```yaml