deepmodebot 0.9.1 → 0.10.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 +29 -5
- package/bin/deepmodebot.mjs +163 -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 +77 -0
- package/native/dmb-gate/src/ci.rs +516 -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 +327 -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 +1214 -0
- package/native/dmb-gate/src/skill_check.rs +171 -0
- package/native/dmb-gate/src/slop.rs +1238 -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/agent.md +35 -0
- package/plugins/deepmodebot/agents/researcher/agent.md +33 -0
- package/plugins/deepmodebot/agents/reviewer/agent.md +4 -2
- package/plugins/deepmodebot/agents/scout/agent.md +11 -12
- package/plugins/deepmodebot/agents/security-reviewer/agent.md +2 -1
- package/plugins/deepmodebot/commands/deep.md +6 -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 +2 -2
- package/plugins/deepmodebot/hooks.json +1 -1
- package/plugins/deepmodebot/scripts/antigravity-guard.mjs +140 -7
- 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 +2 -2
- 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 +74 -145
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +18 -6
- package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1021 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +98 -5
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +106 -5
- 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/formal-verification/verify_proof.py +638 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1053 -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 +3 -2
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +9 -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 +540 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +642 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2 -1
- 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 +529 -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 +1597 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +57 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1645 -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 +1473 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +312 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
- 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 +16 -11
- package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +14 -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/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 +2 -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/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 +51 -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 +49 -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 +8 -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 +7 -7
- 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 +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +7 -3
- 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/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/teach.md +2 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +12 -11
- 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 +16 -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/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
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# formal-verification
|
|
2
|
+
|
|
3
|
+
**Use when:** concurrency races, retries, multi-device sync, state machines, parsers, custom algorithms, mathematical proofs, Lean/Coq/TLA+/SMT formalizations, or UI invariants where unit tests miss breaking orders or edge cases ("formal verification", "model-check", "TLA+", "statechart", "Lean proof", "Comparator", "prove this theorem/invariant", "property-based UI", "Bombadil"). Formal checks complement runtime verification; they are not a silver bullet.
|
|
4
|
+
|
|
5
|
+
## Choose the target, falsify early, and decompose
|
|
6
|
+
|
|
7
|
+
1. **Pick the highest-risk invariant or theorem.** State the property/claim and its failure harm in one plain sentence each.
|
|
8
|
+
Done when the target files, symbols, invariant/theorem sentence, and failure harm are written down.
|
|
9
|
+
2. **Falsify on small cases first ("Checking beats believing").** Before spending proof search or TLA+/Lean cycles, run a quick Python (`sympy`, exact `Fraction`/`int`, or property-based `Plausible`) probe over $n=0,1,2,3,4$, degenerate inputs, and sign/equality boundaries to catch false subgoals in seconds (`alphabeta` guard).
|
|
10
|
+
Done when small-$n$ / boundary falsification passes or refutes the conjecture upfront.
|
|
11
|
+
3. **Let the question pick the tool (backed by `assets/formal-verification/verify_proof.py`):**
|
|
12
|
+
- **Event/step order or distributed state** → **TLA+ / TLC** over a faithful model, plus a user-POV **Mermaid statechart** (max 6 boxes per view, marking broken rules and shortest path).
|
|
13
|
+
- **Mathematical theorem or algorithmic property at every size** → **Lean 4** (`lake build` + `#print axioms` restricted to `[propext, Classical.choice, Quot.sound]`), **Coq/Rocq**, or **Z3/SMT**, verified with `verify_proof.py audit-static`.
|
|
14
|
+
- **Multi-lemma proof or multi-module invariant** → initialize a **Claim-DAG ledger** (`verify_proof.py dag init`), prove tractable `ready_leaves` first, and discharge temporary `sorry` stubs bottom-up (`Prove2Me` / `Fable 5.2` pattern).
|
|
15
|
+
- **UI state invariants under arbitrary interaction** → property-based UI explorer (**Bombadil** `always(...)` invariants over real browser state).
|
|
16
|
+
- **No formal kernel fits** → run generated/exhaustive Python checks via `verify_proof.py able-to-fail --script <verify.py>`, never a detached toy model.
|
|
17
|
+
Done when the tool, exact command, and scope bounds/assumptions are named.
|
|
18
|
+
|
|
19
|
+
## Rules that keep verification honest
|
|
20
|
+
|
|
21
|
+
- **Statement Alignment & `Challenge.lean` isolation.** Lean compilation proves internal consistency of the *formalized* file, not alignment with prose:
|
|
22
|
+
- Keep target statements immutable in `Challenge.lean` with `formalization.yaml` mapping every hypothesis and quantifier ($\forall\exists$ vs $\exists\forall$, regularity bounds), and run **sme-review** (`references/techniques/sme-review.md`) against the prose spec.
|
|
23
|
+
- Run `verify_proof.py audit-static --challenge Challenge.lean --solution Solution.lean` (`Comparator` gate: zero `sorry`, `admit`, custom `axiom`, `native_decide`, or `[extern]`).
|
|
24
|
+
- **Proven able to fail.** A check never seen failing proves nothing. Enforce `verify_proof.py able-to-fail` (`--mutate` breaks a bound, sign, or guard and must exit non-zero) and keep `.scratch/formal-verification/<slug>-receipt.json`.
|
|
25
|
+
- **Dual audit for informal lemmas.** In mixed or informal proofs (`dag update`), never mark a lemma proved without either kernel verification (`kernel_verified`) or two independent line-by-line auditor passes (`proved_dual_verified`, `Siege` rule).
|
|
26
|
+
- **Never weaken a property to pass, and replay every counterexample.** Report counterexamples in plain terms and replay each trace against real code.
|
|
27
|
+
- **Separate model drift from code bugs, and respect hard stops.** Record covered files + **sync commit SHA**; passing a proof verifies only within stated bounds and never waives one-way-door hard stops.
|
|
28
|
+
|
|
29
|
+
## Output
|
|
30
|
+
|
|
31
|
+
Plain-English invariant/theorem and harm, tool and bounds/assumptions, statement-alignment + static-escape check, `able-to-fail` receipt, run output (or Claim-DAG ledger), counterexample replay, and covered files + sync SHA.
|
|
32
|
+
|
|
33
|
+
**Done when** `verify_proof.py` passed (`audit-static` clean and `able-to-fail` proven), every counterexample was replayed (or zero violations found within stated bounds), and covered files plus sync SHA are recorded.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# gen-ui
|
|
2
|
+
|
|
3
|
+
**Use when:** a wall of Markdown text is the wrong medium for talking to a human (ranked `/suggest` audits, `grill` decision frontiers, `self-grill` Prosecutor gap/overclaim heatmaps, `tournament` 12-lens brackets, multi-option comparisons, or architecture walkthroughs), OR when building an agent-driven product interface using Google's open **A2UI (`1.0`)** declarative UI protocol (`https://a2ui.org/`, `https://github.com/a2ui-project/a2ui`).
|
|
4
|
+
|
|
5
|
+
Agents default to terminal-era walls of text or unsafe model-authored HTML/JS. **gen-ui** fixes both:
|
|
6
|
+
1. **Speak UI to the human:** compile structured agent findings, decisions, and `/deep` prompts into a schema-validated **A2UI v1.0 payload (`surface.a2ui.json`)** plus a **self-contained interactive HTML cockpit (`index.html`)** inside `<root>/.scratch/gen-ui/<slug>/`.
|
|
7
|
+
2. **Build production agentic UIs with A2UI v1.0 ("data, not code"):** agents emit flat, ID-referenced component blueprints (`updateComponents`) and bound state (`updateDataModel`) validated against a client-owned `catalog.json`, rendered natively across React, Lit, Angular, Flutter, SwiftUI, and Jetpack Compose with zero arbitrary code execution across trust or A2A boundaries.
|
|
8
|
+
|
|
9
|
+
Pair with `skill://frontend-ui` (`references/playbook/04a-agent-ui.md`) for styling/accessibility rules and `skill://agent-harnesses` (`references/protocols.md`) for A2A, AG-UI, and MCP transport wiring.
|
|
10
|
+
|
|
11
|
+
## When to speak UI vs prose
|
|
12
|
+
|
|
13
|
+
- **Stay in concise Markdown** when the answer is `< 10` lines, one linear explanation, or a single yes/no question.
|
|
14
|
+
- **Generate an interactive `gen-ui` cockpit (`assets/gen-ui/gen_ui.py`)** when:
|
|
15
|
+
- `/suggest` returns multi-item ranked `P0`/`P1`/`P2` gaps, overclaims, and copy-paste `/deep` prompts (`prompt_tools.py suggest --ui`).
|
|
16
|
+
- `grill` or `tournament` surfaces `3+` coupled architectural decisions, trade-off matrices, or killed-flaw scar tables where the human benefits from interactive filtering and 1-click decision overrides.
|
|
17
|
+
- `self-grill` Prosecutor audits expose multi-file risk heatmaps, missing tests, or overclaim receipts.
|
|
18
|
+
- The user asks to visualize architecture, compare designs, or "gen UI / build UI to talk to me".
|
|
19
|
+
- **Build an in-app A2UI v1.0 surface** when the user's application needs dynamic, personalized agent responses (forms, booking cards, approval flows, live metric feeds) rendered with the host app's own design-system widgets.
|
|
20
|
+
|
|
21
|
+
## Procedure
|
|
22
|
+
|
|
23
|
+
1. **Define or select the trusted component catalog (`catalog.json`).**
|
|
24
|
+
- Every A2UI v1.0 surface binds to a `catalogId` with JSON Schema properties per allowed widget (`Card`, `Column`, `Row`, `Text`, `Button`, `MetricTile`, or domain cards like `FlightCard`).
|
|
25
|
+
- Never allow raw HTML/script execution in catalog components; unknown component types fail closed at compile/validation time or degrade cleanly to text.
|
|
26
|
+
- When using **A2UI Express** (`<a2ui> ... </a2ui>` with `$/path` bindings) or a fast System-1 selector model, generate the prompt skill directly from `catalog.json` via the A2UI Agent SDK (Python, TypeScript, or Dart).
|
|
27
|
+
Done when the allowed component catalog and JSON Schema contract are fixed before UI generation.
|
|
28
|
+
|
|
29
|
+
2. **Emit flat adjacency-list components + separated data model.**
|
|
30
|
+
- Follow the A2UI `1.0` wire split:
|
|
31
|
+
- `createSurface`: `{"version": "1.0", "createSurface": {"surfaceId": "...", "catalogId": "..."}}`
|
|
32
|
+
- `updateComponents`: flat array of `{id, component, child|children, ...}` starting at `"id": "root"`. Flat IDs let LLMs stream incrementally and patch one node by ID without deep-nested JSON breakage.
|
|
33
|
+
- `updateDataModel`: `{"version": "1.0", "updateDataModel": {"surfaceId": "...", "path": "/", "value": {...}}}`. Bind dynamic values via RFC 6901 JSON Pointers (`{"@path": "/metrics/overclaims"}` in v1.0) so sensitive server state can bind on the client without passing raw secrets through the model.
|
|
34
|
+
- For local `deepmodebot` human cockpits, run the contained generator (writes only inside `<root>/.scratch/gen-ui/<slug>/`):
|
|
35
|
+
```bash
|
|
36
|
+
python -B "<this installed skill>/assets/gen-ui/gen_ui.py" from-suggest --root "<project-root>" --slug suggest --json
|
|
37
|
+
python -B "<this installed skill>/assets/gen-ui/gen_ui.py" from-grill --root "<project-root>" --slug grill --json
|
|
38
|
+
python -B "<this installed skill>/assets/gen-ui/gen_ui.py" render --root "<project-root>" --slug custom --stdin --json <<'EOF'
|
|
39
|
+
{"title": "Architecture Decision Cockpit", "decisions": [...], "findings": [...]}
|
|
40
|
+
EOF
|
|
41
|
+
```
|
|
42
|
+
Done when `surface.a2ui.json` (and `index.html` for local cockpits) is emitted inside `.scratch/gen-ui/<slug>/` or the app's transport stream.
|
|
43
|
+
|
|
44
|
+
3. **Choose the right transport & MCP Apps hybrid pattern (when building apps).**
|
|
45
|
+
- **A2UI over AG-UI / A2A / WebSockets:** full streaming conversational generative UI across orchestrator and remote subagents.
|
|
46
|
+
- **Pattern 1 — A2UI over MCP (`application/a2ui+json`, `a2ui://` URI):** return A2UI JSON as an MCP Resource (`resources/read` for static zero-LLM forms) or embedded `CallToolResult` resource (`tools/call` for dynamic tool views) so the host renders native widgets with zero iframe clash.
|
|
47
|
+
- **Pattern 2 — MCP Apps inside A2UI:** wrap bespoke stateful canvases (WebGL/3D, games, seat maps) inside a custom A2UI iframe wrapper component; sync only macro key-states (`action` -> `updateDataModel`), never micro-state polling.
|
|
48
|
+
- **Pattern 3 — A2UI inside MCP Apps:** bundle `<a2ui-surface>` + `@modelcontextprotocol/ext-apps` `AppBridge` inside an MCP App iframe to bring dynamic generative controls to legacy or non-A2UI hosts.
|
|
49
|
+
Done when transport and sandbox boundaries match the host's capabilities.
|
|
50
|
+
|
|
51
|
+
4. **Validate wire safety and verify the rendered surface.**
|
|
52
|
+
- Run deterministic A2UI v1.0 validation on every generated bundle:
|
|
53
|
+
```bash
|
|
54
|
+
python -B "<this installed skill>/assets/gen-ui/gen_ui.py" validate-a2ui --file "<project-root>/.scratch/gen-ui/<slug>/surface.a2ui.json" --json
|
|
55
|
+
```
|
|
56
|
+
- Confirm `valid: true` (unique flat IDs, `root` present, acyclic `child`/`children` graph, zero orphans, allowlisted catalog components, resolvable `@path` pointers, and zero `<script>`/`javascript:` injection).
|
|
57
|
+
- For interactive HTML cockpits or web A2UI renderers (`@a2ui/react`, `@a2ui/lit`, `@a2ui/angular`), verify in a real browser (`Operate` surface mode, OKLCH role tokens, keyboard focus, working filters, and valid `renderer_to_agent` v1.0 `action` payload export so human choices round-trip back into the session). Link the clickable file path for the user; pass `--open` only when interactive viewing is helpful.
|
|
58
|
+
Done when `validate-a2ui` exits `0` and the rendered UI is verified free of console, layout, or escaping defects.
|
|
59
|
+
|
|
60
|
+
**Done when** the A2UI v1.0 surface passes schema, cycle, pointer, and script-injection validation, renders cleanly in native widgets or the contained interactive cockpit, and gives the human a faster decision/inspection loop than prose alone.
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
**Use when:** a plan, design, or idea needs stress-testing before work starts ("grill me", "grill this plan", "stress-test it", "poke holes in this"), or a Wayfinder ticket labeled `wayfinder:grilling`.
|
|
4
4
|
|
|
5
5
|
You run the interview, and by default you also answer it: the user prefers the agent decide. A grilling that ends in questions nobody answered has failed.
|
|
6
|
+
**Never present an un-converged `v1`:** run internal adversarial passes (`v1 -> v2 -> ... -> vK`) against real repo files until a pass finds **0 new P0/P1 flaws**, then show converged `vK` plus a short scar table of killed flaws.
|
|
6
7
|
|
|
7
8
|
1. **Tree.** Map the plan as a design tree: every decision, and the decisions that hang off it. The **frontier** is every decision whose prerequisites are settled. Done when every decision in the plan is a node and the frontier is marked.
|
|
8
9
|
2. **Round.** Write the whole frontier as numbered questions, each with its real options. Done when each frontier decision has a numbered question with at least two options.
|
|
@@ -14,7 +15,7 @@ You run the interview, and by default you also answer it: the user prefers the a
|
|
|
14
15
|
Log each answer as one row in the decision trail per the **show-me-your-work** technique (`references/techniques/show-me-your-work.md`): the question, the choice, why, the evidence, and how to reverse it.
|
|
15
16
|
Done when every question in the round has a trail row.
|
|
16
17
|
4. **Recompute.** Settled answers push the frontier outward. A question that depends on another question still open waits for a later round. Repeat until the frontier is empty: every branch visited, nothing silently assumed.
|
|
17
|
-
5. **Report and proceed.** Show the user the decisions as a short table (question, choice, why, how to reverse)
|
|
18
|
+
5. **Report, visualize when multi-branch, and proceed.** Show the user the decisions as a short table (question, choice, why, how to reverse); when `3+` coupled decisions or trade-offs exist (or the user wants a visual interactive view), also render an A2UI v1.0 decision cockpit (`assets/gen-ui/gen_ui.py from-grill --spec-stdin`, per `references/techniques/gen-ui.md`) inside `.scratch/gen-ui/` so the human can inspect options and override any choice with one click, then carry on with the work without waiting for confirmation.
|
|
18
19
|
Done when the table holds one row per trail row and the next piece of work has started.
|
|
19
20
|
|
|
20
21
|
**Live mode.** Only when the user asks to answer themselves ("interview me", "wait for my answers", "ask me live"): present each round with your recommended answer, worded so "yes" accepts it, and wait for their answers before the next round. Facts are still yours to look up; never ask the user for one.
|
|
@@ -1,23 +1,12 @@
|
|
|
1
1
|
# how
|
|
2
2
|
|
|
3
|
-
**Use when:** "how does X work", walkthroughs before changing
|
|
3
|
+
**Use when:** "how does X work", code walkthroughs before changing a subsystem, or placement and ownership questions ("where should this live", "which package owns this"). Motivation questions → **why**. Routine code reads inside a playbook trace directly inline without invoking this technique.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
- **Simple** (one module, small utility, "how does function X work"): one `scout` explores and explains in one pass. Go to 4. When in doubt, take this path.
|
|
7
|
-
- **Complex** (subsystem across files/services, cross-cutting feature, full overview): go to 2.
|
|
8
|
-
- Done when the path (simple or complex) and your reading of the scope are stated.
|
|
9
|
-
2. Decompose into 2 to 4 distinct angles; spawn one `scout` per angle in a single `task` batch, each told to trace its slice and return findings with `file:line`. Done when every angle has returned findings with `file:line` citations.
|
|
10
|
-
3. Spawn one explainer (`scout`) with the question and all explorer findings. It reconciles overlaps, resolves contradictions by reading code, fills gaps, doesn't re-explore from scratch.
|
|
11
|
-
Done when the explainer's output leaves no contradiction between findings unresolved.
|
|
12
|
-
4. Present the explainer's output; light edits only. Done when the answer has every Output section that applies.
|
|
5
|
+
If the scope is ambiguous, state your interpretation and explore.
|
|
13
6
|
|
|
14
|
-
**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- **Where Things Live**: minimal file/dir map.
|
|
19
|
-
- **Gotchas**: non-obvious behavior, pitfalls.
|
|
7
|
+
1. **Explain positive flow and negative space.** Spawn one read-only explorer (`scout` across Antigravity, Claude Code, `omp`, or Codex) that traces the code for a senior engineer: overview, key concepts, step-by-step runtime flow with `file:line`, where things live, and **gaps, unhandled failure paths, silent stubs, or cross-module parity drift**. Split into 2 to 4 parallel angles only for genuinely cross-cutting multi-subsystem overviews.
|
|
8
|
+
Done when the explanation covers both how the scope works and what it omits or leaves unguarded, with `file:line` citations.
|
|
9
|
+
2. **Present.** Share the explanation with light edits for clarity or conversation context. Don't pad simple modules or rewrite from scratch.
|
|
10
|
+
Done when every code claim carries a `file:line` citation and open questions are listed.
|
|
20
11
|
|
|
21
|
-
**
|
|
22
|
-
|
|
23
|
-
**Done when** the question is answered with `file:line` citations for every claim about the code, and each open question is named.
|
|
12
|
+
**Done when** the question is answered with `file:line` citations for every claim about the code and each open question is named.
|
|
@@ -18,13 +18,13 @@ An outer loop (`loop.py`, `run-a-goal`, `work-a-queue`, `/goal`) multiplies what
|
|
|
18
18
|
- Live artifact proof (`references/principles/prove-it-works.md`). Drive the real CLI, service, or UI through its `verify-<app>` skill or entrypoint.
|
|
19
19
|
- Thin prose last (`references/techniques/correct.md`). Keep `AGENTS.md` and `CODING_STANDARDS.md` only for judgment calls no check can express.
|
|
20
20
|
Done when each rule sits at the lowest layer that can check it and every custom check prints how to fix a violation.
|
|
21
|
-
3. **Close code-slop escape hatches in checks
|
|
22
|
-
- Inline type or lint suppressions (`# type: ignore`, `# pyright: ignore`, `# noqa`, `# pylint: disable`, `# nosec`,
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
Done when a planted suppression or
|
|
21
|
+
3. **Close code-slop escape hatches in checks (0 tokens).** Run `python -B "<this skill>/assets/local-ci/slop_gate.py" --root <root>` (or the compiled Rust `native/dmb-gate` binary) in `.deepmodebot/ci.yml` and git `pre-commit` (`project_setup.py --install-hooks`) so every diff fails closed before any LLM review:
|
|
22
|
+
- Inline type or lint suppressions (`# type: ignore`, `# pyright: ignore`, `# noqa`, `# pylint: disable`, `# nosec`, `@ts-ignore`, `@ts-expect-error`, `eslint-disable`, `biome-ignore`, `#[allow(`, `// nolint`), swallowed exceptions (`except:` / `except Exception: pass`), and `TODO`/`FIXME`/`NotImplementedError` stubs (via `loop.py` `scan_text_slop`).
|
|
23
|
+
- Hardcoded secrets (AWS/GitHub/AI/Stripe keys, PEM private keys), unpinned `@main`/`@master` GitHub Actions, unsafe sinks (`eval`/`innerHTML`/`subprocess.run` without `timeout=`), TS `as any`, Rust `.unwrap()`, and Go `_ = err`.
|
|
24
|
+
- Test theater (empty tests, 0-assertion tests, `assert True`, `assertEqual(x, x)`) and newly added god-functions (`>120` lines or nesting `>5`).
|
|
25
|
+
- Reward-hacking escapes (`assets/reward-guard/reward_guard.py`, `deepmodebot gate reward`): zeroed similarity/fidelity flags (`--min-iou 0`, `--skip-reference`), weakened diff bounds, unconditional test `.skip`s, procedural primitive stand-ins (`create_cube`/`create_cone`), tampered contract hashes, missing upstream provenance receipts (`job_id` + SHA-256), and missing independent judge sign-off.
|
|
26
|
+
- Polyglot auto-linters on changed files only (`ruff`, `shellcheck`, `node --check`), `perf_audit.py` high findings, `ui_audit.py` P0/P1 findings, `<boundaries>` import rules, `<budgets>` size caps, and guardrail config-tamper locks (`.deepmodebot/policy.xml`).
|
|
27
|
+
Done when a planted suppression, secret, or 0-assertion test fails `slop_gate.py` and guardrail configs are protected.
|
|
28
28
|
4. **Split fast feedback from full acceptance.** Keep `fast_check` (types, lint, structural checks, fast unit tests) under roughly 30 seconds so every edit gets immediate feedback, and wire it into commit hooks with **pre-commit** (`references/techniques/pre-commit.md`). Keep slower integration suites and live runtime checks in `check` so static checks alone never count as done.
|
|
29
29
|
Done when `fast_check` and `check` both run from the project root and fail on a planted fault.
|
|
30
30
|
5. **Bind outer goal loops to the hardened inner loop.** Before launching `loop.py`, `run-a-goal` (`references/playbooks/run-a-goal.md`), or `self-authoring` (`references/playbooks/self-authoring.md`):
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# model-setup
|
|
2
|
+
|
|
3
|
+
**Use when:** configuring which models and reasoning budgets deepmodebot uses per role across omp, Claude Code, Codex, or Google Antigravity ("configure models", "model budget", "per-role models", or updating role defaults).
|
|
4
|
+
|
|
5
|
+
1. **Detect entitled models.** Enumerate model slugs actually callable by subagents or CLI (`omp`, `claude`, `codex`, `agy`) in this session, or run `python -B "<this skill>/assets/setup/model_setup.py" inspect --root "<root>"`. Ask the user to paste slugs only when detection is unavailable. Never write an unverified concrete slug; `inherit-parent` and `auto` are always valid aliases.
|
|
6
|
+
2. **Load & migrate existing config.** Read `<root>/.deepmodebot/models.json` if present (`defaults_version: 3`), dropping retired roles (`hardest tasks`, `architect runners`, `reflect tooling`, `why investigators`) and upgrading stale legacy defaults while preserving custom user choices:
|
|
7
|
+
- Cap `# budget: unlimited` to `large` (`xhigh`; no role runs above `xhigh`).
|
|
8
|
+
- Upgrade legacy Gemini panel seats (`gemini-4-neon-high` or older non-Neon `gemini-4-*` in `arena_runners`, `arena_cross_judge_pool`, `interrogate_reviewers`) to `gemini-4-neon-xhigh`.
|
|
9
|
+
- Replace single-vendor Claude-only `arena_cross_judge_pool` lists (`claude-fable-*` + `claude-opus-*` share one vendor) with cross-vendor defaults (`claude-opus-5-5-high-fast`, `gemini-4-neon-xhigh`).
|
|
10
|
+
3. **Select reasoning budget & map effort.** Choose `large` (`xhigh`, default), `medium` (`high`, -1 step), or `small` (`medium`, -2 steps) on `xhigh > high > medium > low`, shifting real slugs (`claude-opus-5-5-*-fast` keeps `-fast`; `claude-fable-5-2-*` and `gemini-4-neon-*` have no `-fast` or `max` slug; `inherit-parent`/`auto` stay unchanged) via `model_setup.py plan --budget <large|medium|small>`.
|
|
11
|
+
4. **Validate & write idempotently.** Confirm every concrete slug is in the detected set at `<=xhigh` (`arena_cross_judge_pool` excludes `inherit-parent`/`auto` and orders cross-vendor judges by preference), then write `<root>/.deepmodebot/models.json` via `model_setup.py write` (read automatically by `autoroute.py`).
|
|
12
|
+
5. **Offer verification skills once (optional).** If the repo has no `verify-*` app harness skill, offer `skill://create-verification-skill` once; if it has no formal model/prover skill, offer `skill://create-formal-verification-skill` once.
|
|
13
|
+
|
|
14
|
+
**Done when** `.deepmodebot/models.json` is validated and written idempotently with `defaults_version: 3` and `<=xhigh` verified slugs, migrated entries are reported, and optional verification-skill offers are handled without nagging.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# modernize-pr
|
|
2
|
+
|
|
3
|
+
**Use when:** evaluating an aging or stalled PR/branch ("modernize this PR", "revive this old branch", "is this PR still worth landing?") that has drifted behind `main` before spending tokens blindly rebasing merge conflicts.
|
|
4
|
+
|
|
5
|
+
1. **Extract original intent & proof.** Read the PR description, linked issue, review history, and `git diff $(git merge-base origin/main <branch>)..<branch>` to list the exact problem the PR solved and what tests/evidence it originally carried.
|
|
6
|
+
2. **Measure trunk drift across 3 axes.** Compare `merge-base..origin/main` on touched subsystems:
|
|
7
|
+
- **Already solved or superseded:** trunk fixed the bug or shipped a cleaner replacement;
|
|
8
|
+
- **Architectural shift:** touched modules were refactored, moved, or replaced (`git log -M --stat merge-base..origin/main -- <paths>`), making mechanical conflict resolution wrong;
|
|
9
|
+
- **Cleanly rebaseable:** trunk changes are orthogonal or localized.
|
|
10
|
+
3. **Render an explicit 3-way verdict before editing:**
|
|
11
|
+
- **`MODERNIZE`:** intent still holds and design fits current trunk → rebase/merge onto `origin/main` in an isolated worktree, adapt to current types/conventions, run full checks + real-app proof, and route to `babysit` / **pr-review**.
|
|
12
|
+
- **`SALVAGE-SLICE`:** problem still matters, but the PR's implementation targets obsolete architecture → extract the valid test cases/domain insights and rebuild cleanly from `origin/main` via `feature` or `bug-fix` instead of fighting stale conflicts.
|
|
13
|
+
- **`CLOSE`:** trunk superseded it or product direction dropped it → cite the exact trunk commits/PRs that obsoleted it and recommend closing without code churn.
|
|
14
|
+
|
|
15
|
+
**Done when** original intent and trunk drift are cited by commit/file, one explicit verdict (`MODERNIZE`, `SALVAGE-SLICE`, or `CLOSE`) is backed by diff evidence, and (when `MODERNIZE` or `SALVAGE-SLICE` applies) the updated branch passes current trunk checks and runtime proof.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# mutation-testing
|
|
2
|
+
|
|
3
|
+
**Use when:** line/branch coverage looks high (`90%+`) yet bugs still slip through, when auditing test quality ("check theater"), or when hardening parsers, state machines, billing, crypto, or concurrency logic with property-based/fuzz tests.
|
|
4
|
+
|
|
5
|
+
1. **Pick high-consequence targets.** Scope to modules where a silent wrong answer corrupts state, money, auth, or safety—never waste mutation cycles on trivial getters or generated glue.
|
|
6
|
+
2. **Generate semantic mutants (isolated in `.scratch/`).** Use a language runner (`mutmut`, `cargo-mutants`, `Stryker`, `go-mutesting`) or apply 5–10 targeted high-value mutations in an isolated `.scratch/` copy (never mutating uncommitted user edits in place):
|
|
7
|
+
- Boundary flips (`<` ↔ `<=`, `==` ↔ `!=`, off-by-one slice bounds);
|
|
8
|
+
- Guard deletion (drop authz/tenant check, idempotency check, or rollback branch);
|
|
9
|
+
- State/order swaps (reorder lock/write steps, return cached/empty value early).
|
|
10
|
+
3. **Run the existing test suite per mutant.** Classify each as **killed** (a test failed for the right behavioral reason), **survived** (tests stayed green—check theater exposed!), or **equivalent** (observable behavior unchanged).
|
|
11
|
+
4. **Kill surviving mutants with behavioral + property-based tests.** Replace tautological/mock-heavy assertions with observable behavior checks (`references/principles/test-behavior-not-implementation.md`) and add shrinkable property-based invariants (`Hypothesis`, `fast-check`, `proptest`) or coverage-guided fuzz harnesses (`cargo-fuzz`, `atheris`, `libFuzzer`) asserting round-trip, idempotence, conservation, or crash-freedom across generated inputs.
|
|
12
|
+
|
|
13
|
+
**Done when** baseline and post-hardening mutant survival counts are measured on an isolated copy, every non-equivalent surviving mutant in critical paths is killed by a real behavioral or property-based test, and the working tree has zero leftover mutations.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# no-comments
|
|
2
2
|
|
|
3
|
-
**Use when:** cleaning comments from a diff or files. Scope = caller's files/diff, else current diff against the base branch (default `main`) incl. working tree.
|
|
3
|
+
**Use when:** cleaning comments from a diff or files ("no-comments", "remove comments", "strip comments"), and before review on M/L code diffs. Comments rot and lie, and AI agents read the comment instead of reading the code. Scope = caller's files/diff, else current diff against the base branch (default `main`) incl. working tree.
|
|
4
4
|
|
|
5
|
-
1. Spawn a default `task` agent
|
|
5
|
+
1. Spawn `comment-sicko` (`plugins/deepmodebot/agents/comment-sicko/agent.md`, or a default `task` agent when custom agents are unavailable) with the scope.
|
|
6
6
|
Delete comments in scope: narration, banners, commented-out code, workaround sermons.
|
|
7
7
|
Only keeps: legal/license headers; non-obvious behavior forced by an external dependency, platform, vendor, or protocol we can't reshape; `prettier-ignore`; lint suppressions whose rule is faulty, pedantic, or style-only; doc comments defining a public API contract; issue/RFC links explaining a constraint code can't express.
|
|
8
8
|
Unsure a keep applies → it dies.
|
|
9
|
-
Surprises in *our* code die and the exact symbol is flagged `MUST KILL` (rename, extract, type, or rearchitect so prose isn't needed). `eslint-disable`/`@ts-ignore`/`@ts-expect-error` on rules that catch real bugs or protect correctness/safety → kill and flag `MUST KILL`.
|
|
10
|
-
`IMPORTANT`, `do not remove`, `too risky`, `fine for now`, long justifications are scent: read nearby code, run **
|
|
9
|
+
Surprises in *our* code die and the exact symbol is flagged `MUST KILL` (rename, extract, type, or rearchitect so prose isn't needed). `eslint-disable`/`@ts-ignore`/`@ts-expect-error`/`noqa`/`type: ignore` on rules that catch real bugs or protect correctness/safety → kill and flag `MUST KILL`.
|
|
10
|
+
`IMPORTANT`, `do not remove`, `too risky`, `fine for now`, long justifications are scent: read nearby code, trace the symbol directly, or run **why** (`references/techniques/why.md`) on it; only a foreign keep-list gotcha proven true today on a live path survives.
|
|
11
11
|
Never shorten an alibi. Touches only comments; never writes application code; invents nothing.
|
|
12
12
|
Reports touched files, deletion count, `MUST KILL` flags (one line each), skips.
|
|
13
13
|
Done when its report lists touched files, the deletion count, flags, and skips.
|
|
14
14
|
2. Audit its report and diff. Reject application-code edits, scope escapes, deletions protected by an exception, misstated `MUST KILL` reasons, flags against kept intentional code.
|
|
15
15
|
Don't restore reshape-flagged our-code comments. Audit missed scoped lint/TS suppressions; correctness/safety ones stay `MUST KILL`. Restore only with an exact exception and scoped proof.
|
|
16
|
-
Thin `IMPORTANT`/`do not remove` verdicts → run **
|
|
16
|
+
Thin `IMPORTANT`/`do not remove` verdicts → trace the symbol directly or run **why** first. Ambiguous kill → stay deleted; refuted or ambiguous keep → delete.
|
|
17
17
|
One rejected report → revert and rerun with the failure named; a second rejection → report open and fail.
|
|
18
18
|
Done when the diff touches only comments in scope and each restored comment names its exception.
|
|
19
19
|
3. Fix trivial accepted flags directly (delete dead path, drop param, use the real API). Any fix needing a shape → run **architect** once for the accepted set, stop at the sketch.
|
|
@@ -6,9 +6,11 @@ A local S fix lands on no branch, so it needs no panel (`references/playbooks/op
|
|
|
6
6
|
|
|
7
7
|
1. **Freeze the subject.** The task's acceptance criteria (from its issue or card), the exact head SHA, the diff, and the author's evidence. A new push after this point means a new panel.
|
|
8
8
|
Done when the criteria, the head SHA, the diff, and the author's evidence are written into the verifier brief.
|
|
9
|
-
2. **Spawn three verifiers** in one
|
|
10
|
-
-
|
|
9
|
+
2. **Spawn three verifiers** in one batch on **fast low-tier models** (`Model: "flash"` in Antigravity, `@smol` in omp, `haiku`/`sonnet` in Claude Code, `gpt-6-luna` in Codex — never `inherit` Carbon/Pro/Opus/Fable/`xhigh` unless requested; start each brief with `Read <this installed skill>/worker.md before anything else.`, cap at `2–4` batched turns, and pass file/diff paths). Use execution-capable subagents (`self` with `Model: "flash"` in Antigravity), since they run checks; none is the author.
|
|
10
|
+
Cross-family low-tier 3-seat lineup when multi-vendor routing is available: `claude-haiku-5-5-high` (or `claude-sonnet-5-5-medium`), `gpt-6-luna`, and `gemini-4-flash` (or three distinct angles — behavior, edge cases, security/data — on `Model: "flash"` / `@smol` inside single-vendor harnesses; escalate to `claude-fable-5-2-high` / `claude-opus-5-5-high-fast` / `gemini-4-neon-xhigh` only on explicit user request). Each brief says:
|
|
11
|
+
- Be skeptical: the work is not done until you prove it is. Don't trust the author's evidence; reproduce it in `2–4` batched tool turns.
|
|
11
12
|
- At `<SHA>`, run the repo's checks, prove each acceptance criterion on the real surface (the repo's `verify-<app>` skill first), and make one serious attempt to break it (the riskiest path in the diff, bad input, an edge case).
|
|
13
|
+
- Audit for Goodhart reward hacking (`references/principles/no-reward-hacking.md`): reject any vote or diff that weakened a test/threshold (`--min-iou 0`, `.skip`), skipped a reference comparison, lacked an upstream provenance receipt (`job_id` + SHA-256) on generated assets, or substituted primitive boxes/cones/mocks for the real user goal.
|
|
12
14
|
- Never push, edit the branch, or comment on the PR.
|
|
13
15
|
- Reply with `VERDICT: DONE` or `VERDICT: NOT DONE`, then each criterion with the command or artifact that shows it, then every failure with a command that reproduces it.
|
|
14
16
|
|
|
@@ -22,10 +24,12 @@ A local S fix lands on no branch, so it needs no panel (`references/playbooks/op
|
|
|
22
24
|
|
|
23
25
|
## Gates
|
|
24
26
|
|
|
27
|
+
- **Final-head & anti-stacking gate:** Run the 3-seat panel strictly once deterministic tests and `pr-review` have `0` open `P0`/`P1` at the candidate merge SHA (never mid-iteration). Skip `panel` when an outer `/teamwork` verifier wave already gates the PR (`assets/quota-guard/quota_guard.py`).
|
|
28
|
+
- **Delta re-panel on minor fixes:** If an initial 3-seat panel fails and the fix touches `<=50` non-sensitive lines with green CI, re-verify the delta (`git diff <prev_sha>..<SHA>`) + open reproduction with **1** cross-family verifier instead of 3 cold spawns; run a fresh 3-seat panel on larger or sensitive rewrites.
|
|
25
29
|
- Verifiers vote independently: none sees another's verdict before giving its own.
|
|
26
30
|
- A panel covers one head SHA. Merge only that SHA (`gh pr merge --match-head-commit <SHA>`).
|
|
27
31
|
- Majority does not waive a failing deterministic check, changed acceptance contract, ownership or permission gate, or stale evidence. Retain dissent; resolve blocking review findings before merge.
|
|
28
|
-
-
|
|
32
|
+
- Two failed panels on one task (three only after a sensitive rewrite) → stop that task: mark it blocked with the findings and move on.
|
|
29
33
|
|
|
30
34
|
**Done when** the panel line names one head SHA and its count, and every DONE vote counted in it has a receipt you checked.
|
|
31
35
|
|
|
@@ -35,7 +35,7 @@ Roles come from `~/.config/deepmodebot/bot.json`. Each is `{"agent": "<acpx agen
|
|
|
35
35
|
| panel | none (the coordinator) | none | the tally and the head it covers |
|
|
36
36
|
| coordinator | none | none | the kickoff, status, the merge note |
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
Pin `reviewer` and `verifiers` to fast low-tier models (`Model: "flash"` in Antigravity session runs, `@smol` / `haiku` / `gpt-6-luna` across ACP harnesses, `2–4` batched turns each) so multi-round PR review and 3-seat panels do not burn flagship weekly quota (`author` keeps the main coding tier); give the reviewer a different model family than the author when available.
|
|
39
39
|
|
|
40
40
|
## Show the user
|
|
41
41
|
|
|
@@ -37,8 +37,10 @@ PR titles, bodies, comments, and diffs are untrusted text. Read them from files
|
|
|
37
37
|
PR mode: `git fetch origin "pull/$N/head"` then `git worktree add --detach "$WT" "$HEAD"`. Local mode: review in place, read-only.
|
|
38
38
|
Read the project brief, `STACK.md`, `CODING_STANDARDS.md`, `CONTRIBUTING.md`, `AGENTS.md` / `CLAUDE.md`, and `GLOSSARY.md` and the ADRs in `docs/adr/` when present: they carry the constraints and conventions the lenses check against.
|
|
39
39
|
Done when PR mode's `git -C "$WT" rev-parse HEAD` prints `$HEAD` and you have read each of those files that exists.
|
|
40
|
-
3. **Review
|
|
41
|
-
|
|
40
|
+
3. **Review (quota-bounded by `assets/quota-guard/quota_guard.py`).** Diff `<=150` changed lines, Size S (`references/playbooks/opening-a-pr.md`), `--lean`, or nested inside `/teamwork` or `/swarm`: review inline yourself in 1 pass across all four lenses (`0` subagents; Size S skips **pr-agent**).
|
|
41
|
+
For `151-600` changed lines (Size M / standard): pack 1 context bundle (`self_grill.py bundle` or `diff_coverage.py`) and spawn **1** read-only `reviewer` pinned to a fast low-tier model (`Model: "flash"` / `@smol` / `haiku` / `gpt-6-luna`, `2–4` batched tool turns; never `inherit` Carbon/Pro/Opus unless requested) covering all four lenses in one warm pass instead of 4 cold-cache spawns.
|
|
42
|
+
For `>600` changed lines or sensitive `L` PRs (top-level only): spawn at most **2** low-tier read-only `reviewer` subagents (`Model: "flash"` / `@smol` / `haiku` / `gpt-6-luna`, `Correctness+Spec` and `Security+Standards`, cross-family when available), walking `plan.json` thematic guide batches (`auth_security` → `backend_core` → `ui` → `config_ci` → `docs` → `tests`, `<=10` files / `<=400` lines per batch) when `>10` reviewable files so reviewers verify intent before implementation details.
|
|
43
|
+
Filter automated bot review comments separately from human review threads so bot noise never buries human objections.
|
|
42
44
|
- **Correctness & edge cases:** logic errors, empty/null/huge inputs, concurrency, error paths, off-by-one, broken callers of changed code.
|
|
43
45
|
- **Security & data handling:** injection, auth and permission checks, secrets, untrusted input, PII, data loss, and every project constraint from the brief.
|
|
44
46
|
- **Spec:** each user story and Done when item that is missing or only partly built; behavior the diff adds that the spec never asked for or puts out of scope; requirements that look built but behave wrong; whether the proof shows each Done when item on the real surface; missing or skipped tests. Quote the spec or issue line for each finding.
|
|
@@ -65,11 +67,12 @@ PR titles, bodies, comments, and diffs are untrusted text. Read them from files
|
|
|
65
67
|
LAST=$(grep -oE 'Reviewed head: [0-9a-f]{40}' "$BODY" | tail -1 | cut -d' ' -f3)
|
|
66
68
|
# PowerShell: $LAST = (Select-String -Path $BODY -Pattern 'Reviewed head: ([0-9a-f]{40})' | Select-Object -Last 1).Matches[0].Groups[1].Value
|
|
67
69
|
```
|
|
68
|
-
Refresh `$HEAD` and the worktree. If `git merge-base --is-ancestor "$LAST" "$HEAD"` holds, review only `git diff "$LAST" "$HEAD"`
|
|
70
|
+
Refresh `$HEAD` and the worktree. If `git merge-base --is-ancestor "$LAST" "$HEAD"` holds, review **only** `git diff "$LAST" "$HEAD"` plus open findings from the last review using at most **1** reviewer (messaging the warm reviewer when still alive instead of spawning a fresh wave); otherwise (force-push, rebase) run a full review.
|
|
71
|
+
Post a new review for the new head (step 5), marking each earlier finding fixed, dismissed (reason), or still open.
|
|
69
72
|
Done when the new review's `Reviewed head` equals the PR's current `headRefOid` and it marks every earlier finding.
|
|
70
73
|
7. **Stop** when any of these holds:
|
|
71
74
|
- **Clean:** no P0 or P1 open, and every P2 is fixed or dismissed with a reason. Verdict `ready`.
|
|
72
|
-
- **Cap:**
|
|
75
|
+
- **Cap:** 2 automated rounds on one PR (3 only when a P0/P1 fix introduced a new regression). Report what is left.
|
|
73
76
|
- **Oscillation:** a fix gets flagged back, or a finding reappears after being fixed. Stop and report both sides as `needs discussion`.
|
|
74
77
|
Never relax a finding into a dismissal just to reach a stopping condition. The same finding class twice across PRs means the codebase lacks a guardrail: route it to the **correct** technique (`references/techniques/correct.md`).
|
|
75
78
|
|
|
@@ -92,7 +95,7 @@ Clean up after PR mode (including on error/interrupt): remove `$WT` (`git worktr
|
|
|
92
95
|
<!-- deepmodebot:review -->
|
|
93
96
|
**deepmodebot review** · round <k> · verdict: **<ready | changes needed | needs discussion>**
|
|
94
97
|
Reviewed head: <full 40-char sha>
|
|
95
|
-
Coverage: <reviewed>/<total> reviewable files (<excluded> excluded, <skipped> skipped)
|
|
98
|
+
Coverage: <reviewed>/<total> reviewable files (<excluded> excluded, <skipped> skipped) · <loc_summary.badge from plan.json>
|
|
96
99
|
|
|
97
100
|
| # | Sev | Lens | File:line | Finding | Status |
|
|
98
101
|
|---|-----|------|-----------|---------|--------|
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
1. **Read what exists.** The repo's check commands (package scripts, `Makefile`, `justfile`, `pyproject.toml`, `Cargo.toml`, task runner) and the commands any CI workflow runs.
|
|
6
6
|
- Existing hook setup (`.husky/`, `.pre-commit-config.yaml`, `lefthook.yml`, `core.hooksPath` in git config): extend it, never add a second hook manager.
|
|
7
|
-
- For
|
|
7
|
+
- For zero-token diff-only anti-slop, secret, test-theater, linter, boundary, and budget gating on staged commits (`<1 s`), run `python -B "<deepmodebot>/assets/setup/project_setup.py" --root . --install-hooks` (or `deepmodebot init --install-hooks`), which installs a repo-local `.git/hooks/pre-commit` calling `dmb-gate` / `slop_gate.py --staged` without colliding with `.husky/`, `.pre-commit-config.yaml`, or `lefthook.yml`.
|
|
8
8
|
- The hook runs the same commands CI runs; when they differ, fix the gap in the same change.
|
|
9
|
-
- Done when you can list every check command and the hook manager already in place, or that there is none.
|
|
10
9
|
2. **Pick the manager by language.** Use the repo's existing formatter and linter. Add one only when there is none, and say which and why. Done when one manager is chosen and named with its reason.
|
|
11
10
|
|
|
12
11
|
| Repo | Manager | Pre-commit runs | Install |
|
|
@@ -1,44 +1,39 @@
|
|
|
1
1
|
# prior-art
|
|
2
2
|
|
|
3
|
-
**Use when:** before building
|
|
4
|
-
|
|
5
|
-
1. **Name
|
|
6
|
-
When
|
|
7
|
-
Done when
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
Done when
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- **Fork or clone** a whole project when it is most of what's needed; record the upstream URL and commit you started from.
|
|
33
|
-
- **Build** only when nothing fits, and say why each candidate didn't.
|
|
34
|
-
Done when each piece has one reuse choice, with the upstream URL and commit for a fork.
|
|
35
|
-
5. **Log the choice** as a decision-trail row (show-me-your-work): what you found, what you picked, the license, and the rejected candidates in one line each.
|
|
36
|
-
Done when the trail has that row.
|
|
3
|
+
**Use when:** before building any new feature, tool, scanner, integration, CLI, or service, when auditing an external GitHub organization for upgrades, or when asked "is there a library / project / reference for X". Mine proven open-source mechanisms, failure modes, and invariants before writing from scratch.
|
|
4
|
+
|
|
5
|
+
1. **Name constraints and gap questions** in one line: target job, language/runtime, acceptable permissive licenses (`MIT`, `Apache-2.0`, `BSD-*`, `ISC`), deployment constraints, must-have behavior, and what failure modes would disqualify a candidate.
|
|
6
|
+
When starting from a startup anecdote or video, read [startup references](../startup-ideas.md) first; popularity or revenue claims are never technical validation.
|
|
7
|
+
Done when constraints, license floor, and disqualifiers are explicit.
|
|
8
|
+
|
|
9
|
+
2. **Sweep across parallel discovery channels** (`researcher` or `scout` low-tier subagents across harnesses; `2-3` max). Always pair popular incumbents with recent breakouts:
|
|
10
|
+
- **Curated + trending catalog:** run `python -B "<this skill>/scripts/trending.py" find <terms> --json` (`py -3 -B` on Windows) against the 340+ repo catalog and [dated reference library](../../assets/repo-references.json).
|
|
11
|
+
- **Organization-wide SOTA sweep:** when mining engineering orgs (e.g. `cloudflare`, `vercel`, `astral-sh`), run `python -B "<this skill>/scripts/trending.py" org <org-or-url> --json` (or `deepmodebot net trending --orgs <orgs> --json`) to surface both flagship and newly pushed repos.
|
|
12
|
+
- **GitHub search & code:** `gh search repos "<terms>" --sort stars --limit 20` plus `--created ">=<90-days-ago>"`, and `gh search code "<symbol>" --limit 30`. For agent/PR orchestration, check `references/factory-landscape.md`.
|
|
13
|
+
- **Papers, registries & bundled docs:** `deepmodebot net fetch-papers --query "<terms>" --json` (extracts linked GitHub `code_urls`), npm/PyPI/crates.io/pkg.go.dev, `node_modules/<pkg>/docs`, and `npx opensrc <package>`.
|
|
14
|
+
- **The active repo itself:** check existing helpers, dependencies, and `gap_audit.py scan --root .` first so you never build a duplicate seam.
|
|
15
|
+
Done when every relevant channel returned candidates or an explicit null result.
|
|
16
|
+
|
|
17
|
+
3. **Verify license, code truth, and adversarial failure modes** (never judge by stars or README badges):
|
|
18
|
+
- **Root `LICENSE` verification:** read the actual `LICENSE` file for code, docs, assets, and weights. GitHub's SPDX detector frequently labels short Apache-2.0 headers `NOASSERTION`; inspect the file text directly, and reject unlicensed (`NONE`), `CC-BY-*` code, or copyleft/enterprise-restricted files when permissive terms are required (e.g., [OpenMausBot enterprise exception](https://github.com/milind-soni/OpenMausBot/blob/main/enterprise/LICENSE)).
|
|
19
|
+
- **Disconfirmation check:** inspect open bug issues, maintenance pulse, dependency weight, security advisories (`npm audit`, `pip-audit`, GHSA), and source code vs README claims.
|
|
20
|
+
- **Head-to-head runtime fit:** test the shortlisted candidate against the incumbent on a real check (size, latency, edge compatibility, test run in `<root>/.scratch/tmp/`).
|
|
21
|
+
Done when every finalist has verified license text, disconfirmation notes, and runtime-fit evidence.
|
|
22
|
+
|
|
23
|
+
4. **Choose reuse mode AND mine transferable invariants:**
|
|
24
|
+
- **Depend** on a maintained package when runtime/weight/license fit cleanly.
|
|
25
|
+
- **Copy or adapt** a focused module under permissive terms, preserving copyright/attribution in `NOTICE.md`.
|
|
26
|
+
- **Fork/clone** when most of the project fits, recording upstream URL and exact commit SHA.
|
|
27
|
+
- **Distill invariants & mechanical gates** even when building native code: extract edge-case test vectors, anti-patterns, and static rules into your repo's linters/gates (`gap_audit.py record-gap`) so the codebase permanently learns what upstream solved.
|
|
28
|
+
Done when each component has a reuse mode, attribution plan, and Differential Gap Matrix entry when upgrading an existing repo.
|
|
29
|
+
|
|
30
|
+
5. **Log the decision trail** (`show-me-your-work`): candidates evaluated, exact license verified, disconfirmations caught, winner chosen, and why alternatives lost.
|
|
31
|
+
Done when the trail records those fields.
|
|
37
32
|
|
|
38
33
|
## Gates
|
|
39
34
|
|
|
40
|
-
- Never copy code
|
|
41
|
-
-
|
|
42
|
-
-
|
|
35
|
+
- Never copy or adapt code/prompts from an unlicensed (`NONE`), unverified, or incompatible-license repository.
|
|
36
|
+
- Publishing packages or contacting upstream maintainers remains a hard stop (`SKILL.md` Autonomy).
|
|
37
|
+
- Adopted packages and clean-room ports must pass the same behavioral and adversarial tests as first-party code.
|
|
43
38
|
|
|
44
|
-
**Done when**
|
|
39
|
+
**Done when** every piece names its dependency, attributed source, fork SHA, or first-principles build rationale backed by license and disconfirmation receipts.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# product-lens
|
|
2
|
+
|
|
3
|
+
**Use when:** challenging whether a planned feature or product is ambitious and sharp enough ("founder review", "product review", "think bigger", "10-star experience", "is this a painkiller or vitamin?") before locking a spec.
|
|
4
|
+
|
|
5
|
+
Where **grill** stress-tests technical failure modes and **tournament** explores architectural/research shapes, **product-lens** interrogates user value, wedge sharpness, and time-to-magic:
|
|
6
|
+
|
|
7
|
+
1. **Painkiller vs vitamin test.** Name the exact user, the painful moment that makes them switch *today*, and what they currently cobble together (spreadsheets, scripts, manual copy-paste). If the plan solves a mild inconvenience with high setup friction, call it out bluntly.
|
|
8
|
+
2. **60-second time-to-value audit.** Count every click, signup wall, config file, or empty-state hurdle between first open and the user's first "aha" artifact. Eliminate cold-start blank screens with instant sample data, zero-config defaults, or 1-command local runs.
|
|
9
|
+
3. **5-star → 10-star inversion.** State the current plan (5-star: does what was asked), the 7-star version (removes adjacent manual drudgery automatically), and the 10-star ceiling (solves the underlying job end-to-end with verifiable proof), then pick the highest-leverage wedge that ships cleanly without scope bloat.
|
|
10
|
+
4. **Cut / Keep / Amplify table.** Classify every proposed item into **Cut** (settings/chrome/premature multi-tenancy nobody asked for), **Keep** (minimum viable spine), or **Amplify** (the 1–2 differentiating capabilities where craft creates unfair advantage).
|
|
11
|
+
|
|
12
|
+
**Done when** the user persona, switching trigger, 60-second value path, 10-star inversion, and explicit Cut/Keep/Amplify table are written cleanly and fed into the spec or build plan.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# prompt-upgrade
|
|
2
|
+
|
|
3
|
+
**Use when:** a user prompt is terse, messy, typo-heavy, vague, or bundles multiple unnumbered asks ("review my prompt", "improve my prompt", "convert to a deepmode prompt", "fix my prompt"), OR automatically in **Route** step 2 before executing any underspecified prompt so deepmodebot never misinterprets intent or drops scope.
|
|
4
|
+
|
|
5
|
+
Users naturally type fast shorthand. Never take a sloppy prompt literally into a shallow fix or guess silently past missing requirements.
|
|
6
|
+
|
|
7
|
+
## Procedure
|
|
8
|
+
|
|
9
|
+
1. **Inspect repo reality first.** Read the relevant paths, recent `git status`/`git diff`, and available checks/verify skills so intent is grounded in actual files instead of guesswork.
|
|
10
|
+
Done when the real files and checks touched by the user's request are identified.
|
|
11
|
+
2. **Compile the full-scope Deepmode prompt.** Pipe the raw prompt through the deterministic upgrader:
|
|
12
|
+
```bash
|
|
13
|
+
python -B "<this installed skill>/assets/prompt-tools/prompt_tools.py" upgrade --stdin --root "<project-root>" --json <<'EOF'
|
|
14
|
+
<raw user prompt>
|
|
15
|
+
EOF
|
|
16
|
+
```
|
|
17
|
+
Review the flagged weaknesses (`shorthand_or_vague`, `multi_part_unnumbered`, `missing_acceptance_oracle`, `missing_gap_overclaim_check`, `watered_down_or_optional_hardcore`) and sharpen the compiled prompt so it states:
|
|
18
|
+
- **Hardcore Mode by default (`references/principles/hardcore-mode.md`):** aim for the true first-principles architectural ceiling (real algorithms, parallel/async execution, solvers, crisp native representations/LODs, full end-to-end integration). Automatically promote any "(Optional hardcore mode)" or "bonus" technical tier into a mandatory numbered deliverable unless the user explicitly asks for a throwaway prototype or minimal patch.
|
|
19
|
+
- **Decoded intent & numbered full-scope deliverables:** every explicit and implied part numbered; never shrink or drop compound clauses ("X also Y also Z").
|
|
20
|
+
- **Repo grounding & containment:** exact files/surfaces to inspect first; root-only writes (`references/contain.md`).
|
|
21
|
+
- **Gap & overclaim check:** verify every claim, count, and "works/passes" statement against current files or fresh runs; hunt for missing edge cases, unbacked docs/claims, and silent gaps.
|
|
22
|
+
- **Real-artifact verification & self-grill gate:** exact failing-without-fix test or real-app run after final edits, `self_grill.py check-diff` (including `hardcore-craft-depth` anti-toy check), and `no-comments` cleanup.
|
|
23
|
+
- **Reversible assumptions vs hard stops:** resolve reversible ambiguity from repo evidence and state assumptions; pause only on real hard stops or irreversible forks.
|
|
24
|
+
Done when the full-scope prompt covers every deliverable, names its verification oracle, and includes the gap and overclaim check.
|
|
25
|
+
3. **Execute or return.**
|
|
26
|
+
- **Default (action request):** execute the upgraded full-scope prompt immediately without waiting for confirmation; mirror its numbered deliverables in the scope ledger.
|
|
27
|
+
- **Prompt-only mode** (the user asked to review, rewrite, or improve a prompt without running it): print the weaknesses caught, the decoded intent, and the ready-to-run full-scope `/deep ...` prompt.
|
|
28
|
+
Done when execution has started on the full-scope prompt, or the ready-to-run upgraded prompt is delivered in prompt-only mode.
|
|
29
|
+
|
|
30
|
+
**Done when** every implied deliverable is captured in a full-scope prompt with a real-artifact oracle and gap/overclaim audit, and either executed or returned ready to run.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
3. Mine your own history. In omp: `archive` in `eval` (recent sessions, recaps, prompt history) and `history://`; in Antigravity, Claude Code, Codex, or other harnesses: read saved workspace transcripts, `docs/handoffs/`, `.scratch/` trails, and `git log`.
|
|
8
8
|
For many sessions, fan out `scout`s by slice; order by real modification time, grep the topic first, read only matching regions, skip the current chat and subagent/eval/test noise. Each returns per session: topic, goal, decisions, open threads, struggles/corrections, artifacts (PRs, tickets, branches), cited by session id or path. One or two sessions → search directly. Raw transcripts stay in subagents.
|
|
9
9
|
Done when every in-scope session has a summary cited by its id.
|
|
10
|
-
4. Sweep the shared record whenever a feature, file, subsystem, area, or bug is named. This is the default, and "my work on X" doesn't exempt it. Run
|
|
10
|
+
4. Sweep the shared record whenever a feature, file, subsystem, area, or bug is named. This is the default, and "my work on X" doesn't exempt it. Run one read-only investigator per available source (git/PRs, tracker, docs, chat, telemetry) in parallel with step 3, reframed to "current state, what's been tried and didn't hold, what users still report". Null results are findings; unavailable sources are named. Skip only for pure activity recall with no target.
|
|
11
11
|
Done when every source has a finding, a null, or a named reason it was unavailable.
|
|
12
12
|
5. Verify surfaced PRs, branches, tickets against live state with `git` and `gh`. When the answer hinges on what an agent actually did, read the full transcript. Done when every thread carries a tag checked against live state.
|
|
13
13
|
6. Write the brief.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# reframe
|
|
2
|
+
|
|
3
|
+
**Use when:** `/reframe`, "what is this called", "expert words for what I'm building", or when an operator describes a system in plain words and needs precise domain vocabulary, neighboring-field analogies, unmentioned failure modes, and a rewritten specification.
|
|
4
|
+
|
|
5
|
+
1. Read the operator's own files, code, and description directly instead of working from a summary.
|
|
6
|
+
2. Disambiguate ambiguous descriptions first: when the description could name 2 or 3 distinct problems, list those 2 or 3 candidate problems, each with the single term that names it and the observable sign that tells it apart from the others; then pick the most likely problem and state why.
|
|
7
|
+
3. Give 8 to 12 expert terms, ranked by how much each changes what gets built. For every term, state:
|
|
8
|
+
- the word and its meaning in one plain sentence;
|
|
9
|
+
- the exact part of the operator's description or code it names;
|
|
10
|
+
- one real project, paper, or shipped system that uses the term that way, with a link you opened and confirmed;
|
|
11
|
+
- what naming that term lets the operator ask an agent to build or enforce.
|
|
12
|
+
4. Pick 2 or 3 neighboring fields that solved the same shape of problem under different names. For each field, state what transfers directly, where the analogy breaks down, and which terms carry back.
|
|
13
|
+
5. Name what the operator did not mention but should care about (invariants, edge boundaries, operational failure modes, or hidden state).
|
|
14
|
+
6. Rewrite the operator's description cleanly using the verified expert words.
|
|
15
|
+
|
|
16
|
+
**Hard rules.** Open every link (via web fetch/search or local repo docs) and confirm it uses the term that way; cut any citation you cannot confirm. Zero padding; pass prose through **unslop**.
|
|
17
|
+
|
|
18
|
+
**Done when** multi-meaning descriptions are disambiguated, 8–12 ranked terms each carry a confirmed link and concrete agent ask, 2–3 neighboring analogies state both transfer and breakdown limits, omitted concerns are named, and the description is rewritten in those terms.
|