sinapse-ai 1.19.2 → 1.20.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/CLAUDE.md +2 -2
- package/.claude/hooks/enforce-delegation.cjs +32 -36
- package/.claude/rules/agent-handoff.md +10 -21
- package/.claude/rules/mandatory-delegation.md +1 -1
- package/.claude/rules/token-economy.md +12 -5
- package/.sinapse-ai/constitution.md +2 -0
- package/.sinapse-ai/core/atlas/flows-pt.js +6 -0
- package/.sinapse-ai/core/atlas/flows.js +7 -0
- package/.sinapse-ai/core/atlas/render-html.js +10 -8
- package/.sinapse-ai/core/atlas/render-markdown.js +8 -0
- package/.sinapse-ai/core/doctor/checks/constitution-consistency.js +7 -0
- package/.sinapse-ai/core/execution/autonomous-build-loop.js +10 -4
- package/.sinapse-ai/core/execution/build-orchestrator.js +73 -2
- package/.sinapse-ai/core/execution/rate-limit-manager.js +2 -0
- package/.sinapse-ai/core/execution/result-aggregator.js +2 -0
- package/.sinapse-ai/core/health-check/checks/project/constitution-consistency.js +12 -1
- package/.sinapse-ai/core/orchestration/cli-commands.js +121 -4
- package/.sinapse-ai/core/orchestration/executors/epic-4-executor.js +10 -2
- package/.sinapse-ai/core/orchestration/executors/epic-6-executor.js +53 -2
- package/.sinapse-ai/core/orchestration/index.js +3 -0
- package/.sinapse-ai/core/orchestration/master-orchestrator.js +116 -18
- package/.sinapse-ai/core/registry/service-registry.json +2 -32
- package/.sinapse-ai/core/synapse/context/context-tracker.js +118 -11
- package/.sinapse-ai/core/synapse/engine.js +18 -3
- package/.sinapse-ai/core/synapse/layers/l0-constitution.js +189 -8
- package/.sinapse-ai/core/synapse/output/formatter.js +65 -25
- package/.sinapse-ai/core-config.yaml +8 -1
- package/.sinapse-ai/data/entity-registry.yaml +492 -246
- package/.sinapse-ai/development/agents/analyst.md +18 -34
- package/.sinapse-ai/development/agents/architect.md +18 -34
- package/.sinapse-ai/development/agents/data-engineer.md +15 -28
- package/.sinapse-ai/development/agents/developer.md +18 -40
- package/.sinapse-ai/development/agents/devops.md +15 -28
- package/.sinapse-ai/development/agents/product-lead.md +18 -34
- package/.sinapse-ai/development/agents/project-lead.md +18 -34
- package/.sinapse-ai/development/agents/quality-gate.md +18 -34
- package/.sinapse-ai/development/agents/snps-orqx.md +5 -5
- package/.sinapse-ai/development/agents/sprint-lead.md +20 -36
- package/.sinapse-ai/development/agents/squad-creator.md +15 -27
- package/.sinapse-ai/development/agents/ux-design-expert.md +15 -27
- package/.sinapse-ai/development/scripts/agent-exit-hooks.js +13 -4
- package/.sinapse-ai/development/scripts/populate-entity-registry.js +3 -0
- package/.sinapse-ai/development/tasks/execute-epic-plan.md +0 -4
- package/.sinapse-ai/development/workflows/epic-orchestration.yaml +0 -1
- package/.sinapse-ai/git-hooks/lib/staged-secret-scan.js +3 -1
- package/.sinapse-ai/infrastructure/integrations/ai-providers/README.md +2 -2
- package/.sinapse-ai/install-manifest.yaml +94 -126
- package/.sinapse-ai/product/templates/activation-instructions-template.md +72 -185
- package/.sinapse-ai/product/templates/ide-rules/claude-rules.md +45 -274
- package/.sinapse-ai/product/templates/personalized-agent-template.md +3 -5
- package/.sinapse-ai/product/templates/statusline/agent-badges.json +2 -2
- package/.sinapse-ai/product/templates/statusline/statusline-script.js +5 -3
- package/.sinapse-ai/workflow-intelligence/index.js +3 -21
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +50 -2
- package/README.md +10 -0
- package/bin/cli.js +29 -0
- package/bin/commands/help.js +5 -0
- package/bin/commands/install.js +5 -4
- package/bin/commands/uninstall.js +5 -0
- package/bin/lib/command-generator.js +4 -4
- package/bin/lib/fs-utils.js +18 -0
- package/bin/lib/setup-statusline.js +3 -1
- package/bin/modules/chrome-brain-installer.js +5 -3
- package/bin/modules/mcp-installer.js +3 -6
- package/bin/postinstall.js +9 -1
- package/bin/sinapse-init.js +8 -9
- package/bin/sinapse.js +152 -2
- package/bin/utils/staged-secret-scan.js +3 -1
- package/docs/framework/atlas/OPERATING-ATLAS.md +3 -3
- package/docs/framework/atlas/atlas-data.json +27 -27
- package/docs/framework/atlas/atlas.html +12 -10
- package/docs/framework/source-tree.md +2 -3
- package/docs/framework/workflow-engine-status.md +70 -0
- package/docs/guides/ade-guide.md +4 -2
- package/docs/guides/api-reference.md +2 -0
- package/docs/guides/permission-modes.md +2 -0
- package/docs/guides/user-guide.md +21 -7
- package/docs/guides/workflows/AUTO-WORKTREE-WORKFLOW.md +2 -2
- package/docs/pt/architecture/ade-architecture.md +2 -0
- package/docs/pt/architecture/high-level-architecture.md +1 -1
- package/docs/pt/guides/ade-guide.md +4 -2
- package/docs/pt/guides/api-reference.md +2 -0
- package/docs/pt/guides/permission-modes.md +2 -0
- package/docs/pt/guides/user-guide.md +21 -7
- package/docs/pt/platforms/claude-code.md +2 -2
- package/docs/sinapse-workflows/auto-worktree-workflow.md +2 -2
- package/package.json +1 -1
- package/packages/installer/src/config/configure-environment.js +14 -6
- package/packages/installer/src/config/templates/core-config-template.js +43 -1
- package/packages/installer/src/installer/brownfield-upgrader.js +5 -3
- package/packages/installer/src/installer/file-hasher.js +29 -21
- package/packages/installer/src/installer/manifest-signature.js +61 -49
- package/packages/installer/src/installer/post-install-validator.js +24 -17
- package/packages/installer/src/installer/synapse-runtime-installer.js +148 -0
- package/packages/installer/src/merger/parsers/markdown-section-parser.js +3 -2
- package/packages/installer/src/updater/index.js +7 -1
- package/packages/installer/src/utils/atomic-write.js +35 -0
- package/packages/installer/src/wizard/i18n.js +294 -0
- package/packages/installer/src/wizard/index.js +31 -3
- package/packages/installer/src/wizard/validation/troubleshooting-system.js +60 -131
- package/packages/sinapse-install/src/capabilities/chrome-brain.js +5 -3
- package/packages/sinapse-install/src/installer.js +3 -1
- package/packages/sinapse-install/src/utils/atomic-write.js +67 -0
- package/scripts/apply-persona-disclaimer.js +2 -1
- package/scripts/bracket-report.js +103 -0
- package/scripts/sinapse-patch.js +2 -1
- package/scripts/sync-squad-yaml-components.js +2 -1
- package/scripts/validate-agent-codenames.js +168 -37
- package/scripts/validate-agents-md.js +2 -1
- package/scripts/validate-article-xi.js +10 -8
- package/scripts/validate-install-docs.js +23 -2
- package/scripts/validate-no-external-refs.js +14 -8
- package/sinapse/agents/sinapse-orqx.md +3 -3
- package/sinapse/agents/snps-orqx.md +3 -3
- package/sinapse/knowledge-base/routing-catalog.md +1 -1
- package/sinapse/tasks/diagnose-and-route.md +1 -1
- package/squads/claude-code-mastery/CHANGELOG.md +1 -1
- package/squads/claude-code-mastery/README.md +6 -6
- package/squads/claude-code-mastery/agents/claude-mastery-chief.md +10 -15
- package/squads/claude-code-mastery/agents/config-engineer.md +5 -12
- package/squads/claude-code-mastery/agents/hooks-architect.md +5 -11
- package/squads/claude-code-mastery/agents/mcp-integrator.md +5 -12
- package/squads/claude-code-mastery/agents/project-integrator.md +5 -12
- package/squads/claude-code-mastery/agents/roadmap-sentinel.md +14 -21
- package/squads/claude-code-mastery/agents/skill-craftsman.md +5 -11
- package/squads/claude-code-mastery/agents/swarm-orqx.md +20 -33
- package/squads/claude-code-mastery/data/claude-code-quick-ref.yaml +1 -1
- package/squads/claude-code-mastery/knowledge-base/claude-code-internals-deep.md +4 -4
- package/squads/claude-code-mastery/knowledge-base/claude-code-internals-reference.md +4 -4
- package/squads/claude-code-mastery/tasks/create-agent-definition.md +6 -6
- package/squads/claude-code-mastery/tasks/create-team-topology.md +3 -3
- package/squads/claude-code-mastery/tasks/diagnose.md +1 -1
- package/squads/claude-code-mastery/tasks/parallel-decomposition.md +1 -1
- package/squads/claude-code-mastery/tasks/worktree-strategy.md +1 -1
- package/squads/squad-animations/README.md +1 -1
- package/squads/squad-animations/agents/animation-interpreter.md +5 -5
- package/squads/squad-animations/agents/animations-orqx.md +6 -6
- package/squads/squad-animations/squad.yaml +1 -1
- package/squads/squad-animations/tasks/analyze-reference-animation.md +1 -1
- package/squads/squad-animations/tasks/build-animation-brief.md +1 -1
- package/squads/squad-animations/tasks/create-animation-storyboard.md +1 -1
- package/squads/squad-animations/tasks/cross-reference-brand-system.md +1 -1
- package/squads/squad-animations/tasks/extract-animation-intent.md +1 -1
- package/squads/squad-animations/tasks/generate-motion-vocabulary.md +1 -1
- package/squads/squad-animations/tasks/identify-website-animation.md +1 -1
- package/squads/squad-animations/tasks/interpret-animation-prompt.md +1 -1
- package/squads/squad-animations/tasks/refine-animation-specification.md +1 -1
- package/squads/squad-animations/tasks/translate-feeling-to-parameters.md +1 -1
- package/squads/squad-animations/tasks/validate-animation-feasibility.md +1 -1
- package/squads/squad-animations/workflows/prompt-to-animation-cycle.yaml +2 -2
- package/squads/squad-brand/agents/brand-auditor.md +1 -1
- package/squads/squad-brand/agents/brand-compiler.md +1 -1
- package/squads/squad-brand/agents/brand-motion-vfx.md +5 -5
- package/squads/squad-brand/agents/brand-orqx.md +2 -2
- package/squads/squad-brand/agents/brand-sonic-designer.md +1 -1
- package/squads/squad-brand/squad.yaml +1 -1
- package/squads/squad-brand/tasks/create-animation-library.md +1 -1
- package/squads/squad-brand/tasks/create-brand-characters.md +2 -2
- package/squads/squad-brand/tasks/create-event-branding.md +2 -2
- package/squads/squad-brand/tasks/create-micro-interactions.md +1 -1
- package/squads/squad-brand/tasks/create-page-transitions.md +1 -1
- package/squads/squad-brand/tasks/create-video-templates.md +1 -1
- package/squads/squad-brand/tasks/create-web-templates.md +1 -1
- package/squads/squad-brand/tasks/define-motion-language.md +1 -1
- package/squads/squad-brand/tasks/design-dynamic-identity-system.md +2 -2
- package/squads/squad-brand/tasks/design-illustration-system.md +1 -1
- package/squads/squad-commercial/README.md +3 -3
- package/squads/squad-commercial/agents/commercial-orqx.md +8 -8
- package/squads/squad-commercial/agents/cs-crm-specialist.md +3 -3
- package/squads/squad-commercial/agents/cs-revops-analyst.md +3 -3
- package/squads/squad-commercial/agents/cs-sales-closer.md +1 -1
- package/squads/squad-commercial/knowledge-base/commercial-analytics-reporting.md +7 -7
- package/squads/squad-commercial/knowledge-base/sales-revenue-master-reference.md +1 -1
- package/squads/squad-commercial/squad.yaml +3 -3
- package/squads/squad-commercial/tasks/analyze-revenue-leaks.md +2 -2
- package/squads/squad-commercial/tasks/audit-commercial-tech-stack.md +1 -1
- package/squads/squad-commercial/tasks/audit-crm-data.md +1 -1
- package/squads/squad-commercial/tasks/build-deal-scoring-model.md +1 -1
- package/squads/squad-commercial/tasks/build-forecasting-model.md +1 -1
- package/squads/squad-commercial/tasks/build-pipeline-dashboard.md +2 -2
- package/squads/squad-commercial/tasks/build-unit-economics-model.md +1 -1
- package/squads/squad-commercial/tasks/conduct-commercial-retrospective.md +2 -2
- package/squads/squad-commercial/tasks/conduct-deal-review.md +1 -1
- package/squads/squad-commercial/tasks/conduct-win-loss-analysis.md +1 -1
- package/squads/squad-commercial/tasks/configure-activity-tracking.md +1 -1
- package/squads/squad-commercial/tasks/configure-crm-integrations.md +1 -1
- package/squads/squad-commercial/tasks/configure-pipeline-stages.md +1 -1
- package/squads/squad-commercial/tasks/coordinate-revenue-cycle.md +1 -1
- package/squads/squad-commercial/tasks/create-commercial-brief.md +2 -2
- package/squads/squad-commercial/tasks/create-revenue-dashboard.md +1 -1
- package/squads/squad-commercial/tasks/design-lead-routing.md +1 -1
- package/squads/squad-commercial/tasks/design-quota-model.md +1 -1
- package/squads/squad-commercial/tasks/execute-save-play.md +1 -1
- package/squads/squad-commercial/tasks/manage-commercial-handoffs.md +1 -1
- package/squads/squad-commercial/tasks/manage-pipeline-forecast.md +3 -3
- package/squads/squad-commercial/tasks/monitor-pipeline-health.md +1 -1
- package/squads/squad-commercial/tasks/monitor-saas-metrics.md +1 -1
- package/squads/squad-commercial/tasks/plan-sales-capacity.md +1 -1
- package/squads/squad-commercial/tasks/plan-territory-mapping.md +1 -1
- package/squads/squad-commercial/tasks/review-revenue-architecture.md +2 -2
- package/squads/squad-commercial/tasks/run-quarterly-commercial-review.md +3 -3
- package/squads/squad-commercial/tasks/select-commercial-workflow.md +1 -1
- package/squads/squad-commercial/tasks/setup-outreach-sequences.md +1 -1
- package/squads/squad-commercial/templates/offer-brief-template.md +2 -2
- package/squads/squad-commercial/workflows/new-offer-launch.yaml +2 -2
- package/squads/squad-commercial/workflows/quarterly-commercial-review.yaml +1 -1
- package/squads/squad-commercial/workflows/revenue-forecasting-cycle.yaml +2 -2
- package/squads/squad-content/README.md +1 -1
- package/squads/squad-content/agents/content-analyst.md +4 -4
- package/squads/squad-content/agents/content-engineer.md +2 -2
- package/squads/squad-content/agents/content-governor.md +1 -1
- package/squads/squad-content/agents/content-orqx.md +6 -6
- package/squads/squad-content/agents/editorial-strategist.md +5 -5
- package/squads/squad-content/agents/platform-specialist.md +1 -1
- package/squads/squad-content/agents/signal-intelligence.md +4 -4
- package/squads/squad-content/checklists/editorial-planning-checklist.md +1 -1
- package/squads/squad-content/checklists/onboarding-setup-checklist.md +2 -2
- package/squads/squad-content/knowledge-base/ai-native-content-loop.md +2 -2
- package/squads/squad-content/knowledge-base/content-governance-principles.md +2 -2
- package/squads/squad-content/knowledge-base/cross-squad-integration-protocol.md +1 -1
- package/squads/squad-content/knowledge-base/signal-intelligence-v2.md +1 -1
- package/squads/squad-content/knowledge-base/task-ownership-map.md +5 -5
- package/squads/squad-content/squad.yaml +2 -2
- package/squads/squad-content/tasks/alert-opportunity-windows.md +6 -6
- package/squads/squad-content/tasks/analyze-content-performance.md +2 -2
- package/squads/squad-content/tasks/batch-content-production.md +1 -1
- package/squads/squad-content/tasks/benchmark-against-competitors.md +1 -1
- package/squads/squad-content/tasks/coordinate-cross-squad.md +1 -1
- package/squads/squad-content/tasks/create-content-governance.md +1 -1
- package/squads/squad-content/tasks/create-editorial-calendar.md +1 -1
- package/squads/squad-content/tasks/curate-ugc-signals.md +2 -2
- package/squads/squad-content/tasks/define-big-idea.md +1 -1
- package/squads/squad-content/tasks/define-content-kpis.md +1 -1
- package/squads/squad-content/tasks/flag-content-for-amplification.md +2 -2
- package/squads/squad-content/tasks/generate-content-report.md +3 -3
- package/squads/squad-content/tasks/manage-content-sprint.md +1 -1
- package/squads/squad-content/tasks/measure-content-roi.md +3 -3
- package/squads/squad-content/tasks/orchestrate-content-pipeline.md +2 -2
- package/squads/squad-content/tasks/plan-content-sprint.md +3 -3
- package/squads/squad-content/tasks/predict-content-performance.md +2 -2
- package/squads/squad-content/tasks/scan-daily-signals.md +2 -2
- package/squads/squad-content/tasks/triage-content-requests.md +1 -1
- package/squads/squad-content/tasks/triage-urgent-signal.md +1 -1
- package/squads/squad-content/templates/signal-alert-template.md +2 -2
- package/squads/squad-content/templates/weekly-briefing-template.md +1 -1
- package/squads/squad-content/workflows/content-audit-cycle.yaml +1 -1
- package/squads/squad-content/workflows/content-creation-cycle.yaml +3 -3
- package/squads/squad-content/workflows/editorial-planning-cycle.yaml +3 -3
- package/squads/squad-content/workflows/onboarding-content-cycle.yaml +3 -3
- package/squads/squad-content/workflows/performance-feedback-loop.yaml +3 -3
- package/squads/squad-content/workflows/signal-to-content-cycle.yaml +5 -5
- package/squads/squad-copy/README.md +4 -4
- package/squads/squad-copy/agents/ad-copywriter.md +4 -4
- package/squads/squad-copy/agents/copy-orqx.md +3 -3
- package/squads/squad-copy/agents/copy-strategist.md +5 -5
- package/squads/squad-copy/agents/direct-response-writer.md +3 -3
- package/squads/squad-copy/agents/email-sequence-strategist.md +1 -1
- package/squads/squad-copy/agents/funnel-copywriter.md +3 -3
- package/squads/squad-copy/agents/headline-specialist.md +1 -1
- package/squads/squad-copy/agents/proof-architect.md +3 -3
- package/squads/squad-copy/squad.yaml +3 -3
- package/squads/squad-copy/tasks/build-proof-stack.md +3 -3
- package/squads/squad-copy/tasks/craft-cta-variations.md +2 -2
- package/squads/squad-copy/tasks/craft-email-nurture-sequence.md +2 -2
- package/squads/squad-copy/tasks/craft-objection-handlers.md +1 -1
- package/squads/squad-copy/tasks/craft-social-media-hooks.md +1 -1
- package/squads/squad-copy/tasks/create-cart-abandonment-sequence.md +2 -2
- package/squads/squad-copy/tasks/create-customer-story.md +2 -2
- package/squads/squad-copy/tasks/create-email-campaign.md +2 -2
- package/squads/squad-copy/tasks/create-mechanism-copy.md +4 -4
- package/squads/squad-copy/tasks/create-opening-hooks.md +1 -1
- package/squads/squad-copy/tasks/create-ugc-script.md +2 -2
- package/squads/squad-copy/tasks/create-urgency-scarcity-framework.md +1 -1
- package/squads/squad-copy/tasks/create-welcome-sequence.md +2 -2
- package/squads/squad-copy/tasks/design-headline-ab-tests.md +1 -1
- package/squads/squad-copy/tasks/design-trigger-sequence.md +1 -1
- package/squads/squad-copy/tasks/design-welcome-series.md +2 -2
- package/squads/squad-copy/tasks/optimize-existing-copy.md +2 -2
- package/squads/squad-copy/tasks/optimize-funnel-conversion-copy.md +2 -2
- package/squads/squad-copy/tasks/optimize-pricing-framing.md +2 -2
- package/squads/squad-copy/tasks/write-ad-copy-google.md +2 -2
- package/squads/squad-copy/tasks/write-ad-copy-social.md +2 -2
- package/squads/squad-copy/tasks/write-ad-copy-variations.md +4 -4
- package/squads/squad-copy/tasks/write-case-study.md +2 -2
- package/squads/squad-copy/tasks/write-comparison-piece.md +2 -2
- package/squads/squad-copy/tasks/write-email-sequence.md +1 -1
- package/squads/squad-copy/tasks/write-email-subject-lines.md +1 -1
- package/squads/squad-copy/tasks/write-funnel-copy-sequence.md +4 -4
- package/squads/squad-copy/tasks/write-landing-page-copy.md +2 -2
- package/squads/squad-copy/tasks/write-launch-sequence.md +2 -2
- package/squads/squad-copy/tasks/write-opt-in-page.md +2 -2
- package/squads/squad-copy/tasks/write-product-narrative.md +2 -2
- package/squads/squad-copy/tasks/write-retargeting-copy.md +2 -2
- package/squads/squad-copy/tasks/write-sales-letter.md +1 -1
- package/squads/squad-copy/tasks/write-social-proof-section.md +1 -1
- package/squads/squad-copy/tasks/write-subheadlines-and-deck-copy.md +1 -1
- package/squads/squad-copy/tasks/write-upsell-copy.md +2 -2
- package/squads/squad-copy/tasks/write-vsl-script.md +3 -3
- package/squads/squad-copy/tasks/write-whitepaper-persuasive.md +2 -2
- package/squads/squad-copy/workflows/campaign-copy-cycle.yaml +4 -4
- package/squads/squad-copy/workflows/conversion-copy-sprint.yaml +6 -6
- package/squads/squad-copy/workflows/sales-copy-pipeline.yaml +4 -4
- package/squads/squad-design/README.md +6 -6
- package/squads/squad-design/agents/cro-persuasion.md +3 -3
- package/squads/squad-design/agents/design-orqx.md +17 -17
- package/squads/squad-design/agents/dx-accessibility-specialist.md +5 -5
- package/squads/squad-design/agents/dx-design-system-architect.md +8 -8
- package/squads/squad-design/agents/dx-frontend-engineer.md +7 -7
- package/squads/squad-design/agents/dx-interaction-designer.md +6 -6
- package/squads/squad-design/agents/dx-performance-engineer.md +3 -3
- package/squads/squad-design/agents/dx-ui-designer.md +7 -7
- package/squads/squad-design/agents/dx-ux-strategist.md +7 -7
- package/squads/squad-design/agents/platform-aesthetic-director.md +11 -11
- package/squads/squad-design/agents/premium-packaging-strategist.md +2 -2
- package/squads/squad-design/agents/product-surface-director.md +1 -1
- package/squads/squad-design/squad.yaml +6 -6
- package/squads/squad-design/tasks/analyze-javascript-bundles.md +1 -1
- package/squads/squad-design/tasks/audit-core-web-vitals.md +1 -1
- package/squads/squad-design/tasks/audit-design-system-health.md +1 -1
- package/squads/squad-design/tasks/audit-motion-performance.md +1 -1
- package/squads/squad-design/tasks/certify-accessibility-compliance.md +2 -2
- package/squads/squad-design/tasks/compose-screen-layouts.md +3 -3
- package/squads/squad-design/tasks/conduct-competitive-ux-analysis.md +1 -1
- package/squads/squad-design/tasks/conduct-dx-quality-gate.md +3 -3
- package/squads/squad-design/tasks/conduct-usability-heuristic-review.md +1 -1
- package/squads/squad-design/tasks/conduct-visual-qa.md +1 -1
- package/squads/squad-design/tasks/conduct-wcag-audit.md +1 -1
- package/squads/squad-design/tasks/configure-cdn-strategy.md +1 -1
- package/squads/squad-design/tasks/configure-token-export-pipeline.md +1 -1
- package/squads/squad-design/tasks/create-a11y-remediation-plan.md +4 -4
- package/squads/squad-design/tasks/create-color-system.md +2 -2
- package/squads/squad-design/tasks/create-component-governance.md +1 -1
- package/squads/squad-design/tasks/create-component-tokens.md +2 -2
- package/squads/squad-design/tasks/create-dark-light-themes.md +3 -3
- package/squads/squad-design/tasks/create-easing-curve-library.md +1 -1
- package/squads/squad-design/tasks/create-empty-error-states.md +1 -1
- package/squads/squad-design/tasks/create-error-boundary-patterns.md +1 -1
- package/squads/squad-design/tasks/create-illustration-style.md +1 -1
- package/squads/squad-design/tasks/create-mobile-first-designs.md +2 -2
- package/squads/squad-design/tasks/create-motion-documentation.md +1 -1
- package/squads/squad-design/tasks/create-motion-tokens.md +2 -2
- package/squads/squad-design/tasks/create-primitive-tokens.md +1 -1
- package/squads/squad-design/tasks/create-responsive-grid-system.md +1 -1
- package/squads/squad-design/tasks/create-screen-reader-specs.md +1 -1
- package/squads/squad-design/tasks/create-scroll-animation-patterns.md +1 -1
- package/squads/squad-design/tasks/create-semantic-tokens.md +1 -1
- package/squads/squad-design/tasks/create-storybook-documentation-standards.md +1 -1
- package/squads/squad-design/tasks/create-user-personas.md +1 -1
- package/squads/squad-design/tasks/create-ux-principles.md +1 -1
- package/squads/squad-design/tasks/create-wireframe-brief.md +2 -2
- package/squads/squad-design/tasks/define-atomic-hierarchy.md +2 -2
- package/squads/squad-design/tasks/define-content-hierarchy.md +2 -2
- package/squads/squad-design/tasks/define-motion-principles.md +4 -4
- package/squads/squad-design/tasks/define-performance-budgets.md +1 -1
- package/squads/squad-design/tasks/define-token-taxonomy.md +2 -2
- package/squads/squad-design/tasks/design-accessible-form-patterns.md +2 -2
- package/squads/squad-design/tasks/design-component-api-contracts.md +3 -3
- package/squads/squad-design/tasks/design-component-visual-states.md +4 -4
- package/squads/squad-design/tasks/design-dashboard-layouts.md +1 -1
- package/squads/squad-design/tasks/design-duration-scale.md +1 -1
- package/squads/squad-design/tasks/design-feedback-animations.md +2 -2
- package/squads/squad-design/tasks/design-focus-management.md +1 -1
- package/squads/squad-design/tasks/design-form-patterns.md +2 -2
- package/squads/squad-design/tasks/design-icon-system.md +1 -1
- package/squads/squad-design/tasks/design-information-architecture.md +2 -2
- package/squads/squad-design/tasks/design-landing-page-ui.md +3 -3
- package/squads/squad-design/tasks/design-loading-choreography.md +1 -1
- package/squads/squad-design/tasks/design-multi-brand-theming.md +1 -1
- package/squads/squad-design/tasks/design-page-transitions.md +1 -1
- package/squads/squad-design/tasks/design-spacing-scale.md +3 -3
- package/squads/squad-design/tasks/design-typography-scale.md +3 -3
- package/squads/squad-design/tasks/design-user-flows.md +2 -2
- package/squads/squad-design/tasks/design-visual-hierarchy.md +2 -2
- package/squads/squad-design/tasks/eliminate-render-blocking.md +1 -1
- package/squads/squad-design/tasks/extract-critical-css.md +1 -1
- package/squads/squad-design/tasks/govern-third-party-scripts.md +1 -1
- package/squads/squad-design/tasks/implement-authentication-ui.md +1 -1
- package/squads/squad-design/tasks/implement-component-library.md +4 -4
- package/squads/squad-design/tasks/implement-form-system.md +2 -2
- package/squads/squad-design/tasks/implement-reduced-motion.md +3 -3
- package/squads/squad-design/tasks/implement-responsive-layouts.md +1 -1
- package/squads/squad-design/tasks/implement-routing-strategy.md +1 -1
- package/squads/squad-design/tasks/map-dark-mode-tokens.md +3 -3
- package/squads/squad-design/tasks/map-user-journeys.md +2 -2
- package/squads/squad-design/tasks/migrate-legacy-design-system.md +1 -1
- package/squads/squad-design/tasks/monitor-performance-regression.md +1 -1
- package/squads/squad-design/tasks/optimize-font-loading.md +1 -1
- package/squads/squad-design/tasks/optimize-image-pipeline.md +1 -1
- package/squads/squad-design/tasks/orchestrate-dx-pipeline.md +2 -2
- package/squads/squad-design/tasks/plan-ux-research-sprint.md +1 -1
- package/squads/squad-design/tasks/produce-design-handoff-specs.md +4 -4
- package/squads/squad-design/tasks/review-aria-patterns.md +1 -1
- package/squads/squad-design/tasks/setup-performance-ci-gates.md +1 -1
- package/squads/squad-design/tasks/setup-storybook-integration.md +1 -1
- package/squads/squad-design/tasks/spec-gesture-interactions.md +1 -1
- package/squads/squad-design/tasks/spec-micro-interactions.md +2 -2
- package/squads/squad-design/tasks/synthesize-user-research.md +2 -2
- package/squads/squad-design/tasks/test-keyboard-navigation.md +1 -1
- package/squads/squad-design/tasks/validate-ux-with-testing.md +1 -1
- package/squads/squad-design/tasks/verify-color-contrast.md +2 -2
- package/squads/squad-design/templates/a11y-audit-report-template.md +1 -1
- package/squads/squad-design/templates/design-handoff-template.md +1 -1
- package/squads/squad-design/templates/performance-budget-template.md +1 -1
- package/squads/squad-design/templates/ux-research-plan-template.md +1 -1
- package/squads/squad-design/workflows/a11y-compliance-cycle.yaml +8 -8
- package/squads/squad-design/workflows/design-system-build-cycle.yaml +12 -12
- package/squads/squad-design/workflows/landing-page-sprint.yaml +10 -10
- package/squads/squad-design/workflows/performance-remediation-cycle.yaml +6 -6
- package/squads/squad-design/workflows/ux-research-sprint.yaml +8 -8
- package/squads/squad-design/workflows/zero-to-digital-product-cycle.yaml +16 -16
- package/squads/squad-finance/README.md +1 -1
- package/squads/squad-finance/agents/budget-controller.md +1 -1
- package/squads/squad-finance/agents/cost-optimizer.md +2 -2
- package/squads/squad-finance/agents/finance-orqx.md +4 -4
- package/squads/squad-finance/agents/fiscal-compliance-br.md +4 -4
- package/squads/squad-finance/agents/forecast-strategist.md +6 -6
- package/squads/squad-finance/agents/pricing-strategist.md +3 -3
- package/squads/squad-finance/agents/profitability-analyst.md +1 -1
- package/squads/squad-finance/agents/revenue-analyst.md +1 -1
- package/squads/squad-finance/checklists/monthly-close-checklist.md +1 -1
- package/squads/squad-finance/checklists/quarterly-review-checklist.md +1 -1
- package/squads/squad-finance/squad.yaml +2 -2
- package/squads/squad-finance/tasks/analyze-price-sensitivity.md +1 -1
- package/squads/squad-finance/tasks/benchmark-competitor-pricing.md +1 -1
- package/squads/squad-finance/tasks/calculate-rate-card.md +1 -1
- package/squads/squad-finance/tasks/coordinate-quarterly-review.md +2 -2
- package/squads/squad-finance/tasks/create-proposal-pricing.md +1 -1
- package/squads/squad-finance/tasks/design-service-tiers.md +1 -1
- package/squads/squad-finance/tasks/design-value-based-pricing.md +1 -1
- package/squads/squad-finance/tasks/manage-financial-calendar.md +1 -1
- package/squads/squad-finance/tasks/model-pricing-scenario.md +1 -1
- package/squads/squad-finance/tasks/optimize-rate-realization.md +1 -1
- package/squads/squad-finance/tasks/simulate-pricing-impact.md +1 -1
- package/squads/squad-finance/tasks/track-pricing-performance.md +1 -1
- package/squads/squad-paidmedia/README.md +4 -4
- package/squads/squad-paidmedia/agents/campaign-analyst.md +6 -6
- package/squads/squad-paidmedia/agents/creative-strategist.md +2 -2
- package/squads/squad-paidmedia/agents/cro-specialist.md +5 -5
- package/squads/squad-paidmedia/agents/google-ads-specialist.md +2 -2
- package/squads/squad-paidmedia/agents/meta-ads-specialist.md +6 -6
- package/squads/squad-paidmedia/agents/paidmedia-orqx.md +6 -6
- package/squads/squad-paidmedia/agents/performance-engineer.md +2 -2
- package/squads/squad-paidmedia/agents/pm-creative-performance-analyst.md +2 -2
- package/squads/squad-paidmedia/knowledge-base/routing-catalog.md +21 -21
- package/squads/squad-paidmedia/squad.yaml +4 -4
- package/squads/squad-paidmedia/tasks/allocate-cross-channel-budget.md +1 -1
- package/squads/squad-paidmedia/tasks/allocate-meta-budget.md +2 -2
- package/squads/squad-paidmedia/tasks/analyze-audience-performance.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-content-performance.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-conversion-funnel.md +2 -2
- package/squads/squad-paidmedia/tasks/analyze-creative-effectiveness.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-keyword-rankings.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-landing-page.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-local-keywords.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-local-market.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-reviews-strategy.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-top-pages.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-traffic-sources.md +1 -1
- package/squads/squad-paidmedia/tasks/analyze-user-behavior.md +1 -1
- package/squads/squad-paidmedia/tasks/audit-conversion-tracking.md +1 -1
- package/squads/squad-paidmedia/tasks/audit-gmb-location.md +1 -1
- package/squads/squad-paidmedia/tasks/audit-meta-ads-account.md +1 -1
- package/squads/squad-paidmedia/tasks/audit-sitemap-health.md +1 -1
- package/squads/squad-paidmedia/tasks/build-audience-architecture.md +2 -2
- package/squads/squad-paidmedia/tasks/build-creative-scorecard.md +1 -1
- package/squads/squad-paidmedia/tasks/calculate-sample-size.md +1 -1
- package/squads/squad-paidmedia/tasks/check-indexing-status.md +1 -1
- package/squads/squad-paidmedia/tasks/create-scaling-roadmap.md +1 -1
- package/squads/squad-paidmedia/tasks/design-campaign-structure.md +2 -2
- package/squads/squad-paidmedia/tasks/design-progressive-profiling.md +1 -1
- package/squads/squad-paidmedia/tasks/detect-creative-fatigue.md +1 -1
- package/squads/squad-paidmedia/tasks/execute-launch-checklist.md +1 -1
- package/squads/squad-paidmedia/tasks/generate-monthly-report.md +1 -1
- package/squads/squad-paidmedia/tasks/generate-search-performance-overview.md +1 -1
- package/squads/squad-paidmedia/tasks/generate-weekly-summary.md +1 -1
- package/squads/squad-paidmedia/tasks/manage-pixel-capi-health.md +1 -1
- package/squads/squad-paidmedia/tasks/manage-scaling-roadmap.md +1 -1
- package/squads/squad-paidmedia/tasks/measure-activation-rate.md +1 -1
- package/squads/squad-paidmedia/tasks/optimize-ad-set-targeting.md +2 -2
- package/squads/squad-paidmedia/tasks/optimize-form-conversion.md +1 -1
- package/squads/squad-paidmedia/tasks/optimize-onboarding-activation.md +1 -1
- package/squads/squad-paidmedia/tasks/optimize-page-conversion.md +1 -1
- package/squads/squad-paidmedia/tasks/optimize-signup-flow.md +1 -1
- package/squads/squad-paidmedia/tasks/plan-customer-engagement.md +1 -1
- package/squads/squad-paidmedia/tasks/run-ab-test.md +1 -1
- package/squads/squad-paidmedia/tasks/run-creative-test.md +1 -1
- package/squads/squad-paidmedia/tasks/track-gmb-performance-trends.md +1 -1
- package/squads/squad-paidmedia/tasks/triage-campaign-issues.md +1 -1
- package/squads/squad-product/README.md +2 -2
- package/squads/squad-product/agents/product-orqx.md +4 -4
- package/squads/squad-product/agents/ps-delivery-manager.md +2 -2
- package/squads/squad-product/agents/ps-product-ops-specialist.md +2 -2
- package/squads/squad-product/squad.yaml +2 -2
- package/squads/squad-product/tasks/audit-product-tool-stack.md +1 -1
- package/squads/squad-product/tasks/build-product-knowledge-base.md +1 -1
- package/squads/squad-product/tasks/calculate-sprint-velocity.md +1 -1
- package/squads/squad-product/tasks/configure-feature-flag-rollout.md +1 -1
- package/squads/squad-product/tasks/create-product-artifact-template.md +1 -1
- package/squads/squad-product/tasks/create-product-onboarding-runbook.md +3 -3
- package/squads/squad-product/tasks/create-product-playbook.md +2 -2
- package/squads/squad-product/tasks/document-product-process.md +1 -1
- package/squads/squad-product/tasks/execute-feature-launch-checklist.md +1 -1
- package/squads/squad-product/tasks/facilitate-sprint-retrospective.md +1 -1
- package/squads/squad-product/tasks/generate-product-health-report.md +2 -2
- package/squads/squad-product/tasks/maintain-decision-log-system.md +1 -1
- package/squads/squad-product/tasks/manage-sprint-capacity-planning.md +1 -1
- package/squads/squad-product/tasks/map-cross-functional-dependencies.md +1 -1
- package/squads/squad-product/tasks/prepare-product-handoff-package.md +4 -4
- package/squads/squad-product/tasks/run-product-operations-audit.md +1 -1
- package/squads/squad-product/tasks/run-shape-up-betting-table.md +1 -1
- package/squads/squad-product/tasks/run-sprint-planning-session.md +1 -1
- package/squads/squad-product/tasks/scope-agency-mvp.md +1 -1
- package/squads/squad-product/tasks/setup-new-client-product-operations.md +1 -1
- package/squads/squad-product/tasks/standardize-cross-client-metrics.md +1 -1
- package/squads/squad-product/tasks/triage-technical-debt-backlog.md +1 -1
- package/squads/squad-product/tasks/write-release-notes.md +1 -1
- package/squads/squad-research/README.md +3 -3
- package/squads/squad-research/agents/audience-intelligence.md +9 -9
- package/squads/squad-research/agents/competitive-intelligence.md +1 -1
- package/squads/squad-research/agents/data-synthesizer.md +11 -11
- package/squads/squad-research/agents/deep-researcher.md +2 -2
- package/squads/squad-research/agents/market-analyst.md +9 -9
- package/squads/squad-research/agents/research-orqx.md +4 -4
- package/squads/squad-research/agents/trend-forecaster.md +2 -2
- package/squads/squad-research/knowledge-base/agentic-second-brain-reference.md +1 -1
- package/squads/squad-research/knowledge-base/community-platforms-reference.md +1 -1
- package/squads/squad-research/knowledge-base/cross-squad-integration-protocol.md +1 -1
- package/squads/squad-research/knowledge-base/multi-agent-research-methodology.md +3 -3
- package/squads/squad-research/squad.yaml +3 -3
- package/squads/squad-research/tasks/analyze-audience-behavior.md +2 -2
- package/squads/squad-research/tasks/analyze-audience-psychographics.md +2 -2
- package/squads/squad-research/tasks/analyze-competitor-pricing.md +1 -1
- package/squads/squad-research/tasks/analyze-industry-trends.md +2 -2
- package/squads/squad-research/tasks/analyze-macro-forces.md +1 -1
- package/squads/squad-research/tasks/analyze-pricing-landscape.md +2 -2
- package/squads/squad-research/tasks/analyze-social-listening.md +2 -2
- package/squads/squad-research/tasks/analyze-value-chain.md +2 -2
- package/squads/squad-research/tasks/answer-strategic-question.md +1 -1
- package/squads/squad-research/tasks/assess-market-maturity.md +2 -2
- package/squads/squad-research/tasks/build-audience-persona.md +2 -2
- package/squads/squad-research/tasks/build-data-narrative.md +2 -2
- package/squads/squad-research/tasks/compile-competitive-dossier.md +2 -2
- package/squads/squad-research/tasks/conduct-deep-research.md +1 -1
- package/squads/squad-research/tasks/conduct-jobs-to-be-done.md +2 -2
- package/squads/squad-research/tasks/create-empathy-map.md +2 -2
- package/squads/squad-research/tasks/create-executive-briefing.md +2 -2
- package/squads/squad-research/tasks/create-insight-deck.md +2 -2
- package/squads/squad-research/tasks/create-research-dossier.md +1 -1
- package/squads/squad-research/tasks/create-research-repository.md +2 -2
- package/squads/squad-research/tasks/create-swot-analysis.md +4 -4
- package/squads/squad-research/tasks/design-survey.md +2 -2
- package/squads/squad-research/tasks/evaluate-market-entry.md +2 -2
- package/squads/squad-research/tasks/evaluate-regulatory-landscape.md +2 -2
- package/squads/squad-research/tasks/forecast-industry-trends.md +2 -2
- package/squads/squad-research/tasks/forecast-market-growth.md +2 -2
- package/squads/squad-research/tasks/generate-actionable-recommendations.md +2 -2
- package/squads/squad-research/tasks/identify-market-segments.md +3 -3
- package/squads/squad-research/tasks/map-audience-ecosystem.md +2 -2
- package/squads/squad-research/tasks/map-audience-journey.md +2 -2
- package/squads/squad-research/tasks/map-industry-ecosystem.md +2 -2
- package/squads/squad-research/tasks/map-market-opportunity.md +2 -2
- package/squads/squad-research/tasks/map-pain-gain-matrix.md +2 -2
- package/squads/squad-research/tasks/map-strategic-implications.md +2 -2
- package/squads/squad-research/tasks/orchestrate-research-pipeline.md +4 -4
- package/squads/squad-research/tasks/predict-market-shifts.md +1 -1
- package/squads/squad-research/tasks/profile-ideal-customer.md +2 -2
- package/squads/squad-research/tasks/run-porter-five-forces.md +1 -1
- package/squads/squad-research/tasks/run-scenario-planning.md +1 -1
- package/squads/squad-research/tasks/segment-audience.md +2 -2
- package/squads/squad-research/tasks/size-market-tam-sam-som.md +2 -2
- package/squads/squad-research/tasks/synthesize-multi-source.md +1 -1
- package/squads/squad-research/tasks/synthesize-research-report.md +2 -2
- package/squads/squad-research/tasks/validate-persona-with-data.md +2 -2
- package/squads/squad-research/tasks/visualize-research-data.md +2 -2
- package/squads/squad-research/templates/audience-persona-template.md +1 -1
- package/squads/squad-research/templates/competitive-dossier-template.md +1 -1
- package/squads/squad-research/templates/market-analysis-template.md +1 -1
- package/squads/squad-research/workflows/audience-intelligence-cycle.yaml +12 -12
- package/squads/squad-research/workflows/competitive-intelligence-cycle.yaml +2 -2
- package/squads/squad-research/workflows/deep-research-cycle.yaml +2 -2
- package/squads/squad-research/workflows/full-research-sprint.yaml +8 -8
- package/squads/squad-research/workflows/market-analysis-cycle.yaml +12 -12
- package/squads/squad-research/workflows/trend-forecasting-cycle.yaml +2 -2
- package/.sinapse-ai/core/execution/context-injector.js +0 -537
- package/.sinapse-ai/core/execution/parallel-executor.js +0 -299
- package/.sinapse-ai/core/execution/parallel-monitor.js +0 -430
- package/.sinapse-ai/core/execution/semantic-merge-engine.js +0 -1748
- package/.sinapse-ai/core/execution/wave-executor.js +0 -401
- package/.sinapse-ai/development/tasks/waves.md +0 -205
- package/.sinapse-ai/lib/build.json +0 -1
- package/.sinapse-ai/workflow-intelligence/engine/wave-analyzer.js +0 -684
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SINAPSE Development Rules for Claude Code
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
SINAPSE orquestra agentes de IA em squads para fluxos de desenvolvimento complexos.
|
|
4
4
|
|
|
5
5
|
<!-- SINAPSE-MANAGED-START: core-framework -->
|
|
6
6
|
## Core Framework Understanding
|
|
@@ -11,13 +11,9 @@ SINAPSE is a meta-framework that orchestrates AI agents to handle complex develo
|
|
|
11
11
|
<!-- SINAPSE-MANAGED-START: constitution -->
|
|
12
12
|
## Constitution
|
|
13
13
|
|
|
14
|
-
O SINAPSE possui uma **Constitution formal** com
|
|
14
|
+
O SINAPSE possui uma **Constitution formal** com principios inegociaveis (`.sinapse-ai/constitution.md`). Gates automaticos bloqueiam violacoes no caminho autonomo (pipeline/motor); no chat interativo a delegacao (Art. VIII) e instrucao de prompt, nao bloqueio de hook — ver Art. VIII na Constitution para a lista exata do que e deterministico.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
**Princípios fundamentais:**
|
|
19
|
-
|
|
20
|
-
| Artigo | Princípio | Severidade |
|
|
16
|
+
| Artigo | Principio | Severidade |
|
|
21
17
|
|--------|-----------|------------|
|
|
22
18
|
| I | CLI First | NON-NEGOTIABLE |
|
|
23
19
|
| II | Agent Authority | NON-NEGOTIABLE |
|
|
@@ -29,334 +25,109 @@ O SINAPSE possui uma **Constitution formal** com princípios inegociáveis e gat
|
|
|
29
25
|
| VIII | Mandatory Delegation | NON-NEGOTIABLE |
|
|
30
26
|
| IX | Safe Collaboration | NON-NEGOTIABLE |
|
|
31
27
|
| X | Security & Data Protection | NON-NEGOTIABLE |
|
|
32
|
-
|
|
33
|
-
**Gates automáticos bloqueiam violações.** Consulte a Constitution para detalhes completos.
|
|
28
|
+
| XI | Conservative Default | MUST |
|
|
34
29
|
<!-- SINAPSE-MANAGED-END: constitution -->
|
|
35
30
|
|
|
36
31
|
<!-- SINAPSE-MANAGED-START: sistema-de-agentes -->
|
|
37
32
|
## Sistema de Agentes
|
|
38
33
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
| `@
|
|
45
|
-
| `@
|
|
46
|
-
| `@
|
|
47
|
-
| `@
|
|
48
|
-
| `@
|
|
49
|
-
| `@
|
|
50
|
-
| `@
|
|
51
|
-
| `@
|
|
52
|
-
| `@
|
|
53
|
-
| `@devops` | Gage | CI/CD, git push (EXCLUSIVO) |
|
|
54
|
-
|
|
55
|
-
### Comandos de Agentes
|
|
56
|
-
Use prefixo `*` para comandos:
|
|
57
|
-
- `*help` - Mostrar comandos disponíveis
|
|
58
|
-
- `*create-story` - Criar story de desenvolvimento
|
|
59
|
-
- `*task {name}` - Executar task específica
|
|
60
|
-
- `*exit` - Sair do modo agente
|
|
34
|
+
Ative com `@agent-name`; comandos usam prefixo `*`.
|
|
35
|
+
|
|
36
|
+
| Agente | Persona | Escopo |
|
|
37
|
+
|--------|---------|--------|
|
|
38
|
+
| `@developer` | Pixel | Codigo |
|
|
39
|
+
| `@quality-gate` | Litmus | Qualidade |
|
|
40
|
+
| `@architect` | Stratum | Arquitetura |
|
|
41
|
+
| `@project-lead` | Beacon | Product Management |
|
|
42
|
+
| `@product-lead` | Axis | Product Owner |
|
|
43
|
+
| `@sprint-lead` | Sync | Scrum Master |
|
|
44
|
+
| `@analyst` | Scope | Pesquisa |
|
|
45
|
+
| `@data-engineer` | Tensor | Database |
|
|
46
|
+
| `@ux-design-expert` | Mosaic | UX/UI |
|
|
47
|
+
| `@devops` | Pipeline | CI/CD, git push (EXCLUSIVO) |
|
|
61
48
|
<!-- SINAPSE-MANAGED-END: sistema-de-agentes -->
|
|
62
49
|
|
|
63
50
|
<!-- SINAPSE-MANAGED-START: agent-system -->
|
|
64
51
|
## Agent System
|
|
65
52
|
|
|
66
|
-
|
|
67
|
-
- Agents are activated with @agent-name syntax: @developer, @quality-gate, @architect, @project-lead, @product-lead, @sprint-lead, @analyst
|
|
68
|
-
- The master agent is activated with @sinapse-orqx
|
|
69
|
-
- Agent commands use the * prefix: *help, *create-story, *task, *exit
|
|
70
|
-
|
|
71
|
-
### Agent Context
|
|
72
|
-
When an agent is active:
|
|
73
|
-
- Follow that agent's specific persona and expertise
|
|
74
|
-
- Use the agent's designated workflow patterns
|
|
75
|
-
- Maintain the agent's perspective throughout the interaction
|
|
53
|
+
Master agent: `@sinapse-orqx`. Stay in persona until `*exit`.
|
|
76
54
|
<!-- SINAPSE-MANAGED-END: agent-system -->
|
|
77
55
|
|
|
78
56
|
## Development Methodology
|
|
79
57
|
|
|
80
|
-
|
|
81
|
-
1. **Documentation pipeline is AUTOMATIC** - Every briefing triggers: Epic → Story → Validation → Implementation
|
|
82
|
-
2. **No code without validated story** - Story must be in `docs/stories/` with status >= Ready
|
|
83
|
-
3. **Update progress** - Mark checkboxes as tasks complete: [ ] → [x]
|
|
84
|
-
4. **Track changes** - Maintain the File List section in the story
|
|
85
|
-
5. **Follow criteria** - Implement exactly what the acceptance criteria specify
|
|
86
|
-
6. **Delegation is mandatory** - Orchestrators NEVER execute domain work, they ALWAYS delegate to specialists
|
|
87
|
-
|
|
88
|
-
### Code Standards
|
|
89
|
-
- Write clean, self-documenting code
|
|
90
|
-
- Follow existing patterns in the codebase
|
|
91
|
-
- Include comprehensive error handling
|
|
92
|
-
- Add unit tests for all new functionality
|
|
93
|
-
- Use TypeScript/JavaScript best practices
|
|
94
|
-
|
|
95
|
-
### Testing Requirements
|
|
96
|
-
- Run all tests before marking tasks complete
|
|
97
|
-
- Ensure linting passes: `npm run lint`
|
|
98
|
-
- Verify type checking: `npm run typecheck`
|
|
99
|
-
- Add tests for new features
|
|
100
|
-
- Test edge cases and error scenarios
|
|
58
|
+
Documentation-First (NON-NEGOTIABLE): Epic -> Story -> Validation -> Implementation, automatico. No code sem story em `docs/stories/` com status >= Ready.
|
|
101
59
|
|
|
102
60
|
<!-- SINAPSE-MANAGED-START: framework-structure -->
|
|
103
61
|
## SINAPSE Framework Structure
|
|
104
62
|
|
|
105
|
-
|
|
106
|
-
sinapse-ai/
|
|
107
|
-
├── agents/ # Agent persona definitions (YAML/Markdown)
|
|
108
|
-
├── tasks/ # Executable task workflows
|
|
109
|
-
├── workflows/ # Multi-step workflow definitions
|
|
110
|
-
├── templates/ # Document and code templates
|
|
111
|
-
├── checklists/ # Validation and review checklists
|
|
112
|
-
└── rules/ # Framework rules and patterns
|
|
113
|
-
|
|
114
|
-
docs/
|
|
115
|
-
├── stories/ # Development stories (numbered)
|
|
116
|
-
├── prd/ # Product requirement documents
|
|
117
|
-
├── architecture/ # System architecture documentation
|
|
118
|
-
└── guides/ # User and developer guides
|
|
119
|
-
```
|
|
63
|
+
Framework core em `.sinapse-ai/`; trabalho do projeto em `docs/` (stories, prd, architecture).
|
|
120
64
|
<!-- SINAPSE-MANAGED-END: framework-structure -->
|
|
121
65
|
|
|
122
66
|
<!-- SINAPSE-MANAGED-START: framework-boundary -->
|
|
123
67
|
## Framework vs Project Boundary
|
|
124
68
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
| Camada | Mutabilidade | Paths | Notas |
|
|
128
|
-
|--------|-------------|-------|-------|
|
|
129
|
-
| **L1** Framework Core | NEVER modify | `.sinapse-ai/core/`, `.sinapse-ai/constitution.md`, `bin/sinapse.js`, `bin/sinapse-init.js` | Protegido por deny rules |
|
|
130
|
-
| **L2** Framework Templates | NEVER modify | `.sinapse-ai/development/tasks/`, `.sinapse-ai/development/templates/`, `.sinapse-ai/development/checklists/`, `.sinapse-ai/development/workflows/`, `.sinapse-ai/infrastructure/` | Extend-only |
|
|
131
|
-
| **L3** Project Config | Mutable (exceptions) | `.sinapse-ai/data/`, `agents/*/MEMORY.md`, `core-config.yaml` | Allow rules permitem |
|
|
132
|
-
| **L4** Project Runtime | ALWAYS modify | `docs/stories/`, `packages/`, `squads/`, `tests/` | Trabalho do projeto |
|
|
69
|
+
Modelo de 4 camadas (L1-L4) separa framework e projeto (`.claude/settings.json` reforca via deny rules).
|
|
133
70
|
|
|
134
|
-
|
|
71
|
+
| Camada | Mutabilidade | Exemplo |
|
|
72
|
+
|--------|-------------|---------|
|
|
73
|
+
| **L1** Framework Core | NEVER modify | `.sinapse-ai/core/` |
|
|
74
|
+
| **L2** Framework Templates | NEVER modify | `.sinapse-ai/development/tasks/` |
|
|
75
|
+
| **L3** Project Config | Mutable (exceptions) | `core-config.yaml` |
|
|
76
|
+
| **L4** Project Runtime | ALWAYS modify | `docs/stories/`, `packages/` |
|
|
135
77
|
|
|
136
|
-
|
|
78
|
+
**Toggle:** `boundary.frameworkProtection` em `core-config.yaml` (default true para projetos, false para contribuidores do framework).
|
|
137
79
|
<!-- SINAPSE-MANAGED-END: framework-boundary -->
|
|
138
80
|
|
|
139
81
|
<!-- SINAPSE-MANAGED-START: rules-system -->
|
|
140
82
|
## Rules System
|
|
141
83
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
| Rule File | Description |
|
|
145
|
-
|-----------|-------------|
|
|
146
|
-
| `agent-authority.md` | Agent delegation matrix and exclusive operations |
|
|
147
|
-
| `agent-handoff.md` | Agent switch compaction protocol for context optimization |
|
|
148
|
-
| `agent-memory-imports.md` | Agent memory lifecycle and CLAUDE.md ownership |
|
|
149
|
-
| `coderabbit-integration.md` | Automated code review integration rules |
|
|
150
|
-
| `ids-principles.md` | Incremental Development System principles |
|
|
151
|
-
| `mcp-usage.md` | MCP server usage rules and tool selection priority |
|
|
152
|
-
| `story-lifecycle.md` | Story status transitions and quality gates |
|
|
153
|
-
| `workflow-execution.md` | 4 primary workflows (SDC, QA Loop, Spec Pipeline, Brownfield) |
|
|
84
|
+
Carregadas de `.claude/rules/` automaticamente:
|
|
154
85
|
|
|
155
|
-
|
|
86
|
+
`agent-authority.md` · `agent-handoff.md` · `agent-memory-imports.md` · `coderabbit-integration.md` · `ids-principles.md` · `mcp-usage.md` · `story-lifecycle.md` · `workflow-execution.md`
|
|
156
87
|
<!-- SINAPSE-MANAGED-END: rules-system -->
|
|
157
88
|
|
|
158
89
|
<!-- SINAPSE-MANAGED-START: code-intelligence -->
|
|
159
90
|
## Code Intelligence
|
|
160
91
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
| Status | Descrição | Comportamento |
|
|
164
|
-
|--------|-----------|---------------|
|
|
165
|
-
| **Configured** | Provider ativo e funcional | Enrichment completo disponível |
|
|
166
|
-
| **Fallback** | Provider indisponível | Sistema opera normalmente sem enrichment — graceful degradation |
|
|
167
|
-
| **Disabled** | Nenhum provider configurado | Funcionalidade de code-intel ignorada silenciosamente |
|
|
168
|
-
|
|
169
|
-
**Graceful Fallback:** Code intelligence é sempre opcional. `isCodeIntelAvailable()` verifica disponibilidade antes de qualquer operação. Se indisponível, o sistema retorna o resultado base sem modificação — nunca falha.
|
|
170
|
-
|
|
171
|
-
**Diagnóstico:** `sinapse doctor` inclui check de code-intel provider status.
|
|
172
|
-
|
|
173
|
-
> **Referência:** `.sinapse-ai/core/code-intel/` — provider interface, enricher, client
|
|
92
|
+
Opcional: **Configured** (ativo), **Fallback** (indisponivel, degrada), **Disabled** (sem provider). `isCodeIntelAvailable()` verifica antes de operar — nunca falha se ausente.
|
|
174
93
|
<!-- SINAPSE-MANAGED-END: code-intelligence -->
|
|
175
94
|
|
|
176
95
|
<!-- SINAPSE-MANAGED-START: graph-dashboard -->
|
|
177
96
|
## Graph Dashboard
|
|
178
97
|
|
|
179
|
-
O CLI `sinapse graph` visualiza dependências, estatísticas de entidades e status de providers.
|
|
180
|
-
|
|
181
|
-
### Comandos
|
|
182
|
-
|
|
183
98
|
```bash
|
|
184
|
-
sinapse graph --deps # Dependency tree
|
|
185
|
-
sinapse graph --deps --format=json #
|
|
186
|
-
sinapse graph --deps --format=html # Interactive HTML
|
|
187
|
-
sinapse graph --deps --
|
|
188
|
-
sinapse graph --
|
|
189
|
-
sinapse graph --deps --watch # Live mode com auto-refresh
|
|
190
|
-
sinapse graph --deps --watch --interval=10 # Refresh a cada 10 segundos
|
|
191
|
-
sinapse graph --stats # Entity stats e cache metrics
|
|
99
|
+
sinapse graph --deps # Dependency tree
|
|
100
|
+
sinapse graph --deps --format=json # JSON
|
|
101
|
+
sinapse graph --deps --format=html # Interactive HTML
|
|
102
|
+
sinapse graph --deps --watch # Auto-refresh
|
|
103
|
+
sinapse graph --stats # Entity stats
|
|
192
104
|
```
|
|
193
|
-
|
|
194
|
-
**Formatos de saída:** ascii (default), json, dot, mermaid, html
|
|
195
|
-
|
|
196
|
-
> **Referência:** `.sinapse-ai/core/graph-dashboard/` — CLI, renderers, data sources
|
|
197
105
|
<!-- SINAPSE-MANAGED-END: graph-dashboard -->
|
|
198
106
|
|
|
199
107
|
## Workflow Execution
|
|
200
108
|
|
|
201
|
-
|
|
202
|
-
1. Read the complete task/workflow definition
|
|
203
|
-
2. Understand all elicitation points
|
|
204
|
-
3. Execute steps sequentially
|
|
205
|
-
4. Handle errors gracefully
|
|
206
|
-
5. Provide clear feedback
|
|
207
|
-
|
|
208
|
-
### Interactive Workflows
|
|
209
|
-
- Workflows with `elicit: true` require user input
|
|
210
|
-
- Present options clearly
|
|
211
|
-
- Validate user responses
|
|
212
|
-
- Provide helpful defaults
|
|
109
|
+
Leia a task completa, execute os passos em sequencia, trate erros com mensagens acionaveis.
|
|
213
110
|
|
|
214
111
|
## Best Practices
|
|
215
112
|
|
|
216
|
-
|
|
217
|
-
- Check existing patterns first
|
|
218
|
-
- Reuse components and utilities
|
|
219
|
-
- Follow naming conventions
|
|
220
|
-
- Keep functions focused and testable
|
|
221
|
-
- Document complex logic
|
|
222
|
-
|
|
223
|
-
### When working with agents:
|
|
224
|
-
- Respect agent boundaries
|
|
225
|
-
- Use appropriate agent for each task
|
|
226
|
-
- Follow agent communication patterns
|
|
227
|
-
- Maintain agent context
|
|
228
|
-
|
|
229
|
-
### When handling errors:
|
|
230
|
-
```javascript
|
|
231
|
-
try {
|
|
232
|
-
// Operation
|
|
233
|
-
} catch (error) {
|
|
234
|
-
console.error(`Error in ${operation}:`, error);
|
|
235
|
-
// Provide helpful error message
|
|
236
|
-
throw new Error(`Failed to ${operation}: ${error.message}`);
|
|
237
|
-
}
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
## Git & GitHub Integration
|
|
241
|
-
|
|
242
|
-
### Commit Conventions
|
|
243
|
-
- Use conventional commits: `feat:`, `fix:`, `docs:`, `chore:`, etc.
|
|
244
|
-
- Reference story ID: `feat: implement IDE detection [Story 2.1]`
|
|
245
|
-
- Keep commits atomic and focused
|
|
246
|
-
|
|
247
|
-
### GitHub CLI Usage
|
|
248
|
-
- Ensure authenticated: `gh auth status`
|
|
249
|
-
- Use for PR creation: `gh pr create`
|
|
250
|
-
- Check org access: `gh api user/memberships`
|
|
113
|
+
Verifique padroes existentes, reutilize componentes, rode `npm run lint` + `npm run typecheck` antes de concluir.
|
|
251
114
|
|
|
252
115
|
<!-- SINAPSE-MANAGED-START: sinapse-patterns -->
|
|
253
116
|
## SINAPSE-Specific Patterns
|
|
254
117
|
|
|
255
|
-
|
|
256
|
-
```javascript
|
|
257
|
-
const template = await loadTemplate('template-name');
|
|
258
|
-
const rendered = await renderTemplate(template, context);
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
### Agent Command Handling
|
|
262
|
-
```javascript
|
|
263
|
-
if (command.startsWith('*')) {
|
|
264
|
-
const agentCommand = command.substring(1);
|
|
265
|
-
await executeAgentCommand(agentCommand, args);
|
|
266
|
-
}
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
### Story Updates
|
|
270
|
-
```javascript
|
|
271
|
-
// Update story progress
|
|
272
|
-
const story = await loadStory(storyId);
|
|
273
|
-
story.updateTask(taskId, { status: 'completed' });
|
|
274
|
-
await story.save();
|
|
275
|
-
```
|
|
118
|
+
Templates via `loadTemplate()`/`renderTemplate()`; comandos `*` roteados por `executeAgentCommand()`.
|
|
276
119
|
<!-- SINAPSE-MANAGED-END: sinapse-patterns -->
|
|
277
120
|
|
|
278
|
-
##
|
|
279
|
-
|
|
280
|
-
### Required Tools
|
|
281
|
-
- Node.js 18+
|
|
282
|
-
- GitHub CLI
|
|
283
|
-
- Git
|
|
284
|
-
- Your preferred package manager (npm/yarn/pnpm)
|
|
121
|
+
## Debugging
|
|
285
122
|
|
|
286
|
-
|
|
287
|
-
- `.sinapse/config.yaml` - Framework configuration
|
|
288
|
-
- `.env` - Environment variables
|
|
289
|
-
- `sinapse.config.js` - Project-specific settings
|
|
123
|
+
Erros devem incluir contexto acionavel e sugestao de correcao. Rode `sinapse doctor` para diagnosticar o ambiente.
|
|
290
124
|
|
|
291
125
|
<!-- SINAPSE-MANAGED-START: common-commands -->
|
|
292
126
|
## Common Commands
|
|
293
127
|
|
|
294
|
-
|
|
295
|
-
-
|
|
296
|
-
- `*create-story` - Create new story
|
|
297
|
-
- `*task {name}` - Execute specific task
|
|
298
|
-
- `*workflow {name}` - Run workflow
|
|
299
|
-
|
|
300
|
-
### Development Commands
|
|
301
|
-
- `npm run dev` - Start development
|
|
302
|
-
- `npm test` - Run tests
|
|
303
|
-
- `npm run lint` - Check code style
|
|
304
|
-
- `npm run build` - Build project
|
|
128
|
+
- `*help` / `*create-story` / `*task {name}` / `*workflow {name}`
|
|
129
|
+
- `npm run dev` / `npm test` / `npm run lint` / `npm run build`
|
|
305
130
|
<!-- SINAPSE-MANAGED-END: common-commands -->
|
|
306
131
|
|
|
307
|
-
## Debugging
|
|
308
|
-
|
|
309
|
-
### Enable Debug Mode
|
|
310
|
-
```bash
|
|
311
|
-
export SINAPSE_DEBUG=true
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
### View Agent Logs
|
|
315
|
-
```bash
|
|
316
|
-
tail -f .sinapse/logs/agent.log
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
### Trace Workflow Execution
|
|
320
|
-
```bash
|
|
321
|
-
npm run trace -- workflow-name
|
|
322
|
-
```
|
|
323
|
-
|
|
324
|
-
## Claude Code Specific Configuration
|
|
325
|
-
|
|
326
|
-
### Performance Optimization
|
|
327
|
-
- Prefer batched tool calls when possible for better performance
|
|
328
|
-
- Use parallel execution for independent operations
|
|
329
|
-
- Cache frequently accessed data in memory during sessions
|
|
330
|
-
|
|
331
|
-
### Tool Usage Guidelines
|
|
332
|
-
- Always use the Grep tool for searching, never `grep` or `rg` in bash
|
|
333
|
-
- Use the Task tool for complex multi-step operations
|
|
334
|
-
- Batch file reads/writes when processing multiple files
|
|
335
|
-
- Prefer editing existing files over creating new ones
|
|
336
|
-
|
|
337
|
-
### Session Management
|
|
338
|
-
- Track story progress throughout the session
|
|
339
|
-
- Update checkboxes immediately after completing tasks
|
|
340
|
-
- Maintain context of the current story being worked on
|
|
341
|
-
- Save important state before long-running operations
|
|
342
|
-
|
|
343
|
-
### Error Recovery
|
|
344
|
-
- Always provide recovery suggestions for failures
|
|
345
|
-
- Include error context in messages to user
|
|
346
|
-
- Suggest rollback procedures when appropriate
|
|
347
|
-
- Document any manual fixes required
|
|
348
|
-
|
|
349
|
-
### Testing Strategy
|
|
350
|
-
- Run tests incrementally during development
|
|
351
|
-
- Always verify lint and typecheck before marking complete
|
|
352
|
-
- Test edge cases for each new feature
|
|
353
|
-
- Document test scenarios in story files
|
|
354
|
-
|
|
355
|
-
### Documentation
|
|
356
|
-
- Update relevant docs when changing functionality
|
|
357
|
-
- Include code examples in documentation
|
|
358
|
-
- Keep README synchronized with actual behavior
|
|
359
|
-
- Document breaking changes prominently
|
|
360
|
-
|
|
361
132
|
---
|
|
362
|
-
*SINAPSE Claude Code Configuration
|
|
133
|
+
*SINAPSE Claude Code Configuration v5.0*
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# {agent-id}
|
|
2
2
|
|
|
3
|
-
ACTIVATION-NOTICE: This file
|
|
4
|
-
|
|
5
|
-
CRITICAL: Read the full YAML BLOCK that FOLLOWS IN THIS FILE to understand your operating params, start and follow exactly your activation-instructions to alter your state of being, stay in this being until told to exit this mode:
|
|
3
|
+
ACTIVATION-NOTICE: This file is your complete agent definition — read it in full before acting. No external agent files are needed.
|
|
6
4
|
|
|
7
5
|
## COMPLETE AGENT DEFINITION FOLLOWS - NO EXTERNAL FILES NEEDED
|
|
8
6
|
|
|
@@ -17,7 +15,7 @@ IDE-FILE-RESOLUTION:
|
|
|
17
15
|
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
|
|
18
16
|
|
|
19
17
|
activation-instructions:
|
|
20
|
-
- STEP 1: Read
|
|
18
|
+
- STEP 1: Read this entire file - it contains your complete persona definition
|
|
21
19
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
22
20
|
- STEP 3: Greet user using the appropriate greeting level (default: named)
|
|
23
21
|
- STEP 4: Mention `*help` command availability
|
|
@@ -27,7 +25,7 @@ activation-instructions:
|
|
|
27
25
|
- CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written
|
|
28
26
|
- MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format
|
|
29
27
|
- When listing tasks/templates or presenting options, always show as numbered options list
|
|
30
|
-
-
|
|
28
|
+
- Use your persona_profile vocabulary and tone consistently
|
|
31
29
|
- Use standardized output templates (see .sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md)
|
|
32
30
|
- CRITICAL: On activation, greet user using greeting_level and HALT to await commands
|
|
33
31
|
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"claude-code-mastery/swarm-orqx": {
|
|
98
98
|
"emoji": "🕸️",
|
|
99
99
|
"area": "CLAUDE",
|
|
100
|
-
"name": "
|
|
100
|
+
"name": "Relay"
|
|
101
101
|
},
|
|
102
102
|
"squad-animations/animation-interpreter": {
|
|
103
103
|
"emoji": "🔮",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"squad-content/content-orqx": {
|
|
333
333
|
"emoji": "🔗",
|
|
334
334
|
"area": "CONTENT",
|
|
335
|
-
"name": "
|
|
335
|
+
"name": "Bulletin"
|
|
336
336
|
},
|
|
337
337
|
"squad-content/editorial-strategist": {
|
|
338
338
|
"emoji": "🧭",
|
|
@@ -39,7 +39,6 @@ function buildStatusLine(data) {
|
|
|
39
39
|
const white = '\x1b[37m';
|
|
40
40
|
const orange = '\x1b[38;5;208m';
|
|
41
41
|
const boldBlue = `${bold}${blue}`;
|
|
42
|
-
const boldRed = `${bold}${red}`;
|
|
43
42
|
|
|
44
43
|
const parts = [];
|
|
45
44
|
|
|
@@ -121,9 +120,12 @@ function buildStatusLine(data) {
|
|
|
121
120
|
parts.push(`${white}\ud83d\udd22 ${msgCount}${reset}`);
|
|
122
121
|
}
|
|
123
122
|
|
|
124
|
-
// 10.
|
|
123
|
+
// 10. Long-context boundary marker (>200k) \u2014 informational, not an error.
|
|
124
|
+
// Crossing 200k enters long-context/pricing territory for 1M-window
|
|
125
|
+
// models; expected behavior on large windows, not a danger signal.
|
|
126
|
+
// Re-signified by Story onda2-p4 (audit AF-20260702 item 2.12).
|
|
125
127
|
if (data.exceeds_200k_tokens) {
|
|
126
|
-
parts.push(`${
|
|
128
|
+
parts.push(`${cyan}\u2139 >200k long-context${reset}`);
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
return parts.join(' | ');
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
* @module workflow-intelligence
|
|
3
3
|
* @description Workflow Intelligence System (WIS) public API
|
|
4
4
|
* @story WIS-2 - Workflow Registry Enhancement
|
|
5
|
-
* @
|
|
6
|
-
* @version 1.1.0
|
|
5
|
+
* @version 1.2.0
|
|
7
6
|
*
|
|
8
7
|
* @example
|
|
9
8
|
* const wis = require('./.sinapse-ai/workflow-intelligence');
|
|
@@ -20,11 +19,6 @@
|
|
|
20
19
|
*
|
|
21
20
|
* // Get next steps for a state
|
|
22
21
|
* const nextSteps = wis.getNextSteps('epic_creation', 'stories_created');
|
|
23
|
-
*
|
|
24
|
-
* // Analyze waves for parallel execution (WIS-4)
|
|
25
|
-
* const waves = wis.analyzeWaves('story_development');
|
|
26
|
-
* console.log(waves.waves); // Wave groupings
|
|
27
|
-
* console.log(waves.criticalPath); // Critical path
|
|
28
22
|
*/
|
|
29
23
|
|
|
30
24
|
'use strict';
|
|
@@ -49,14 +43,6 @@ const {
|
|
|
49
43
|
LOW_CONFIDENCE_THRESHOLD,
|
|
50
44
|
} = require('./engine/suggestion-engine');
|
|
51
45
|
|
|
52
|
-
const {
|
|
53
|
-
WaveAnalyzer,
|
|
54
|
-
CircularDependencyError,
|
|
55
|
-
createWaveAnalyzer,
|
|
56
|
-
analyzeWaves,
|
|
57
|
-
DEFAULT_TASK_DURATIONS,
|
|
58
|
-
} = require('./engine/wave-analyzer');
|
|
59
|
-
|
|
60
46
|
const outputFormatter = require('./engine/output-formatter');
|
|
61
47
|
|
|
62
48
|
// Learning module (WIS-5)
|
|
@@ -297,9 +283,8 @@ module.exports = {
|
|
|
297
283
|
invalidateCache,
|
|
298
284
|
reset,
|
|
299
285
|
|
|
300
|
-
// Wave Analysis API (WIS-4)
|
|
301
|
-
|
|
302
|
-
createWaveAnalyzer,
|
|
286
|
+
// Wave Analysis API (WIS-4) removida — DEC-02/DEC-03 (2026-07-03):
|
|
287
|
+
// wave-analyzer seguiu o destino do cluster multi-story órfão.
|
|
303
288
|
|
|
304
289
|
// Pattern Learning API (WIS-5)
|
|
305
290
|
learning: learningModule,
|
|
@@ -313,8 +298,6 @@ module.exports = {
|
|
|
313
298
|
WorkflowRegistry,
|
|
314
299
|
ConfidenceScorer,
|
|
315
300
|
SuggestionEngine,
|
|
316
|
-
WaveAnalyzer,
|
|
317
|
-
CircularDependencyError,
|
|
318
301
|
|
|
319
302
|
// Output formatting (for *next task)
|
|
320
303
|
outputFormatter,
|
|
@@ -325,6 +308,5 @@ module.exports = {
|
|
|
325
308
|
DEFAULT_PATTERNS_PATH,
|
|
326
309
|
SUGGESTION_CACHE_TTL,
|
|
327
310
|
LOW_CONFIDENCE_THRESHOLD,
|
|
328
|
-
DEFAULT_TASK_DURATIONS,
|
|
329
311
|
};
|
|
330
312
|
|
package/AGENTS.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# AGENTS.md
|
|
2
2
|
|
|
3
3
|
> SINAPSE AI -- AI-Orchestrated System for Full Stack Development
|
|
4
|
-
> 17 squads · 172 agents (all `@`-resolvable in Codex) · 1,
|
|
4
|
+
> 17 squads · 172 agents (all `@`-resolvable in Codex) · 1,411 task files, 1,347 resolvable via the parametric activator
|
|
5
5
|
>
|
|
6
6
|
> Codex resolves every agent and its real tasks at runtime from source (no frozen
|
|
7
7
|
> snapshot): `node .codex/scripts/resolve-codex-agent.js <agent> [command]`.
|
|
@@ -75,7 +75,7 @@ Every task pointer the activator emits is verified to exist on disk before it is
|
|
|
75
75
|
### @developer (Pixel)
|
|
76
76
|
- **Role:** Full Stack Developer -- code implementation, debugging, refactoring
|
|
77
77
|
- **Capabilities:** Story-driven development (YOLO/Interactive/Pre-Flight modes), CodeRabbit self-healing (max 2 iterations), autonomous build with worktrees, gotchas memory, service scaffolding
|
|
78
|
-
- **Key Commands:** `*develop`, `*build`, `*run-tests`, `*apply-qa-fixes`, `*create-service
|
|
78
|
+
- **Key Commands:** `*develop`, `*build`, `*run-tests`, `*apply-qa-fixes`, `*create-service`
|
|
79
79
|
- **Constraints:** Cannot `git push` or create PRs (delegate to @devops). Cannot modify story AC/scope/title. Can only update File List, checkboxes, and Dev Agent Record sections.
|
|
80
80
|
|
|
81
81
|
### @architect (Stratum)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.20.1](https://github.com/caioimori/sinapse-ai/compare/1.20.0...1.20.1) (2026-07-03)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **security:** Onda A da triagem AF-20260703 — 4 fixes cirúrgicos ([#337](https://github.com/caioimori/sinapse-ai/issues/337)) ([39f3338](https://github.com/caioimori/sinapse-ai/commit/39f33384aea83df4f609c91eec1ef25acce30d29)), closes [#1](https://github.com/caioimori/sinapse-ai/issues/1) [524-#528](https://github.com/caioimori/524-/issues/528) [#332](https://github.com/caioimori/sinapse-ai/issues/332) [#511](https://github.com/caioimori/sinapse-ai/issues/511) [#32](https://github.com/caioimori/sinapse-ai/issues/32)
|
|
6
|
+
* **security:** Onda B1 — TOCTOU na cadeia de confiança do instalador + git sem shell ([#340](https://github.com/caioimori/sinapse-ai/issues/340)) ([6f0a72b](https://github.com/caioimori/sinapse-ai/commit/6f0a72b89f8a72df741d5e7c94e89c2d3bd7bfd8)), closes [19/#20](https://github.com/19/sinapse-ai/issues/20) [15-#18](https://github.com/caioimori/15-/issues/18) [#22](https://github.com/caioimori/sinapse-ai/issues/22) [#507](https://github.com/caioimori/sinapse-ai/issues/507)
|
|
7
|
+
* **security:** Onda B2 — escrita atômica em todo o caminho de instalação ([#341](https://github.com/caioimori/sinapse-ai/issues/341)) ([0c90216](https://github.com/caioimori/sinapse-ai/commit/0c9021628526ff7cf5ef3dcf41efae3dc629e20a))
|
|
8
|
+
|
|
9
|
+
### Documentation
|
|
10
|
+
|
|
11
|
+
* **decisions:** registra Onda A de segurança executada (PR [#337](https://github.com/caioimori/sinapse-ai/issues/337)) ([#338](https://github.com/caioimori/sinapse-ai/issues/338)) ([c2dbe72](https://github.com/caioimori/sinapse-ai/commit/c2dbe72e2c686a9f2db01a85f4e02e444d4eea24))
|
|
12
|
+
* **decisions:** registra Ondas B/C de segurança + rollout da ativação enxuta executados ([#343](https://github.com/caioimori/sinapse-ai/issues/343)) ([0500b56](https://github.com/caioimori/sinapse-ai/commit/0500b56411e44f25cb1729126a3de828ef3f251d))
|
|
13
|
+
|
|
14
|
+
### Maintenance
|
|
15
|
+
|
|
16
|
+
* **agents:** rollout da ativação enxuta — pós-piloto aprovado por avaliação ([#342](https://github.com/caioimori/sinapse-ai/issues/342)) ([6815e51](https://github.com/caioimori/sinapse-ai/commit/6815e511e13fb1fa146f0a866d054073075c9212)), closes [#332](https://github.com/caioimori/sinapse-ai/issues/332)
|
|
17
|
+
* **cleanup:** DEC-03 — remove cluster multi-story órfão + split DEC-02 ([#344](https://github.com/caioimori/sinapse-ai/issues/344)) ([359b2fa](https://github.com/caioimori/sinapse-ai/commit/359b2fa2e905eee9be30ea5cac2d7a8bb305a0bd))
|
|
18
|
+
* **release:** sync da main pós-release v1.20.0 ([#336](https://github.com/caioimori/sinapse-ai/issues/336)) ([b3973f0](https://github.com/caioimori/sinapse-ai/commit/b3973f0223173ce570b9ae49878f2d278dc257f8)), closes [#277](https://github.com/caioimori/sinapse-ai/issues/277)
|
|
19
|
+
* **security:** Onda C — higiene do code scanning + 5 fixes de qualidade em produção ([#339](https://github.com/caioimori/sinapse-ai/issues/339)) ([13ae8dd](https://github.com/caioimori/sinapse-ai/commit/13ae8ddd314d2ab923ab019b4e0994be4e1627a1)), closes [#515](https://github.com/caioimori/sinapse-ai/issues/515) [#2](https://github.com/caioimori/sinapse-ai/issues/2) [#409](https://github.com/caioimori/sinapse-ai/issues/409) [#226](https://github.com/caioimori/sinapse-ai/issues/226) [401/#402](https://github.com/401/sinapse-ai/issues/402) [#228](https://github.com/caioimori/sinapse-ai/issues/228)
|
|
20
|
+
|
|
21
|
+
# Changelog
|
|
2
22
|
|
|
3
23
|
All notable changes to SINAPSE will be documented in this file.
|
|
4
24
|
|
|
@@ -7,6 +27,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
27
|
|
|
8
28
|
## [Unreleased]
|
|
9
29
|
|
|
30
|
+
## [1.20.0] — 2026-07-03 — 🧠 Ciclo Fable 5: dieta de contexto, spec/plan de 1ª classe, era de modelo sincronizada
|
|
31
|
+
|
|
32
|
+
> Minor. Atualização segura via `npx sinapse-ai update`. Consolida o ciclo de upgrade Fable 5 (auditoria AF-20260702 → Onda 1 → Onda 2 → mesa de decisões): 15 PRs (#321–#335).
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- **cli** — `sinapse spec` e `sinapse plan` como comandos de 1ª classe + `orchestrate` no binário canônico + QA honesto no Windows (`PASS_QA_SKIPPED`, exit 0) (#328)
|
|
37
|
+
- **installer** — motor de contexto ativo pós-install: `.synapse/` criado no caminho canônico + models no template; 2º prompt em diante entrega ~−88% de contexto injetado (#334)
|
|
38
|
+
- **synapse** — dieta de contexto: Constitution completa só no 1º prompt (−90,5%/turno) + budgets honestos (#323)
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
- **cli** — binário canônico honesto: `agents`/`ideate` reais, uninstall de hooksPath, PlanTracker, simulate stub (#321)
|
|
43
|
+
- **context** — dual-trigger de compactação (60% OU 165K) + statusline re-significado pra era 1M (#329)
|
|
44
|
+
- **models** — registry na era Fable 5 (`active: claude-fable-5`) + token-economy sem pin de versão (#322); varredura final de era — atlas sincronizado + squad mastery sem pins (#326)
|
|
45
|
+
|
|
46
|
+
### Documentation
|
|
47
|
+
|
|
48
|
+
- **honestidade** — Art. VIII escopado ao caminho real + `docs/framework/workflow-engine-status.md` com status executável dos workflows (#330)
|
|
49
|
+
- **vitrine** — guides públicos no veredito híbrido do motor + README com motor real (#327); docs de vitrine imediata da Onda 1 (#325)
|
|
50
|
+
- **decisions** — mesa de decisões da Onda 2 (5 pareceres) (#333); execução DEC-02/DEC-05 + triagem de segurança (429 alertas, zero crítico-real) (#335)
|
|
51
|
+
|
|
52
|
+
### Maintenance
|
|
53
|
+
|
|
54
|
+
- **agents** — piloto de ativação enxuta + 24 colisões de codinome resolvidas (27 renames, reversíveis) (#332)
|
|
55
|
+
- **installer** — bilíngue (troubleshooting i18n) + init sem TTY não crasha (#331)
|
|
56
|
+
- **template** — CLAUDE.md enxuto + guard de codinomes (Nexus→Relay/Bulletin) (#324)
|
|
57
|
+
|
|
10
58
|
## [1.19.2] — 2026-07-01 — 🔒 Honestidade do gate (build vazio não passa) + aposta medida
|
|
11
59
|
|
|
12
60
|
> Patch. Atualização segura via `npx sinapse-ai update`. Fecha o último furo de honestidade do motor achado ao medir a aposta de orquestração multi-story.
|
|
@@ -17,7 +65,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
17
65
|
|
|
18
66
|
### Documentation
|
|
19
67
|
|
|
20
|
-
- **epic** — fecha o épico `orchestration-consolidation` com o **veredito medido do checkpoint "matar ou dobrar"**: HÍBRIDO. Na medição multi-story, o modo nativo entregou 3/3 stories em 64s e 1 chamada, enquanto o motor entregou 1/3 em ~13,5min (a coordenação multi-story corrompeu o estado entre stories). O motor é assumido como **assistente de story isolada** (spec + plano reais); a orquestração autônoma multi-story vira **limitação documentada** (`KNOWN-LIMITATIONS.md`), não promessa.
|
|
68
|
+
- **epic** — fecha o épico `orchestration-consolidation` com o **veredito medido do checkpoint "matar ou dobrar"**: HÍBRIDO. Na medição multi-story, o modo nativo entregou 3/3 stories em 64s e 1 chamada, enquanto o motor entregou 1/3 em ~13,5min (a coordenação multi-story corrompeu o estado entre stories). O motor é assumido como **assistente de story isolada** (spec + plano reais); a orquestração autônoma multi-story vira **limitação documentada** (`KNOWN-LIMITATIONS.md`), não promessa. Escopo real do #318: atualiza os docs do próprio épico (`docs/epics/`) — a revisão dos guides públicos (user-guide, ade-guide, permission-modes, api-reference) segue pendente e é tratada nas ondas seguintes (Onda 1/Onda 2).
|
|
21
69
|
|
|
22
70
|
## [1.19.1] — 2026-06-30 — 🔧 Motor honesto ponta-a-ponta + Windows-safe
|
|
23
71
|
|
package/README.md
CHANGED
|
@@ -423,6 +423,16 @@ npx sinapse-ai chrome-brain install # Instala browser automation
|
|
|
423
423
|
|
|
424
424
|
Todos os comandos são seguros para re-rodar. Para listar agentes ativos depois de instalar, abra o Claude Code ou o Codex CLI e digite `@` para autocompletar.
|
|
425
425
|
|
|
426
|
+
### Orquestração (avançado)
|
|
427
|
+
|
|
428
|
+
Além do CLI de instalação acima, o pacote expõe um binário separado (`sinapse`) com um motor de orquestração que gera spec, plano e código para uma story. **Escopo medido: executa 1 story por vez** — orquestração autônoma de múltiplas stories encadeadas foi testada e não é suportada (ver [KNOWN-LIMITATIONS.md](https://github.com/caioimori/sinapse-ai/blob/main/docs/epics/epic-orchestration-consolidation/KNOWN-LIMITATIONS.md)).
|
|
429
|
+
|
|
430
|
+
```bash
|
|
431
|
+
npx -p sinapse-ai sinapse route "<briefing>" # Classifica o briefing -> workflow + o que falta
|
|
432
|
+
npx -p sinapse-ai sinapse build "<briefing>" # Roda o route de forma guiada (--dry-run, --type)
|
|
433
|
+
npx -p sinapse-ai sinapse orchestrate <story-id> # Gera spec + plano + build para UMA story (--status/--stop/--resume)
|
|
434
|
+
```
|
|
435
|
+
|
|
426
436
|
---
|
|
427
437
|
|
|
428
438
|
## Contribuindo
|