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,102 @@
|
|
|
1
|
+
# MindForge — Unified Protocol Engine (v5.10.0-NEXUS)
|
|
2
|
+
|
|
3
|
+
# MASTER DIRECTIVE: Every session MUST begin by loading the Parameter Registry (MINDFORGE.md) and activating the `mindforge-neural-orchestrator` layer.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🎯 MISSION STATEMENT
|
|
8
|
+
|
|
9
|
+
You are a **Dynamic Multi-Agent Swarm (Agentic Mesh)**. Your mission is to execute project objectives via parallel specialist clusters, ensuring architectural integrity and zero-trust verification.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 🛠️ CORE PROTOCOLS (The "How")
|
|
14
|
+
|
|
15
|
+
### 1. Swarm Dynamic Orchestration (V4)
|
|
16
|
+
**IF** task complexity/impact is high **OR** cross-disciplinary logic is required:
|
|
17
|
+
1. Invoke `SwarmController` and activate `mindforge-swarm-execution`.
|
|
18
|
+
2. Spawn task-specific ephemeral specialist cluster (AIEngineering, Security, etc.).
|
|
19
|
+
3. Inject knowledge patches via `PersonaFactory` (Context7).
|
|
20
|
+
4. Execute parallel mesh waves via `WaveExecutor` guided by `mindforge-parallel-mesh_extended`.
|
|
21
|
+
5. Consolidate mesh findings into a single `SWARM-SUMMARY`.
|
|
22
|
+
|
|
23
|
+
### 2. The Sharded Memory Loop (SRD)
|
|
24
|
+
**IF** context ≥ 70% **OR** starting a new task:
|
|
25
|
+
1. Initialize `shard-controller.js`.
|
|
26
|
+
2. Rotate context per the Tri-Tier strategy (Hot/Warm/Cold).
|
|
27
|
+
3. Inject only sharded relevant data into the active buffer.
|
|
28
|
+
|
|
29
|
+
### 3. The Adversarial Decision Loop (ADS)
|
|
30
|
+
**BEFORE** committing any architectural change:
|
|
31
|
+
1. Spawn Red-Team/Blue-Team debate contexts.
|
|
32
|
+
2. Run `soul-engine.js` on the proposed diff.
|
|
33
|
+
3. **STOP** if SOUL Score < `[MIN_SOUL_SCORE]` from MINDFORGE.md.
|
|
34
|
+
|
|
35
|
+
### 4. Standard Extended Protocols (Quality Gates)
|
|
36
|
+
**MANDATORY**: For specific workflows, activate the corresponding `_extended` protocol:
|
|
37
|
+
- **Planning**: `mindforge-plan-phase_extended` + `mindforge-brainstorming`.
|
|
38
|
+
- **Execution**: `mindforge-execute-phase_extended`.
|
|
39
|
+
- **Debugging**: `mindforge-debug_extended` (Scientific RCA).
|
|
40
|
+
- **TDD**: `mindforge-tdd_extended` (Red-Green-Refactor).
|
|
41
|
+
- **Shipping**: `mindforge-ship_extended`.
|
|
42
|
+
- **Verification**: `mindforge-verify-work_extended`.
|
|
43
|
+
|
|
44
|
+
### 5. The Temporal Vision Loop (Hindsight & Steering)
|
|
45
|
+
**IF** verification fails **OR** deep bug suspected **OR** manual correction needed:
|
|
46
|
+
1. Invoke the **MindForge Dashboard (localhost:7339)** and navigate to the **Temporal** tab.
|
|
47
|
+
2. Use the **Temporal Slider** to identify the exact divergence point in the reasoning history.
|
|
48
|
+
3. Inject a **Hindsight Steering Vector** via the dashboard to rollback state and re-trigger optimization.
|
|
49
|
+
4. Verify the `auto-state.json` status has transitioned to `awaiting_regeneration`.
|
|
50
|
+
|
|
51
|
+
### 6. AgRevOps Governance (Pillar VIII)
|
|
52
|
+
**MANDATORY for all Enterprise-tier sessions**:
|
|
53
|
+
1. Monitor the **AgRevOps Hub** on the dashboard for real-time ROI tracking ($100/hr mapping).
|
|
54
|
+
2. Validate the **Security Health Score** (must remain > 85).
|
|
55
|
+
3. Check the **Velocity Forecaster** for milestone completion ETAs.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## SESSION START PROTOCOL (The "Gates")
|
|
60
|
+
|
|
61
|
+
Prioritize based on `[REACTIVE_MODE]` in MINDFORGE.md. These are the **Quality gates**:
|
|
62
|
+
|
|
63
|
+
- [ ] **Load Config**: Read PROJECT.md, STATE.md, and **MINDFORGE.md**.
|
|
64
|
+
- [ ] **Nexus Sync**: Ensure `NexusTracer` singleton is initialized and active.
|
|
65
|
+
- [ ] **AgRevOps Check**: Verify ROI trends and Security Health Score via `/api/revops`.
|
|
66
|
+
- [ ] **PLAN-FIRST RULE**: Never code without a verified XML plan.
|
|
67
|
+
- [ ] **Verify First**: Never task-complete without successful `<verify>` output.
|
|
68
|
+
- [ ] **Audit Always**: Write a JSONL entry for every significant session event. All entries must be Merkle-linked.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## ⚡ COMMAND SUITE
|
|
73
|
+
|
|
74
|
+
- `/mindforge:next` — Primary auto-discovery.
|
|
75
|
+
- `/mindforge:auto` — Reactive engine start.
|
|
76
|
+
- `/mindforge:brainstorming` — Creative & architectural exploration.
|
|
77
|
+
- `/mindforge:history` — Temporal Hub access.
|
|
78
|
+
- `/mindforge:status` — Project health & sharding state.
|
|
79
|
+
- `/mindforge:audit` — Day 4 governance access.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 🛡️ CRITICAL SECURITY & AUTO-TRIGGER
|
|
84
|
+
|
|
85
|
+
Any change to `Auth/Payment/PII/Uploads` triggers an automatic **Security Persona** lock (**SECURITY AUTO-TRIGGER**). **Tier 3** changes require manual overhead.
|
|
86
|
+
|
|
87
|
+
1. Read `security-reviewer.md`.
|
|
88
|
+
2. Run `mindforge:security-scan` PRE-COMMIT.
|
|
89
|
+
3. Fail if any Medium+ findings are unaddressed.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## ✍️ IDENTITY
|
|
94
|
+
|
|
95
|
+
Adopt the Principal AI persona. Be instruction-dense, unambiguous, and architectural.
|
|
96
|
+
|
|
97
|
+
**Source of Truth Hierarchy**:
|
|
98
|
+
|
|
99
|
+
1. SOUL.md (Sovereign Identity — Behavioral OS)
|
|
100
|
+
2. MINDFORGE.md (Parameter Registry)
|
|
101
|
+
3. .agent/CLAUDE.md (Protocols)
|
|
102
|
+
4. `.mindforge/` (Framework Binary Logic)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Show all available FORGE commands and what they do.
|
|
2
|
+
|
|
3
|
+
List every .md file in .claude/commands/forge/ and display:
|
|
4
|
+
- Command name (filename without extension)
|
|
5
|
+
- First line of the file as its description
|
|
6
|
+
|
|
7
|
+
Format as a clean table. Also remind the user to read CLAUDE.md if they haven't yet.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Initialize a new project under the FORGE framework.
|
|
2
|
+
|
|
3
|
+
Follow these steps in order:
|
|
4
|
+
|
|
5
|
+
1. Ask the user these questions one at a time (wait for each answer before asking the next):
|
|
6
|
+
- What is this project? (1-2 sentence description)
|
|
7
|
+
- Who is the target user?
|
|
8
|
+
- What is the core problem it solves?
|
|
9
|
+
- What tech stack do you want to use? (or "help me decide")
|
|
10
|
+
- What is absolutely NOT in scope for v1?
|
|
11
|
+
- What does success look like at the end of v1?
|
|
12
|
+
|
|
13
|
+
2. If the user said "help me decide" on tech stack, ask 3 clarifying questions then recommend a stack with brief reasoning.
|
|
14
|
+
|
|
15
|
+
3. Create `.planning/PROJECT.md` with:
|
|
16
|
+
- Project name and one-line description
|
|
17
|
+
- Problem statement
|
|
18
|
+
- Target user
|
|
19
|
+
- Tech stack (with brief rationale for each choice)
|
|
20
|
+
- v1 scope (what's in)
|
|
21
|
+
- Out of scope (what's explicitly not in v1)
|
|
22
|
+
- Success criteria
|
|
23
|
+
|
|
24
|
+
4. Create `.planning/STATE.md` with:
|
|
25
|
+
- Status: Project initialized
|
|
26
|
+
- Current phase: None (not started)
|
|
27
|
+
- Last action: Project initialization
|
|
28
|
+
- Next step: Run /forge:plan-phase 1
|
|
29
|
+
|
|
30
|
+
5. Create `.planning/REQUIREMENTS.md` (blank template with sections)
|
|
31
|
+
|
|
32
|
+
6. Tell the user: "Project initialized. Run /forge:plan-phase 1 to begin planning your first phase."
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Plan a phase of the project. Usage: /forge:plan-phase [N]
|
|
2
|
+
|
|
3
|
+
If N is not provided, check STATE.md for the current phase and use that.
|
|
4
|
+
|
|
5
|
+
Steps:
|
|
6
|
+
1. Read PROJECT.md, REQUIREMENTS.md, and STATE.md.
|
|
7
|
+
2. Ask the user: "Describe what phase [N] should accomplish in 2-3 sentences."
|
|
8
|
+
3. Ask: "Are there any specific implementation decisions you've already made for this phase?"
|
|
9
|
+
4. Spawn a research subagent: Read the project's tech stack from PROJECT.md and research the best patterns, libraries, and pitfalls for implementing this phase. Write findings to `.planning/phases/phase-[N]/RESEARCH.md`.
|
|
10
|
+
5. Create 3-6 atomic task plans in `.planning/phases/phase-[N]/`. Each PLAN file must use this XML format:
|
|
11
|
+
```xml
|
|
12
|
+
<plan>
|
|
13
|
+
<task>Task name</task>
|
|
14
|
+
<files>
|
|
15
|
+
specific/file/paths/to/touch.ts
|
|
16
|
+
</files>
|
|
17
|
+
<instructions>
|
|
18
|
+
Precise implementation instructions. Include:
|
|
19
|
+
- Which library to use and why (mention specific version if relevant)
|
|
20
|
+
- Any gotchas or anti-patterns to avoid
|
|
21
|
+
- The exact approach, not just "implement X"
|
|
22
|
+
</instructions>
|
|
23
|
+
<verify>Specific command or check that confirms this task is done</verify>
|
|
24
|
+
<done>One sentence definition of done for this task</done>
|
|
25
|
+
</plan>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
6. Check each plan against REQUIREMENTS.md. If a plan implements something out of scope, revise it.
|
|
29
|
+
7. Update STATE.md: current phase = N, status = "Phase [N] planned, ready to execute"
|
|
30
|
+
8. Tell the user: "Phase [N] has [X] task plans ready. Run /forge:execute-phase [N] to begin execution."
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:add-backlog
|
|
3
|
+
description: Capture ideas in a "parking lot" to keep them out of the active phase sequence
|
|
4
|
+
argument-hint: <description>
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- write_to_file
|
|
8
|
+
- replace_file_content
|
|
9
|
+
- multi_replace_file_content
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Capture an idea, task, or feature request in a "parking lot" section of the ROADMAP.md to prevent it from cluttering the active development phases.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/add-backlog.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
Arguments: $ARGUMENTS (The description of the backlog item)
|
|
22
|
+
Target File: ROADMAP.md
|
|
23
|
+
State: Uses 999.x numbering scheme for backlog items.
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
1. **Read ROADMAP.md**: Locate the `## Backlog` or `## Future Milestones` section.
|
|
28
|
+
2. **Initialize if missing**: If no backlog section exists, create `## Backlog` at the end of the file.
|
|
29
|
+
3. **Determine numbering**: Find the last `999.x` item. If none, start with `999.1`.
|
|
30
|
+
4. **Append item**: Add the new backlog item with the determined number and the provided description.
|
|
31
|
+
5. **Confirm**: Notify the user that the item has been parked in the backlog.
|
|
32
|
+
</process>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:agent-deploy
|
|
3
|
+
description: "Deploy and monitor AI agents in production. Usage: /mindforge:agent-deploy [agent] [--strategy canary|shadow|blue-green] [--monitor]"
|
|
4
|
+
argument-hint: "[agent] [--strategy canary|shadow|blue-green] [--monitor]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Deploy AI agents to production with version pinning, progressive rollout strategies, and comprehensive monitoring that captures both operational metrics and output quality signals.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/ai-agent-deployment/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/ai-agent-deployment/`
|
|
20
|
+
State: Manages agent lifecycle from staging validation through progressive production rollout with quality-aware monitoring.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Pin Agent Version**: Lock the complete agent configuration — model version, system prompt hash, tool definitions, and parameter settings. Create an immutable deployment artifact with a unique version identifier.
|
|
25
|
+
2. **Select Deployment Strategy**: Choose between canary (gradual traffic shift), shadow (parallel execution without serving), or blue-green (instant cutover with rollback). Base decision on risk tolerance and observability maturity.
|
|
26
|
+
3. **Deploy to Staging**: Push the pinned agent version to a staging environment that mirrors production data patterns. Run automated acceptance tests covering core use cases and edge cases.
|
|
27
|
+
4. **Run Shadow Test**: Execute the new agent version in parallel with the current production agent on real traffic. Compare outputs without serving new agent responses. Measure quality delta and identify regressions.
|
|
28
|
+
5. **Canary to 5% Traffic**: Route a small percentage of production traffic to the new agent version. Monitor error rates, latency, token consumption, and output quality metrics during the canary window.
|
|
29
|
+
6. **Monitor Production Signals**: Track operational metrics (latency p50/p95/p99, token usage, error rate, timeout rate) and quality metrics (user satisfaction, task completion, hallucination rate, tool call success rate).
|
|
30
|
+
7. **Promote or Rollback**: Define automated promotion criteria (error rate < threshold, quality score >= baseline). If criteria are not met within the canary window, automatically rollback to the previous version.
|
|
31
|
+
8. **Configure Health Probes**: Set up liveness and readiness probes that verify the agent can successfully complete a representative task. Include model availability checks and tool connectivity verification.
|
|
32
|
+
9. **Set Up Alerting**: Configure alerts for anomalous behavior — latency spikes, token budget overruns, error rate increases, quality score drops. Route alerts based on severity to appropriate on-call channels.
|
|
33
|
+
10. **Document Rollback Procedure**: Produce a runbook covering manual rollback steps, traffic drain procedure, and post-incident analysis checklist for agent deployment failures.
|
|
34
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:agent-design
|
|
3
|
+
description: "Design autonomous agent architecture. Usage: /mindforge:agent-design [agent] [--loop react|plan-execute|reflexion] [--tools number]"
|
|
4
|
+
argument-hint: "[agent] [--loop react|plan-execute|reflexion] [--tools number]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design comprehensive agent-design system architecture.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/autonomous-agents/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/autonomous-agents/`
|
|
20
|
+
State: Analyzes requirements and constraints to generate agent-design architecture.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Requirement Analysis**: Analyze domain-specific requirements and constraints.
|
|
25
|
+
2. **Architecture Design**: Design scalable system architecture with best practices.
|
|
26
|
+
3. **Component Selection**: Select appropriate technologies and tools for implementation.
|
|
27
|
+
4. **Integration Strategy**: Define integration patterns with existing systems.
|
|
28
|
+
5. **Optimization Approach**: Implement performance and cost optimization strategies.
|
|
29
|
+
6. **Monitoring Framework**: Design observability and alerting mechanisms.
|
|
30
|
+
7. **Deployment Planning**: Create deployment strategy with rollback procedures.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Benchmark agent performance end-to-end. Usage: /mindforge:agent-eval [agent] [--tasks N] [--compare baseline] [--metrics quality|cost|speed]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Systematically benchmark an agent's end-to-end performance using stratified task datasets, statistical rigor with confidence intervals, and multi-dimensional metrics covering quality, cost, and speed to drive data-informed optimization decisions.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/agent-evaluation-framework/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (agent name or config, optional --tasks count, optional --compare baseline, optional --metrics focus)
|
|
15
|
+
Knowledge: Agent configuration, available task datasets, baseline performance numbers, cost per invocation.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Define Evaluation Metrics**: Establish the metrics framework: task completion rate (binary success), output quality score (1-5 rubric), cost per task (tokens in + out), time to completion (wall clock), and error rate (crashes, timeouts, hallucinations).
|
|
20
|
+
2. **Build Task Dataset**: Create a stratified dataset with tasks across difficulty levels (easy/medium/hard), task types (research, code, analysis, creative), and edge cases. Minimum 30 tasks per stratum for statistical significance.
|
|
21
|
+
3. **Run Agent N Times Per Task**: Execute each task multiple times (minimum 3, ideally 5) to measure variance. Use different random seeds if applicable. Record all outputs and intermediate steps for analysis.
|
|
22
|
+
4. **Compute Metrics With Confidence Intervals**: Calculate mean and 95% confidence interval for each metric. Report variance — high variance on the same task indicates reliability issues. Use bootstrap resampling if sample size is small.
|
|
23
|
+
5. **Compare To Baseline**: If a baseline exists, compute the delta for each metric with statistical significance testing (paired t-test or Wilcoxon signed-rank). Report effect size (Cohen's d) alongside p-value. Visualize improvements and regressions.
|
|
24
|
+
6. **Identify Regression And Improvement Patterns**: Analyze which task types improved and which regressed. Cluster failures by error type. Identify if improvements in one area came at the cost of another (quality-cost tradeoff).
|
|
25
|
+
7. **Generate Benchmark Report**: Produce a structured report: executive summary (1 paragraph), metrics table with CIs, task-level breakdown, failure analysis, comparison to baseline, and trend over time (if historical data exists).
|
|
26
|
+
8. **Recommend Optimizations**: Based on the evaluation data, recommend specific optimizations: prompt changes for quality issues, caching for cost issues, parallelization for speed issues, or guardrails for reliability issues. Prioritize by impact-to-effort ratio.
|
|
27
|
+
</process>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design agent memory architecture across time scales. Usage: /mindforge:agent-memory [agent] [--layers 4] [--retrieval semantic|key|hybrid]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a multi-layered agent memory architecture that operates across different time scales, balancing recall accuracy with storage efficiency through consolidation, decay, and retrieval optimization strategies.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/agent-memory-design/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (agent name or system, optional --layers count, optional --retrieval strategy)
|
|
15
|
+
Knowledge: Agent's task domain, interaction patterns, storage constraints, latency requirements.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Classify Information By Time-Scale**: Categorize all information the agent handles into layers: working memory (current turn, seconds), short-term (current session, minutes-hours), medium-term (recent sessions, days-weeks), long-term (permanent knowledge, months-years).
|
|
20
|
+
2. **Design Storage Per Layer**: Working memory = in-context window. Short-term = structured scratchpad (JSON/key-value). Medium-term = vector store with temporal weighting. Long-term = knowledge graph + compressed summaries. Choose storage technology for each.
|
|
21
|
+
3. **Implement Retrieval Strategy Per Layer**: Working memory = direct access. Short-term = key-based lookup. Medium-term = semantic search with recency boost. Long-term = hybrid (semantic + keyword + graph traversal). Define retrieval latency budgets per layer.
|
|
22
|
+
4. **Add Consolidation Process**: At session end, extract key learnings from short-term memory, index them with semantic embeddings, link to existing knowledge graph nodes, and promote to medium-term. Weekly: consolidate medium-term patterns into long-term compressed representations.
|
|
23
|
+
5. **Configure Decay Mechanism**: Unreinforced memories fade over time. Implement decay function: access count increases retention, time since last access decreases it. Set thresholds: below threshold = archive (not delete). Reinforced memories (accessed 3+ times) get permanence boost.
|
|
24
|
+
6. **Set Memory Budget Per Layer**: Define token/storage budgets: working memory = context window limit minus system prompt. Short-term = 10K tokens max. Medium-term = 100K entries. Long-term = unlimited but retrieval-limited. Implement eviction when budget exceeded.
|
|
25
|
+
7. **Test Recall Accuracy**: Design evaluation suite: inject known facts, query after N turns/sessions, measure recall@k. Target: working memory 100%, short-term 95%, medium-term 80%, long-term 70%. Identify failure modes.
|
|
26
|
+
8. **Monitor Retrieval Relevance**: Track retrieval quality metrics: precision@5, user corrections (retrieved wrong context), latency percentiles. Set up alerting for degradation. A/B test retrieval strategy changes.
|
|
27
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:agent
|
|
3
|
+
description: Spawn or invoke a specialized enterprise persona from the MindForge library
|
|
4
|
+
argument-hint: "[persona-name] [prompt]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Provide an on-demand mechanism to "spawn" any of the 13+ standardized MindForge personas. This allows the user to switch the AI assistant's context, role, and process to a specific specialized mode (e.g., Roadmapper, Security Reviewer, Analyst).
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/agent.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Personas Directory: `.mindforge/personas/`
|
|
20
|
+
State: Loads the persona's XML-tagged structure into the active system context.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **List Personas**: If no arguments are provided, list all available `.md` files in `.mindforge/personas/` with their name and description (parsed from YAML).
|
|
25
|
+
2. **Load Persona**: If a name is provided:
|
|
26
|
+
- Locate `.mindforge/personas/[name].md`.
|
|
27
|
+
- Read the file content.
|
|
28
|
+
- Present the persona's role and success criteria to the user.
|
|
29
|
+
3. **Switch Mode**: Instruct the AI (through the current session context) to adopt the role, philosophy, and process defined in the loaded file.
|
|
30
|
+
4. **Initial Task**: If a prompt is provided as the second argument, immediately execute that prompt using the newly adopted persona.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:ai-cost
|
|
3
|
+
description: "Optimize AI/ML infrastructure costs. Usage: /mindforge:ai-cost [system] [--budget monthly] [--optimize latency|cost|quality]"
|
|
4
|
+
argument-hint: "[system] [--budget monthly] [--optimize latency|cost|quality]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design comprehensive ai-cost system architecture.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/ai-cost-management/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/ai-cost-management/`
|
|
20
|
+
State: Analyzes requirements and constraints to generate ai-cost architecture.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Requirement Analysis**: Analyze domain-specific requirements and constraints.
|
|
25
|
+
2. **Architecture Design**: Design scalable system architecture with best practices.
|
|
26
|
+
3. **Component Selection**: Select appropriate technologies and tools for implementation.
|
|
27
|
+
4. **Integration Strategy**: Define integration patterns with existing systems.
|
|
28
|
+
5. **Optimization Approach**: Implement performance and cost optimization strategies.
|
|
29
|
+
6. **Monitoring Framework**: Design observability and alerting mechanisms.
|
|
30
|
+
7. **Deployment Planning**: Create deployment strategy with rollback procedures.
|
|
31
|
+
</process>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:ai-safety
|
|
3
|
+
description: "Design AI safety and alignment controls. Usage: /mindforge:ai-safety [system] [--scope output|input|pipeline] [--level basic|comprehensive]"
|
|
4
|
+
argument-hint: "[system] [--scope output|input|pipeline] [--level basic|comprehensive]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Design comprehensive AI safety and alignment controls for production AI systems, implementing guardrails, monitoring, and intervention mechanisms across input validation, output filtering, and pipeline orchestration. This command creates safety architecture that prevents harmful outputs, detects adversarial inputs, and ensures alignment with ethical guidelines and business policies.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.mindforge/skills/ai-safety-alignment/SKILL.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Skills Directory: `.mindforge/skills/ai-safety-alignment/`
|
|
20
|
+
State: Analyzes the AI system's risk surface, regulatory requirements, and business constraints to generate layered safety controls with monitoring dashboards and incident response protocols.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Risk Surface Mapping**: Identify potential failure modes (harmful content, PII leakage, hallucinations, adversarial manipulation), categorize risks by severity and likelihood, and define acceptable risk thresholds per use case.
|
|
25
|
+
|
|
26
|
+
2. **Input Validation Layer**: Design prompt injection detection using classifier models and pattern matching, implement adversarial input filtering with anomaly detection, and create user intent verification for high-risk operations.
|
|
27
|
+
|
|
28
|
+
3. **Output Safety Controls**: Architect content moderation pipeline with toxicity classifiers (Perspective API, OpenAI Moderation), implement fact-checking and hallucination detection for critical domains, and design PII redaction with entity recognition and regex patterns.
|
|
29
|
+
|
|
30
|
+
4. **Alignment Mechanisms**: Define constitutional AI principles and values hierarchy, implement preference learning from human feedback (RLHF/RLAIF), and design reward modeling for behavior shaping toward safe outcomes.
|
|
31
|
+
|
|
32
|
+
5. **Monitoring and Observability**: Create real-time dashboards tracking safety metric distributions (toxicity scores, rejection rates), implement anomaly alerting for policy violations, and design audit logging for compliance and forensics.
|
|
33
|
+
|
|
34
|
+
6. **Intervention Protocols**: Design human-in-the-loop workflows for uncertain cases, implement circuit breakers with automatic system degradation, and create escalation paths for critical safety incidents.
|
|
35
|
+
|
|
36
|
+
7. **Continuous Improvement**: Establish red-teaming protocols for adversarial testing, design A/B testing framework for safety mechanism refinement, and implement feedback loops from user reports and moderator reviews.
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design event tracking taxonomy and instrumentation plan. Usage: /mindforge:analytics [feature] [--format object_action] [--privacy strict]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a comprehensive event tracking taxonomy and instrumentation plan that enables data-driven product decisions while respecting user privacy and maintaining long-term data quality through governance processes.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/analytics-instrumentation/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (feature or product area, optional --format for naming convention, optional --privacy level)
|
|
15
|
+
Knowledge: Existing tracking plan, privacy policy, consent framework, analytics platform documentation.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Define User Journeys To Measure**: Map the critical user journeys for the feature. Identify key decision points, drop-off risks, and success moments. Each journey becomes a funnel to instrument.
|
|
20
|
+
2. **Design Event Taxonomy**: Create a consistent naming convention using object_action format (e.g., button_clicked, form_submitted, page_viewed). Define hierarchy: namespace > object > action. Ensure names are self-documenting and greppable.
|
|
21
|
+
3. **Create Tracking Plan Spreadsheet**: Document every event in a structured format: event name, trigger condition, properties, expected volume, owner, and data consumer. This becomes the single source of truth.
|
|
22
|
+
4. **Define Event Properties Per Event**: For each event, specify required and optional properties with their types, allowed values, and descriptions. Include: user context, session context, feature context, and business context.
|
|
23
|
+
5. **Implement Data Layer**: Design the client-side data layer that decouples tracking from UI code. Use a centralized analytics service/module that validates events against the schema before sending.
|
|
24
|
+
6. **Configure Consent and Privacy**: Implement consent-based tracking (essential/functional/analytics/marketing tiers). Ensure PII is never sent without explicit consent. Apply data minimization — only collect what is needed for defined use cases.
|
|
25
|
+
7. **Validate Events In CI**: Add automated tests that verify: event names match the taxonomy, required properties are present, property types are correct, and no PII leaks into analytics events.
|
|
26
|
+
8. **Set Up Funnel Dashboards**: For each instrumented journey, create a dashboard showing: conversion rates per step, drop-off analysis, segmentation by key dimensions, and trend over time.
|
|
27
|
+
9. **Schedule Quarterly Cleanup**: Establish a governance process: review event volume quarterly, archive low-value events, update the tracking plan, and prune unused properties to prevent data bloat.
|
|
28
|
+
</process>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Process pending approvals and emergency overrides. Usage:
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Process pending approvals and emergency overrides. Usage:
|
|
6
|
+
`/mindforge:approve [approval-id] [--approve|--reject] [--reason "..."] [--emergency]`
|
|
7
|
+
|
|
8
|
+
## Listing approvals
|
|
9
|
+
Scan `.planning/approvals/` and show only files with `status: pending` unless
|
|
10
|
+
the user explicitly asks for historical records.
|
|
11
|
+
|
|
12
|
+
## Standard approval flow
|
|
13
|
+
1. Read the approval file
|
|
14
|
+
2. Confirm current identity from `git config user.email` or `$USER`
|
|
15
|
+
3. Validate approver eligibility from `INTEGRATIONS-CONFIG.md`
|
|
16
|
+
4. Record approval or rejection with timestamp and reason
|
|
17
|
+
|
|
18
|
+
## Emergency overrides
|
|
19
|
+
Emergency override requires the `--emergency` flag.
|
|
20
|
+
Read `EMERGENCY_APPROVERS` from `INTEGRATIONS-CONFIG.md` and deny the request if
|
|
21
|
+
the current identity is not listed. Document that git-config-based identity is
|
|
22
|
+
a convenience layer, not a high-assurance identity proof.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Query .planning/AUDIT.jsonl by phase, event, date, severity, integration, or
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Query `.planning/AUDIT.jsonl` by phase, event, date, severity, integration, or
|
|
6
|
+
agent. Usage: `/mindforge:audit [filters]`
|
|
7
|
+
|
|
8
|
+
## Supported options
|
|
9
|
+
- `--phase N`
|
|
10
|
+
- `--event NAME`
|
|
11
|
+
- `--agent NAME`
|
|
12
|
+
- `--severity LEVEL`
|
|
13
|
+
- `--date YYYY-MM-DD`
|
|
14
|
+
- `--summary`
|
|
15
|
+
- `--verify`
|
|
16
|
+
- `--export PATH`
|
|
17
|
+
|
|
18
|
+
## Summary mode
|
|
19
|
+
Summarise counts by event, severity, integration, and phase.
|
|
20
|
+
Entries with `"phase": null` are reported as `project-level`, not dropped.
|
|
21
|
+
|
|
22
|
+
## Verify mode
|
|
23
|
+
Validate JSONL shape and chronological ordering.
|
|
24
|
+
Timestamp comparison may use string comparison because ISO-8601 UTC timestamps
|
|
25
|
+
with a `Z` suffix sort lexicographically.
|
|
26
|
+
|
|
27
|
+
## Archive rotation
|
|
28
|
+
If the active audit log exceeds 10,000 lines, rotate it into
|
|
29
|
+
`.planning/audit-archive/` before continuing heavy writes. Rotation must never
|
|
30
|
+
delete history; it archives then resets the active file.
|
|
31
|
+
|
|
32
|
+
## Export safety
|
|
33
|
+
Validate export paths stay inside the project directory. If a path traversal or
|
|
34
|
+
unsafe destination is requested, export into `.planning/` instead.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Design authentication and authorization flow. Usage: /mindforge:auth-flow [--type oauth2|session|jwt] [--mfa] [--authz rbac|abac]"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<objective>
|
|
6
|
+
Design a complete authentication and authorization flow including authn mechanism selection, token lifecycle, MFA integration, and authz model implementation with security audit considerations.
|
|
7
|
+
</objective>
|
|
8
|
+
|
|
9
|
+
<execution_context>
|
|
10
|
+
@.mindforge/skills/auth-patterns/SKILL.md
|
|
11
|
+
</execution_context>
|
|
12
|
+
|
|
13
|
+
<context>
|
|
14
|
+
Arguments: $ARGUMENTS (optional --type oauth2|session|jwt, optional --mfa flag, optional --authz rbac|abac)
|
|
15
|
+
Knowledge: Current auth implementation, user types, permission requirements, compliance needs (SOC2, GDPR).
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Identify auth requirements**: Assess the system needs:
|
|
20
|
+
- User types: end-users, service accounts, admin, API consumers
|
|
21
|
+
- Client types: SPA, mobile app, server-to-server, CLI
|
|
22
|
+
- Session requirements: duration, concurrent sessions, device tracking
|
|
23
|
+
- Compliance: SOC2 (audit logs), GDPR (consent, deletion), HIPAA (access controls)
|
|
24
|
+
- Performance: auth check latency budget (< 5ms for hot path)
|
|
25
|
+
- Scale: concurrent users, tokens in circulation, auth checks per second
|
|
26
|
+
|
|
27
|
+
2. **Select authn flow**: Based on --type flag or client analysis:
|
|
28
|
+
- **OAuth2 + PKCE** (for SPAs/mobile): Authorization Code flow with PKCE, no client secret exposed
|
|
29
|
+
- **Session-based** (for server-rendered): HTTP-only secure cookies, server-side session store
|
|
30
|
+
- **JWT** (for APIs/microservices): Signed tokens with short expiry, refresh token rotation
|
|
31
|
+
- For each: document the full flow (request → redirect → callback → token → validation)
|
|
32
|
+
- Specify token storage location (httpOnly cookie, secure storage, never localStorage)
|
|
33
|
+
- Define logout mechanism (token revocation, session invalidation, cookie clearing)
|
|
34
|
+
|
|
35
|
+
3. **Design token lifecycle**: Define the token management:
|
|
36
|
+
- Access token: short-lived (15 min), contains minimal claims (sub, scope, exp)
|
|
37
|
+
- Refresh token: longer-lived (7 days), rotated on each use (detect theft via reuse)
|
|
38
|
+
- ID token: user profile claims, validated once at login
|
|
39
|
+
- Token revocation: maintain revocation list or use short expiry + refresh
|
|
40
|
+
- Token validation: signature check → expiry check → issuer check → audience check
|
|
41
|
+
- Clock skew tolerance: 30 seconds maximum
|
|
42
|
+
|
|
43
|
+
4. **Add MFA if needed**: When --mfa flag is set:
|
|
44
|
+
- Primary factors: password (argon2id hash), social login (OAuth2)
|
|
45
|
+
- Second factors: TOTP (authenticator app), WebAuthn (hardware key), SMS (fallback only)
|
|
46
|
+
- Step-up auth: require MFA for sensitive operations (password change, payment, admin)
|
|
47
|
+
- Recovery: backup codes (10 single-use), admin override with audit log
|
|
48
|
+
- Enrollment flow: optional at signup, required for admin/elevated roles
|
|
49
|
+
- Remember device: trust for 30 days with device fingerprint
|
|
50
|
+
|
|
51
|
+
5. **Design authz model**: Based on --authz flag:
|
|
52
|
+
- **RBAC** (Role-Based): Define roles (admin, editor, viewer) → map to permissions → assign to users
|
|
53
|
+
- **ABAC** (Attribute-Based): Define policies based on subject attributes, resource attributes, action, and context
|
|
54
|
+
- Permission granularity: resource-level (can edit ANY post) vs instance-level (can edit OWN posts)
|
|
55
|
+
- Inheritance: role hierarchy (admin inherits editor permissions)
|
|
56
|
+
- Deny-by-default: all access denied unless explicitly granted
|
|
57
|
+
- Policy evaluation: eager (at login, cache in token) vs lazy (at access time, check service)
|
|
58
|
+
- Group-based: assign roles to groups, users inherit from groups
|
|
59
|
+
|
|
60
|
+
6. **Implement**: Translate design to code:
|
|
61
|
+
- Auth middleware: validate token on every request, attach user context
|
|
62
|
+
- Permission check: decorator/middleware pattern at route or controller level
|
|
63
|
+
- Service-to-service: mutual TLS or signed JWT with service identity
|
|
64
|
+
- Rate limiting: per-user and per-IP on auth endpoints (prevent brute force)
|
|
65
|
+
- Audit logging: log every auth event (login, logout, failure, permission denied, MFA challenge)
|
|
66
|
+
- Error responses: generic messages (never reveal "user not found" vs "wrong password")
|
|
67
|
+
|
|
68
|
+
7. **Audit**: Validate the auth implementation:
|
|
69
|
+
- OWASP Authentication Cheat Sheet compliance
|
|
70
|
+
- Session fixation protection (regenerate session ID on login)
|
|
71
|
+
- CSRF protection on state-changing endpoints (SameSite cookies + CSRF token)
|
|
72
|
+
- Credential stuffing protection (rate limiting, CAPTCHA after N failures)
|
|
73
|
+
- Token leakage vectors (URL parameters, referrer headers, logs)
|
|
74
|
+
- Privilege escalation paths (horizontal: access other user data, vertical: gain admin)
|
|
75
|
+
- Output: security assessment report with findings and remediation
|
|
76
|
+
</process>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Starts the MindForge Autonomous Execution Engine for the
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /mindforge:auto [Phase N]
|
|
6
|
+
|
|
7
|
+
**Purpose**: Starts the MindForge Autonomous Execution Engine for the
|
|
8
|
+
specified phase. The agent will execute all waves, handle repairs, and
|
|
9
|
+
perform compliance gates without requiring human confirmation.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
- `/mindforge:auto --phase 3` (Standard unattended mode)
|
|
13
|
+
- `/mindforge:auto --resume` (Resumes from last checkpoint)
|
|
14
|
+
- `/mindforge:auto --headless` (CI/CD optimized output)
|
|
15
|
+
- `/mindforge:auto --dry-run` (Show the wave DAG and plan without executing)
|
|
16
|
+
|
|
17
|
+
## Behavior
|
|
18
|
+
- **Zero-Interaction**: Auto-approves Tier 1/2 changes if gates pass.
|
|
19
|
+
- **Self-Repair**: Tries RETRY/DECOMPOSE before asking for help.
|
|
20
|
+
- **Checkpointing**: Constant state persistence in `HANDOFF.json`.
|
|
21
|
+
- **Governance**: ESCALATES on Tier 3 changes (Auth/Payment/PII).
|
|
22
|
+
|
|
23
|
+
## Environment Variables
|
|
24
|
+
- `AUTO_MODE_TIMEOUT_MINUTES`: Default 120.
|
|
25
|
+
- `AUTO_PUSH_ON_WAVE_COMPLETE`: Default false.
|
|
26
|
+
- `SLACK_WEBHOOK_URL`: Required for notifications.
|