sinapse-ai 1.8.0 β 1.9.1
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/hooks/mind-clone-governance.py +212 -212
- package/.claude/hooks/read-protection.py +152 -152
- package/.claude/hooks/slug-validation.py +175 -175
- package/.claude/hooks/sql-governance.py +183 -183
- package/.claude/rules/documentation-first.md +1 -1
- package/.claude/rules/hook-governance.md +1 -1
- package/.claude/rules/mandatory-delegation.md +1 -1
- package/.claude/rules/project-intelligence.md +1 -1
- package/.codex/agents/analyst.md +4 -371
- package/.codex/agents/animations-orqx.md +4 -57
- package/.codex/agents/architect.md +4 -560
- package/.codex/agents/brand-orqx.md +4 -95
- package/.codex/agents/claude-mastery-chief.md +4 -0
- package/.codex/agents/cloning-orqx.md +4 -70
- package/.codex/agents/commercial-orqx.md +4 -67
- package/.codex/agents/config-engineer.md +2 -2
- package/.codex/agents/content-orqx.md +4 -77
- package/.codex/agents/copy-orqx.md +4 -65
- package/.codex/agents/cost-optimizer.md +4 -0
- package/.codex/agents/council-orqx.md +4 -68
- package/.codex/agents/courses-orqx.md +4 -64
- package/.codex/agents/cro-persuasion.md +4 -0
- package/.codex/agents/cyber-orqx.md +4 -67
- package/.codex/agents/data-engineer.md +4 -542
- package/.codex/agents/design-orqx.md +4 -65
- package/.codex/agents/design-system.md +4 -210
- package/.codex/agents/developer.md +4 -666
- package/.codex/agents/devops.md +4 -668
- package/.codex/agents/finance-orqx.md +4 -57
- package/.codex/agents/fiscal-compliance-br.md +4 -0
- package/.codex/agents/forecast-strategist.md +4 -0
- package/.codex/agents/growth-orqx.md +4 -75
- package/.codex/agents/hooks-architect.md +2 -2
- package/.codex/agents/mcp-integrator.md +2 -2
- package/.codex/agents/paidmedia-orqx.md +4 -67
- package/.codex/agents/platform-aesthetic-director.md +4 -0
- package/.codex/agents/premium-packaging-strategist.md +4 -0
- package/.codex/agents/product-lead.md +4 -371
- package/.codex/agents/product-orqx.md +4 -57
- package/.codex/agents/product-surface-director.md +4 -0
- package/.codex/agents/project-integrator.md +2 -2
- package/.codex/agents/project-lead.md +4 -414
- package/.codex/agents/quality-gate.md +4 -547
- package/.codex/agents/research-orqx.md +4 -67
- package/.codex/agents/roadmap-sentinel.md +2 -2
- package/.codex/agents/skill-craftsman.md +2 -2
- package/.codex/agents/snps-orqx.md +4 -684
- package/.codex/agents/sop-extractor.md +4 -61
- package/.codex/agents/sprint-lead.md +4 -324
- package/.codex/agents/squad-creator.md +4 -402
- package/.codex/agents/storytelling-orqx.md +4 -65
- package/.codex/agents/swarm-orqx.md +4 -64
- package/.codex/agents/ux-design-expert.md +4 -532
- package/.codex/agents/ux-designer.md +4 -124
- package/.codex/command-registry.json +9 -9
- package/.codex/delegation-matrix.json +375 -839
- package/.codex/delegation-parity.json +658 -0
- package/.codex/handoff-packet.parity.schema.json +148 -0
- package/.codex/handoff-packet.template.json +26 -0
- package/.codex/instructions.md +8 -8
- package/.codex/scripts/resolve-codex-agent.js +482 -0
- package/.codex/scripts/resolve-codex-command.js +75 -12
- package/.codex/scripts/resolve-codex-delegation.js +131 -92
- package/.codex/skills/sinapse-claude/SKILL.md +3 -3
- package/.codex/skills/sinapse-po/SKILL.md +1 -1
- package/.codex/tasks/resolve-sinapse-conflict.md +1 -1
- package/.sinapse-ai/constitution.md +5 -5
- package/.sinapse-ai/core/doctor/checks/git-hooks.js +163 -19
- package/.sinapse-ai/core/events/dashboard-emitter.js +30 -9
- package/.sinapse-ai/core/execution/subagent-dispatcher.js +1 -1
- package/.sinapse-ai/core/synapse/engine.js +15 -0
- package/.sinapse-ai/core/ui/observability-panel.js +240 -0
- package/.sinapse-ai/core-config.yaml +0 -20
- package/.sinapse-ai/data/entity-registry.yaml +185 -236
- package/.sinapse-ai/development/agents/snps-orqx.md +16 -26
- package/.sinapse-ai/development/tasks/build-autonomous.md +11 -1
- package/.sinapse-ai/development/tasks/build-resume.md +8 -0
- package/.sinapse-ai/development/tasks/build-status.md +8 -0
- package/.sinapse-ai/development/tasks/build.md +8 -0
- package/.sinapse-ai/development/tasks/cleanup-worktrees.md +8 -1
- package/.sinapse-ai/development/tasks/gotcha.md +8 -0
- package/.sinapse-ai/development/tasks/gotchas.md +8 -0
- package/.sinapse-ai/development/tasks/ids-health.md +14 -6
- package/.sinapse-ai/development/tasks/list-mcps.md +15 -0
- package/.sinapse-ai/development/tasks/merge-worktree.md +8 -1
- package/.sinapse-ai/development/tasks/qa-review-build.md +18 -0
- package/.sinapse-ai/development/tasks/remove-mcp.md +8 -1
- package/.sinapse-ai/development/tasks/validate-agents.md +26 -14
- package/.sinapse-ai/development/templates/service-template/README.md.hbs +159 -159
- package/.sinapse-ai/development/templates/service-template/__tests__/index.test.ts.hbs +238 -238
- package/.sinapse-ai/development/templates/service-template/client.ts.hbs +404 -404
- package/.sinapse-ai/development/templates/service-template/errors.ts.hbs +183 -183
- package/.sinapse-ai/development/templates/service-template/index.ts.hbs +121 -121
- package/.sinapse-ai/development/templates/service-template/package.json.hbs +88 -88
- package/.sinapse-ai/development/templates/service-template/types.ts.hbs +146 -146
- package/.sinapse-ai/development/templates/squad-template/LICENSE +22 -22
- package/.sinapse-ai/git-hooks/lib/framework-guard.js +258 -0
- package/.sinapse-ai/git-hooks/lib/secret-scanner-core.js +355 -0
- package/.sinapse-ai/git-hooks/lib/staged-secret-scan.js +179 -0
- package/.sinapse-ai/git-hooks/lib/staged-sql-guard.js +204 -0
- package/.sinapse-ai/git-hooks/post-commit +28 -0
- package/.sinapse-ai/git-hooks/pre-commit +81 -0
- package/.sinapse-ai/git-hooks/pre-push +83 -0
- package/.sinapse-ai/hooks/ids-post-commit.js +13 -11
- package/.sinapse-ai/hooks/ids-pre-push.js +9 -7
- package/.sinapse-ai/infrastructure/scripts/codex-parity/resolve.js +161 -0
- package/.sinapse-ai/infrastructure/scripts/dashboard-status-writer.js +6 -2
- package/.sinapse-ai/infrastructure/scripts/ide-sync/index.js +65 -68
- package/.sinapse-ai/infrastructure/scripts/sync-codex-local-first.js +156 -1
- package/.sinapse-ai/infrastructure/scripts/validate-codex-delegation.js +1 -4
- package/.sinapse-ai/infrastructure/scripts/validate-codex-integration.js +41 -5
- package/.sinapse-ai/infrastructure/templates/coderabbit.yaml.template +280 -280
- package/.sinapse-ai/infrastructure/templates/config/env.example +16 -16
- package/.sinapse-ai/infrastructure/templates/config/gitignore-additions.tmpl +59 -59
- package/.sinapse-ai/infrastructure/templates/github/CODEOWNERS.template +12 -12
- package/.sinapse-ai/infrastructure/templates/github-workflows/ci.yml.template +170 -170
- package/.sinapse-ai/infrastructure/templates/github-workflows/pr-automation.yml.template +331 -331
- package/.sinapse-ai/infrastructure/templates/github-workflows/release.yml.template +197 -197
- package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +19 -19
- package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-node.tmpl +86 -86
- package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-python.tmpl +146 -146
- package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-sinapse-base.tmpl +64 -64
- package/.sinapse-ai/infrastructure/templates/safe-collab/CODEOWNERS.template +16 -16
- package/.sinapse-ai/infrastructure/templates/sinapse-sync.yaml.template +183 -183
- package/.sinapse-ai/install-manifest.yaml +112 -164
- package/.sinapse-ai/local-config.yaml.template +65 -65
- package/.sinapse-ai/product/templates/adr.hbs +126 -126
- package/.sinapse-ai/product/templates/dbdr.hbs +242 -242
- package/.sinapse-ai/product/templates/epic.hbs +213 -213
- package/.sinapse-ai/product/templates/ide-rules/codex-rules.md +30 -0
- package/.sinapse-ai/product/templates/pmdr.hbs +187 -187
- package/.sinapse-ai/product/templates/prd-v2.0.hbs +217 -217
- package/.sinapse-ai/product/templates/prd.hbs +202 -202
- package/.sinapse-ai/product/templates/statusline/statusline-script.js +31 -8
- package/.sinapse-ai/product/templates/statusline/track-agent-clear.cjs +79 -0
- package/.sinapse-ai/product/templates/statusline/track-agent.cjs +218 -0
- package/.sinapse-ai/product/templates/story.hbs +264 -264
- package/.sinapse-ai/product/templates/task.hbs +171 -171
- package/.sinapse-ai/product/templates/tmpl-comment-on-examples.sql +159 -159
- package/.sinapse-ai/product/templates/tmpl-migration-script.sql +92 -92
- package/.sinapse-ai/product/templates/tmpl-rls-granular-policies.sql +105 -105
- package/.sinapse-ai/product/templates/tmpl-rls-kiss-policy.sql +11 -11
- package/.sinapse-ai/product/templates/tmpl-rls-roles.sql +136 -136
- package/.sinapse-ai/product/templates/tmpl-rls-simple.sql +78 -78
- package/.sinapse-ai/product/templates/tmpl-rls-tenant.sql +153 -153
- package/.sinapse-ai/product/templates/tmpl-rollback-script.sql +78 -78
- package/.sinapse-ai/product/templates/tmpl-seed-data.sql +141 -141
- package/.sinapse-ai/product/templates/tmpl-smoke-test.sql +17 -17
- package/.sinapse-ai/product/templates/tmpl-staging-copy-merge.sql +140 -140
- package/.sinapse-ai/product/templates/tmpl-stored-proc.sql +141 -141
- package/.sinapse-ai/product/templates/tmpl-trigger.sql +153 -153
- package/.sinapse-ai/product/templates/tmpl-view-materialized.sql +134 -134
- package/.sinapse-ai/product/templates/tmpl-view.sql +178 -178
- package/AGENTS.md +193 -0
- package/CHANGELOG.md +1247 -0
- package/LICENSE +63 -63
- package/README.en.md +17 -18
- package/README.md +18 -19
- package/bin/cli.js +1 -1
- package/bin/commands/install.js +194 -22
- package/bin/commands/status.js +14 -1
- package/bin/commands/uninstall.js +2 -2
- package/bin/commands/update.js +52 -0
- package/bin/lib/setup-statusline.js +191 -0
- package/bin/sinapse-init.js +11 -83
- package/bin/utils/framework-guard.js +17 -4
- package/bin/utils/secret-scanner-core.js +109 -7
- package/bin/utils/staged-sql-guard.js +204 -0
- package/bin/utils/validate-publish.js +63 -0
- package/docs/agent-reference-guide.md +5 -7
- package/docs/framework/agent-prefix-convention.md +58 -0
- package/docs/framework/architecture-overview.md +4 -4
- package/docs/framework/collaboration-activation.md +45 -0
- package/docs/framework/guiding-principles.md +9 -9
- package/docs/getting-started.md +1 -1
- package/docs/guides/agent-reference.md +1 -1
- package/docs/guides/codex-config.md +4 -5
- package/docs/pt/architecture/sub-orqx-pattern.md +20 -18
- package/docs/security/overview.md +1 -1
- package/package.json +16 -12
- package/packages/installer/src/index.js +26 -0
- package/packages/installer/src/installer/git-hooks-installer.js +211 -47
- package/packages/installer/src/installer/sinapse-ai-installer.js +71 -0
- package/packages/installer/src/wizard/feedback.js +1 -1
- package/packages/installer/src/wizard/ide-config-generator.js +26 -26
- package/packages/installer/src/wizard/index.js +53 -4
- package/packages/sinapse-install/bin/edmcp.js +0 -0
- package/packages/sinapse-install/bin/sinapse-install.js +0 -0
- package/scripts/audit-tasks.cjs +112 -91
- package/scripts/check-markdown-links.py +352 -352
- package/scripts/prepare-hooks.js +58 -0
- package/scripts/regenerate-orqx-stubs.ps1 +2 -3
- package/scripts/sync-counts.js +10 -2
- package/scripts/sync-squad-yaml-components.js +108 -6
- package/scripts/validate-agents-md.js +128 -0
- package/scripts/validate-all.js +1 -0
- package/scripts/validate-squad-orqx.js +19 -9
- package/sinapse/agents/sinapse-orqx.md +16 -26
- package/sinapse/agents/snps-orqx.md +15 -25
- package/sinapse/knowledge-base/routing-catalog.md +1 -1
- package/sinapse/tasks/diagnose-and-route.md +1 -1
- package/sinapse/tasks/squad-status-report.md +1 -1
- package/squads/claude-code-mastery/agents/claude-mastery-chief.md +1 -1
- package/squads/claude-code-mastery/agents/hooks-architect.md +60 -68
- package/squads/claude-code-mastery/knowledge-base/swarm-orchestration-patterns.md +1 -1
- package/squads/claude-code-mastery/squad.yaml +8 -0
- package/squads/claude-code-mastery/tasks/audit-setup.md +1 -1
- package/squads/claude-code-mastery/workflows/optimization-cycle.yaml +4 -4
- package/squads/claude-code-mastery/workflows/project-setup-cycle.yaml +4 -4
- package/squads/squad-animations/README.md +1 -1
- package/squads/squad-animations/squad.yaml +1 -1
- package/squads/squad-brand/squad.yaml +1 -1
- package/squads/squad-cloning/README.md +1 -1
- package/squads/squad-cloning/squad.yaml +1 -1
- package/squads/squad-commercial/README.md +1 -1
- package/squads/squad-commercial/squad.yaml +2 -3
- package/squads/squad-content/README.md +1 -1
- package/squads/squad-content/squad.yaml +1 -1
- package/squads/squad-copy/README.md +1 -1
- package/squads/squad-copy/squad.yaml +2 -3
- package/squads/squad-council/README.md +1 -1
- package/squads/squad-courses/README.md +1 -1
- package/squads/squad-courses/squad.yaml +1 -1
- package/squads/squad-cybersecurity/README.md +1 -1
- package/squads/squad-cybersecurity/squad.yaml +2 -3
- package/squads/squad-design/README.md +1 -1
- package/squads/{squad-artdir β squad-design}/agents/cro-persuasion.md +1 -1
- package/squads/{squad-artdir β squad-design}/agents/platform-aesthetic-director.md +2 -2
- package/squads/{squad-artdir β squad-design}/agents/premium-packaging-strategist.md +2 -2
- package/squads/{squad-artdir β squad-design}/agents/product-surface-director.md +3 -3
- package/squads/squad-design/squad.yaml +6 -3
- package/squads/squad-finance/README.md +1 -1
- package/squads/squad-finance/squad.yaml +7 -1
- package/squads/squad-growth/README.md +1 -1
- package/squads/squad-growth/squad.yaml +1 -1
- package/squads/squad-paidmedia/README.md +1 -1
- package/squads/squad-paidmedia/squad.yaml +2 -3
- package/squads/squad-product/README.md +1 -1
- package/squads/squad-product/squad.yaml +1 -1
- package/squads/squad-research/README.md +1 -1
- package/squads/squad-research/squad.yaml +2 -3
- package/squads/squad-storytelling/README.md +1 -1
- package/squads/squad-storytelling/squad.yaml +2 -3
- package/.codex/agents/brad-frost.md +0 -46
- package/.codex/agents/claude-orqx.md +0 -72
- package/.codex/agents/copy-chief.md +0 -162
- package/.codex/agents/cyber-chief.md +0 -169
- package/.codex/agents/dan-mall.md +0 -43
- package/.codex/agents/data-chief.md +0 -198
- package/.codex/agents/dave-malouf.md +0 -43
- package/.codex/agents/db-sage.md +0 -152
- package/.codex/agents/design-chief.md +0 -226
- package/.codex/agents/dev.md +0 -102
- package/.codex/agents/legal-chief.md +0 -199
- package/.codex/agents/nano-banana-generator.md +0 -42
- package/.codex/agents/pm.md +0 -81
- package/.codex/agents/po.md +0 -85
- package/.codex/agents/qa.md +0 -98
- package/.codex/agents/sm.md +0 -77
- package/.codex/agents/squad-chief.md +0 -1553
- package/.codex/agents/squad.md +0 -66
- package/.codex/agents/story-chief.md +0 -180
- package/.codex/agents/tools-orqx.md +0 -219
- package/.codex/agents/traffic-masters-chief.md +0 -211
- package/.sinapse-ai/core/memory/__tests__/active-modules.verify.js +0 -265
- package/.sinapse-ai/core/permissions/__tests__/permission-mode.test.js +0 -293
- package/.sinapse-ai/data/registry-update-log.jsonl +0 -158
- package/.sinapse-ai/infrastructure/scripts/ide-sync/gemini-commands.js +0 -298
- package/.sinapse-ai/infrastructure/scripts/ide-sync/transformers/antigravity.js +0 -121
- package/.sinapse-ai/infrastructure/scripts/ide-sync/transformers/cursor.js +0 -119
- package/.sinapse-ai/infrastructure/scripts/ide-sync/transformers/github-copilot.js +0 -191
- package/.sinapse-ai/infrastructure/scripts/ide-sync/transformers/kimi.js +0 -448
- package/.sinapse-ai/infrastructure/tests/project-status-loader.test.js +0 -569
- package/.sinapse-ai/infrastructure/tests/regression-suite-v2.md +0 -622
- package/.sinapse-ai/infrastructure/tests/validate-module.js +0 -98
- package/.sinapse-ai/infrastructure/tests/worktree-manager.test.js +0 -620
- package/.sinapse-ai/monitor/hooks/lib/__init__.py +0 -2
- package/.sinapse-ai/monitor/hooks/lib/enrich.py +0 -59
- package/.sinapse-ai/monitor/hooks/lib/send_event.py +0 -48
- package/.sinapse-ai/monitor/hooks/notification.py +0 -30
- package/.sinapse-ai/monitor/hooks/post_tool_use.py +0 -46
- package/.sinapse-ai/monitor/hooks/pre_compact.py +0 -30
- package/.sinapse-ai/monitor/hooks/pre_tool_use.py +0 -41
- package/.sinapse-ai/monitor/hooks/stop.py +0 -30
- package/.sinapse-ai/monitor/hooks/subagent_stop.py +0 -30
- package/.sinapse-ai/monitor/hooks/user_prompt_submit.py +0 -39
- package/.sinapse-ai/product/templates/statusline/track-agent.sh +0 -69
- package/.sinapse-ai/workflow-intelligence/__tests__/confidence-scorer.test.js +0 -335
- package/.sinapse-ai/workflow-intelligence/__tests__/integration.test.js +0 -340
- package/.sinapse-ai/workflow-intelligence/__tests__/suggestion-engine.test.js +0 -438
- package/.sinapse-ai/workflow-intelligence/__tests__/wave-analyzer.test.js +0 -448
- package/.sinapse-ai/workflow-intelligence/__tests__/workflow-registry.test.js +0 -303
- package/bin/sinapse-graph.js +0 -19
- package/docs/codex-integration-process.md +0 -22
- package/docs/codex-parity-program.md +0 -27
- package/packages/installer/src/__tests__/performance-benchmark.js +0 -383
- package/packages/installer/tests/integration/environment-configuration.test.js +0 -332
- package/packages/installer/tests/integration/wizard-detection.test.js +0 -352
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +0 -383
- package/packages/installer/tests/unit/claude-md-template-v5/claude-md-template-v5.test.js +0 -193
- package/packages/installer/tests/unit/config-validator.test.js +0 -315
- package/packages/installer/tests/unit/detection/detect-project-type.test.js +0 -539
- package/packages/installer/tests/unit/doctor/doctor-checks.test.js +0 -636
- package/packages/installer/tests/unit/doctor/doctor-orchestrator.test.js +0 -192
- package/packages/installer/tests/unit/entity-registry-bootstrap.test.js +0 -186
- package/packages/installer/tests/unit/env-template.test.js +0 -187
- package/packages/installer/tests/unit/generate-settings-json/generate-settings-json.test.js +0 -310
- package/packages/installer/tests/unit/git-hooks-installer.test.js +0 -262
- package/packages/installer/tests/unit/ide-sync-integration/ide-sync-integration.test.js +0 -231
- package/packages/installer/tests/unit/merger/env-merger.test.js +0 -191
- package/packages/installer/tests/unit/merger/markdown-merger.test.js +0 -262
- package/packages/installer/tests/unit/merger/strategies.test.js +0 -154
- package/packages/installer/tests/unit/merger/yaml-merger.test.js +0 -328
- package/packages/sinapse-install/tests/unit/chrome-brain.smoke.test.js +0 -66
- package/scripts/install-monitor-hooks.sh +0 -82
- package/squads/squad-artdir/README.md +0 -90
- package/squads/squad-artdir/agents/accessibility-guardian.md +0 -184
- package/squads/squad-artdir/agents/artdir-orqx.md +0 -222
- package/squads/squad-artdir/agents/color-psychologist.md +0 -166
- package/squads/squad-artdir/agents/design-system-architect.md +0 -100
- package/squads/squad-artdir/agents/ia-architect.md +0 -169
- package/squads/squad-artdir/agents/interaction-designer.md +0 -162
- package/squads/squad-artdir/agents/layout-engineer.md +0 -163
- package/squads/squad-artdir/agents/motion-architect.md +0 -185
- package/squads/squad-artdir/agents/type-systemist.md +0 -138
- package/squads/squad-artdir/agents/visual-strategist.md +0 -127
- package/squads/squad-artdir/checklists/seven-pillars-validation-checklist.md +0 -172
- package/squads/squad-artdir/knowledge-base/case-nyo-ia-reference.md +0 -289
- package/squads/squad-artdir/knowledge-base/deliverables-templates.md +0 -457
- package/squads/squad-artdir/knowledge-base/motion-technique-catalog.md +0 -247
- package/squads/squad-artdir/knowledge-base/premium-packaging-principles.md +0 -133
- package/squads/squad-artdir/knowledge-base/psychological-toolkit.md +0 -229
- package/squads/squad-artdir/knowledge-base/saas-art-direction-canon.md +0 -242
- package/squads/squad-artdir/knowledge-base/seven-pillars-framework.md +0 -289
- package/squads/squad-artdir/knowledge-base/ten-pillars-framework.md +0 -221
- package/squads/squad-artdir/package.json +0 -20
- package/squads/squad-artdir/squad.yaml +0 -299
- package/squads/squad-artdir/tasks/audit-conversion.md +0 -97
- package/squads/squad-artdir/tasks/audit-drift-multi-surface.md +0 -55
- package/squads/squad-artdir/tasks/consult-saas-canon.md +0 -54
- package/squads/squad-artdir/tasks/create-art-direction-brief.md +0 -110
- package/squads/squad-artdir/tasks/create-premium-packaging-brief.md +0 -61
- package/squads/squad-artdir/tasks/create-wireflow.md +0 -84
- package/squads/squad-artdir/tasks/design-color-system.md +0 -81
- package/squads/squad-artdir/tasks/design-product-surface.md +0 -60
- package/squads/squad-artdir/tasks/design-token-system.md +0 -58
- package/squads/squad-artdir/tasks/diagnose-visual-language.md +0 -92
- package/squads/squad-artdir/tasks/first-5-minutes-choreography.md +0 -65
- package/squads/squad-artdir/tasks/specify-motion-system.md +0 -84
- package/squads/squad-artdir/tasks/validate-against-pillars.md +0 -143
- package/squads/squad-artdir/templates/art-direction-brief-template.md +0 -215
- package/squads/squad-artdir/workflows/conversion-audit-cycle.yaml +0 -142
- package/squads/squad-artdir/workflows/full-art-direction-cycle.yaml +0 -179
- package/squads/squad-artdir/workflows/saas-platform-art-direction-cycle.yaml +0 -338
- package/squads/squad-commercial/agents/legal-chief.md +0 -199
- package/squads/squad-copy/agents/copy-chief.md +0 -162
- package/squads/squad-cybersecurity/agents/cyber-chief.md +0 -169
- package/squads/squad-design/agents/design-chief.md +0 -226
- package/squads/squad-paidmedia/agents/traffic-masters-chief.md +0 -211
- package/squads/squad-research/agents/data-chief.md +0 -198
- package/squads/squad-storytelling/agents/story-chief.md +0 -180
package/LICENSE
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 BMad Code, LLC (BMad Method - original work)
|
|
4
|
-
Copyright (c) 2025 Synkra AIOX Inc. (AIOX Framework - intermediate work)
|
|
5
|
-
Copyright (c) 2025 SinapseAI Inc. (SINAPSE Framework - derivative work)
|
|
6
|
-
|
|
7
|
-
Portions of this software were derived from works distributed under the
|
|
8
|
-
MIT License by the copyright holders listed above. SINAPSE is NOT
|
|
9
|
-
affiliated with, endorsed by, or sanctioned by any of the above parties.
|
|
10
|
-
|
|
11
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions:
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|
|
28
|
-
|
|
29
|
-
TRADEMARK NOTICE:
|
|
30
|
-
BMad, BMad Method, and BMad Core are trademarks of BMad Code, LLC.
|
|
31
|
-
These trademarks are NOT licensed under the MIT License. See the BMad Method
|
|
32
|
-
TRADEMARK.md (https://github.com/bmad-code-org/BMAD-METHOD/blob/main/TRADEMARK.md)
|
|
33
|
-
for detailed guidelines on trademark usage.
|
|
34
|
-
|
|
35
|
-
PERSONA SIMULATION NOTICE:
|
|
36
|
-
SINAPSE includes simulated agent personas inspired by real public figures
|
|
37
|
-
(authors, investors, designers, advisors, story craftspeople). These personas
|
|
38
|
-
exist as educational and research tools that synthesize publicly available
|
|
39
|
-
work, frameworks, and ideas associated with each figure. They are used under
|
|
40
|
-
fair use for teaching, research, and creative inspiration.
|
|
41
|
-
|
|
42
|
-
Each simulated persona ships with an in-file disclaimer (machine-readable
|
|
43
|
-
marker `<!-- BEGIN PERSONA NOTICE -->`) stating:
|
|
44
|
-
|
|
45
|
-
* The persona is a simulation, not the real person.
|
|
46
|
-
* SINAPSE is not affiliated with, endorsed by, sponsored by, or in any way
|
|
47
|
-
officially connected to the real person.
|
|
48
|
-
* The simulated persona does not represent the views, opinions, statements,
|
|
49
|
-
or recommendations of the real person.
|
|
50
|
-
* No claim of ownership, agency, or representation of the real person is
|
|
51
|
-
asserted by SINAPSE or by any user of these personas.
|
|
52
|
-
* Use at your own discretion. Persons interacting with the simulated
|
|
53
|
-
persona acknowledge that any output is the product of language-model
|
|
54
|
-
inference over public material and should not be attributed to the real
|
|
55
|
-
person.
|
|
56
|
-
|
|
57
|
-
If you are a person represented by one of these simulated personas (or their
|
|
58
|
-
estate / authorized representative) and you object to the simulation, please
|
|
59
|
-
open an issue at https://github.com/caioimori/sinapse-ai/issues with the
|
|
60
|
-
subject "Persona Simulation Removal Request" and the persona will be removed
|
|
61
|
-
or renamed in the next release. We respect requests in good faith and act
|
|
62
|
-
quickly.
|
|
63
|
-
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 BMad Code, LLC (BMad Method - original work)
|
|
4
|
+
Copyright (c) 2025 Synkra AIOX Inc. (AIOX Framework - intermediate work)
|
|
5
|
+
Copyright (c) 2025 SinapseAI Inc. (SINAPSE Framework - derivative work)
|
|
6
|
+
|
|
7
|
+
Portions of this software were derived from works distributed under the
|
|
8
|
+
MIT License by the copyright holders listed above. SINAPSE is NOT
|
|
9
|
+
affiliated with, endorsed by, or sanctioned by any of the above parties.
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
|
|
29
|
+
TRADEMARK NOTICE:
|
|
30
|
+
BMad, BMad Method, and BMad Core are trademarks of BMad Code, LLC.
|
|
31
|
+
These trademarks are NOT licensed under the MIT License. See the BMad Method
|
|
32
|
+
TRADEMARK.md (https://github.com/bmad-code-org/BMAD-METHOD/blob/main/TRADEMARK.md)
|
|
33
|
+
for detailed guidelines on trademark usage.
|
|
34
|
+
|
|
35
|
+
PERSONA SIMULATION NOTICE:
|
|
36
|
+
SINAPSE includes simulated agent personas inspired by real public figures
|
|
37
|
+
(authors, investors, designers, advisors, story craftspeople). These personas
|
|
38
|
+
exist as educational and research tools that synthesize publicly available
|
|
39
|
+
work, frameworks, and ideas associated with each figure. They are used under
|
|
40
|
+
fair use for teaching, research, and creative inspiration.
|
|
41
|
+
|
|
42
|
+
Each simulated persona ships with an in-file disclaimer (machine-readable
|
|
43
|
+
marker `<!-- BEGIN PERSONA NOTICE -->`) stating:
|
|
44
|
+
|
|
45
|
+
* The persona is a simulation, not the real person.
|
|
46
|
+
* SINAPSE is not affiliated with, endorsed by, sponsored by, or in any way
|
|
47
|
+
officially connected to the real person.
|
|
48
|
+
* The simulated persona does not represent the views, opinions, statements,
|
|
49
|
+
or recommendations of the real person.
|
|
50
|
+
* No claim of ownership, agency, or representation of the real person is
|
|
51
|
+
asserted by SINAPSE or by any user of these personas.
|
|
52
|
+
* Use at your own discretion. Persons interacting with the simulated
|
|
53
|
+
persona acknowledge that any output is the product of language-model
|
|
54
|
+
inference over public material and should not be attributed to the real
|
|
55
|
+
person.
|
|
56
|
+
|
|
57
|
+
If you are a person represented by one of these simulated personas (or their
|
|
58
|
+
estate / authorized representative) and you object to the simulation, please
|
|
59
|
+
open an issue at https://github.com/caioimori/sinapse-ai/issues with the
|
|
60
|
+
subject "Persona Simulation Removal Request" and the persona will be removed
|
|
61
|
+
or renamed in the next release. We respect requests in good faith and act
|
|
62
|
+
quickly.
|
|
63
|
+
|
package/README.en.md
CHANGED
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
|
|
20
20
|
## What is SINAPSE?
|
|
21
21
|
|
|
22
|
-
SINAPSE is an open-source meta-framework that organizes **
|
|
22
|
+
SINAPSE is an open-source meta-framework that organizes **172 AI agents into 17 specialized squads**, operating directly in the terminal via Claude Code or Codex CLI. Each agent has a defined role, each squad masters a discipline, and the entire system is governed by a **Constitution with real enforcement** -- 19 active hooks that block violations at runtime.
|
|
23
23
|
|
|
24
|
-
The core concept is simple: instead of a single AI assistant trying to do everything, SINAPSE structures work into specialized teams. A branding squad handles visual identity. A cybersecurity squad handles compliance and pentesting. A copywriting squad handles persuasion and conversion. Each with its own knowledge base, workflows, and tasks -- totaling **1,
|
|
24
|
+
The core concept is simple: instead of a single AI assistant trying to do everything, SINAPSE structures work into specialized teams. A branding squad handles visual identity. A cybersecurity squad handles compliance and pentesting. A copywriting squad handles persuasion and conversion. Each with its own knowledge base, workflows, and tasks -- totaling **1,200 executable tasks** ready to use.
|
|
25
25
|
|
|
26
26
|
Unlike tools that just chat with AI, SINAPSE enforces discipline. The **Documentation-First** pipeline requires a story to be created and validated before any code is written. Quality gates run automatically before merge. Unauthorized agents are blocked from pushing. All via hooks that intercept operations in real time -- not after the fact.
|
|
27
27
|
|
|
@@ -31,7 +31,7 @@ Unlike tools that just chat with AI, SINAPSE enforces discipline. The **Document
|
|
|
31
31
|
|
|
32
32
|
Generative AI has a known problem: the more you ask of it, the worse it gets. A single assistant trying to do everything -- code, copy, branding, testing, deployment -- loses context, invents features, and suffers from context amnesia after just a few long iterations.
|
|
33
33
|
|
|
34
|
-
SINAPSE solves this the way human teams solve it: **coordinated specialization**. Instead of one tired generalist, you have
|
|
34
|
+
SINAPSE solves this the way human teams solve it: **coordinated specialization**. Instead of one tired generalist, you have 172 agents in 17 squads, each with a defined role, its own knowledge base, and executable tasks. An orchestrator routes your request to whoever actually knows how to solve it -- automatically, without you needing to memorize agent names or commands.
|
|
35
35
|
|
|
36
36
|
The differential isn't just the quantity of agents. It's **real governance**: 19 active hooks intercept operations at runtime, a Constitution with 10 articles governs the framework, and 6 of those articles are NON-NEGOTIABLE -- violations are blocked before execution, not detected afterwards. **Speed with rigor, without choosing between the two.**
|
|
37
37
|
|
|
@@ -60,7 +60,7 @@ npx sinapse-ai doctor
|
|
|
60
60
|
*help # List available commands
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
Done. You have
|
|
63
|
+
Done. You have 17 squads operating in your terminal.
|
|
64
64
|
|
|
65
65
|
---
|
|
66
66
|
|
|
@@ -238,32 +238,31 @@ The framework ensures no step is skipped. Each gate blocks automatically if the
|
|
|
238
238
|
|
|
239
239
|
---
|
|
240
240
|
|
|
241
|
-
##
|
|
241
|
+
## 17 Specialized Squads
|
|
242
242
|
|
|
243
243
|
Each squad is an autonomous team with its own orchestrator, specialist agents, knowledge base, tasks, and workflows.
|
|
244
244
|
|
|
245
245
|
| Squad | Domain | Agents |
|
|
246
246
|
|-------|--------|--------|
|
|
247
247
|
| **squad-brand** | Brand strategy, archetypes, visual audit | 15 |
|
|
248
|
-
| **squad-design** | Design systems, components, tokens, UI |
|
|
249
|
-
| **squad-copy** | Persuasive copywriting, headlines, conversion |
|
|
248
|
+
| **squad-design** | Design systems, components, tokens, UI, art direction, premium LP | 14 |
|
|
249
|
+
| **squad-copy** | Persuasive copywriting, headlines, conversion | 13 |
|
|
250
250
|
| **squad-council** | Strategic advisors (Munger, Dalio, Thiel, ...) | 11 |
|
|
251
|
-
| **squad-storytelling** | Narrative, scripts, story frameworks |
|
|
252
|
-
| **squad-commercial** | Sales, funnel, revenue, commercial pipeline |
|
|
253
|
-
| **squad-paidmedia** | Meta Ads, Google Ads, campaigns, optimization |
|
|
254
|
-
| **claude-code-mastery** | Advanced Claude Code, MCP, deep integration | 10 |
|
|
251
|
+
| **squad-storytelling** | Narrative, scripts, story frameworks | 10 |
|
|
252
|
+
| **squad-commercial** | Sales, funnel, revenue, commercial pipeline | 10 |
|
|
253
|
+
| **squad-paidmedia** | Meta Ads, Google Ads, campaigns, optimization | 9 |
|
|
255
254
|
| **squad-animations** | Motion design, CSS, particles, 3D | 9 |
|
|
256
255
|
| **squad-cloning** | Cognitive cloning, mind synthesis, digital twins | 9 |
|
|
257
|
-
| **squad-cybersecurity** | Threat intel, pentest, compliance, LGPD |
|
|
256
|
+
| **squad-cybersecurity** | Threat intel, pentest, compliance, LGPD | 8 |
|
|
258
257
|
| **squad-courses** | Courses, curricula, assessments, educational launch | 8 |
|
|
259
|
-
| **squad-research** | Market analysis, competitive intelligence |
|
|
260
|
-
| **claude-code-mastery** | Advanced Claude Code
|
|
258
|
+
| **squad-research** | Market analysis, competitive intelligence | 7 |
|
|
259
|
+
| **claude-code-mastery** | Advanced Claude Code, MCP, deep integration | 8 |
|
|
261
260
|
| **squad-content** | Editorial governance, content strategy | 7 |
|
|
262
261
|
| **squad-product** | Product discovery, strategy, operations | 7 |
|
|
263
262
|
| **squad-growth** | Analytics, CRO, SEO, growth hacking | 7 |
|
|
264
|
-
| **squad-finance** | Budget, pricing, profitability analysis |
|
|
263
|
+
| **squad-finance** | Budget, pricing, profitability analysis | 8 |
|
|
265
264
|
|
|
266
|
-
**Total:
|
|
265
|
+
**Total: 17 squads, 172 specialized agents, 1,200 tasks**
|
|
267
266
|
|
|
268
267
|
Activate any squad via its orchestrator:
|
|
269
268
|
|
|
@@ -287,7 +286,7 @@ SINAPSE supports two IDEs with deep integrations:
|
|
|
287
286
|
| **Claude Code** | `@agent-name` | Hooks, contextual rules, deny/allow, Chrome Brain |
|
|
288
287
|
| **Codex CLI** | `/skills` or `$skill-name` | Native skills, multi-model, `codex exec` for CI/CD |
|
|
289
288
|
|
|
290
|
-
Both IDEs have access to all
|
|
289
|
+
Both IDEs have access to all 17 squads, 172 agents, workflows, and knowledge bases. The installer detects and configures automatically.
|
|
291
290
|
|
|
292
291
|
### Parity Table
|
|
293
292
|
|
|
@@ -445,7 +444,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for full details.
|
|
|
445
444
|
npx sinapse-ai install
|
|
446
445
|
```
|
|
447
446
|
|
|
448
|
-
One command.
|
|
447
|
+
One command. 17 squads. 172 agents. Constitutional governance. All operating directly in the terminal.
|
|
449
448
|
|
|
450
449
|
**[Full documentation](docs/guides/getting-started.md)** β’ **[Report issue](https://github.com/caioimori/sinapse-ai/issues)** β’ **[Discussions](https://github.com/caioimori/sinapse-ai/discussions)**
|
|
451
450
|
|
package/README.md
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
## O que e o SINAPSE?
|
|
23
23
|
|
|
24
|
-
SINAPSE e um meta-framework open source que organiza **
|
|
24
|
+
SINAPSE e um meta-framework open source que organiza **172 agentes de IA em 17 squads especializados**, operando direto no terminal via Claude Code ou Codex CLI. Cada agente tem um papel definido, cada squad domina uma disciplina, e o sistema inteiro e governado por uma **Constitution com enforcement real** β 13 hooks ativos que bloqueiam violacoes em tempo de execucao.
|
|
25
25
|
|
|
26
|
-
O conceito central e simples: em vez de um unico assistente de IA tentando fazer tudo, o SINAPSE estrutura o trabalho em equipes especializadas. Um squad de branding cuida da identidade visual. Um squad de cybersecurity cuida de compliance e pentest. Um squad de copywriting cuida de persuasao e conversao. Cada um com sua propria knowledge base, workflows e tasks β totalizando **1.
|
|
26
|
+
O conceito central e simples: em vez de um unico assistente de IA tentando fazer tudo, o SINAPSE estrutura o trabalho em equipes especializadas. Um squad de branding cuida da identidade visual. Um squad de cybersecurity cuida de compliance e pentest. Um squad de copywriting cuida de persuasao e conversao. Cada um com sua propria knowledge base, workflows e tasks β totalizando **1.200 tasks executaveis** prontas para uso, distribuidas pelos 17 squads.
|
|
27
27
|
|
|
28
28
|
Diferente de ferramentas que apenas conversam com IA, o SINAPSE impoe disciplina. O pipeline **Documentation-First** exige que uma story seja criada e validada antes de qualquer linha de codigo. Quality gates rodam automaticamente antes de merge. Agentes nao autorizados sao bloqueados de fazer push. Tudo isso via hooks que interceptam operacoes em tempo real β nao depois.
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ Diferente de ferramentas que apenas conversam com IA, o SINAPSE impoe disciplina
|
|
|
33
33
|
|
|
34
34
|
IA generativa tem um problema conhecido: quanto mais voce pede, pior fica. Um unico assistente tentando fazer tudo β codigo, copy, branding, testes, deploy β perde contexto, inventa features e sofre de context amnesia depois de poucas iteracoes longas.
|
|
35
35
|
|
|
36
|
-
SINAPSE resolve isso do jeito que times humanos resolvem: **especializacao coordenada**. Em vez de um generalista cansado, voce tem
|
|
36
|
+
SINAPSE resolve isso do jeito que times humanos resolvem: **especializacao coordenada**. Em vez de um generalista cansado, voce tem 172 agentes em 17 squads, cada um com papel definido, knowledge base propria e tasks executaveis. Um orquestrador roteia seu pedido para quem realmente sabe resolver β automaticamente, sem voce precisar decorar agent names ou comandos.
|
|
37
37
|
|
|
38
38
|
O diferencial nao e apenas quantidade de agentes. E **governanca real**: 13 hooks ativos interceptam operacoes em tempo de execucao, uma Constitution com 10 artigos rege o framework, e 6 desses artigos sao NON-NEGOTIABLE β violacoes sao bloqueadas antes de executar, nao detectadas depois. **Velocidade com rigor, sem escolher entre os dois.**
|
|
39
39
|
|
|
@@ -67,7 +67,7 @@ Configuracao detalhada: [`docs/guides/grounding-setup.md`](docs/guides/grounding
|
|
|
67
67
|
npx sinapse-ai install
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
O wizard detecta seu ambiente, escolhe a IDE (Claude Code ou Codex), e instala os
|
|
70
|
+
O wizard detecta seu ambiente, escolhe a IDE (Claude Code ou Codex), e instala os 17 squads automaticamente. Re-rodar o comando faz upsert idempotente β preserva suas customizacoes e so atualiza o que mudou.
|
|
71
71
|
|
|
72
72
|
### 2. Verifique
|
|
73
73
|
|
|
@@ -85,7 +85,7 @@ Se algo estiver fora do lugar, `doctor --fix` corrige automaticamente.
|
|
|
85
85
|
*help # Lista comandos disponiveis
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
Pronto. Voce tem
|
|
88
|
+
Pronto. Voce tem 17 squads operando no seu terminal.
|
|
89
89
|
|
|
90
90
|
> **Nota sobre `npm install`:** A partir da v10.0.0-rc.4, o SINAPSE roda um postinstall automatico que sincroniza agents para o Claude Code, cria os diretorios de runtime (`.sinapse/handoffs/`, `.sinapse/scratchpad/`) e executa um health check rapido. Para desabilitar (CI, pipelines avancadas), defina `SINAPSE_SKIP_POSTINSTALL=1` antes do `npm install`, ou rode `npm install --ignore-scripts` (comportamento nativo do npm β nenhum postinstall eh executado). Nesse caso, rode `sinapse doctor --fix` apos a instalacao para garantir que o ambiente esteja pronto.
|
|
91
91
|
|
|
@@ -279,32 +279,31 @@ O framework garante que nenhuma etapa seja pulada. Cada gate bloqueia automatica
|
|
|
279
279
|
|
|
280
280
|
---
|
|
281
281
|
|
|
282
|
-
##
|
|
282
|
+
## 17 Squads Especializados
|
|
283
283
|
|
|
284
284
|
Cada squad e uma equipe autonoma com orquestrador, agentes especialistas, knowledge base, tasks e workflows proprios.
|
|
285
285
|
|
|
286
286
|
| Squad | Dominio | Agentes |
|
|
287
287
|
|-------|---------|---------|
|
|
288
288
|
| **squad-brand** | Estrategia de marca, arquetipos, auditoria visual | 15 |
|
|
289
|
-
| **squad-design** | Design systems, componentes, tokens, UI |
|
|
290
|
-
| **squad-copy** | Copywriting persuasivo, headlines, conversao |
|
|
289
|
+
| **squad-design** | Design systems, componentes, tokens, UI, art direction, LP premium | 14 |
|
|
290
|
+
| **squad-copy** | Copywriting persuasivo, headlines, conversao | 13 |
|
|
291
291
|
| **squad-council** | Advisors estrategicos (Munger, Dalio, Thiel, ...) | 11 |
|
|
292
|
-
| **squad-storytelling** | Narrativa, roteiros, frameworks de historia |
|
|
293
|
-
| **squad-commercial** | Vendas, funil, revenue, pipeline comercial |
|
|
294
|
-
| **squad-paidmedia** | Meta Ads, Google Ads, campanhas, otimizacao |
|
|
295
|
-
| **claude-code-mastery** | Claude Code avancado, MCP, integracao profunda | 10 |
|
|
292
|
+
| **squad-storytelling** | Narrativa, roteiros, frameworks de historia | 10 |
|
|
293
|
+
| **squad-commercial** | Vendas, funil, revenue, pipeline comercial | 10 |
|
|
294
|
+
| **squad-paidmedia** | Meta Ads, Google Ads, campanhas, otimizacao | 9 |
|
|
296
295
|
| **squad-animations** | Motion design, CSS, particulas, 3D | 9 |
|
|
297
296
|
| **squad-cloning** | Clonagem cognitiva, mind synthesis, digital twins | 9 |
|
|
298
|
-
| **squad-cybersecurity** | Threat intel, pentest, compliance, LGPD |
|
|
297
|
+
| **squad-cybersecurity** | Threat intel, pentest, compliance, LGPD | 8 |
|
|
299
298
|
| **squad-courses** | Cursos, curriculos, assessments, launch educacional | 8 |
|
|
300
|
-
| **squad-research** | Market analysis, inteligencia competitiva |
|
|
301
|
-
| **claude-code-mastery** |
|
|
299
|
+
| **squad-research** | Market analysis, inteligencia competitiva | 7 |
|
|
300
|
+
| **claude-code-mastery** | Claude Code avancado, MCP, integracao profunda | 8 |
|
|
302
301
|
| **squad-content** | Governanca editorial, estrategia de conteudo | 7 |
|
|
303
302
|
| **squad-product** | Product discovery, estrategia, operacoes | 7 |
|
|
304
303
|
| **squad-growth** | Analytics, CRO, SEO, growth hacking | 7 |
|
|
305
|
-
| **squad-finance** | Budget, pricing, profitability analysis |
|
|
304
|
+
| **squad-finance** | Budget, pricing, profitability analysis | 8 |
|
|
306
305
|
|
|
307
|
-
**Total:
|
|
306
|
+
**Total: 17 squads, 172 agentes especializados, 1.200 tasks**
|
|
308
307
|
|
|
309
308
|
Cada squad e ativado via seu orquestrador:
|
|
310
309
|
|
|
@@ -328,7 +327,7 @@ O SINAPSE suporta duas IDEs com integracoes profundas:
|
|
|
328
327
|
| **Claude Code** | `@agent-name` | Hooks, rules contextuais, deny/allow, Chrome Brain |
|
|
329
328
|
| **Codex CLI** | `/skills` ou `$skill-name` | Skills nativas, multi-model, `codex exec` para CI/CD |
|
|
330
329
|
|
|
331
|
-
Ambas as IDEs tem acesso a todos os
|
|
330
|
+
Ambas as IDEs tem acesso a todos os 17 squads, 172 agentes, workflows e knowledge bases. O installer detecta e configura automaticamente.
|
|
332
331
|
|
|
333
332
|
### Tabela de Paridade
|
|
334
333
|
|
|
@@ -488,7 +487,7 @@ Veja [CONTRIBUTING.md](CONTRIBUTING.md) para detalhes completos.
|
|
|
488
487
|
npx sinapse-ai install
|
|
489
488
|
```
|
|
490
489
|
|
|
491
|
-
Um comando.
|
|
490
|
+
Um comando. 17 squads. 172 agentes. Governanca constitucional. Tudo operando direto no terminal.
|
|
492
491
|
|
|
493
492
|
**[Documentacao completa](docs/guides/getting-started.md)** β’ **[Reportar issue](https://github.com/caioimori/sinapse-ai/issues)** β’ **[Discussions](https://github.com/caioimori/sinapse-ai/discussions)**
|
|
494
493
|
|
package/bin/cli.js
CHANGED
|
@@ -135,7 +135,7 @@ function runRouter() {
|
|
|
135
135
|
}
|
|
136
136
|
// eslint-disable-next-line no-fallthrough -- process.exit above terminates; Story 10.45 piggyback fix.
|
|
137
137
|
case 'list': cmdList(); break;
|
|
138
|
-
case 'status': cmdStatus(); break;
|
|
138
|
+
case 'status': cmdStatus({ watch: args.includes('--watch') }); break;
|
|
139
139
|
case 'ideate': {
|
|
140
140
|
// Wires the IdeationEngine (self-improvement analyzers) into the CLI.
|
|
141
141
|
const { cmdIdeate } = require('./commands/ideate');
|
package/bin/commands/install.js
CHANGED
|
@@ -149,24 +149,7 @@ async function cmdInstallGlobal(opts = {}) {
|
|
|
149
149
|
// Honors upsert + --reconfigure semantics established by Stories 10.20/10.35.
|
|
150
150
|
await promptGroundingSections({ isUpsert, reconfigure });
|
|
151
151
|
|
|
152
|
-
//
|
|
153
|
-
// destructive action so the user can abort if something looks wrong.
|
|
154
|
-
// This is part of the install UX hardening for the GA release: even when
|
|
155
|
-
// settings are reused (silent skip path), the user still sees what the
|
|
156
|
-
// installer is about to do.
|
|
157
|
-
logger.always('');
|
|
158
|
-
logger.always(`${BOLD}ββββ Resumo da instalacao ββββ${NC}`);
|
|
159
|
-
const langLabelMap = { pt: 'Portugues', portuguese: 'Portugues', en: 'English', english: 'English' };
|
|
160
|
-
logger.always(` Idioma: ${langLabelMap[language] || language}`);
|
|
161
|
-
const llmLabel = Array.isArray(llmChoice) ? llmChoice.join(', ') : String(llmChoice);
|
|
162
|
-
logger.always(` IDE: ${llmLabel}`);
|
|
163
|
-
logger.always(` Modo: ${isUpsert ? 'upsert (atualizar instalacao existente)' : 'fresh install'}`);
|
|
164
|
-
logger.always(` Destino: ~/.sinapse/`);
|
|
165
|
-
logger.always(`${BOLD}ββββββββββββββββββββββββββββββ${NC}`);
|
|
166
|
-
logger.always('');
|
|
167
|
-
logger.always(`${BOLD}Instalando Sinapse globalmente...${NC}\n`);
|
|
168
|
-
|
|
169
|
-
// Validate package β squads live in squads/ subdirectory
|
|
152
|
+
// Validate package + compute what will be installed (squads live in squads/).
|
|
170
153
|
const squadsDir = path.join(ROOT, 'squads');
|
|
171
154
|
const squads = getSquads(fs.existsSync(squadsDir) ? squadsDir : ROOT);
|
|
172
155
|
if (squads.length === 0) {
|
|
@@ -176,6 +159,65 @@ async function cmdInstallGlobal(opts = {}) {
|
|
|
176
159
|
process.exit(1);
|
|
177
160
|
}
|
|
178
161
|
|
|
162
|
+
// ββ Didactic preview + confirmation gate βββββββββββββββββββββββββ
|
|
163
|
+
// Surface EXACTLY what will be installed before any destructive action, and
|
|
164
|
+
// (interactive mode only) require an explicit choice before writing anything.
|
|
165
|
+
// Non-interactive / --yes / CI skips the gate and proceeds.
|
|
166
|
+
const langLabelMap = { pt: 'Portugues', portuguese: 'Portugues', en: 'English', english: 'English' };
|
|
167
|
+
const llmLabel = Array.isArray(llmChoice) ? llmChoice.join(', ') : String(llmChoice);
|
|
168
|
+
const agentTotal = squads.reduce((a, s) => a + (s.agents || 0), 0);
|
|
169
|
+
let hookCount = 0;
|
|
170
|
+
try {
|
|
171
|
+
hookCount = fs.readdirSync(path.join(ROOT, '.claude', 'hooks')).filter(f => /\.(cjs|js|py|sh)$/.test(f)).length;
|
|
172
|
+
} catch { /* hooks dir optional */ }
|
|
173
|
+
|
|
174
|
+
logger.always('');
|
|
175
|
+
logger.always(`${BOLD}ββββ O que serΓ‘ instalado ββββ${NC}`);
|
|
176
|
+
logger.always(` ${BOLD}${squads.length}${NC} squads Β· ${BOLD}${agentTotal}${NC} agentes especializados`);
|
|
177
|
+
logger.always(` Orquestrador master (Imperator) β chamΓ‘vel por ${CYAN}@sinapse${NC} / ${CYAN}@snps${NC}`);
|
|
178
|
+
if (hookCount) logger.always(` ${hookCount} hooks de proteΓ§Γ£o + regras do framework`);
|
|
179
|
+
logger.always(` Editor(es): ${BOLD}${llmLabel}${NC}`);
|
|
180
|
+
logger.always(` Idioma: ${langLabelMap[language] || language}`);
|
|
181
|
+
logger.always(` Modo: ${isUpsert ? 'atualizar instalaΓ§Γ£o existente' : 'instalaΓ§Γ£o nova'}`);
|
|
182
|
+
logger.always(` Destino: ${DIM}~/.sinapse/${NC} (nΓΊcleo) + ${DIM}~/.claude/agents/${NC} (agentes)`);
|
|
183
|
+
logger.always(`${BOLD}ββββββββββββββββββββββββββββββ${NC}`);
|
|
184
|
+
|
|
185
|
+
if (detectInteractiveMode()) {
|
|
186
|
+
const inquirer = require('inquirer');
|
|
187
|
+
let proceed = false;
|
|
188
|
+
while (!proceed) {
|
|
189
|
+
const { action } = await inquirer.prompt([{
|
|
190
|
+
type: 'list',
|
|
191
|
+
name: 'action',
|
|
192
|
+
message: 'Pronto para instalar:',
|
|
193
|
+
default: 'install',
|
|
194
|
+
choices: [
|
|
195
|
+
{ name: 'Instalar agora', value: 'install' },
|
|
196
|
+
{ name: 'Ver em detalhe o que serΓ‘ instalado', value: 'details' },
|
|
197
|
+
{ name: 'Cancelar (nada serΓ‘ alterado)', value: 'cancel' },
|
|
198
|
+
],
|
|
199
|
+
}]);
|
|
200
|
+
if (action === 'cancel') {
|
|
201
|
+
logger.always(`\n${YELLOW}InstalaΓ§Γ£o cancelada. Nada foi alterado.${NC}`);
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
if (action === 'details') {
|
|
205
|
+
logger.always('');
|
|
206
|
+
logger.always(`${BOLD}Squads e agentes:${NC}`);
|
|
207
|
+
for (const s of squads) {
|
|
208
|
+
logger.always(` β’ ${s.name.replace(/^squad-/, '')} β ${s.agents} agentes`);
|
|
209
|
+
}
|
|
210
|
+
logger.always('');
|
|
211
|
+
logger.always(`${DIM}TambΓ©m instala: o orquestrador master, ${hookCount} hooks de proteΓ§Γ£o, as regras do framework e os comandos /SINAPSE:agents:* .${NC}`);
|
|
212
|
+
logger.always(`${DIM}Onde: o nΓΊcleo vai para ~/.sinapse/ e os agentes chamΓ‘veis para ~/.claude/agents/. Nada fora disso Γ© tocado.${NC}`);
|
|
213
|
+
continue;
|
|
214
|
+
}
|
|
215
|
+
proceed = true;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
logger.always(`\n${BOLD}Instalando Sinapse globalmente...${NC}\n`);
|
|
220
|
+
|
|
179
221
|
// Phase 1: Copy squads to ~/.sinapse/
|
|
180
222
|
logger.always(`${CYAN}Phase 1:${NC} ${isUpsert ? 'Refreshing' : 'Copying'} squads to ~/.sinapse/`);
|
|
181
223
|
fs.mkdirSync(SINAPSE_HOME, { recursive: true });
|
|
@@ -244,8 +286,10 @@ async function cmdInstallGlobal(opts = {}) {
|
|
|
244
286
|
const agentsDir = path.join(SINAPSE_HOME, squad.name, 'agents');
|
|
245
287
|
if (!fs.existsSync(agentsDir)) continue;
|
|
246
288
|
|
|
247
|
-
|
|
248
|
-
|
|
289
|
+
// agent-invocation fix: generate a command/subagent for EVERY agent (not only -orqx),
|
|
290
|
+
// so every specialist is invokable via @agent and /SINAPSE:agents:agent.
|
|
291
|
+
const squadAgents = fs.readdirSync(agentsDir).filter(f => f.endsWith('.md'));
|
|
292
|
+
for (const file of squadAgents) {
|
|
249
293
|
const agentId = file.replace('.md', '');
|
|
250
294
|
const meta = extractAgentMeta(path.join(agentsDir, file));
|
|
251
295
|
const cmdContent = generateCommandMd(agentId, meta.name, meta.icon, squad.name, squadPath, file);
|
|
@@ -269,6 +313,25 @@ async function cmdInstallGlobal(opts = {}) {
|
|
|
269
313
|
}
|
|
270
314
|
}
|
|
271
315
|
}
|
|
316
|
+
|
|
317
|
+
// Master entry points (@sinapse, @snps, @sinapse-orqx, @snps-orqx) β rich Imperator stub.
|
|
318
|
+
// Overwrites the generic command file for the orqx names and adds the short aliases the
|
|
319
|
+
// user actually types. All four carry the baked-in greeting + auto-plan mandate.
|
|
320
|
+
if (fs.existsSync(sinapseMasterDest)) {
|
|
321
|
+
const masterSquadPath = `${sinapseBase}/sinapse`;
|
|
322
|
+
const masterEntryPoints = [
|
|
323
|
+
['sinapse-orqx', 'sinapse-orqx.md'],
|
|
324
|
+
['snps-orqx', 'snps-orqx.md'],
|
|
325
|
+
['sinapse', 'sinapse-orqx.md'],
|
|
326
|
+
['snps', 'snps-orqx.md'],
|
|
327
|
+
];
|
|
328
|
+
for (const [id, personaFile] of masterEntryPoints) {
|
|
329
|
+
const personaPath = `${masterSquadPath}/agents/${personaFile}`;
|
|
330
|
+
const stub = generateMasterStub(id, personaPath, masterSquadPath, squads);
|
|
331
|
+
fs.writeFileSync(path.join(CLAUDE_COMMANDS_DIR, `${id}.md`), stub);
|
|
332
|
+
writtenAgents.add(`${id}.md`);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
272
335
|
logger.always(` ${GREEN}OK${NC} ${writtenAgents.size} total command files`);
|
|
273
336
|
|
|
274
337
|
// Phase 2b: Install global agents based on LLM choice
|
|
@@ -425,6 +488,29 @@ async function cmdInstallGlobal(opts = {}) {
|
|
|
425
488
|
logger.always(` ${DIM}Run 'npx sinapse-ai install' in your project later to complete setup${NC}`);
|
|
426
489
|
}
|
|
427
490
|
|
|
491
|
+
// Phase 8b: Authoritative global-agent reconciliation. The project wizard invoked in
|
|
492
|
+
// Phase 8 re-installs a small subset (the orqx agents) to ~/.claude/agents/ in an older
|
|
493
|
+
// stale format, clobbering the rich stubs written in Phase 2b (incl. the Imperator
|
|
494
|
+
// greeting on @sinapse/@snps/-orqx). Re-copy the generated command files LAST so the
|
|
495
|
+
// rich, frontmatter'd stubs are always the final word. Idempotent.
|
|
496
|
+
try {
|
|
497
|
+
const reTargets = [];
|
|
498
|
+
if (llmChoice === 'claude-code' || llmChoice === 'both') reTargets.push(path.join(HOME, '.claude', 'agents'));
|
|
499
|
+
if (llmChoice === 'codex' || llmChoice === 'both') reTargets.push(path.join(HOME, '.codex', 'agents'));
|
|
500
|
+
if (reTargets.length && fs.existsSync(CLAUDE_COMMANDS_DIR)) {
|
|
501
|
+
const cmdFiles = fs.readdirSync(CLAUDE_COMMANDS_DIR).filter(f => f.endsWith('.md'));
|
|
502
|
+
for (const dir of reTargets) {
|
|
503
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
504
|
+
for (const f of cmdFiles) {
|
|
505
|
+
fs.copyFileSync(path.join(CLAUDE_COMMANDS_DIR, f), path.join(dir, f));
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
logger.always(` ${GREEN}OK${NC} Global agents reconciled (${cmdFiles.length} files β rich stubs authoritative)`);
|
|
509
|
+
}
|
|
510
|
+
} catch (e) {
|
|
511
|
+
logger.always(` ${YELLOW}WARN${NC} Global agent reconciliation: ${e.message}`);
|
|
512
|
+
}
|
|
513
|
+
|
|
428
514
|
// Verify
|
|
429
515
|
logger.always(`\n${CYAN}Verification:${NC}`);
|
|
430
516
|
verifyInstall();
|
|
@@ -449,9 +535,83 @@ async function cmdInstallGlobal(opts = {}) {
|
|
|
449
535
|
logger.always('');
|
|
450
536
|
}
|
|
451
537
|
|
|
538
|
+
// Rich Imperator stub for the master entry points (@sinapse, @snps, @sinapse-orqx,
|
|
539
|
+
// @snps-orqx). The identity (ASCII greeting + π signature + diagnoseβplanβdelegate
|
|
540
|
+
// mandate) is baked INLINE so activation is reliable β it does not depend on the model
|
|
541
|
+
// choosing to deep-read an external persona (which produced a shallow "modo orqx" before).
|
|
542
|
+
// The full persona (routing table, workflows, tasks) is still linked for depth.
|
|
543
|
+
function generateMasterStub(agentId, personaPath, squadPath, squads) {
|
|
544
|
+
const squadCount = squads.length;
|
|
545
|
+
const agentCount = squads.reduce((a, s) => a + (s.agents || 0), 0);
|
|
546
|
+
return `---
|
|
547
|
+
name: ${agentId}
|
|
548
|
+
description: "Imperator β Sinapse Master: supreme orchestrator of ${squadCount} squads / ${agentCount} agents. Diagnoses every briefing and auto-generates an orchestration plan."
|
|
549
|
+
---
|
|
550
|
+
|
|
551
|
+
# Imperator β Sinapse Master (${agentId})
|
|
552
|
+
|
|
553
|
+
ACTIVATION-NOTICE: You are now Imperator β the supreme orchestrator of the SINAPSE ecosystem. Every request passes through you first.
|
|
554
|
+
|
|
555
|
+
## YOUR ONLY FUNCTION β NON-NEGOTIABLE
|
|
556
|
+
|
|
557
|
+
You DIAGNOSE and HAND OFF. That is the whole job. You do **NOT** execute domain work β no code, no copy, no design, no research, no configuration, no file edits. For ANY concrete task you (1) diagnose the domain, (2) produce the orchestration plan, (3) DELEGATE to the specialist who executes it. If you ever feel the urge to do the work yourself, STOP β that is a violation; route it to the right agent instead.
|
|
558
|
+
|
|
559
|
+
## ON ACTIVATION β display this EXACTLY as your first output (before anything else)
|
|
560
|
+
|
|
561
|
+
\`\`\`
|
|
562
|
+
βββββββββββββββ βββ ββββββ βββββββ ββββββββββββββββ
|
|
563
|
+
ββββββββββββββββ βββββββββββββββββββββββββββββββββββ
|
|
564
|
+
βββββββββββββββββ βββββββββββββββββββββββββββββββββ
|
|
565
|
+
ββββββββββββββββββββββββββββββββββββ ββββββββββββββ
|
|
566
|
+
ββββββββββββββ βββββββββ ββββββ ββββββββββββββββ
|
|
567
|
+
ββββββββββββββ ββββββββ ββββββ ββββββββββββββββ
|
|
568
|
+
βββββββ βββββββ βββββββ βββ βββ
|
|
569
|
+
ββββββββββββββββββββββββββββββββββ
|
|
570
|
+
βββ ββββββββββββββ βββ ββββββ
|
|
571
|
+
βββ ββββββββββββββββ βββ ββββββ
|
|
572
|
+
ββββββββββββ ββββββββββββββββ βββ
|
|
573
|
+
βββββββ βββ βββ βββββββ βββ βββ
|
|
574
|
+
\`\`\`
|
|
575
|
+
|
|
576
|
+
\`\`\`
|
|
577
|
+
AI Agent Squads for Claude Code
|
|
578
|
+
${squadCount} squads Β· ${agentCount} agents
|
|
579
|
+
|
|
580
|
+
π Imperator β Sinapse Master ativado
|
|
581
|
+
|
|
582
|
+
Descreva seu objetivo que eu diagnostico o domΓnio
|
|
583
|
+
e roteio para o agente certo.
|
|
584
|
+
|
|
585
|
+
Comandos principais:
|
|
586
|
+
*route {pedido} β Diagnostica e roteia para a squad certa
|
|
587
|
+
*plan {iniciativa} β Desenha um plano de execuΓ§Γ£o multi-squad
|
|
588
|
+
*status β Reporta todas as squads e capacidades
|
|
589
|
+
*onboard β Tour guiado do ecossistema SINAPSE
|
|
590
|
+
*help β Mostra todos os comandos
|
|
591
|
+
\`\`\`
|
|
592
|
+
|
|
593
|
+
## AFTER THE GREETING β NON-NEGOTIABLE (Imperator's core function)
|
|
594
|
+
|
|
595
|
+
Check if the user provided a briefing with the activation:
|
|
596
|
+
- **Briefing provided** β proceed IMMEDIATELY: run the Initial State Audit β classify the request β produce an ORCHESTRATION PLAN (phases + squads + specific agents assigned + handoffs) β delegate to the specialists. NEVER ask "do you want me to plan?" β for Imperator the answer is always YES.
|
|
597
|
+
- **Bare activation** β await the briefing, then apply the same flow automatically on receipt.
|
|
598
|
+
|
|
599
|
+
You diagnose and DELEGATE β never execute domain work yourself. Route simple, well-defined requests directly to @specialist; complex ones to @{domain}-orqx; cross-domain ones by coordinating multiple orchestrators.
|
|
600
|
+
|
|
601
|
+
## FULL OPERATING PARAMETERS
|
|
602
|
+
|
|
603
|
+
For your complete persona β the routing table of all squads, the Initial State Audit, the Documentation-First gate, NSN enforcement, and every workflow and task β read and ADOPT:
|
|
604
|
+
\`${personaPath}\`
|
|
605
|
+
Tasks: \`${squadPath}/tasks/\` Β· Workflows: \`${squadPath}/workflows/\` Β· Manifest: \`${squadPath}/squad.yaml\`
|
|
606
|
+
|
|
607
|
+
β Imperator, orchestrating SINAPSE
|
|
608
|
+
`;
|
|
609
|
+
}
|
|
610
|
+
|
|
452
611
|
function generateCommandMd(agentId, agentName, agentIcon, squadName, squadPath, agentFile) {
|
|
453
612
|
// Detecta se Γ© orquestrador: id termina em -orqx OU Γ© Imperator (snps-orqx/sinapse-orqx)
|
|
454
|
-
|
|
613
|
+
// ou um dos apelidos curtos do master (sinapse/snps).
|
|
614
|
+
const isOrchestrator = /-orqx$/.test(agentId) || agentId === 'snps-orqx' || agentId === 'sinapse-orqx' || agentId === 'sinapse' || agentId === 'snps';
|
|
455
615
|
|
|
456
616
|
const step4 = isOrchestrator
|
|
457
617
|
? `4. Briefing-on-activation check (this agent is an ORCHESTRATOR):
|
|
@@ -465,7 +625,19 @@ function generateCommandMd(agentId, agentName, agentIcon, squadName, squadPath,
|
|
|
465
625
|
- If bare activation β await briefing, then plan automatically. NEVER ask "do you want me to plan?".`
|
|
466
626
|
: `6. HALT and await user input`;
|
|
467
627
|
|
|
468
|
-
|
|
628
|
+
// Frontmatter (name + description) is REQUIRED so the file resolves as a Claude Code
|
|
629
|
+
// subagent (@id) β without it, @id matches nothing. The same file doubles as a slash
|
|
630
|
+
// command (/SINAPSE:agents:id); extra frontmatter is harmless there.
|
|
631
|
+
const fmDesc = (isOrchestrator
|
|
632
|
+
? `${agentName || agentId} β orchestrator for ${squadName}; diagnoses, routes to specialists and auto-generates an orchestration plan`
|
|
633
|
+
: `${agentName || agentId} β ${squadName} specialist`).replace(/["\n\r]/g, ' ').trim();
|
|
634
|
+
|
|
635
|
+
return `---
|
|
636
|
+
name: ${agentId}
|
|
637
|
+
description: "${fmDesc}"
|
|
638
|
+
---
|
|
639
|
+
|
|
640
|
+
# ${agentId}
|
|
469
641
|
|
|
470
642
|
ACTIVATION-NOTICE: This command activates an agent from ${squadName}.
|
|
471
643
|
|
package/bin/commands/status.js
CHANGED
|
@@ -56,8 +56,21 @@ function cmdList() {
|
|
|
56
56
|
logger.always('');
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
function cmdStatus() {
|
|
59
|
+
function cmdStatus({ watch = false } = {}) {
|
|
60
60
|
const logger = getLogger();
|
|
61
|
+
|
|
62
|
+
// D7 β live observability panel. `--watch` drives the animated panel from
|
|
63
|
+
// the runtime status sources (Bob dashboard + per-cwd session-cache).
|
|
64
|
+
if (watch) {
|
|
65
|
+
const { ObservabilityPanel } = require('../../.sinapse-ai/core/ui/observability-panel');
|
|
66
|
+
const handle = ObservabilityPanel.watchFromStatusFile(process.cwd(), {});
|
|
67
|
+
process.on('SIGINT', () => {
|
|
68
|
+
handle.stop();
|
|
69
|
+
process.exit(0);
|
|
70
|
+
});
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
|
|
61
74
|
header();
|
|
62
75
|
|
|
63
76
|
// Check global install
|
|
@@ -51,8 +51,8 @@ async function removeGitHooksConfig(projectDir = process.cwd()) {
|
|
|
51
51
|
// Story 10.40 β Remove SINAPSE-authored orqx agents from a global agents dir.
|
|
52
52
|
// Returns { removed: N } for reporting. Only touches files matching *-orqx.md
|
|
53
53
|
// so we don't accidentally remove user-authored agents.
|
|
54
|
-
// Audit 1 P0 (UN-1) β install writes ~
|
|
55
|
-
// ~/.codex/agents/ but uninstall historically removed only `*-orqx.md` (~
|
|
54
|
+
// Audit 1 P0 (UN-1) β install writes ~170 agent files to ~/.claude/agents/ +
|
|
55
|
+
// ~/.codex/agents/ but uninstall historically removed only `*-orqx.md` (~18
|
|
56
56
|
// files). Files were left orphaned. Fix: install records every authored
|
|
57
57
|
// filename in ~/.sinapse/installed-agents.json; uninstall reads that manifest
|
|
58
58
|
// and removes only those files (preserving anything the user added by hand).
|