deepmodebot 0.9.1 → 0.11.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/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +2 -2
- package/.omp-plugin/marketplace.json +2 -2
- package/README.md +38 -5
- package/bin/deepmodebot.mjs +257 -4
- package/lib/clients.mjs +50 -3
- package/lib/tree.mjs +64 -10
- package/native/dmb-gate/Cargo.toml +13 -0
- package/native/dmb-gate/src/agents.rs +110 -0
- package/native/dmb-gate/src/ci.rs +1032 -0
- package/native/dmb-gate/src/cleanup.rs +198 -0
- package/native/dmb-gate/src/gap.rs +1376 -0
- package/native/dmb-gate/src/guard.rs +135 -0
- package/native/dmb-gate/src/main.rs +535 -0
- package/native/dmb-gate/src/map.rs +173 -0
- package/native/dmb-gate/src/perf.rs +347 -0
- package/native/dmb-gate/src/reward.rs +2867 -0
- package/native/dmb-gate/src/sim.rs +969 -0
- package/native/dmb-gate/src/skill_check.rs +171 -0
- package/native/dmb-gate/src/slop.rs +2004 -0
- package/native/dmb-gate/src/ui.rs +842 -0
- package/native/dmb-gate/src/util.rs +260 -0
- package/native/dmb-net/go.mod +3 -0
- package/native/dmb-net/main.go +624 -0
- package/native/dmb-net/main_test.go +122 -0
- package/package.json +12 -2
- package/plugins/deepmodebot/.antigravity-plugin/plugin.json +1 -1
- package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +5 -5
- package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +1 -1
- package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +2 -2
- package/plugins/deepmodebot/.antigravity-plugin/skills/suggest/SKILL.md +13 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +2 -2
- package/plugins/deepmodebot/.claude-plugin/plugin.json +1 -1
- package/plugins/deepmodebot/.codex-plugin/plugin.json +46 -0
- package/plugins/deepmodebot/agents/comment-sicko.md +29 -0
- package/plugins/deepmodebot/agents/researcher.md +29 -0
- package/plugins/deepmodebot/agents/reviewer.md +29 -0
- package/plugins/deepmodebot/agents/scout.md +28 -0
- package/plugins/deepmodebot/agents/security-reviewer.md +27 -0
- package/plugins/deepmodebot/commands/deep.md +7 -6
- package/plugins/deepmodebot/commands/research.md +8 -0
- package/plugins/deepmodebot/commands/suggest.md +10 -0
- package/plugins/deepmodebot/commands/tournament.md +2 -2
- package/plugins/deepmodebot/hooks/hooks.json +12 -2
- package/plugins/deepmodebot/hooks.json +1 -1
- package/plugins/deepmodebot/scripts/antigravity-guard.mjs +862 -26
- package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +179 -47
- package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +4 -6
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +3 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +4 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +3 -1
- package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +3 -3
- package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +12 -2
- package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +11 -3
- package/plugins/deepmodebot/skills/app-automation-relay/SKILL.md +17 -0
- package/plugins/deepmodebot/skills/app-automation-relay/assets/relay_server.ts +364 -0
- package/plugins/deepmodebot/skills/app-automation-relay/references/adapter-cookbook.md +15 -0
- package/plugins/deepmodebot/skills/app-automation-relay/references/wire-protocol.md +23 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +4 -3
- package/plugins/deepmodebot/skills/cloud-devsecops/references/cloudflare-edge.md +43 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +15 -2
- package/plugins/deepmodebot/skills/contribute/SKILL.md +3 -35
- package/plugins/deepmodebot/skills/create-formal-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/create-formal-verification-skill/NOTICE.md +16 -0
- package/plugins/deepmodebot/skills/create-formal-verification-skill/SKILL.md +71 -0
- package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +2 -2
- package/plugins/deepmodebot/skills/deep-learning/LICENSE +21 -0
- package/plugins/deepmodebot/skills/deep-learning/SKILL.md +33 -0
- package/plugins/deepmodebot/skills/deep-learning/references/neural-architectures.md +43 -0
- package/plugins/deepmodebot/skills/deep-learning/references/papers-and-repos.md +128 -0
- package/plugins/deepmodebot/skills/deep-learning/references/reinforcement-learning.md +57 -0
- package/plugins/deepmodebot/skills/deep-learning/references/training-optimization.md +40 -0
- package/plugins/deepmodebot/skills/deep-learning/references/weight-space-programming.md +76 -0
- package/plugins/deepmodebot/skills/deep-learning/scripts/hf_passes.py +166 -0
- package/plugins/deepmodebot/skills/deep-learning/scripts/wsp.py +493 -0
- package/plugins/deepmodebot/skills/deep-stack/SKILL.md +1 -1
- package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +46 -92
- package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +1 -0
- package/plugins/deepmodebot/skills/deep-stack/references/prove.md +6 -0
- package/plugins/deepmodebot/skills/deep-stack/references/stack.md +11 -1
- package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +83 -146
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +67 -24
- package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1026 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +4 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +736 -6
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/holdout_guard_cases.json +272 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +861 -9
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/f2p-gate/f2p_gate.py +547 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1047 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +55 -7
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +55 -5
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +796 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +1049 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +748 -46
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +928 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/mutation/mutation_gate.py +798 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
- package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +3447 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +100 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1671 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rules_watch.py +436 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +2049 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +348 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/sim/sim.py +856 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
- package/plugins/deepmodebot/skills/deepmodebot/assets/worker-gate/worker_gate.py +237 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
- package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +17 -11
- package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +18 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +3 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +71 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +9 -7
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +12 -8
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +9 -5
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sim.md +41 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +30 -18
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
- package/plugins/deepmodebot/skills/deepmodebot/worker.md +28 -0
- package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
- package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
- package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
- package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
- package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
- package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
- package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
- package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
- package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
- package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
- package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
- package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
- package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
- package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
- package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
- package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
- package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
- package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
- package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
- package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
- package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
- package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
- package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
- package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
- package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
- package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
- package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
- package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
- package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
- package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
- package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
- package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
- package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
- package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
- package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
- package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
- package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
- package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
- package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
- package/plugins/deepmodebot/agents/reviewer/agent.md +0 -33
- package/plugins/deepmodebot/agents/scout/agent.md +0 -34
- package/plugins/deepmodebot/agents/security-reviewer/agent.md +0 -30
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: deepmodebot
|
|
3
|
-
description: "
|
|
4
|
-
disable-model-invocation: true
|
|
3
|
+
description: "Hardcore Mode engineering orchestrator (/deep, Deepmodebot, non-trivial engineering): LLM autoroute, Confession + Adaptive Prosecutor, quota-safe delegation, real-app proof."
|
|
5
4
|
hooks:
|
|
6
5
|
PreToolUse:
|
|
7
|
-
- matcher: "Write|Edit|NotebookEdit"
|
|
6
|
+
- matcher: "Write|Edit|NotebookEdit|Bash|Agent|Read|Grep|Glob|LS|NotebookRead"
|
|
8
7
|
hooks:
|
|
9
8
|
- type: command
|
|
10
9
|
command: 'for f in "${CLAUDE_PLUGIN_ROOT:-/nonexistent}/skills/deepmodebot/assets/contain/claude-guard.sh" "${CLAUDE_PROJECT_DIR:-.}/.claude/skills/deepmodebot/assets/contain/claude-guard.sh" "$HOME/.claude/skills/deepmodebot/assets/contain/claude-guard.sh"; do if [ -f "$f" ]; then exec "${BASH:-bash}" "$f" enforce; fi; done; exit 0'
|
|
@@ -14,185 +13,123 @@ hooks:
|
|
|
14
13
|
|
|
15
14
|
Paths are relative to this skill (`skill://deepmodebot/...` in omp; elsewhere resolve on disk).
|
|
16
15
|
|
|
17
|
-
**Cross-harness
|
|
18
|
-
Tool limits: `loop.py run` targets `omp|claude|codex`; `pr-agent` needs `omp`; `security-audit` needs `claude` on POSIX. Details: `skill://agent-harnesses`.
|
|
16
|
+
**Cross-harness:** Guards ship for omp, Claude Code, Codex, Antigravity (`skill://agent-harnesses`). Map omp tools: `task` → subagents (or `acpx <agent> exec`), `todo` → tasks, `ask` → one question, `.omp/skills/` → `.claude/skills/` or `.agents/skills/`. Tool limits: `loop.py run` targets `omp|claude|codex`; `pr-agent` needs `omp`; `security-audit` needs `claude` on POSIX.
|
|
19
17
|
|
|
20
18
|
## Full-scope completion
|
|
21
19
|
|
|
22
|
-
Applies to M/L and multi-item routes (Size S tracks its single item inline
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
3. **Resolve reversible ambiguity.** Pick a scope-preserving structure from evidence, state assumptions, isolate uncertain groups. Ask only when evidence cannot settle a material choice, an `sme_gate` is required, or a safety/permission boundary applies. Finish independent work first.
|
|
27
|
-
4. **Close against evidence.** Reconcile manifest, inventory, deliverables, and tasks before replying. Single-run builds drive `1/N` to `N/N`. Sprint mode (`active_sprint: 1` / `sme_gate: "required"`) lands Sprint 1 with proof and pauses ONLY at the sprint/SME checkpoint, reporting Sprint 2..N as remaining (`scope_complete: false`). Blockers name item, failure, attempts, and unblock path.
|
|
28
|
-
5. **Zero-loss resume.** Arm one continuation mechanism (`references/playbooks/run-a-goal.md`) and record its ID/state. On quota/cost cap, `checkpoint_every` / `sme_gate` (`loop.py run` exit `6`), or passing Sprint 1 with deferred slices (`exit 0`, `scope_complete: false`), manifest + `latest-summary.json` is the resume ledger. A pause is never completion.
|
|
20
|
+
Applies to M/L and multi-item routes (Size **S** tracks its single item inline). Slicing sequences verification; it never shrinks scope. Full manifest, inventory, sprint/SME checkpoint, and zero-loss resume rules: `references/full-scope.md`.
|
|
21
|
+
- Keep 100% of deliverables/inventory in ONE Scope Manifest (`loop.py manifest`, mirrored in `todo`); any `pending` inventory item fails `loop.py manifest`. Only the user removes scope.
|
|
22
|
+
- When asked what to build/fix/improve, auditing gaps, or mapping a project, reveal **100% of verified high-leverage tasks** across all subsystems (`prompt_tools.py suggest --root "<root>" --limit 0` + domain/SOTA capability levers, grouped `Wave 1 P0` / `Wave 2 P1` / `Wave 3 P2`); never cherry-pick 1–3 items.
|
|
23
|
+
- Single-run builds drive `1/N` to `N/N`; Sprint mode (`active_sprint: 1` / `sme_gate: "required"`) pauses ONLY at the explicit sprint/SME checkpoint (`scope_complete: false`, never done). A pause is never completion.
|
|
29
24
|
|
|
30
25
|
## Route (do this first)
|
|
31
26
|
|
|
32
|
-
`/deep <anything>`
|
|
27
|
+
`/deep <anything>` is the zero-human-thought autopilot across `agy`, `omp`, Claude Code, and Codex: the user never needs to pick subcommands (`/research`, `/suggest`, `/tournament`, `/grill`) or engineer prompts.
|
|
28
|
+
|
|
29
|
+
**0. Confirm intent before routing or acting.** Read the latest request and relevant prior decisions. Decode typos and shorthand. Inspect facts read-only when needed. Restate the target, requested deliverables, intended outcome, how to tell it was achieved, and what execution or publication the user authorized. A named method, metric, or tool is not automatically the goal. Keep every clause; treat an earlier decision as binding unless the user changes it.
|
|
30
|
+
Use `prompt_tools.py clarify` as a hint. Ask once only if the remaining interpretations would materially change the outcome or scope. Otherwise proceed with a stated assumption when it matters. In headless mode, choose a reversible default for ambiguity; stop at any unauthorized hard stop.
|
|
31
|
+
Use this intent statement for routing, scope, and evaluation. A prompt upgrade may clarify it, not expand it. Done when the planned work and success criteria match the original request and the user's latest correction.
|
|
33
32
|
|
|
34
|
-
**1. Orient
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
**1. Orient & auto-bootstrap.** Use Antigravity's hook-injected offline **workspace-map** overview if present; else run `python -B "<this skill>/assets/workspace-map/workspace_map.py" overview --fast --offline --no-orca` (`py -3 -B` on Windows; writes `<main-checkout>/.scratch/workspace-map.db`).
|
|
34
|
+
On non-read-only sessions in an uninitialized repo, auto-run `python -B "<this skill>/assets/setup/project_setup.py" --root "<root>"` to create missing `.deepmodebot/ci.yml`, `.deepmodebot/policy.xml`, `.scratch/deepmode-memory.db`, and managed `AGENTS.md`/`CLAUDE.md` blocks (preserves user text; rewriting conflicting rules needs two owner yeses).
|
|
35
|
+
Recall top project memories via `project_memory.py recall --root "<root>" --format xml --budget-tokens 600`. Skip `overview` and bootstrap on strictly read-only routes (`investigation`, local `pr-review`, `pr-thread`, `suggest`) when no DB exists. Run `query <term>` before broad greps; check `git remote`, `docs/PROJECT_BRIEF.md`, `STACK.md`, verify skills, and `gh repo view`. Outside/empty repo: Contain the work.
|
|
37
36
|
|
|
38
|
-
**2. Route
|
|
37
|
+
**2. Route semantically & chain research/gaps (`references/techniques/autoroute.md`).** Run the LLM router (`assets/autoroute/autoroute.py menu --json` → LLM JSON → `autoroute.py verify --strict --json`, or headless `autoroute.py route --json`). On `APPROVED`, open every `locked_plan.read_targets` entry in order. Pass the URIs verbatim in omp; elsewhere resolve them against the named skill's root.
|
|
38
|
+
Use `prompt_tools.py upgrade` on messy asks. Automatically chain **research** / **prior-art** (`gap_audit.py` + `trending.py` + `dmb-net`) when external SOTA/orgs/APIs apply and `deepmodebot gate gap` for repo drift/stubs; re-route mid-flight via `autoroute.py reroute`.
|
|
39
39
|
|
|
40
|
-
**3. Size
|
|
40
|
+
**3. Size & delivery** (re-size if scope grows; delivery != size).
|
|
41
41
|
|
|
42
|
-
| Size |
|
|
42
|
+
| Size | Scope | Execution |
|
|
43
43
|
|---|---|---|
|
|
44
|
-
| **S** | <= 30
|
|
45
|
-
| **M** | Few files, one feature or bug with a cause to find | Matched playbook; inline if one owner suffices. Local: uncommitted
|
|
46
|
-
| **L** | Cross-cutting, new module, many files, risky, or long-running | Full playbook
|
|
44
|
+
| **S** | <= 30 lines in <= 2 files; no auth, secrets, permissions, trust-boundary parsing, migrations, CI, or agent config | One-line restate, fix, regression if behavioral, real-artifact proof. Local S stays uncommitted; publishing uses S lane + 3-seat 2-of-3 panel. |
|
|
45
|
+
| **M** | Few files, one feature or bug with a cause to find | Matched playbook; inline if one owner suffices. Local: uncommitted; publish: Opening a PR. |
|
|
46
|
+
| **L** | Cross-cutting, new module, many files, risky, or long-running | Full playbook + subagents, **architect** if shapes differ, **show-me-your-work** trail. |
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
Worktree only for concurrent writers or dirty unrelated work. Local M skips shipping panels, new verify frameworks, design contests; auth/permissions/migrations/security/L keep full checks. Discovery = size `none` (no panel); business cases use `references/techniques/research.md`.
|
|
48
|
+
No remote, local-review ask, or ordinary local S/M edit → **local edit** (uncommitted + diff review + real proof; skips shipping panels/contests unless touching auth/permissions/migrations/security/L). Explicit PR/ship/land/queue asks publish via Opening a PR + 3-seat panel. Worktree only for concurrent writers or dirty unrelated work. Discovery/read-only = size `none`.
|
|
50
49
|
|
|
51
|
-
**4.
|
|
50
|
+
**4. Tier, Prosecutor & SME.** Pick smallest benchmark-proven tier (`references/delegation.md`). Run `self_grill.py init --phase plan` before risky coding and `--phase both --refresh` + `self_grill.py bundle` (**Confession + Adaptive Hotspot Prosecutor + Sieve**, `references/techniques/self-grill.md`) on M/L or sensitive diffs before replying. Complex/unclear domains → **sme-review** (+ **questionnaire**) before specs, loops, or Sprint 2+.
|
|
52
51
|
|
|
53
|
-
**5. Act,
|
|
52
|
+
**5. Act, CI gate, clean, report.** Follow Autonomy gates/hard stops. When `.deepmodebot/ci.yml` exists, run `assets/local-ci/local_ci.py run --cached` before reporting done or opening a PR, record durable lessons in `project_memory.py`, and run `assets/cleanup/self_cleanup.py --apply` for disposables. Report result and proof.
|
|
54
53
|
|
|
55
54
|
## Reasoning gates
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
2. **At phase boundaries & delivery:** check output against goal/evidence for missing items, stale facts, unsupported claims, or drift; replan if premise fails.
|
|
61
|
-
3. **When stalled:** after two attempts without better evidence, repeated rewrites, or contradictions, pause. Inspect real artifacts, test premise, pivot or report blocker. Never drop scope.
|
|
62
|
-
|
|
63
|
-
Business cases: prove one workflow on observable user success before scaling (`references/techniques/research.md`); label unproven market/revenue/exit claims as estimates.
|
|
56
|
+
1. **Before planning:** name user, deliverable, acceptance evidence, sources; separate facts from assumptions, mark gaps unknown.
|
|
57
|
+
2. **At phase boundaries & delivery:** check output against goal/evidence for missing items, stale facts, **gaps, and overclaims** (`self_grill.py check-diff` on M/L or sensitive diffs; `verify_proof.py` on formal/math claims); replan if premise fails.
|
|
58
|
+
3. **When stalled:** after two attempts without better evidence, pause, inspect real artifacts, test premise, pivot or report blocker. Never drop scope.
|
|
64
59
|
|
|
65
60
|
## Contain the work
|
|
66
61
|
|
|
67
|
-
One project root per task; every write stays inside it (
|
|
68
|
-
|
|
69
|
-
- **Root.** `git rev-parse --show-toplevel` (including worktrees); name absolute path in restate. Outside/new project: create `<parent>/<kebab-case-name>/` (never nest repos) + `git init -b main`; if a write guard pins this session to an existing repo, reopen in the new root (`references/contain.md`).
|
|
70
|
-
- **Scratch & worktrees.** Temp in `<root>/.scratch/tmp/`; worktrees in main checkout's `.worktrees/<branch>/` (`.gitignore` `*`). Run Python with `-B` or `PYTHONDONTWRITEBYTECODE=1`.
|
|
71
|
-
- **No system temp/global installs.** Never write `/tmp`, `$TMPDIR`, `%TEMP%`, home files, or sibling dirs; scope `TMPDIR`/`TMP`/`TEMP` to `$ROOT/.scratch/tmp`. Install deps locally; global installs and user-config edits are hard stops.
|
|
72
|
-
- **Reads free; writes fenced.** Outside writes allowed only for: new repo folder; tool-managed state (`local://`/`artifact://`, Antigravity `brain/`/artifacts, package/browser caches, Claude plan/memory); `.deepmodebot.json` `"extraWriteRoots"`; deepmodebot's own outside writes (`references/contain.md`). All else is a hard stop.
|
|
73
|
-
- **Notes, delegates & guards.** Durable notes go in `.scratch/` or git common dir. Delegate briefs name absolute root and own subdir/worktree. Guards back file-edit tools (none covers shell commands; this rule still binds shell commands); on denial move inside root, never bypass.
|
|
74
|
-
- **Cleanup.** Delete only this session's disposables and empty `.scratch/tmp/` without disturbing originals, other sessions, active jobs, or unpushed work; `git status --porcelain` shows only intended changes and evidence stays in `.scratch/evidence/` or verify dir.
|
|
75
|
-
|
|
62
|
+
One project root (`git rev-parse --show-toplevel`) per task; every write stays inside it (`references/contain.md`). Temp in `<root>/.scratch/tmp/` (scope `TMPDIR`/`TMP`/`TEMP` there; never system temp/home/siblings); worktrees in `<main>/.worktrees/<branch>/`; run Python with `-B` / `PYTHONDONTWRITEBYTECODE=1`. Global installs and user-config edits are hard stops.
|
|
63
|
+
Outside writes allowed only for new repo folder, tool-managed state (`local://`/`artifact://`, Antigravity `brain/`, caches), `.deepmodebot.json` `"extraWriteRoots"`, and deepmodebot's own outside writes. Guards back file tools (rule still binds shell). Clean session disposables via `assets/cleanup/self_cleanup.py --apply`.
|
|
76
64
|
## Non-negotiables
|
|
77
65
|
|
|
78
66
|
For **S**, only one-line restate, single-item scope check, real-artifact proof, and (if landing) S lane apply.
|
|
79
|
-
|
|
80
|
-
- **
|
|
81
|
-
- **
|
|
82
|
-
- **
|
|
83
|
-
- **
|
|
84
|
-
- **
|
|
85
|
-
- **
|
|
86
|
-
- **
|
|
87
|
-
- **
|
|
88
|
-
- **
|
|
89
|
-
- **
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
- **
|
|
96
|
-
- **
|
|
97
|
-
- **
|
|
98
|
-
- **Subscription, not API
|
|
99
|
-
- **
|
|
100
|
-
|
|
101
|
-
## Subagents
|
|
102
|
-
|
|
103
|
-
- You run the playbook; delegates own exclusive files. Roles: read-only → `scout`/`Explore`/`explorer`; diff review → `reviewer` (omp/Antigravity) or read-only general subagent with `pr-review` prompt (Claude Code/Codex); edits/runs → default agent.
|
|
104
|
-
- Briefs state goal, absolute root, exact files, acceptance check, root-only writes, and applicable `references/principles/<name>.md` (omp omits `AGENTS.md`). Parallel delegates are **coworkers** (`references/techniques/coworkers.md`); panel verifiers vote before talking.
|
|
105
|
-
- **Delegate only when it pays.** Multi-agent runs cost ~15x chat + cold cache. Delegate wide searches, log digests, fresh-eyes review, independent slices; keep 1-file/coupled/hard reasoning inline. Batch 3-5 spawns, pass paths, reuse warm children.
|
|
106
|
-
- **Rate-limit & tier discipline.** Pin tiers per Route 4 (`delegation-efficiency.md`): small for search/mechanical, mid (`medium`) for oracle-backed slices, `L` (`high`) for design/debug/security/final review, cross-family for judges. Check quota (`omp usage`/`/usage`/`/status`), `/clear` between tasks, switch models at clean boundaries, cap unattended runs, back off or rotate family on 429s.
|
|
107
|
-
- Inspect every delegate's diff and write your own summary. Fresh delegates by default; reuse only for live state.
|
|
67
|
+
- **Restate first** (goal, problem, smallest change) without waiting; track 100% scope (`references/full-scope.md`).
|
|
68
|
+
- **Hardcore mode by default (`references/principles/hardcore-mode.md`):** build the first-principles architectural ceiling (real algorithms, solvers, parallelism, full integration) rather than stubs/toy MVPs unless asked.
|
|
69
|
+
- **Zero reward hacking (`references/principles/no-reward-hacking.md`):** across all code, APIs, UIs, data/ML, and 3D, never weaken assertions/coverage/strictness, branch on `PYTEST_CURRENT_TEST`/`JEST_WORKER_ID` in prod, mock the SUT, add `.skip`/`--no-cov`/`continue-on-error`, or substitute stubs/primitives; lock gates first and pair checks with sealed `reward_guard.py run-judge` (`deepmodebot gate reward`).
|
|
70
|
+
- **Self-Improvement Memory on every harness edit (`references/techniques/sim.md`, arXiv:2611.18856):** before changing instructions, skills, hooks, gates, policy, or the loop, `sim.py read`, then `sim.py propose` (problem, edit + rationale, predicted fixes) before evaluating, then `sim.py record` the evolve-set outcome, misses included. `.deepmodebot/sim.json` is append-only and gate-enforced.
|
|
71
|
+
- **Owner-approved rules (`references/rule-approval.md`):** with `.deepmodebot/rules/ledger.json` in the repo or home (`~/.omp/agent`, `~/.claude`, `~/.codex`, `~/.gemini` hooks/skills/settings), never edit agent rule files (AGENTS.md, CLAUDE.md, `.cursor/rules/`, skills, agent settings; `assets/rules/rule-paths.json`); draft under `.scratch/`, run `rule_ledger.py propose [--user]`, and ask the owner to `deepmodebot rules review [--user]`. Never run `rules init|approve|reject` or edit the ledger.
|
|
72
|
+
- **Name principles:** on M/L, add "Why I chose this" naming each read principle (`references/principles/`) that changed a decision.
|
|
73
|
+
- **Prove on the real artifact (E2E Rehearsal Gate):** run the real app/CLI/service; tests alone are not proof. For E2E workflows (any app/tool/UI), grill & lock user intent first (`assets/e2e/rehearsal_gate.py init` + `approve`), record the full continuous video, watch the entire video together (never isolated frames alone), and iterate `v1..v25` until `rehearsal_gate.py verdict --strict` returns `REHEARSAL_PASSED`.
|
|
74
|
+
- **Clarify once upfront, then decide autonomously:** repo/doc/code fact → look up yourself; empirical engineering fork → Prototype; genuine human-intent ambiguity (`2+` distinct user outcomes) → ask `1-3` `(Recommended)`-first choices once before coding, then drive to 100% completion with zero interruptions.
|
|
75
|
+
- **Secrets/logins/auth** → read `skill://secrets-and-auth` first; never print/paste/commit secrets.
|
|
76
|
+
- **Name data shape first** (`references/principles/model-the-domain.md`; new domains/DBs/layouts → `skill://software-architecture`).
|
|
77
|
+
- **No lying comments:** zero narration/banner/workaround comments; run **no-comments** before review. Long work → **show-me-your-work**.
|
|
78
|
+
- **UI & Operate craft (`skill://frontend-ui`):** enforce 2-round `ui_audit.py` + clean-context critique, 3-seed OKLCH themes (`Accent`, `Background`, `Contrast`), directional trigger origins + submenu safe polygons, roving tiered tooltips, frozen-order multi-select pickers, anti-Christmas-tree stillness, and zero-spinner local state on daily Operate views.
|
|
79
|
+
- **PR & gate layer:** **pr-review** before opening (with **Intent-First Diff Guides** + **Meaningful-LOC** breakdown); **pr-agent** + local checks once open; land own PRs via **pr-conversation**; incoming PRs via `/deepmodebot:review-pr <PR>`; **security-audit** on auth/permissions/parsing/secrets (blocking = P0). No hosted review bots.
|
|
80
|
+
|
|
81
|
+
## Autonomy & Subagents
|
|
82
|
+
|
|
83
|
+
- **Own PRs land on their own** via **pr-conversation** once findings resolve, linked issues are answered, exact-head **panel** (`references/techniques/panel.md`: 3 verifiers, >=2 passes, including S lane) passes, and checks are green. Merge via `gh pr merge --match-head-commit <sha>`, verify trunk, revert if red.
|
|
84
|
+
- **Admin merge:** only on explicit land/merge ask or `"autonomousMerge": true`; `--admin` may bypass only a required review after exact-head panel pass, never failing checks or non-review rules.
|
|
85
|
+
- **Decisions & hard stops:** pick smallest reversible codebase-consistent choice and log under "Decisions I made". Hard stops (batch once at end): force-push/history rewrite on shared/default branch; deleting others' branches/data; deploys/releases/publishing; external messages; bypassing forge protections; spending money; user-only credentials; outside-root writes; rewriting repo rule files (two owner yeses).
|
|
86
|
+
- **Subscription, not API:** logged-in subscriptions only; unset all provider API key env vars in child processes. Tick waypoints and keep moving; say "no" when warranted.
|
|
87
|
+
- **Subagents & quota (`references/delegation.md`):** Start each brief with `Read <this installed skill>/worker.md before anything else.` and give the worker exclusive files. omp loads `.omp/RULES.md` even when it drops `AGENTS.md`. Keep small work inline and reserve the three-seat panel for the final merge SHA.
|
|
88
|
+
- **Worker guards:** Use `assets/worker-gate/worker_gate.py` to initialize a slice and verify its receipt. Installed omp, Claude, and Antigravity hooks block unauthorized nested spawns and enforce configured slice fences on file tools. omp and Antigravity also inject the worker brief and route overhead specialists to low-cost tiers.
|
|
108
89
|
|
|
109
90
|
## Routes
|
|
110
91
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
| "vague goal into measurable milestones", "review my goal with 3 agents" | **goal-review** → `self-authoring` |
|
|
130
|
-
| "grill me / this plan / stress-test", draft plan (`GLOSSARY.md`/`docs/adr/` → With docs) | **grill** |
|
|
131
|
-
| "write / turn into a spec", "spec it up" | `spec` |
|
|
132
|
-
| "break into tickets", "split spec into issues" | `tickets` |
|
|
133
|
-
| "implement / build spec #N", "ship in sprints" | `phased-build` (sprint/build) |
|
|
134
|
-
| Writing/editing a skill (`SKILL.md`) | `authoring-a-skill` (**writing-for-agents** first) |
|
|
135
|
-
| Writing/editing `AGENTS.md`, `CLAUDE.md`, rule file, brief | **writing-for-agents** (`assets/agents-md/agents_md.py`) |
|
|
136
|
-
| "write/improve prompt, skill, goal, or loop", repeated workflow | `self-authoring` |
|
|
137
|
-
| "what do we call this"/glossary/ADR (**domain-model**); "research X" (**research**); "which flow" (`references/flows.md`); "TDD" (**tdd**) | Named target |
|
|
138
|
-
| "hand this off", "continue in a new session", background handoff | `handoff` |
|
|
139
|
-
| "chief of staff", "own this goal long-term", across sessions | `run-a-goal` (program) |
|
|
140
|
-
| "loop until X", "keep going until green", "going to bed, finish it" | `run-a-goal` (session) |
|
|
141
|
-
| Multi-session foggy route: "wayfinder", "plan migration" | `wayfinder` |
|
|
142
|
-
| "port / rewrite / migrate" to another language | `refactoring` (Language ports) |
|
|
143
|
-
| "security-audit PRs", security gate or audit | **security-audit** (own agent, no CI) |
|
|
144
|
-
| "run pr-agent" on a PR | **pr-agent** |
|
|
145
|
-
| "is there a library/project/example for X", fork/copy | **prior-art** |
|
|
146
|
-
| "tighten/audit/harden inner loop", "stop AI code slop" | **inner-loop** |
|
|
147
|
-
| "index/map workspace", "list Orca worktrees/open PRs", "find symbol fast" | **workspace-map** |
|
|
148
|
-
| "what stack", "pick a stack for <app>" (stack choice only) | `skill://deep-stack` (`references/any-app-stack.md`, after **prior-art**) |
|
|
149
|
-
| "finish / build full project end to end", "don't stop at a slice/MVP" | `end-to-end` |
|
|
150
|
-
| Specialist: `tool-routing`, `agent-collaboration`, `visual-e2e`, `open-design-evidence`, `git-guardrails`, `pre-commit`, `scrape`, `architecture-review`, `wizard`, `course`, `re-explain`, `retro` | Named technique |
|
|
151
|
-
| "tournament", "arena debate", "architecture/research gaps", "blind spots", "propose best system" | **tournament** |
|
|
152
|
-
| Open/vague ambition ("rethink X", "make smarter", "build me an AI app" w/o behaviors) | **tournament** |
|
|
153
|
-
| New app with concrete behaviors ("build me <app> that ...") | **prior-art** → `skill://deep-stack` → `end-to-end` |
|
|
154
|
-
| Anything else | `## Playbooks` below |
|
|
155
|
-
|
|
156
|
-
## Playbooks
|
|
157
|
-
|
|
158
|
-
List matched steps (`<n>. <short imperative>`) in `todo`; note skips. Full 30-playbook table: `references/catalog.md`.
|
|
92
|
+
Look up route paths in `autoroute.py menu --json` or `references/catalog.md`. Open the verified `locked_plan.read_targets` from Step 2; don't construct paths from bare names.
|
|
93
|
+
|
|
94
|
+
- **PRs, releases & migrations:** review PR / "review since <ref>" → **pr-review**; land own PR → **pr-conversation**; aging/stale PR → **modernize-pr**; bot issue work → **issue-conversation**; bots on own sub → **github-app**; get green → `babysit`; security gate → **security-audit** (`static_sec_audit.py` + **variant-analysis**); run pr-agent → **pr-agent**; zero-downtime DB/API cutover → **expand-contract**; post-deploy canary & release docs → **release-and-canary**.
|
|
95
|
+
- **Contributing & repos:** read-only repo → `skill://contribute`; publish for helpers → `skill://project-brief`; repo setup → `setup`; DX/CLI onboarding audit → **devex-review**; triage → `triage`; spec → `spec`; tickets → `tickets`; implement spec/sprints → `phased-build`; full project → `end-to-end`.
|
|
96
|
+
- **Queues, goals & orientation:** `factory.json`/board/PR queue → `work-a-queue`; session/program goal → `run-a-goal`; vague goal → **goal-review** → `self-authoring`; harden checks/anti-slop → **inner-loop**; index repo/worktrees/PRs/symbols → **workspace-map**; foggy multi-session → `wayfinder`; handoff → `handoff`.
|
|
97
|
+
- **Prompts, audits & checks:** LLM router → **autoroute**; upgrade prompt → **prompt-upgrade**; expert words / problem disambiguation → **reframe**; founder/ambition check → **product-lens**; scan repo gaps/overclaims → **suggest**; grill plan → **grill**; "are you sure" / gaps / overclaims → **self-grill** (`bundle` Prosecutor); kill weak tests / fuzz → **mutation-testing**; stuck → `bug-fix` + **self-grill**; blast radius → **blast-radius**; deepen → **sharpen**.
|
|
98
|
+
- **Formal proofs & statecharts:** Lean/Rocq/TLA+/SMT/Claim-DAGs → **formal-verification** (`verify_proof.py`); TLA+ model + Mermaid statechart → `skill://statechart`; author/maintain project formal verify skill → `skill://create-formal-verification-skill` / `skill://maintain-formal-verification-skill`.
|
|
99
|
+
- **Design, stack & SEO:** open gaps or vague ambition → **tournament**; 2+ shapes → **architect**; contested design → **interrogate**; new app → **prior-art** (`scripts/trending.py`) → `skill://deep-stack` → `end-to-end`; SEO/GEO, `llms.txt`, Schema.org, and agentic browsing → `skill://seo-and-geo` (`seo_audit.py`).
|
|
100
|
+
- **Docs & domain:** `.xlsx`/`.pptx`/`.docx`/`.pdf` → `skill://office-documents` (`doc_audit.py`); catch up → **recall** (video → **catchup-video**); glossary/ADR → **domain-model**; research → `skill://research` (**research**); SME → **sme-review** / **questionnaire**.
|
|
101
|
+
- **UI, E2E & design evidence:** A2UI (`a2ui.org`) / cockpit → **gen-ui**; webhook/Tailscale bot UI → **webhook-ui**; E2E full-video rehearsal gate (`v1..v25`, `REHEARSAL.md`) → `assets/e2e/rehearsal_gate.py` + [`visual-e2e`](references/techniques/visual-e2e.md); Penpot/editable design → **open-design-evidence**.
|
|
102
|
+
- **Perf & media:** backend/DB/API slowness, N+1, pools, hot loops → `perf-issue` (`assets/perf-audit/perf_audit.py` + **benchmark-checklist** + `skill://domain-rules`); video breakdown (`rea-video`/`VIDEO.md`) → **video-forensics**.
|
|
103
|
+
- **Build, CI, slop & memory:** parallel gates (`deepmodebot gate slop|reward|sim|ci|perf|ui|seo|docs|sec|cleanup|agents|skill-check|map|guard|gap`); `native/dmb-net`: `trending|pr-overlap|fetch-papers|webhook`. Bootstrap with `project_setup.py --install-hooks`; see `references/catalog.md` for tools and fallbacks.
|
|
104
|
+
- **Gate fallbacks:** `local_ci.py`, `slop_gate.py`, `reward_guard.py`, `sim.py`, `gap_audit.py`, and `project_memory.py`.
|
|
105
|
+
- **Build & maintenance techniques:** model and budget → **model-setup** (`model_setup.py`); TDD → **tdd**; comments → **no-comments**; prose → **unslop** + **technical-writing**; garden → **correct**; fan-out → **swarm**/**arena**; port → `refactoring`.
|
|
106
|
+
- **Skills, rules & meta:** edit `SKILL.md` → `authoring-a-skill` (**writing-for-agents** first); edit `AGENTS.md`/`CLAUDE.md`/brief → **writing-for-agents** (`assets/agents-md/agents_md.py`); prompt/loop → `self-authoring`; specialist (`tool-routing`, `git-guardrails`, `pre-commit`, `scrape`, `architecture-review`, `wizard`, `course`, `re-explain`, `reflect`, `retro`, `tracker`, `agent-collaboration`) → named technique.
|
|
107
|
+
## Playbooks & Principles
|
|
108
|
+
|
|
109
|
+
List matched playbook steps (`<n>. <short imperative>`) in `todo`; note skips. Read `references/principles/<name>.md` before citing. Full tables: `references/catalog.md`.
|
|
159
110
|
|
|
160
111
|
- **Diagnose:** `investigation`, `bug-fix`, `perf-issue`, `hillclimb`, `runtime-forensics`, `trace-forensics`.
|
|
161
|
-
- **Build:** `feature`, `end-to-end`, `refactoring`, `prototype`, `visual-parity`, `reference-rebuild`.
|
|
162
|
-
- **
|
|
163
|
-
- **
|
|
164
|
-
- **
|
|
165
|
-
|
|
166
|
-
## Technique triggers
|
|
167
|
-
|
|
168
|
-
M/L when a rule changes work; skip for S. All 52 techniques: `references/catalog.md`. Names = deepmodebot's files.
|
|
169
|
-
|
|
170
|
-
- **New build** → **prior-art** (`scripts/trending.py`). **2+ shapes** → **architect**. **Open gaps/vague** → **tournament**. **Draft plan** → **grill**.
|
|
171
|
-
- **Complex domain** → **sme-review** + **questionnaire**. **Loops/slop** → **inner-loop**. **Orient/Orca/PRs/tokens** → **workspace-map** + `guard-the-context-window` + `delegation-efficiency.md`.
|
|
172
|
-
- **Numbers** → **benchmark-checklist**. **Prose** → **unslop** + **technical-writing**. **Pre-review** → **no-comments**. **Repeated fix** → **correct** + `self-authoring`.
|
|
173
|
-
- **Terms/ADRs** → **domain-model**. **Research** → **research**. **Issues** → **tracker**. **Fan-out** → **swarm** / **arena**. **Contested design** → **interrogate**.
|
|
174
|
-
|
|
175
|
-
## Principles
|
|
176
|
-
|
|
177
|
-
Read `references/principles/<name>.md` before citing; definitions in `references/catalog.md`.
|
|
178
|
-
|
|
179
|
-
- **Core:** `laziness-protocol`, `foundational-thinking`, `redesign-from-first-principles`, `attack-the-premise`, `subtract-before-you-add`, `minimize-reader-load`, `outcome-oriented-execution`, `experience-first`, `exhaust-the-design-space`, `build-the-lever`.
|
|
180
|
-
- **Architecture:** `model-the-domain`, `boundary-discipline`, `type-system-discipline`, `make-operations-idempotent`, `migrate-callers-then-delete-legacy-apis`, `separate-before-serializing-shared-state`.
|
|
181
|
-
- **Verification:** `prove-it-works`, `fix-root-causes`, `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`.
|
|
182
|
-
- **Delegation & Meta:** `guard-the-context-window`, `never-block-on-the-human`, `encode-lessons-in-structure`.
|
|
112
|
+
- **Build & Meta:** `feature`, `end-to-end`, `refactoring`, `prototype`, `visual-parity`, `reference-rebuild`, `authoring-a-skill`, `self-authoring`, `eval`.
|
|
113
|
+
- **Plan, Ship & Continuity:** `setup`, `spec`, `tickets`, `triage`, `phased-build`, `wayfinder`, `babysit`, `shipping`, `opening-a-pr`, `run-a-goal`, `work-a-queue`, `session-pickup`, `pause-safely`, `handoff`, `worktree-cleanup`. Bespoke large effort → **figure-it-out**.
|
|
114
|
+
- **Principles (Core & Architecture):** `hardcore-mode`, `laziness-protocol`, `foundational-thinking`, `redesign-from-first-principles`, `attack-the-premise`, `subtract-before-you-add`, `minimize-reader-load`, `outcome-oriented-execution`, `experience-first`, `exhaust-the-design-space`, `build-the-lever`; `model-the-domain`, `boundary-discipline`, `type-system-discipline`, `make-operations-idempotent`, `migrate-callers-then-delete-legacy-apis`, `separate-before-serializing-shared-state`.
|
|
115
|
+
- **Principles (Verification, Delegation & Meta):** `prove-it-works`, `no-reward-hacking`, `fix-root-causes`, `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`; `guard-the-context-window`, `never-block-on-the-human`, `encode-lessons-in-structure`.
|
|
183
116
|
|
|
184
117
|
## Reference library
|
|
185
118
|
|
|
186
119
|
Read entry skill first; full index: `references/README.md`:
|
|
187
|
-
- UI/motion/color/a11y/chat → `skill://frontend-ui`; stack/UI design/proof → `skill://deep-stack`
|
|
120
|
+
- UI/motion/color/a11y/chat/A2UI → `skill://frontend-ui`; stack/UI design/proof → `skill://deep-stack`; SEO/GEO/Schema.org/`llms.txt`/Agentic Browsing → `skill://seo-and-geo`
|
|
121
|
+
- Spreadsheets (`.xlsx`), slide decks (`.pptx`), Word docs (`.docx`), and PDFs (`.pdf`) → `skill://office-documents`
|
|
188
122
|
- Harnesses (omp/Claude/Codex/Antigravity), MCP/ACP, tiers → `skill://agent-harnesses` (`langchain-ecosystem.md`, `ai-sdk-selection.md`)
|
|
189
|
-
- Secrets/logins/MFA/OAuth/auth → `skill://secrets-and-auth`; repo/domain/DB/backend → `skill://software-architecture`
|
|
190
|
-
- Agents/LLMs/AWS/backend/languages/DevOps/debug → `skill://domain-rules`
|
|
123
|
+
- Secrets/logins/MFA/OAuth/auth → `skill://secrets-and-auth`; repo/domain/DB/pools/backend → `skill://software-architecture`
|
|
124
|
+
- Agents/LLMs/AWS/high-scale backend/cache/languages/DevOps/debug → `skill://domain-rules`
|
|
191
125
|
- Docker/K8s/cloud/IAM/policy/pipelines/IaC/emulators → `skill://cloud-devsecops`
|
|
126
|
+
- Deep learning, RL, neural nets, world models, geometric/SciML & weight-space programming (`wsp.py`) → `skill://deep-learning`
|
|
127
|
+
- Build an agent control adapter for a desktop, terminal, mobile or headless app → `skill://app-automation-relay`
|
|
128
|
+
- TLA+ statechart compiler & formal verification lifecycle → `skill://statechart`, `skill://create-formal-verification-skill`, `skill://maintain-formal-verification-skill`
|
|
192
129
|
|
|
193
130
|
## Writing the reply
|
|
194
131
|
|
|
195
|
-
- Short declarative sentences, one thought each; no long dashes or mid-sentence colons (colons before lists ok).
|
|
132
|
+
- Short declarative sentences, one thought each; no long dashes or mid-sentence colons (colons before lists ok). Keep prose tight without truncating lists; project audits, `/suggest`, `/research`, and `/tournament` list **all** verified high-leverage tasks (`1..N`) by wave instead of stopping at 1-3 items.
|
|
196
133
|
- Keep required playbook sections; lead with consumer/maintainer impact before detail.
|
|
197
|
-
- Never fabricate links/citations/outputs; link only what you produced/read; label claims (measured, inferred, guess); never hand off checks you can run.
|
|
134
|
+
- Never fabricate links/citations/outputs; link only what you produced/read; never overclaim (counts/guarantees must match fresh observed runs); label claims (measured, inferred, guess); never hand off checks you can run.
|
|
198
135
|
- **No machinery.** Omit skills, playbooks, routes, sizes, verify bookkeeping, pre-authorizations, models/subagents, internal codes unless required by a playbook section or "Why I chose this". Report result, proof, risks, blockers; mention machinery only when it affects trust.
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
"""Generate or refresh a repo's AGENTS.md
|
|
2
|
+
"""Generate or refresh a repo's AGENTS.md, CLAUDE.md, and sticky .omp/RULES.md.
|
|
3
3
|
|
|
4
4
|
python agents_md.py build [path] [--overwrite] [--dry-run]
|
|
5
5
|
python agents_md.py check [path]
|
|
6
6
|
python agents_md.py user [--write]
|
|
7
7
|
|
|
8
8
|
AGENTS.md is the one home for the rules. CLAUDE.md imports it with `@AGENTS.md`, because Claude Code reads
|
|
9
|
-
CLAUDE.md, not AGENTS.md.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
(from `loop.py audit`), and where scratch files go.
|
|
13
|
-
check exits 1 when either file lacks the current block, so a stale block fails a repo check.
|
|
9
|
+
CLAUDE.md, not AGENTS.md. omp `task` workers load .omp/RULES.md instead. build refreshes only the managed blocks;
|
|
10
|
+
--overwrite replaces all three files after backing them up under <root>/.scratch/agents-md-backup/<timestamp>/.
|
|
11
|
+
check exits 1 when any managed block is missing or stale.
|
|
14
12
|
user previews the finish-line block for ~/.claude/CLAUDE.md, which Claude Code loads in every project; --write adds
|
|
15
13
|
it. That file is the user's own config: write it only on the user's explicit yes.
|
|
16
14
|
"""
|
|
@@ -22,6 +20,8 @@ import shutil
|
|
|
22
20
|
import sys
|
|
23
21
|
import time
|
|
24
22
|
|
|
23
|
+
sys.dont_write_bytecode = True
|
|
24
|
+
|
|
25
25
|
|
|
26
26
|
def load_loop():
|
|
27
27
|
"""loop.py is a sibling asset, not an installed package; load it by path for its repo audit."""
|
|
@@ -48,6 +48,7 @@ FINISH_LINE = """## Finish line
|
|
|
48
48
|
4. Passing tests or a working demo mean "this part works", not "the request is done".
|
|
49
49
|
5. When you shrink or skip a part, say so at that moment, not in a caveats list at the end.
|
|
50
50
|
6. When asked "are we done?", answer with the list first.
|
|
51
|
+
7. Passing a check by weakening tests/types/thresholds, stubbing the system under test, overwriting snapshots, or faking outputs is reward hacking, not done.
|
|
51
52
|
"""
|
|
52
53
|
|
|
53
54
|
|
|
@@ -55,9 +56,14 @@ def code_list(commands):
|
|
|
55
56
|
return ", ".join(f"`{cmd}`" for cmd in commands)
|
|
56
57
|
|
|
57
58
|
|
|
58
|
-
def repo_block(report):
|
|
59
|
+
def repo_block(report, root=None):
|
|
59
60
|
layers = report["layers"]
|
|
60
61
|
lines = [FINISH_LINE, "## Checks", ""]
|
|
62
|
+
has_ci = bool(root and os.path.isfile(os.path.join(root, ".deepmodebot", "ci.yml")))
|
|
63
|
+
has_policy = bool(root and os.path.isfile(os.path.join(root, ".deepmodebot", "policy.xml")))
|
|
64
|
+
if has_ci:
|
|
65
|
+
lines.append("- Local CI gate (mandatory before reporting done or opening a PR): run `.deepmodebot/ci.yml` via "
|
|
66
|
+
"`python -B <deepmodebot skill>/assets/local-ci/local_ci.py run --cached`.")
|
|
61
67
|
static, tests = layers["static_checks"], layers["test_checks"]
|
|
62
68
|
if static and not tests:
|
|
63
69
|
lines.append(f"- Checks, after every edit and before calling a part done: {code_list(static)}. No separate "
|
|
@@ -71,15 +77,45 @@ def repo_block(report):
|
|
|
71
77
|
lines.append(f"- Live proof: the {code_list(layers['runtime_verify'])} skill. Tests alone are not proof.")
|
|
72
78
|
else:
|
|
73
79
|
lines.append("- Live proof: run the real app, CLI, or service path. Tests alone are not proof.")
|
|
74
|
-
lines += ["", "## Work area", "",
|
|
75
|
-
"- Scratch, temp files, logs, and evidence go in `.scratch/` (git-ignored), never system temp."
|
|
80
|
+
lines += ["", "## Work area & memory", "",
|
|
81
|
+
"- Scratch, temp files, logs, and evidence go in `.scratch/` (git-ignored), never system temp."]
|
|
82
|
+
if has_policy:
|
|
83
|
+
lines.append("- Governance policy: `.deepmodebot/policy.xml` (containment, CI gate, UI gate, hard stops).")
|
|
84
|
+
if has_ci or has_policy:
|
|
85
|
+
lines.append("- Project memory DB: `.scratch/deepmode-memory.db` (SQLite WAL+FTS5); recall compact XML via "
|
|
86
|
+
"`project_memory.py recall --format xml --budget-tokens 800`.")
|
|
87
|
+
if root and os.path.isfile(os.path.join(root, ".deepmodebot", "sim.json")):
|
|
88
|
+
lines.append("- Self-Improvement Memory (arXiv:2611.18856): before editing harness files (agent instructions, skills, "
|
|
89
|
+
"hooks, gates, policy), run `<deepmodebot skill>/assets/sim/sim.py read`, cite or open a problem with "
|
|
90
|
+
"`sim.py propose` (edit, rationale, predicted fixes) before evaluating, then `sim.py record` the "
|
|
91
|
+
"evolve-set outcome, misses included. `.deepmodebot/sim.json` is append-only; the slop gate blocks "
|
|
92
|
+
"harness edits without a new attempt.")
|
|
93
|
+
lines.append("")
|
|
76
94
|
return "\n".join(lines)
|
|
77
|
-
|
|
78
|
-
|
|
79
95
|
def wrap(body):
|
|
80
96
|
return f"{BEGIN}\n{body.rstrip()}\n{END}\n"
|
|
81
97
|
|
|
82
98
|
|
|
99
|
+
def omp_rules_block(report, root=None):
|
|
100
|
+
layers = report["layers"]
|
|
101
|
+
lines = [
|
|
102
|
+
"- Execute inline: 0 child spawns unless kickoff authorizes a model tier and cap. Read the installed `worker.md` for role rules.",
|
|
103
|
+
"- Edit only assigned `owned_files`; escalate shared contract changes to the coordinator. Keep narration, banner, and workaround comments out of code.",
|
|
104
|
+
"- Zero reward hacking: keep assertions, types, coverage, and thresholds strict; verify the real system and preserve provenance.",
|
|
105
|
+
"- Keep all writes inside the project. Set `TMPDIR`, `TMP`, and `TEMP` to `<root>/.scratch/tmp/`; keep worktrees in `<main>/.worktrees/` and run Python with `-B`.",
|
|
106
|
+
]
|
|
107
|
+
for label, key in (("Repo fast checks", "static_checks"), ("Repo tests", "test_checks"),
|
|
108
|
+
("Live proof", "runtime_verify")):
|
|
109
|
+
if layers[key]:
|
|
110
|
+
lines.append(f"- {label}: {code_list(layers[key])}.")
|
|
111
|
+
if not layers["runtime_verify"]:
|
|
112
|
+
lines.append("- Live proof: run the real app, CLI, or service path.")
|
|
113
|
+
lines.append("- Run scoped checks on your slice; leave whole-repo checks to the build owner in parallel work.")
|
|
114
|
+
if root and os.path.isfile(os.path.join(root, ".deepmodebot", "sim.json")):
|
|
115
|
+
lines.append("- Before harness edits, read `sim.py read` output and stage `sim.py propose` or use the coordinator's staged attempt. Record the outcome with `sim.py record` when you own the attempt.")
|
|
116
|
+
return wrap("\n".join(lines))
|
|
117
|
+
|
|
118
|
+
|
|
83
119
|
def upsert(text, block):
|
|
84
120
|
"""Replace the managed block in text, or append it. Text outside the markers is kept byte for byte."""
|
|
85
121
|
if "<!-- deepmodebot:begin" in text and not BLOCK_RE.search(text):
|
|
@@ -92,9 +128,12 @@ def upsert(text, block):
|
|
|
92
128
|
|
|
93
129
|
|
|
94
130
|
def safe_target(root, name):
|
|
95
|
-
path =
|
|
96
|
-
|
|
97
|
-
|
|
131
|
+
path = root
|
|
132
|
+
is_junction = getattr(os.path, "isjunction", lambda _: False)
|
|
133
|
+
for part in name.split("/"):
|
|
134
|
+
path = os.path.join(path, part)
|
|
135
|
+
if os.path.islink(path) or is_junction(path):
|
|
136
|
+
raise SystemExit(f"{path} is a symlink or junction; refusing to write through it")
|
|
98
137
|
return path
|
|
99
138
|
|
|
100
139
|
|
|
@@ -112,12 +151,14 @@ def write(path, text):
|
|
|
112
151
|
|
|
113
152
|
|
|
114
153
|
def planned(root, overwrite):
|
|
115
|
-
"""Return {file name: (path, current text, wanted text)} for
|
|
116
|
-
|
|
154
|
+
"""Return {file name: (path, current text, wanted text)} for each managed instruction file."""
|
|
155
|
+
report = audit_repo(root)
|
|
156
|
+
agents_block = wrap(repo_block(report, root=root))
|
|
117
157
|
claude_block = wrap("@AGENTS.md")
|
|
118
158
|
plan = {}
|
|
119
159
|
for name, block, title in (("AGENTS.md", agents_block, "# Agent instructions"),
|
|
120
|
-
("CLAUDE.md", claude_block, "# Claude Code")
|
|
160
|
+
("CLAUDE.md", claude_block, "# Claude Code"),
|
|
161
|
+
(".omp/RULES.md", omp_rules_block(report, root=root), "# Sticky worker rules")):
|
|
121
162
|
path = safe_target(root, name)
|
|
122
163
|
current = read(path)
|
|
123
164
|
if overwrite:
|
|
@@ -135,10 +176,11 @@ def backup(root, plan):
|
|
|
135
176
|
ignore = os.path.join(root, ".scratch", ".gitignore")
|
|
136
177
|
if not os.path.exists(ignore):
|
|
137
178
|
write(ignore, "*\n")
|
|
138
|
-
for name, (path,
|
|
179
|
+
for name, (path, _, _) in plan.items():
|
|
139
180
|
if os.path.exists(path):
|
|
140
|
-
os.
|
|
141
|
-
|
|
181
|
+
dest = os.path.join(folder, name)
|
|
182
|
+
os.makedirs(os.path.dirname(dest), exist_ok=True)
|
|
183
|
+
shutil.copy2(path, dest)
|
|
142
184
|
return folder
|
|
143
185
|
|
|
144
186
|
|
|
@@ -162,11 +204,12 @@ def run_build(opts):
|
|
|
162
204
|
|
|
163
205
|
def run_check(opts):
|
|
164
206
|
root = project_root(opts.path)
|
|
165
|
-
|
|
207
|
+
plan = planned(root, False)
|
|
208
|
+
stale = [name for name, (_, current, wanted) in plan.items() if wanted != current]
|
|
166
209
|
for name in stale:
|
|
167
210
|
print(f"{name}: missing or stale deepmodebot block; run `agents_md.py build`")
|
|
168
211
|
if not stale:
|
|
169
|
-
print("
|
|
212
|
+
print(f"{', '.join(plan)}: up to date")
|
|
170
213
|
return 1 if stale else 0
|
|
171
214
|
|
|
172
215
|
|
|
@@ -191,11 +234,11 @@ def run_user(opts):
|
|
|
191
234
|
def main():
|
|
192
235
|
parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])
|
|
193
236
|
sub = parser.add_subparsers(dest="action", required=True)
|
|
194
|
-
build = sub.add_parser("build", help="create or refresh
|
|
237
|
+
build = sub.add_parser("build", help="create or refresh the managed instruction files")
|
|
195
238
|
build.add_argument("path", nargs="?", default=".")
|
|
196
239
|
build.add_argument("--overwrite", action="store_true", help="replace whole files, backing up the old ones")
|
|
197
240
|
build.add_argument("--dry-run", action="store_true", help="print the files and write nothing")
|
|
198
|
-
check = sub.add_parser("check", help="exit 1 when
|
|
241
|
+
check = sub.add_parser("check", help="exit 1 when a managed instruction block is missing or stale")
|
|
199
242
|
check.add_argument("path", nargs="?", default=".")
|
|
200
243
|
user = sub.add_parser("user", help="preview, or --write, the finish-line block in ~/.claude/CLAUDE.md")
|
|
201
244
|
user.add_argument("--write", action="store_true")
|