sinapse-ai 5.0.8 → 6.0.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 +1 -1
- package/.claude/rules/agent-authority.md +10 -10
- package/.claude/rules/agent-memory-imports.md +4 -4
- package/.claude/rules/coderabbit-integration.md +4 -4
- package/.claude/rules/ids-principles.md +5 -5
- package/.claude/rules/story-lifecycle.md +15 -15
- package/.claude/rules/workflow-execution.md +11 -11
- package/.sinapse-ai/constitution.md +3 -3
- package/.sinapse-ai/core/code-intel/helpers/dev-helper.js +1 -1
- package/.sinapse-ai/core/code-intel/helpers/qa-helper.js +1 -1
- package/.sinapse-ai/core/code-intel/helpers/story-helper.js +7 -7
- package/.sinapse-ai/core/config/config-loader.js +1 -1
- package/.sinapse-ai/core/docs/session-update-pattern.md +1 -1
- package/.sinapse-ai/core/ids/framework-governor.js +4 -4
- package/.sinapse-ai/core/ids/index.js +1 -1
- package/.sinapse-ai/core/memory/gotchas-memory.js +1 -1
- package/.sinapse-ai/core/orchestration/agent-invoker.js +1 -1
- package/.sinapse-ai/core/orchestration/bob-surface-criteria.yaml +2 -2
- package/.sinapse-ai/core/orchestration/executor-assignment.js +1 -1
- package/.sinapse-ai/core/orchestration/executors/epic-6-executor.js +1 -1
- package/.sinapse-ai/core/orchestration/executors/epic-executor.js +1 -1
- package/.sinapse-ai/core/orchestration/greenfield-handler.js +4 -4
- package/.sinapse-ai/core/orchestration/master-orchestrator.js +1 -1
- package/.sinapse-ai/core/orchestration/skill-dispatcher.js +3 -3
- package/.sinapse-ai/core/orchestration/workflow-executor.js +1 -1
- package/.sinapse-ai/core/quality-gates/layer2-pr-automation.js +3 -3
- package/.sinapse-ai/core/quality-gates/layer3-human-review.js +1 -1
- package/.sinapse-ai/core/quality-gates/quality-gate-config.yaml +1 -1
- package/.sinapse-ai/core/session/context-loader.js +1 -1
- package/.sinapse-ai/data/agent-config-requirements.yaml +3 -3
- package/.sinapse-ai/data/entity-registry.yaml +2154 -2337
- package/.sinapse-ai/data/registry-update-log.jsonl +316 -0
- package/.sinapse-ai/data/sinapse-kb.md +13 -13
- package/.sinapse-ai/data/tech-presets/csharp.md +2 -2
- package/.sinapse-ai/data/tech-presets/go.md +2 -2
- package/.sinapse-ai/data/tech-presets/java.md +2 -2
- package/.sinapse-ai/data/tech-presets/nextjs-react.md +1 -1
- package/.sinapse-ai/data/tech-presets/php.md +2 -2
- package/.sinapse-ai/data/tech-presets/rust.md +2 -2
- package/.sinapse-ai/data/technical-preferences.md +1 -1
- package/.sinapse-ai/data/workflow-chains.yaml +15 -15
- package/.sinapse-ai/development/README.md +1 -1
- package/.sinapse-ai/development/agent-teams/team-qa-focused.yaml +7 -7
- package/.sinapse-ai/development/agents/analyst.md +6 -6
- package/.sinapse-ai/development/agents/architect.md +4 -4
- package/.sinapse-ai/development/agents/data-engineer.md +2 -2
- package/.sinapse-ai/development/agents/{dev.md → developer.md} +7 -7
- package/.sinapse-ai/development/agents/devops.md +4 -4
- package/.sinapse-ai/development/agents/{po → product-lead}/MEMORY.md +3 -3
- package/.sinapse-ai/development/agents/{po.md → product-lead.md} +25 -25
- package/.sinapse-ai/development/agents/{pm → project-lead}/MEMORY.md +2 -2
- package/.sinapse-ai/development/agents/{pm.md → project-lead.md} +15 -15
- package/.sinapse-ai/development/agents/{qa.md → quality-gate.md} +8 -8
- package/.sinapse-ai/development/agents/{sinapse-master.md → sinapse-orqx.md} +12 -12
- package/.sinapse-ai/development/agents/{sm.md → sprint-lead.md} +18 -18
- package/.sinapse-ai/development/agents/squad-creator.md +4 -4
- package/.sinapse-ai/development/agents/ux-design-expert.md +2 -2
- package/.sinapse-ai/development/checklists/brownfield-compatibility-checklist.md +1 -1
- package/.sinapse-ai/development/checklists/memory-audit-checklist.md +1 -1
- package/.sinapse-ai/development/scripts/agent-config-loader.js +1 -1
- package/.sinapse-ai/development/scripts/apply-inline-greeting-all-agents.js +1 -1
- package/.sinapse-ai/development/scripts/audit-agent-config.js +2 -2
- package/.sinapse-ai/development/scripts/batch-update-agents-session-context.js +1 -1
- package/.sinapse-ai/development/scripts/dev-context-loader.js +1 -1
- package/.sinapse-ai/development/scripts/populate-entity-registry.js +2 -2
- package/.sinapse-ai/development/scripts/test-greeting-system.js +4 -4
- package/.sinapse-ai/development/scripts/unified-activation-pipeline.js +2 -2
- package/.sinapse-ai/development/scripts/verify-workflow-gaps.js +9 -9
- package/.sinapse-ai/development/tasks/analyze-cross-artifact.md +1 -1
- package/.sinapse-ai/development/tasks/analyze-project-structure.md +4 -4
- package/.sinapse-ai/development/tasks/apply-qa-fixes.md +1 -1
- package/.sinapse-ai/development/tasks/architect-analyze-impact.md +1 -1
- package/.sinapse-ai/development/tasks/brownfield-create-epic.md +10 -10
- package/.sinapse-ai/development/tasks/brownfield-create-story.md +1 -1
- package/.sinapse-ai/development/tasks/build-autonomous.md +1 -1
- package/.sinapse-ai/development/tasks/cleanup-utilities.md +6 -6
- package/.sinapse-ai/development/tasks/create-agent.md +1 -1
- package/.sinapse-ai/development/tasks/create-brownfield-story.md +4 -4
- package/.sinapse-ai/development/tasks/create-next-story.md +12 -12
- package/.sinapse-ai/development/tasks/create-service.md +2 -2
- package/.sinapse-ai/development/tasks/create-suite.md +1 -1
- package/.sinapse-ai/development/tasks/dev-backlog-debt.md +3 -3
- package/.sinapse-ai/development/tasks/dev-develop-story.md +5 -5
- package/.sinapse-ai/development/tasks/environment-bootstrap.md +2 -2
- package/.sinapse-ai/development/tasks/execute-checklist.md +1 -1
- package/.sinapse-ai/development/tasks/execute-epic-plan.md +11 -11
- package/.sinapse-ai/development/tasks/extract-patterns.md +2 -2
- package/.sinapse-ai/development/tasks/facilitate-brainstorming-session.md +2 -2
- package/.sinapse-ai/development/tasks/github-devops-github-pr-automation.md +1 -1
- package/.sinapse-ai/development/tasks/github-devops-pre-push-quality-gate.md +1 -1
- package/.sinapse-ai/development/tasks/ids-governor.md +3 -3
- package/.sinapse-ai/development/tasks/next.md +2 -2
- package/.sinapse-ai/development/tasks/orchestrate-resume.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate-status.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate-stop.md +1 -1
- package/.sinapse-ai/development/tasks/orchestrate.md +1 -1
- package/.sinapse-ai/development/tasks/patterns.md +2 -2
- package/.sinapse-ai/development/tasks/plan-create-context.md +2 -2
- package/.sinapse-ai/development/tasks/plan-execute-subtask.md +3 -3
- package/.sinapse-ai/development/tasks/po-close-story.md +3 -3
- package/.sinapse-ai/development/tasks/project-status.md +2 -2
- package/.sinapse-ai/development/tasks/qa-after-creation.md +2 -2
- package/.sinapse-ai/development/tasks/qa-backlog-add-followup.md +3 -3
- package/.sinapse-ai/development/tasks/qa-create-fix-request.md +8 -8
- package/.sinapse-ai/development/tasks/qa-evidence-requirements.md +1 -1
- package/.sinapse-ai/development/tasks/qa-false-positive-detection.md +1 -1
- package/.sinapse-ai/development/tasks/qa-fix-issues.md +10 -10
- package/.sinapse-ai/development/tasks/qa-gate.md +3 -3
- package/.sinapse-ai/development/tasks/qa-review-build.md +3 -3
- package/.sinapse-ai/development/tasks/qa-review-story.md +2 -2
- package/.sinapse-ai/development/tasks/qa-run-tests.md +1 -1
- package/.sinapse-ai/development/tasks/run-workflow-engine.md +1 -1
- package/.sinapse-ai/development/tasks/run-workflow.md +1 -1
- package/.sinapse-ai/development/tasks/security-scan.md +2 -2
- package/.sinapse-ai/development/tasks/setup-llm-routing.md +1 -1
- package/.sinapse-ai/development/tasks/spec-critique.md +4 -4
- package/.sinapse-ai/development/tasks/spec-gather-requirements.md +4 -4
- package/.sinapse-ai/development/tasks/spec-write-spec.md +2 -2
- package/.sinapse-ai/development/tasks/story-checkpoint.md +3 -3
- package/.sinapse-ai/development/tasks/sync-registry-intel.md +1 -1
- package/.sinapse-ai/development/tasks/validate-agents.md +1 -1
- package/.sinapse-ai/development/tasks/validate-next-story.md +10 -10
- package/.sinapse-ai/development/tasks/validate-workflow.md +1 -1
- package/.sinapse-ai/development/tasks/verify-subtask.md +2 -2
- package/.sinapse-ai/development/templates/code-intel-integration-pattern.md +3 -3
- package/.sinapse-ai/development/templates/subagent-step-prompt.md +2 -2
- package/.sinapse-ai/development/workflows/README.md +2 -2
- package/.sinapse-ai/development/workflows/auto-worktree.yaml +5 -5
- package/.sinapse-ai/development/workflows/brownfield-discovery.yaml +11 -11
- package/.sinapse-ai/development/workflows/brownfield-fullstack.yaml +6 -6
- package/.sinapse-ai/development/workflows/brownfield-service.yaml +5 -5
- package/.sinapse-ai/development/workflows/brownfield-ui.yaml +5 -5
- package/.sinapse-ai/development/workflows/development-cycle.yaml +10 -10
- package/.sinapse-ai/development/workflows/epic-orchestration.yaml +6 -6
- package/.sinapse-ai/development/workflows/greenfield-fullstack.yaml +7 -7
- package/.sinapse-ai/development/workflows/greenfield-service.yaml +5 -5
- package/.sinapse-ai/development/workflows/greenfield-ui.yaml +5 -5
- package/.sinapse-ai/development/workflows/qa-loop.yaml +1 -1
- package/.sinapse-ai/development/workflows/spec-pipeline.yaml +2 -2
- package/.sinapse-ai/development/workflows/story-development-cycle.yaml +1 -1
- package/.sinapse-ai/docs/standards/AGENT-PERSONALIZATION-STANDARD-V1.md +2 -2
- package/.sinapse-ai/docs/standards/OPEN-SOURCE-VS-SERVICE-DIFFERENCES.md +1 -1
- package/.sinapse-ai/docs/standards/QUALITY-GATES-SPECIFICATION.md +1 -1
- package/.sinapse-ai/docs/standards/SINAPSE-LIVRO-DE-OURO-V2.1-COMPLETE.md +6 -6
- package/.sinapse-ai/docs/standards/STANDARDS-INDEX.md +2 -2
- package/.sinapse-ai/docs/standards/STORY-TEMPLATE-V2-SPECIFICATION.md +6 -6
- package/.sinapse-ai/infrastructure/scripts/config-loader.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/gotchas-documenter.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/ide-sync/README.md +3 -3
- package/.sinapse-ai/infrastructure/scripts/ide-sync/gemini-commands.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/ide-sync/index.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/ide-sync/redirect-generator.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/migrate-agent.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/performance-tracker.js +2 -2
- package/.sinapse-ai/infrastructure/scripts/qa-report-generator.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/recovery-tracker.js +1 -1
- package/.sinapse-ai/infrastructure/scripts/rollback-manager.js +1 -1
- package/.sinapse-ai/infrastructure/templates/core-config/core-config-brownfield.tmpl.yaml +1 -1
- package/.sinapse-ai/infrastructure/templates/core-config/core-config-greenfield.tmpl.yaml +1 -1
- package/.sinapse-ai/infrastructure/templates/sinapse-sync.yaml.template +1 -1
- package/.sinapse-ai/install-manifest.yaml +344 -344
- package/.sinapse-ai/monitor/hooks/lib/enrich.py +1 -1
- package/.sinapse-ai/product/checklists/self-critique-checklist.md +1 -1
- package/.sinapse-ai/product/checklists/story-draft-checklist.md +3 -3
- package/.sinapse-ai/product/templates/command-rationalization-matrix.md +3 -3
- package/.sinapse-ai/product/templates/design-story-tmpl.yaml +4 -4
- package/.sinapse-ai/product/templates/ide-rules/antigravity-rules.md +1 -1
- package/.sinapse-ai/product/templates/ide-rules/claude-rules.md +2 -2
- package/.sinapse-ai/product/templates/ide-rules/codex-rules.md +6 -6
- package/.sinapse-ai/product/templates/ide-rules/cursor-rules.md +1 -1
- package/.sinapse-ai/product/templates/personalized-agent-template.md +1 -1
- package/.sinapse-ai/product/templates/personalized-task-template.md +1 -1
- package/.sinapse-ai/product/templates/personalized-template-file.yaml +1 -1
- package/.sinapse-ai/product/templates/personalized-workflow-template.yaml +3 -3
- package/.sinapse-ai/product/templates/story-tmpl.yaml +8 -8
- package/.sinapse-ai/schemas/README.md +15 -15
- package/.sinapse-ai/scripts/diagnostics/health-dashboard/package-lock.json +2 -2
- package/.sinapse-ai/user-guide.md +4 -4
- package/.sinapse-ai/working-in-the-brownfield.md +3 -3
- package/LICENSE +4 -4
- package/README.en.md +6 -6
- package/README.md +8 -8
- package/bin/cli.js +13 -11
- package/bin/sinapse.js +17 -0
- package/docs/00-shared-activation-pipeline.md +16 -16
- package/docs/FEATURE_PROCESS.md +1 -1
- package/docs/ORQX-PLAN.md +264 -0
- package/docs/core-architecture.md +2 -2
- package/docs/en/sinapse-agent-flows/README.md +2 -2
- package/docs/en/sinapse-agent-flows/dev-system.md +2 -2
- package/docs/en/sinapse-agent-flows/pm-system.md +2 -2
- package/docs/en/sinapse-agent-flows/qa-system.md +2 -2
- package/docs/en/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +5 -5
- package/docs/en/sinapse-agent-flows/sm-system.md +2 -2
- package/docs/framework/entity-layer-classification.md +2 -2
- package/docs/framework/source-tree.md +17 -17
- package/docs/getting-started.md +13 -13
- package/docs/guides/IDS-CONCEITOS-EXPLICADOS.md +17 -17
- package/docs/guides/MEMORY-INTEGRATION.md +3 -3
- package/docs/guides/MEMORY-INTELLIGENCE-SYSTEM.md +4 -4
- package/docs/guides/ade-guide.md +25 -25
- package/docs/guides/agent-selection-guide.md +36 -36
- package/docs/guides/agents/ANALYST-SYSTEM.md +5 -5
- package/docs/guides/agents/ARCHITECT-SYSTEM.md +9 -9
- package/docs/guides/agents/DATA-ENGINEER-SYSTEM.md +8 -8
- package/docs/guides/agents/DEV-SYSTEM.md +27 -27
- package/docs/guides/agents/DEVOPS-SYSTEM.md +5 -5
- package/docs/guides/agents/PM-SYSTEM.md +24 -24
- package/docs/guides/agents/QA-SYSTEM.md +24 -24
- package/docs/guides/agents/SINAPSE-MASTER-SYSTEM.md +26 -26
- package/docs/guides/agents/SM-SYSTEM.md +31 -31
- package/docs/guides/agents/SQUAD-CREATOR-SYSTEM.md +2 -2
- package/docs/guides/agents/UX-DESIGN-EXPERT-SYSTEM.md +10 -10
- package/docs/guides/agents/traces/00-shared-activation-pipeline.md +16 -16
- package/docs/guides/agents/traces/00-shared-activation-pipeline.v1-act8.md +16 -16
- package/docs/guides/agents/traces/README.md +20 -20
- package/docs/guides/agents/traces/analyst-execution-trace.md +6 -6
- package/docs/guides/agents/traces/architect-execution-trace.md +3 -3
- package/docs/guides/agents/traces/data-engineer-execution-trace.md +4 -4
- package/docs/guides/agents/traces/dev-execution-trace.md +12 -12
- package/docs/guides/agents/traces/devops-execution-trace.md +6 -6
- package/docs/guides/agents/traces/pm-execution-trace.md +14 -14
- package/docs/guides/agents/traces/po-execution-trace.md +17 -17
- package/docs/guides/agents/traces/qa-execution-trace.md +15 -15
- package/docs/guides/agents/traces/{sinapse-master-execution-trace.md → sinapse-orqx-execution-trace.md} +22 -22
- package/docs/guides/agents/traces/sm-execution-trace.md +15 -15
- package/docs/guides/agents/traces/squad-creation-execution-trace.md +9 -9
- package/docs/guides/agents/traces/ux-design-expert-execution-trace.md +4 -4
- package/docs/guides/api-reference.md +27 -27
- package/docs/guides/coderabbit/README.md +9 -9
- package/docs/guides/contextual-greeting-system-guide.md +5 -5
- package/docs/guides/development-setup.md +1 -1
- package/docs/guides/project-status-feature.md +2 -2
- package/docs/guides/quality-dashboard.md +2 -2
- package/docs/guides/quality-gates.md +6 -6
- package/docs/guides/template-engine-v2.md +2 -2
- package/docs/guides/user-guide.md +13 -13
- package/docs/guides/workflows/AUTO-WORKTREE-WORKFLOW.md +3 -3
- package/docs/guides/workflows/BROWNFIELD-DISCOVERY-WORKFLOW.md +6 -6
- package/docs/guides/workflows/BROWNFIELD-FULLSTACK-WORKFLOW.md +30 -30
- package/docs/guides/workflows/BROWNFIELD-SERVICE-WORKFLOW.md +38 -38
- package/docs/guides/workflows/BROWNFIELD-UI-WORKFLOW.md +25 -25
- package/docs/guides/workflows/GREENFIELD-FULLSTACK-WORKFLOW.md +37 -37
- package/docs/guides/workflows/GREENFIELD-SERVICE-WORKFLOW.md +5 -5
- package/docs/guides/workflows/GREENFIELD-UI-WORKFLOW.md +19 -19
- package/docs/guides/workflows/QA-LOOP-WORKFLOW.md +13 -13
- package/docs/guides/workflows/SINAPSE-COMPLETE-CROSS-REFERENCE-ANALYSIS.md +19 -19
- package/docs/guides/workflows/SPEC-PIPELINE-WORKFLOW.md +25 -25
- package/docs/guides/workflows/STORY-DEVELOPMENT-CYCLE-WORKFLOW.md +28 -28
- package/docs/guides/workflows/WORKFLOW-TASK-AGENT-ANALYSIS.md +94 -94
- package/docs/guides/workflows/xref-phase2-templates.md +29 -29
- package/docs/guides/workflows/xref-phase3-scripts.md +33 -33
- package/docs/guides/workflows/xref-phase4-infra.md +2 -2
- package/docs/guides/workflows/xref-phase6-supporting.md +1 -1
- package/docs/guides/workflows-guide.md +2 -2
- package/docs/installation/faq.md +1 -1
- package/docs/installation/troubleshooting.md +2 -2
- package/docs/installation/v4-quick-start.md +2 -2
- package/docs/prd-cli-graph-dashboard.md +1 -1
- package/docs/pt/DOCUMENTATION-ROADMAP.md +1 -1
- package/docs/pt/FEATURE_PROCESS.md +1 -1
- package/docs/pt/README.md +2 -2
- package/docs/pt/agents/archetype-rationale.md +4 -4
- package/docs/pt/agents/persona-definitions.md +9 -9
- package/docs/pt/architecture/ADE-ARCHITECT-HANDOFF.md +15 -15
- package/docs/pt/architecture/ADE-EPIC1-HANDOFF.md +2 -2
- package/docs/pt/architecture/ADE-EPIC2-HANDOFF.md +2 -2
- package/docs/pt/architecture/ADE-EPIC3-HANDOFF.md +8 -8
- package/docs/pt/architecture/ade-architecture.md +4 -4
- package/docs/pt/architecture/adr/adr-hcs-health-check-system.md +3 -3
- package/docs/pt/architecture/agent-config-audit.md +4 -4
- package/docs/pt/architecture/agent-responsibility-matrix.md +20 -20
- package/docs/pt/architecture/agent-tool-integration-guide.md +8 -8
- package/docs/pt/architecture/contribution-workflow-research.md +1 -1
- package/docs/pt/architecture/dashboard-architecture.md +1 -1
- package/docs/pt/architecture/hcs-check-specifications.md +1 -1
- package/docs/pt/architecture/hcs-execution-modes.md +1 -1
- package/docs/pt/architecture/hcs-self-healing-spec.md +1 -1
- package/docs/pt/architecture/high-level-architecture.md +1 -1
- package/docs/pt/architecture/module-system.md +1 -1
- package/docs/pt/architecture/source-tree.md +1 -1
- package/docs/pt/architecture/squad-improvement-recommended-approach.md +2 -2
- package/docs/pt/architecture/utility-integration-guide.md +2 -2
- package/docs/pt/contributing.md +1 -1
- package/docs/pt/core-architecture.md +2 -2
- package/docs/pt/framework/source-tree.md +1 -1
- package/docs/pt/guides/ade-guide.md +25 -25
- package/docs/pt/guides/agent-selection-guide.md +36 -36
- package/docs/pt/guides/api-reference.md +25 -25
- package/docs/pt/guides/contextual-greeting-system-guide.md +5 -5
- package/docs/pt/guides/development-setup.md +1 -1
- package/docs/pt/guides/project-status-feature.md +2 -2
- package/docs/pt/guides/quality-dashboard.md +2 -2
- package/docs/pt/guides/quality-gates.md +6 -6
- package/docs/pt/guides/template-engine-v2.md +2 -2
- package/docs/pt/guides/user-guide.md +8 -8
- package/docs/pt/guides/workflows-guide.md +2 -2
- package/docs/pt/installation/faq.md +1 -1
- package/docs/pt/installation/troubleshooting.md +2 -2
- package/docs/pt/installation/v4-quick-start.md +2 -2
- package/docs/pt/platforms/antigravity.md +9 -9
- package/docs/pt/platforms/cursor.md +15 -15
- package/docs/pt/platforms/gemini-cli.md +3 -3
- package/docs/pt/roadmap.md +1 -1
- package/docs/pt/sinapse-nomenclature-specification.md +15 -15
- package/docs/pt/specifications/docs-agent-technical-specification.md +11 -11
- package/docs/roadmap.md +1 -1
- package/docs/sinapse-agent-flows/README.md +2 -2
- package/docs/sinapse-agent-flows/analyst-system.md +5 -5
- package/docs/sinapse-agent-flows/architect-system.md +9 -9
- package/docs/sinapse-agent-flows/data-engineer-system.md +8 -8
- package/docs/sinapse-agent-flows/dev-system.md +27 -27
- package/docs/sinapse-agent-flows/devops-system.md +5 -5
- package/docs/sinapse-agent-flows/pm-system.md +24 -24
- package/docs/sinapse-agent-flows/qa-system.md +24 -24
- package/docs/sinapse-agent-flows/{sinapse-master-system.md → sinapse-orqx-system.md} +26 -26
- package/docs/sinapse-agent-flows/sm-system.md +31 -31
- package/docs/sinapse-agent-flows/squad-creator-system.md +2 -2
- package/docs/sinapse-agent-flows/ux-design-expert-system.md +10 -10
- package/docs/sinapse-workflows/auto-worktree-workflow.md +3 -3
- package/docs/sinapse-workflows/brownfield-discovery-workflow.md +6 -6
- package/docs/sinapse-workflows/brownfield-fullstack-workflow.md +30 -30
- package/docs/sinapse-workflows/brownfield-service-workflow.md +38 -38
- package/docs/sinapse-workflows/brownfield-ui-workflow.md +25 -25
- package/docs/sinapse-workflows/greenfield-fullstack-workflow.md +37 -37
- package/docs/sinapse-workflows/greenfield-service-workflow.md +5 -5
- package/docs/sinapse-workflows/greenfield-ui-workflow.md +19 -19
- package/docs/sinapse-workflows/qa-loop-workflow.md +13 -13
- package/docs/sinapse-workflows/spec-pipeline-workflow.md +25 -25
- package/docs/sinapse-workflows/story-development-cycle-workflow.md +28 -28
- package/package.json +1 -1
- package/packages/gemini-sinapse-extension/README.md +1 -1
- package/packages/gemini-sinapse-extension/commands/lib/agent-launcher.js +1 -1
- package/packages/gemini-sinapse-extension/commands/{sinapse-master.js → sinapse-orqx.js} +1 -1
- package/packages/gemini-sinapse-extension/extension.json +3 -3
- package/packages/gemini-sinapse-extension/gemini-extension.json +3 -3
- package/packages/installer/src/config/configure-environment.js +2 -2
- package/packages/installer/src/updater/index.js +105 -0
- package/packages/installer/src/wizard/feedback.js +38 -30
- package/packages/installer/src/wizard/i18n.js +25 -182
- package/packages/installer/src/wizard/ide-config-generator.js +1 -1
- package/packages/installer/src/wizard/index.js +253 -69
- package/packages/installer/src/wizard/questions.js +35 -7
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +1 -1
- package/packages/sinapse-install/README.md +1 -1
- package/packages/sinapse-install/src/installer.js +1 -1
- package/scripts/package-synapse.js +1 -1
- package/sinapse/agents/{sinapse-master.md → sinapse-orqx.md} +18 -18
- package/sinapse/knowledge-base/cross-squad-patterns.md +1 -1
- package/sinapse/knowledge-base/routing-catalog.md +1 -1
- package/sinapse/squad.yaml +1 -1
- package/sinapse/tasks/compose-multi-squad-plan.md +2 -2
- package/sinapse/tasks/coordinate-cross-squad.md +2 -2
- package/sinapse/tasks/diagnose-and-route.md +2 -2
- package/sinapse/tasks/onboard-user.md +2 -2
- package/sinapse/tasks/resolve-conflict.md +2 -2
- package/sinapse/tasks/squad-status-report.md +2 -2
- package/sinapse/tasks/strategic-brief.md +3 -3
- package/squads/squad-animations/agents/animations-orqx.md +2 -2
- package/squads/squad-brand/agents/brand-creative-engineer.md +1 -1
- package/squads/squad-brand/agents/brand-motion-vfx.md +1 -1
- 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/agents/brand-system-architect.md +1 -1
- package/squads/squad-claude/agents/claude-orqx.md +2 -2
- package/squads/squad-cloning/agents/cloning-orqx.md +3 -3
- package/squads/squad-commercial/agents/commercial-orqx.md +1 -1
- package/squads/squad-commercial/agents/cs-business-auditor.md +1 -1
- package/squads/squad-commercial/agents/cs-client-success.md +1 -1
- package/squads/squad-commercial/agents/cs-crm-specialist.md +1 -1
- package/squads/squad-commercial/agents/cs-funnel-architect.md +1 -1
- package/squads/squad-commercial/agents/cs-lead-generation-strategist.md +1 -1
- package/squads/squad-commercial/agents/cs-offer-designer.md +1 -1
- package/squads/squad-commercial/agents/cs-revops-analyst.md +1 -1
- package/squads/squad-commercial/agents/cs-sales-closer.md +1 -1
- package/squads/squad-commercial/agents/cs-sales-enablement.md +1 -1
- package/squads/squad-commercial/knowledge-base/ai-as-competitive-infrastructure.md +1 -1
- package/squads/squad-content/agents/content-orqx.md +2 -2
- package/squads/squad-content/knowledge-base/ai-leverage-content-framework.md +1 -1
- package/squads/squad-copy/agents/copy-strategist.md +3 -3
- package/squads/squad-copy/knowledge-base/consequence-headline-patterns.md +1 -1
- package/squads/squad-council/agents/council-orqx.md +1 -1
- package/squads/squad-courses/agents/courses-orqx.md +1 -1
- package/squads/squad-cybersecurity/agents/cyber-orqx.md +2 -2
- package/squads/squad-design/agents/design-orqx.md +2 -2
- package/squads/squad-finance/agents/finance-orqx.md +2 -2
- package/squads/squad-growth/agents/growth-orqx.md +2 -2
- package/squads/squad-paidmedia/agents/paidmedia-orqx.md +2 -2
- package/squads/squad-product/agents/product-orqx.md +2 -2
- package/squads/squad-research/agents/research-orqx.md +2 -2
- package/squads/squad-research/tasks/create-executive-briefing.md +1 -1
- package/squads/squad-research/tasks/create-insight-deck.md +1 -1
- package/squads/squad-research/tasks/forecast-industry-trends.md +1 -1
- package/squads/squad-research/tasks/generate-actionable-recommendations.md +2 -2
- package/squads/squad-research/tasks/run-scenario-planning.md +2 -2
- package/squads/squad-research/tasks/synthesize-research-report.md +2 -2
- package/squads/squad-research/tasks/track-emerging-technologies.md +1 -1
- package/squads/squad-storytelling/agents/storytelling-orqx.md +2 -2
- package/docs/es/CHANGELOG.md +0 -117
- package/docs/es/DOCUMENTATION-ROADMAP.md +0 -216
- package/docs/es/ENVIRONMENT.md +0 -140
- package/docs/es/FEATURE_PROCESS.md +0 -99
- package/docs/es/GUIDING-PRINCIPLES.md +0 -101
- package/docs/es/README.md +0 -134
- package/docs/es/agent-reference-guide.md +0 -570
- package/docs/es/agents/archetype-rationale.md +0 -566
- package/docs/es/agents/persona-definitions.md +0 -501
- package/docs/es/api/squads-api.md +0 -753
- package/docs/es/architecture/ADE-AGENT-CHANGES.md +0 -469
- package/docs/es/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
- package/docs/es/architecture/ADE-EPIC1-HANDOFF.md +0 -85
- package/docs/es/architecture/ADE-EPIC2-HANDOFF.md +0 -106
- package/docs/es/architecture/ADE-EPIC3-HANDOFF.md +0 -327
- package/docs/es/architecture/ARCHITECTURE-INDEX.md +0 -188
- package/docs/es/architecture/ade-architecture.md +0 -586
- package/docs/es/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
- package/docs/es/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
- package/docs/es/architecture/adr/adr-hcs-health-check-system.md +0 -489
- package/docs/es/architecture/adr/adr-isolated-vm-decision.md +0 -70
- package/docs/es/architecture/agent-config-audit.md +0 -222
- package/docs/es/architecture/agent-responsibility-matrix.md +0 -444
- package/docs/es/architecture/agent-tool-integration-guide.md +0 -334
- package/docs/es/architecture/ci-cd.md +0 -151
- package/docs/es/architecture/coding-standards.md +0 -896
- package/docs/es/architecture/contribution-workflow-research.md +0 -376
- package/docs/es/architecture/dashboard-architecture.md +0 -926
- package/docs/es/architecture/dashboard-realtime.md +0 -1253
- package/docs/es/architecture/hcs-check-specifications.md +0 -897
- package/docs/es/architecture/hcs-execution-modes.md +0 -519
- package/docs/es/architecture/hcs-self-healing-spec.md +0 -695
- package/docs/es/architecture/high-level-architecture.md +0 -357
- package/docs/es/architecture/introduction.md +0 -21
- package/docs/es/architecture/mcp-api-keys-management.md +0 -246
- package/docs/es/architecture/mcp-system-diagrams.md +0 -113
- package/docs/es/architecture/module-system.md +0 -382
- package/docs/es/architecture/multi-repo-strategy.md +0 -390
- package/docs/es/architecture/source-tree.md +0 -708
- package/docs/es/architecture/squad-improvement-analysis.md +0 -204
- package/docs/es/architecture/squad-improvement-recommended-approach.md +0 -390
- package/docs/es/architecture/tech-stack.md +0 -806
- package/docs/es/architecture/utility-integration-guide.md +0 -358
- package/docs/es/community/README-community-snippet-core.md +0 -57
- package/docs/es/community/README-community-snippet-mcp.md +0 -49
- package/docs/es/community/README-community-snippet-squads.md +0 -40
- package/docs/es/community.md +0 -227
- package/docs/es/core-architecture.md +0 -229
- package/docs/es/docker-mcp-setup.md +0 -426
- package/docs/es/framework/README.md +0 -99
- package/docs/es/framework/coding-standards.md +0 -892
- package/docs/es/framework/source-tree.md +0 -725
- package/docs/es/framework/tech-stack.md +0 -802
- package/docs/es/getting-started.md +0 -572
- package/docs/es/git-workflow-guide.md +0 -995
- package/docs/es/guides/README.md +0 -133
- package/docs/es/guides/ade-guide.md +0 -452
- package/docs/es/guides/agent-selection-guide.md +0 -295
- package/docs/es/guides/api-reference.md +0 -899
- package/docs/es/guides/build-recovery-guide.md +0 -270
- package/docs/es/guides/contextual-greeting-system-guide.md +0 -387
- package/docs/es/guides/contributing-squads.md +0 -256
- package/docs/es/guides/development-setup.md +0 -1111
- package/docs/es/guides/ide-sync-guide.md +0 -194
- package/docs/es/guides/installation-troubleshooting.md +0 -327
- package/docs/es/guides/llm-routing.md +0 -312
- package/docs/es/guides/mcp/desktop-commander.md +0 -368
- package/docs/es/guides/mcp/docker-gateway-tutorial.md +0 -336
- package/docs/es/guides/mcp-global-setup.md +0 -663
- package/docs/es/guides/permission-modes.md +0 -313
- package/docs/es/guides/project-status-feature.md +0 -473
- package/docs/es/guides/quality-dashboard.md +0 -367
- package/docs/es/guides/quality-gates.md +0 -614
- package/docs/es/guides/security-hardening.md +0 -1359
- package/docs/es/guides/service-discovery.md +0 -524
- package/docs/es/guides/squad-examples/README.md +0 -64
- package/docs/es/guides/squad-migration.md +0 -356
- package/docs/es/guides/squads-guide.md +0 -836
- package/docs/es/guides/squads-overview.md +0 -332
- package/docs/es/guides/template-engine-v2.md +0 -484
- package/docs/es/guides/testing-guide.md +0 -1215
- package/docs/es/guides/user-guide.md +0 -452
- package/docs/es/guides/workflows-guide.md +0 -400
- package/docs/es/how-to-contribute-with-pull-requests.md +0 -160
- package/docs/es/ide-integration.md +0 -425
- package/docs/es/installation/README.md +0 -108
- package/docs/es/installation/faq.md +0 -616
- package/docs/es/installation/linux.md +0 -311
- package/docs/es/installation/macos.md +0 -189
- package/docs/es/installation/troubleshooting.md +0 -735
- package/docs/es/installation/v4-quick-start.md +0 -269
- package/docs/es/installation/windows.md +0 -342
- package/docs/es/meta-agent-commands.md +0 -990
- package/docs/es/migration-guide.md +0 -310
- package/docs/es/npx-install.md +0 -193
- package/docs/es/performance-tuning-guide.md +0 -707
- package/docs/es/platforms/README.md +0 -283
- package/docs/es/platforms/antigravity.md +0 -510
- package/docs/es/platforms/claude-code.md +0 -650
- package/docs/es/platforms/cursor.md +0 -635
- package/docs/es/platforms/gemini-cli.md +0 -483
- package/docs/es/platforms/github-copilot.md +0 -480
- package/docs/es/roadmap.md +0 -119
- package/docs/es/security-best-practices.md +0 -613
- package/docs/es/security.md +0 -124
- package/docs/es/sinapse-agent-flows/README.md +0 -190
- package/docs/es/sinapse-agent-flows/analyst-system.md +0 -36
- package/docs/es/sinapse-agent-flows/architect-system.md +0 -36
- package/docs/es/sinapse-agent-flows/data-engineer-system.md +0 -36
- package/docs/es/sinapse-agent-flows/dev-system.md +0 -36
- package/docs/es/sinapse-agent-flows/devops-system.md +0 -36
- package/docs/es/sinapse-agent-flows/pm-system.md +0 -36
- package/docs/es/sinapse-agent-flows/qa-system.md +0 -36
- package/docs/es/sinapse-agent-flows/sinapse-master-system.md +0 -36
- package/docs/es/sinapse-agent-flows/sm-system.md +0 -36
- package/docs/es/sinapse-agent-flows/squad-creator-system.md +0 -36
- package/docs/es/sinapse-agent-flows/ux-design-expert-system.md +0 -36
- package/docs/es/sinapse-nomenclature-specification.md +0 -673
- package/docs/es/sinapse-workflows/README.md +0 -247
- package/docs/es/sinapse-workflows/auto-worktree-workflow.md +0 -39
- package/docs/es/sinapse-workflows/brownfield-discovery-workflow.md +0 -41
- package/docs/es/sinapse-workflows/brownfield-fullstack-workflow.md +0 -42
- package/docs/es/sinapse-workflows/brownfield-service-workflow.md +0 -43
- package/docs/es/sinapse-workflows/brownfield-ui-workflow.md +0 -42
- package/docs/es/sinapse-workflows/design-system-build-quality-workflow.md +0 -40
- package/docs/es/sinapse-workflows/greenfield-fullstack-workflow.md +0 -44
- package/docs/es/sinapse-workflows/greenfield-service-workflow.md +0 -43
- package/docs/es/sinapse-workflows/greenfield-ui-workflow.md +0 -43
- package/docs/es/sinapse-workflows/qa-loop-workflow.md +0 -39
- package/docs/es/sinapse-workflows/spec-pipeline-workflow.md +0 -40
- package/docs/es/sinapse-workflows/story-development-cycle-workflow.md +0 -42
- package/docs/es/specifications/docs-agent-technical-specification.md +0 -2161
- package/docs/es/troubleshooting.md +0 -887
- package/docs/es/uninstallation.md +0 -556
- package/docs/es/versioning-and-releases.md +0 -146
- package/docs/zh/CHANGELOG.md +0 -191
- package/docs/zh/ENVIRONMENT.md +0 -136
- package/docs/zh/FEATURE_PROCESS.md +0 -92
- package/docs/zh/GLOSSARY.md +0 -179
- package/docs/zh/GUIDING-PRINCIPLES.md +0 -97
- package/docs/zh/README.md +0 -133
- package/docs/zh/TRANSLATION-PLAN.md +0 -508
- package/docs/zh/agent-reference-guide.md +0 -566
- package/docs/zh/agents/archetype-rationale.md +0 -631
- package/docs/zh/agents/persona-definitions.md +0 -560
- package/docs/zh/api/squads-api.md +0 -753
- package/docs/zh/architecture/ADE-ARCHITECT-HANDOFF.md +0 -338
- package/docs/zh/architecture/ADE-EPIC1-HANDOFF.md +0 -85
- package/docs/zh/architecture/ADE-EPIC2-HANDOFF.md +0 -106
- package/docs/zh/architecture/ADE-EPIC3-HANDOFF.md +0 -327
- package/docs/zh/architecture/ARCHITECTURE-INDEX.md +0 -190
- package/docs/zh/architecture/SINAPSE-VISUAL-OVERVIEW.md +0 -595
- package/docs/zh/architecture/ade-architecture.md +0 -474
- package/docs/zh/architecture/adr/ADR-COLLAB-1-current-state-audit.md +0 -259
- package/docs/zh/architecture/adr/ADR-COLLAB-2-proposed-configuration.md +0 -518
- package/docs/zh/architecture/adr/adr-hcs-health-check-system.md +0 -489
- package/docs/zh/architecture/adr/adr-isolated-vm-decision.md +0 -70
- package/docs/zh/architecture/agent-config-audit.md +0 -220
- package/docs/zh/architecture/agent-responsibility-matrix.md +0 -444
- package/docs/zh/architecture/agent-tool-integration-guide.md +0 -336
- package/docs/zh/architecture/ci-cd.md +0 -151
- package/docs/zh/architecture/coding-standards.md +0 -898
- package/docs/zh/architecture/command-authority-matrix.md +0 -18
- package/docs/zh/architecture/contribution-workflow-research.md +0 -376
- package/docs/zh/architecture/dashboard-architecture.md +0 -569
- package/docs/zh/architecture/dashboard-realtime.md +0 -415
- package/docs/zh/architecture/hcs-check-specifications.md +0 -102
- package/docs/zh/architecture/hcs-execution-modes.md +0 -114
- package/docs/zh/architecture/hcs-self-healing-spec.md +0 -148
- package/docs/zh/architecture/high-level-architecture.md +0 -355
- package/docs/zh/architecture/introduction.md +0 -21
- package/docs/zh/architecture/mcp-api-keys-management.md +0 -248
- package/docs/zh/architecture/mcp-system-diagrams.md +0 -113
- package/docs/zh/architecture/module-system.md +0 -382
- package/docs/zh/architecture/multi-repo-strategy.md +0 -237
- package/docs/zh/architecture/source-tree.md +0 -710
- package/docs/zh/architecture/squad-improvement-analysis.md +0 -204
- package/docs/zh/architecture/squad-improvement-recommended-approach.md +0 -390
- package/docs/zh/architecture/tech-stack.md +0 -808
- package/docs/zh/architecture/utility-integration-guide.md +0 -358
- package/docs/zh/code-of-conduct.md +0 -113
- package/docs/zh/community/README-community-snippet-core.md +0 -57
- package/docs/zh/community/README-community-snippet-mcp.md +0 -49
- package/docs/zh/community/README-community-snippet-squads.md +0 -40
- package/docs/zh/community.md +0 -227
- package/docs/zh/contributing.md +0 -581
- package/docs/zh/core-architecture.md +0 -229
- package/docs/zh/docker-mcp-setup.md +0 -226
- package/docs/zh/framework/README.md +0 -97
- package/docs/zh/framework/coding-standards.md +0 -886
- package/docs/zh/framework/source-tree.md +0 -888
- package/docs/zh/framework/tech-stack.md +0 -796
- package/docs/zh/getting-started.md +0 -317
- package/docs/zh/git-workflow-guide.md +0 -988
- package/docs/zh/guides/MEMORY-INTEGRATION.md +0 -497
- package/docs/zh/guides/MEMORY-INTELLIGENCE-SYSTEM.md +0 -1083
- package/docs/zh/guides/MEMORY-SYSTEM.md +0 -1003
- package/docs/zh/guides/README.md +0 -127
- package/docs/zh/guides/ade-guide.md +0 -446
- package/docs/zh/guides/agent-selection-guide.md +0 -289
- package/docs/zh/guides/api-reference.md +0 -427
- package/docs/zh/guides/build-recovery-guide.md +0 -266
- package/docs/zh/guides/contextual-greeting-system-guide.md +0 -381
- package/docs/zh/guides/contributing-squads.md +0 -250
- package/docs/zh/guides/development-setup.md +0 -384
- package/docs/zh/guides/ide-sync-guide.md +0 -193
- package/docs/zh/guides/installation-troubleshooting.md +0 -321
- package/docs/zh/guides/llm-routing.md +0 -306
- package/docs/zh/guides/mcp/desktop-commander.md +0 -368
- package/docs/zh/guides/mcp/docker-gateway-tutorial.md +0 -336
- package/docs/zh/guides/mcp-global-setup.md +0 -696
- package/docs/zh/guides/permission-modes.md +0 -307
- package/docs/zh/guides/project-status-feature.md +0 -467
- package/docs/zh/guides/quality-dashboard.md +0 -361
- package/docs/zh/guides/quality-gates.md +0 -462
- package/docs/zh/guides/security-hardening.md +0 -1055
- package/docs/zh/guides/service-discovery.md +0 -518
- package/docs/zh/guides/squad-examples/README.md +0 -63
- package/docs/zh/guides/squad-migration.md +0 -336
- package/docs/zh/guides/template-engine-v2.md +0 -478
- package/docs/zh/guides/workflows-guide.md +0 -408
- package/docs/zh/how-to-contribute-with-pull-requests.md +0 -158
- package/docs/zh/installation/README.md +0 -106
- package/docs/zh/installation/faq.md +0 -611
- package/docs/zh/installation/linux.md +0 -447
- package/docs/zh/installation/macos.md +0 -187
- package/docs/zh/installation/troubleshooting.md +0 -729
- package/docs/zh/installation/windows.md +0 -475
- package/docs/zh/meta-agent-commands.md +0 -990
- package/docs/zh/security-best-practices.md +0 -610
- package/docs/zh/security.md +0 -124
- package/docs/zh/sinapse-agent-flows/README.md +0 -196
- package/docs/zh/sinapse-agent-flows/analyst-system.md +0 -679
- package/docs/zh/sinapse-agent-flows/architect-system.md +0 -246
- package/docs/zh/sinapse-agent-flows/data-engineer-system.md +0 -418
- package/docs/zh/sinapse-agent-flows/dev-system.md +0 -209
- package/docs/zh/sinapse-agent-flows/devops-system.md +0 -643
- package/docs/zh/sinapse-agent-flows/pm-system.md +0 -733
- package/docs/zh/sinapse-agent-flows/qa-system.md +0 -268
- package/docs/zh/sinapse-agent-flows/sinapse-master-system.md +0 -81
- package/docs/zh/sinapse-agent-flows/sm-system.md +0 -501
- package/docs/zh/sinapse-agent-flows/squad-creator-system.md +0 -704
- package/docs/zh/sinapse-agent-flows/ux-design-expert-system.md +0 -160
- package/docs/zh/sinapse-workflows/README.md +0 -247
- package/docs/zh/sinapse-workflows/auto-worktree-workflow.md +0 -793
- package/docs/zh/sinapse-workflows/brownfield-discovery-workflow.md +0 -915
- package/docs/zh/sinapse-workflows/brownfield-fullstack-workflow.md +0 -764
- package/docs/zh/sinapse-workflows/brownfield-service-workflow.md +0 -812
- package/docs/zh/sinapse-workflows/brownfield-ui-workflow.md +0 -891
- package/docs/zh/sinapse-workflows/design-system-build-quality-workflow.md +0 -845
- package/docs/zh/sinapse-workflows/greenfield-fullstack-workflow.md +0 -796
- package/docs/zh/sinapse-workflows/greenfield-service-workflow.md +0 -786
- package/docs/zh/sinapse-workflows/greenfield-ui-workflow.md +0 -922
- package/docs/zh/sinapse-workflows/qa-loop-workflow.md +0 -1111
- package/docs/zh/sinapse-workflows/spec-pipeline-workflow.md +0 -1031
- package/docs/zh/sinapse-workflows/story-development-cycle-workflow.md +0 -843
- package/docs/zh/troubleshooting.md +0 -883
- package/docs/zh/uninstallation.md +0 -348
- package/docs/zh/versioning-and-releases.md +0 -140
- /package/.sinapse-ai/development/agents/{dev → developer}/MEMORY.md +0 -0
- /package/.sinapse-ai/development/agents/{qa → quality-gate}/MEMORY.md +0 -0
- /package/.sinapse-ai/development/agents/{sm → sprint-lead}/MEMORY.md +0 -0
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
# 代理选择指南
|
|
2
|
-
|
|
3
|
-
> **EN** | [PT](../pt/guides/agent-selection-guide.md) | [ES](../es/guides/agent-selection-guide.md)
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 选择正确代理的快速参考
|
|
8
|
-
|
|
9
|
-
**最后更新:** 2026-01-29 (ADE v2.2.0)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## 快速决策树
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
需要研究/分析? → @analyst
|
|
17
|
-
↓
|
|
18
|
-
需要PRD/史诗? → @pm
|
|
19
|
-
↓
|
|
20
|
-
需要架构? → @architect
|
|
21
|
-
↓
|
|
22
|
-
需要数据库? → @data-engineer
|
|
23
|
-
↓
|
|
24
|
-
需要故事? → @sm
|
|
25
|
-
↓
|
|
26
|
-
需要实现? → @dev
|
|
27
|
-
↓
|
|
28
|
-
需要测试/QA? → @qa
|
|
29
|
-
↓
|
|
30
|
-
需要部署? → @devops
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## 代理快速参考
|
|
36
|
-
|
|
37
|
-
| 代理 | 图标 | 用于 | 不用于 |
|
|
38
|
-
|------|------|------|--------|
|
|
39
|
-
| **@analyst** (Atlas) | 🔍 | 市场研究、竞争分析、头脑风暴、模式提取 | PRD创建、架构、故事 |
|
|
40
|
-
| **@pm** (Morgan) | 📋 | PRD、史诗、产品战略、需求收集、规范编写 | 研究、架构、详细故事 |
|
|
41
|
-
| **@architect** (Aria) | 🏛️ | 系统架构、API设计、技术栈、复杂度评估、实现规划 | 研究、PRD、数据库架构 |
|
|
42
|
-
| **@data-engineer** (Dara) | 📊 | 数据库架构、RLS、迁移、查询优化 | 应用架构、DB技术选择 |
|
|
43
|
-
| **@sm** (River) | 🌊 | 用户故事、冲刺规划、待办事项整理 | PRD、史诗、研究、实现 |
|
|
44
|
-
| **@dev** (Dex) | 💻 | 故事实现、编码、测试、子任务执行、恢复 | 故事创建、部署 |
|
|
45
|
-
| **@qa** (Quinn) | 🧪 | 代码审查、测试、质量保证、规范批评、结构化审查 | 实现 |
|
|
46
|
-
| **@po** (Pax) | 🎯 | 待办事项管理、验收标准、优先级排序 | 史诗创建、架构 |
|
|
47
|
-
| **@ux-design-expert** (Nova) | 🎨 | UI/UX设计、线框图、设计系统 | 实现 |
|
|
48
|
-
| **@devops** (Gage) | ⚙️ | Git操作、PR创建、部署、CI/CD、工作树管理、迁移 | 本地Git、实现 |
|
|
49
|
-
| **@sinapse-master** (Orion) | 👑 | 框架开发、多代理编排 | 日常任务(使用专门代理) |
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## 🤖 ADE命令按代理 (v2.2.0)
|
|
54
|
-
|
|
55
|
-
### @devops (Gage) - 基础设施与运营
|
|
56
|
-
|
|
57
|
-
**工作树管理:**
|
|
58
|
-
| 命令 | 描述 |
|
|
59
|
-
|------|------|
|
|
60
|
-
| `*create-worktree {story}` | 为故事开发创建隔离的Git工作树 |
|
|
61
|
-
| `*list-worktrees` | 列出所有活跃工作树及状态 |
|
|
62
|
-
| `*merge-worktree {story}` | 合并已完成的工作树回到主分支 |
|
|
63
|
-
| `*cleanup-worktrees` | 删除陈旧/已合并的工作树 |
|
|
64
|
-
|
|
65
|
-
**迁移管理:**
|
|
66
|
-
| 命令 | 描述 |
|
|
67
|
-
|------|------|
|
|
68
|
-
| `*inventory-assets` | 从V2资产生成迁移清单 |
|
|
69
|
-
| `*analyze-paths` | 分析路径依赖和迁移影响 |
|
|
70
|
-
| `*migrate-agent` | 将单个代理从V2迁移到V3格式 |
|
|
71
|
-
| `*migrate-batch` | 批量迁移所有代理并验证 |
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
### @pm (Morgan) - 产品管理
|
|
76
|
-
|
|
77
|
-
**规范管道:**
|
|
78
|
-
| 命令 | 描述 |
|
|
79
|
-
|------|------|
|
|
80
|
-
| `*gather-requirements` | 从利益相关者获取和文档化需求 |
|
|
81
|
-
| `*write-spec` | 从需求生成正式规范文档 |
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
### @architect (Aria) - 系统架构
|
|
86
|
-
|
|
87
|
-
**规范管道:**
|
|
88
|
-
| 命令 | 描述 |
|
|
89
|
-
|------|------|
|
|
90
|
-
| `*assess-complexity` | 评估故事复杂度和估计工作量 |
|
|
91
|
-
|
|
92
|
-
**执行引擎:**
|
|
93
|
-
| 命令 | 描述 |
|
|
94
|
-
|------|------|
|
|
95
|
-
| `*create-plan` | 创建包含阶段和子任务的实现计划 |
|
|
96
|
-
| `*create-context` | 为故事生成项目和文件上下文 |
|
|
97
|
-
|
|
98
|
-
**内存层:**
|
|
99
|
-
| 命令 | 描述 |
|
|
100
|
-
|------|------|
|
|
101
|
-
| `*map-codebase` | 生成代码库地图(结构、服务、模式) |
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
### @analyst (Atlas) - 研究与分析
|
|
106
|
-
|
|
107
|
-
**规范管道:**
|
|
108
|
-
| 命令 | 描述 |
|
|
109
|
-
|------|------|
|
|
110
|
-
| `*research-deps` | 研究依赖和技术约束 |
|
|
111
|
-
|
|
112
|
-
**内存层:**
|
|
113
|
-
| 命令 | 描述 |
|
|
114
|
-
|------|------|
|
|
115
|
-
| `*extract-patterns` | 提取和文档化代码库中的代码模式 |
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
### @qa (Quinn) - 质量保证
|
|
120
|
-
|
|
121
|
-
**规范管道:**
|
|
122
|
-
| 命令 | 描述 |
|
|
123
|
-
|------|------|
|
|
124
|
-
| `*critique-spec {story}` | 审查和批评规范的完整性 |
|
|
125
|
-
|
|
126
|
-
**QA演进(10阶段审查):**
|
|
127
|
-
| 命令 | 描述 |
|
|
128
|
-
|------|------|
|
|
129
|
-
| `*review-build {story}` | 10阶段结构化QA审查 - 输出qa_report.md |
|
|
130
|
-
| `*request-fix {issue}` | 从@dev请求特定修复及上下文 |
|
|
131
|
-
| `*verify-fix {issue}` | 验证修复是否正确实现 |
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
### @dev (Dex) - 开发
|
|
136
|
-
|
|
137
|
-
**执行引擎:**
|
|
138
|
-
| 命令 | 描述 |
|
|
139
|
-
|------|------|
|
|
140
|
-
| `*execute-subtask` | 执行子任务,遵循13步工作流和自我批评 |
|
|
141
|
-
|
|
142
|
-
**恢复系统:**
|
|
143
|
-
| 命令 | 描述 |
|
|
144
|
-
|------|------|
|
|
145
|
-
| `*track-attempt` | 跟踪实现尝试(在recovery/attempts.json中注册) |
|
|
146
|
-
| `*rollback` | 回滚到最后良好状态(--hard跳过确认) |
|
|
147
|
-
|
|
148
|
-
**QA循环:**
|
|
149
|
-
| 命令 | 描述 |
|
|
150
|
-
|------|------|
|
|
151
|
-
| `*apply-qa-fix` | 应用QA请求的修复(从qa_report.md读取上下文) |
|
|
152
|
-
|
|
153
|
-
**内存层:**
|
|
154
|
-
| 命令 | 描述 |
|
|
155
|
-
|------|------|
|
|
156
|
-
| `*capture-insights` | 捕获会话洞察(发现、模式、陷阱) |
|
|
157
|
-
| `*list-gotchas` | 列出.sinapse/gotchas.md中的已知陷阱 |
|
|
158
|
-
|
|
159
|
-
---
|
|
160
|
-
|
|
161
|
-
## 常见场景
|
|
162
|
-
|
|
163
|
-
### "我想构建一个新功能"(传统方式)
|
|
164
|
-
|
|
165
|
-
```
|
|
166
|
-
1. @analyst *brainstorm - 构思
|
|
167
|
-
2. @pm *create-prd - 产品需求
|
|
168
|
-
3. @architect *create-architecture - 技术设计
|
|
169
|
-
4. @data-engineer *create-schema - 数据库设计
|
|
170
|
-
5. @sm *create-next-story - 用户故事
|
|
171
|
-
6. @dev *develop - 实现
|
|
172
|
-
7. @qa *review - 质量检查
|
|
173
|
-
8. @devops *create-pr - 部署
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
### "我想使用ADE规范管道"(自主方式)
|
|
177
|
-
|
|
178
|
-
```
|
|
179
|
-
1. @pm *gather-requirements - 收集和结构化需求
|
|
180
|
-
2. @architect *assess-complexity - 评估复杂度
|
|
181
|
-
3. @analyst *research-deps - 研究库/API
|
|
182
|
-
4. @pm *write-spec - 生成规范
|
|
183
|
-
5. @qa *critique-spec - 验证规范质量
|
|
184
|
-
↓
|
|
185
|
-
[规范已批准]
|
|
186
|
-
↓
|
|
187
|
-
6. @architect *create-plan - 创建实现计划
|
|
188
|
-
7. @architect *create-context - 生成上下文文件
|
|
189
|
-
8. @dev *execute-subtask 1.1 - 执行13步+自我批评
|
|
190
|
-
9. @qa *review-build - 10阶段QA审查
|
|
191
|
-
↓
|
|
192
|
-
[如果发现问题]
|
|
193
|
-
↓
|
|
194
|
-
10. @qa *request-fix - 请求修复
|
|
195
|
-
11. @dev *apply-qa-fix - 应用修复
|
|
196
|
-
12. @qa *verify-fix - 验证
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
### "我在实现上卡住了"
|
|
200
|
-
|
|
201
|
-
```
|
|
202
|
-
1. @dev *track-attempt - 记录失败的尝试
|
|
203
|
-
2. @dev *rollback - 恢复到最后良好状态
|
|
204
|
-
3. @dev *list-gotchas - 检查已知陷阱
|
|
205
|
-
4. @dev *execute-subtask --approach alternative - 尝试不同方法
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### "我需要理解现有代码库"
|
|
209
|
-
|
|
210
|
-
```
|
|
211
|
-
1. @architect *map-codebase - 生成结构/服务/模式地图
|
|
212
|
-
2. @analyst *extract-patterns - 文档化代码模式
|
|
213
|
-
3. @dev *capture-insights - 记录发现
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
### "我需要并行故事开发"
|
|
217
|
-
|
|
218
|
-
```
|
|
219
|
-
1. @devops *create-worktree STORY-42 - 隔离分支
|
|
220
|
-
2. @dev *execute-subtask - 在隔离环境中工作
|
|
221
|
-
3. @devops *merge-worktree STORY-42 - 完成时合并
|
|
222
|
-
4. @devops *cleanup-worktrees - 清理陈旧分支
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
---
|
|
226
|
-
|
|
227
|
-
## 委派模式
|
|
228
|
-
|
|
229
|
-
### 规范管道流
|
|
230
|
-
|
|
231
|
-
```
|
|
232
|
-
@pm *gather-requirements
|
|
233
|
-
↓
|
|
234
|
-
@architect *assess-complexity
|
|
235
|
-
↓
|
|
236
|
-
@analyst *research-deps
|
|
237
|
-
↓
|
|
238
|
-
@pm *write-spec
|
|
239
|
-
↓
|
|
240
|
-
@qa *critique-spec
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
### 执行流
|
|
244
|
-
|
|
245
|
-
```
|
|
246
|
-
@architect *create-plan
|
|
247
|
-
↓
|
|
248
|
-
@architect *create-context
|
|
249
|
-
↓
|
|
250
|
-
@dev *execute-subtask (循环)
|
|
251
|
-
↓
|
|
252
|
-
@qa *review-build
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
### QA循环
|
|
256
|
-
|
|
257
|
-
```
|
|
258
|
-
@qa *review-build
|
|
259
|
-
↓ (发现问题)
|
|
260
|
-
@qa *request-fix
|
|
261
|
-
↓
|
|
262
|
-
@dev *apply-qa-fix
|
|
263
|
-
↓
|
|
264
|
-
@qa *verify-fix
|
|
265
|
-
↓ (循环直到清洁)
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
### 恢复流
|
|
269
|
-
|
|
270
|
-
```
|
|
271
|
-
@dev 失败子任务
|
|
272
|
-
↓
|
|
273
|
-
@dev *track-attempt
|
|
274
|
-
↓
|
|
275
|
-
重试 < 3? → @dev用变化重试
|
|
276
|
-
↓
|
|
277
|
-
@dev *rollback → 尝试不同方法
|
|
278
|
-
```
|
|
279
|
-
|
|
280
|
-
---
|
|
281
|
-
|
|
282
|
-
## 完整文档
|
|
283
|
-
|
|
284
|
-
- **[ADE完整指南](./ade-guide.md)** - 自主开发引擎完整教程
|
|
285
|
-
- **[代理责任矩阵](../architecture/agent-responsibility-matrix.md)** - 完整的边界定义
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
**版本:** 2.0 | **ADE:** v2.2.0 | **日期:** 2026-01-29
|
|
@@ -1,427 +0,0 @@
|
|
|
1
|
-
# SINAPSE API 参考
|
|
2
|
-
|
|
3
|
-
> **[EN](../../guides/api-reference.md)** | **[PT](../../pt/guides/api-reference.md)** | **[ES](../../es/guides/api-reference.md)** | **ZH**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
SINAPSE 完整 API 参考 - AI 编排全栈开发系统。
|
|
8
|
-
|
|
9
|
-
**版本:** 2.1.0
|
|
10
|
-
**最后更新:** 2026-01-29
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 目录
|
|
15
|
-
|
|
16
|
-
1. [概述](#概述)
|
|
17
|
-
2. [代理激活](#代理激活)
|
|
18
|
-
3. [命令参考](#命令参考)
|
|
19
|
-
4. [代理特定命令](#代理特定命令)
|
|
20
|
-
5. [工作流 API](#工作流-api)
|
|
21
|
-
6. [参数和选项](#参数和选项)
|
|
22
|
-
7. [返回代码和错误](#返回代码和错误)
|
|
23
|
-
8. [IDE 集成](#ide-集成)
|
|
24
|
-
9. [示例](#示例)
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## 概述
|
|
29
|
-
|
|
30
|
-
### API 架构
|
|
31
|
-
|
|
32
|
-
SINAPSE 通过两个主要机制提供统一 API 来与专业 AI 代理交互:
|
|
33
|
-
|
|
34
|
-
1. **代理激活** - 使用 `@` 前缀激活专业代理
|
|
35
|
-
2. **命令执行** - 使用 `*` 前缀执行代理命令
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
39
|
-
│ SINAPSE API 层 │
|
|
40
|
-
├─────────────────────────────────────────────────────────────┤
|
|
41
|
-
│ @agent → 激活代理角色 │
|
|
42
|
-
│ *command → 执行代理命令 │
|
|
43
|
-
│ *command args → 使用参数执行命令 │
|
|
44
|
-
└─────────────────────────────────────────────────────────────┘
|
|
45
|
-
│
|
|
46
|
-
▼
|
|
47
|
-
┌─────────────────────────────────────────────────────────────┐
|
|
48
|
-
│ 代理解析 │
|
|
49
|
-
├─────────────────────────────────────────────────────────────┤
|
|
50
|
-
│ .sinapse-ai/development/agents/{agent-id}.md │
|
|
51
|
-
│ 依赖项:任务、模板、检查清单、脚本 │
|
|
52
|
-
└─────────────────────────────────────────────────────────────┘
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### 核心原则
|
|
56
|
-
|
|
57
|
-
| 原则 | 描述 |
|
|
58
|
-
| ---------------------- | ------------------------------------------------- |
|
|
59
|
-
| **任务优先** | 一切都是任务。用户请求解析为任务执行。 |
|
|
60
|
-
| **代理专业化** | 每个代理都有明确定义的范围和责任 |
|
|
61
|
-
| **声明性命令** | 命令描述意图,代理处理执行 |
|
|
62
|
-
| **渐进式增强** | 简单命令扩展为复杂工作流 |
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
## 代理激活
|
|
67
|
-
|
|
68
|
-
### 语法
|
|
69
|
-
|
|
70
|
-
```
|
|
71
|
-
@{agent-id}
|
|
72
|
-
@{agent-id} *{command}
|
|
73
|
-
@{agent-id} *{command} {arguments}
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### 可用代理
|
|
77
|
-
|
|
78
|
-
| 代理 ID | 名称 | 原型 | 主要责任 |
|
|
79
|
-
| ---------------- | ------ | ------- | ---------------------------------- |
|
|
80
|
-
| `@dev` | Dex | Builder | 代码实现、调试、测试 |
|
|
81
|
-
| `@qa` | Quinn | Guardian| 质量保证、代码审查、测试 |
|
|
82
|
-
| `@architect` | Aria | Visionary| 系统架构、API 设计 |
|
|
83
|
-
| `@pm` | Morgan | Strategist| 产品需求、史诗、战略 |
|
|
84
|
-
| `@po` | Pax | Champion| 待办事项管理、验收标准 |
|
|
85
|
-
| `@sm` | River | Facilitator| 冲刺规划、故事创建 |
|
|
86
|
-
| `@analyst` | Atlas | Explorer| 市场研究、竞争分析 |
|
|
87
|
-
| `@data-engineer` | Dara | Architect| 数据库架构、迁移、查询 |
|
|
88
|
-
| `@devops` | Gage | Optimizer| CI/CD、部署、git 操作 |
|
|
89
|
-
| `@ux-expert` | Uma | Creator | UI/UX 设计、线框图 |
|
|
90
|
-
| `@sinapse-master` | Orion | Orchestrator| 框架编排、元操作 |
|
|
91
|
-
|
|
92
|
-
### 激活行为
|
|
93
|
-
|
|
94
|
-
激活代理时:
|
|
95
|
-
|
|
96
|
-
1. 从 `.sinapse-ai/development/agents/{id}.md` 加载代理定义文件
|
|
97
|
-
2. 采用角色(语气、词汇、问候)
|
|
98
|
-
3. 基于会话类型显示上下文问候
|
|
99
|
-
4. 代理停止并等待用户输入
|
|
100
|
-
|
|
101
|
-
```bash
|
|
102
|
-
# 激活开发者代理
|
|
103
|
-
@dev
|
|
104
|
-
|
|
105
|
-
# 输出:
|
|
106
|
-
# 💻 Dex (Builder) 已就绪。让我们创造伟大的东西!
|
|
107
|
-
#
|
|
108
|
-
# **快速命令:**
|
|
109
|
-
# - *develop {story-id} - 实现故事任务
|
|
110
|
-
# - *run-tests - 执行 linting 和测试
|
|
111
|
-
# - *help - 显示所有命令
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### 使用命令激活
|
|
115
|
-
|
|
116
|
-
您可以在一个步骤中激活代理并执行命令:
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
@dev *develop story-1.2.3
|
|
120
|
-
@qa *review story-1.2.3
|
|
121
|
-
@architect *create-full-stack-architecture
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
---
|
|
125
|
-
|
|
126
|
-
## 命令参考
|
|
127
|
-
|
|
128
|
-
### 通用命令
|
|
129
|
-
|
|
130
|
-
这些命令在所有代理中可用:
|
|
131
|
-
|
|
132
|
-
| 命令 | 描述 | 示例 |
|
|
133
|
-
| --------------- | ----------------------- | --------------- |
|
|
134
|
-
| `*help` | 显示所有可用命令 | `*help` |
|
|
135
|
-
| `*guide` | 显示综合使用指南 | `*guide` |
|
|
136
|
-
| `*session-info` | 显示当前会话详情 | `*session-info` |
|
|
137
|
-
| `*exit` | 退出当前代理模式 | `*exit` |
|
|
138
|
-
| `*yolo` | 切换确认跳过 | `*yolo` |
|
|
139
|
-
|
|
140
|
-
### 命令语法
|
|
141
|
-
|
|
142
|
-
```
|
|
143
|
-
*{command}
|
|
144
|
-
*{command} {positional-argument}
|
|
145
|
-
*{command} {arg1} {arg2}
|
|
146
|
-
*{command} --{flag}
|
|
147
|
-
*{command} --{option}={value}
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
### 命令解析
|
|
151
|
-
|
|
152
|
-
命令解析为代理依赖项中的任务文件:
|
|
153
|
-
|
|
154
|
-
```
|
|
155
|
-
*develop story-1.2.3
|
|
156
|
-
│
|
|
157
|
-
▼
|
|
158
|
-
.sinapse-ai/development/tasks/dev-develop-story.md
|
|
159
|
-
│
|
|
160
|
-
▼
|
|
161
|
-
带参数的任务执行:{ story: "story-1.2.3" }
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
---
|
|
165
|
-
|
|
166
|
-
## 代理特定命令
|
|
167
|
-
|
|
168
|
-
### @dev (开发者)
|
|
169
|
-
|
|
170
|
-
**故事开发:**
|
|
171
|
-
|
|
172
|
-
| 命令 | 参数 | 描述 |
|
|
173
|
-
| --------------------- | ------------- | --------------------------------------------- |
|
|
174
|
-
| `*develop` | `{story-id}` | 实现故事任务(模式:yolo、交互、预检) |
|
|
175
|
-
| `*develop-yolo` | `{story-id}` | 自主开发模式 |
|
|
176
|
-
| `*develop-interactive`| `{story-id}` | 交互开发模式(默认) |
|
|
177
|
-
| `*develop-preflight` | `{story-id}` | 实现前规划模式 |
|
|
178
|
-
|
|
179
|
-
**子任务执行(ADE):**
|
|
180
|
-
|
|
181
|
-
| 命令 | 参数 | 描述 |
|
|
182
|
-
| ----------------- | --------------- | ------------------------------------- |
|
|
183
|
-
| `*execute-subtask`| `{subtask-id}` | 执行单个子任务(13 步代码代理工作流)|
|
|
184
|
-
| `*verify-subtask` | `{subtask-id}` | 验证子任务完成 |
|
|
185
|
-
|
|
186
|
-
**恢复系统:**
|
|
187
|
-
|
|
188
|
-
| 命令 | 参数 | 描述 |
|
|
189
|
-
| --------------- | --------------- | -------------------- |
|
|
190
|
-
| `*track-attempt`| `{subtask-id}` | 跟踪实现尝试 |
|
|
191
|
-
| `*rollback` | `[--hard]` | 回滚到最后良好状态 |
|
|
192
|
-
|
|
193
|
-
**构建操作:**
|
|
194
|
-
|
|
195
|
-
| 命令 | 参数 | 描述 |
|
|
196
|
-
| ------------------- | ------------- | ---------------------------- |
|
|
197
|
-
| `*build` | `{story-id}` | 完整自主构建管道 |
|
|
198
|
-
| `*build-autonomous` | `{story-id}` | 启动自主构建循环 |
|
|
199
|
-
| `*build-resume` | `{story-id}` | 从检查点恢复构建 |
|
|
200
|
-
| `*build-status` | `[--all]` | 显示构建状态 |
|
|
201
|
-
| `*build-log` | `{story-id}` | 查看构建尝试日志 |
|
|
202
|
-
|
|
203
|
-
**质量和技术债:**
|
|
204
|
-
|
|
205
|
-
| 命令 | 参数 | 描述 |
|
|
206
|
-
| ----------------- | --------- | ------------------------- |
|
|
207
|
-
| `*run-tests` | - | 执行 linting 和所有测试 |
|
|
208
|
-
| `*apply-qa-fixes` | - | 应用 QA 反馈和修复 |
|
|
209
|
-
| `*backlog-debt` | `{title}` | 注册技术债务项目 |
|
|
210
|
-
|
|
211
|
-
**Worktree 隔离:**
|
|
212
|
-
|
|
213
|
-
| 命令 | 参数 | 描述 |
|
|
214
|
-
| ------------------- | ------------- | -------------------- |
|
|
215
|
-
| `*worktree-create` | `{story-id}` | 创建隔离的 worktree |
|
|
216
|
-
| `*worktree-list` | - | 列出活跃的 worktree |
|
|
217
|
-
| `*worktree-merge` | `{story-id}` | 将 worktree 合并回基础 |
|
|
218
|
-
| `*worktree-cleanup` | - | 删除完成的 worktree |
|
|
219
|
-
|
|
220
|
-
**内存层:**
|
|
221
|
-
|
|
222
|
-
| 命令 | 参数 | 描述 |
|
|
223
|
-
| ------------------- | --------------------------------- | ------------------- |
|
|
224
|
-
| `*capture-insights` | - | 捕获会话见解 |
|
|
225
|
-
| `*list-gotchas` | - | 列出已知陷阱 |
|
|
226
|
-
| `*gotcha` | `{title} - {description}` | 手动添加陷阱 |
|
|
227
|
-
| `*gotchas` | `[--category X] [--severity Y]` | 列出和搜索陷阱 |
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
|
-
## 工作流 API
|
|
232
|
-
|
|
233
|
-
### 可用工作流
|
|
234
|
-
|
|
235
|
-
| 工作流 | 描述 | 参与代理 |
|
|
236
|
-
| ---------------------- | -------------------- | ------------------ |
|
|
237
|
-
| `greenfield-fullstack` | 新的全栈项目 | 所有代理 |
|
|
238
|
-
| `greenfield-service` | 新微服务 | architect、dev、qa |
|
|
239
|
-
| `greenfield-ui` | 新前端项目 | architect、ux、dev |
|
|
240
|
-
| `brownfield-fullstack` | 向现有项目添加功能 | architect、dev、qa |
|
|
241
|
-
| `brownfield-service` | 扩展现有服务 | dev、qa |
|
|
242
|
-
| `brownfield-ui` | 扩展现有前端 | ux、dev、qa |
|
|
243
|
-
|
|
244
|
-
### 工作流执行
|
|
245
|
-
|
|
246
|
-
```bash
|
|
247
|
-
# 启动工作流
|
|
248
|
-
@sinapse-master *workflow greenfield-fullstack
|
|
249
|
-
|
|
250
|
-
# 带参数
|
|
251
|
-
*workflow brownfield-service --target=./services/auth
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
### 工作流结构
|
|
255
|
-
|
|
256
|
-
```yaml
|
|
257
|
-
# 工作流定义示例
|
|
258
|
-
name: greenfield-fullstack
|
|
259
|
-
phases:
|
|
260
|
-
- name: research
|
|
261
|
-
agent: analyst
|
|
262
|
-
tasks:
|
|
263
|
-
- brainstorm
|
|
264
|
-
- competitive-analysis
|
|
265
|
-
- name: planning
|
|
266
|
-
agent: pm
|
|
267
|
-
tasks:
|
|
268
|
-
- create-prd
|
|
269
|
-
- name: architecture
|
|
270
|
-
agent: architect
|
|
271
|
-
tasks:
|
|
272
|
-
- create-full-stack-architecture
|
|
273
|
-
- name: implementation
|
|
274
|
-
agent: dev
|
|
275
|
-
tasks:
|
|
276
|
-
- develop
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
---
|
|
280
|
-
|
|
281
|
-
## 参数和选项
|
|
282
|
-
|
|
283
|
-
### 全局选项
|
|
284
|
-
|
|
285
|
-
| 选项 | 类型 | 描述 |
|
|
286
|
-
| ------------ | ------- | -------------------- |
|
|
287
|
-
| `--verbose` | boolean | 启用详细输出 |
|
|
288
|
-
| `--dry-run` | boolean | 预览而不执行 |
|
|
289
|
-
| `--force` | boolean | 强制操作 |
|
|
290
|
-
| `--help` | boolean | 显示命令帮助 |
|
|
291
|
-
|
|
292
|
-
### 故事参数
|
|
293
|
-
|
|
294
|
-
| 参数 | 类型 | 描述 | 示例 |
|
|
295
|
-
| ------------- | ------ | ------------- | ---------------------------- |
|
|
296
|
-
| `{story-id}` | string | 故事标识符 | `story-1.2.3`、`STORY-42` |
|
|
297
|
-
| `--status` | enum | 故事状态过滤器| `draft`、`ready`、`complete` |
|
|
298
|
-
| `--epic` | string | 按史诗过滤 | `--epic=AUTH` |
|
|
299
|
-
|
|
300
|
-
### 构建参数
|
|
301
|
-
|
|
302
|
-
| 参数 | 类型 | 描述 | 示例 |
|
|
303
|
-
| --------------- | ------ | ----------------- | ------------------------------ |
|
|
304
|
-
| `--mode` | enum | 构建模式 | `yolo`、`interactive`、`preflight` |
|
|
305
|
-
| `--retry` | number | 最大重试次数 | `--retry=3` |
|
|
306
|
-
| `--checkpoint` | string | 从检查点恢复 | `--checkpoint=build-001` |
|
|
307
|
-
|
|
308
|
-
### 审查参数
|
|
309
|
-
|
|
310
|
-
| 参数 | 类型 | 描述 | 示例 |
|
|
311
|
-
| --------------- | ------ | ------------- | ---------------------------- |
|
|
312
|
-
| `--scope` | enum | 审查范围 | `uncommitted`、`committed` |
|
|
313
|
-
| `--base` | string | 基础分支 | `--base=main` |
|
|
314
|
-
| `--severity` | enum | 最小严重级别 | `critical`、`high`、`medium` |
|
|
315
|
-
|
|
316
|
-
---
|
|
317
|
-
|
|
318
|
-
## 返回代码和错误
|
|
319
|
-
|
|
320
|
-
### 标准返回代码
|
|
321
|
-
|
|
322
|
-
| 代码 | 状态 | 描述 |
|
|
323
|
-
| ---- | -------- | ---------------------------------- |
|
|
324
|
-
| `0` | SUCCESS | 操作成功完成 |
|
|
325
|
-
| `1` | ERROR | 常规错误 |
|
|
326
|
-
| `2` | BLOCKED | 操作被阻止(需要批准) |
|
|
327
|
-
| `3` | HALTED | 操作停止(需要用户干预) |
|
|
328
|
-
| `4` | SKIP | 操作跳过 |
|
|
329
|
-
| `5` | TIMEOUT | 操作超时 |
|
|
330
|
-
|
|
331
|
-
### 错误类别
|
|
332
|
-
|
|
333
|
-
| 类别 | 描述 | 解决方案 |
|
|
334
|
-
| -------------------- | ---------------------------- | ---------------------------------- |
|
|
335
|
-
| `AGENT_NOT_FOUND` | 缺少代理定义 | 检查 `.sinapse-ai/development/agents/` |
|
|
336
|
-
| `TASK_NOT_FOUND` | 缺少任务定义 | 检查代理依赖项 |
|
|
337
|
-
| `STORY_NOT_FOUND` | 找不到故事文件 | 验证 `docs/stories/` 路径 |
|
|
338
|
-
| `VALIDATION_FAILED` | 前提条件不符 | 检查先决条件 |
|
|
339
|
-
| `PERMISSION_DENIED` | 不允许的操作 | 检查代理限制 |
|
|
340
|
-
| `DEPENDENCY_MISSING` | 缺少必需依赖项 | 安装或配置依赖项 |
|
|
341
|
-
|
|
342
|
-
### 错误响应格式
|
|
343
|
-
|
|
344
|
-
```json
|
|
345
|
-
{
|
|
346
|
-
"status": "error",
|
|
347
|
-
"code": "VALIDATION_FAILED",
|
|
348
|
-
"message": "故事状态必须是 'Ready for Dev' 才能开始实现",
|
|
349
|
-
"context": {
|
|
350
|
-
"story": "story-1.2.3",
|
|
351
|
-
"currentStatus": "Draft",
|
|
352
|
-
"requiredStatus": "Ready for Dev"
|
|
353
|
-
},
|
|
354
|
-
"suggestions": ["更新故事状态为 'Ready for Dev'", "联系 @pm 批准故事"]
|
|
355
|
-
}
|
|
356
|
-
```
|
|
357
|
-
|
|
358
|
-
### 质量门控决定
|
|
359
|
-
|
|
360
|
-
| 决定 | 描述 | 操作 |
|
|
361
|
-
| ---------- | ---------------------------- | --------------------- |
|
|
362
|
-
| `PASS` | 所有标准都符合 | 继续到下一阶段 |
|
|
363
|
-
| `CONCERNS` | 发现次要问题 | 记录并谨慎继续 |
|
|
364
|
-
| `FAIL` | 发现关键问题 | 必须在继续前修复 |
|
|
365
|
-
| `WAIVED` | 已确认问题,继续进行 | 记录豁免原因 |
|
|
366
|
-
|
|
367
|
-
---
|
|
368
|
-
|
|
369
|
-
## IDE 集成
|
|
370
|
-
|
|
371
|
-
### 支持的 IDE
|
|
372
|
-
|
|
373
|
-
| IDE | 目录 | 格式 | 支持级别 |
|
|
374
|
-
| ----------- | --------- | --------------- | -------- |
|
|
375
|
-
| Claude Code | `.claude/`| Markdown | 完整 |
|
|
376
|
-
| Cursor | `.cursor/ `| MDC (frontmatter)| 完整 |
|
|
377
|
-
| VS Code | `.vscode/ `| JSON | 部分 |
|
|
378
|
-
| Gemini | `.gemini/ `| Markdown | 基础 |
|
|
379
|
-
|
|
380
|
-
### Claude Code 集成
|
|
381
|
-
|
|
382
|
-
Claude Code 是主要支持的 IDE,拥有完整集成:
|
|
383
|
-
|
|
384
|
-
**代理命令(斜杠命令):**
|
|
385
|
-
|
|
386
|
-
```
|
|
387
|
-
/dev → 激活 @dev 代理
|
|
388
|
-
/qa → 激活 @qa 代理
|
|
389
|
-
/architect → 激活 @architect 代理
|
|
390
|
-
/sinapse-master → 激活 @sinapse-master 代理
|
|
391
|
-
```
|
|
392
|
-
|
|
393
|
-
---
|
|
394
|
-
|
|
395
|
-
## 示例
|
|
396
|
-
|
|
397
|
-
### 示例 1:完整故事实现
|
|
398
|
-
|
|
399
|
-
```bash
|
|
400
|
-
# 1. 激活开发者代理
|
|
401
|
-
@dev
|
|
402
|
-
|
|
403
|
-
# 2. 开始故事实现
|
|
404
|
-
*develop story-1.2.3
|
|
405
|
-
|
|
406
|
-
# 3. 运行测试
|
|
407
|
-
*run-tests
|
|
408
|
-
|
|
409
|
-
# 4. 检查已知陷阱
|
|
410
|
-
*list-gotchas
|
|
411
|
-
|
|
412
|
-
# 5. 退出开发者模式
|
|
413
|
-
*exit
|
|
414
|
-
|
|
415
|
-
# 6. 切换到 QA
|
|
416
|
-
@qa
|
|
417
|
-
|
|
418
|
-
# 7. 审查故事
|
|
419
|
-
*review story-1.2.3
|
|
420
|
-
|
|
421
|
-
# 8. 创建质量门控
|
|
422
|
-
*gate story-1.2.3
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
---
|
|
426
|
-
|
|
427
|
-
_SINAPSE API 参考 v4.0.4_
|