sinapse-ai 7.4.4 → 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.
- package/.claude/rules/nsn-mode.md +53 -0
- package/.sinapse-ai/install-manifest.yaml +2 -2
- package/README.en.md +48 -32
- package/README.md +48 -32
- package/package.json +1 -1
- package/sinapse/agents/sinapse-orqx.md +26 -0
|
@@ -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.
|
|
11
|
-
generated_at: "2026-03-
|
|
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
|
@@ -196,55 +196,71 @@ Use `@squad-creator` or see the [Squads Guide](docs/guides/squads-guide.md).
|
|
|
196
196
|
|
|
197
197
|
## Claude Code vs Codex CLI — Full Comparison
|
|
198
198
|
|
|
199
|
-
SINAPSE works on both IDEs.
|
|
199
|
+
SINAPSE works on both IDEs. Both support most features with different approaches.
|
|
200
200
|
|
|
201
201
|
### Features
|
|
202
202
|
|
|
203
|
-
| Feature | Claude Code | Codex CLI |
|
|
204
|
-
|
|
205
|
-
| **19 squads with 175 agents** | YES | YES |
|
|
206
|
-
| **Knowledge bases per squad** | YES | YES |
|
|
207
|
-
| **Tasks and workflows** | YES | YES |
|
|
208
|
-
| **Story-Driven Development** | YES | YES |
|
|
209
|
-
| **Agent commands (`*help`, `*task`)** | YES | YES |
|
|
210
|
-
| **Squad awareness auto-routing** | YES | YES |
|
|
211
|
-
| **
|
|
212
|
-
| **
|
|
213
|
-
| **MCP servers
|
|
214
|
-
| **
|
|
215
|
-
| **
|
|
216
|
-
| **
|
|
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` |
|
|
217
221
|
|
|
218
222
|
### How to Activate Agents
|
|
219
223
|
|
|
220
224
|
| Action | Claude Code | Codex CLI |
|
|
221
225
|
|--------|-------------|-----------|
|
|
222
|
-
| Main orchestrator | `/SINAPSE:agents:sinapse-orqx` |
|
|
223
|
-
| Brand squad | `@brand-orqx` | `sinapse-brand` |
|
|
224
|
-
| Copy squad | `@copy-orqx` | `sinapse-copy` |
|
|
225
|
-
| Developer | `@developer` | `sinapse-dev` |
|
|
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` |
|
|
226
230
|
| List agents | `@sinapse-orqx *help` | `/skills` |
|
|
231
|
+
| Chrome Brain | Auto-activates by prompt | `codex mcp add chrome-devtools` |
|
|
227
232
|
|
|
228
233
|
### Where Each IDE Shines
|
|
229
234
|
|
|
230
|
-
**Claude Code** —
|
|
231
|
-
- Chrome Brain auto-activates
|
|
232
|
-
-
|
|
233
|
-
-
|
|
234
|
-
-
|
|
235
|
-
- Handoff protocol optimizes agent switching
|
|
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.)
|
|
236
240
|
|
|
237
|
-
**Codex CLI** —
|
|
238
|
-
-
|
|
239
|
-
-
|
|
240
|
-
-
|
|
241
|
-
-
|
|
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
|
|
250
|
+
|
|
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
|
+
```
|
|
242
258
|
|
|
243
259
|
### Recommendation
|
|
244
260
|
|
|
245
|
-
>
|
|
261
|
+
> **Claude Code** for the most integrated and automated experience — Chrome Brain auto-activates, hooks run automatically, context engine injects rules.
|
|
246
262
|
>
|
|
247
|
-
>
|
|
263
|
+
> **Codex CLI** for model flexibility, native skills, and CI/CD automation — with minimal manual setup for Chrome Brain.
|
|
248
264
|
|
|
249
265
|
---
|
|
250
266
|
|
package/README.md
CHANGED
|
@@ -221,55 +221,71 @@ Use `@squad-creator` ou veja o [Guia de Squads](docs/guides/squads-guide.md).
|
|
|
221
221
|
|
|
222
222
|
## Claude Code vs Codex CLI — Comparativo Completo
|
|
223
223
|
|
|
224
|
-
O SINAPSE funciona em ambas as IDEs.
|
|
224
|
+
O SINAPSE funciona em ambas as IDEs. Ambas suportam a maioria das funcionalidades com abordagens diferentes.
|
|
225
225
|
|
|
226
226
|
### Funcionalidades
|
|
227
227
|
|
|
228
|
-
| Funcionalidade | Claude Code | Codex CLI |
|
|
229
|
-
|
|
230
|
-
| **19 squads com 175 agentes** | SIM | SIM |
|
|
231
|
-
| **Knowledge bases por squad** | SIM | SIM |
|
|
232
|
-
| **Tasks e workflows** | SIM | SIM |
|
|
233
|
-
| **Story-Driven Development** | SIM | SIM |
|
|
234
|
-
| **Agent commands (`*help`, `*task`)** | SIM | SIM |
|
|
235
|
-
| **Squad awareness auto-routing** | SIM | SIM |
|
|
236
|
-
| **
|
|
237
|
-
| **
|
|
238
|
-
| **MCP servers
|
|
239
|
-
| **
|
|
240
|
-
| **
|
|
241
|
-
| **
|
|
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` |
|
|
242
246
|
|
|
243
247
|
### Como Ativar Agentes
|
|
244
248
|
|
|
245
249
|
| Acao | Claude Code | Codex CLI |
|
|
246
250
|
|------|-------------|-----------|
|
|
247
|
-
| Orquestrador principal | `/SINAPSE:agents:sinapse-orqx` |
|
|
248
|
-
| Squad de brand | `@brand-orqx` | `sinapse-brand` |
|
|
249
|
-
| Squad de copy | `@copy-orqx` | `sinapse-copy` |
|
|
250
|
-
| Developer | `@developer` | `sinapse-dev` |
|
|
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` |
|
|
251
255
|
| Listar agentes | `@sinapse-orqx *help` | `/skills` |
|
|
256
|
+
| Chrome Brain | Auto-ativa por prompt | `codex mcp add chrome-devtools` |
|
|
252
257
|
|
|
253
258
|
### Onde Cada IDE Brilha
|
|
254
259
|
|
|
255
|
-
**Claude Code** — Experiencia
|
|
256
|
-
- Chrome Brain auto-ativa
|
|
257
|
-
-
|
|
258
|
-
-
|
|
259
|
-
-
|
|
260
|
-
- Handoff protocol otimiza troca entre agentes
|
|
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.)
|
|
261
265
|
|
|
262
|
-
**Codex CLI** —
|
|
263
|
-
-
|
|
264
|
-
-
|
|
265
|
-
-
|
|
266
|
-
-
|
|
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
|
|
275
|
+
|
|
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
|
+
```
|
|
267
283
|
|
|
268
284
|
### Recomendacao
|
|
269
285
|
|
|
270
|
-
>
|
|
286
|
+
> **Claude Code** para quem quer a experiencia mais integrada e automatizada — Chrome Brain auto-ativa, hooks rodam sozinhos, context engine injeta regras.
|
|
271
287
|
>
|
|
272
|
-
>
|
|
288
|
+
> **Codex CLI** para quem quer flexibilidade de modelo, skills nativas, e automacao CI/CD — com setup manual minimo para Chrome Brain.
|
|
273
289
|
|
|
274
290
|
---
|
|
275
291
|
|
package/package.json
CHANGED
|
@@ -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
|