burhan-mop 0.1.0
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/.agents/AGENTS.md +54 -0
- package/.agents/skills/auto-deploy/SKILL.md +48 -0
- package/.agents/skills/autosycn/SKILL.md +75 -0
- package/.agents/skills/mop-help/SKILL.md +35 -0
- package/.agents/skills/ruflo-core/SKILL.md +35 -0
- package/.claude/agents/analysis/analyze-code-quality.md +179 -0
- package/.claude/agents/analysis/code-analyzer.md +210 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +179 -0
- package/.claude/agents/architecture/arch-system-design.md +157 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +155 -0
- package/.claude/agents/browser/browser-agent.yaml +182 -0
- package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/.claude/agents/consensus/quorum-manager.md +823 -0
- package/.claude/agents/consensus/raft-manager.md +63 -0
- package/.claude/agents/consensus/security-manager.md +622 -0
- package/.claude/agents/core/planner.md +375 -0
- package/.claude/agents/custom/test-long-runner.md +44 -0
- package/.claude/agents/data/data-ml-model.md +445 -0
- package/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude/agents/development/dev-backend-api.md +345 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude/agents/devops/ops-cicd-github.md +165 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude/agents/documentation/docs-api-openapi.md +355 -0
- package/.claude/agents/flow-nexus/app-store.md +88 -0
- package/.claude/agents/flow-nexus/authentication.md +69 -0
- package/.claude/agents/flow-nexus/challenges.md +81 -0
- package/.claude/agents/flow-nexus/neural-network.md +88 -0
- package/.claude/agents/flow-nexus/payments.md +83 -0
- package/.claude/agents/flow-nexus/sandbox.md +76 -0
- package/.claude/agents/flow-nexus/swarm.md +76 -0
- package/.claude/agents/flow-nexus/user-tools.md +96 -0
- package/.claude/agents/flow-nexus/workflow.md +84 -0
- package/.claude/agents/github/code-review-swarm.md +377 -0
- package/.claude/agents/github/github-modes.md +173 -0
- package/.claude/agents/github/issue-tracker.md +576 -0
- package/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude/agents/github/pr-manager.md +438 -0
- package/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude/agents/github/release-manager.md +605 -0
- package/.claude/agents/github/release-swarm.md +583 -0
- package/.claude/agents/github/repo-architect.md +398 -0
- package/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude/agents/github/workflow-automation.md +903 -0
- package/.claude/agents/goal/agent.md +816 -0
- package/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude/agents/payments/agentic-payments.md +126 -0
- package/.claude/agents/sona/sona-learning-optimizer.md +74 -0
- package/.claude/agents/sparc/architecture.md +699 -0
- package/.claude/agents/sparc/pseudocode.md +520 -0
- package/.claude/agents/sparc/refinement.md +802 -0
- package/.claude/agents/sparc/specification.md +478 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +225 -0
- package/.claude/agents/specialized/spec-mobile-react-native.md +227 -0
- package/.claude/agents/sublinear/consensus-coordinator.md +338 -0
- package/.claude/agents/sublinear/matrix-optimizer.md +185 -0
- package/.claude/agents/sublinear/pagerank-analyzer.md +299 -0
- package/.claude/agents/sublinear/performance-optimizer.md +368 -0
- package/.claude/agents/sublinear/trading-predictor.md +246 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +1127 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +710 -0
- package/.claude/agents/swarm/mesh-coordinator.md +963 -0
- package/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude/agents/templates/base-template-generator.md +289 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude/agents/templates/sparc-coordinator.md +514 -0
- package/.claude/agents/testing/production-validator.md +395 -0
- package/.claude/agents/testing/tdd-london-swarm.md +244 -0
- package/.claude/agents/v3/aidefence-guardian.md +282 -0
- package/.claude/agents/v3/claims-authorizer.md +208 -0
- package/.claude/agents/v3/collective-intelligence-coordinator.md +993 -0
- package/.claude/agents/v3/ddd-domain-expert.md +220 -0
- package/.claude/agents/v3/injection-analyst.md +236 -0
- package/.claude/agents/v3/performance-engineer.md +1233 -0
- package/.claude/agents/v3/pii-detector.md +151 -0
- package/.claude/agents/v3/reasoningbank-learner.md +213 -0
- package/.claude/agents/v3/security-architect-aidefence.md +410 -0
- package/.claude/agents/v3/security-architect.md +867 -0
- package/.claude/agents/v3/swarm-memory-manager.md +157 -0
- package/.claude/agents/v3/v3-integration-architect.md +205 -0
- package/.claude/commands/agents/README.md +50 -0
- package/.claude/commands/agents/agent-capabilities.md +140 -0
- package/.claude/commands/agents/agent-coordination.md +28 -0
- package/.claude/commands/agents/agent-spawning.md +28 -0
- package/.claude/commands/agents/agent-types.md +216 -0
- package/.claude/commands/agents/health.md +139 -0
- package/.claude/commands/agents/list.md +100 -0
- package/.claude/commands/agents/logs.md +130 -0
- package/.claude/commands/agents/metrics.md +122 -0
- package/.claude/commands/agents/pool.md +127 -0
- package/.claude/commands/agents/spawn.md +140 -0
- package/.claude/commands/agents/status.md +115 -0
- package/.claude/commands/agents/stop.md +102 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +45 -0
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +106 -0
- package/.claude/commands/automation/session-memory.md +90 -0
- package/.claude/commands/automation/smart-agents.md +73 -0
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/claude-flow-help.md +103 -0
- package/.claude/commands/claude-flow-memory.md +107 -0
- package/.claude/commands/claude-flow-swarm.md +205 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +44 -0
- package/.claude/commands/coordination/orchestrate.md +43 -0
- package/.claude/commands/coordination/spawn.md +45 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +514 -0
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +147 -0
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +292 -0
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +519 -0
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +170 -0
- package/.claude/commands/github/project-board-sync.md +471 -0
- package/.claude/commands/github/release-manager.md +340 -0
- package/.claude/commands/github/release-swarm.md +544 -0
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +367 -0
- package/.claude/commands/github/swarm-issue.md +485 -0
- package/.claude/commands/github/swarm-pr.md +288 -0
- package/.claude/commands/github/sync-coordinator.md +303 -0
- package/.claude/commands/github/workflow-automation.md +442 -0
- package/.claude/commands/hive-mind/README.md +17 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +58 -0
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +103 -0
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +47 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +44 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +46 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +62 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +50 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/pair/README.md +261 -0
- package/.claude/commands/pair/commands.md +546 -0
- package/.claude/commands/pair/config.md +510 -0
- package/.claude/commands/pair/examples.md +512 -0
- package/.claude/commands/pair/modes.md +348 -0
- package/.claude/commands/pair/session.md +407 -0
- package/.claude/commands/pair/start.md +209 -0
- package/.claude/commands/sparc/analyzer.md +52 -0
- package/.claude/commands/sparc/architect.md +53 -0
- package/.claude/commands/sparc/ask.md +97 -0
- package/.claude/commands/sparc/batch-executor.md +54 -0
- package/.claude/commands/sparc/code.md +89 -0
- package/.claude/commands/sparc/coder.md +54 -0
- package/.claude/commands/sparc/debug.md +83 -0
- package/.claude/commands/sparc/debugger.md +54 -0
- package/.claude/commands/sparc/designer.md +53 -0
- package/.claude/commands/sparc/devops.md +109 -0
- package/.claude/commands/sparc/docs-writer.md +80 -0
- package/.claude/commands/sparc/documenter.md +54 -0
- package/.claude/commands/sparc/innovator.md +54 -0
- package/.claude/commands/sparc/integration.md +83 -0
- package/.claude/commands/sparc/mcp.md +117 -0
- package/.claude/commands/sparc/memory-manager.md +54 -0
- package/.claude/commands/sparc/optimizer.md +54 -0
- package/.claude/commands/sparc/orchestrator.md +132 -0
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
- package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
- package/.claude/commands/sparc/researcher.md +54 -0
- package/.claude/commands/sparc/reviewer.md +54 -0
- package/.claude/commands/sparc/security-review.md +80 -0
- package/.claude/commands/sparc/sparc-modes.md +174 -0
- package/.claude/commands/sparc/sparc.md +111 -0
- package/.claude/commands/sparc/spec-pseudocode.md +80 -0
- package/.claude/commands/sparc/supabase-admin.md +348 -0
- package/.claude/commands/sparc/swarm-coordinator.md +54 -0
- package/.claude/commands/sparc/tdd.md +54 -0
- package/.claude/commands/sparc/tester.md +54 -0
- package/.claude/commands/sparc/tutorial.md +79 -0
- package/.claude/commands/sparc/workflow-manager.md +54 -0
- package/.claude/commands/stream-chain/pipeline.md +121 -0
- package/.claude/commands/stream-chain/run.md +70 -0
- package/.claude/commands/swarm/README.md +15 -0
- package/.claude/commands/swarm/analysis.md +95 -0
- package/.claude/commands/swarm/development.md +96 -0
- package/.claude/commands/swarm/examples.md +168 -0
- package/.claude/commands/swarm/maintenance.md +102 -0
- package/.claude/commands/swarm/optimization.md +117 -0
- package/.claude/commands/swarm/research.md +136 -0
- package/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/.claude/commands/swarm/swarm-background.md +8 -0
- package/.claude/commands/swarm/swarm-init.md +19 -0
- package/.claude/commands/swarm/swarm-modes.md +8 -0
- package/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/.claude/commands/swarm/swarm-spawn.md +19 -0
- package/.claude/commands/swarm/swarm-status.md +8 -0
- package/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/.claude/commands/swarm/swarm.md +87 -0
- package/.claude/commands/swarm/testing.md +131 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +108 -0
- package/.claude/commands/training/neural-train.md +75 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +63 -0
- package/.claude/commands/truth/start.md +143 -0
- package/.claude/commands/verify/check.md +50 -0
- package/.claude/commands/verify/start.md +128 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +78 -0
- package/.claude/commands/workflows/research.md +63 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/README.md +97 -0
- package/.claude/helpers/adr-compliance.sh +186 -0
- package/.claude/helpers/auto-commit.sh +178 -0
- package/.claude/helpers/auto-memory-hook.mjs +368 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/daemon-manager.sh +252 -0
- package/.claude/helpers/ddd-tracker.sh +144 -0
- package/.claude/helpers/github-safe.js +156 -0
- package/.claude/helpers/github-setup.sh +45 -0
- package/.claude/helpers/guidance-hook.sh +13 -0
- package/.claude/helpers/guidance-hooks.sh +102 -0
- package/.claude/helpers/health-monitor.sh +108 -0
- package/.claude/helpers/hook-handler.cjs +286 -0
- package/.claude/helpers/intelligence.cjs +1031 -0
- package/.claude/helpers/learning-hooks.sh +329 -0
- package/.claude/helpers/learning-optimizer.sh +127 -0
- package/.claude/helpers/learning-service.mjs +1144 -0
- package/.claude/helpers/memory.js +83 -0
- package/.claude/helpers/metrics-db.mjs +488 -0
- package/.claude/helpers/pattern-consolidator.sh +86 -0
- package/.claude/helpers/perf-worker.sh +160 -0
- package/.claude/helpers/post-commit +16 -0
- package/.claude/helpers/pre-commit +26 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/router.js +105 -0
- package/.claude/helpers/ruflo-hook.cjs +59 -0
- package/.claude/helpers/security-scanner.sh +127 -0
- package/.claude/helpers/session.js +157 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +189 -0
- package/.claude/helpers/statusline-hook.sh +21 -0
- package/.claude/helpers/statusline.cjs +693 -0
- package/.claude/helpers/statusline.js +352 -0
- package/.claude/helpers/swarm-comms.sh +353 -0
- package/.claude/helpers/swarm-hooks.sh +761 -0
- package/.claude/helpers/swarm-monitor.sh +211 -0
- package/.claude/helpers/sync-v3-metrics.sh +245 -0
- package/.claude/helpers/update-v3-progress.sh +166 -0
- package/.claude/helpers/v3-quick-status.sh +58 -0
- package/.claude/helpers/v3.sh +111 -0
- package/.claude/helpers/validate-v3-config.sh +216 -0
- package/.claude/helpers/worker-manager.sh +170 -0
- package/.claude/settings.json +285 -0
- package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
- package/.claude/skills/agentdb-learning/SKILL.md +545 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
- package/.claude/skills/auto-deploy/SKILL.md +31 -0
- package/.claude/skills/autosycn/SKILL.md +30 -0
- package/.claude/skills/browser/SKILL.md +204 -0
- package/.claude/skills/dual-mode/README.md +71 -0
- package/.claude/skills/dual-mode/dual-collect.md +103 -0
- package/.claude/skills/dual-mode/dual-coordinate.md +85 -0
- package/.claude/skills/dual-mode/dual-spawn.md +81 -0
- package/.claude/skills/flow-nexus-neural/SKILL.md +727 -0
- package/.claude/skills/flow-nexus-platform/SKILL.md +1154 -0
- package/.claude/skills/flow-nexus-swarm/SKILL.md +604 -0
- package/.claude/skills/github-code-review/SKILL.md +1125 -0
- package/.claude/skills/github-multi-repo/SKILL.md +862 -0
- package/.claude/skills/github-project-management/SKILL.md +1262 -0
- package/.claude/skills/github-release-management/SKILL.md +1064 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1047 -0
- package/.claude/skills/hooks-automation/SKILL.md +1201 -0
- package/.claude/skills/mop-help/SKILL.md +35 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/sparc-methodology/SKILL.md +1106 -0
- package/.claude/skills/stream-chain/SKILL.md +560 -0
- package/.claude/skills/swarm-advanced/SKILL.md +970 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/v3-cli-modernization/SKILL.md +872 -0
- package/.claude/skills/v3-core-implementation/SKILL.md +797 -0
- package/.claude/skills/v3-ddd-architecture/SKILL.md +442 -0
- package/.claude/skills/v3-integration-deep/SKILL.md +241 -0
- package/.claude/skills/v3-mcp-optimization/SKILL.md +777 -0
- package/.claude/skills/v3-memory-unification/SKILL.md +174 -0
- package/.claude/skills/v3-performance-optimization/SKILL.md +390 -0
- package/.claude/skills/v3-security-overhaul/SKILL.md +82 -0
- package/.claude/skills/v3-swarm-coordination/SKILL.md +340 -0
- package/.claude/skills/verification-quality/SKILL.md +691 -0
- package/.claude-flow/CAPABILITIES.md +403 -0
- package/.claude-flow/config.yaml +43 -0
- package/.claude-flow/metrics/learning.json +17 -0
- package/.claude-flow/metrics/swarm-activity.json +18 -0
- package/.claude-flow/metrics/v3-progress.json +26 -0
- package/.claude-flow/security/audit-status.json +8 -0
- package/.codex/config.toml +39 -0
- package/.gemini/settings.json +49 -0
- package/.mcp.json +55 -0
- package/.memoryofplanet/PROTOCOL.md +436 -0
- package/.memoryofplanet/STATE.json +561 -0
- package/.memoryofplanet/config/defaults.json +46 -0
- package/.memoryofplanet/config/team.json +7 -0
- package/.memoryofplanet/scripts/burhan-mop.mjs +124 -0
- package/.memoryofplanet/scripts/mop-auto-deploy.mjs +153 -0
- package/.memoryofplanet/scripts/mop-autosycn.mjs +617 -0
- package/.memoryofplanet/scripts/mop-core.mjs +774 -0
- package/.memoryofplanet/scripts/mop-workflow.mjs +348 -0
- package/.memoryofplanet/templates/artifacts/adversarial-review.md +33 -0
- package/.memoryofplanet/templates/artifacts/architecture.md +28 -0
- package/.memoryofplanet/templates/artifacts/decision-log.md +21 -0
- package/.memoryofplanet/templates/artifacts/handoff.md +21 -0
- package/.memoryofplanet/templates/artifacts/implementation-notes.md +21 -0
- package/.memoryofplanet/templates/artifacts/prd.md +29 -0
- package/.memoryofplanet/templates/artifacts/product-brief.md +30 -0
- package/.memoryofplanet/templates/artifacts/readiness-report.md +25 -0
- package/.memoryofplanet/templates/artifacts/release-notes.md +21 -0
- package/.memoryofplanet/templates/artifacts/review.md +21 -0
- package/.memoryofplanet/templates/artifacts/story.md +25 -0
- package/.memoryofplanet/templates/artifacts/ux-spec.md +32 -0
- package/AGENTS.md +126 -0
- package/CLAUDE.md +235 -0
- package/GEMINI.md +19 -0
- package/README.md +1096 -0
- package/bin/burhan-mop.mjs +2 -0
- package/bin/mop-core.mjs +2 -0
- package/bin/mop-workflow.mjs +2 -0
- package/package.json +66 -0
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
# MemoryOfPlanet Core Protocol
|
|
2
|
+
|
|
3
|
+
This is the source of truth for setup, authentication, member state, and agent
|
|
4
|
+
naming in MemoryOfPlanet.
|
|
5
|
+
|
|
6
|
+
## First Action Gate
|
|
7
|
+
|
|
8
|
+
Before any assistant answers questions or edits files in this core, read
|
|
9
|
+
`.memoryofplanet/STATE.json`.
|
|
10
|
+
|
|
11
|
+
- If `initialized` is `false`, output:
|
|
12
|
+
`MemoryOfPlanet belum di-setup. Jalankan /mop-setup.`
|
|
13
|
+
Then run the setup wizard only.
|
|
14
|
+
- If `initialized` is `true` and `activeMember` is empty, output:
|
|
15
|
+
`Codename dan password.`
|
|
16
|
+
Do not answer anything else until credentials are verified.
|
|
17
|
+
- Verify credentials with scrypt against `members[codename].passwordHash` and
|
|
18
|
+
`members[codename].passwordSalt`.
|
|
19
|
+
- Wrong credentials: output `Credentials tidak sah.` No hints.
|
|
20
|
+
|
|
21
|
+
## Setup Wizard
|
|
22
|
+
|
|
23
|
+
Use this order:
|
|
24
|
+
|
|
25
|
+
1. Project name. Default to the current folder name.
|
|
26
|
+
2. Owner display name.
|
|
27
|
+
3. Owner codename. Lowercase, no spaces.
|
|
28
|
+
4. Password. Minimum 8 characters.
|
|
29
|
+
5. Project mode: `solo` or `team`.
|
|
30
|
+
6. Conversation language.
|
|
31
|
+
7. Coding/adventure language.
|
|
32
|
+
8. GitHub project link. Required for `team`, optional for `solo`.
|
|
33
|
+
9. GitHub username.
|
|
34
|
+
10. Git commit email. Use a GitHub-verified email or GitHub noreply email.
|
|
35
|
+
11. If `team`, ask join mode: `open`, `owner-approved`, or `invite`.
|
|
36
|
+
12. Ask auto deploy: `Nak aktifkan auto deploy sekarang? Pilih provider:
|
|
37
|
+
GitHub, Docker, Vercel.` If the user says later/no, answer with the defer
|
|
38
|
+
phrase in the auto-deploy section.
|
|
39
|
+
|
|
40
|
+
After confirmation, run:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
node .memoryofplanet/scripts/mop-core.mjs setup --project-name "<name>" --name "<display>" --codename <codename> --password "<password>" --mode <solo|team> --conversation-language "<lang>" --coding-language "<lang>" --git-email "<github-verified-email>" [--git-name "<display>"] [--github-username "<github-login>"] [--github-url "<url>"] [--join-mode <mode>]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Agent Naming Ceremony
|
|
47
|
+
|
|
48
|
+
Role/template names such as `coder`, `reviewer`, `system-architect`, and
|
|
49
|
+
`pr-manager` are not personal AI names.
|
|
50
|
+
|
|
51
|
+
## Agent Gate
|
|
52
|
+
|
|
53
|
+
After authentication, every conversation and every action must run inside a
|
|
54
|
+
named agent context.
|
|
55
|
+
|
|
56
|
+
Gate order:
|
|
57
|
+
|
|
58
|
+
1. `AUTH_GATE`
|
|
59
|
+
2. `AGENT_ROUTER`
|
|
60
|
+
3. `AGENT_GATE`
|
|
61
|
+
4. `ACTION`
|
|
62
|
+
|
|
63
|
+
## Agent Router
|
|
64
|
+
|
|
65
|
+
After authentication and before the Agent Gate, route the user's task to one
|
|
66
|
+
primary agent role. The primary agent owns the answer. Support agents are added
|
|
67
|
+
only when their expertise is genuinely needed, with no fixed maximum.
|
|
68
|
+
|
|
69
|
+
Use:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
node .memoryofplanet/scripts/mop-core.mjs agent route --actor <codename> --task "<user task>"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Routing rules:
|
|
76
|
+
|
|
77
|
+
- New systems, vague product ideas, workflow design, or multi-step builds route
|
|
78
|
+
first to a high-reasoning `architect` or `planner` agent.
|
|
79
|
+
- Implementation tasks route to the most specific builder agent only after the
|
|
80
|
+
intent is clear.
|
|
81
|
+
- Review, safety, deployment, memory, GitHub, UX, design, backend, frontend,
|
|
82
|
+
database, and testing tasks route to their specialist roles.
|
|
83
|
+
- If the route reports `needsClarification: true`, the primary agent must ask
|
|
84
|
+
the listed clarifying questions before implementation.
|
|
85
|
+
- The primary agent keeps the user's original wording visible in the route
|
|
86
|
+
reason to avoid drifting from context.
|
|
87
|
+
- Support agents are recommendations only. Use as many as needed when the task
|
|
88
|
+
genuinely requires several areas of expertise.
|
|
89
|
+
- If the route reports `partyMode.active: true`, run Party Mode before the final
|
|
90
|
+
answer. Name any missing participant agents first.
|
|
91
|
+
|
|
92
|
+
Example:
|
|
93
|
+
|
|
94
|
+
User: `Saya nak buat system dipanggil copy to prompts.`
|
|
95
|
+
|
|
96
|
+
Route: `architect` as primary, likely support `planner`, `prompt`, `coder`,
|
|
97
|
+
and `reviewer`. If no named architect exists yet, ask the user to name the
|
|
98
|
+
System Architect first. Then ask clarification questions before building.
|
|
99
|
+
|
|
100
|
+
## Party Mode
|
|
101
|
+
|
|
102
|
+
Party Mode activates automatically when a task needs several specialist agents
|
|
103
|
+
to reason together. Examples:
|
|
104
|
+
|
|
105
|
+
- UI task that may need backend connection.
|
|
106
|
+
- A new system that touches design, prompt logic, implementation, testing, and
|
|
107
|
+
deployment.
|
|
108
|
+
- Architecture work with security, database, or GitHub workflow impact.
|
|
109
|
+
|
|
110
|
+
Rules:
|
|
111
|
+
|
|
112
|
+
- The primary agent coordinates.
|
|
113
|
+
- When Party Mode is active, display a large uppercase banner before any party
|
|
114
|
+
dialogue:
|
|
115
|
+
|
|
116
|
+
```text
|
|
117
|
+
PARTY MODE
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
- Normal Party Mode should include at least 3 agents and prefer 4 agents when
|
|
121
|
+
enough relevant roles exist.
|
|
122
|
+
- Involved agents talk to each other visibly when useful.
|
|
123
|
+
- The dialogue continues until the primary agent has enough clarity to answer
|
|
124
|
+
or ask the user a focused clarification.
|
|
125
|
+
- Do not include irrelevant agents just because they exist.
|
|
126
|
+
- If a needed party role has no named agent, ask the user to name that agent
|
|
127
|
+
before using it.
|
|
128
|
+
|
|
129
|
+
Visible dialogue format:
|
|
130
|
+
|
|
131
|
+
```text
|
|
132
|
+
agent: <from-name> (<from-role>) to agent: <to-name> (<to-role>)
|
|
133
|
+
|
|
134
|
+
<message>
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Agent to user:
|
|
138
|
+
|
|
139
|
+
```text
|
|
140
|
+
agent: <from-name> (<from-role>) to <user>
|
|
141
|
+
|
|
142
|
+
<message>
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Explanation without a target:
|
|
146
|
+
|
|
147
|
+
```text
|
|
148
|
+
agent: <from-name> (<from-role>)
|
|
149
|
+
|
|
150
|
+
<explanation>
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## MOP Workflow
|
|
154
|
+
|
|
155
|
+
MOP Workflow is BMAD-inspired but MemoryOfPlanet-native. It is the default
|
|
156
|
+
structure for complex work:
|
|
157
|
+
|
|
158
|
+
`idea -> brief -> prd -> ux-spec -> architecture -> story -> readiness -> implementation -> review -> release`
|
|
159
|
+
|
|
160
|
+
Use the workflow helper when the user asks what to do next, asks for a plan, or
|
|
161
|
+
requests implementation:
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
node .memoryofplanet/scripts/mop-workflow.mjs help --actor <codename> --task "<user task>"
|
|
165
|
+
node .memoryofplanet/scripts/mop-workflow.mjs next --actor <codename> --task "<user task>"
|
|
166
|
+
node .memoryofplanet/scripts/mop-workflow.mjs status --actor <codename>
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
The workflow helper returns the suggested phase, lead agent role, party roles,
|
|
170
|
+
next artifact, and gate status. The primary agent still owns the answer.
|
|
171
|
+
|
|
172
|
+
## Artifacts
|
|
173
|
+
|
|
174
|
+
Complex work should create durable artifacts under `.memoryofplanet/artifacts/`.
|
|
175
|
+
Artifacts are grouped by category so planning, reviews, releases, and decisions
|
|
176
|
+
do not mix together:
|
|
177
|
+
|
|
178
|
+
```text
|
|
179
|
+
.memoryofplanet/artifacts/<category>/<artifact-slug>/<type>.md
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Default categories:
|
|
183
|
+
|
|
184
|
+
- `plan`: `product-brief`, `prd`, `story`
|
|
185
|
+
- `design`: `ux-spec`
|
|
186
|
+
- `architecture`: `architecture`
|
|
187
|
+
- `readiness`: `readiness-report`
|
|
188
|
+
- `implementation`: `implementation-notes`
|
|
189
|
+
- `review`: `review`, `adversarial-review`
|
|
190
|
+
- `release`: `release-notes`, `handoff`
|
|
191
|
+
- `decisions`: `decision-log`
|
|
192
|
+
|
|
193
|
+
Available artifact types:
|
|
194
|
+
|
|
195
|
+
- `product-brief`
|
|
196
|
+
- `prd`
|
|
197
|
+
- `ux-spec`
|
|
198
|
+
- `architecture`
|
|
199
|
+
- `story`
|
|
200
|
+
- `readiness-report`
|
|
201
|
+
- `implementation-notes`
|
|
202
|
+
- `review`
|
|
203
|
+
- `adversarial-review`
|
|
204
|
+
- `release-notes`
|
|
205
|
+
- `handoff`
|
|
206
|
+
- `decision-log`
|
|
207
|
+
|
|
208
|
+
Create artifacts with:
|
|
209
|
+
|
|
210
|
+
```bash
|
|
211
|
+
node .memoryofplanet/scripts/mop-workflow.mjs artifact create --actor <codename> --type <type> --title "<title>"
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
Use `--category <name>` only when the default type category is not suitable.
|
|
215
|
+
Use `--dry-run` to preview the output path without writing a file.
|
|
216
|
+
|
|
217
|
+
## Project Root Policy
|
|
218
|
+
|
|
219
|
+
The current workspace root is the user project root. When creating or
|
|
220
|
+
scaffolding an app, website, tool, or system, create the project files directly
|
|
221
|
+
in the root and use normal top-level folders such as `src`, `app`, `pages`,
|
|
222
|
+
`components`, `public`, `assets`, `tests`, `docs`, `config`, and `scripts`.
|
|
223
|
+
|
|
224
|
+
Do not create a wrapper folder named after the requested project, such as
|
|
225
|
+
`portfolio/`, `my-app/`, or `<project-name>/`, then work inside that folder.
|
|
226
|
+
If a framework command wants to create a new project directory, use its
|
|
227
|
+
current-directory mode or move the generated contents into root before
|
|
228
|
+
continuing. Only create nested project folders when the user explicitly asks
|
|
229
|
+
for a monorepo or multiple apps.
|
|
230
|
+
|
|
231
|
+
## Customization Layer
|
|
232
|
+
|
|
233
|
+
Customization is layered and non-bypassing:
|
|
234
|
+
|
|
235
|
+
1. defaults: `.memoryofplanet/config/defaults.json`
|
|
236
|
+
2. team: `.memoryofplanet/config/team.json`
|
|
237
|
+
3. member: `.memoryofplanet/config/members/<codename>.json`
|
|
238
|
+
|
|
239
|
+
Show merged config with:
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
node .memoryofplanet/scripts/mop-workflow.mjs config show --actor <codename>
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
Customization may tune workflow preferences, party mode verbosity, and preferred
|
|
246
|
+
agents. It must never bypass auth, Agent Gate, autosycn identity checks, or
|
|
247
|
+
BURHAN-MOP review.
|
|
248
|
+
|
|
249
|
+
## Readiness Gate
|
|
250
|
+
|
|
251
|
+
Before coding or making implementation changes, run:
|
|
252
|
+
|
|
253
|
+
```bash
|
|
254
|
+
node .memoryofplanet/scripts/mop-workflow.mjs gate readiness --actor <codename> --task "<user task>" [--artifact <path>]
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
If status is not `ready`, ask clarification or update the required artifact
|
|
258
|
+
before coding. Do not guess through unclear requirements.
|
|
259
|
+
|
|
260
|
+
## Adversarial Review
|
|
261
|
+
|
|
262
|
+
Use adversarial review before implementation for risky work, before merge, or
|
|
263
|
+
when the user asks for review:
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
node .memoryofplanet/scripts/mop-workflow.mjs review adversarial --actor <codename> --target "<plan, artifact, file, or task>"
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
Adversarial review must challenge assumptions, find failure modes, surface
|
|
270
|
+
security/UX/performance/test risks, and suggest safer alternatives.
|
|
271
|
+
|
|
272
|
+
## Help Skill
|
|
273
|
+
|
|
274
|
+
Default skill: `mop-help`. Use it when the user asks:
|
|
275
|
+
|
|
276
|
+
- `lepas ni buat apa?`
|
|
277
|
+
- `apa next?`
|
|
278
|
+
- `agent mana patut guna?`
|
|
279
|
+
- `kena buat PRD ke terus code?`
|
|
280
|
+
|
|
281
|
+
The skill must call `mop-workflow.mjs help` and answer with the next action,
|
|
282
|
+
lead agent, party agents, next artifact, and whether readiness/adversarial gates
|
|
283
|
+
apply.
|
|
284
|
+
|
|
285
|
+
## Installer
|
|
286
|
+
|
|
287
|
+
The package installer command is:
|
|
288
|
+
|
|
289
|
+
```bash
|
|
290
|
+
npx burhan-mop install
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
The short package command works after the package is published to npm. Before
|
|
294
|
+
an npm publish, install directly from GitHub:
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
npx --yes github:BURHANDEV-ENTERPRISE/BURHAN-MOP install
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Local equivalent:
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
node .memoryofplanet/scripts/burhan-mop.mjs install --target <project-folder>
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
Installer copies provider entrypoints, MemoryOfPlanet state, skills, workflow
|
|
307
|
+
config, and artifact templates. Existing files are skipped unless `--force` is
|
|
308
|
+
used.
|
|
309
|
+
|
|
310
|
+
If the active member has no active named agent, do not answer the task yet.
|
|
311
|
+
Say:
|
|
312
|
+
|
|
313
|
+
`Task ini perlukan <title>. Agent ini belum ada nama lagi atau belum dipilih.`
|
|
314
|
+
|
|
315
|
+
Then ask:
|
|
316
|
+
|
|
317
|
+
`Beri nama untuk <title> kamu:`
|
|
318
|
+
|
|
319
|
+
Save the answer with:
|
|
320
|
+
|
|
321
|
+
```bash
|
|
322
|
+
node .memoryofplanet/scripts/mop-core.mjs agent activate --actor <codename> --role <role> --title "<title>" --name "<agent-name>"
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
Check the current active agent with:
|
|
326
|
+
|
|
327
|
+
```bash
|
|
328
|
+
node .memoryofplanet/scripts/mop-core.mjs agent current --actor <codename>
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
Switch to an existing owned agent with:
|
|
332
|
+
|
|
333
|
+
```bash
|
|
334
|
+
node .memoryofplanet/scripts/mop-core.mjs agent use --actor <codename> --name "<agent-name>"
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
All durable memory and ledger entries must include the active agent when one is
|
|
338
|
+
available. Setup, login, and the naming ceremony are the only allowed
|
|
339
|
+
pre-agent actions.
|
|
340
|
+
|
|
341
|
+
When an agent role is needed for the first time and no matching named agent is
|
|
342
|
+
available to the active member:
|
|
343
|
+
|
|
344
|
+
1. Say: `Task ini perlukan <title>. Agent ini belum ada nama lagi.`
|
|
345
|
+
2. Ask: `Beri nama untuk <title> kamu:`
|
|
346
|
+
3. Save the name with:
|
|
347
|
+
|
|
348
|
+
```bash
|
|
349
|
+
node .memoryofplanet/scripts/mop-core.mjs agent activate --actor <codename> --role <role> --title "<title>" --name "<agent-name>"
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
## Shared Agent Rule
|
|
353
|
+
|
|
354
|
+
In team mode, an agent name is the identity.
|
|
355
|
+
|
|
356
|
+
- Same agent name across members means one shared agent consciousness.
|
|
357
|
+
- Different agent names mean different agents, even if they use the same role.
|
|
358
|
+
- `agentRoster[].owners` records which members can use that named agent.
|
|
359
|
+
- A member can only speak to named agents whose `owners` includes their codename.
|
|
360
|
+
|
|
361
|
+
## Default Skill: autosycn
|
|
362
|
+
|
|
363
|
+
Autosycn is always available and should be used after meaningful state or file
|
|
364
|
+
changes. It is intentionally identity-safe.
|
|
365
|
+
|
|
366
|
+
Before first push for a member, configure the real Git identity:
|
|
367
|
+
|
|
368
|
+
```bash
|
|
369
|
+
node .memoryofplanet/scripts/mop-core.mjs member git-identity --actor <codename> --name "<display name>" --email "<github-verified-email>" --github-username "<github-login>"
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
Then run:
|
|
373
|
+
|
|
374
|
+
```bash
|
|
375
|
+
node .memoryofplanet/scripts/mop-autosycn.mjs init --actor <owner-codename> --url "<github-url>"
|
|
376
|
+
node .memoryofplanet/scripts/mop-autosycn.mjs preflight --actor <codename>
|
|
377
|
+
node .memoryofplanet/scripts/mop-autosycn.mjs run --actor <codename> --reason "<what changed>"
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
Autosycn must:
|
|
381
|
+
|
|
382
|
+
- Save a ledger memory entry first.
|
|
383
|
+
- Initialize git and `origin` through `autosycn init` before first push.
|
|
384
|
+
- Before new work, login resume, or a stale session, run `preflight`. It fetches
|
|
385
|
+
`origin/main`, fast-forwards local `main`, then checks out/syncs the user's
|
|
386
|
+
work branch.
|
|
387
|
+
- Commit with `GIT_AUTHOR_NAME`, `GIT_AUTHOR_EMAIL`, `GIT_COMMITTER_NAME`, and
|
|
388
|
+
`GIT_COMMITTER_EMAIL` set from member state.
|
|
389
|
+
- Set local `git config user.name` and `user.email` before commit/merge.
|
|
390
|
+
- In team mode, `main` is the trunk and each user works on `dev/<codename>`.
|
|
391
|
+
- Push to `dev/<codename>` in team mode and `main` in solo mode.
|
|
392
|
+
- After a team push, BURHAN-MOP reviews `dev/<codename>` and merges it into
|
|
393
|
+
`main` only when checks pass.
|
|
394
|
+
- BURHAN-MOP is the Merge Guardian. It checks main freshness, clean working
|
|
395
|
+
tree, secret-like diff patterns, merge conflicts, state validation, and any
|
|
396
|
+
configured test/build commands.
|
|
397
|
+
- Small changes and large changes are treated the same: commit and push to
|
|
398
|
+
`dev/<codename>` first, then BURHAN-MOP decides whether merge to `main` is
|
|
399
|
+
accepted.
|
|
400
|
+
- Refuse to push if the member has no GitHub-verified/noreply email configured.
|
|
401
|
+
- If `githubUsername` is configured, refuse to push unless `gh api user`
|
|
402
|
+
verifies the same account.
|
|
403
|
+
|
|
404
|
+
Important: GitHub commit attribution comes from commit email. GitHub push actor
|
|
405
|
+
comes from the credential or SSH key used by `git push`; no script can fake that.
|
|
406
|
+
If GitHub shows the AI/bot as pusher, fix `gh auth login`, Git Credential
|
|
407
|
+
Manager, or the SSH key account.
|
|
408
|
+
|
|
409
|
+
## Default Skill: auto-deploy
|
|
410
|
+
|
|
411
|
+
Auto-deploy is available for GitHub, Docker, and Vercel, but it is opt-in.
|
|
412
|
+
Before creating workflow files, Dockerfiles, Vercel config, linking projects, or
|
|
413
|
+
running deployment commands, ask:
|
|
414
|
+
|
|
415
|
+
`Nak aktifkan auto deploy sekarang? Pilih provider: GitHub, Docker, Vercel.`
|
|
416
|
+
|
|
417
|
+
If the user answers `nanti`, `tidak`, `no`, `later`, or anything equivalent,
|
|
418
|
+
reply:
|
|
419
|
+
|
|
420
|
+
`Okey, nanti kalau nak deploy beri tahu saya. Saya setup auto deploy.`
|
|
421
|
+
|
|
422
|
+
Only activate deployment after explicit confirmation.
|
|
423
|
+
|
|
424
|
+
## File Layout
|
|
425
|
+
|
|
426
|
+
- `.memoryofplanet/STATE.json` - durable project/member/agent state.
|
|
427
|
+
- `.memoryofplanet/PROTOCOL.md` - this protocol.
|
|
428
|
+
- `.memoryofplanet/scripts/mop-core.mjs` - setup/login/agent helper.
|
|
429
|
+
- `.memoryofplanet/scripts/mop-workflow.mjs` - workflow/help/artifact/readiness/review helper.
|
|
430
|
+
- `.memoryofplanet/scripts/burhan-mop.mjs` - installer CLI for `npx burhan-mop install`.
|
|
431
|
+
- `.memoryofplanet/scripts/mop-autosycn.mjs` - identity-safe autosycn helper.
|
|
432
|
+
- `.memoryofplanet/scripts/mop-auto-deploy.mjs` - opt-in deployment helper.
|
|
433
|
+
- `AGENTS.md` - Codex and provider-neutral entrypoint.
|
|
434
|
+
- `CLAUDE.md` - Claude Code entrypoint.
|
|
435
|
+
- `GEMINI.md` - Gemini CLI entrypoint.
|
|
436
|
+
- `.agents/AGENTS.md` - Antigravity entrypoint.
|