sinapse-ai 1.25.0 → 1.25.2

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.
Files changed (118) hide show
  1. package/.claude/settings.json +170 -0
  2. package/.codex/catalog.json +1 -1
  3. package/.codex/scripts/sinapse-codex.js +0 -5
  4. package/.codex/scripts/sync-codex-native.js +4 -37
  5. package/.codex/scripts/validate-codex-native.js +13 -23
  6. package/.codex/tasks/onboard-sinapse-codex.md +1 -1
  7. package/.sinapse-ai/data/entity-registry.yaml +44 -18
  8. package/.sinapse-ai/install-manifest.yaml +3 -3
  9. package/CHANGELOG.md +8 -14
  10. package/README.en.md +38 -30
  11. package/README.md +33 -25
  12. package/bin/cli.js +8 -1
  13. package/bin/commands/help.js +3 -2
  14. package/bin/commands/install.js +25 -14
  15. package/bin/commands/status.js +4 -3
  16. package/bin/commands/uninstall.js +216 -51
  17. package/bin/commands/update.js +8 -4
  18. package/bin/lib/global-provider-adapters.js +73 -10
  19. package/bin/lib/provider-parity.js +22 -0
  20. package/bin/postinstall.js +11 -11
  21. package/docs/framework/codex-parity/codex-integration-process.md +6 -7
  22. package/docs/framework/codex-parity/codex-native-runtime-v2.md +8 -8
  23. package/docs/framework/codex-parity/codex-parity-program.md +4 -4
  24. package/docs/framework/codex-parity/codex-total-parity-orchestration-plan.md +1 -1
  25. package/docs/getting-started.md +13 -5
  26. package/docs/guides/codex-config.md +35 -51
  27. package/docs/guides/development-setup.md +1 -2
  28. package/docs/guides/ide-integration.md +28 -29
  29. package/docs/guides/project-status-feature.md +35 -55
  30. package/docs/guides/quality-gates.md +2 -2
  31. package/docs/guides/user-guide.md +21 -10
  32. package/docs/ide-integration.md +2 -2
  33. package/docs/installation/README.md +4 -4
  34. package/docs/installation/faq.md +84 -70
  35. package/docs/installation/linux.md +11 -14
  36. package/docs/installation/macos.md +10 -4
  37. package/docs/installation/troubleshooting.md +11 -5
  38. package/docs/installation/v4-quick-start.md +14 -14
  39. package/docs/installation/windows.md +11 -15
  40. package/docs/pt/contributing.md +1 -1
  41. package/docs/pt/guides/development-setup.md +1 -2
  42. package/docs/pt/guides/project-status-feature.md +35 -55
  43. package/docs/pt/guides/quality-gates.md +2 -2
  44. package/docs/pt/guides/user-guide.md +21 -11
  45. package/docs/pt/ide-integration.md +6 -6
  46. package/docs/pt/installation/README.md +2 -4
  47. package/docs/pt/installation/faq.md +54 -89
  48. package/docs/pt/installation/linux.md +9 -27
  49. package/docs/pt/installation/macos.md +8 -12
  50. package/docs/pt/installation/troubleshooting.md +11 -10
  51. package/docs/pt/installation/v4-quick-start.md +17 -18
  52. package/docs/pt/installation/windows.md +8 -21
  53. package/docs/pt/platforms/claude-code.md +4 -4
  54. package/docs/sinapse-agent-flows/analyst-system.md +1 -1
  55. package/docs/sinapse-agent-flows/architect-system.md +1 -1
  56. package/docs/sinapse-agent-flows/data-engineer-system.md +1 -1
  57. package/docs/sinapse-agent-flows/dev-system.md +1 -1
  58. package/docs/sinapse-agent-flows/pm-system.md +1 -1
  59. package/docs/sinapse-agent-flows/qa-system.md +1 -1
  60. package/docs/sinapse-agent-flows/sm-system.md +1 -1
  61. package/docs/sinapse-agent-flows/snps-orqx-system.md +1 -1
  62. package/docs/sinapse-agent-flows/squad-creator-system.md +2 -2
  63. package/docs/sinapse-agent-flows/ux-design-expert-system.md +1 -1
  64. package/docs/troubleshooting.md +9 -7
  65. package/package.json +21 -16
  66. package/packages/installer/src/config/ide-configs.js +1 -1
  67. package/packages/installer/src/installer/sinapse-ai-installer.js +282 -10
  68. package/packages/installer/src/migrations/legacy-claude-agent-command-hashes.json +36 -0
  69. package/packages/installer/src/migrations/legacy-codex-native-skill-hashes.json +42 -0
  70. package/packages/installer/src/updater/index.js +24 -7
  71. package/packages/installer/src/wizard/ide-config-generator.js +4 -0
  72. package/packages/installer/src/wizard/index.js +6 -2
  73. package/scripts/validate-article-vii.js +305 -20
  74. package/scripts/validate-codex-command-registry.js +101 -0
  75. package/scripts/validate-install-docs.js +87 -3
  76. package/scripts/validate-provider-adapters.js +117 -1
  77. package/squads/claude-code-mastery/agents/skill-craftsman.md +2 -2
  78. package/squads/claude-code-mastery/knowledge-base/skill-creation-patterns.md +1 -1
  79. package/squads/squad-design/agents/ux-designer.md +1 -1
  80. package/.codex/skills/sinapse/SKILL.md +0 -10
  81. package/.codex/skills/sinapse-agent/SKILL.md +0 -22
  82. package/.codex/skills/sinapse-analyst/SKILL.md +0 -29
  83. package/.codex/skills/sinapse-animations/SKILL.md +0 -28
  84. package/.codex/skills/sinapse-architect/SKILL.md +0 -31
  85. package/.codex/skills/sinapse-brand/SKILL.md +0 -28
  86. package/.codex/skills/sinapse-claude/SKILL.md +0 -28
  87. package/.codex/skills/sinapse-cloning/SKILL.md +0 -28
  88. package/.codex/skills/sinapse-commercial/SKILL.md +0 -28
  89. package/.codex/skills/sinapse-content/SKILL.md +0 -28
  90. package/.codex/skills/sinapse-copy/SKILL.md +0 -28
  91. package/.codex/skills/sinapse-council/SKILL.md +0 -28
  92. package/.codex/skills/sinapse-courses/SKILL.md +0 -28
  93. package/.codex/skills/sinapse-cyber/SKILL.md +0 -28
  94. package/.codex/skills/sinapse-data-engineer/SKILL.md +0 -31
  95. package/.codex/skills/sinapse-design/SKILL.md +0 -28
  96. package/.codex/skills/sinapse-dev/SKILL.md +0 -31
  97. package/.codex/skills/sinapse-devops/SKILL.md +0 -31
  98. package/.codex/skills/sinapse-finance/SKILL.md +0 -28
  99. package/.codex/skills/sinapse-growth/SKILL.md +0 -28
  100. package/.codex/skills/sinapse-loop/SKILL.md +0 -35
  101. package/.codex/skills/sinapse-orqx/SKILL.md +0 -44
  102. package/.codex/skills/sinapse-paidmedia/SKILL.md +0 -28
  103. package/.codex/skills/sinapse-pm/SKILL.md +0 -31
  104. package/.codex/skills/sinapse-po/SKILL.md +0 -31
  105. package/.codex/skills/sinapse-product/SKILL.md +0 -28
  106. package/.codex/skills/sinapse-qa/SKILL.md +0 -31
  107. package/.codex/skills/sinapse-research/SKILL.md +0 -28
  108. package/.codex/skills/sinapse-sm/SKILL.md +0 -27
  109. package/.codex/skills/sinapse-spec-driven/SKILL.md +0 -35
  110. package/.codex/skills/sinapse-squad-creator/SKILL.md +0 -31
  111. package/.codex/skills/sinapse-storytelling/SKILL.md +0 -28
  112. package/.codex/skills/sinapse-swarm/SKILL.md +0 -28
  113. package/.codex/skills/sinapse-ux-design-expert/SKILL.md +0 -24
  114. package/.codex/skills/snps/SKILL.md +0 -10
  115. package/.codex/skills/snps-orqx/SKILL.md +0 -10
  116. /package/{.codex → .agents}/skills/react-bits-frontend/SKILL.md +0 -0
  117. /package/{.codex → .agents}/skills/react-bits-frontend/agents/openai.yaml +0 -0
  118. /package/{.codex → .agents}/skills/react-bits-frontend/references/corpus-map.md +0 -0
@@ -3,7 +3,9 @@
3
3
 
4
4
  const fs = require('fs');
5
5
  const path = require('path');
6
+ const crypto = require('crypto');
6
7
  const yaml = require('js-yaml');
8
+ const legacyClaudeCommandHashes = require('../packages/installer/src/migrations/legacy-claude-agent-command-hashes.json');
7
9
 
8
10
  const { validateNativeCodex } = require('../.codex/scripts/validate-codex-native');
9
11
 
@@ -17,8 +19,103 @@ function parseFrontmatter(content) {
17
19
  return metadata;
18
20
  }
19
21
 
22
+ const REQUIRED_CLAUDE_HOOKS = [
23
+ { event: 'PreToolUse', matcher: 'Write|Edit', filename: 'doc-first-gate.cjs' },
24
+ { event: 'PreToolUse', matcher: 'Write|Edit|Bash', filename: 'enforce-delegation.cjs' },
25
+ { event: 'PreToolUse', matcher: 'Write|Edit', filename: 'enforce-framework-boundary.cjs' },
26
+ { event: 'PreToolUse', matcher: 'Bash', filename: 'enforce-git-push-authority.sh' },
27
+ { event: 'PreToolUse', matcher: 'Bash', filename: 'verify-packages.cjs' },
28
+ ];
29
+
30
+ function validateClaudeHookSettings(projectRoot) {
31
+ const errors = [];
32
+ const settingsCandidates = [
33
+ path.join(projectRoot, '.claude', 'settings.json'),
34
+ path.join(projectRoot, '.claude', 'settings.local.json'),
35
+ ];
36
+ const settingsPaths = settingsCandidates.filter((candidate) => fs.existsSync(candidate));
37
+ if (settingsPaths.length === 0) {
38
+ return ['Claude hook settings are missing: expected .claude/settings.json or .claude/settings.local.json'];
39
+ }
40
+ const commands = [];
41
+ for (const settingsPath of settingsPaths) {
42
+ try {
43
+ const settings = JSON.parse(fs.readFileSync(settingsPath, 'utf8'));
44
+ for (const [event, groups] of Object.entries(settings.hooks || {})) {
45
+ for (const group of groups || []) {
46
+ commands.push(...(group.hooks || []).map((hook) => ({
47
+ command: String(hook.command || ''),
48
+ event,
49
+ matcher: group.matcher ?? null,
50
+ source: path.relative(projectRoot, settingsPath),
51
+ })));
52
+ }
53
+ }
54
+ } catch (error) {
55
+ errors.push(`Claude hook settings (${path.relative(projectRoot, settingsPath)}): ${error.message}`);
56
+ }
57
+ }
58
+ const registered = new Set();
59
+ for (const entry of commands) {
60
+ const match = entry.command.replace(/\\/g, '/').match(/\.claude\/hooks\/([^"'\s]+)/);
61
+ if (!match) continue;
62
+ const registrationKey = JSON.stringify([entry.event, entry.matcher, match[1]]);
63
+ if (registered.has(registrationKey)) {
64
+ errors.push(`Claude hook is registered more than once for the same event and matcher: ${match[1]} (${entry.source})`);
65
+ continue;
66
+ }
67
+ registered.add(registrationKey);
68
+ if (!fs.existsSync(path.join(projectRoot, '.claude', 'hooks', match[1]))) {
69
+ errors.push(`Claude settings points to missing hook: .claude/hooks/${match[1]}`);
70
+ }
71
+ }
72
+ for (const hook of REQUIRED_CLAUDE_HOOKS) {
73
+ const requiredKey = JSON.stringify([hook.event, hook.matcher, hook.filename]);
74
+ if (!registered.has(requiredKey)) {
75
+ errors.push(`Claude governance hook is not registered at ${hook.event}/${hook.matcher}: ${hook.filename}`);
76
+ }
77
+ }
78
+ return errors;
79
+ }
80
+
81
+ function validateClaudeAliasTargets(projectRoot) {
82
+ const errors = [];
83
+ const aliases = {
84
+ sinapse: ['# SINAPSE Claude Activation: sinapse-orqx', 'development/agents/snps-orqx.md'],
85
+ 'sinapse-orqx': ['# SINAPSE Claude Activation: sinapse-orqx', 'development/agents/snps-orqx.md'],
86
+ snps: ['# SINAPSE Claude Activation: sinapse-orqx', 'development/agents/snps-orqx.md'],
87
+ 'snps-orqx': ['# SINAPSE Claude Activation: sinapse-orqx', 'development/agents/snps-orqx.md'],
88
+ 'sinapse-agent': ['# SINAPSE Parametric Agent Activator for Claude Code', '.claude/agents/sinapse-'],
89
+ };
90
+ for (const [alias, [heading, canonicalTarget]] of Object.entries(aliases)) {
91
+ const relativePath = path.join('.claude', 'skills', alias, 'SKILL.md');
92
+ try {
93
+ const content = fs.readFileSync(path.join(projectRoot, relativePath), 'utf8');
94
+ if (!content.includes(heading) || !content.includes(canonicalTarget)) {
95
+ errors.push(`${relativePath} does not resolve to its canonical target`);
96
+ }
97
+ } catch (error) {
98
+ errors.push(`${relativePath}: ${error.message}`);
99
+ }
100
+ }
101
+ return errors;
102
+ }
103
+
20
104
  function validateClaudeNative(projectRoot = PROJECT_ROOT) {
21
105
  const errors = [];
106
+ const legacyCommandsDir = path.join(projectRoot, '.claude', 'commands', 'SINAPSE', 'agents');
107
+ if (fs.existsSync(legacyCommandsDir)) {
108
+ const legacyCommands = fs.readdirSync(legacyCommandsDir).filter((file) => file.endsWith('.md'));
109
+ const managedLegacyCommands = legacyCommands.filter((file) => {
110
+ const content = fs.readFileSync(path.join(legacyCommandsDir, file));
111
+ const digest = crypto.createHash('sha256').update(content).digest('hex');
112
+ return (legacyClaudeCommandHashes.files[file] || []).includes(digest)
113
+ || content.includes(Buffer.from('SINAPSE-MANAGED:claude-command'));
114
+ });
115
+ if (managedLegacyCommands.length > 0) {
116
+ errors.push(`Legacy Claude agent command surface contains ${managedLegacyCommands.length} managed duplicates`);
117
+ }
118
+ }
22
119
  const agentsDir = path.join(projectRoot, '.claude', 'agents');
23
120
  const agentFiles = fs.existsSync(agentsDir)
24
121
  ? fs.readdirSync(agentsDir).filter((file) => /^sinapse-.+\.md$/.test(file)).sort()
@@ -29,6 +126,9 @@ function validateClaudeNative(projectRoot = PROJECT_ROOT) {
29
126
  const manifest = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));
30
127
  expectedSkills = (manifest.skillIds || []).map((skillId) => ({ skillId }));
31
128
  if (expectedSkills.length !== 36) errors.push(`Claude skill manifest must contain 36 IDs, found ${expectedSkills.length}`);
129
+ for (const alias of ['sinapse', 'sinapse-orqx', 'snps', 'snps-orqx', 'sinapse-agent']) {
130
+ if (!manifest.skillIds.includes(alias)) errors.push(`Claude skill manifest is missing public alias ${alias}`);
131
+ }
32
132
  } catch (error) {
33
133
  errors.push(`Claude skill manifest: ${error.message}`);
34
134
  }
@@ -77,6 +177,15 @@ function validateClaudeNative(projectRoot = PROJECT_ROOT) {
77
177
  if (!claudeNames.has(name)) errors.push(`Claude native inventory is missing ${name}`);
78
178
  }
79
179
 
180
+ const hooksDir = path.join(projectRoot, '.claude', 'hooks');
181
+ for (const hook of REQUIRED_CLAUDE_HOOKS) {
182
+ if (!fs.existsSync(path.join(hooksDir, hook.filename))) {
183
+ errors.push(`Missing Claude governance hook: .claude/hooks/${hook.filename}`);
184
+ }
185
+ }
186
+ errors.push(...validateClaudeHookSettings(projectRoot));
187
+ errors.push(...validateClaudeAliasTargets(projectRoot));
188
+
80
189
  return {
81
190
  ok: errors.length === 0,
82
191
  errors,
@@ -99,6 +208,7 @@ function validateProviderAdapters(projectRoot = PROJECT_ROOT) {
99
208
  for (const entry of ['.claude/agents/', '.claude/skills/', '.agents/skills/', '.codex/agents/']) {
100
209
  if (!pkg.files.includes(entry)) errors.push(`package.json files[] is missing ${entry}`);
101
210
  }
211
+ if (pkg.files.includes('.codex/skills/')) errors.push('package.json must not publish the legacy .codex/skills root');
102
212
  return {
103
213
  ok: errors.length === 0,
104
214
  errors,
@@ -124,4 +234,10 @@ function main() {
124
234
 
125
235
  if (require.main === module) main();
126
236
 
127
- module.exports = { parseFrontmatter, validateClaudeNative, validateProviderAdapters };
237
+ module.exports = {
238
+ parseFrontmatter,
239
+ validateClaudeAliasTargets,
240
+ validateClaudeHookSettings,
241
+ validateClaudeNative,
242
+ validateProviderAdapters,
243
+ };
@@ -484,7 +484,7 @@ dependencies:
484
484
 
485
485
  sinapse_mapping: |
486
486
  SINAPSE tasks (.sinapse-ai/development/tasks/) map to Claude Code skills (.claude/skills/)
487
- SINAPSE agents (.claude/commands/SINAPSE/agents/) map to Claude Code subagents (.claude/agents/)
487
+ SINAPSE agents (.claude/agents/) map to Claude Code subagents (.claude/agents/)
488
488
  SINAPSE workflows map to Claude Code command sequences
489
489
  SINAPSE checklists map to skill validation steps
490
490
  SINAPSE templates map to skill supporting files (templates/)
@@ -1119,7 +1119,7 @@ Type `*help` to see all commands, or `*guide` for detailed usage.
1119
1119
  | SINAPSE Concept | Claude Code Equivalent |
1120
1120
  |-------------|----------------------|
1121
1121
  | Task (`.sinapse-ai/development/tasks/`) | Skill (`.claude/skills/`) |
1122
- | Agent (`.claude/commands/SINAPSE/agents/`) | Subagent (`.claude/agents/`) |
1122
+ | Agent (`.claude/agents/`) | Subagent (`.claude/agents/`) |
1123
1123
  | Workflow | Command sequence / Skill chain |
1124
1124
  | Checklist | Skill validation steps |
1125
1125
  | Template | Skill supporting file |
@@ -353,7 +353,7 @@ Example: `sinapse-claude:claude-code-audit`
353
353
  | Platform | Support | Notes |
354
354
  |----------|---------|-------|
355
355
  | Claude Code | Full | Native marketplace |
356
- | Codex | Full | `.codex/skills/` directory |
356
+ | Codex | Full | `.agents/skills/` directory |
357
357
  | Gemini CLI | Full | Standard SKILL.md |
358
358
  | Cursor | Full | Marketplace |
359
359
  | VS Code | Full | Extension integration |
@@ -30,7 +30,7 @@ You are an autonomous SINAPSE UX Design Expert agent spawned to execute a specif
30
30
 
31
31
  ## 1. Persona Loading
32
32
 
33
- Read `.claude/commands/SINAPSE/agents/ux-design-expert.md` and adopt the persona of **Uma**.
33
+ Read `.claude/agents/ux-design-expert.md` and adopt the persona of **Uma**.
34
34
  - SKIP the greeting flow entirely — go straight to work
35
35
 
36
36
  ## 2. Context Loading (mandatory)
@@ -1,10 +0,0 @@
1
- ---
2
- name: sinapse
3
- description: Activate the SINAPSE supreme orchestrator in Codex.
4
- ---
5
-
6
- # SINAPSE Supreme Orchestrator Alias
7
-
8
- This is a public alias for `$sinapse-orqx`. Follow the authoritative skill at
9
- `.agents/skills/sinapse-orqx/SKILL.md` exactly. Resolve all aliases to the
10
- canonical `snps-orqx` source and preserve its delegation-only authority.
@@ -1,22 +0,0 @@
1
- ---
2
- name: sinapse-agent
3
- description: Resolve and activate any canonical SINAPSE agent by ID in Codex.
4
- ---
5
-
6
- # SINAPSE Parametric Agent Activator
7
-
8
- Use the agent ID supplied after `$sinapse-agent`.
9
- Canonical agent files under `.sinapse-ai/development/agents/` are the source of truth;
10
- squad specialists resolve to their catalog-declared source. A persona greeting may use
11
- `.codex/scripts/generate-codex-greeting.js` after successful resolution.
12
-
13
- 1. Resolve it with `node .codex/scripts/resolve-codex-agent.js <agent-id> --json`.
14
- 2. If resolution fails, stop and return the resolver error without guessing an ID.
15
- 3. Read the returned `sourceOfTruth` and `pointer` files.
16
- 4. Adopt the canonical persona, authority boundaries and activation protocol.
17
- 5. Resolve starred commands with
18
- `node .codex/scripts/resolve-codex-command.js <agent-id> <command> --json`.
19
- 6. Use native Codex collaboration for delegation; never start nested Codex or Claude.
20
-
21
- The 172 TOML adapters in `.codex/agents` remain the native subagent layer. This
22
- skill is the discoverable `$` entrypoint and must not copy or redefine personas.
@@ -1,29 +0,0 @@
1
- ---
2
- name: sinapse-analyst
3
- description: Business Analyst (Scope). Use for market research, competitive analysis, user research, brainstorming session facilitation, structured ideation workshops, feasibility studies, i...
4
- ---
5
-
6
- # SINAPSE Business Analyst Activator
7
-
8
- ## When To Use
9
- Use for market research, competitive analysis, user research, brainstorming session facilitation, structured ideation workshops, feasibility studies, industry trends analysis, project discovery (brownfield documentati...
10
-
11
- ## Activation Protocol
12
- 1. Load `.sinapse-ai/development/agents/analyst.md` as source of truth (fallback: `.codex/agents/analyst.md`).
13
- 2. Generate greeting via `node .sinapse-ai/development/scripts/generate-greeting.js analyst` and show it first.
14
- 3. Adopt this agent persona and command system.
15
- 4. If a starred command is invoked in Codex, resolve it via `node .codex/scripts/resolve-codex-command.js sinapse-analyst <command>` when a registry mapping exists.
16
- 5. Stay in this persona until the user asks to switch or exit.
17
-
18
- ## Starter Commands
19
- - `*help` - Show all available commands with descriptions
20
- - `*create-project-brief` - Create project brief document
21
- - `*perform-market-research` - Create market research analysis
22
- - `*create-competitor-analysis` - Create competitive analysis
23
- - `*brainstorm` - Facilitate structured brainstorming
24
- - `*guide` - Show comprehensive usage guide for this agent
25
-
26
- ## Non-Negotiables
27
- - Follow `.sinapse-ai/constitution.md`.
28
- - Execute workflows/tasks only from declared dependencies.
29
- - Do not invent requirements outside the project artifacts.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-animations
3
- description: Motion design, CSS animations, particulas, 3D, micro-interacoes
4
- ---
5
-
6
- # SINAPSE Animations Squad Activator
7
-
8
- ## When To Use
9
- Motion design, CSS animations, particulas, 3D, micro-interacoes
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-animations/agents/animations-orqx.md` as source of truth (fallback: `.codex/agents/animations-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-animations/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*motion` - Animacao CSS/JS com performance
19
- - `*particulas` - Sistema de particulas interativo
20
- - `*transicao` - Animacao de transicao
21
- - `*3d` - Efeito 3D com CSS/WebGL
22
- - `*micro-interacao` - Micro-interacoes de feedback
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-animations/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,31 +0,0 @@
1
- ---
2
- name: sinapse-architect
3
- description: Architect (Stratum). Use for system architecture (fullstack, backend, frontend, infrastructure), technology stack selection (technical evaluation), API design (REST/GraphQL/tRPC...
4
- ---
5
-
6
- # SINAPSE Architect Activator
7
-
8
- ## When To Use
9
- Use for system architecture (fullstack, backend, frontend, infrastructure), technology stack selection (technical evaluation), API design (REST/GraphQL/tRPC/WebSocket), security architecture, performance optimization,...
10
-
11
- ## Activation Protocol
12
- 1. Load `.sinapse-ai/development/agents/architect.md` as source of truth (fallback: `.codex/agents/architect.md`).
13
- 2. Generate greeting via `node .sinapse-ai/development/scripts/generate-greeting.js architect` and show it first.
14
- 3. Adopt this agent persona and command system.
15
- 4. If a starred command is invoked in Codex, resolve it via `node .codex/scripts/resolve-codex-command.js sinapse-architect <command>` when a registry mapping exists.
16
- 5. Stay in this persona until the user asks to switch or exit.
17
-
18
- ## Starter Commands
19
- - `*help` - Show all available commands with descriptions
20
- - `*create-full-stack-architecture` - Complete system architecture
21
- - `*create-backend-architecture` - Backend architecture design
22
- - `*create-front-end-architecture` - Frontend architecture design
23
- - `*document-project` - Generate project documentation
24
- - `*research` - Generate deep research prompt
25
- - `*analyze-project-structure` - Analyze project for new feature implementation (WIS-15)
26
- - `*guide` - Show comprehensive usage guide for this agent
27
-
28
- ## Non-Negotiables
29
- - Follow `.sinapse-ai/constitution.md`.
30
- - Execute workflows/tasks only from declared dependencies.
31
- - Do not invent requirements outside the project artifacts.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-brand
3
- description: Estrategia de marca, identidade visual, brandbook, auditoria de marca
4
- ---
5
-
6
- # SINAPSE Brand Squad Activator
7
-
8
- ## When To Use
9
- Estrategia de marca, identidade visual, brandbook, auditoria de marca
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-brand/agents/brand-orqx.md` as source of truth (fallback: `.codex/agents/brand-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-brand/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*criar-marca` - Ciclo completo de branding (zero-to-brand)
19
- - `*auditar-marca` - Analisa coerencia e gaps de marca existente
20
- - `*brandbook` - Compila brandbook final
21
- - `*identidade` - Cria identidade visual
22
- - `*posicionamento` - Define posicionamento estrategico
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-brand/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-claude
3
- description: Claude Code, MCP, hooks, skills, integracao avancada
4
- ---
5
-
6
- # SINAPSE Claude Squad Activator
7
-
8
- ## When To Use
9
- Claude Code, MCP, hooks, skills, integracao avancada
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/claude-code-mastery/agents/claude-mastery-chief.md` as source of truth (fallback: `.codex/agents/claude-mastery-chief.md`).
13
- 2. Load squad knowledge base from `squads/claude-code-mastery/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*setup` - Configura Claude Code
19
- - `*hooks` - Cria ou audita hooks
20
- - `*mcp` - Configura MCP server
21
- - `*agent` - Cria novo agent persona
22
- - `*otimizar-contexto` - Otimiza context window
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/claude-code-mastery/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-cloning
3
- description: Clonagem cognitiva, extracao de DNA, mind synthesis, knowledge bases
4
- ---
5
-
6
- # SINAPSE Cloning Squad Activator
7
-
8
- ## When To Use
9
- Clonagem cognitiva, extracao de DNA, mind synthesis, knowledge bases
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-cloning/agents/cloning-orqx.md` as source of truth (fallback: `.codex/agents/cloning-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-cloning/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*clonar` - Pipeline de clonagem cognitiva
19
- - `*fontes` - Descobre e cataloga fontes
20
- - `*extrair` - Extrai DNA cognitivo
21
- - `*sintetizar` - Consolida perfil cognitivo
22
- - `*forjar` - Gera agent.md do perfil
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-cloning/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-commercial
3
- description: Vendas, funil, revenue ops, propostas comerciais, ofertas
4
- ---
5
-
6
- # SINAPSE Commercial Squad Activator
7
-
8
- ## When To Use
9
- Vendas, funil, revenue ops, propostas comerciais, ofertas
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-commercial/agents/commercial-orqx.md` as source of truth (fallback: `.codex/agents/commercial-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-commercial/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*funil` - Arquiteta funil de vendas completo
19
- - `*oferta` - Estrutura oferta irresistivel
20
- - `*proposta` - Proposta comercial personalizada
21
- - `*auditar-vendas` - Diagnostica gaps no processo de vendas
22
- - `*upsell` - Projeta caminho de upsell/cross-sell
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-commercial/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-content
3
- description: Governanca editorial, calendario, adaptacao multi-plataforma, pipeline de conteudo
4
- ---
5
-
6
- # SINAPSE Content Squad Activator
7
-
8
- ## When To Use
9
- Governanca editorial, calendario, adaptacao multi-plataforma, pipeline de conteudo
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-content/agents/content-orqx.md` as source of truth (fallback: `.codex/agents/content-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-content/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*calendario` - Calendario editorial mensal
19
- - `*artigo` - Artigo otimizado para SEO
20
- - `*adaptar` - Adapta conteudo para diferentes plataformas
21
- - `*governanca` - Politicas editoriais e guidelines
22
- - `*pipeline` - Producao de conteudo em lote
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-content/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-copy
3
- description: Copywriting persuasivo, headlines, landing pages, email sequences, conversao
4
- ---
5
-
6
- # SINAPSE Copy Squad Activator
7
-
8
- ## When To Use
9
- Copywriting persuasivo, headlines, landing pages, email sequences, conversao
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-copy/agents/copy-orqx.md` as source of truth (fallback: `.codex/agents/copy-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-copy/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*headline` - Variantes de headline com frameworks persuasivos
19
- - `*landing-page` - Copy completa de landing page
20
- - `*email-sequence` - Sequencia de emails de venda
21
- - `*anuncio` - Copy de anuncio (Meta, Google)
22
- - `*revisar-copy` - Auditoria Hopkins de copy existente
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-copy/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-council
3
- description: Advisors estrategicos (Munger, Dalio, Thiel), mental models, decisoes
4
- ---
5
-
6
- # SINAPSE Council Squad Activator
7
-
8
- ## When To Use
9
- Advisors estrategicos (Munger, Dalio, Thiel), mental models, decisoes
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-council/agents/council-orqx.md` as source of truth (fallback: `.codex/agents/council-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-council/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*conselho` - Convoca advisors para decisao
19
- - `*modelo-mental` - Aplica mental models
20
- - `*contrarian` - Avalia tese contraria
21
- - `*principios` - Framework de principios
22
- - `*alianca` - Framework de alianca estrategica
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-council/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-courses
3
- description: Curriculos, aulas, assessments, lancamento, producao educacional
4
- ---
5
-
6
- # SINAPSE Courses Squad Activator
7
-
8
- ## When To Use
9
- Curriculos, aulas, assessments, lancamento, producao educacional
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-courses/agents/courses-orqx.md` as source of truth (fallback: `.codex/agents/courses-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-courses/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*curso` - Estrutura curriculo completo
19
- - `*aula` - Outline detalhado de aula
20
- - `*avaliacao` - Sistema de assessments
21
- - `*lancamento` - Estrategia de lancamento
22
- - `*material` - Material didatico (slides, workbook)
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-courses/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-cyber
3
- description: Seguranca, threat intel, pentest, hardening, compliance
4
- ---
5
-
6
- # SINAPSE Cybersecurity Squad Activator
7
-
8
- ## When To Use
9
- Seguranca, threat intel, pentest, hardening, compliance
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-cybersecurity/agents/cyber-orqx.md` as source of truth (fallback: `.codex/agents/cyber-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-cybersecurity/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*scan` - Varredura de seguranca completa
19
- - `*pentest` - Teste de penetracao
20
- - `*hardening` - Endurece configuracoes
21
- - `*incidente` - Protocolo de resposta a incidente
22
- - `*compliance` - Verifica conformidade OWASP
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-cybersecurity/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.
@@ -1,31 +0,0 @@
1
- ---
2
- name: sinapse-data-engineer
3
- description: Database Architect & Operations Engineer (Tensor). Use for database design, schema architecture, Supabase configuration, RLS policies, migrations, query optimization, data model...
4
- ---
5
-
6
- # SINAPSE Database Architect & Operations Engineer Activator
7
-
8
- ## When To Use
9
- Use for database design, schema architecture, Supabase configuration, RLS policies, migrations, query optimization, data modeling, operations, and monitoring
10
-
11
- ## Activation Protocol
12
- 1. Load `.sinapse-ai/development/agents/data-engineer.md` as source of truth (fallback: `.codex/agents/data-engineer.md`).
13
- 2. Generate greeting via `node .sinapse-ai/development/scripts/generate-greeting.js data-engineer` and show it first.
14
- 3. Adopt this agent persona and command system.
15
- 4. If a starred command is invoked in Codex, resolve it via `node .codex/scripts/resolve-codex-command.js sinapse-data-engineer <command>` when a registry mapping exists.
16
- 5. Stay in this persona until the user asks to switch or exit.
17
-
18
- ## Starter Commands
19
- - `*help` - Show all available commands with descriptions
20
- - `*guide` - Show comprehensive usage guide for this agent
21
- - `*yolo` - Toggle permission mode (cycle: ask > auto > explore)
22
- - `*exit` - Exit data-engineer mode
23
- - `*doc-out` - Output complete document
24
- - `*execute-checklist {checklist}` - Run DBA checklist
25
- - `*create-schema` - Design database schema
26
- - `*create-rls-policies` - Design RLS policies
27
-
28
- ## Non-Negotiables
29
- - Follow `.sinapse-ai/constitution.md`.
30
- - Execute workflows/tasks only from declared dependencies.
31
- - Do not invent requirements outside the project artifacts.
@@ -1,28 +0,0 @@
1
- ---
2
- name: sinapse-design
3
- description: Design systems, componentes, tokens, acessibilidade, UX audit
4
- ---
5
-
6
- # SINAPSE Design Squad Activator
7
-
8
- ## When To Use
9
- Design systems, componentes, tokens, acessibilidade, UX audit
10
-
11
- ## Activation Protocol
12
- 1. Load `squads/squad-design/agents/design-orqx.md` as source of truth (fallback: `.codex/agents/design-orqx.md`).
13
- 2. Load squad knowledge base from `squads/squad-design/knowledge-base/`.
14
- 3. Adopt the orqx persona and command system.
15
- 4. Stay in this persona until the user asks to switch or exit.
16
-
17
- ## Starter Commands
18
- - `*design-system` - Cria ou audita design system
19
- - `*componente` - Projeta componente com tokens
20
- - `*layout` - Compoe layout seguindo grid
21
- - `*audit-ux` - Auditoria de experiencia do usuario
22
- - `*tokens` - Extrai e organiza design tokens
23
-
24
- ## Non-Negotiables
25
- - Follow `.sinapse-ai/constitution.md`.
26
- - Load squad KB before executing any task.
27
- - Execute tasks only from `squads/squad-design/tasks/`.
28
- - Output quality: 5.0/5.0 minimum.