mindforge-cc 11.3.0 → 11.3.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/.agent/forge/help.md +11 -0
- package/.agent/forge/init-project.md +36 -0
- package/.agent/forge/plan-phase.md +34 -0
- package/.agent/mindforge/add-backlog.md +32 -0
- package/.agent/mindforge/agent-deploy.md +34 -0
- package/.agent/mindforge/agent-design.md +31 -0
- package/.agent/mindforge/agent-eval.md +27 -0
- package/.agent/mindforge/agent-memory.md +27 -0
- package/.agent/mindforge/agent.md +31 -0
- package/.agent/mindforge/ai-cost.md +31 -0
- package/.agent/mindforge/ai-safety.md +37 -0
- package/.agent/mindforge/analytics.md +28 -0
- package/.agent/mindforge/approve.md +22 -0
- package/.agent/mindforge/audit.md +34 -0
- package/.agent/mindforge/auth-flow.md +76 -0
- package/.agent/mindforge/auto.md +26 -0
- package/.agent/mindforge/benchmark.md +37 -0
- package/.agent/mindforge/brd.md +90 -0
- package/.agent/mindforge/browse.md +30 -0
- package/.agent/mindforge/build-opt.md +31 -0
- package/.agent/mindforge/build-vs-buy.md +29 -0
- package/.agent/mindforge/cache.md +30 -0
- package/.agent/mindforge/causal.md +31 -0
- package/.agent/mindforge/cdn.md +34 -0
- package/.agent/mindforge/change.md +37 -0
- package/.agent/mindforge/cli.md +30 -0
- package/.agent/mindforge/cluster-instincts.md +35 -0
- package/.agent/mindforge/code-tour.md +85 -0
- package/.agent/mindforge/communicate.md +37 -0
- package/.agent/mindforge/complete-milestone.md +22 -0
- package/.agent/mindforge/compliance.md +31 -0
- package/.agent/mindforge/consult.md +37 -0
- package/.agent/mindforge/context-budget.md +70 -0
- package/.agent/mindforge/contract-test.md +30 -0
- package/.agent/mindforge/cost-report.md +44 -0
- package/.agent/mindforge/costs.md +15 -0
- package/.agent/mindforge/council.md +35 -0
- package/.agent/mindforge/create-skill.md +34 -0
- package/.agent/mindforge/cross-review.md +21 -0
- package/.agent/mindforge/dashboard.md +102 -0
- package/.agent/mindforge/data-mesh.md +31 -0
- package/.agent/mindforge/data-model.md +75 -0
- package/.agent/mindforge/data-pipeline.md +34 -0
- package/.agent/mindforge/de-slop.md +33 -0
- package/.agent/mindforge/debug.md +133 -0
- package/.agent/mindforge/degrade.md +31 -0
- package/.agent/mindforge/delegate.md +37 -0
- package/.agent/mindforge/deploy.md +32 -0
- package/.agent/mindforge/design-tokens.md +80 -0
- package/.agent/mindforge/discuss-phase.md +142 -0
- package/.agent/mindforge/dmux.md +32 -0
- package/.agent/mindforge/do.md +31 -0
- package/.agent/mindforge/ecommerce.md +31 -0
- package/.agent/mindforge/edge.md +34 -0
- package/.agent/mindforge/edtech.md +31 -0
- package/.agent/mindforge/embeddings.md +37 -0
- package/.agent/mindforge/environments.md +31 -0
- package/.agent/mindforge/eval.md +33 -0
- package/.agent/mindforge/events.md +30 -0
- package/.agent/mindforge/evolve-skills.md +49 -0
- package/.agent/mindforge/execute-phase.md +200 -0
- package/.agent/mindforge/experiment.md +28 -0
- package/.agent/mindforge/feature-flags.md +30 -0
- package/.agent/mindforge/feature-store.md +31 -0
- package/.agent/mindforge/finops.md +31 -0
- package/.agent/mindforge/fintech.md +31 -0
- package/.agent/mindforge/flutter.md +37 -0
- package/.agent/mindforge/gaming.md +31 -0
- package/.agent/mindforge/graphql.md +31 -0
- package/.agent/mindforge/health.md +31 -0
- package/.agent/mindforge/healthcare.md +31 -0
- package/.agent/mindforge/help.md +33 -0
- package/.agent/mindforge/hire.md +37 -0
- package/.agent/mindforge/hitl.md +27 -0
- package/.agent/mindforge/i18n.md +31 -0
- package/.agent/mindforge/idempotent.md +31 -0
- package/.agent/mindforge/init-org.md +135 -0
- package/.agent/mindforge/init-project.md +170 -0
- package/.agent/mindforge/install-skill.md +28 -0
- package/.agent/mindforge/introspect.md +46 -0
- package/.agent/mindforge/iot.md +31 -0
- package/.agent/mindforge/knowledge-graph.md +37 -0
- package/.agent/mindforge/lakehouse.md +31 -0
- package/.agent/mindforge/lead.md +31 -0
- package/.agent/mindforge/learn-instinct.md +58 -0
- package/.agent/mindforge/learn.md +147 -0
- package/.agent/mindforge/learning.md +20 -0
- package/.agent/mindforge/llm-route.md +37 -0
- package/.agent/mindforge/load-test.md +30 -0
- package/.agent/mindforge/logistics.md +31 -0
- package/.agent/mindforge/map-codebase.md +302 -0
- package/.agent/mindforge/market-research.md +94 -0
- package/.agent/mindforge/marketplace.md +124 -0
- package/.agent/mindforge/mcp-server.md +88 -0
- package/.agent/mindforge/meeting-design.md +37 -0
- package/.agent/mindforge/metrics.md +26 -0
- package/.agent/mindforge/microservices.md +64 -0
- package/.agent/mindforge/migrate.md +44 -0
- package/.agent/mindforge/migration-mgmt.md +31 -0
- package/.agent/mindforge/milestone.md +16 -0
- package/.agent/mindforge/mobile.md +37 -0
- package/.agent/mindforge/monorepo.md +30 -0
- package/.agent/mindforge/multi-tenant.md +31 -0
- package/.agent/mindforge/multimodal.md +37 -0
- package/.agent/mindforge/new-runtime.md +23 -0
- package/.agent/mindforge/next.md +109 -0
- package/.agent/mindforge/note.md +35 -0
- package/.agent/mindforge/observability-platform.md +31 -0
- package/.agent/mindforge/observability.md +75 -0
- package/.agent/mindforge/offline.md +37 -0
- package/.agent/mindforge/onboard.md +37 -0
- package/.agent/mindforge/orchestrate.md +74 -0
- package/.agent/mindforge/payments.md +28 -0
- package/.agent/mindforge/pipeline.md +84 -0
- package/.agent/mindforge/plan-phase.md +131 -0
- package/.agent/mindforge/plan-write.md +95 -0
- package/.agent/mindforge/plant-seed.md +31 -0
- package/.agent/mindforge/platform.md +31 -0
- package/.agent/mindforge/plugins.md +44 -0
- package/.agent/mindforge/pr-review.md +45 -0
- package/.agent/mindforge/privacy-eng.md +31 -0
- package/.agent/mindforge/product-spec.md +90 -0
- package/.agent/mindforge/profile-team.md +27 -0
- package/.agent/mindforge/prompt.md +78 -0
- package/.agent/mindforge/proofread.md +87 -0
- package/.agent/mindforge/publish-skill.md +23 -0
- package/.agent/mindforge/push-notify.md +37 -0
- package/.agent/mindforge/pwa.md +37 -0
- package/.agent/mindforge/qa.md +20 -0
- package/.agent/mindforge/quality-audit.md +34 -0
- package/.agent/mindforge/queue.md +31 -0
- package/.agent/mindforge/quick.md +139 -0
- package/.agent/mindforge/rag.md +30 -0
- package/.agent/mindforge/rate-limit.md +31 -0
- package/.agent/mindforge/react-native.md +37 -0
- package/.agent/mindforge/realtime-analytics.md +31 -0
- package/.agent/mindforge/record-learning.md +22 -0
- package/.agent/mindforge/release.md +14 -0
- package/.agent/mindforge/remember.md +30 -0
- package/.agent/mindforge/research.md +16 -0
- package/.agent/mindforge/retro.md +28 -0
- package/.agent/mindforge/retrospective.md +31 -0
- package/.agent/mindforge/review-backlog.md +34 -0
- package/.agent/mindforge/review-guide.md +63 -0
- package/.agent/mindforge/review.md +161 -0
- package/.agent/mindforge/rfc.md +34 -0
- package/.agent/mindforge/santa.md +33 -0
- package/.agent/mindforge/secrets-mgmt.md +31 -0
- package/.agent/mindforge/secrets.md +31 -0
- package/.agent/mindforge/security-scan.md +242 -0
- package/.agent/mindforge/serverless.md +34 -0
- package/.agent/mindforge/session-report.md +39 -0
- package/.agent/mindforge/ship.md +111 -0
- package/.agent/mindforge/skills.md +145 -0
- package/.agent/mindforge/status.md +113 -0
- package/.agent/mindforge/steer.md +17 -0
- package/.agent/mindforge/stream.md +31 -0
- package/.agent/mindforge/sync-confluence.md +15 -0
- package/.agent/mindforge/sync-jira.md +16 -0
- package/.agent/mindforge/system-design.md +87 -0
- package/.agent/mindforge/team-topology.md +27 -0
- package/.agent/mindforge/tech-debt.md +31 -0
- package/.agent/mindforge/tech-radar.md +28 -0
- package/.agent/mindforge/threat-model.md +48 -0
- package/.agent/mindforge/tokens.md +12 -0
- package/.agent/mindforge/ui-phase.md +34 -0
- package/.agent/mindforge/ui-review.md +36 -0
- package/.agent/mindforge/update.md +46 -0
- package/.agent/mindforge/validate-phase.md +31 -0
- package/.agent/mindforge/verify-loop.md +45 -0
- package/.agent/mindforge/verify-phase.md +66 -0
- package/.agent/mindforge/vibe-check.md +37 -0
- package/.agent/mindforge/workspace.md +33 -0
- package/.agent/mindforge/workstreams.md +35 -0
- package/.agent/mindforge/worktrees.md +86 -0
- package/.agent/mindforge/write-rfc.md +64 -0
- package/.agent/mindforge/zero-trust.md +34 -0
- package/.agent/skills/mindforge-add-backlog/SKILL.md +72 -0
- package/.agent/skills/mindforge-add-phase/SKILL.md +39 -0
- package/.agent/skills/mindforge-add-tests/SKILL.md +28 -0
- package/.agent/skills/mindforge-add-todo/SKILL.md +42 -0
- package/.agent/skills/mindforge-audit-milestone/SKILL.md +29 -0
- package/.agent/skills/mindforge-audit-uat/SKILL.md +20 -0
- package/.agent/skills/mindforge-autonomous/SKILL.md +33 -0
- package/.agent/skills/mindforge-brainstorming/SKILL.md +164 -0
- package/.agent/skills/mindforge-brainstorming/scripts/frame-template.html +214 -0
- package/.agent/skills/mindforge-brainstorming/scripts/helper.js +90 -0
- package/.agent/skills/mindforge-brainstorming/scripts/server.cjs +354 -0
- package/.agent/skills/mindforge-brainstorming/scripts/start-server.sh +148 -0
- package/.agent/skills/mindforge-brainstorming/scripts/stop-server.sh +56 -0
- package/.agent/skills/mindforge-brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/.agent/skills/mindforge-brainstorming/visual-companion.md +287 -0
- package/.agent/skills/mindforge-check-todos/SKILL.md +40 -0
- package/.agent/skills/mindforge-cleanup/SKILL.md +19 -0
- package/.agent/skills/mindforge-complete-milestone/SKILL.md +131 -0
- package/.agent/skills/mindforge-debug/SKILL.md +163 -0
- package/.agent/skills/mindforge-debug_extended/CREATION-LOG.md +119 -0
- package/.agent/skills/mindforge-debug_extended/SKILL.md +296 -0
- package/.agent/skills/mindforge-debug_extended/condition-based-waiting-example.ts +158 -0
- package/.agent/skills/mindforge-debug_extended/condition-based-waiting.md +115 -0
- package/.agent/skills/mindforge-debug_extended/defense-in-depth.md +122 -0
- package/.agent/skills/mindforge-debug_extended/find-polluter.sh +63 -0
- package/.agent/skills/mindforge-debug_extended/root-cause-tracing.md +169 -0
- package/.agent/skills/mindforge-debug_extended/test-academic.md +14 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-1.md +58 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-2.md +68 -0
- package/.agent/skills/mindforge-debug_extended/test-pressure-3.md +69 -0
- package/.agent/skills/mindforge-discuss-phase/SKILL.md +54 -0
- package/.agent/skills/mindforge-do/SKILL.md +26 -0
- package/.agent/skills/mindforge-execute-phase/SKILL.md +49 -0
- package/.agent/skills/mindforge-execute-phase_extended/SKILL.md +70 -0
- package/.agent/skills/mindforge-fast/SKILL.md +23 -0
- package/.agent/skills/mindforge-forensics/SKILL.md +49 -0
- package/.agent/skills/mindforge-health/SKILL.md +17 -0
- package/.agent/skills/mindforge-help/SKILL.md +23 -0
- package/.agent/skills/mindforge-insert-phase/SKILL.md +28 -0
- package/.agent/skills/mindforge-join-discord/SKILL.md +19 -0
- package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +41 -0
- package/.agent/skills/mindforge-list-workspaces/SKILL.md +17 -0
- package/.agent/skills/mindforge-manager/SKILL.md +32 -0
- package/.agent/skills/mindforge-map-codebase/SKILL.md +64 -0
- package/.agent/skills/mindforge-milestone-summary/SKILL.md +44 -0
- package/.agent/skills/mindforge-neural-orchestrator/SKILL.md +115 -0
- package/.agent/skills/mindforge-neural-orchestrator/references/codex-tools.md +100 -0
- package/.agent/skills/mindforge-neural-orchestrator/references/gemini-tools.md +33 -0
- package/.agent/skills/mindforge-new-milestone/SKILL.md +38 -0
- package/.agent/skills/mindforge-new-project/SKILL.md +36 -0
- package/.agent/skills/mindforge-new-workspace/SKILL.md +39 -0
- package/.agent/skills/mindforge-next/SKILL.md +19 -0
- package/.agent/skills/mindforge-note/SKILL.md +29 -0
- package/.agent/skills/mindforge-parallel-mesh_extended/SKILL.md +182 -0
- package/.agent/skills/mindforge-pause-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +28 -0
- package/.agent/skills/mindforge-plan-phase/SKILL.md +38 -0
- package/.agent/skills/mindforge-plan-phase_extended/SKILL.md +152 -0
- package/.agent/skills/mindforge-plan-phase_extended/plan-document-reviewer-prompt.md +49 -0
- package/.agent/skills/mindforge-plant-seed/SKILL.md +22 -0
- package/.agent/skills/mindforge-pr-branch/SKILL.md +21 -0
- package/.agent/skills/mindforge-profile-user/SKILL.md +38 -0
- package/.agent/skills/mindforge-progress/SKILL.md +19 -0
- package/.agent/skills/mindforge-quick/SKILL.md +38 -0
- package/.agent/skills/mindforge-reapply-patches/SKILL.md +124 -0
- package/.agent/skills/mindforge-remove-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-remove-workspace/SKILL.md +22 -0
- package/.agent/skills/mindforge-research-phase/SKILL.md +186 -0
- package/.agent/skills/mindforge-resume-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-review/SKILL.md +31 -0
- package/.agent/skills/mindforge-review-backlog/SKILL.md +58 -0
- package/.agent/skills/mindforge-review-inbound/SKILL.md +213 -0
- package/.agent/skills/mindforge-review-request/SKILL.md +105 -0
- package/.agent/skills/mindforge-review-request/code-reviewer.md +146 -0
- package/.agent/skills/mindforge-session-report/SKILL.md +16 -0
- package/.agent/skills/mindforge-set-profile/SKILL.md +9 -0
- package/.agent/skills/mindforge-settings/SKILL.md +32 -0
- package/.agent/skills/mindforge-ship/SKILL.md +16 -0
- package/.agent/skills/mindforge-ship_extended/SKILL.md +200 -0
- package/.agent/skills/mindforge-skill-creation/SKILL.md +655 -0
- package/.agent/skills/mindforge-skill-creation/anthropic-best-practices.md +1150 -0
- package/.agent/skills/mindforge-skill-creation/examples/CLAUDE_MD_TESTING.md +189 -0
- package/.agent/skills/mindforge-skill-creation/graphviz-conventions.dot +172 -0
- package/.agent/skills/mindforge-skill-creation/persuasion-principles.md +187 -0
- package/.agent/skills/mindforge-skill-creation/render-graphs.js +168 -0
- package/.agent/skills/mindforge-skill-creation/testing-skills-with-subagents.md +384 -0
- package/.agent/skills/mindforge-stats/SKILL.md +16 -0
- package/.agent/skills/mindforge-swarm-execution/SKILL.md +277 -0
- package/.agent/skills/mindforge-swarm-execution/code-quality-reviewer-prompt.md +26 -0
- package/.agent/skills/mindforge-swarm-execution/implementer-prompt.md +113 -0
- package/.agent/skills/mindforge-swarm-execution/spec-reviewer-prompt.md +61 -0
- package/.agent/skills/mindforge-system-architecture/SKILL.md +136 -0
- package/.agent/skills/mindforge-system-architecture/examples.md +120 -0
- package/.agent/skills/mindforge-system-architecture/scaling-checklist.md +76 -0
- package/.agent/skills/mindforge-tdd/SKILL.md +112 -0
- package/.agent/skills/mindforge-tdd/deep-modules.md +21 -0
- package/.agent/skills/mindforge-tdd/interface-design.md +22 -0
- package/.agent/skills/mindforge-tdd/mocking.md +24 -0
- package/.agent/skills/mindforge-tdd/refactoring.md +21 -0
- package/.agent/skills/mindforge-tdd/tests.md +28 -0
- package/.agent/skills/mindforge-tdd_extended/SKILL.md +371 -0
- package/.agent/skills/mindforge-tdd_extended/testing-anti-patterns.md +299 -0
- package/.agent/skills/mindforge-thread/SKILL.md +123 -0
- package/.agent/skills/mindforge-ui-phase/SKILL.md +24 -0
- package/.agent/skills/mindforge-ui-review/SKILL.md +24 -0
- package/.agent/skills/mindforge-update/SKILL.md +35 -0
- package/.agent/skills/mindforge-validate-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-verify-work/SKILL.md +30 -0
- package/.agent/skills/mindforge-verify-work_extended/SKILL.md +139 -0
- package/.agent/skills/mindforge-workspace-isolated/SKILL.md +218 -0
- package/.agent/skills/mindforge-workstreams/SKILL.md +65 -0
- package/.claude/CLAUDE.md +102 -0
- package/.claude/commands/forge/help.md +7 -0
- package/.claude/commands/forge/init-project.md +32 -0
- package/.claude/commands/forge/plan-phase.md +30 -0
- package/.claude/commands/mindforge/add-backlog.md +32 -0
- package/.claude/commands/mindforge/agent-deploy.md +34 -0
- package/.claude/commands/mindforge/agent-design.md +31 -0
- package/.claude/commands/mindforge/agent-eval.md +27 -0
- package/.claude/commands/mindforge/agent-memory.md +27 -0
- package/.claude/commands/mindforge/agent.md +31 -0
- package/.claude/commands/mindforge/ai-cost.md +31 -0
- package/.claude/commands/mindforge/ai-safety.md +37 -0
- package/.claude/commands/mindforge/analytics.md +28 -0
- package/.claude/commands/mindforge/approve.md +22 -0
- package/.claude/commands/mindforge/audit.md +34 -0
- package/.claude/commands/mindforge/auth-flow.md +76 -0
- package/.claude/commands/mindforge/auto.md +26 -0
- package/.claude/commands/mindforge/benchmark.md +37 -0
- package/.claude/commands/mindforge/brd.md +90 -0
- package/.claude/commands/mindforge/browse.md +30 -0
- package/.claude/commands/mindforge/build-opt.md +31 -0
- package/.claude/commands/mindforge/build-vs-buy.md +29 -0
- package/.claude/commands/mindforge/cache.md +30 -0
- package/.claude/commands/mindforge/causal.md +31 -0
- package/.claude/commands/mindforge/cdn.md +34 -0
- package/.claude/commands/mindforge/change.md +37 -0
- package/.claude/commands/mindforge/cli.md +30 -0
- package/.claude/commands/mindforge/cluster-instincts.md +35 -0
- package/.claude/commands/mindforge/code-tour.md +85 -0
- package/.claude/commands/mindforge/communicate.md +37 -0
- package/.claude/commands/mindforge/complete-milestone.md +22 -0
- package/.claude/commands/mindforge/compliance.md +31 -0
- package/.claude/commands/mindforge/consult.md +37 -0
- package/.claude/commands/mindforge/context-budget.md +70 -0
- package/.claude/commands/mindforge/contract-test.md +30 -0
- package/.claude/commands/mindforge/cost-report.md +44 -0
- package/.claude/commands/mindforge/costs.md +15 -0
- package/.claude/commands/mindforge/council.md +83 -0
- package/.claude/commands/mindforge/create-skill.md +34 -0
- package/.claude/commands/mindforge/cross-review.md +21 -0
- package/.claude/commands/mindforge/dashboard.md +102 -0
- package/.claude/commands/mindforge/data-mesh.md +31 -0
- package/.claude/commands/mindforge/data-model.md +75 -0
- package/.claude/commands/mindforge/data-pipeline.md +34 -0
- package/.claude/commands/mindforge/de-slop.md +33 -0
- package/.claude/commands/mindforge/debug.md +133 -0
- package/.claude/commands/mindforge/degrade.md +31 -0
- package/.claude/commands/mindforge/delegate.md +37 -0
- package/.claude/commands/mindforge/deploy.md +32 -0
- package/.claude/commands/mindforge/design-tokens.md +80 -0
- package/.claude/commands/mindforge/discuss-phase.md +142 -0
- package/.claude/commands/mindforge/dmux.md +32 -0
- package/.claude/commands/mindforge/do.md +31 -0
- package/.claude/commands/mindforge/ecommerce.md +31 -0
- package/.claude/commands/mindforge/edge.md +34 -0
- package/.claude/commands/mindforge/edtech.md +31 -0
- package/.claude/commands/mindforge/embeddings.md +37 -0
- package/.claude/commands/mindforge/environments.md +31 -0
- package/.claude/commands/mindforge/eval.md +33 -0
- package/.claude/commands/mindforge/events.md +30 -0
- package/.claude/commands/mindforge/evolve-skills.md +49 -0
- package/.claude/commands/mindforge/execute-phase.md +200 -0
- package/.claude/commands/mindforge/experiment.md +28 -0
- package/.claude/commands/mindforge/feature-flags.md +30 -0
- package/.claude/commands/mindforge/feature-store.md +31 -0
- package/.claude/commands/mindforge/finops.md +31 -0
- package/.claude/commands/mindforge/fintech.md +31 -0
- package/.claude/commands/mindforge/flutter.md +37 -0
- package/.claude/commands/mindforge/gaming.md +31 -0
- package/.claude/commands/mindforge/graphql.md +31 -0
- package/.claude/commands/mindforge/health.md +31 -0
- package/.claude/commands/mindforge/healthcare.md +31 -0
- package/.claude/commands/mindforge/help.md +33 -0
- package/.claude/commands/mindforge/hire.md +37 -0
- package/.claude/commands/mindforge/hitl.md +27 -0
- package/.claude/commands/mindforge/i18n.md +31 -0
- package/.claude/commands/mindforge/idempotent.md +31 -0
- package/.claude/commands/mindforge/init-org.md +135 -0
- package/.claude/commands/mindforge/init-project.md +170 -0
- package/.claude/commands/mindforge/install-skill.md +28 -0
- package/.claude/commands/mindforge/introspect.md +46 -0
- package/.claude/commands/mindforge/iot.md +31 -0
- package/.claude/commands/mindforge/knowledge-graph.md +37 -0
- package/.claude/commands/mindforge/lakehouse.md +31 -0
- package/.claude/commands/mindforge/lead.md +31 -0
- package/.claude/commands/mindforge/learn-instinct.md +58 -0
- package/.claude/commands/mindforge/learn.md +147 -0
- package/.claude/commands/mindforge/learning.md +20 -0
- package/.claude/commands/mindforge/llm-route.md +37 -0
- package/.claude/commands/mindforge/load-test.md +30 -0
- package/.claude/commands/mindforge/logistics.md +31 -0
- package/.claude/commands/mindforge/map-codebase.md +302 -0
- package/.claude/commands/mindforge/market-research.md +94 -0
- package/.claude/commands/mindforge/marketplace.md +124 -0
- package/.claude/commands/mindforge/mcp-server.md +88 -0
- package/.claude/commands/mindforge/meeting-design.md +37 -0
- package/.claude/commands/mindforge/metrics.md +26 -0
- package/.claude/commands/mindforge/microservices.md +64 -0
- package/.claude/commands/mindforge/migrate.md +44 -0
- package/.claude/commands/mindforge/migration-mgmt.md +31 -0
- package/.claude/commands/mindforge/milestone.md +16 -0
- package/.claude/commands/mindforge/mobile.md +37 -0
- package/.claude/commands/mindforge/monorepo.md +30 -0
- package/.claude/commands/mindforge/multi-tenant.md +31 -0
- package/.claude/commands/mindforge/multimodal.md +37 -0
- package/.claude/commands/mindforge/new-runtime.md +23 -0
- package/.claude/commands/mindforge/next.md +109 -0
- package/.claude/commands/mindforge/note.md +35 -0
- package/.claude/commands/mindforge/observability-platform.md +31 -0
- package/.claude/commands/mindforge/observability.md +75 -0
- package/.claude/commands/mindforge/offline.md +37 -0
- package/.claude/commands/mindforge/onboard.md +37 -0
- package/.claude/commands/mindforge/orchestrate.md +74 -0
- package/.claude/commands/mindforge/payments.md +28 -0
- package/.claude/commands/mindforge/pipeline.md +84 -0
- package/.claude/commands/mindforge/plan-phase.md +131 -0
- package/.claude/commands/mindforge/plan-write.md +95 -0
- package/.claude/commands/mindforge/plant-seed.md +31 -0
- package/.claude/commands/mindforge/platform.md +31 -0
- package/.claude/commands/mindforge/plugins.md +44 -0
- package/.claude/commands/mindforge/pr-review.md +45 -0
- package/.claude/commands/mindforge/privacy-eng.md +31 -0
- package/.claude/commands/mindforge/product-spec.md +90 -0
- package/.claude/commands/mindforge/profile-team.md +27 -0
- package/.claude/commands/mindforge/prompt.md +78 -0
- package/.claude/commands/mindforge/proofread.md +87 -0
- package/.claude/commands/mindforge/publish-skill.md +23 -0
- package/.claude/commands/mindforge/push-notify.md +37 -0
- package/.claude/commands/mindforge/pwa.md +37 -0
- package/.claude/commands/mindforge/qa.md +20 -0
- package/.claude/commands/mindforge/quality-audit.md +34 -0
- package/.claude/commands/mindforge/queue.md +31 -0
- package/.claude/commands/mindforge/quick.md +139 -0
- package/.claude/commands/mindforge/rag.md +30 -0
- package/.claude/commands/mindforge/rate-limit.md +31 -0
- package/.claude/commands/mindforge/react-native.md +37 -0
- package/.claude/commands/mindforge/realtime-analytics.md +31 -0
- package/.claude/commands/mindforge/record-learning.md +22 -0
- package/.claude/commands/mindforge/release.md +14 -0
- package/.claude/commands/mindforge/remember.md +30 -0
- package/.claude/commands/mindforge/research.md +16 -0
- package/.claude/commands/mindforge/retro.md +28 -0
- package/.claude/commands/mindforge/retrospective.md +31 -0
- package/.claude/commands/mindforge/review-backlog.md +34 -0
- package/.claude/commands/mindforge/review-guide.md +63 -0
- package/.claude/commands/mindforge/review.md +161 -0
- package/.claude/commands/mindforge/rfc.md +34 -0
- package/.claude/commands/mindforge/santa.md +33 -0
- package/.claude/commands/mindforge/secrets-mgmt.md +31 -0
- package/.claude/commands/mindforge/secrets.md +31 -0
- package/.claude/commands/mindforge/security-scan.md +242 -0
- package/.claude/commands/mindforge/serverless.md +34 -0
- package/.claude/commands/mindforge/session-report.md +39 -0
- package/.claude/commands/mindforge/ship.md +111 -0
- package/.claude/commands/mindforge/skills.md +145 -0
- package/.claude/commands/mindforge/status.md +113 -0
- package/.claude/commands/mindforge/steer.md +17 -0
- package/.claude/commands/mindforge/stream.md +31 -0
- package/.claude/commands/mindforge/sync-confluence.md +15 -0
- package/.claude/commands/mindforge/sync-jira.md +16 -0
- package/.claude/commands/mindforge/system-design.md +87 -0
- package/.claude/commands/mindforge/team-topology.md +27 -0
- package/.claude/commands/mindforge/tech-debt.md +31 -0
- package/.claude/commands/mindforge/tech-radar.md +28 -0
- package/.claude/commands/mindforge/threat-model.md +48 -0
- package/.claude/commands/mindforge/tokens.md +12 -0
- package/.claude/commands/mindforge/ui-phase.md +34 -0
- package/.claude/commands/mindforge/ui-review.md +36 -0
- package/.claude/commands/mindforge/update.md +46 -0
- package/.claude/commands/mindforge/validate-phase.md +31 -0
- package/.claude/commands/mindforge/verify-loop.md +45 -0
- package/.claude/commands/mindforge/verify-phase.md +66 -0
- package/.claude/commands/mindforge/vibe-check.md +37 -0
- package/.claude/commands/mindforge/workspace.md +33 -0
- package/.claude/commands/mindforge/workstreams.md +35 -0
- package/.claude/commands/mindforge/worktrees.md +86 -0
- package/.claude/commands/mindforge/write-rfc.md +64 -0
- package/.claude/commands/mindforge/zero-trust.md +34 -0
- package/.mindforge/config.json +2 -2
- package/.mindforge/governance/GOVERNANCE-CONFIG.md +17 -0
- package/.mindforge/governance/approval-workflow.md +37 -0
- package/.mindforge/governance/change-classifier.md +63 -0
- package/.mindforge/governance/compliance-gates.md +31 -0
- package/.mindforge/governance/policies/sovereign-default.json +16 -0
- package/.mindforge/integrations/confluence.md +27 -0
- package/.mindforge/integrations/connection-manager.md +163 -0
- package/.mindforge/integrations/github.md +25 -0
- package/.mindforge/integrations/gitlab.md +13 -0
- package/.mindforge/integrations/jira.md +102 -0
- package/.mindforge/integrations/slack.md +41 -0
- package/.mindforge/intelligence/antipattern-detector.md +75 -0
- package/.mindforge/intelligence/difficulty-scorer.md +55 -0
- package/.mindforge/intelligence/health-engine.md +208 -0
- package/.mindforge/intelligence/skill-gap-analyser.md +40 -0
- package/.mindforge/intelligence/smart-compaction.md +71 -0
- package/.mindforge/memory/MEMORY-SCHEMA.md +155 -0
- package/.mindforge/memory/engine/capture-protocol.md +36 -0
- package/.mindforge/memory/engine/global-sync-spec.md +42 -0
- package/.mindforge/memory/engine/retrieval-spec.md +44 -0
- package/.mindforge/memory/sync-manifest.json +6 -0
- package/.mindforge/metrics/METRICS-SCHEMA.md +42 -0
- package/.mindforge/metrics/quality-tracker.md +32 -0
- package/.mindforge/models/model-registry.md +48 -0
- package/.mindforge/models/model-router.md +30 -0
- package/.mindforge/org/CONVENTIONS.md +62 -0
- package/.mindforge/org/ORG.md +51 -0
- package/.mindforge/org/SECURITY.md +50 -0
- package/.mindforge/org/TOOLS.md +53 -0
- package/.mindforge/org/integrations/INTEGRATIONS-CONFIG.md +58 -0
- package/.mindforge/org/skills/MANIFEST.md +255 -0
- package/.mindforge/plugins/PLUGINS-MANIFEST.md +23 -0
- package/.mindforge/plugins/plugin-loader.md +93 -0
- package/.mindforge/plugins/plugin-registry.md +44 -0
- package/.mindforge/plugins/plugin-schema.md +68 -0
- package/.mindforge/team/TEAM-PROFILE.md +42 -0
- package/.mindforge/team/multi-handoff.md +23 -0
- package/.mindforge/team/profiles/README.md +13 -0
- package/.mindforge/team/session-merger.md +18 -0
- package/CHANGELOG.md +37 -0
- package/MINDFORGE.md +3 -3
- package/bin/installer-core.js +17 -11
- package/docs/References/audit-events.md +59 -0
- package/docs/References/checkpoints.md +778 -0
- package/docs/References/commands.md +107 -0
- package/docs/References/config-reference.md +122 -0
- package/docs/References/continuation-format.md +249 -0
- package/docs/References/decimal-phase-calculation.md +64 -0
- package/docs/References/git-integration.md +295 -0
- package/docs/References/git-planning-commit.md +38 -0
- package/docs/References/model-profile-resolution.md +36 -0
- package/docs/References/model-profiles.md +139 -0
- package/docs/References/phase-argument-parsing.md +61 -0
- package/docs/References/planning-config.md +202 -0
- package/docs/References/questioning.md +162 -0
- package/docs/References/sdk-api.md +53 -0
- package/docs/References/skills-api.md +57 -0
- package/docs/References/tdd.md +263 -0
- package/docs/References/ui-brand.md +160 -0
- package/docs/References/user-profiling.md +681 -0
- package/docs/References/verification-patterns.md +612 -0
- package/docs/References/workstream-flag.md +58 -0
- package/docs/Templates/Agents/CLAUDE-MD.md +122 -0
- package/docs/Templates/Agents/COPILOT-INSTRUCTIONS.md +7 -0
- package/docs/Templates/Agents/DEBUGGER-PROMPT.md +91 -0
- package/docs/Templates/Agents/PLANNER-PROMPT.md +117 -0
- package/docs/Templates/Codebase/architecture.md +255 -0
- package/docs/Templates/Codebase/concerns.md +310 -0
- package/docs/Templates/Codebase/conventions.md +307 -0
- package/docs/Templates/Codebase/integrations.md +280 -0
- package/docs/Templates/Codebase/stack.md +186 -0
- package/docs/Templates/Codebase/structure.md +285 -0
- package/docs/Templates/Codebase/testing.md +480 -0
- package/docs/Templates/Execution/CONTINUE-HERE.md +78 -0
- package/docs/Templates/Execution/DISCUSSION-LOG.md +63 -0
- package/docs/Templates/Execution/PHASE-PROMPT.md +610 -0
- package/docs/Templates/Execution/STATE.md +176 -0
- package/docs/Templates/Execution/SUMMARY-COMPLEX.md +59 -0
- package/docs/Templates/Execution/SUMMARY-MINIMAL.md +41 -0
- package/docs/Templates/Execution/SUMMARY-STANDARD.md +48 -0
- package/docs/Templates/Execution/SUMMARY.md +248 -0
- package/docs/Templates/Profile/DEV-PREFERENCES.md +21 -0
- package/docs/Templates/Profile/USER-PROFILE.md +146 -0
- package/docs/Templates/Profile/USER-SETUP.md +311 -0
- package/docs/Templates/Project/AGENTS_LEARNING.md +88 -0
- package/docs/Templates/Project/DISCOVERY.md +146 -0
- package/docs/Templates/Project/MILESTONE-ARCHIVE.md +123 -0
- package/docs/Templates/Project/MILESTONE.md +115 -0
- package/docs/Templates/Project/PROJECT.md +206 -0
- package/docs/Templates/Project/REQUIREMENTS.md +231 -0
- package/docs/Templates/Project/RETROSPECTIVE.md +54 -0
- package/docs/Templates/Project/ROADMAP.md +202 -0
- package/docs/Templates/Quality/DEBUG.md +164 -0
- package/docs/Templates/Quality/UAT.md +280 -0
- package/docs/Templates/Quality/UI-SPEC.md +100 -0
- package/docs/Templates/Quality/VALIDATION.md +76 -0
- package/docs/Templates/Quality/VERIFICATION-REPORT.md +322 -0
- package/docs/Templates/Research/ARCHITECTURE.md +204 -0
- package/docs/Templates/Research/FEATURES.md +147 -0
- package/docs/Templates/Research/PITFALLS.md +200 -0
- package/docs/Templates/Research/STACK.md +120 -0
- package/docs/Templates/Research/SUMMARY.md +170 -0
- package/docs/Templates/System/CONFIG.json +43 -0
- package/docs/Templates/System/CONTEXT.md +352 -0
- package/examples/starter-project/.planning/ARCHITECTURE.md +23 -0
- package/examples/starter-project/.planning/RELEASE-CHECKLIST.md +22 -0
- package/examples/starter-project/.planning/REQUIREMENTS.md +31 -0
- package/examples/starter-project/.planning/ROADMAP.md +28 -0
- package/package.json +22 -3
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:multimodal
|
|
3
|
+
description: "Design multimodal AI system architecture. Usage: /mindforge:multimodal [system] [--modality vision|audio|text|multi] [--task generation|understanding|retrieval]"
|
|
4
|
+
argument-hint: "[system] [--modality vision|audio|text|multi] [--task generation|understanding|retrieval]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design a comprehensive multimodal AI system that integrates multiple data modalities (vision, audio, text) for generation, understanding, or retrieval tasks. This command creates architecture blueprints for systems that process and synthesize information across different sensory inputs, ensuring efficient model selection, data alignment, and cross-modal reasoning capabilities.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/multimodal-ai/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/multimodal-ai/`
|
|
20
|
+
State: Evaluates the target system's modality requirements, task characteristics, and performance constraints to generate a multimodal architecture with model recommendations, data pipeline design, and alignment strategies.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Modality Analysis**: Identify required input/output modalities (vision, audio, text, video) and their interaction patterns, analyzing data characteristics, resolution requirements, and temporal dependencies for each modality.
|
|
25
|
+
|
|
26
|
+
2. **Model Selection Strategy**: Recommend foundation models (CLIP, Flamingo, GPT-4V, Gemini, LLaVA) based on task requirements, evaluate trade-offs between unified models vs specialized model ensembles, and specify fine-tuning approaches for domain adaptation.
|
|
27
|
+
|
|
28
|
+
3. **Cross-Modal Alignment Architecture**: Design alignment mechanisms (contrastive learning, cross-attention, adapter layers) to map different modalities into shared representation spaces, ensuring semantic consistency and efficient cross-modal retrieval.
|
|
29
|
+
|
|
30
|
+
4. **Data Pipeline Design**: Architect preprocessing pipelines for each modality including normalization, augmentation, and synchronization strategies, define batch composition strategies for mixed-modality training, and implement quality validation checkpoints.
|
|
31
|
+
|
|
32
|
+
5. **Inference Optimization**: Design inference architecture with model serving patterns (sequential, parallel, cascade), implement caching strategies for embeddings and intermediate representations, and specify hardware allocation (GPU/CPU split) per modality.
|
|
33
|
+
|
|
34
|
+
6. **Evaluation Framework**: Define modality-specific metrics (CLIP score for vision-text, audio quality metrics, generation fidelity), design cross-modal evaluation protocols, and establish baseline benchmarks for the target task.
|
|
35
|
+
|
|
36
|
+
7. **Integration and Scaling**: Specify API contracts for modality inputs/outputs, design horizontal scaling strategies for high-throughput scenarios, implement monitoring for per-modality performance degradation, and document failure modes and fallback strategies.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Scaffold support for a new AI coding runtime.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /mindforge:new-runtime
|
|
6
|
+
|
|
7
|
+
Scaffold support for a new AI coding runtime.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
/mindforge:new-runtime [name]
|
|
12
|
+
|
|
13
|
+
## Action
|
|
14
|
+
|
|
15
|
+
1. Identify target runtime's entry file format (e.g. .myrules, instructions.md)
|
|
16
|
+
2. Scaffold the required directories in both global and local scopes
|
|
17
|
+
3. Add a new entry to the RUNTIMES configuration in `bin/installer-core.js`
|
|
18
|
+
4. Generate first-run instructions for the new runtime
|
|
19
|
+
|
|
20
|
+
## Examples
|
|
21
|
+
|
|
22
|
+
/mindforge:new-runtime void-editor
|
|
23
|
+
/mindforge:new-runtime zed-ai
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Auto-detect the current project state and execute the appropriate next step.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# MindForge — Next Command
|
|
6
|
+
# Usage: /mindforge:next
|
|
7
|
+
|
|
8
|
+
Auto-detect the current project state and execute the appropriate next step.
|
|
9
|
+
The user does not need to know the workflow. MindForge figures it out.
|
|
10
|
+
|
|
11
|
+
## HANDOFF.json priority rule
|
|
12
|
+
Check HANDOFF.json BEFORE running the decision tree.
|
|
13
|
+
|
|
14
|
+
If HANDOFF.json exists AND `updated_at` is within 48 hours AND `next_task` is not null:
|
|
15
|
+
present the HANDOFF state first. Only run the decision tree if the user declines
|
|
16
|
+
or the HANDOFF.json is stale.
|
|
17
|
+
|
|
18
|
+
## State detection logic
|
|
19
|
+
|
|
20
|
+
Read STATE.md and HANDOFF.json. Then follow this decision tree:
|
|
21
|
+
|
|
22
|
+
### Decision tree
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
Does .planning/PROJECT.md exist AND have content?
|
|
26
|
+
NO → Run /mindforge:init-project
|
|
27
|
+
YES → Continue
|
|
28
|
+
|
|
29
|
+
Does .planning/ROADMAP.md exist AND have phases defined?
|
|
30
|
+
NO → Tell user: "Project is initialised but no phases are defined yet.
|
|
31
|
+
Describe what Phase 1 should accomplish and I'll plan it."
|
|
32
|
+
Then run /mindforge:plan-phase 1
|
|
33
|
+
YES → Continue
|
|
34
|
+
|
|
35
|
+
Read the phase status from STATE.md.
|
|
36
|
+
|
|
37
|
+
Does the current phase have plans? (check .planning/phases/[N]/PLAN-[N]-*.md)
|
|
38
|
+
NO → Run /mindforge:plan-phase [N]
|
|
39
|
+
YES → Continue
|
|
40
|
+
|
|
41
|
+
Do SUMMARY files exist for all plans in the current phase?
|
|
42
|
+
NO → Run /mindforge:execute-phase [N]
|
|
43
|
+
YES → Continue
|
|
44
|
+
|
|
45
|
+
Does VERIFICATION.md exist for the current phase?
|
|
46
|
+
NO → Run /mindforge:verify-phase [N] (automated part)
|
|
47
|
+
YES → Continue
|
|
48
|
+
|
|
49
|
+
Does UAT.md exist and show all tests passing?
|
|
50
|
+
NO → Run /mindforge:verify-phase [N] (UAT part)
|
|
51
|
+
YES → Continue
|
|
52
|
+
|
|
53
|
+
Is this phase marked as shipped in STATE.md?
|
|
54
|
+
NO → Run /mindforge:ship [N]
|
|
55
|
+
YES → Continue
|
|
56
|
+
|
|
57
|
+
Are there more phases in ROADMAP.md?
|
|
58
|
+
YES → Increment phase number. Run /mindforge:plan-phase [N+1]
|
|
59
|
+
NO → Tell user: "All phases complete! Run /mindforge:ship [N] for the final release."
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Partial phase execution handling
|
|
63
|
+
In the decision tree step "Do SUMMARY files exist for all plans?":
|
|
64
|
+
|
|
65
|
+
Do not treat this as binary. Check individually:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
PLAN-[N]-01.md exists? SUMMARY-[N]-01.md exists?
|
|
69
|
+
PLAN-[N]-02.md exists? SUMMARY-[N]-02.md exists?
|
|
70
|
+
PLAN-[N]-03.md exists? SUMMARY-[N]-03.md exists?
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If some SUMMARY files exist and some don't: this is a partially-executed phase.
|
|
74
|
+
Report: "Phase [N] is partially executed: plans [X, Y] are done, [Z] is not."
|
|
75
|
+
Ask: "Resume execution from Plan [Z]? (yes/no)"
|
|
76
|
+
Do not restart the entire phase — resume from the first missing SUMMARY.
|
|
77
|
+
|
|
78
|
+
## Before auto-executing: always confirm
|
|
79
|
+
Before running any command automatically, tell the user:
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
MindForge next step detected:
|
|
83
|
+
Current state : [description of current state]
|
|
84
|
+
Next action : [what will be run]
|
|
85
|
+
Command : /mindforge:[command] [args]
|
|
86
|
+
|
|
87
|
+
Run this now? (yes/no/different)
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
If user says "different": ask what they want to do instead.
|
|
91
|
+
If user says "yes": proceed with the detected command.
|
|
92
|
+
|
|
93
|
+
## Handling HANDOFF.json (session restart)
|
|
94
|
+
If HANDOFF.json has a `next_task` field from a previous session:
|
|
95
|
+
Present it prominently:
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
Previous session found:
|
|
99
|
+
Saved at : [updated_at from HANDOFF.json]
|
|
100
|
+
Left off : [last_completed_task]
|
|
101
|
+
Next task : [next_task]
|
|
102
|
+
|
|
103
|
+
Options:
|
|
104
|
+
1. Continue from where we left off
|
|
105
|
+
2. Check current state and determine next step fresh
|
|
106
|
+
3. Tell me what you want to do
|
|
107
|
+
|
|
108
|
+
Choose 1, 2, or 3:
|
|
109
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:note
|
|
3
|
+
description: Capture an idea, task, or issue that surfaces during a session as a quick note for later
|
|
4
|
+
argument-hint: <text> [list|promote N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
- multi_replace_file_content
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Provide a zero-friction way to capture ephemeral thoughts, bugs, or todos during an active session without interrupting the current flow, with the ability to later promote them to official tasks.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/note.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
Arguments: $ARGUMENTS (The note text or subcommand like `list` or `promote`)
|
|
22
|
+
Storage: .planning/notes/
|
|
23
|
+
Target for Promotion: ROADMAP.md or STATE.md
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
1. **Route Subcommand**:
|
|
28
|
+
- If `list`: Read all files in `.planning/notes/` and present them.
|
|
29
|
+
- If `promote <N>`: Read note N, add it to current phase/milestone in STATE.md or ROADMAP.md, then move the note to `.planning/notes/archived/`.
|
|
30
|
+
- Else (default): Capture the text.
|
|
31
|
+
2. **Capture Flow**:
|
|
32
|
+
- Ensure `.planning/notes/` directory.
|
|
33
|
+
- Create a file `note_[timestamp].md` with the content.
|
|
34
|
+
3. **Confirm**: Quick confirmation of capture or promotion result.
|
|
35
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:observability-platform
|
|
3
|
+
description: "Design unified observability platform. Usage: /mindforge:observability-platform [scope] [--stack otel|datadog|grafana] [--scale services]"
|
|
4
|
+
argument-hint: "[scope] [--stack otel|datadog|grafana] [--scale services]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design comprehensive observability-platform system architecture with best practices and production-ready patterns.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/platform-observability/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/platform-observability/`
|
|
20
|
+
State: Analyzes requirements, constraints, and scale to generate optimized observability-platform architecture.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Requirement Analysis**: Analyze domain-specific requirements, performance constraints, and scalability needs.
|
|
25
|
+
2. **Architecture Design**: Design system architecture with component interaction patterns and data flow.
|
|
26
|
+
3. **Technology Selection**: Evaluate and select appropriate technologies, tools, and frameworks.
|
|
27
|
+
4. **Integration Strategy**: Define integration patterns with existing systems and external dependencies.
|
|
28
|
+
5. **Optimization Approach**: Implement performance, cost, and resource optimization strategies.
|
|
29
|
+
6. **Monitoring Framework**: Design observability, alerting, and debugging mechanisms.
|
|
30
|
+
7. **Deployment Planning**: Create deployment strategy with rollback procedures and disaster recovery.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Set up logging, tracing, and metrics stack. Usage: /mindforge:observability [service] [--stack otel|custom] [--alerts]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design and implement a comprehensive observability stack covering structured logging, distributed tracing, and metrics collection with alert definitions for a service or system.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/observability-stack/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (service name, optional --stack otel|custom, optional --alerts flag)
|
|
15
|
+
Knowledge: Current infrastructure, existing monitoring, SLO definitions, incident history.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Identify golden signals**: For the target service, define:
|
|
20
|
+
- Latency: request duration distribution (p50, p95, p99)
|
|
21
|
+
- Traffic: requests per second, broken down by endpoint and method
|
|
22
|
+
- Errors: error rate by type (4xx client, 5xx server, timeout, circuit-open)
|
|
23
|
+
- Saturation: resource utilization (CPU, memory, connections, queue depth)
|
|
24
|
+
- Map each signal to concrete measurement points in the code
|
|
25
|
+
- Identify which signals are leading indicators vs lagging
|
|
26
|
+
|
|
27
|
+
2. **Implement structured logging**: Design the logging layer:
|
|
28
|
+
- Format: JSON with consistent field names across all services
|
|
29
|
+
- Required fields: timestamp, level, service, trace_id, span_id, message
|
|
30
|
+
- Context fields: user_id, request_id, correlation_id, environment
|
|
31
|
+
- Log levels: ERROR (actionable), WARN (degraded), INFO (state changes), DEBUG (development)
|
|
32
|
+
- Correlation: inject trace_id and span_id into every log line
|
|
33
|
+
- Sampling: log 100% of errors, sample INFO/DEBUG in production
|
|
34
|
+
- Redaction: automatically mask PII fields (email, IP, tokens)
|
|
35
|
+
|
|
36
|
+
3. **Add tracing (OpenTelemetry spans)**: Instrument the request lifecycle:
|
|
37
|
+
- Root span at service entry (HTTP handler or message consumer)
|
|
38
|
+
- Child spans for: database queries, external API calls, cache operations, queue publish
|
|
39
|
+
- Span attributes: operation name, status code, error message, duration
|
|
40
|
+
- Propagation: W3C TraceContext headers for cross-service correlation
|
|
41
|
+
- Sampling strategy: always-on for errors, probabilistic (10%) for success
|
|
42
|
+
- Exporter configuration: OTLP to collector, batch with 5s flush interval
|
|
43
|
+
|
|
44
|
+
4. **Define metrics (RED for services, USE for resources)**:
|
|
45
|
+
- RED (Request-focused): Rate, Errors, Duration per endpoint
|
|
46
|
+
- USE (Resource-focused): Utilization, Saturation, Errors per resource
|
|
47
|
+
- Histogram buckets for latency: [5ms, 10ms, 25ms, 50ms, 100ms, 250ms, 500ms, 1s, 5s]
|
|
48
|
+
- Counter for requests by: method, path, status_code
|
|
49
|
+
- Gauge for: active connections, queue depth, cache size
|
|
50
|
+
- Summary for: batch job duration, background task completion time
|
|
51
|
+
|
|
52
|
+
5. **Design alerts (symptom-based)**: When --alerts flag is set:
|
|
53
|
+
- SLO-based: alert on error budget burn rate (fast burn = 14.4x in 1h, slow burn = 6x in 6h)
|
|
54
|
+
- Latency: p99 > 2x target for 5 minutes
|
|
55
|
+
- Error rate: > 1% for 5 minutes (page), > 0.1% for 30 minutes (ticket)
|
|
56
|
+
- Saturation: resource > 80% for 10 minutes (warn), > 95% for 5 minutes (page)
|
|
57
|
+
- Absence: no data for 5 minutes (service may be down)
|
|
58
|
+
- Alert routing: PagerDuty for page-severity, Slack for warn-severity
|
|
59
|
+
- Runbook link in every alert annotation
|
|
60
|
+
|
|
61
|
+
6. **Build dashboard**: Design the observability dashboard hierarchy:
|
|
62
|
+
- L0 (Overview): Service health grid, error budget remaining, top-level SLIs
|
|
63
|
+
- L1 (Service): Golden signals for the specific service, recent deployments overlay
|
|
64
|
+
- L2 (Request): Individual request trace waterfall, span breakdown
|
|
65
|
+
- L3 (Resource): CPU, memory, disk, network for underlying infrastructure
|
|
66
|
+
- Include: deployment markers, anomaly detection overlay, comparison (now vs last week)
|
|
67
|
+
|
|
68
|
+
7. **Output observability plan**: Deliver:
|
|
69
|
+
- Architecture diagram (collector topology, data flow)
|
|
70
|
+
- Instrumentation code snippets for the target stack
|
|
71
|
+
- Alert definitions (Prometheus rules or equivalent)
|
|
72
|
+
- Dashboard JSON (Grafana or equivalent)
|
|
73
|
+
- Retention policy (hot: 7d full resolution, warm: 30d downsampled, cold: 90d aggregated)
|
|
74
|
+
- Cost estimate for the observability stack
|
|
75
|
+
</process>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:offline
|
|
3
|
+
description: "Design offline-first data architecture. Usage: /mindforge:offline [feature] [--sync crdt|ot|custom] [--conflict lww|merge|manual]"
|
|
4
|
+
argument-hint: "[feature] [--sync crdt|ot|custom] [--conflict lww|merge|manual]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design offline-first architectures with local-first data storage, optimistic UI updates, sync conflict resolution, and graceful degradation during network outages.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/offline-first-design/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/offline-first-design/`
|
|
20
|
+
State: Designs local database schema, sync protocols (CRDT/OT), conflict resolution strategies, and queue management for offline operations.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Local Storage**: SQLite (structured relational data). IndexedDB (web, large datasets). Realm (mobile, reactive queries). WatermelonDB (React Native, observable). Choose based on platform and query patterns.
|
|
25
|
+
|
|
26
|
+
2. **Sync Strategy**: CRDT (Conflict-free Replicated Data Types) → automatic merge, no conflicts, eventual consistency (Yjs, Automerge). OT (Operational Transformation) → transforms operations, preserves intent (Google Docs style). Custom → simpler logic but requires explicit conflict handling.
|
|
27
|
+
|
|
28
|
+
3. **Conflict Resolution**: Last-Write-Wins → simple, risk of data loss, acceptable for low-conflict scenarios. Field-level merge → granular, preserves more data, requires schema design. Manual resolution → show UI for user decision, use for critical data. Version vectors track causality.
|
|
29
|
+
|
|
30
|
+
4. **Optimistic UI**: Apply changes immediately to local state. Show pending indicator. Queue sync operation. Rollback on server rejection. Show conflicts in UI. Maintain operation log for debugging.
|
|
31
|
+
|
|
32
|
+
5. **Queue Management**: Persist operations to disk (survive app restart). Retry with exponential backoff. Handle partial failures (some operations succeed, others fail). Order dependencies (create before update). Prune completed operations.
|
|
33
|
+
|
|
34
|
+
6. **Data Pruning**: Archive old data (>90 days inactive). Delete ephemeral data (cached images). Compress large payloads. Implement storage quotas. Monitor disk usage. User-triggered full sync to recover space.
|
|
35
|
+
|
|
36
|
+
7. **Testing**: Simulate offline mode. Test conflict scenarios (concurrent edits). Verify data integrity post-sync. Test with poor network (slow 3G). Load test sync with large datasets. Monitor sync latency and queue depth.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Generate a knowledge graph, entry point summary, and learning path for the current or specified codebase. Usage - /mindforge:onboard [path] [--depth shallow|deep] [--output ONBOARDING-REPORT.md]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Rapidly understand an unfamiliar codebase by generating structured summaries,
|
|
7
|
+
identifying entry points, and creating an ordered learning path.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.mindforge/skills/codebase-onboarding/SKILL.md
|
|
12
|
+
@.mindforge/engine/knowledge-graph-protocol.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
$ARGUMENTS
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<process>
|
|
20
|
+
1. Determine target directory (default: current working directory).
|
|
21
|
+
2. Detect stack: scan for package.json, Cargo.toml, go.mod, pyproject.toml, etc.
|
|
22
|
+
3. Identify languages, frameworks, build tools, and test frameworks.
|
|
23
|
+
4. Find entry points: main files, bin entries, route definitions, CLI commands, event handlers.
|
|
24
|
+
5. If --depth deep: build full module dependency graph (nodes=files, edges=imports).
|
|
25
|
+
6. If --depth shallow: identify top 10 most-imported modules only.
|
|
26
|
+
7. Identify hot paths: files modified most frequently (git log --name-only).
|
|
27
|
+
8. Generate learning path: ordered file reading sequence (config → entry → core → utilities → edge cases).
|
|
28
|
+
9. Write ONBOARDING-REPORT.md (or --output path) to `.planning/` with sections:
|
|
29
|
+
- Overview (1-paragraph summary)
|
|
30
|
+
- Tech Stack (detected languages, frameworks, tools)
|
|
31
|
+
- Entry Points (with file paths)
|
|
32
|
+
- Architecture (module graph summary)
|
|
33
|
+
- Hot Paths (most-active areas)
|
|
34
|
+
- Learning Path (ordered reading list with WHY for each file)
|
|
35
|
+
- Concerns (potential issues spotted during exploration)
|
|
36
|
+
10. Log onboarding event in AUDIT.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design multi-agent orchestration pattern for a task. Usage: /mindforge:orchestrate [task] [--pattern supervisor|pipeline|debate|consensus|mapreduce]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design and implement a multi-agent orchestration pattern for a complex task, defining agent roles, handoff protocols, failure propagation, and coordination mechanisms.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/agent-orchestration-patterns/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (task description, optional --pattern supervisor|pipeline|debate|consensus|mapreduce)
|
|
15
|
+
Knowledge: Available agent patterns, existing personas, swarm templates, coordination protocols.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Assess if multi-agent needed**: Evaluate single-agent vs multi-agent:
|
|
20
|
+
- Does the task require multiple distinct skill domains?
|
|
21
|
+
- Would sequential processing create unacceptable latency?
|
|
22
|
+
- Does the task benefit from adversarial validation?
|
|
23
|
+
- Is the task decomposable into independent subtasks?
|
|
24
|
+
- Would a single agent exceed context window constraints?
|
|
25
|
+
- If single-agent suffices, recommend that and stop
|
|
26
|
+
|
|
27
|
+
2. **Select pattern from matrix**: Choose orchestration pattern:
|
|
28
|
+
- `supervisor`: Central coordinator delegates to specialists, aggregates results. Best for: heterogeneous subtasks with dependencies
|
|
29
|
+
- `pipeline`: Sequential handoff between stages. Best for: transformation chains (draft→review→edit→publish)
|
|
30
|
+
- `debate`: Multiple agents argue positions, judge synthesizes. Best for: architectural decisions, trade-off analysis
|
|
31
|
+
- `consensus`: All agents propose, vote on best approach. Best for: code review, quality assessment
|
|
32
|
+
- `mapreduce`: Fan-out identical tasks, merge results. Best for: parallel search, batch processing
|
|
33
|
+
- Document why the selected pattern fits this specific task
|
|
34
|
+
|
|
35
|
+
3. **Define agent roles**: For each agent in the pattern:
|
|
36
|
+
- Role name and persona reference (from personas registry)
|
|
37
|
+
- Specific responsibility and decision authority
|
|
38
|
+
- Input contract (what it receives, in what format)
|
|
39
|
+
- Output contract (what it produces, schema)
|
|
40
|
+
- Knowledge requirements (which skills/context it needs)
|
|
41
|
+
- Trust tier (1=autonomous, 2=review, 3=HITL approval)
|
|
42
|
+
|
|
43
|
+
4. **Design handoff protocol**: Define JSON contracts for agent communication:
|
|
44
|
+
- Message envelope schema (from, to, type, payload, correlation_id)
|
|
45
|
+
- State passing mechanism (full state vs delta vs reference)
|
|
46
|
+
- Acknowledgment requirements (fire-and-forget vs confirmed delivery)
|
|
47
|
+
- Timeout per handoff (prevent infinite waits)
|
|
48
|
+
- Schema validation at each boundary (reject malformed handoffs)
|
|
49
|
+
- Context budget per agent (prevent token overflow)
|
|
50
|
+
|
|
51
|
+
5. **Define failure propagation**: For each failure mode:
|
|
52
|
+
- Agent timeout → retry with backoff, then escalate to supervisor
|
|
53
|
+
- Agent error → log, attempt recovery, propagate if unrecoverable
|
|
54
|
+
- Consensus failure → add tiebreaker agent or escalate to human
|
|
55
|
+
- Cascade failure → circuit breaker pattern, fail fast
|
|
56
|
+
- Partial completion → checkpoint state, enable resume
|
|
57
|
+
- Define maximum retry count and escalation path
|
|
58
|
+
|
|
59
|
+
6. **Implement coordination**: Build the orchestration logic:
|
|
60
|
+
- Supervisor: task queue, assignment logic, result aggregation
|
|
61
|
+
- Pipeline: stage transitions, backpressure handling, error short-circuit
|
|
62
|
+
- Debate: round management, argument collection, verdict synthesis
|
|
63
|
+
- Consensus: proposal collection, voting mechanism, quorum rules
|
|
64
|
+
- MapReduce: work partitioning, parallel dispatch, merge strategy
|
|
65
|
+
- Add observability (trace each agent invocation, measure latency)
|
|
66
|
+
|
|
67
|
+
7. **Test the orchestration**: Validate the design:
|
|
68
|
+
- Happy path: all agents succeed, results merge correctly
|
|
69
|
+
- Partial failure: one agent fails, system recovers gracefully
|
|
70
|
+
- Timeout: slow agent detected and handled within SLA
|
|
71
|
+
- Conflict: agents disagree, resolution mechanism activates
|
|
72
|
+
- Load: pattern scales with task size (10x input, linear cost)
|
|
73
|
+
- Output: orchestration spec with diagram and runnable configuration
|
|
74
|
+
</process>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design payment flow architecture with PCI minimization. Usage: /mindforge:payments [flow] [--provider stripe|braintree] [--recurring]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a robust payment flow architecture that minimizes PCI compliance scope through client-side tokenization, handles webhooks reliably, ensures idempotency across all charge operations, and accounts for the full lifecycle including refunds and disputes.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/payment-integration/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (payment flow type, optional --provider, optional --recurring flag)
|
|
15
|
+
Knowledge: PCI DSS requirements, payment provider documentation, existing payment infrastructure, business rules for pricing/billing.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Design Payment State Machine**: Model all payment states (pending, processing, succeeded, failed, refunded, disputed) and valid transitions. Include timeout states and partial states (partial refund, partial capture). Visualize as a state diagram.
|
|
20
|
+
2. **Implement Client-Side Tokenization**: Use the provider's client-side SDK (Stripe Elements, Braintree Drop-in) to tokenize card data in the browser. Server never sees raw card numbers — this reduces PCI scope to SAQ-A or SAQ-A-EP.
|
|
21
|
+
3. **Set Up Webhook Handling**: Implement webhook endpoint with: signature verification (reject unverified), idempotent processing (dedup by event ID), async processing (acknowledge quickly, process in background), and ordered handling for related events.
|
|
22
|
+
4. **Add Idempotency Keys To All Charges**: Every charge request must include an idempotency key (client-generated UUID). Store key-to-result mapping. On retry, return cached result instead of double-charging.
|
|
23
|
+
5. **Implement Retry Logic For Failures**: Design retry strategy: exponential backoff for transient failures (network, 5xx), immediate fail for permanent errors (card declined, insufficient funds), and alert on repeated failures for the same customer.
|
|
24
|
+
6. **Design Refund Flow**: Support full and partial refunds. Track refund reason codes. Implement refund limits (cannot refund more than charged). Handle refund-after-dispute edge case. Update accounting records atomically.
|
|
25
|
+
7. **Set Up Daily Reconciliation**: Implement automated daily reconciliation between: internal payment records, provider settlement reports, and accounting system. Alert on discrepancies > threshold. Resolve within 24 hours.
|
|
26
|
+
8. **Handle Disputes And Chargebacks**: Design dispute response workflow: auto-collect evidence (receipts, delivery proof, usage logs), notify team within SLA, track win rate, and implement prevention measures for common dispute reasons.
|
|
27
|
+
9. **Document Edge Cases**: Catalog and handle: currency conversion timing, 3D Secure flows, subscription payment retries, card expiration mid-subscription, account updater responses, and cross-border payment restrictions.
|
|
28
|
+
</process>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design CI/CD pipeline architecture. Usage: /mindforge:pipeline [--platform github|gitlab|jenkins] [--stages N]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a comprehensive CI/CD pipeline architecture with quality gates, caching, secret management, parallelism, environment promotion, and rollback mechanisms.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/ci-cd-pipeline/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (optional --platform github|gitlab|jenkins, optional --stages N for stage count)
|
|
15
|
+
Knowledge: Current repository structure, existing CI configuration, deployment targets, test suite characteristics.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Define stages**: Design the pipeline stages in order:
|
|
20
|
+
- **Lint**: Static analysis, formatting check, type-check (parallel)
|
|
21
|
+
- **Build**: Compile, bundle, generate artifacts
|
|
22
|
+
- **Test**: Unit tests, integration tests, contract tests (parallel by suite)
|
|
23
|
+
- **Scan**: Security scan (SAST, dependency audit, secret detection)
|
|
24
|
+
- **Package**: Container build, artifact versioning, manifest generation
|
|
25
|
+
- **Deploy**: Environment promotion (dev → staging → production)
|
|
26
|
+
- Each stage has clear entry/exit criteria (quality gates)
|
|
27
|
+
|
|
28
|
+
2. **Add quality gates**: Define pass/fail criteria per stage:
|
|
29
|
+
- Lint: zero errors (warnings allowed with suppression comments)
|
|
30
|
+
- Build: successful compilation, artifact size within budget
|
|
31
|
+
- Test: 100% pass rate, coverage >= threshold (80% default)
|
|
32
|
+
- Scan: zero critical/high vulnerabilities, no leaked secrets
|
|
33
|
+
- Package: image builds successfully, passes container scan
|
|
34
|
+
- Deploy: health check passes within 60s, no error spike in 5min
|
|
35
|
+
- Gate failure blocks pipeline progression (no manual override without approval)
|
|
36
|
+
|
|
37
|
+
3. **Configure caching**: Optimize pipeline speed:
|
|
38
|
+
- Dependencies: cache node_modules/pip/cargo by lockfile hash
|
|
39
|
+
- Build artifacts: cache intermediate compilation outputs
|
|
40
|
+
- Docker layers: cache base layers, invalidate on Dockerfile change
|
|
41
|
+
- Test results: cache unchanged test file results (incremental testing)
|
|
42
|
+
- Cache key strategy: OS + lockfile hash + branch (with fallback to main)
|
|
43
|
+
- Cache TTL: 7 days for dependencies, 1 day for build artifacts
|
|
44
|
+
|
|
45
|
+
4. **Manage secrets**: Secure credential handling:
|
|
46
|
+
- Environment-specific secrets (dev, staging, prod) in vault/secrets manager
|
|
47
|
+
- Short-lived tokens for deployment (OIDC where possible)
|
|
48
|
+
- No secrets in pipeline YAML (reference by name only)
|
|
49
|
+
- Secret rotation: automated rotation with zero-downtime
|
|
50
|
+
- Audit log: track which pipeline accessed which secret
|
|
51
|
+
- Least privilege: each stage only accesses secrets it needs
|
|
52
|
+
|
|
53
|
+
5. **Enable parallelism**: Maximize pipeline throughput:
|
|
54
|
+
- Independent stages run in parallel (lint + type-check + unit-test)
|
|
55
|
+
- Test suite splitting by file/timing data across N runners
|
|
56
|
+
- Matrix builds for multi-platform/multi-version testing
|
|
57
|
+
- Fan-out/fan-in for independent service deployments
|
|
58
|
+
- Resource constraints: limit concurrent deployments to prevent thundering herd
|
|
59
|
+
- Estimated total pipeline time: < 10 minutes for PR, < 20 minutes for deploy
|
|
60
|
+
|
|
61
|
+
6. **Set up environment promotion**: Define the deployment ladder:
|
|
62
|
+
- Dev: auto-deploy on push to feature branch (ephemeral environments)
|
|
63
|
+
- Staging: auto-deploy on merge to main (persistent, production-mirror)
|
|
64
|
+
- Production: manual approval gate or automated canary with auto-promote
|
|
65
|
+
- Promotion criteria: all tests pass + no new alerts + stakeholder approval
|
|
66
|
+
- Environment parity: same container, same config structure, different values
|
|
67
|
+
- Feature flags: decouple deploy from release (dark launches)
|
|
68
|
+
|
|
69
|
+
7. **Add rollback mechanism**: Design recovery paths:
|
|
70
|
+
- Automated rollback: revert to last-known-good on health check failure
|
|
71
|
+
- Manual rollback: one-click revert in CI UI with confirmation
|
|
72
|
+
- Database rollback: backward-compatible migrations only (expand-contract)
|
|
73
|
+
- Canary rollback: automatic if error rate exceeds baseline by 2x
|
|
74
|
+
- Rollback verification: post-rollback health check confirms recovery
|
|
75
|
+
- Incident tracking: auto-create incident ticket on rollback trigger
|
|
76
|
+
|
|
77
|
+
8. **Output pipeline specification**: Deliver:
|
|
78
|
+
- Pipeline YAML/configuration for the target platform
|
|
79
|
+
- Stage dependency graph (DAG visualization)
|
|
80
|
+
- Timing estimates per stage
|
|
81
|
+
- Secret inventory and access matrix
|
|
82
|
+
- Rollback runbook
|
|
83
|
+
- Cost estimate (runner minutes per PR and per deploy)
|
|
84
|
+
</process>
|