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,250 +0,0 @@
|
|
|
1
|
-
# Squad贡献指南
|
|
2
|
-
|
|
3
|
-
> **EN** | **ZH-CN** | [PT](../pt/guides/contributing-squads.md) | [ES](../es/guides/contributing-squads.md)
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
如何向SINAPSE生态系统贡献Squad。
|
|
8
|
-
|
|
9
|
-
## 概述
|
|
10
|
-
|
|
11
|
-
有两种方式与社区共享你的Squad:
|
|
12
|
-
|
|
13
|
-
1. **sinapse-squads Repository** - GitHub上的免费开源Squad
|
|
14
|
-
2. **SINAPSE Marketplace** - 通过SINAPSE API的高级Squad
|
|
15
|
-
|
|
16
|
-
## 质量标准
|
|
17
|
-
|
|
18
|
-
所有贡献的Squad必须符合这些标准:
|
|
19
|
-
|
|
20
|
-
### 必需
|
|
21
|
-
|
|
22
|
-
| 要求 | 描述 |
|
|
23
|
-
|------|------|
|
|
24
|
-
| **有效的清单** | `squad.yaml` 通过JSON Schema验证 |
|
|
25
|
-
| **文档** | README.md包含使用说明 |
|
|
26
|
-
| **许可证** | 开源许可证(MIT、Apache 2.0等) |
|
|
27
|
-
| **SINAPSE兼容性** | `sinapse.minVersion: "2.1.0"` 或更高 |
|
|
28
|
-
| **Task优先架构** | Task作为主要入口点 |
|
|
29
|
-
|
|
30
|
-
### 推荐
|
|
31
|
-
|
|
32
|
-
| 建议 | 描述 |
|
|
33
|
-
|------|------|
|
|
34
|
-
| **示例** | README中的使用示例 |
|
|
35
|
-
| **测试** | 关键功能的单元测试 |
|
|
36
|
-
| **变更日志** | 版本历史文档 |
|
|
37
|
-
| **故障排除** | 常见问题和解决方案 |
|
|
38
|
-
|
|
39
|
-
## 命名约定
|
|
40
|
-
|
|
41
|
-
### Squad名称
|
|
42
|
-
|
|
43
|
-
- 使用 `kebab-case`: `my-awesome-squad`
|
|
44
|
-
- 具有描述性: `etl-data-pipeline` 而不是 `data1`
|
|
45
|
-
- 避免通用名称: `helper-squad` 太模糊
|
|
46
|
-
- 名称中不包含版本号: `my-squad` 而不是 `my-squad-v2`
|
|
47
|
-
|
|
48
|
-
### 前缀 (slashPrefix)
|
|
49
|
-
|
|
50
|
-
`squad.yaml` 中的 `slashPrefix` 决定命令前缀:
|
|
51
|
-
|
|
52
|
-
```yaml
|
|
53
|
-
slashPrefix: etl # 命令变为 *etl-extract, *etl-transform
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
选择唯一的、短的前缀(2-5个字符)。
|
|
57
|
-
|
|
58
|
-
## 清单要求
|
|
59
|
-
|
|
60
|
-
### 必需字段
|
|
61
|
-
|
|
62
|
-
```yaml
|
|
63
|
-
# 这些字段是必需的
|
|
64
|
-
name: my-squad
|
|
65
|
-
version: 1.0.0 # 语义版本控制
|
|
66
|
-
description: 此Squad的功能说明
|
|
67
|
-
|
|
68
|
-
sinapse:
|
|
69
|
-
minVersion: "2.1.0"
|
|
70
|
-
type: squad
|
|
71
|
-
|
|
72
|
-
components:
|
|
73
|
-
agents: [] # 至少一个agent或task
|
|
74
|
-
tasks: []
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### 推荐字段
|
|
78
|
-
|
|
79
|
-
```yaml
|
|
80
|
-
# 这些字段是推荐的
|
|
81
|
-
author: Your Name <email@example.com>
|
|
82
|
-
license: MIT
|
|
83
|
-
slashPrefix: my
|
|
84
|
-
|
|
85
|
-
tags:
|
|
86
|
-
- relevant
|
|
87
|
-
- keywords
|
|
88
|
-
|
|
89
|
-
dependencies:
|
|
90
|
-
node: []
|
|
91
|
-
python: []
|
|
92
|
-
squads: []
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## 文档要求
|
|
96
|
-
|
|
97
|
-
### README.md结构
|
|
98
|
-
|
|
99
|
-
```markdown
|
|
100
|
-
# Squad名称
|
|
101
|
-
|
|
102
|
-
简短描述(1-2句)。
|
|
103
|
-
|
|
104
|
-
## 安装
|
|
105
|
-
|
|
106
|
-
如何安装/添加此Squad。
|
|
107
|
-
|
|
108
|
-
## 用法
|
|
109
|
-
|
|
110
|
-
基本使用示例。
|
|
111
|
-
|
|
112
|
-
## 命令
|
|
113
|
-
|
|
114
|
-
| 命令 | 描述 |
|
|
115
|
-
|------|------|
|
|
116
|
-
| *cmd1 | 它的作用 |
|
|
117
|
-
| *cmd2 | 它的作用 |
|
|
118
|
-
|
|
119
|
-
## 配置
|
|
120
|
-
|
|
121
|
-
任何配置选项。
|
|
122
|
-
|
|
123
|
-
## 示例
|
|
124
|
-
|
|
125
|
-
详细的使用示例。
|
|
126
|
-
|
|
127
|
-
## 故障排除
|
|
128
|
-
|
|
129
|
-
常见问题和解决方案。
|
|
130
|
-
|
|
131
|
-
## 许可证
|
|
132
|
-
|
|
133
|
-
许可证信息。
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
## 发布到sinapse-squads
|
|
137
|
-
|
|
138
|
-
### 前提条件
|
|
139
|
-
|
|
140
|
-
1. GitHub账户
|
|
141
|
-
2. Squad已验证: `*validate-squad --strict`
|
|
142
|
-
3. 唯一的Squad名称(检查现有Squad)
|
|
143
|
-
|
|
144
|
-
### 步骤
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
# 1. 验证你的Squad
|
|
148
|
-
@squad-creator
|
|
149
|
-
*validate-squad my-squad --strict
|
|
150
|
-
|
|
151
|
-
# 2. 发布(创建PR)
|
|
152
|
-
*publish-squad ./squads/my-squad
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
这将:
|
|
156
|
-
1. Fork `SinapseAI/sinapse-squads` (如需要)
|
|
157
|
-
2. 用你的Squad创建分支
|
|
158
|
-
3. 开启审查PR
|
|
159
|
-
|
|
160
|
-
### 审查过程
|
|
161
|
-
|
|
162
|
-
1. **自动检查** - Schema验证、结构检查
|
|
163
|
-
2. **维护者审查** - 代码审查、质量检查
|
|
164
|
-
3. **合并** - Squad添加到注册表
|
|
165
|
-
|
|
166
|
-
时间表:通常2-5个工作日。
|
|
167
|
-
|
|
168
|
-
## 发布到SINAPSE Marketplace
|
|
169
|
-
|
|
170
|
-
### 前提条件
|
|
171
|
-
|
|
172
|
-
1. SINAPSE账户
|
|
173
|
-
2. 配置API令牌
|
|
174
|
-
3. Squad已验证
|
|
175
|
-
|
|
176
|
-
### 步骤
|
|
177
|
-
|
|
178
|
-
```bash
|
|
179
|
-
# 1. 配置令牌
|
|
180
|
-
export SINAPSE_API_TOKEN="your-token"
|
|
181
|
-
|
|
182
|
-
# 2. 同步到marketplace
|
|
183
|
-
@squad-creator
|
|
184
|
-
*sync-squad-sinapse ./squads/my-squad --public
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### 可见性选项
|
|
188
|
-
|
|
189
|
-
| 标志 | 效果 |
|
|
190
|
-
|------|------|
|
|
191
|
-
| `--private` | 仅对你的工作区可见 |
|
|
192
|
-
| `--public` | 对所有人可见 |
|
|
193
|
-
|
|
194
|
-
## 更新已发布的Squad
|
|
195
|
-
|
|
196
|
-
### 版本号提升
|
|
197
|
-
|
|
198
|
-
遵循语义版本控制:
|
|
199
|
-
|
|
200
|
-
- **MAJOR** (1.0.0 → 2.0.0): 破坏性改变
|
|
201
|
-
- **MINOR** (1.0.0 → 1.1.0): 新特性,向后兼容
|
|
202
|
-
- **PATCH** (1.0.0 → 1.0.1): Bug修复
|
|
203
|
-
|
|
204
|
-
### 更新过程
|
|
205
|
-
|
|
206
|
-
```bash
|
|
207
|
-
# 1. 更新squad.yaml中的版本
|
|
208
|
-
# 2. 更新CHANGELOG.md
|
|
209
|
-
# 3. 验证
|
|
210
|
-
*validate-squad my-squad --strict
|
|
211
|
-
|
|
212
|
-
# 4. 重新发布
|
|
213
|
-
*publish-squad ./squads/my-squad
|
|
214
|
-
# 或
|
|
215
|
-
*sync-squad-sinapse ./squads/my-squad
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
## 行为准则
|
|
219
|
-
|
|
220
|
-
### 应该做的
|
|
221
|
-
|
|
222
|
-
- 提供清晰、准确的文档
|
|
223
|
-
- 发布前测试你的Squad
|
|
224
|
-
- 对问题和反馈做出回应
|
|
225
|
-
- 保持依赖项最少
|
|
226
|
-
- 遵循SINAPSE约定
|
|
227
|
-
|
|
228
|
-
### 不应该做的
|
|
229
|
-
|
|
230
|
-
- 包含恶意代码
|
|
231
|
-
- 在代码中存储凭据
|
|
232
|
-
- 未经归属复制他人的工作
|
|
233
|
-
- 使用冒犯性的名称或内容
|
|
234
|
-
- 用测试Squad垃圾邮件注册表
|
|
235
|
-
|
|
236
|
-
## 获得帮助
|
|
237
|
-
|
|
238
|
-
- **问题**: [GitHub讨论](https://github.com/SinapseAI/sinapse-ai/discussions)
|
|
239
|
-
- **问题**: [问题跟踪器](https://github.com/SinapseAI/sinapse-ai/issues)
|
|
240
|
-
- **指南**: 本文档
|
|
241
|
-
|
|
242
|
-
## 相关资源
|
|
243
|
-
|
|
244
|
-
- [Squad开发指南](./squads-guide.md)
|
|
245
|
-
- [Squad迁移指南](./squad-migration.md)
|
|
246
|
-
- [sinapse-squads Repository](https://github.com/SinapseAI/sinapse-squads)
|
|
247
|
-
|
|
248
|
-
---
|
|
249
|
-
|
|
250
|
-
**版本:** 1.0.0 | **更新:** 2025-12-26 | **Story:** SQS-8
|
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
# 开发设置指南
|
|
2
|
-
|
|
3
|
-
> **[EN](../../guides/development-setup.md)** | **[PT](../../pt/guides/development-setup.md)** | **[ES](../../es/guides/development-setup.md)** | **ZH**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
为想要为 SINAPSE 项目做出贡献的开发者提供的完整指南。
|
|
8
|
-
|
|
9
|
-
**版本:** 1.0.0
|
|
10
|
-
**最后更新:** 2026-01-29
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## 目录
|
|
15
|
-
|
|
16
|
-
1. [先决条件](#先决条件)
|
|
17
|
-
2. [Fork 和克隆](#fork-和克隆)
|
|
18
|
-
3. [环境设置](#环境设置)
|
|
19
|
-
4. [项目结构](#项目结构)
|
|
20
|
-
5. [运行测试](#运行测试)
|
|
21
|
-
6. [添加新代理](#添加新代理)
|
|
22
|
-
7. [创建新任务](#创建新任务)
|
|
23
|
-
8. [创建新工作流](#创建新工作流)
|
|
24
|
-
9. [代码标准](#代码标准)
|
|
25
|
-
10. [PR 和代码审查流程](#pr-和代码审查流程)
|
|
26
|
-
11. [调试和故障排除](#调试和故障排除)
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## 先决条件
|
|
31
|
-
|
|
32
|
-
开始前,请确保已安装以下软件:
|
|
33
|
-
|
|
34
|
-
| 工具 | 最低版本 | 检查命令 | 目的 |
|
|
35
|
-
| -------------- | -------- | ------------ | ------------ |
|
|
36
|
-
| **Node.js** | 18.0.0 | `node --version` | JavaScript 运行时 |
|
|
37
|
-
| **npm** | 9.0.0 | `npm --version` | 包管理器 |
|
|
38
|
-
| **Git** | 2.30+ | `git --version` | 版本控制 |
|
|
39
|
-
| **GitHub CLI** | 2.0+ | `gh --version` | GitHub 操作 |
|
|
40
|
-
|
|
41
|
-
### 推荐工具
|
|
42
|
-
|
|
43
|
-
| 工具 | 目的 |
|
|
44
|
-
| -------------------- | ------------------------------------ |
|
|
45
|
-
| **Claude Code** | 与 SINAPSE 代理进行 AI 驱动的开发 |
|
|
46
|
-
| **VS Code / Cursor** | 带 SINAPSE 集成的 IDE |
|
|
47
|
-
| **Docker Desktop** | MCP 服务器和容器化工具 |
|
|
48
|
-
|
|
49
|
-
### 安装先决条件
|
|
50
|
-
|
|
51
|
-
**macOS(Homebrew):**
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
# 安装 Node.js
|
|
55
|
-
brew install node@18
|
|
56
|
-
|
|
57
|
-
# 安装 GitHub CLI
|
|
58
|
-
brew install gh
|
|
59
|
-
|
|
60
|
-
# 认证 GitHub CLI
|
|
61
|
-
gh auth login
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
**Windows(Chocolatey):**
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
# 安装 Node.js
|
|
68
|
-
choco install nodejs-lts
|
|
69
|
-
|
|
70
|
-
# 安装 GitHub CLI
|
|
71
|
-
choco install gh
|
|
72
|
-
|
|
73
|
-
# 认证 GitHub CLI
|
|
74
|
-
gh auth login
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
**Linux(Ubuntu/Debian):**
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
# 通过 NodeSource 安装 Node.js
|
|
81
|
-
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
|
|
82
|
-
sudo apt-get install -y nodejs
|
|
83
|
-
|
|
84
|
-
# 安装 GitHub CLI
|
|
85
|
-
sudo apt install gh
|
|
86
|
-
|
|
87
|
-
# 认证 GitHub CLI
|
|
88
|
-
gh auth login
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## Fork 和克隆
|
|
94
|
-
|
|
95
|
-
### 第 1 步:Fork 仓库
|
|
96
|
-
|
|
97
|
-
1. 导航至 [github.com/SinapseAI/sinapse-ai](https://github.com/SinapseAI/sinapse-ai)
|
|
98
|
-
2. 点击右上角的 **Fork** 按钮
|
|
99
|
-
3. 选择您的 GitHub 账户作为目标
|
|
100
|
-
|
|
101
|
-
### 第 2 步:克隆您的 Fork
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
# 克隆您的 fork
|
|
105
|
-
git clone https://github.com/YOUR_USERNAME/sinapse-ai.git
|
|
106
|
-
cd sinapse-ai
|
|
107
|
-
|
|
108
|
-
# 添加上游远程
|
|
109
|
-
git remote add upstream https://github.com/SinapseAI/sinapse-ai.git
|
|
110
|
-
|
|
111
|
-
# 验证远程
|
|
112
|
-
git remote -v
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### 第 3 步:保持更新
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
# 从上游获取最新更改
|
|
119
|
-
git fetch upstream
|
|
120
|
-
|
|
121
|
-
# 将上游 main 合并到本地 main
|
|
122
|
-
git checkout main
|
|
123
|
-
git merge upstream/main
|
|
124
|
-
|
|
125
|
-
# 推送到您的 fork
|
|
126
|
-
git push origin main
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
## 环境设置
|
|
132
|
-
|
|
133
|
-
### 第 1 步:安装依赖项
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
# 安装所有依赖项
|
|
137
|
-
npm install
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### 第 2 步:环境变量
|
|
141
|
-
|
|
142
|
-
在项目根目录创建 `.env` 文件(此文件被 gitignored):
|
|
143
|
-
|
|
144
|
-
```bash
|
|
145
|
-
# AI 提供商配置
|
|
146
|
-
ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
147
|
-
|
|
148
|
-
# 可选:OpenAI 备选方案
|
|
149
|
-
OPENAI_API_KEY=your-openai-api-key
|
|
150
|
-
|
|
151
|
-
# 框架设置
|
|
152
|
-
NODE_ENV=development
|
|
153
|
-
SINAPSE_DEBUG=false
|
|
154
|
-
|
|
155
|
-
# 可选:MCP 配置
|
|
156
|
-
SINAPSE_API_TOKEN=your-sinapse-token
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### 第 3 步:验证安装
|
|
160
|
-
|
|
161
|
-
```bash
|
|
162
|
-
# 运行测试套件
|
|
163
|
-
npm test
|
|
164
|
-
|
|
165
|
-
# 检查 linting
|
|
166
|
-
npm run lint
|
|
167
|
-
|
|
168
|
-
# 检查 TypeScript
|
|
169
|
-
npm run typecheck
|
|
170
|
-
|
|
171
|
-
# 验证项目结构
|
|
172
|
-
npm run validate:structure
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
### 第 4 步:IDE 集成(可选)
|
|
176
|
-
|
|
177
|
-
将 SINAPSE 代理同步到您的 IDE:
|
|
178
|
-
|
|
179
|
-
```bash
|
|
180
|
-
# 同步到所有支持的 IDE
|
|
181
|
-
npm run sync:ide
|
|
182
|
-
|
|
183
|
-
# 同步到特定 IDE
|
|
184
|
-
npm run sync:ide:cursor
|
|
185
|
-
|
|
186
|
-
# 验证同步
|
|
187
|
-
npm run sync:ide:validate
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## 代码标准
|
|
193
|
-
|
|
194
|
-
### ESLint 配置
|
|
195
|
-
|
|
196
|
-
项目使用 ESLint 9 及平面配置:
|
|
197
|
-
|
|
198
|
-
```bash
|
|
199
|
-
# 运行 linting
|
|
200
|
-
npm run lint
|
|
201
|
-
|
|
202
|
-
# 修复自动可修复的问题
|
|
203
|
-
npm run lint -- --fix
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
### TypeScript 配置
|
|
207
|
-
|
|
208
|
-
```bash
|
|
209
|
-
# 运行类型检查
|
|
210
|
-
npm run typecheck
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
### Prettier 格式化
|
|
214
|
-
|
|
215
|
-
```bash
|
|
216
|
-
# 格式化所有 Markdown 文件
|
|
217
|
-
npm run format
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### 命名约定
|
|
221
|
-
|
|
222
|
-
| 类型 | 约定 | 示例 |
|
|
223
|
-
| ---------- | -------------- | --------------------- |
|
|
224
|
-
| **文件** | kebab-case | `my-component.js` |
|
|
225
|
-
| **类** | PascalCase | `MyComponent` |
|
|
226
|
-
| **函数** | camelCase | `myFunction` |
|
|
227
|
-
| **常量** | UPPER_SNAKE | `MAX_RETRIES` |
|
|
228
|
-
| **代理** | kebab-case | `dev`、`qa`、`architect` |
|
|
229
|
-
| **任务** | kebab-case | `create-story`、`dev-build` |
|
|
230
|
-
|
|
231
|
-
### Commit 约定
|
|
232
|
-
|
|
233
|
-
使用 Conventional Commits:
|
|
234
|
-
|
|
235
|
-
```bash
|
|
236
|
-
# 功能
|
|
237
|
-
git commit -m "feat: add new agent validation"
|
|
238
|
-
|
|
239
|
-
# Bug 修复
|
|
240
|
-
git commit -m "fix: resolve task execution error"
|
|
241
|
-
|
|
242
|
-
# 文档
|
|
243
|
-
git commit -m "docs: update development guide"
|
|
244
|
-
|
|
245
|
-
# 维护
|
|
246
|
-
git commit -m "chore: update dependencies"
|
|
247
|
-
|
|
248
|
-
# 带范围
|
|
249
|
-
git commit -m "feat(agents): add data-engineer agent"
|
|
250
|
-
git commit -m "fix(tasks): handle missing input gracefully"
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
---
|
|
254
|
-
|
|
255
|
-
## 运行测试
|
|
256
|
-
|
|
257
|
-
### 测试命令
|
|
258
|
-
|
|
259
|
-
```bash
|
|
260
|
-
# 运行所有测试
|
|
261
|
-
npm test
|
|
262
|
-
|
|
263
|
-
# 在监视模式下运行测试
|
|
264
|
-
npm run test:watch
|
|
265
|
-
|
|
266
|
-
# 带覆盖率报告
|
|
267
|
-
npm run test:coverage
|
|
268
|
-
|
|
269
|
-
# 健康检查测试
|
|
270
|
-
npm run test:health-check
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
### 编写测试
|
|
274
|
-
|
|
275
|
-
**单元测试示例:**
|
|
276
|
-
|
|
277
|
-
```javascript
|
|
278
|
-
// tests/unit/example.test.js
|
|
279
|
-
const { describe, it, expect } = require('@jest/globals');
|
|
280
|
-
|
|
281
|
-
describe('ComponentName', () => {
|
|
282
|
-
describe('methodName', () => {
|
|
283
|
-
it('should handle expected input', () => {
|
|
284
|
-
const result = myFunction('input');
|
|
285
|
-
expect(result).toBe('expected');
|
|
286
|
-
});
|
|
287
|
-
|
|
288
|
-
it('should throw on invalid input', () => {
|
|
289
|
-
expect(() => myFunction(null)).toThrow('Invalid input');
|
|
290
|
-
});
|
|
291
|
-
});
|
|
292
|
-
});
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
---
|
|
296
|
-
|
|
297
|
-
## PR 和代码审查流程
|
|
298
|
-
|
|
299
|
-
### 步骤 1:创建特性分支
|
|
300
|
-
|
|
301
|
-
```bash
|
|
302
|
-
# 从 main 创建分支
|
|
303
|
-
git checkout main
|
|
304
|
-
git pull upstream main
|
|
305
|
-
git checkout -b feat/my-feature
|
|
306
|
-
|
|
307
|
-
# 或用于修复
|
|
308
|
-
git checkout -b fix/bug-description
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
### 步骤 2:运行质量检查
|
|
312
|
-
|
|
313
|
-
```bash
|
|
314
|
-
# 运行所有检查
|
|
315
|
-
npm test
|
|
316
|
-
npm run lint
|
|
317
|
-
npm run typecheck
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
### 步骤 3:提交并推送
|
|
321
|
-
|
|
322
|
-
```bash
|
|
323
|
-
# 暂存更改
|
|
324
|
-
git add -A
|
|
325
|
-
|
|
326
|
-
# 使用 conventional 消息提交
|
|
327
|
-
git commit -m "feat: implement my feature"
|
|
328
|
-
|
|
329
|
-
# 推送到您的 fork
|
|
330
|
-
git push origin feat/my-feature
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
---
|
|
334
|
-
|
|
335
|
-
## 调试和故障排除
|
|
336
|
-
|
|
337
|
-
### 启用调试模式
|
|
338
|
-
|
|
339
|
-
```bash
|
|
340
|
-
# 设置环境变量
|
|
341
|
-
export SINAPSE_DEBUG=true
|
|
342
|
-
|
|
343
|
-
# 用调试输出运行
|
|
344
|
-
npm test -- --verbose
|
|
345
|
-
```
|
|
346
|
-
|
|
347
|
-
### 常见问题
|
|
348
|
-
|
|
349
|
-
#### 问题:本地测试失败但 CI 中通过
|
|
350
|
-
|
|
351
|
-
**原因:** 环境差异或过时缓存
|
|
352
|
-
|
|
353
|
-
**解决方案:**
|
|
354
|
-
|
|
355
|
-
```bash
|
|
356
|
-
# 清除 Jest 缓存
|
|
357
|
-
npx jest --clearCache
|
|
358
|
-
|
|
359
|
-
# 清除 npm 缓存
|
|
360
|
-
npm cache clean --force
|
|
361
|
-
|
|
362
|
-
# 重新安装依赖项
|
|
363
|
-
rm -rf node_modules
|
|
364
|
-
npm install
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
#### 问题:拉取更改后 ESLint 出错
|
|
368
|
-
|
|
369
|
-
**原因:** ESLint 缓存过时
|
|
370
|
-
|
|
371
|
-
**解决方案:**
|
|
372
|
-
|
|
373
|
-
```bash
|
|
374
|
-
# 清除 ESLint 缓存
|
|
375
|
-
rm .eslintcache
|
|
376
|
-
|
|
377
|
-
# 再次运行 lint
|
|
378
|
-
npm run lint
|
|
379
|
-
```
|
|
380
|
-
|
|
381
|
-
---
|
|
382
|
-
|
|
383
|
-
_SINAPSE 开发设置指南 v1.0.0_
|
|
384
|
-
_最后更新:2026-01-29_
|