deepmodebot 0.9.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +2 -2
- package/.omp-plugin/marketplace.json +2 -2
- package/README.md +38 -5
- package/bin/deepmodebot.mjs +257 -4
- package/lib/clients.mjs +50 -3
- package/lib/tree.mjs +64 -10
- package/native/dmb-gate/Cargo.toml +13 -0
- package/native/dmb-gate/src/agents.rs +110 -0
- package/native/dmb-gate/src/ci.rs +1032 -0
- package/native/dmb-gate/src/cleanup.rs +198 -0
- package/native/dmb-gate/src/gap.rs +1376 -0
- package/native/dmb-gate/src/guard.rs +135 -0
- package/native/dmb-gate/src/main.rs +535 -0
- package/native/dmb-gate/src/map.rs +173 -0
- package/native/dmb-gate/src/perf.rs +347 -0
- package/native/dmb-gate/src/reward.rs +2867 -0
- package/native/dmb-gate/src/sim.rs +969 -0
- package/native/dmb-gate/src/skill_check.rs +171 -0
- package/native/dmb-gate/src/slop.rs +2004 -0
- package/native/dmb-gate/src/ui.rs +842 -0
- package/native/dmb-gate/src/util.rs +260 -0
- package/native/dmb-net/go.mod +3 -0
- package/native/dmb-net/main.go +624 -0
- package/native/dmb-net/main_test.go +122 -0
- package/package.json +12 -2
- package/plugins/deepmodebot/.antigravity-plugin/plugin.json +1 -1
- package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +5 -5
- package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +1 -1
- package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +2 -2
- package/plugins/deepmodebot/.antigravity-plugin/skills/suggest/SKILL.md +13 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +2 -2
- package/plugins/deepmodebot/.claude-plugin/plugin.json +1 -1
- package/plugins/deepmodebot/.codex-plugin/plugin.json +46 -0
- package/plugins/deepmodebot/agents/comment-sicko.md +29 -0
- package/plugins/deepmodebot/agents/researcher.md +29 -0
- package/plugins/deepmodebot/agents/reviewer.md +29 -0
- package/plugins/deepmodebot/agents/scout.md +28 -0
- package/plugins/deepmodebot/agents/security-reviewer.md +27 -0
- package/plugins/deepmodebot/commands/deep.md +7 -6
- package/plugins/deepmodebot/commands/research.md +8 -0
- package/plugins/deepmodebot/commands/suggest.md +10 -0
- package/plugins/deepmodebot/commands/tournament.md +2 -2
- package/plugins/deepmodebot/hooks/hooks.json +12 -2
- package/plugins/deepmodebot/hooks.json +1 -1
- package/plugins/deepmodebot/scripts/antigravity-guard.mjs +862 -26
- package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +179 -47
- package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +4 -6
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +3 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +4 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +3 -1
- package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +3 -3
- package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +12 -2
- package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +11 -3
- package/plugins/deepmodebot/skills/app-automation-relay/SKILL.md +17 -0
- package/plugins/deepmodebot/skills/app-automation-relay/assets/relay_server.ts +364 -0
- package/plugins/deepmodebot/skills/app-automation-relay/references/adapter-cookbook.md +15 -0
- package/plugins/deepmodebot/skills/app-automation-relay/references/wire-protocol.md +23 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +4 -3
- package/plugins/deepmodebot/skills/cloud-devsecops/references/cloudflare-edge.md +43 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +15 -2
- package/plugins/deepmodebot/skills/contribute/SKILL.md +3 -35
- package/plugins/deepmodebot/skills/create-formal-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/create-formal-verification-skill/NOTICE.md +16 -0
- package/plugins/deepmodebot/skills/create-formal-verification-skill/SKILL.md +71 -0
- package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +2 -2
- package/plugins/deepmodebot/skills/deep-learning/LICENSE +21 -0
- package/plugins/deepmodebot/skills/deep-learning/SKILL.md +33 -0
- package/plugins/deepmodebot/skills/deep-learning/references/neural-architectures.md +43 -0
- package/plugins/deepmodebot/skills/deep-learning/references/papers-and-repos.md +128 -0
- package/plugins/deepmodebot/skills/deep-learning/references/reinforcement-learning.md +57 -0
- package/plugins/deepmodebot/skills/deep-learning/references/training-optimization.md +40 -0
- package/plugins/deepmodebot/skills/deep-learning/references/weight-space-programming.md +76 -0
- package/plugins/deepmodebot/skills/deep-learning/scripts/hf_passes.py +166 -0
- package/plugins/deepmodebot/skills/deep-learning/scripts/wsp.py +493 -0
- package/plugins/deepmodebot/skills/deep-stack/SKILL.md +1 -1
- package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +46 -92
- package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +1 -0
- package/plugins/deepmodebot/skills/deep-stack/references/prove.md +6 -0
- package/plugins/deepmodebot/skills/deep-stack/references/stack.md +11 -1
- package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +83 -146
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +67 -24
- package/plugins/deepmodebot/skills/deepmodebot/assets/autoroute/autoroute.py +1026 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/cleanup/self_cleanup.py +305 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +4 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +736 -6
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/holdout_guard_cases.json +272 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +861 -9
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +3 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/rehearsal_gate.py +536 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/f2p-gate/f2p_gate.py +547 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/formal-verification/verify_proof.py +638 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/gap-audit/gap_audit.py +1047 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/gen-ui/gen_ui.py +1782 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +55 -7
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +55 -5
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/local_ci.py +796 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/local-ci/slop_gate.py +1049 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +748 -46
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/memory/project_memory.py +928 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/mutation/mutation_gate.py +798 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +48 -21
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +339 -5
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +96 -6
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/prompt-tools/prompt_tools.py +1239 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/quota-guard/quota_guard.py +424 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +477 -1
- package/plugins/deepmodebot/skills/deepmodebot/assets/reward-guard/reward_guard.py +3447 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule-paths.json +100 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rule_ledger.py +1671 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/rules/rules_watch.py +436 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +13 -10
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/static_sec_audit.py +275 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/self-grill/self_grill.py +2049 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/setup/model_setup.py +329 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/setup/project_setup.py +348 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/sim/sim.py +856 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +304 -18
- package/plugins/deepmodebot/skills/deepmodebot/assets/worker-gate/worker_gate.py +237 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +121 -78
- package/plugins/deepmodebot/skills/deepmodebot/references/README.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +17 -11
- package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/delegation.md +18 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/full-scope.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +2 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +12 -9
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +7 -3
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +3 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +4 -4
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +13 -10
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +6 -6
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +3 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +1 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +4 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/hardcore-mode.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/no-reward-hacking.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +2 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/rule-approval.md +71 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +10 -24
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +5 -4
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +3 -3
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/autoroute.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/catchup-video.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +9 -7
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/devex-review.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/expand-contract.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/formal-verification.md +33 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/gen-ui.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +2 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +7 -18
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +12 -8
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/model-setup.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/modernize-pr.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/mutation-testing.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +5 -5
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +9 -5
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +8 -5
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +1 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +33 -38
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/product-lens.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prompt-upgrade.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +1 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reframe.md +18 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/release-and-canary.md +10 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +62 -89
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +5 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/self-grill.md +54 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +3 -3
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sim.md +41 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +3 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/suggest.md +24 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +2 -2
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +30 -18
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/variant-analysis.md +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/video-forensics.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +10 -1
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/webhook-ui.md +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +141 -18
- package/plugins/deepmodebot/skills/deepmodebot/worker.md +28 -0
- package/plugins/deepmodebot/skills/domain-rules/SKILL.md +13 -119
- package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +19 -1
- package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +7 -0
- package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +11 -0
- package/plugins/deepmodebot/skills/domain-rules/references/sources.md +108 -0
- package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +30 -131
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/canvas.css +42 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/editorial.css +39 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/layouts.css +95 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/swiss.css +40 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/tactile.css +41 -0
- package/plugins/deepmodebot/skills/frontend-ui/assets/themes/workbench.css +50 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-animations.md +49 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +46 -24
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +27 -258
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +26 -51
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +22 -195
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/00-art-direction.md +39 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +27 -24
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +23 -17
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +22 -45
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +11 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +32 -152
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +36 -91
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +14 -120
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +11 -10
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +9 -9
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06b-media-icons-charts.md +19 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06c-product-shots-craft.md +42 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +5 -6
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +28 -56
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +9 -7
- package/plugins/deepmodebot/skills/frontend-ui/scripts/motion_diff.py +259 -0
- package/plugins/deepmodebot/skills/frontend-ui/scripts/ui_audit.py +496 -0
- package/plugins/deepmodebot/skills/maintain-formal-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/maintain-formal-verification-skill/NOTICE.md +16 -0
- package/plugins/deepmodebot/skills/maintain-formal-verification-skill/SKILL.md +68 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +1 -1
- package/plugins/deepmodebot/skills/office-documents/SKILL.md +24 -0
- package/plugins/deepmodebot/skills/office-documents/references/documents-docx-pdf.md +15 -0
- package/plugins/deepmodebot/skills/office-documents/references/presentations-pptx.md +15 -0
- package/plugins/deepmodebot/skills/office-documents/references/spreadsheets-xlsx.md +15 -0
- package/plugins/deepmodebot/skills/office-documents/scripts/doc_audit.py +230 -0
- package/plugins/deepmodebot/skills/project-brief/SKILL.md +2 -19
- package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +4 -0
- package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +4 -0
- package/plugins/deepmodebot/skills/project-brief/references/claim-contract.md +55 -0
- package/plugins/deepmodebot/skills/research/SKILL.md +18 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +1 -1
- package/plugins/deepmodebot/skills/seo-and-geo/SKILL.md +29 -0
- package/plugins/deepmodebot/skills/seo-and-geo/references/geo-and-agentic-web.md +30 -0
- package/plugins/deepmodebot/skills/seo-and-geo/references/technical-and-schema.md +25 -0
- package/plugins/deepmodebot/skills/seo-and-geo/scripts/seo_audit.py +282 -0
- package/plugins/deepmodebot/skills/software-architecture/SKILL.md +2 -2
- package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +5 -0
- package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +1 -0
- package/plugins/deepmodebot/skills/statechart/LICENSE +21 -0
- package/plugins/deepmodebot/skills/statechart/NOTICE.md +21 -0
- package/plugins/deepmodebot/skills/statechart/SKILL.md +106 -0
- package/plugins/deepmodebot/skills/statechart/references/render.md +93 -0
- package/plugins/deepmodebot/skills/statechart/references/tooling.md +78 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/cfg.ts +33 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/mermaid.ts +249 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/plain-text.ts +72 -0
- package/plugins/deepmodebot/skills/statechart/scripts/backends/report.ts +177 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/config.ts +276 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/dot.ts +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/marks.ts +93 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/messages.ts +52 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/spec.ts +114 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/trace.ts +24 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/value.ts +166 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/verdict.ts +40 -0
- package/plugins/deepmodebot/skills/statechart/scripts/frontends/view.ts +119 -0
- package/plugins/deepmodebot/skills/statechart/scripts/ir.ts +547 -0
- package/plugins/deepmodebot/skills/statechart/scripts/janitor.ts +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/kill.ts +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/package.json +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/annotate.ts +128 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/label.ts +269 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/lift.ts +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/loop-check.ts +68 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/paths.ts +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/reach.ts +135 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/region-check.ts +97 -0
- package/plugins/deepmodebot/skills/statechart/scripts/passes/regions.ts +295 -0
- package/plugins/deepmodebot/skills/statechart/scripts/pipeline.ts +76 -0
- package/plugins/deepmodebot/skills/statechart/scripts/run.ts +500 -0
- package/plugins/deepmodebot/skills/statechart/scripts/statechart +29 -0
- package/plugins/deepmodebot/skills/statechart/scripts/statechart.ts +165 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/ConfigOracle.java +63 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/chart.test.ts +1253 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/cli.test.ts +1344 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/corpus.test.ts +441 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/differential.test.ts +565 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/drawn.ts +20 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/grid/Grid.tla +9 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/grid/sany.out +2 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/java.ts +63 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/labels.ts +648 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/messages.test.ts +226 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/pipeline.test.ts +270 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/render.test.ts +145 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
- package/plugins/deepmodebot/skills/statechart/scripts/test/tlc.ts +158 -0
- package/plugins/deepmodebot/skills/statechart/scripts/tsconfig.json +11 -0
- package/plugins/deepmodebot/skills/statechart/scripts/worker.ts +35 -0
- package/plugins/deepmodebot/agents/reviewer/agent.md +0 -33
- package/plugins/deepmodebot/agents/scout/agent.md +0 -34
- package/plugins/deepmodebot/agents/security-reviewer/agent.md +0 -30
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +0 -391
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +0 -146
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +0 -483
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +0 -139
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +0 -301
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +0 -602
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +0 -69
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +0 -160
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +0 -180
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +0 -265
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +0 -192
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +0 -2182
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +0 -19
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +0 -691
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +0 -127
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +0 -496
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +0 -1426
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +0 -320
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +0 -326
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +0 -55
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +0 -53
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +0 -94
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +0 -610
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +0 -250
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +0 -654
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +0 -879
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Word Documents (`.docx`) & PDFs (`.pdf`)
|
|
2
|
+
|
|
3
|
+
Checked as of 2026-11-25.
|
|
4
|
+
|
|
5
|
+
## 1. Word Documents (`.docx`)
|
|
6
|
+
|
|
7
|
+
- **Tool choice:** `python-docx` (Python) or `docx` npm package (TypeScript/Node) for generating clean structured `.docx` files; direct OOXML (`zipfile` + `lxml`/`ElementTree` on `word/document.xml`) when inserting OOXML `<w:ins>` / `<w:del>` tracked redlines or preserving complex custom elements `python-docx` does not wrap.
|
|
8
|
+
- **Semantic styles over inline font hacks:** Use built-in/template paragraph styles (`Heading 1`, `Heading 2`, `Normal`, `List Bullet`) so Word's Navigation Pane and Table of Contents (`TOC`) work natively. Never build tables with space-padded plain text or fake headings by bolding `Normal` paragraphs.
|
|
9
|
+
- **Tables & page breaks:** Set explicit column widths on every cell (`w:tcW`), repeat table header rows across page breaks (`w:tblHeader`), and set `keep_with_next = True` on all headings so a heading is never stranded at the bottom of a page.
|
|
10
|
+
|
|
11
|
+
## 2. PDFs (`.pdf`)
|
|
12
|
+
|
|
13
|
+
- **Reading & extraction:** `pypdf` / `pypdfium2` / `pdfplumber` (tables & bounding boxes); use OCR (`pytesseract` / vision) only on scanned image-only pages where extracted text is empty.
|
|
14
|
+
- **Generating new PDFs:** Prefer HTML+CSS `@page` rendered via Playwright/Chromium `page.pdf()` (or Typst / WeasyPrint / ReportLab `platypus`) over low-level manual `(x, y)` canvas drawing, which frequently overlaps lines on variable-length text.
|
|
15
|
+
- **Merging, splitting & AcroForm filling:** Use `pypdf` (`PdfReader` / `PdfWriter`) to inspect form fields (`get_fields()`), populate AcroForm widgets (`update_page_form_field_values`), set `/NeedAppearances` or flatten cleanly, and verify page count and extracted text on the output PDF with `doc_audit.py`.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Presentations (`.pptx`) — Layout Geometry & Overflow Prevention
|
|
2
|
+
|
|
3
|
+
Checked as of 2026-11-25.
|
|
4
|
+
|
|
5
|
+
## 1. Tool choice
|
|
6
|
+
|
|
7
|
+
- **Python:** `python-pptx` for template-driven and programmatic `.pptx` builds/edits.
|
|
8
|
+
- **Node / TypeScript:** `pptxgenjs` for clean declarative widescreen (`16:9`, `13.333" x 7.5"`) decks with shapes, charts, and tables.
|
|
9
|
+
|
|
10
|
+
## 2. Geometry, density & visual rules
|
|
11
|
+
|
|
12
|
+
- **Widescreen coordinate discipline (`16:9`):** Treat the slide canvas (`13.333" x 7.5"`) with a strict `0.5"` outer safe margin (`x in [0.5", 12.833"]`, `y in [0.45", 7.05"]`). Compute bounding boxes explicitly so two shapes never collide unless intentionally layered.
|
|
13
|
+
- **One takeaway per slide:** Headline states the conclusion ("P99 latency dropped 62% after batching"), never a vague topic label ("Performance Results"). Keep body copy under ~45–65 words per slide; split dense content into two slides instead of shrinking body font below `14pt`.
|
|
14
|
+
- **Visual variety over bullet walls:** Convert uniform bullet slides into two-column comparisons, metric callout cards (big stat + 1-line label), architecture/process diagrams, or clean data tables/charts. Pair typography and OKLCH/hex palette choices with `skill://frontend-ui`.
|
|
15
|
+
- **Inspect for overflow:** `python-pptx` and `pptxgenjs` do not reflow overflowing text onto new slides—long strings silently spill past the bottom of a shape or overlap the footer. `doc_audit.py` checks character/line density per text frame, and visual PDF/PNG raster inspection catches font-metric clipping.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Spreadsheets (`.xlsx`) — Formulas, Modeling & Recalculation
|
|
2
|
+
|
|
3
|
+
Checked as of 2026-11-25.
|
|
4
|
+
|
|
5
|
+
## 1. Tool choice
|
|
6
|
+
|
|
7
|
+
- **Authoring & editing `.xlsx` in Python:** `openpyxl` (preserves existing styles, formulas, named ranges, and sheets; load with `load_workbook(path, data_only=False)` when editing so formulas are never overwritten with cached values!). For write-only multi-sheet reports from scratch with rich conditional formatting and charts, `xlsxwriter` is fast and clean.
|
|
8
|
+
- **Data analysis / bulk tabular IO:** `polars` or `pandas` + `fastexcel`/`calamine` for reading; never write analytical models back with plain `df.to_excel()` when formulas, column widths, frozen headers, or number formats are needed.
|
|
9
|
+
|
|
10
|
+
## 2. Dynamic formulas & financial conventions
|
|
11
|
+
|
|
12
|
+
- **Never hardcode calculated outputs:** Any total, subtotal, variance, CAGR, ratio, or cross-sheet reference must be written as a string starting with `=` (`ws["B12"] = "=SUM(B4:B11)"`). `doc_audit.py` flags summary rows (`Total`, `Subtotal`, `Net`, `EBITDA`, `Margin`) that contain raw numeric literals instead of `<f>` formula elements.
|
|
13
|
+
- **Explicit number formatting:** Apply Excel number format codes to every numeric cell: currency `#,##0;(#,##0);"-"`, percentages `0.0%`, multiples `0.0"x"`, dates `yyyy-mm-dd`, integers `#,##0`.
|
|
14
|
+
- **Column widths & layout:** Auto-fit every column width (`max_chars + 4`, minimum `10`), freeze header panes (`ws.freeze_panes = "B2"`), disable gridlines on executive summary tabs when appropriate (`ws.views.sheetView[0].showGridLines = True/False`), and keep one table/grain per worksheet.
|
|
15
|
+
- **Recalculation proof:** `openpyxl` writes `<f>` tags without evaluating cached `<v>` values. Whenever LibreOffice (`soffice --headless --convert-to xlsx` or `pdf`) is installed, recalculate in `.scratch/` and re-run `doc_audit.py` so cached `<v>` cells exist and zero `#REF!`/`#DIV/0!`/`#NAME?` errors appear.
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Deterministic zero-dependency auditor for .xlsx, .pptx, .docx, and .pdf artifacts.
|
|
3
|
+
|
|
4
|
+
python -B doc_audit.py <file-or-dir> [--json] [--strict]
|
|
5
|
+
"""
|
|
6
|
+
from __future__ import annotations
|
|
7
|
+
|
|
8
|
+
import argparse
|
|
9
|
+
import json
|
|
10
|
+
import posixpath
|
|
11
|
+
import re
|
|
12
|
+
import sys
|
|
13
|
+
import xml.etree.ElementTree as ET
|
|
14
|
+
import zipfile
|
|
15
|
+
from pathlib import Path
|
|
16
|
+
|
|
17
|
+
sys.dont_write_bytecode = True
|
|
18
|
+
|
|
19
|
+
EXCEL_ERRORS = frozenset({"#REF!", "#DIV/0!", "#VALUE!", "#NAME?", "#N/A", "#NUM!", "#NULL!"})
|
|
20
|
+
SUMMARY_LABELS_RE = re.compile(r"^\s*(?:total|subtotal|grand\s+total|net\s+income|ebitda|gross\s+profit)\b", re.I)
|
|
21
|
+
REL_NS = "{http://schemas.openxmlformats.org/package/2006/relationships}Relationship"
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _check_ooxml_rels(zf: zipfile.ZipFile, rel_file: str, findings: list[dict]) -> None:
|
|
25
|
+
names = set(zf.namelist())
|
|
26
|
+
for item in names:
|
|
27
|
+
if not item.endswith(".rels"):
|
|
28
|
+
continue
|
|
29
|
+
try:
|
|
30
|
+
root = ET.fromstring(zf.read(item))
|
|
31
|
+
except ET.ParseError as err:
|
|
32
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "ooxml-xml-parse", "message": f"{item}: {err}"})
|
|
33
|
+
continue
|
|
34
|
+
base_dir = posixpath.dirname(posixpath.dirname(item))
|
|
35
|
+
for rel in root.findall(REL_NS):
|
|
36
|
+
if rel.attrib.get("TargetMode", "").lower() == "external":
|
|
37
|
+
continue
|
|
38
|
+
target = rel.attrib.get("Target", "")
|
|
39
|
+
if not target or target.startswith("#"):
|
|
40
|
+
continue
|
|
41
|
+
resolved = target.lstrip("/") if target.startswith("/") else posixpath.normpath(posixpath.join(base_dir, target))
|
|
42
|
+
if resolved not in names:
|
|
43
|
+
findings.append({
|
|
44
|
+
"file": rel_file,
|
|
45
|
+
"severity": "error",
|
|
46
|
+
"rule": "ooxml-broken-rel",
|
|
47
|
+
"message": f"{item} references missing archive member {resolved!r}",
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def audit_xlsx(path: Path, rel_file: str) -> dict:
|
|
52
|
+
findings: list[dict] = []
|
|
53
|
+
stats = {"sheets": 0, "formulas": 0, "error_cells": 0}
|
|
54
|
+
with zipfile.ZipFile(path, "r") as zf:
|
|
55
|
+
_check_ooxml_rels(zf, rel_file, findings)
|
|
56
|
+
shared: list[str] = []
|
|
57
|
+
if "xl/sharedStrings.xml" in zf.namelist():
|
|
58
|
+
sroot = ET.fromstring(zf.read("xl/sharedStrings.xml"))
|
|
59
|
+
for si in sroot.iter("{http://schemas.openxmlformats.org/spreadsheetml/2006/main}si"):
|
|
60
|
+
shared.append("".join(t.text or "" for t in si.iter("{http://schemas.openxmlformats.org/spreadsheetml/2006/main}t")))
|
|
61
|
+
|
|
62
|
+
sheet_files = sorted(n for n in zf.namelist() if n.startswith("xl/worksheets/sheet") and n.endswith(".xml"))
|
|
63
|
+
stats["sheets"] = len(sheet_files)
|
|
64
|
+
if not sheet_files:
|
|
65
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "xlsx-empty", "message": "Workbook has no worksheets"})
|
|
66
|
+
|
|
67
|
+
ns = "{http://schemas.openxmlformats.org/spreadsheetml/2006/main}"
|
|
68
|
+
for sf in sheet_files:
|
|
69
|
+
wroot = ET.fromstring(zf.read(sf))
|
|
70
|
+
for row in wroot.iter(f"{ns}row"):
|
|
71
|
+
cells = list(row.findall(f"{ns}c"))
|
|
72
|
+
first_text = ""
|
|
73
|
+
for idx, c in enumerate(cells):
|
|
74
|
+
ref = c.attrib.get("r", "?")
|
|
75
|
+
ctype = c.attrib.get("t", "")
|
|
76
|
+
f_el = c.find(f"{ns}f")
|
|
77
|
+
v_el = c.find(f"{ns}v")
|
|
78
|
+
is_el = c.find(f"{ns}is")
|
|
79
|
+
val = (v_el.text or "").strip() if v_el is not None else ""
|
|
80
|
+
if ctype == "s" and val.isdigit() and int(val) < len(shared):
|
|
81
|
+
text_val = shared[int(val)]
|
|
82
|
+
elif ctype == "inlineStr" and is_el is not None:
|
|
83
|
+
text_val = "".join(t.text or "" for t in is_el.iter(f"{ns}t"))
|
|
84
|
+
else:
|
|
85
|
+
text_val = val
|
|
86
|
+
if idx == 0:
|
|
87
|
+
first_text = text_val
|
|
88
|
+
if f_el is not None:
|
|
89
|
+
stats["formulas"] += 1
|
|
90
|
+
ftxt = (f_el.text or "").strip()
|
|
91
|
+
if any(err in ftxt for err in EXCEL_ERRORS):
|
|
92
|
+
stats["error_cells"] += 1
|
|
93
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "xlsx-formula-error", "message": f"{sf}:{ref} formula contains error literal ({ftxt})"})
|
|
94
|
+
if ctype == "e" or text_val in EXCEL_ERRORS:
|
|
95
|
+
stats["error_cells"] += 1
|
|
96
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "xlsx-cell-error", "message": f"{sf}:{ref} evaluates to error {text_val!r}"})
|
|
97
|
+
if idx > 0 and SUMMARY_LABELS_RE.search(first_text) and f_el is None and val and re.fullmatch(r"-?\d+(?:\.\d+)?", val):
|
|
98
|
+
findings.append({
|
|
99
|
+
"file": rel_file,
|
|
100
|
+
"severity": "warning",
|
|
101
|
+
"rule": "xlsx-hardcoded-total",
|
|
102
|
+
"message": f"{sf}:{ref} on summary row {first_text!r} has hardcoded number {val} instead of a formula",
|
|
103
|
+
})
|
|
104
|
+
return {"kind": "xlsx", "stats": stats, "findings": findings}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def audit_pptx(path: Path, rel_file: str) -> dict:
|
|
108
|
+
findings: list[dict] = []
|
|
109
|
+
a_ns = "{http://schemas.openxmlformats.org/drawingml/2006/main}"
|
|
110
|
+
p_ns = "{http://schemas.openxmlformats.org/presentationml/2006/main}"
|
|
111
|
+
with zipfile.ZipFile(path, "r") as zf:
|
|
112
|
+
_check_ooxml_rels(zf, rel_file, findings)
|
|
113
|
+
slides = sorted(n for n in zf.namelist() if re.fullmatch(r"ppt/slides/slide\d+\.xml", n))
|
|
114
|
+
if not slides:
|
|
115
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "pptx-no-slides", "message": "Presentation contains 0 slides"})
|
|
116
|
+
for sl in slides:
|
|
117
|
+
sroot = ET.fromstring(zf.read(sl))
|
|
118
|
+
total_words = 0
|
|
119
|
+
for sp in sroot.iter(f"{p_ns}sp"):
|
|
120
|
+
texts = [t.text or "" for t in sp.iter(f"{a_ns}t")]
|
|
121
|
+
joined = " ".join("".join(texts).split())
|
|
122
|
+
words = len(joined.split())
|
|
123
|
+
total_words += words
|
|
124
|
+
if "{{" in joined and "}}" in joined:
|
|
125
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "pptx-unfilled-placeholder", "message": f"{sl} still contains template token in {joined[:60]!r}"})
|
|
126
|
+
if total_words == 0:
|
|
127
|
+
findings.append({"file": rel_file, "severity": "warning", "rule": "pptx-blank-slide", "message": f"{sl} has zero text words"})
|
|
128
|
+
elif total_words > 140:
|
|
129
|
+
findings.append({"file": rel_file, "severity": "warning", "rule": "pptx-dense-slide", "message": f"{sl} has {total_words} words (>140 risk text overflow)"})
|
|
130
|
+
return {"kind": "pptx", "stats": {"slides": len(slides)}, "findings": findings}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def audit_docx(path: Path, rel_file: str) -> dict:
|
|
134
|
+
findings: list[dict] = []
|
|
135
|
+
w_ns = "{http://schemas.openxmlformats.org/wordprocessingml/2006/main}"
|
|
136
|
+
paragraphs = 0
|
|
137
|
+
with zipfile.ZipFile(path, "r") as zf:
|
|
138
|
+
_check_ooxml_rels(zf, rel_file, findings)
|
|
139
|
+
if "word/document.xml" not in zf.namelist():
|
|
140
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "docx-missing-body", "message": "Missing word/document.xml"})
|
|
141
|
+
else:
|
|
142
|
+
droot = ET.fromstring(zf.read("word/document.xml"))
|
|
143
|
+
paragraphs = len(list(droot.iter(f"{w_ns}p")))
|
|
144
|
+
body_txt = " ".join((t.text or "") for t in droot.iter(f"{w_ns}t"))
|
|
145
|
+
if "{{" in body_txt and "}}" in body_txt:
|
|
146
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "docx-unfilled-placeholder", "message": "Document contains unfilled {{...}} placeholder tokens"})
|
|
147
|
+
if not body_txt.strip():
|
|
148
|
+
findings.append({"file": rel_file, "severity": "warning", "rule": "docx-empty-text", "message": "Document contains zero visible text characters"})
|
|
149
|
+
return {"kind": "docx", "stats": {"paragraphs": paragraphs}, "findings": findings}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
def audit_pdf(path: Path, rel_file: str) -> dict:
|
|
153
|
+
findings: list[dict] = []
|
|
154
|
+
data = path.read_bytes()
|
|
155
|
+
if not data.startswith(b"%PDF-"):
|
|
156
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "pdf-header", "message": "File does not start with %PDF- header"})
|
|
157
|
+
if b"%%EOF" not in data[-2048:]:
|
|
158
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "pdf-eof", "message": "PDF is truncated or missing trailing %%EOF marker"})
|
|
159
|
+
pages = len(re.findall(rb"/Type\s*/Page\b(?!s)", data))
|
|
160
|
+
if pages == 0 and b"/Count" not in data:
|
|
161
|
+
findings.append({"file": rel_file, "severity": "error", "rule": "pdf-no-pages", "message": "No PDF Page objects detected"})
|
|
162
|
+
return {"kind": "pdf", "stats": {"approx_pages": pages, "bytes": len(data)}, "findings": findings}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
SUPPORTED_EXTS = {".xlsx": audit_xlsx, ".pptx": audit_pptx, ".docx": audit_docx, ".pdf": audit_pdf}
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def audit_path(target: Path) -> dict:
|
|
169
|
+
if target.is_file():
|
|
170
|
+
files = [target]
|
|
171
|
+
base = target.parent
|
|
172
|
+
elif target.is_dir():
|
|
173
|
+
skip = {".git", "node_modules", ".scratch", ".worktrees", "__pycache__"}
|
|
174
|
+
files = [
|
|
175
|
+
p for p in sorted(target.rglob("*"))
|
|
176
|
+
if p.is_file() and p.suffix.lower() in SUPPORTED_EXTS and not (skip & set(p.relative_to(target).parts))
|
|
177
|
+
]
|
|
178
|
+
base = target
|
|
179
|
+
else:
|
|
180
|
+
raise ValueError(f"target does not exist: {target}")
|
|
181
|
+
|
|
182
|
+
all_findings: list[dict] = []
|
|
183
|
+
checked: list[dict] = []
|
|
184
|
+
for f in files:
|
|
185
|
+
rel = f.name if target.is_file() else f.relative_to(base).as_posix()
|
|
186
|
+
ext = f.suffix.lower()
|
|
187
|
+
if ext not in SUPPORTED_EXTS:
|
|
188
|
+
raise ValueError(f"unsupported document extension {ext!r} (expected .xlsx, .pptx, .docx, .pdf)")
|
|
189
|
+
try:
|
|
190
|
+
res = SUPPORTED_EXTS[ext](f, rel)
|
|
191
|
+
checked.append({"file": rel, "kind": res["kind"], "stats": res["stats"]})
|
|
192
|
+
all_findings.extend(res["findings"])
|
|
193
|
+
except (zipfile.BadZipFile, ET.ParseError, OSError) as err:
|
|
194
|
+
all_findings.append({"file": rel, "severity": "error", "rule": "corrupt-container", "message": str(err)})
|
|
195
|
+
|
|
196
|
+
errors = sum(1 for item in all_findings if item["severity"] == "error")
|
|
197
|
+
warnings = sum(1 for item in all_findings if item["severity"] == "warning")
|
|
198
|
+
return {
|
|
199
|
+
"ok": errors == 0,
|
|
200
|
+
"files_checked": len(checked),
|
|
201
|
+
"errors": errors,
|
|
202
|
+
"warnings": warnings,
|
|
203
|
+
"documents": checked,
|
|
204
|
+
"findings": all_findings,
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
def main(argv: list[str] | None = None) -> int:
|
|
209
|
+
parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])
|
|
210
|
+
parser.add_argument("target")
|
|
211
|
+
parser.add_argument("--json", action="store_true")
|
|
212
|
+
parser.add_argument("--strict", action="store_true")
|
|
213
|
+
args = parser.parse_args(argv)
|
|
214
|
+
try:
|
|
215
|
+
rep = audit_path(Path(args.target).resolve())
|
|
216
|
+
except ValueError as exc:
|
|
217
|
+
print(f"error: {exc}", file=sys.stderr)
|
|
218
|
+
return 2
|
|
219
|
+
if args.json:
|
|
220
|
+
print(json.dumps(rep, indent=2))
|
|
221
|
+
else:
|
|
222
|
+
status = "OK" if rep["ok"] and not (args.strict and rep["warnings"]) else "FAIL"
|
|
223
|
+
print(f"doc-audit [{status}]: {rep['files_checked']} file(s), {rep['errors']} error(s), {rep['warnings']} warning(s)")
|
|
224
|
+
for item in rep["findings"]:
|
|
225
|
+
print(f" [{item['severity'].upper()}] {item['file']} ({item['rule']}): {item['message']}")
|
|
226
|
+
return 1 if (not rep["ok"] or (args.strict and rep["warnings"])) else 0
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
if __name__ == "__main__":
|
|
230
|
+
sys.exit(main())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: project-brief
|
|
3
|
-
description: "
|
|
3
|
+
description: "Publish docs/PROJECT_BRIEF.md, claimable task board, overlap/roadmap scripts, and CONTRIBUTING.md for contributors (re-run to refresh and release expired claims)."
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -27,24 +27,7 @@ Copy these into the target repo. Never overwrite a file that already exists; mer
|
|
|
27
27
|
|
|
28
28
|
## Shared contract
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- **Labels.** `help wanted` marks a claimable task. `good first issue` marks a small one. `claimed` is optional and maintainer-set.
|
|
33
|
-
- **Claim comment.** A contributor's agent posts this on the issue, only after its human says yes:
|
|
34
|
-
|
|
35
|
-
```text
|
|
36
|
-
<!-- deepmodebot:claim -->
|
|
37
|
-
Claimed by @<login> via /contribute
|
|
38
|
-
Plan: <one line>
|
|
39
|
-
Files: <comma-separated repo paths; a trailing "/" means a whole directory>
|
|
40
|
-
Expires: <YYYY-MM-DD, 7 days after posting>
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
- **Active claim.** Each author's newest claim comment on an open issue is their claim. It is active while `Expires` is today or later and that author has posted no later comment containing `<!-- deepmodebot:unclaim -->`. Every active claim counts: one person's claim, expiry or withdrawal never changes another person's.
|
|
44
|
-
- **Assignees.** An assignee also counts as a claim on the issue (not on any files), unless they posted a claim comment on it. Then only that comment counts: once it expires or is released, the assignment stops counting.
|
|
45
|
-
- **Overlap.** Two path sets overlap when a path is equal, or one is a directory prefix (`dir/`) of the other. Paths are repo-relative with forward slashes.
|
|
46
|
-
- **One issue = one branch = one PR.** The PR body says `Closes #N`.
|
|
47
|
-
|
|
30
|
+
Read `references/claim-contract.md` before posting or parsing claims, labels (`help wanted`, `good first issue`, `claimed`), overlap rules, or `pr-overlap.py` commands. Never invent variants; `skill://contribute`, `scripts/pr-overlap.py`, and `scripts/sync-roadmap.py` share that exact contract.
|
|
48
31
|
## Pass
|
|
49
32
|
|
|
50
33
|
Detect the mode first: if `docs/PROJECT_BRIEF.md` exists, this is a re-run; jump to step 8 after step 1.
|
|
@@ -52,6 +52,8 @@ import sys
|
|
|
52
52
|
from concurrent.futures import ThreadPoolExecutor
|
|
53
53
|
from dataclasses import dataclass, field
|
|
54
54
|
|
|
55
|
+
sys.dont_write_bytecode = True
|
|
56
|
+
|
|
55
57
|
CLAIM_MARKER = "<!-- deepmodebot:claim -->"
|
|
56
58
|
UNCLAIM_MARKER = "<!-- deepmodebot:unclaim -->"
|
|
57
59
|
OVERLAP_MARKER = "<!-- deepmodebot:overlap -->"
|
|
@@ -64,6 +66,7 @@ FIELD_RE = re.compile(r"^\s*(plan|files|expires)\s*:\s*(.*?)\s*$", re.IGNORECASE
|
|
|
64
66
|
REPO_RE = re.compile(r"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$")
|
|
65
67
|
|
|
66
68
|
MAX_WORKERS = 8
|
|
69
|
+
NO_WINDOW = getattr(subprocess, "CREATE_NO_WINDOW", 0)
|
|
67
70
|
|
|
68
71
|
OPEN_PRS_QUERY = " ".join("""
|
|
69
72
|
query($owner: String!, $name: String!, $cursor: String) {
|
|
@@ -111,6 +114,7 @@ def run_gh(args: list[str], input_text: str | None = None) -> str:
|
|
|
111
114
|
errors="replace",
|
|
112
115
|
env={**os.environ, "GH_PROMPT_DISABLED": "1", "NO_COLOR": "1"},
|
|
113
116
|
check=False,
|
|
117
|
+
creationflags=NO_WINDOW,
|
|
114
118
|
)
|
|
115
119
|
except OSError as exc:
|
|
116
120
|
raise GhError(f"could not run gh: {exc}") from exc
|
|
@@ -34,8 +34,11 @@ import sys
|
|
|
34
34
|
import tempfile
|
|
35
35
|
from typing import Any
|
|
36
36
|
|
|
37
|
+
sys.dont_write_bytecode = True
|
|
38
|
+
|
|
37
39
|
LABEL = "help wanted"
|
|
38
40
|
LIVE_QUERY = "is%3Aissue+is%3Aopen+label%3A%22" + LABEL.replace(" ", "+") + "%22"
|
|
41
|
+
NO_WINDOW = getattr(subprocess, "CREATE_NO_WINDOW", 0)
|
|
39
42
|
CLAIM_MARKER = "<!-- deepmodebot:claim -->"
|
|
40
43
|
UNCLAIM_MARKER = "<!-- deepmodebot:unclaim -->"
|
|
41
44
|
HEADER = "Generated from GitHub Issues by sync-roadmap.py. Edit issues, not this file."
|
|
@@ -53,6 +56,7 @@ def gh_api(path: str) -> list[Any]:
|
|
|
53
56
|
text=True,
|
|
54
57
|
encoding="utf-8",
|
|
55
58
|
errors="replace",
|
|
59
|
+
creationflags=NO_WINDOW,
|
|
56
60
|
)
|
|
57
61
|
if proc.returncode != 0:
|
|
58
62
|
raise GhError(f"gh api {path} failed: {proc.stderr.strip() or proc.stdout.strip()}")
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Claim and overlap contract
|
|
2
|
+
|
|
3
|
+
Shared contract used by `skill://project-brief`, `skill://contribute`, `scripts/pr-overlap.py`, and `scripts/sync-roadmap.py`. Don't invent variants.
|
|
4
|
+
|
|
5
|
+
## Labels
|
|
6
|
+
|
|
7
|
+
- `help wanted`: claimable task.
|
|
8
|
+
- `good first issue`: small, well-scoped task.
|
|
9
|
+
- `claimed`: optional, maintainer-set.
|
|
10
|
+
|
|
11
|
+
## Claim comment
|
|
12
|
+
|
|
13
|
+
One issue comment in this exact shape (marker line first, nothing else in the comment):
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
<!-- deepmodebot:claim -->
|
|
17
|
+
Claimed by @<login> via /contribute
|
|
18
|
+
Plan: <one line>
|
|
19
|
+
Files: <comma-separated repo paths; a trailing "/" means a whole directory>
|
|
20
|
+
Expires: <YYYY-MM-DD, 7 days after posting>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
- `<login>`: `gh api user -q .login`
|
|
24
|
+
- `Expires`: `python -B -c "import datetime as d;print(d.datetime.now(d.timezone.utc).date()+d.timedelta(days=7))"` (UTC; `py -3 -B` on Windows).
|
|
25
|
+
- Your newest claim comment on an open issue is your claim: it replaces earlier ones and never changes anyone else's. To renew or change `Files`, post a new claim comment; don't edit the old one.
|
|
26
|
+
|
|
27
|
+
## Unclaim comment
|
|
28
|
+
|
|
29
|
+
To release, post a comment from the same account containing `<!-- deepmodebot:unclaim -->`:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
<!-- deepmodebot:unclaim -->
|
|
33
|
+
Released by @<login>: <one-line reason>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Active claim & assignees
|
|
37
|
+
|
|
38
|
+
- **Active claim:** An author's newest claim comment on an open issue is active while `Expires` is today or later and that author has posted no later `<!-- deepmodebot:unclaim -->` comment. Every active claim counts; one person's claim, expiry, or withdrawal never changes another's.
|
|
39
|
+
- **Assignees:** An assignee also counts as a claim on the issue (not on any files), unless they posted a claim comment on it. Then only that comment counts: once it expires or is released, the assignment stops counting.
|
|
40
|
+
- **One issue = one branch = one PR.** The PR body says `Closes #N`.
|
|
41
|
+
|
|
42
|
+
## Overlap & `pr-overlap.py`
|
|
43
|
+
|
|
44
|
+
Two path sets overlap when a path is equal or one is a directory prefix (`dir/`) of the other. Paths are repo-relative with forward slashes.
|
|
45
|
+
|
|
46
|
+
Use the repo's `scripts/pr-overlap.py` when present, else the plugin's copy (omp: `skill://project-brief/assets/pr-overlap.py`; Claude Code: `<this skill dir>/../project-brief/assets/pr-overlap.py`; Antigravity: `~/.gemini/config/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py`; Codex: sibling `project-brief/assets/pr-overlap.py`):
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
python -B "$OVERLAP" claims --repo R --json
|
|
50
|
+
python -B "$OVERLAP" check --repo R --files a,b,dir/ --exclude-issue N
|
|
51
|
+
```
|
|
52
|
+
(Windows PowerShell: `py -3 -B $OVERLAP ...`.)
|
|
53
|
+
|
|
54
|
+
- `check` exit codes: `0` no overlap, `3` overlap (read the table), `2` usage or `gh` error (fix it; an error is not a pass).
|
|
55
|
+
- Say which copy you used. Every `check` after claiming must pass `--exclude-issue N` (and `--exclude-pr <your PR>` once your PR exists), otherwise your own claim reports as overlap.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research
|
|
3
|
+
description: "Adversarial SOTA & repo gap research (/research): primary-source code verification, mandatory disconfirmation probes, and SOTA-vs-repo Differential Gap Matrix across agy, omp, Claude Code, and Codex."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /research
|
|
7
|
+
|
|
8
|
+
Read `skill://deepmodebot` (`../deepmodebot/SKILL.md` from this folder, or `~/.gemini/config/plugins/deepmodebot/skills/deepmodebot/SKILL.md` in Antigravity) for **Contain the work** and **Non-negotiables**, then read `skill://deepmodebot/references/techniques/research.md` (plus `skill://deepmodebot/references/techniques/prior-art.md` when evaluating repos, packages, or GitHub orgs) in full.
|
|
9
|
+
|
|
10
|
+
Execute the identical 4-stage machine-checked workflow in every harness (`agy`, `omp`, `Claude Code`, `Codex`):
|
|
11
|
+
|
|
12
|
+
1. Initialize the ledger and baseline repo gap scan:
|
|
13
|
+
`python -B "<deepmodebot skill dir>/assets/gap-audit/gap_audit.py" init-research --root "<project-root>" --slug "<slug>" --question "<question>" --json` (`py -3 -B` on Windows).
|
|
14
|
+
2. Harvest primary code, specs, papers (`dmb-net fetch-papers`), and repo/org SOTA (`trending.py find` / `trending.py org`), inspecting root `LICENSE` text directly whenever SPDX is `NOASSERTION` or `NONE`.
|
|
15
|
+
3. Run adversarial disconfirmation probes (open GitHub bug issues, changelogs, CVEs, code-vs-README contradictions, and small-$n$ boundary checks) and record every claim via `gap_audit.py record-claim`.
|
|
16
|
+
4. Map **100% of material upstream SOTA capabilities and invariants** across every affected subsystem (`G1..GN`, never capped at 1–3 sample rows) against the active repository (`missing`, `partial`, `stubbed`, `divergent`, `parity`) via `gap_audit.py record-gap`, then enforce `gap_audit.py verify-research --dir "<ledger-dir>" --strict --render "<out.md>" --json` (`PASS`, exit 0) before replying.
|
|
17
|
+
|
|
18
|
+
Apply this to what the user asked for.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: secrets-and-auth
|
|
3
|
-
description: "
|
|
3
|
+
description: "Secrets and agent auth rules + free-first tools: .env/vaults, logins/MFA, credential brokers, OAuth/MCP auth, CI OIDC, secret scanning, and leak response."
|
|
4
4
|
metadata:
|
|
5
5
|
as-of: "2026-11-11"
|
|
6
6
|
---
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: seo-and-geo
|
|
3
|
+
description: "Technical SEO, Schema.org JSON-LD, Generative/Answer Engine Optimization (GEO/AEO), llms.txt, AI crawler policy, and Agentic Browsing readiness with deterministic auditing (seo_audit.py)."
|
|
4
|
+
metadata:
|
|
5
|
+
as-of: "2026-11-25"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Technical SEO, GEO & Agentic Web Readiness
|
|
9
|
+
|
|
10
|
+
Use when building, auditing, or shipping public web pages, documentation sites, landing pages, SaaS marketing routes, `robots.txt`, `sitemap.xml`, Schema.org JSON-LD, `llms.txt`, or browser-agent-accessible forms.
|
|
11
|
+
|
|
12
|
+
## Route to the right reference
|
|
13
|
+
|
|
14
|
+
- Crawlability, canonicals, Core Web Vitals (`LCP`/`INP`/`CLS`), OpenGraph, and Schema.org JSON-LD → `references/technical-and-schema.md`.
|
|
15
|
+
- Generative/Answer Engine Optimization (GEO/AEO), `llms.txt` / `llms-full.txt`, AI crawler `robots.txt` rules, and Agentic Browsing readiness → `references/geo-and-agentic-web.md`.
|
|
16
|
+
- Visual layout, typography, color, and UI craft → pair with `skill://frontend-ui`.
|
|
17
|
+
|
|
18
|
+
## Core rules (apply on every public web surface)
|
|
19
|
+
|
|
20
|
+
1. **Run the deterministic auditor before declaring done.** Execute `python -B "<this skill>/scripts/seo_audit.py" <dir-or-html-path> --json` (`py -3 -B` on Windows; also exposed as `deepmodebot gate seo`). Fix every `error` and review every `warning` on the real built HTML, not just JSX templates.
|
|
21
|
+
2. **Every indexable route needs one canonical identity.** Ship a unique `<title>` (30–60 chars), one `<meta name="description">` (70–160 chars), `<link rel="canonical" href="https://...">` with an absolute HTTPS URL, `<html lang="...">`, `<meta name="viewport">`, and matching `og:title`, `og:description`, `og:url`, `og:image`, and `twitter:card`.
|
|
22
|
+
3. **One `<h1>` and semantic landmarks.** Keep exactly one `<h1>` per document, non-skipping heading levels (`h1 -> h2 -> h3`), descriptive anchor text (never bare "click here" or "read more"), and `alt` attributes plus intrinsic `width`/`height` on every `<img>` to prevent layout shift (`CLS`).
|
|
23
|
+
4. **Validated JSON-LD only.** Every `<script type="application/ld+json">` block must parse as strict JSON (`<` escaped as `\u003c`), declare `"@context": "https://schema.org"` and a concrete `"@type"` (`SoftwareApplication`, `Article`, `FAQPage`, `Product`, `Organization`, `BreadcrumbList`), and reflect visible page facts (never hidden spam claims).
|
|
24
|
+
5. **Explicit AI-crawler & discovery policy.** Ship `robots.txt` naming a `Sitemap:` URL and explicit allow/disallow decisions for search vs training crawlers (`OAI-SearchBot`, `ChatGPT-User`, `Claude-SearchBot`, `PerplexityBot` vs `GPTBot`, `ClaudeBot`, `Google-Extended`, `CCBot`), plus a concise root `/llms.txt` (and optional `/llms-full.txt`) with quotable facts, canonical docs links, and install/API quickstarts.
|
|
25
|
+
6. **Agentic Browsing readiness = semantic HTML + fast deterministic actions.** Browser agents (Chrome Gemini, ChatGPT Atlas/Operator, Claude computer/browser use) rely on the accessibility tree, stable ARIA roles/labels, URL-addressable state, and explicit form validation errors—treat WebMCP (`navigator.modelContext`) only as a progressive enhancement on transactional forms, never a substitute for accessible HTML.
|
|
26
|
+
|
|
27
|
+
## Verification
|
|
28
|
+
|
|
29
|
+
Run `seo_audit.py` against the rendered/built output directory (e.g., `dist/`, `out/`, `docs/`, or captured SSR HTML) and inspect any JSON-LD, `robots.txt`, `sitemap.xml`, and `llms.txt` files directly.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# GEO/AEO, `llms.txt`, AI Crawlers & Agentic Browsing
|
|
2
|
+
|
|
3
|
+
Checked as of 2026-11-25.
|
|
4
|
+
|
|
5
|
+
## 1. Generative & Answer Engine Optimization (GEO / AEO)
|
|
6
|
+
|
|
7
|
+
AI answer engines and coding-agent research tools extract self-contained factual passages rather than keyword-stuffed marketing copy:
|
|
8
|
+
- **Lead with a quotable 1–2 sentence definition** immediately under `<h1>` stating what the product/concept is, who it is for, its license/pricing model, and its measurable scope or limits.
|
|
9
|
+
- **Pair claims with primary evidence:** Concrete numbers, benchmark dates, exact CLI commands, version numbers, and explicit "Fits when / Does not fit when" tables outperform vague adjectives in RAG/citation ranking and reduce model hallucination when citing your docs.
|
|
10
|
+
- **Question-shaped `<h2>`/`<h3>` headings** followed by a direct 40–80 word answer paragraph allow passage chunkers to retrieve complete answers without losing context across headings.
|
|
11
|
+
|
|
12
|
+
## 2. `llms.txt` and Markdown content negotiation
|
|
13
|
+
|
|
14
|
+
- **`/llms.txt` (concise index, `< 15 KB`):** Markdown file at the site root starting with `# <Project Name>`, `> <1-line summary>`, a brief factual overview ("Fits when / Does not fit when", install one-liners), and H2-grouped markdown links (`- [Title](https://.../path): 1-line description of what is inside`).
|
|
15
|
+
- **`/llms-full.txt` (optional bundle):** Concatenated primary docs with explicit `Source: <canonical-url>` delimiters regenerated deterministically in CI so it never drifts from the real docs.
|
|
16
|
+
- **Clean Markdown mirror / `Accept: text/markdown`:** Where practical on docs sites, serve clean `.md` URLs (`https://example.com/docs/page.md`) or content-negotiate `Accept: text/markdown` without navigation chrome, cookie banners, or client-only JS rendering.
|
|
17
|
+
|
|
18
|
+
## 3. Separate AI search crawlers from training crawlers in `robots.txt`
|
|
19
|
+
|
|
20
|
+
Blocking all AI user-agents blindly removes a site from live AI search citations. Separate **retrieval/grounding bots** from **corpus-training crawlers**:
|
|
21
|
+
- **Search / live citation bots (allow on public docs/marketing):** `OAI-SearchBot`, `ChatGPT-User`, `Claude-SearchBot`, `Claude-User`, `PerplexityBot`, `Perplexity-User`, `Googlebot`, `Bingbot`.
|
|
22
|
+
- **Model-training crawlers (explicit owner policy — allow for open-source/AI-SEO visibility, or disallow for proprietary content):** `GPTBot`, `ClaudeBot`, `Google-Extended`, `CCBot`, `Bytespider`, `Meta-ExternalAgent`.
|
|
23
|
+
|
|
24
|
+
## 4. Agentic Browsing readiness (Lighthouse Agentic Browsing & browser agents)
|
|
25
|
+
|
|
26
|
+
Sites operated by browser agents fail on custom `<div>` controls, hover-only menus, canvas-trapped text, and ephemeral toasts:
|
|
27
|
+
- **Accessibility tree completeness:** Every interactive element uses native `<button>`, `<a href>`, `<input>`, `<select>`, or explicit ARIA role + accessible name (`<label for>`, `aria-label`), `aria-expanded`, and `aria-invalid` + `aria-describedby` pointing to persistent inline error text.
|
|
28
|
+
- **URL-addressable state:** Filters, tabs, pagination, and steps reflect in URL query/path parameters so an agent (or human) can navigate directly, refresh, or bookmark without replaying fragile multi-click sequences.
|
|
29
|
+
- **Idempotent & confirmable mutations:** Destructive or paid actions expose a clear review/summary screen with explicit totals before final submission, and never fire irreversible side effects on `GET` or focus/blur.
|
|
30
|
+
- **WebMCP (`navigator.modelContext`) as optional progressive enhancement:** Expose structured client tools only when a site has complex multi-field forms or client workflows, keeping standard HTML forms 100% functional because non-Chromium engines and many headless harnesses do not execute WebMCP.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Technical SEO, Core Web Vitals & Schema.org JSON-LD
|
|
2
|
+
|
|
3
|
+
Checked as of 2026-11-25.
|
|
4
|
+
|
|
5
|
+
## 1. Crawlability, indexation & canonicals
|
|
6
|
+
|
|
7
|
+
- **Canonical URL hygiene:** Every indexable page emits `<link rel="canonical" href="https://example.com/exact-path">` using lowercase scheme/host and consistent trailing-slash policy across internal links, `sitemap.xml`, redirects (`301`/`308`, never redirect chains >1 hop), and `og:url`.
|
|
8
|
+
- **Meta directives:** Staging/preview deployments emit `X-Robots-Tag: noindex, nofollow` at the HTTP header layer so preview subdomains never leak into search indexes. Never combine `noindex` in `<meta name="robots">` with `Disallow:` in `robots.txt` on a URL you need crawlers to de-index (blocked crawlers never see the `noindex` tag).
|
|
9
|
+
- **XML Sitemaps (`sitemap.xml`):** Cap each sitemap file at 50,000 URLs / 50 MB uncompressed; include only `200 OK` canonical indexable URLs (zero `404`, `301`, or `noindex` URLs) and set `<lastmod>` only from real content modification timestamps (search engines ignore `<priority>` and `<changefreq>`, and penalize fake daily `<lastmod>` bumps).
|
|
10
|
+
- **Internationalization (`hreflang`):** Multi-locale pages must include reciprocal `hreflang` links (every locale links to all siblings plus itself and `x-default`).
|
|
11
|
+
|
|
12
|
+
## 2. Core Web Vitals budgets
|
|
13
|
+
|
|
14
|
+
- **LCP (Largest Contentful Paint `<= 2.5s`):** Never lazy-load (`loading="lazy"`) the above-the-fold hero image; add `fetchpriority="high"`, modern AVIF/WebP `srcset`, and SSR/SSG HTML so the hero element is discoverable in the initial document without waiting on client JS bundles.
|
|
15
|
+
- **INP (Interaction to Next Paint `<= 200ms`):** Break long main-thread tasks (`> 50ms`), defer non-critical hydration/analytics, keep event handlers synchronous only for immediate visual feedback, and avoid layout thrashing inside input/click handlers.
|
|
16
|
+
- **CLS (Cumulative Layout Shift `<= 0.1`):** Declare explicit `width` and `height` (or CSS `aspect-ratio`) on all images, videos, embeds, and ad/banner slots; use `font-display: swap` or `optional` with metric-matched fallback fonts.
|
|
17
|
+
|
|
18
|
+
## 3. High-trust Schema.org JSON-LD patterns
|
|
19
|
+
|
|
20
|
+
- Escape `<` as `\u003c` inside `<script type="application/ld+json">` so injected or user-controlled strings cannot break out of `<script>`.
|
|
21
|
+
- Use `@graph` with stable `@id` URIs (`https://example.com/#org`, `https://example.com/docs/#webpage`) when combining `Organization`, `WebSite`, `WebPage`, `BreadcrumbList`, and page-specific entities (`SoftwareApplication`, `TechArticle`, `Product`).
|
|
22
|
+
- Include only Google/schema-supported rich-result properties backed by visible page text:
|
|
23
|
+
- `SoftwareApplication`: `name`, `applicationCategory`, `operatingSystem`, `description`, `url`, `offers` (`price`, `priceCurrency`), `softwareVersion`.
|
|
24
|
+
- `TechArticle` / `Article`: `headline`, `author` (`Person` or `Organization` with `url`), `datePublished`, `dateModified` (ISO-8601 with timezone), `image`.
|
|
25
|
+
- `Product`: `name`, `image`, `description`, `sku`, `brand`, `offers` (`price`, `priceCurrency`, `availability` as full `https://schema.org/InStock` URI).
|