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,155 @@
|
|
|
1
|
+
# MindForge v2 — Knowledge Graph Schema
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The MindForge knowledge graph is built from five JSONL files — all append-only,
|
|
6
|
+
all at `.mindforge/memory/`. Every entry has a consistent base schema plus
|
|
7
|
+
type-specific fields.
|
|
8
|
+
|
|
9
|
+
## Base schema (all entry types)
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"id": "kb-uuid-v4",
|
|
14
|
+
"timestamp": "ISO-8601",
|
|
15
|
+
"type": "architectural_decision|code_pattern|bug_pattern|team_preference|domain_knowledge",
|
|
16
|
+
"topic": "Short title (≤ 80 chars)",
|
|
17
|
+
"content": "Full knowledge content (no limit)",
|
|
18
|
+
"source": "Where this was captured: 'Phase 3 retro', 'Debug session 2026-01', 'Manual entry'",
|
|
19
|
+
"project": "project-name from PROJECT.md",
|
|
20
|
+
"confidence": 0.0,
|
|
21
|
+
"tags": ["tag1", "tag2"],
|
|
22
|
+
"linked_adrs": ["ADR-007"],
|
|
23
|
+
"times_referenced": 0,
|
|
24
|
+
"last_referenced": null,
|
|
25
|
+
"deprecated": false,
|
|
26
|
+
"deprecated_by": null
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Type-specific schemas
|
|
31
|
+
|
|
32
|
+
### `architectural_decision`
|
|
33
|
+
|
|
34
|
+
Extended fields:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"decision": "Use argon2id for password hashing",
|
|
39
|
+
"rationale": "bcrypt is showing its age; argon2id is the modern standard",
|
|
40
|
+
"alternatives": ["bcrypt", "scrypt", "pbkdf2"],
|
|
41
|
+
"phase_number": 3,
|
|
42
|
+
"adr_reference": "ADR-007"
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Capture trigger: Phase completion (ADR files extracted), `/mindforge:discuss-phase`
|
|
47
|
+
|
|
48
|
+
### `code_pattern`
|
|
49
|
+
|
|
50
|
+
Extended fields:
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"pattern_type": "good|anti-pattern",
|
|
55
|
+
"language": "typescript",
|
|
56
|
+
"example_good": "// Code showing the correct pattern",
|
|
57
|
+
"example_bad": "// Code showing the incorrect pattern (for anti-patterns)",
|
|
58
|
+
"applies_to": ["auth", "database", "api"]
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Capture trigger: Smart compaction Block D, debug session root cause
|
|
63
|
+
|
|
64
|
+
### `bug_pattern`
|
|
65
|
+
|
|
66
|
+
Extended fields:
|
|
67
|
+
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"bug_category": "auth|database|api|ui|performance|security",
|
|
71
|
+
"symptom": "Login works in tests but fails in production with cookie errors",
|
|
72
|
+
"root_cause": "httpOnly cookies require HTTPS; dev server was HTTP",
|
|
73
|
+
"fix": "Enable HTTPS in dev or use secure: false in development only",
|
|
74
|
+
"prevention": "Always configure cookie settings per-environment",
|
|
75
|
+
"severity_when_missed": "HIGH",
|
|
76
|
+
"recurrence_count": 1
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Capture trigger: Debug session completion, security findings, retrospective "what went wrong"
|
|
81
|
+
|
|
82
|
+
### `team_preference`
|
|
83
|
+
|
|
84
|
+
Extended fields:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"preference_type": "style|tool|process|convention|architecture",
|
|
89
|
+
"applies_when": "When implementing auth",
|
|
90
|
+
"preference": "Always use argon2id, never bcrypt. See ADR-007.",
|
|
91
|
+
"strength": "strong|moderate|weak",
|
|
92
|
+
"override_allowed": true
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Capture trigger: Retrospective "what should we keep doing", steering instructions,
|
|
97
|
+
MINDFORGE.md changes from retrospective
|
|
98
|
+
|
|
99
|
+
### `domain_knowledge`
|
|
100
|
+
|
|
101
|
+
Extended fields:
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
{
|
|
105
|
+
"domain": "JWT security",
|
|
106
|
+
"tech_stack": ["node.js", "typescript"],
|
|
107
|
+
"knowledge": "JWT access tokens should be short-lived (15 min). Refresh tokens in httpOnly cookies, not localStorage. Never decode JWT without verifying signature.",
|
|
108
|
+
"source_url": "https://auth0.com/docs/secure/tokens/json-web-tokens",
|
|
109
|
+
"verified_at": "2026-01-15"
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Capture trigger: Research engine output, `/mindforge:remember --add`
|
|
114
|
+
|
|
115
|
+
## Confidence scoring
|
|
116
|
+
|
|
117
|
+
Confidence (0.0–1.0) represents how strongly this knowledge should be applied:
|
|
118
|
+
|
|
119
|
+
| Confidence | Meaning | How set |
|
|
120
|
+
| :--- | :--- | :--- |
|
|
121
|
+
| 0.9–1.0 | Strong team decision — always apply | Manual entry, strong steering, ADR |
|
|
122
|
+
| 0.7–0.9 | Clear pattern — apply unless there's a reason not to | Retrospective, debug session |
|
|
123
|
+
| 0.5–0.7 | Observed pattern — consider but verify | Smart compaction Block D |
|
|
124
|
+
| 0.3–0.5 | Weak signal — informational only | Single observation |
|
|
125
|
+
| < 0.3 | Hypothesis — don't apply proactively | Auto-captured, unverified |
|
|
126
|
+
|
|
127
|
+
## Confidence reinforcement
|
|
128
|
+
|
|
129
|
+
Each time an entry is referenced (retrieved and the advice was followed):
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
confidence = min(1.0, confidence + 0.05)
|
|
133
|
+
times_referenced += 1
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Each time an entry is contradicted (a different decision was made):
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
confidence = max(0.0, confidence - 0.10)
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Deprecation
|
|
143
|
+
|
|
144
|
+
When a knowledge entry becomes outdated (e.g., team switches from argon2id to Passkeys):
|
|
145
|
+
|
|
146
|
+
```json
|
|
147
|
+
{
|
|
148
|
+
"deprecated": true,
|
|
149
|
+
"deprecated_by": "kb-uuid-of-newer-entry",
|
|
150
|
+
"deprecated_reason": "Superseded by WebAuthn/Passkeys approach (ADR-031)"
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Deprecated entries are never deleted — they are excluded from active retrieval
|
|
155
|
+
but available for historical queries.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# MindForge v2 — Knowledge Capture Protocol
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
The Capture Engine automatically extracts valuable engineering knowledge from session artifacts to ensure that project-specific wisdom is preserved beyond a single handoff.
|
|
6
|
+
|
|
7
|
+
## Capture Triggers
|
|
8
|
+
|
|
9
|
+
MindForge monitors the following lifecycle events for knowledge extraction:
|
|
10
|
+
|
|
11
|
+
1. **Phase Completion**: Extracting architectural decisions from `PROJECT.md` and phase retrospectives.
|
|
12
|
+
2. **Hardened Debugging**: Capturing "root cause -> fix" patterns from completed debug reports.
|
|
13
|
+
3. **Manual Command**: Using `/mindforge:remember --add` to explicitly record team preferences or domain knowledge.
|
|
14
|
+
4. **ADR Generation**: Parsing newly created Architecture Decision Records.
|
|
15
|
+
|
|
16
|
+
## Extraction Logic
|
|
17
|
+
|
|
18
|
+
The extraction process (via `knowledge-capture.js`) involves:
|
|
19
|
+
|
|
20
|
+
- **Structural Parsing**: Identifying standardized headings (e.g., "Decision", "Root Cause", "Pattern").
|
|
21
|
+
- **Deduplication**: Checking for existing entries with similar content to prevent knowledge bloat.
|
|
22
|
+
- **Initial Confidence**: Assigning a default confidence score (usually 0.5) to newly captured entries.
|
|
23
|
+
- **Auto-Tagging**: Inferring tags based on the file path and content context (e.g., `#nodejs`, `#security`).
|
|
24
|
+
|
|
25
|
+
## Inhibitors (What NOT to capture)
|
|
26
|
+
|
|
27
|
+
To prevent the knowledge base from becoming "noisy", the system ignores:
|
|
28
|
+
|
|
29
|
+
- Transient session state (e.g., local file counts).
|
|
30
|
+
- Intermediate debugging steps that didn't lead to a fix.
|
|
31
|
+
- Content marked with `#no-capture` or inside blocks labeled "Confidential".
|
|
32
|
+
|
|
33
|
+
## Retention Policy
|
|
34
|
+
|
|
35
|
+
- **Append-only**: Entries are never physically deleted.
|
|
36
|
+
- **Deprecation**: Outdated entries are marked as `deprecated: true` and replaced by newer entries with the same `source_id`.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# MindForge v2 — Global Knowledge Sync Specification
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Allow knowledge to flow between projects via a machine-level global store.
|
|
6
|
+
Team members can promote project-specific insights to their global knowledge base,
|
|
7
|
+
which loads into every future project's session start.
|
|
8
|
+
|
|
9
|
+
## Storage locations
|
|
10
|
+
|
|
11
|
+
- **Project-local:** `.mindforge/memory/knowledge-base.jsonl` (per repo)
|
|
12
|
+
- **Global (machine):** `~/.mindforge/global-knowledge-base.jsonl` (per developer)
|
|
13
|
+
|
|
14
|
+
## Sync rules
|
|
15
|
+
|
|
16
|
+
- Promotion is MANUAL — nothing is auto-promoted to global. Use `/mindforge:remember --promote [ID]`.
|
|
17
|
+
- Loading is AUTOMATIC — global entries load at every session start if relevant.
|
|
18
|
+
- Project entries take precedence over global entries (same ID = local wins).
|
|
19
|
+
- Global entries receive a metadata flag `global: true` but are ranked alongside project entries based on relevance.
|
|
20
|
+
|
|
21
|
+
## What should be promoted to global
|
|
22
|
+
|
|
23
|
+
Good candidates for global promotion:
|
|
24
|
+
|
|
25
|
+
- Language-agnostic security practices ("always validate input before database queries")
|
|
26
|
+
- Technology-specific best practices learned through experience ("argon2id over bcrypt")
|
|
27
|
+
- Universal debugging patterns ("check the timezone mismatch before blaming async code")
|
|
28
|
+
- Cross-project architectural preferences ("Repository pattern over active record")
|
|
29
|
+
|
|
30
|
+
## Global entry metadata
|
|
31
|
+
|
|
32
|
+
When promoted to global, entries gain:
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"global": true,
|
|
37
|
+
"promoted_at": "ISO-8601",
|
|
38
|
+
"promoted_from_project": "saas-app",
|
|
39
|
+
"promoted_by": "git-config-user-email",
|
|
40
|
+
"global_applicability": "all|typescript|nodejs|react|[specific]"
|
|
41
|
+
}
|
|
42
|
+
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# MindForge v2 — Knowledge Retrieval Specification
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
The Retrieval Engine is responsible for identifying and loading the most relevant pieces of long-term memory into the current session context to improve agent performance and consistency.
|
|
6
|
+
|
|
7
|
+
## Components
|
|
8
|
+
|
|
9
|
+
- **Indexer (`knowledge-indexer.js`)**: Handles the scoring and ranking of knowledge entries.
|
|
10
|
+
- **Session Loader (`session-memory-loader.js`)**: Orchestrates the loading of relevant memories at the start of a session.
|
|
11
|
+
|
|
12
|
+
## Scoring Logic (TF-IDF + Heuristics)
|
|
13
|
+
|
|
14
|
+
Relevance is calculated using a multi-factor scoring model:
|
|
15
|
+
|
|
16
|
+
1. **Text Search (TF-IDF)**:
|
|
17
|
+
- Tokenizes the query and knowledge text.
|
|
18
|
+
- Calculates Term Frequency (TF) and Inverse Document Frequency (IDF).
|
|
19
|
+
- Entries must have a positive TF-IDF score to be considered relevant if keywords are present.
|
|
20
|
+
|
|
21
|
+
2. **Confidence & Recency**:
|
|
22
|
+
- **Confidence Score**: Boosts entries with higher confidence levels (reinforced over time).
|
|
23
|
+
- **Recency Decay**: Prefer more recent knowledge entries, especially for bug patterns.
|
|
24
|
+
|
|
25
|
+
3. **Tag Overlap**:
|
|
26
|
+
- Queries can include required tags (e.g., `#typescript`).
|
|
27
|
+
- Entries with matching tags receive a significant boost.
|
|
28
|
+
|
|
29
|
+
4. **Inhibitors**:
|
|
30
|
+
- Deprecated entries are never retrieved.
|
|
31
|
+
- Low-confidence "noise" entries are filtered out.
|
|
32
|
+
|
|
33
|
+
## Context Injection
|
|
34
|
+
|
|
35
|
+
During session start, the loader:
|
|
36
|
+
1. Performs a broad search based on the current project's primary technology stack and recent activities.
|
|
37
|
+
2. Selects the top `N` (default 5-10) most relevant entries.
|
|
38
|
+
3. Injects them into the agent's secondary context (e.g., as a dedicated "Memory context" block).
|
|
39
|
+
|
|
40
|
+
## SDK Interface
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
const relevantKnowledge = await memory.query("query string", ["#tag1"], 5);
|
|
44
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# MindForge Metrics — Schema Reference
|
|
2
|
+
|
|
3
|
+
## Files
|
|
4
|
+
- `session-quality.jsonl`
|
|
5
|
+
- `phase-metrics.jsonl`
|
|
6
|
+
- `skill-usage.jsonl`
|
|
7
|
+
- `compaction-quality.jsonl`
|
|
8
|
+
|
|
9
|
+
All files are append-only JSONL.
|
|
10
|
+
|
|
11
|
+
## session-quality.jsonl fields
|
|
12
|
+
- session_id, date, phase, developer_id
|
|
13
|
+
- tasks_attempted, tasks_completed, tasks_failed
|
|
14
|
+
- verify_pass_rate, quality_gates_failed
|
|
15
|
+
- security_findings, context_compactions
|
|
16
|
+
- skills_loaded_count, antipatterns_detected
|
|
17
|
+
- session_quality_score, session_quality_score_raw
|
|
18
|
+
|
|
19
|
+
Score formula:
|
|
20
|
+
- base 100
|
|
21
|
+
- minus task/gate/security/antipattern penalties
|
|
22
|
+
- bonus for zero gate failures and zero security findings
|
|
23
|
+
- keep both raw and clamped (`0-100`) score for trend analysis
|
|
24
|
+
|
|
25
|
+
## phase-metrics.jsonl fields
|
|
26
|
+
- phase lifecycle and delivery coverage
|
|
27
|
+
- difficulty score
|
|
28
|
+
- security and UAT outcomes
|
|
29
|
+
- phase_quality_score
|
|
30
|
+
|
|
31
|
+
## skill-usage.jsonl fields
|
|
32
|
+
- date, phase, plan
|
|
33
|
+
- skill_name, skill_version
|
|
34
|
+
- trigger_type (`text_match|file_path_match|file_name_match`)
|
|
35
|
+
- trigger_keyword
|
|
36
|
+
- task_outcome, verify_passed_first_try
|
|
37
|
+
|
|
38
|
+
## compaction-quality.jsonl fields
|
|
39
|
+
- date, compaction_level, context_pct_at_compaction
|
|
40
|
+
- decisions_captured, discoveries_captured
|
|
41
|
+
- implicit_knowledge_items, quality_signals_captured
|
|
42
|
+
- next_session_continuation_success (auto-inferred where possible)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# MindForge Metrics — Quality Tracker
|
|
2
|
+
|
|
3
|
+
## Trend windows
|
|
4
|
+
- short: last 5 sessions
|
|
5
|
+
- medium: last 20 sessions
|
|
6
|
+
- long: all sessions
|
|
7
|
+
|
|
8
|
+
## Key targets
|
|
9
|
+
- Verify pass rate > 85% (warning < 75%)
|
|
10
|
+
- Task failure rate < 10% (warning > 20%)
|
|
11
|
+
- Compactions < 1 per 8 tasks (warning > 2 per session)
|
|
12
|
+
|
|
13
|
+
## Early warnings
|
|
14
|
+
- quality score drop >= 10 points over 3 sessions
|
|
15
|
+
- any CRITICAL security finding after clean streak
|
|
16
|
+
- compaction overhead > 2/session
|
|
17
|
+
- stale skills not triggered in 10 sessions
|
|
18
|
+
|
|
19
|
+
## Quality metrics -> agent behaviour adjustment
|
|
20
|
+
Automatic adjustments at session start:
|
|
21
|
+
|
|
22
|
+
- If verify pass rate < 75% over last 3 sessions:
|
|
23
|
+
tighten verify-step determinism checks before execution.
|
|
24
|
+
- If last-session task failure rate > 20%:
|
|
25
|
+
halve estimated scope and suggest splitting.
|
|
26
|
+
- If compaction frequency > 2/session:
|
|
27
|
+
proactively summarize every 4 tasks.
|
|
28
|
+
- If security findings trend worsens over 3 phases:
|
|
29
|
+
force-load `security-review` for all tasks in current phase.
|
|
30
|
+
|
|
31
|
+
Always report adjustment to user:
|
|
32
|
+
`Quality signal detected: [signal]. Adjusting behaviour: [adjustment].`
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# MindForge v2 — Model Registry
|
|
2
|
+
# Version: v2.0.0-alpha.3
|
|
3
|
+
|
|
4
|
+
MindForge v2 uses a tiered multi-model architecture. Models are selected based on the task persona and difficulty tier.
|
|
5
|
+
|
|
6
|
+
## 1. Primary Reasoning Tier (Tier 1)
|
|
7
|
+
Used for complex architecture, planning, and high-stakes reasoning.
|
|
8
|
+
|
|
9
|
+
- **Anthropic Claude 3.5 Opus** (`claude-3-opus-20240229`)
|
|
10
|
+
- Strengths: Deepest reasoning, highly reliable for planning.
|
|
11
|
+
- Persona mapping: `architect`, `planner`.
|
|
12
|
+
- Setting: `PLANNER_MODEL`.
|
|
13
|
+
|
|
14
|
+
- **OpenAI GPT-4o** (`gpt-4o`)
|
|
15
|
+
- Strengths: Fast reasoning, excellent tool use, adversarial insight.
|
|
16
|
+
- Persona mapping: `reviewer`, `security-reviewer`.
|
|
17
|
+
- Setting: `REVIEWER_MODEL`.
|
|
18
|
+
|
|
19
|
+
## 2. Execution Tier (Tier 2)
|
|
20
|
+
Used for the bulk of code implementation and transformation tasks.
|
|
21
|
+
|
|
22
|
+
- **Anthropic Claude 3.5 Sonnet** (`claude-3-5-sonnet-20240620`)
|
|
23
|
+
- Strengths: Balanced speed/quality, best-in-class coding.
|
|
24
|
+
- Persona mapping: `developer`, `qa-engineer`.
|
|
25
|
+
- Setting: `EXECUTOR_MODEL`.
|
|
26
|
+
|
|
27
|
+
- **Google Gemini 1.5 Pro** (`gemini-1.5-pro`)
|
|
28
|
+
- Strengths: 1M context window, deep codebase research.
|
|
29
|
+
- Persona mapping: `research-agent`.
|
|
30
|
+
- Setting: `RESEARCH_MODEL`.
|
|
31
|
+
|
|
32
|
+
## 3. High-Security/Privacy Tier (Tier 3)
|
|
33
|
+
Used for tasks involving authentication, PII, or financial operations.
|
|
34
|
+
|
|
35
|
+
- **Anthropic Claude 3.5 Opus** (`claude-3-opus-20240229`)
|
|
36
|
+
- Setting: `SECURITY_MODEL`.
|
|
37
|
+
|
|
38
|
+
## 4. Utility/Quick Tier (Tier 4)
|
|
39
|
+
Used for low-ambiguity tasks and micro-transformations.
|
|
40
|
+
|
|
41
|
+
- **Anthropic Claude 3.5 Haiku** (`claude-3-5-haiku-20241022`)
|
|
42
|
+
- Setting: `QUICK_MODEL`.
|
|
43
|
+
|
|
44
|
+
## 5. Fallback Chain
|
|
45
|
+
If a primary model is unavailable (API key missing or 429), follow these defaults:
|
|
46
|
+
1. `gpt-4o` → `claude-3-5-sonnet`
|
|
47
|
+
2. `claude-3-opus` → `gpt-4o`
|
|
48
|
+
3. `gemini-1.5-pro` → `claude-3-5-sonnet` (limited context)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# MindForge v2 — Model Router
|
|
2
|
+
# Version: v2.0.0-alpha.3
|
|
3
|
+
|
|
4
|
+
## Routing Logic
|
|
5
|
+
|
|
6
|
+
The MindForge router resolves which model to use at task dispatch time using this algorithm:
|
|
7
|
+
|
|
8
|
+
1. **Check Persona:** Map the task `<persona>` to a setting key.
|
|
9
|
+
- `developer` → `EXECUTOR_MODEL`
|
|
10
|
+
- `architect` → `PLANNER_MODEL`
|
|
11
|
+
- `security-reviewer` → `SECURITY_MODEL`
|
|
12
|
+
- `qa-engineer` → `QA_MODEL`
|
|
13
|
+
- `research-agent` → `RESEARCH_MODEL`
|
|
14
|
+
- `debug-specialist` → `DEBUG_MODEL`
|
|
15
|
+
- `unknown` → `EXECUTOR_MODEL`
|
|
16
|
+
|
|
17
|
+
2. **Check Tier Override:**
|
|
18
|
+
- If `tier == 3` (Security/Privacy), force `SECURITY_MODEL` regardless of persona.
|
|
19
|
+
|
|
20
|
+
3. **Check Budget Bias:**
|
|
21
|
+
- If `difficulty < 2.0` and `MODEL_PREFER_CHEAP_BELOW_DIFFICULTY` is set:
|
|
22
|
+
- Use `QUICK_MODEL` instead of the resolved model.
|
|
23
|
+
|
|
24
|
+
4. **Resolve Model ID:**
|
|
25
|
+
- Read the setting key from `MINDFORGE.md`.
|
|
26
|
+
- Use baked-in defaults if not present.
|
|
27
|
+
|
|
28
|
+
5. **Verify Availability:**
|
|
29
|
+
- Check if matching `[PROVIDER]_API_KEY` is present in environment.
|
|
30
|
+
- If missing: Apply fallback chain from `model-registry.md`.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Coding Conventions — [ORG NAME]
|
|
2
|
+
|
|
3
|
+
<!-- These conventions are loaded by every MindForge agent session -->
|
|
4
|
+
<!-- Agents follow these exactly — be precise -->
|
|
5
|
+
|
|
6
|
+
## Naming conventions
|
|
7
|
+
| Element | Convention | Example |
|
|
8
|
+
|------------------|-----------------|--------------------------------|
|
|
9
|
+
| Variables | camelCase | `userProfile` |
|
|
10
|
+
| Functions | camelCase | `getUserById` |
|
|
11
|
+
| Classes | PascalCase | `UserService` |
|
|
12
|
+
| Constants | SCREAMING_SNAKE | `MAX_LOGIN_ATTEMPTS` |
|
|
13
|
+
| File names | kebab-case | `user-service.ts` |
|
|
14
|
+
| DB tables | snake_case plural| `user_profiles` |
|
|
15
|
+
| DB columns | snake_case | `created_at` |
|
|
16
|
+
| API endpoints | kebab-case | `/user-profiles/{id}` |
|
|
17
|
+
| Env variables | SCREAMING_SNAKE | `DATABASE_URL` |
|
|
18
|
+
|
|
19
|
+
## File structure
|
|
20
|
+
```
|
|
21
|
+
src/
|
|
22
|
+
features/ ← Feature-based organisation
|
|
23
|
+
auth/
|
|
24
|
+
auth.controller.ts
|
|
25
|
+
auth.service.ts
|
|
26
|
+
auth.repository.ts
|
|
27
|
+
auth.types.ts
|
|
28
|
+
auth.test.ts
|
|
29
|
+
shared/ ← Shared utilities and types
|
|
30
|
+
config/ ← Configuration and env validation
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Import order (enforced by linter)
|
|
34
|
+
1. Node.js built-ins
|
|
35
|
+
2. External packages
|
|
36
|
+
3. Internal absolute imports
|
|
37
|
+
4. Internal relative imports
|
|
38
|
+
(Blank line between each group)
|
|
39
|
+
|
|
40
|
+
## Commit message format (Conventional Commits)
|
|
41
|
+
```
|
|
42
|
+
type(scope): short description
|
|
43
|
+
|
|
44
|
+
[optional body]
|
|
45
|
+
|
|
46
|
+
[optional footer: BREAKING CHANGE or closes #issue]
|
|
47
|
+
```
|
|
48
|
+
Types: feat, fix, chore, docs, test, refactor, perf, security, build, ci
|
|
49
|
+
|
|
50
|
+
## Forbidden patterns
|
|
51
|
+
<!-- Agents will refuse to write code that contains these -->
|
|
52
|
+
- No `var` — use `const` or `let`
|
|
53
|
+
- No `any` type in TypeScript without a comment explaining why
|
|
54
|
+
- No `as unknown as X` type casting without a comment
|
|
55
|
+
- No default exports (use named exports)
|
|
56
|
+
- No `console.log` in production code
|
|
57
|
+
- No empty catch blocks
|
|
58
|
+
- No direct database access from route handlers (use service layer)
|
|
59
|
+
- No business logic in controllers/handlers (use service layer)
|
|
60
|
+
- No hardcoded URLs — use config/environment variables
|
|
61
|
+
- No synchronous file I/O in request handlers
|
|
62
|
+
```
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Organisation Context — [ORG NAME]
|
|
2
|
+
|
|
3
|
+
<!-- Replace every [placeholder] with your organisation's actual values -->
|
|
4
|
+
<!-- This file is loaded at the start of every MindForge session -->
|
|
5
|
+
|
|
6
|
+
## Identity
|
|
7
|
+
**Organisation:** [Your organisation name]
|
|
8
|
+
**Mission:** [1-2 sentences: what you build and for whom]
|
|
9
|
+
**Engineering team size:** [number]
|
|
10
|
+
|
|
11
|
+
## Default tech stack
|
|
12
|
+
| Layer | Technology | Version | Notes |
|
|
13
|
+
|----------------|---------------------|-----------|--------------------------|
|
|
14
|
+
| Frontend | [e.g. Next.js] | [e.g. 14] | [why this choice] |
|
|
15
|
+
| Backend | [e.g. FastAPI] | [e.g. 0.111] | |
|
|
16
|
+
| Database | [e.g. PostgreSQL] | [e.g. 16] | |
|
|
17
|
+
| Cache | [e.g. Redis] | [e.g. 7] | |
|
|
18
|
+
| Infrastructure | [e.g. AWS] | — | |
|
|
19
|
+
| CI/CD | [e.g. GitHub Actions] | — | |
|
|
20
|
+
| Monitoring | [e.g. Datadog] | — | |
|
|
21
|
+
|
|
22
|
+
## Architecture defaults
|
|
23
|
+
- API style: [REST / GraphQL / gRPC]
|
|
24
|
+
- Auth: [e.g. JWT with refresh tokens via Supabase Auth]
|
|
25
|
+
- ORM/DB access: [e.g. Prisma with PostgreSQL]
|
|
26
|
+
- Testing framework: [e.g. Vitest + Testing Library]
|
|
27
|
+
- Package manager: [npm / pnpm / yarn / uv]
|
|
28
|
+
|
|
29
|
+
## Team conventions
|
|
30
|
+
- Git branching: [e.g. Gitflow / trunk-based]
|
|
31
|
+
- PR policy: [e.g. 2 approvals required, CI must pass before merge]
|
|
32
|
+
- Code review: [e.g. Conventional Comments format]
|
|
33
|
+
- Sprint length: [e.g. 2 weeks]
|
|
34
|
+
- Definition of ready: [criteria for a story to enter a sprint]
|
|
35
|
+
- Definition of done: [criteria for a story to be marked complete]
|
|
36
|
+
|
|
37
|
+
## Enterprise tools
|
|
38
|
+
- Issue tracker: [e.g. Jira — your-org.atlassian.net]
|
|
39
|
+
- Wiki: [e.g. Confluence — your-org.atlassian.net/wiki]
|
|
40
|
+
- Source control: [e.g. GitHub — github.com/your-org]
|
|
41
|
+
- Messaging: [e.g. Slack — your-org.slack.com]
|
|
42
|
+
- Secrets: [e.g. AWS Secrets Manager / HashiCorp Vault]
|
|
43
|
+
|
|
44
|
+
## Compliance requirements
|
|
45
|
+
<!-- Check all that apply -->
|
|
46
|
+
- [ ] GDPR
|
|
47
|
+
- [ ] HIPAA
|
|
48
|
+
- [ ] SOC 2 Type II
|
|
49
|
+
- [ ] PCI-DSS
|
|
50
|
+
- [ ] ISO 27001
|
|
51
|
+
- [ ] Other: [specify]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Security Policies — [ORG NAME]
|
|
2
|
+
|
|
3
|
+
<!-- Loaded by MindForge Security Reviewer persona for every security-related task -->
|
|
4
|
+
|
|
5
|
+
## Authentication standards
|
|
6
|
+
- Passwords: bcrypt with cost factor ≥ 12, or argon2id
|
|
7
|
+
- Tokens: cryptographically random, ≥ 32 bytes (use crypto.randomBytes)
|
|
8
|
+
- JWT access tokens: 15-minute expiry maximum
|
|
9
|
+
- JWT refresh tokens: 7-day expiry, stored in httpOnly, Secure, SameSite=Strict cookie
|
|
10
|
+
- Session IDs: regenerate on any privilege change (login, role change)
|
|
11
|
+
- MFA: required for all admin and privileged accounts
|
|
12
|
+
|
|
13
|
+
## Authorisation standards
|
|
14
|
+
- Deny by default — grant minimum required permissions
|
|
15
|
+
- Verify permissions server-side on every request
|
|
16
|
+
- Never trust client-sent role or permission claims
|
|
17
|
+
- Log every authorisation failure: user ID, resource, timestamp, IP
|
|
18
|
+
|
|
19
|
+
## Data protection
|
|
20
|
+
- Encryption at rest: AES-256 for all PII and sensitive data
|
|
21
|
+
- Encryption in transit: TLS 1.2 minimum, TLS 1.3 preferred
|
|
22
|
+
- PII must never appear in application logs
|
|
23
|
+
- Database backups encrypted at rest
|
|
24
|
+
- Data retention policy: [specify your org's policy]
|
|
25
|
+
|
|
26
|
+
## Secrets management
|
|
27
|
+
- Zero secrets in source code — all via environment variables
|
|
28
|
+
- All production secrets in [your secrets manager]
|
|
29
|
+
- Rotate secrets immediately if exposure is suspected
|
|
30
|
+
- Separate secrets per environment (dev/staging/prod never share)
|
|
31
|
+
|
|
32
|
+
## Dependency policy
|
|
33
|
+
- Audit new dependencies before adding: CVE check, licence check, maintenance status
|
|
34
|
+
- `npm audit --audit-level=high` must pass in CI before merge
|
|
35
|
+
- No packages with > 6 months without a commit (unless frozen intentionally)
|
|
36
|
+
- Approved licences: MIT, Apache-2.0, BSD-2/3-Clause, ISC
|
|
37
|
+
- Forbidden licences: GPL (without explicit legal approval), AGPL, SSPL
|
|
38
|
+
|
|
39
|
+
## Incident response
|
|
40
|
+
- P0 (active breach): notify [security contact] immediately, rotate all credentials
|
|
41
|
+
- P1 (critical vulnerability): patch within 24 hours
|
|
42
|
+
- P2 (high vulnerability): patch within 7 days
|
|
43
|
+
- All incidents: postmortem required within 5 business days
|
|
44
|
+
|
|
45
|
+
## Code review security checklist
|
|
46
|
+
Before approving any PR touching auth, payments, or PII:
|
|
47
|
+
- [ ] OWASP Top 10 reviewed (see security-reviewer.md persona)
|
|
48
|
+
- [ ] No secrets in diff
|
|
49
|
+
- [ ] Input validation on all user-controlled data
|
|
50
|
+
- [ ] New dependencies CVE-scanned
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Approved Tools & Libraries — [ORG NAME]
|
|
2
|
+
|
|
3
|
+
<!-- Reference for all agents when making dependency and tooling decisions -->
|
|
4
|
+
|
|
5
|
+
## Approved libraries (use these — do not use alternatives without approval)
|
|
6
|
+
|
|
7
|
+
### Authentication & security
|
|
8
|
+
| Purpose | Library | Version | Notes |
|
|
9
|
+
|----------------------|----------------------|----------|--------------------------|
|
|
10
|
+
| Password hashing | bcrypt | ^5.1 | Cost factor 12 minimum |
|
|
11
|
+
| JWT | jose | ^5.0 | NOT jsonwebtoken (CJS issues) |
|
|
12
|
+
| Crypto | Node.js built-in | — | No third-party for basics |
|
|
13
|
+
|
|
14
|
+
### HTTP & API
|
|
15
|
+
| Purpose | Library | Version | Notes |
|
|
16
|
+
|----------------------|----------------------|----------|--------------------------|
|
|
17
|
+
| HTTP server | [e.g. Fastify] | [^4.0] | |
|
|
18
|
+
| Validation | [e.g. Zod] | [^3.0] | |
|
|
19
|
+
| HTTP client | [e.g. ky] | [^1.0] | Not axios |
|
|
20
|
+
|
|
21
|
+
### Database
|
|
22
|
+
| Purpose | Library | Version | Notes |
|
|
23
|
+
|----------------------|----------------------|----------|--------------------------|
|
|
24
|
+
| ORM | [e.g. Prisma] | [^5.0] | |
|
|
25
|
+
| Migrations | [included in ORM] | — | |
|
|
26
|
+
|
|
27
|
+
### Testing
|
|
28
|
+
| Purpose | Library | Version | Notes |
|
|
29
|
+
|----------------------|----------------------|----------|
|
|
30
|
+
| Test runner | [e.g. Vitest] | [^1.0] | |
|
|
31
|
+
| Mocking | [e.g. vitest mock] | — | Built-in preferred |
|
|
32
|
+
| E2E | [e.g. Playwright] | [^1.40] | |
|
|
33
|
+
|
|
34
|
+
## Forbidden libraries (never use these)
|
|
35
|
+
| Library | Reason | Use instead |
|
|
36
|
+
|----------------------|-------------------------------------|------------------------|
|
|
37
|
+
| jsonwebtoken | CommonJS, maintenance concerns | jose |
|
|
38
|
+
| moment | Large bundle, deprecated | date-fns or Temporal |
|
|
39
|
+
| lodash | Unnecessary in modern JS/TS | Native array methods |
|
|
40
|
+
| request | Deprecated | ky or fetch |
|
|
41
|
+
| node-uuid | Deprecated | crypto.randomUUID() |
|
|
42
|
+
|
|
43
|
+
## MCP servers (for MindForge integrations)
|
|
44
|
+
| Service | URL | Purpose |
|
|
45
|
+
|----------------------|-------------------------------------|------------------------|
|
|
46
|
+
| [e.g. Jira] | [mcp url] | Issue tracking |
|
|
47
|
+
| [e.g. Confluence] | [mcp url] | Wiki |
|
|
48
|
+
|
|
49
|
+
## CI/CD tool versions
|
|
50
|
+
| Tool | Version | Config file |
|
|
51
|
+
|----------------------|----------|----------------------|
|
|
52
|
+
| Node.js | 20 LTS | .nvmrc |
|
|
53
|
+
| [package manager] | [ver] | |
|