deepmodebot 0.0.0-stage → 0.9.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/.claude-plugin/marketplace.json +26 -0
- package/.omp-plugin/marketplace.json +26 -0
- package/LICENSE +24 -0
- package/README.md +377 -2
- package/bin/deepmodebot.mjs +229 -0
- package/lib/autoupdate.mjs +47 -0
- package/lib/clients.mjs +139 -0
- package/lib/run.mjs +32 -0
- package/lib/state.mjs +52 -0
- package/lib/tree.mjs +48 -0
- package/package.json +44 -4
- package/plugins/deepmodebot/.antigravity-plugin/plugin.json +35 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +13 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/land-pr/SKILL.md +23 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +17 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +16 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +14 -0
- package/plugins/deepmodebot/.claude-plugin/plugin.json +27 -0
- package/plugins/deepmodebot/agents/reviewer/agent.md +33 -0
- package/plugins/deepmodebot/agents/scout/agent.md +34 -0
- package/plugins/deepmodebot/agents/security-reviewer/agent.md +30 -0
- package/plugins/deepmodebot/assets/logo.svg +8 -0
- package/plugins/deepmodebot/commands/contribute.md +8 -0
- package/plugins/deepmodebot/commands/deep.md +11 -0
- package/plugins/deepmodebot/commands/land-pr.md +12 -0
- package/plugins/deepmodebot/commands/pr-thread.md +14 -0
- package/plugins/deepmodebot/commands/project-brief.md +8 -0
- package/plugins/deepmodebot/commands/review-pr.md +10 -0
- package/plugins/deepmodebot/commands/tournament.md +12 -0
- package/plugins/deepmodebot/hooks/hooks.json +26 -0
- package/plugins/deepmodebot/hooks.json +24 -0
- package/plugins/deepmodebot/mcp_config.json +11 -0
- package/plugins/deepmodebot/scripts/antigravity-guard.mjs +413 -0
- package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +1091 -0
- package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +57 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +391 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check.ts +53 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +38 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_claude.mjs +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/package.json +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/requirements.txt +1 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +190 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +50 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +108 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/claude-code.md +166 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/codex.md +151 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +230 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/langchain-ecosystem.md +124 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/omp.md +183 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +172 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/sdks.md +228 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/self-authoring.md +171 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +24 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/aws.md +264 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/azure.md +261 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/containers.md +96 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devops-tools.md +297 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devsecops-pipeline.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/gcp.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/kubernetes.md +74 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +265 -0
- package/plugins/deepmodebot/skills/contribute/SKILL.md +134 -0
- package/plugins/deepmodebot/skills/create-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +101 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/README.md +47 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/create-note.md +39 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/search.md +45 -0
- package/plugins/deepmodebot/skills/deep-stack/SKILL.md +53 -0
- package/plugins/deepmodebot/skills/deep-stack/references/AGENTS.template.md +52 -0
- package/plugins/deepmodebot/skills/deep-stack/references/agentic-workflow.md +114 -0
- package/plugins/deepmodebot/skills/deep-stack/references/any-app-stack.md +51 -0
- package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +101 -0
- package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +23 -0
- package/plugins/deepmodebot/skills/deep-stack/references/philosophy.md +306 -0
- package/plugins/deepmodebot/skills/deep-stack/references/prove.md +31 -0
- package/plugins/deepmodebot/skills/deep-stack/references/stack.md +119 -0
- package/plugins/deepmodebot/skills/deep-stack/references/structure.md +22 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/LICENSE +21 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/unslop.md +80 -0
- package/plugins/deepmodebot/skills/deepmodebot/LICENSE +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +198 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +207 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/architecture-review/report-template.html +92 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +42 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain-link.ts +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +115 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +483 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +139 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +301 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +602 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +242 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/evidence.py +293 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +387 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +339 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +180 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +265 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +132 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +192 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/bot.py +3037 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.json +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.py +51 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +361 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +274 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/local_updates.py +576 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/review_context.py +204 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +2182 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +691 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +127 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +496 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/workspace_cleanup.py +351 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2394 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +583 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +1426 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +320 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +326 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +244 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +165 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +240 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +53 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +350 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +370 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +94 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.html +425 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +579 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena_tui.py +839 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/font8x8_basic.hex +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +329 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +610 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +637 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +250 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +1820 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +54 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/audit-pr.sh +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/gate.cjs +155 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/prompt.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +654 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +1285 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/wizard/wizard.sh +234 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +879 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +2436 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/README.md +61 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/factory-landscape.md +147 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +37 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +77 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/bug-fix.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/eval.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/handoff.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +97 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/pause-safely.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/phased-build.md +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/prototype.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +45 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +143 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/runtime-forensics.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +130 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/session-pickup.md +33 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/shipping.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/spec.md +67 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/tickets.md +56 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/trace-forensics.md +24 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/triage.md +102 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/wayfinder.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +189 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/worktree-cleanup.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/attack-the-premise.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/boundary-discipline.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/build-the-lever.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/encode-lessons-in-structure.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/exhaust-the-design-space.md +4 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/experience-first.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/explain-the-number.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/fix-root-causes.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/foundational-thinking.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/guard-the-context-window.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/laziness-protocol.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/make-operations-idempotent.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/migrate-callers-then-delete-legacy-apis.md +5 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/minimize-reader-load.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/model-the-domain.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/never-block-on-the-human.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/outcome-oriented-execution.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/prove-it-works.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/redesign-from-first-principles.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/separate-before-serializing-shared-state.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/sequence-verifiable-units.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/subtract-before-you-add.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/rust-migration-case-studies.md +26 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/startup-ideas.md +21 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/agent-collaboration.md +82 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +43 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/benchmark-checklist.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +47 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/coworkers.md +70 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/domain-model.md +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/figure-it-out.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/git-guardrails.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/github-app.md +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/goal-review.md +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +27 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/in-your-own-words.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/interrogate.md +16 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/issue-conversation.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +29 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/open-design-evidence.md +65 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-agent.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +138 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/questionnaire.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/re-explain.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reflect.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +99 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/retro.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/scrape.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +40 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +49 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/technical-writing.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tool-routing.md +85 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tracker.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/unslop.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/why.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/wizard.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/workspace-map.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +66 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +93 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +598 -0
- package/plugins/deepmodebot/skills/domain-rules/SKILL.md +131 -0
- package/plugins/deepmodebot/skills/domain-rules/references/agent-engineering.md +105 -0
- package/plugins/deepmodebot/skills/domain-rules/references/ai-concepts.md +103 -0
- package/plugins/deepmodebot/skills/domain-rules/references/aws-networking.md +121 -0
- package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +162 -0
- package/plugins/deepmodebot/skills/domain-rules/references/data-structures-and-cache-optimization.md +48 -0
- package/plugins/deepmodebot/skills/domain-rules/references/devops-and-fundamentals.md +137 -0
- package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +100 -0
- package/plugins/deepmodebot/skills/domain-rules/references/high-scale-server-optimization.md +181 -0
- package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +56 -0
- package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +146 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/live-demos.md +38 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +28 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +269 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +62 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +217 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-patterns.md +101 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +25 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +46 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +153 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +106 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +121 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +48 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +26 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +11 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +63 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +13 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/project-brief/SKILL.md +100 -0
- package/plugins/deepmodebot/skills/project-brief/assets/CONTRIBUTING.template.md +124 -0
- package/plugins/deepmodebot/skills/project-brief/assets/ISSUE_TEMPLATE/task.yml +61 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PROJECT_BRIEF.template.md +98 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PULL_REQUEST_TEMPLATE.md +35 -0
- package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +643 -0
- package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +314 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +60 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/agent-authentication.md +198 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/leak-prevention.md +206 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/logins-and-passwords.md +165 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/secrets-and-env.md +182 -0
- package/plugins/deepmodebot/skills/software-architecture/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +273 -0
- package/plugins/deepmodebot/skills/software-architecture/references/databases.md +277 -0
- package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +210 -0
- package/plugins/deepmodebot/skills/software-architecture/references/ontology.md +287 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Bug Fix
|
|
2
|
+
|
|
3
|
+
Use when: something is broken and needs a fix. You own the task: plan, review, verify; delegate investigation and the fix to `task` subagents with pre-task model-tier selection (`skill://agent-harnesses/references/delegation-efficiency.md`: small for search/log-digests, mid/`medium` for oracle-backed fixes, flagship `L` for hard root-cause debugging and final review) and stay in the lead.
|
|
4
|
+
|
|
5
|
+
Be scientific: every shipped line traces to runtime evidence. A "might help" belt-and-suspenders change is a hypothesis, not a fix. It does not ship. When evidence refutes a hypothesis, revert what it motivated. Ship the smallest change the evidence justifies.
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
1. Reproduce it yourself on the matching surface via the repo's `verify-<app>` skill (in `.omp/skills/`, `.claude/skills/`, or `.agents/skills/`); if none, use omp `eval` `browser`, Playwright/CDP, or bash, even if a debug protocol says to ask the user. If it won't reproduce directly: synthesize the trigger, tighten conditions, or instrument until it fires.
|
|
9
|
+
Done when you have captured output showing the failure on that surface.
|
|
10
|
+
2. Binary-search the cause:
|
|
11
|
+
- Seed candidate hypotheses with the **how** technique (`references/techniques/how.md`) over the subsystem and the **why** technique (`references/techniques/why.md`) for regression history.
|
|
12
|
+
- Each pass, take the split that cuts the most remaining space, get runtime evidence, eliminate.
|
|
13
|
+
- State unclear → add instrumentation/logging and read it as the code runs; don't guess.
|
|
14
|
+
- Long or stubborn hunt → keep looping (see **Run a goal**, `references/playbooks/run-a-goal.md`, for the wake mechanism) until one hypothesis survives.
|
|
15
|
+
- Confirm the surviving *mechanism* with runtime evidence before planning the fix.
|
|
16
|
+
- Done when one hypothesis remains and runtime output confirms its mechanism; every other one is eliminated by recorded evidence.
|
|
17
|
+
3. Plan the fix. Changes a module or public interface with two or more viable shapes → the **architect** technique (`references/techniques/architect.md`) first. Size L or a fix that splits cleanly → delegate implementation to a default `task` agent (tier pinned per `skill://agent-harnesses/references/delegation-efficiency.md`) with a specific scope and exclusive file ownership. Size M → make the fix yourself; review separation comes from the **pr-review** self-review (`references/techniques/pr-review.md`, local mode) before reporting.
|
|
18
|
+
Done when the fix is implemented and, for Size M, the self-review has no open P0/P1.
|
|
19
|
+
4. Verify on the same surface: the original repro now passes.
|
|
20
|
+
5. Order the evidence so the failing repro is shown before the fix (`references/principles/sequence-verifiable-units.md`); when committing, that is also the commit order. Use the **tdd** technique (`references/techniques/tdd.md`) for failing-test-first when a cheap local test path exists; skip it when the test would be expensive, integration-heavy, or unclear.
|
|
21
|
+
Done when the failing output precedes the passing output in the evidence and in commit order.
|
|
22
|
+
6. Deliver per SKILL.md's delivery-target rule: for local review or a repo with no remote, leave verified S/M edits uncommitted in the starting working tree with the failing-then-passing repro output (no default-branch commit or push). For publication, commit and run **Opening a PR** (`references/playbooks/opening-a-pr.md`), which lands a single PR through **pr-conversation** on a panel pass (or a stack through `references/playbooks/shipping.md`).
|
|
23
|
+
Done when the requested delivery target holds (verified uncommitted local fix, merged PR, or stack handed to Shipping).
|
|
24
|
+
|
|
25
|
+
## Gates
|
|
26
|
+
- Ask the user to reproduce only with a stated, specific reason the control surface can't reach the target, and only after driving it as far as it goes.
|
|
27
|
+
- No fix planned before the mechanism is confirmed by runtime evidence.
|
|
28
|
+
- "Inconclusive" or wrong-surface verification is not a pass. Flag it. Unit tests show branch behavior, not bug absence.
|
|
29
|
+
- Refuted hypothesis → revert its changes. Speculative hardening never ships.
|
|
30
|
+
- Contested fix design only: an adversarial cross-model review (a different model family than yours, when available) may be run; keep only findings a run proves.
|
|
31
|
+
|
|
32
|
+
## Evidence
|
|
33
|
+
- What was broken, root cause, the fix, how you verified.
|
|
34
|
+
- Failing-then-passing repro output, pasted verbatim.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# End-to-end
|
|
2
|
+
|
|
3
|
+
Use when: building, starting, or finishing a whole app, tool, or broad goal from a prompt or rough idea ("build me <app>", "turn this idea into a working product", "finish the full scope end to end", "don't stop at one slice or MVP").
|
|
4
|
+
|
|
5
|
+
Slicing sequences verification; it never shrinks Total Scope. On a rough idea, include real product essentials (persistence, boundary validation, error and empty states, wired entrypoints, and cold-start proof); in complex or unclear domains, clear them via **sme-review** (`sme_gate`) before Sprint 2+ so implied essentials never become wasteful scope creep.
|
|
6
|
+
Single-run builds drive `1/N` to `N/N` without stopping early. Incremental Sprint mode (`active_sprint: 1` or `sme_gate: "required"`) lands Sprint 1 with proof and pauses ONLY at the explicit sprint/SME checkpoint, reporting Sprint 2..N as remaining scope (incomplete, never done). Never substitute stubs or `TODO` markers; `laziness-protocol` deletes redundant code layers, never requested or implied capabilities.
|
|
7
|
+
|
|
8
|
+
## Steps
|
|
9
|
+
|
|
10
|
+
1. **Expand the prompt into a complete Scope Manifest.** Before writing feature code, turn 100% of the request into ONE machine-checked JSON manifest (`docs/specs/<slug>-manifest.json`, or `.scratch/goals/<slug>-manifest.json` for uncommitted local delivery):
|
|
11
|
+
- Cover every capability a finished product needs: all user workflows (full lifecycle or CRUD, not create-only), persistent state across restarts (SQLite, files, or database unless ephemeral is requested), input validation, actionable error states, empty states, and complete CLI/API/UI entrypoints.
|
|
12
|
+
- Decide reversible product details yourself and record each decision in a **show-me-your-work** trail (`references/techniques/show-me-your-work.md`). In complex or unclear domains, run **sme-review** (`references/techniques/sme-review.md`) and set `"sme_gate": "required"` on the manifest or Sprint 2+ slices until SME/user confirmation clears it (`"sme_gate": "cleared"`).
|
|
13
|
+
- On greenfield work, run **prior-art** (`references/techniques/prior-art.md`) and `skill://deep-stack` (`references/any-app-stack.md`) to pick the stack, then continue straight into step 2 instead of stopping at `STACK.md`.
|
|
14
|
+
- Format the manifest with `"product"` and `"slices"` (`[{"id", "title", "check", "sprint"?, "sme_gate"?}, ...]`, 3 to 8 vertical slices from core domain/persistence through full workflows and cold-start proof). Tag `"sprint": 1, 2, ...` when running incremental sprints.
|
|
15
|
+
- For "all", "every", or "full set" work, record every candidate in `"inventory"` with `"id"` and `"status"` in `included` (optional `"slice"`), `duplicate` (`"representative"`), `non_target` (`"reason"`), `blocked` (`"evidence"` + `"unblock"`), or `pending`. Unclassified `pending` items fail `loop.py manifest`.
|
|
16
|
+
Done when `python -B "<this skill>/assets/loop/loop.py" manifest <manifest.json> --dry-run` reports `manifest ok` (schema only; slice checks run later).
|
|
17
|
+
2. **Initialize the project and harden the inner loop.** Create the repo layout inside the project root (`SKILL.md` Contain the work), install dependencies locally, and set up deterministic local checks per **inner-loop** (`references/techniques/inner-loop.md`):
|
|
18
|
+
- Fast static check (`fast_check`): typecheck, lint, and structural rules that run in seconds.
|
|
19
|
+
- Behavioral test runner (`check`) and anti-slop guard (`forbid_slop: true` in `loop.py`, blocking inline suppressions, swallowed exceptions, `TODO`/`FIXME` comments, and `NotImplementedError` stubs).
|
|
20
|
+
Done when `python -B "<this skill>/assets/loop/loop.py" audit <root>` reports `inner-loop audit (ready)` and `fast_check` passes on the clean skeleton.
|
|
21
|
+
3. **Give each slice a real behavioral check.** Write or wire each slice's `check` command so it fails before the slice is built and passes only when observable user behavior and persisted state work (`references/principles/test-behavior-not-implementation.md`, `references/principles/model-the-domain.md`).
|
|
22
|
+
Done when every slice check drives real entrypoints and state rather than mock-only stubs.
|
|
23
|
+
4. **Build and verify every slice from `1/N` to `N/N` (or through the active sprint gate).** Sequence work one vertical slice at a time (`references/principles/sequence-verifiable-units.md`):
|
|
24
|
+
- Pick model tier and effort up front (`skill://agent-harnesses/references/delegation-efficiency.md`): small tier for `scout` searches/summaries, mid (`medium`) for oracle-backed slice builds, flagship `L` only for planning, hard debugging, security, and final review.
|
|
25
|
+
- Write the goal contract once: `.scratch/goals/<slug>.md` with `manifest: <manifest.json>`, `fast_check`, `check` (cold-start end-to-end check), `protect` (tests, check scripts, and manifest), `forbid_slop: true`, and `protect_configs: true`. Omit `active_sprint` for single-run full delivery (`1/N` to `N/N`); set `active_sprint: 1` (and optional `checkpoint_every`) only for incremental Sprint mode.
|
|
26
|
+
- In-session when remaining slices fit the context window: implement slice `k`, run `python -B "<this skill>/assets/loop/loop.py" check .scratch/goals/<slug>.md` (runs `fast_check`, slop guard against `HEAD`, all active manifest slices with `sprint <= active_sprint` plus inventory/SME status, then `check`), and immediately start slice `k + 1` in the same turn.
|
|
27
|
+
- Across fresh context windows or unattended runs (`omp|claude|codex`): `python -B "<this skill>/assets/loop/loop.py" run .scratch/goals/<slug>.md`. On quota/cost cap, `checkpoint_every` / `sme_gate: "required"` (exit `6`), or passing Sprint 1 with deferred slices (exit `0`, `scope_complete: false`), the Scope Manifest + `latest-summary.json` form the exact zero-loss resume ledger.
|
|
28
|
+
Done when `python -B "<this skill>/assets/loop/loop.py" check .scratch/goals/<slug>.md` (`py -3 -B` on Windows) prints `check exit 0 (pass)` with zero `pending` inventory items, zero slop findings, and either `N/N` slices green (`scope_complete: true`) or the active sprint gate cleanly met with Sprint `n+1..N` recorded as deferred remaining scope (`scope_complete: false`).
|
|
29
|
+
5. **Prove the finished product from a cold start.** Run the built CLI, service, or UI from scratch against fresh persisted state (`references/principles/prove-it-works.md`):
|
|
30
|
+
- Exercise the full primary workflow (or the active sprint's end-to-end journey), restart or re-invoke the process to prove state persisted, trigger invalid-input handling, and check the empty state.
|
|
31
|
+
- Save command transcripts, outputs, or UI captures under `.scratch/evidence/<slug>/`.
|
|
32
|
+
Done when the cold-start end-to-end run passes and its artifacts sit under `.scratch/evidence/<slug>/`.
|
|
33
|
+
6. **Self-review against the full manifest and deliver.** Run **no-comments** (`references/techniques/no-comments.md`) and **pr-review** in local mode (`references/techniques/pr-review.md`) with the Scope Manifest as the spec claim so any missing workflow, unwired flag, unclassified inventory item, or stubbed edge case is caught before delivery. Follow `SKILL.md` for local delivery versus Opening a PR (`references/playbooks/opening-a-pr.md`).
|
|
34
|
+
Done when local `pr-review` has no open P0/P1 findings, active/all slices and the cold-start check pass, any deferred sprints are explicitly reported as remaining scope (incomplete), and the requested delivery target holds.
|
|
35
|
+
|
|
36
|
+
## Gates
|
|
37
|
+
|
|
38
|
+
- Single-run mode: slice `1` passing is `1/N`, never completion. Stopping with unchecked slices requires a real hard stop (`SKILL.md` Autonomy) or three documented dead-end attempts, never convenience.
|
|
39
|
+
- Incremental Sprint mode (`active_sprint` / `sme_gate: "required"`): pause ONLY at the explicit sprint/SME feedback checkpoint (`exit 6` or `sme_gate`), and report Sprint `n+1..N` as remaining scope (`scope_complete: false`, never marked done).
|
|
40
|
+
- Zero unclassified `"pending"` inventory items may remain when closing; `loop.py manifest` rejects `pending` items and missing proof fields (`representative`, `reason`, `evidence`/`unblock`).
|
|
41
|
+
- No `TODO`, `FIXME`, `NotImplementedError`, `todo!()`, or `throw new Error("not implemented")` stubs in delivered code.
|
|
42
|
+
- Every slice check with `sprint <= active_sprint` re-runs on later slices so finishing slice `N` cannot silently break slice `1`.
|
|
43
|
+
- Passing unit tests never waive the step 5 cold-start end-to-end run on the real artifact.
|
|
44
|
+
|
|
45
|
+
## Evidence
|
|
46
|
+
|
|
47
|
+
- The Scope Manifest path and `python -B "<this skill>/assets/loop/loop.py" manifest <manifest.json>` (`py -3 -B` on Windows) scoreboard (slice pass ratio, `scope_complete`, `deferred_slices`, and inventory classification counts when used).
|
|
48
|
+
- Inner-loop check output (`fast_check`, anti-slop status, and `sme_gate` state).
|
|
49
|
+
- Cold-start end-to-end proof artifacts under `.scratch/evidence/<slug>/` (plus `latest-summary.json` resume ledger if paused at a sprint, SME, or quota gate).
|
|
50
|
+
- Product decisions made when expanding the prompt, each with how to override it.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Eval
|
|
2
|
+
|
|
3
|
+
Use when: measuring whether a variant (skill, prompt, rule) changes agent behavior. You own the experiment design: plan, blind, run, synthesize.
|
|
4
|
+
|
|
5
|
+
## Steps
|
|
6
|
+
|
|
7
|
+
1. Frame: state the variant under test and what behavior counts as success. Write a 3 to 6 criterion rubric for the judge only; hold it back from candidates.
|
|
8
|
+
Done when the variant, the success behavior, and the rubric are written down outside every candidate dir.
|
|
9
|
+
2. Set up one sanitized working dir per candidate with the variant installed under its harness skills dir (`.omp/skills/`, `.claude/skills/`, or `.agents/skills/`). Plant the context an organic task would have (project skeleton, skills the candidate would naturally read). Never run candidates as `task` children: they inherit this session's skills, rules, and cwd.
|
|
10
|
+
Keep containment and blinding intact (`SKILL.md` Contain the work): placing a candidate inside `<root>/.scratch/` lets harnesses walk upward into the parent repo's `AGENTS.md`, skills, and `.git`, so isolate each candidate in its own non-nested project folder (authorized via `extraWriteRoots` or a separate user-approved sandbox dir) or pass harness flags that disable upward context/skill discovery (`--no-context`/`--no-skills` where supported).
|
|
11
|
+
Done when each candidate dir exists with the variant installed, cannot inherit parent rules/skills, and a search finds no Gates blocklist word in any path or file.
|
|
12
|
+
3. Author one organic prompt: what a user would type, goal not meta. Done when the prompt contains no Gates blocklist word and no chain-eliciting cue.
|
|
13
|
+
4. Run N candidates in parallel (the **arena** technique's step 3, Fan out, `references/techniques/arena.md`), each as an isolated headless process (`omp -p "<prompt>"`, `claude -p "<prompt>"`, `codex exec "<prompt>"`, or `agy -p "<prompt>"`) with `cwd` set to that candidate's sanitized dir, same prompt, different models where available (`--model`), and API-key env vars unset (`SKILL.md`). Capture each process's output and session/transcript file.
|
|
14
|
+
Done when every candidate process has exited and its output and session/transcript file are saved.
|
|
15
|
+
5. Spawn one blinded judge via `task` on a different model family than the candidates, when one is available (arena step 4, Cross-judge). Judge gets outputs by sanitized label plus the rubric.
|
|
16
|
+
Done when the judge returns a verdict that scores every label on every rubric criterion.
|
|
17
|
+
6. Verify chain-following from transcripts, not self-report: read each candidate's saved session transcript (`omp -p`, `claude -p`, `codex exec`, or `agy -p` transcript for its sanitized dir), note which files it actually opened, and grade from those reads plus code shape. Never read transcripts outside this experiment's candidates.
|
|
18
|
+
Done when each candidate has a list of files it opened, taken from its transcript.
|
|
19
|
+
7. Read every candidate output end to end yourself. Compare with the judge's verdict; disagreement means model bias or an ambiguous rubric. Synthesize.
|
|
20
|
+
Done when the synthesis names each point where you and the judge disagree, or states there were none, and gives a promote or reject recommendation.
|
|
21
|
+
|
|
22
|
+
## Gates
|
|
23
|
+
|
|
24
|
+
Blinding non-negotiables; any breach invalidates the run:
|
|
25
|
+
- No `eval`, `test`, `judge`, `experiment`, `rubric`, `score`, `compare`, `benchmark`, `candidate`, or `arena` in any directory, file, or prompt a candidate sees.
|
|
26
|
+
- Prompt reads as an organic user request.
|
|
27
|
+
- No chain-eliciting cues: never ask candidates to list skills, principles, or files applied; ask for design notes generally.
|
|
28
|
+
- Directory and slug names are project-shaped, as a user would pick.
|
|
29
|
+
- Candidates are not told other candidates exist.
|
|
30
|
+
- The judge may know it is judging but sees outputs by sanitized label only, never model name.
|
|
31
|
+
- Two variants: one judge scores both sets in a single pass on one scale, blind to set origin.
|
|
32
|
+
|
|
33
|
+
## Evidence
|
|
34
|
+
|
|
35
|
+
- Variant under test and the rubric.
|
|
36
|
+
- Per-candidate notes, including files actually read (from transcripts).
|
|
37
|
+
- The judge's verdict.
|
|
38
|
+
- Your synthesis, including any judge disagreement.
|
|
39
|
+
- Recommendation: promote the variant or not.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Feature
|
|
2
|
+
|
|
3
|
+
Use when: adding new behavior. You own the design, review and proof. Choose local delivery or publication before implementing, per SKILL.md. Size M uses one implementation owner unless independent slices justify delegation. Size L uses separated implementation and verification.
|
|
4
|
+
|
|
5
|
+
## Steps
|
|
6
|
+
|
|
7
|
+
For a local M feature, use this short path instead of the shipping steps below:
|
|
8
|
+
|
|
9
|
+
1. Read the affected code, callers and existing checks. Name the requested behavior and the data shape that fits the existing design.
|
|
10
|
+
Done when each requirement has an observable check, and no design or trust-boundary uncertainty requires size L.
|
|
11
|
+
2. Implement in the starting working tree. Reuse the existing test and CLI/app paths; add regression coverage for uncertain behavior, not for wording or wiring.
|
|
12
|
+
Done when the requested behavior works without unrelated features or policy changes.
|
|
13
|
+
3. Run the actual user path, including its relevant boundaries and failure cases. Review the diff against the request and existing conventions; fix findings a code read or run proves.
|
|
14
|
+
Done when the real output proves every requirement and the checked-out tree contains the result.
|
|
15
|
+
4. Report the changed behavior, command and observed result. Leave the changes uncommitted for local review.
|
|
16
|
+
Done when the user can inspect and run the delivered files without finding another worktree or unfinished review.
|
|
17
|
+
|
|
18
|
+
Escalate real design or safety uncertainty; do not turn hypothetical extreme inputs into unrequested limits. Remote publication follows the steps below and retains its full merge gates.
|
|
19
|
+
|
|
20
|
+
1. Run the **how** technique (`references/techniques/how.md`) over the affected subsystem, then the **prior-art** technique (`references/techniques/prior-art.md`) for what the feature needs that the repo lacks.
|
|
21
|
+
Done when both techniques have reached their own `Done when`.
|
|
22
|
+
2. If a new or changed public interface has several viable shapes, run **architect** (`references/techniques/architect.md`). Otherwise reuse the existing design.
|
|
23
|
+
Done when the selected shape and its relevant tradeoff are named.
|
|
24
|
+
3. Write the throughput checkpoint as four `todo` items. A dimension that does not apply keeps its item as `n/a: <reason>`; never drop it:
|
|
25
|
+
- Blocking first steps: gates that run before fan-out.
|
|
26
|
+
- Independent workstreams: disjoint files, services, or layers parallelize; shared writes serialize.
|
|
27
|
+
- Shared mutable state: default to splitting the target (`references/principles/separate-before-serializing-shared-state.md`); serialize only for real invariants.
|
|
28
|
+
- Smallest safe decomposition: if one worker is best, name why.
|
|
29
|
+
- Done when all four `todo` items exist, each filled or `n/a: <reason>`.
|
|
30
|
+
4. Pick the data shape before any logic is written (`references/principles/model-the-domain.md`): state machine over scattered booleans, table/registry over branching, typed model over repeated shape assumptions.
|
|
31
|
+
Done when the chosen data shape is named in the plan before the first code edit.
|
|
32
|
+
5. Delegate code-writing to a default `task` agent with a specific scope: file paths, the named data shape and its organizing structure, success criteria, exclusive file ownership.
|
|
33
|
+
- Select model tier and effort before spawning (`skill://agent-harnesses/references/delegation-efficiency.md`): small tier for `scout` searches/summaries, mid (`medium`) for oracle-backed implementation slices, flagship `L` only for hard design, security, and final review.
|
|
34
|
+
- Implementation admits several valid shapes (error handling, abstraction layer, test structure) → delegate via the **arena** technique (`references/techniques/arena.md`) instead.
|
|
35
|
+
- Size L: delegation is mandatory, no skip-with-reason, and laziness does not override it (the gain is review separation, not lines saved). A subagent that cannot spawn owns the diff directly with the same review separation. Size M: implement directly, then the pr-review self-review supplies the separation.
|
|
36
|
+
- No "standing by" reply that waits on a nested agent.
|
|
37
|
+
- Comments per the **no-comments** technique (`references/techniques/no-comments.md`). Surgical edits; re-ground upstream-derived files against the source.
|
|
38
|
+
- Port shared-primitive improvements to every consumer and verify each.
|
|
39
|
+
- Done when every delegated scope reports done against its success criteria and every consumer of a changed shared primitive is verified.
|
|
40
|
+
6. Verify on the matching surface (project `verify-<app>` skill in `.omp/skills/`, `.claude/skills/`, or `.agents/skills/` first; else omp `eval` `browser`, Playwright/CDP, or bash). "Inconclusive" or wrong-surface is not a pass; flag it.
|
|
41
|
+
Done when captured output on that surface shows the new behavior.
|
|
42
|
+
7. Sequence into small, ordered, verifiable units (`references/principles/sequence-verifiable-units.md`): build, verify, then the next. Stack follow-ups.
|
|
43
|
+
Done when each unit has its own passing verification before the next unit starts.
|
|
44
|
+
8. Design contested → run one adversarial review pass by a different model family than yours, when one is available; keep only findings a run proves. Prefer empirical and formal verification.
|
|
45
|
+
Done when every finding from that pass is fixed with a proving run or dismissed with a reason, or the design was not contested.
|
|
46
|
+
9. For publication, run **Opening a PR** (`references/playbooks/opening-a-pr.md`), which lands through **pr-conversation** on a panel pass; a stack lands through Shipping. For local work, deliver the verified changes in the starting tree without committing to a shared branch.
|
|
47
|
+
Done when the requested delivery target holds; an unmerged worktree is not a delivered local feature.
|
|
48
|
+
|
|
49
|
+
## Gates
|
|
50
|
+
|
|
51
|
+
- Code-coupled work (one feature, one migration) goes to a single owner with the checkpoint inline; that owner fans out internally after the blocking phase. Parent-level fan-out only for slices producing independent artifacts (audits, cross-subsystem investigations, competing experiments).
|
|
52
|
+
- Rewrite the checkpoint at phase boundaries. Spawn a fresh owner rather than chaining interrupts.
|
|
53
|
+
- Not done until verified on the matching surface; inconclusive/wrong-surface blocks completion.
|
|
54
|
+
|
|
55
|
+
## Evidence
|
|
56
|
+
|
|
57
|
+
- What you built; what you chose and why (table for design alternatives).
|
|
58
|
+
- The throughput checkpoint (all four items).
|
|
59
|
+
- Verification run path and outcome on the matching surface.
|
|
60
|
+
- Open decisions.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Handoff
|
|
2
|
+
|
|
3
|
+
Use when: the work should continue in a fresh context: "hand this off", "write a handoff", "summarize this for another agent", "continue this in a new session", "start a background agent on the rest", or the context is crowded and the next phase is cleanly separable (then start a background agent on the rest: a handoff you start yourself keeps every ledger item open).
|
|
4
|
+
Stopping for later in this same repo is Pause safely (`references/playbooks/pause-safely.md`); picking up someone else's handoff is Session pickup (`references/playbooks/session-pickup.md`); parallel work while this session continues is a `task` subagent. You own a document a cold agent, another harness, or a colleague can act on without this conversation.
|
|
5
|
+
|
|
6
|
+
## Steps
|
|
7
|
+
|
|
8
|
+
1. Set the focus. The user's words after "handoff" say what the next session is for; tailor the document to that. No focus given → the next unfinished unit of the current goal.
|
|
9
|
+
Done when the focus is one sentence with a done-when check (a command and its expected result).
|
|
10
|
+
2. Make the work reachable: for remote/branch work, commit finished units on a non-default working branch (never commit or push directly to the default branch) and push it so the next agent reads the branch instead of a description of it. Half-done edits get a `wip:` commit (say so in the document). For local uncommitted S/M delivery or repos with no remote, skip pushing and leave verified S/M edits uncommitted (or note the exact tree/branch state in the document).
|
|
11
|
+
Done when the working tree and branch state match the delivery mode (clean and pushed on a non-default branch, or local-only state recorded).
|
|
12
|
+
3. Prepare `docs/handoffs/<YYYY-MM-DD>-<slug>.md` (outside a repo: the current folder) with the sections below. Apply step 4's redaction and key-shaped-string scan to its contents before writing this document or any compaction checkpoint.
|
|
13
|
+
- **Goal:** the user's goal and the problem, in your own words (**in-your-own-words**, `references/techniques/in-your-own-words.md`).
|
|
14
|
+
- **Next session's focus:** from step 1, with its done-when check (a command and its expected result).
|
|
15
|
+
- **State:** repo, branch, head SHA, open PRs and their status, what is verified and how, what is not, plus Scope Manifest (`docs/specs/<slug>-manifest.json` or `.scratch/goals/<slug>-manifest.json`) and `latest-summary.json` (`active_sprint`, `deferred_slices`, `inventory_counts`, `sme_gate_blocked`) when present so remaining scope carries across pauses, sprint checkpoints (`exit 6`), SME gates, or quota stops.
|
|
16
|
+
- **Decisions:** each choice made and why, or a pointer to the decision trail that holds them.
|
|
17
|
+
- **Open questions and risks.**
|
|
18
|
+
- **Next steps:** ordered, the first one concrete enough to start without reading anything else (naming the next queued slice or inventory item from the Scope Manifest when active).
|
|
19
|
+
- **Pointers:** paths and URLs to specs, Scope Manifest, `latest-summary.json`, ADRs, issues, PRs, logs, and trails. Link artifacts; never paste their contents.
|
|
20
|
+
- **Start with:** the deepmodebot route the next agent should take (playbook or technique names and paths), and the skills it should load.
|
|
21
|
+
- Done when the file exists with all eight sections filled.
|
|
22
|
+
Before compaction or session replacement, persist pending actions, active child/process identifiers, remaining task budget, permission limits, and evidence paths alongside this state.
|
|
23
|
+
Re-read that state and the current artifact before resuming; resolve uncertain side effects from their actual status instead of blindly replaying a tool call.
|
|
24
|
+
Done when the next session can distinguish completed, pending, failed, and unknown work without the old conversation; serialized context alone is not durable execution.
|
|
25
|
+
4. Redact before saving: API keys, tokens, passwords, connection strings, private hostnames that matter for security, personal data about anyone. Replace each with `<redacted: what it was>` and say where the real value lives (`.env`, a secret manager). Scan the file for key-shaped strings (`sk-`, `ghp_`, `AKIA`, `-----BEGIN`, `password=`) before going on.
|
|
26
|
+
Done when every match of that scan is a `<redacted: ...>` placeholder.
|
|
27
|
+
5. Decide where it lives. Next agent on this machine → leave the file untracked. Next agent elsewhere or a colleague → commit it to the working branch and push. Print its absolute path.
|
|
28
|
+
Done when the absolute path is printed and, for a remote reader, the pushed branch contains the file.
|
|
29
|
+
6. Launch, only when asked for a background or new agent. Unset API-key and cloud-billing env vars first (`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, `OPENAI_API_KEY`, `CODEX_API_KEY`, `GEMINI_API_KEY`, `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX`, `CLAUDE_CODE_USE_FOUNDRY`, per `SKILL.md`) so the child uses subscription logins. Pass the file, not pasted text, so the shell never expands `$` or backticks:
|
|
30
|
+
- omp, attended: `omp @<file>` in a new terminal (the `@` prefix reads the file as the first message).
|
|
31
|
+
- omp, unattended: POSIX `nohup omp -p @<file> > <file>.log 2>&1 &`; Windows PowerShell `Start-Process omp -ArgumentList '-p','@<file>' -RedirectStandardOutput <file>.log -RedirectStandardError <file>.err.log`. Saved runs show in `omp -r`.
|
|
32
|
+
- Claude Code: POSIX `claude --bg -n "<short task name>" -- "$(cat <file>)"`; Windows PowerShell `claude --bg -n "<short task name>" -- (Get-Content -Raw <file>)` (or pass a short prompt pointing at `<file>` to avoid command-line length limits); `claude agents` lists it.
|
|
33
|
+
- Antigravity (`agy`): `agy -p "Follow the handoff in <file>" --output-format json > <file>.log 2>&1` (resume with `agy -c` or `agy --conversation <id>`). Note: in headless `-p` mode, actions matching `Ask` rules are silently soft-denied even when `agy -p` exits `0`, so pre-allow required tools in `permissions.allow` first.
|
|
34
|
+
- Codex: POSIX `codex exec -s workspace-write --json - < <file> > <file>.log 2>&1`; Windows PowerShell `Get-Content -Raw <file> | codex exec -s workspace-write --json - > <file>.log 2>&1` (resume with `codex exec resume --last`).
|
|
35
|
+
- Other harnesses: their headless or background flag with the same file. None → give the user the command to start it themselves.
|
|
36
|
+
Done when the launched name or log path is reported, or no launch was asked for.
|
|
37
|
+
|
|
38
|
+
## Gates
|
|
39
|
+
|
|
40
|
+
- Nothing lives only in this context: every fact the next agent needs is in the document, the branch, or a linked artifact.
|
|
41
|
+
- No secrets or personal data in the document (step 4 scan done).
|
|
42
|
+
- A launched agent follows SKILL.md Autonomy on its own; its hard stops still need the user.
|
|
43
|
+
|
|
44
|
+
## Evidence
|
|
45
|
+
|
|
46
|
+
- The handoff path, and whether it is committed.
|
|
47
|
+
- Branch and head SHA it describes.
|
|
48
|
+
- The launch command and the agent's name or log path, if one was launched.
|
|
49
|
+
- What was redacted (kinds, not values).
|
|
50
|
+
|
|
51
|
+
Context-lifecycle evidence: the [session/compaction discussion](https://www.youtube.com/watch?v=zOiFHo2KVgc&t=1097s) distinguishes harness state from the small agent loop.
|
|
52
|
+
These handoff checks are synthesis, not proof that a resumed process or external side effect runs exactly once.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Hillclimb
|
|
2
|
+
|
|
3
|
+
Use when: sustained, iterative improvement of one measurable thing against a target (a one-off fix is `references/playbooks/bug-fix.md` or `references/playbooks/perf-issue.md`). You own the metric and the experiment's integrity: supervise and review, delegate the attempts.
|
|
4
|
+
|
|
5
|
+
Core discipline: one change, one measurement, keep or revert. Never stack untested changes; never claim a win from code inspection (`references/principles/prove-it-works.md`).
|
|
6
|
+
|
|
7
|
+
## Steps
|
|
8
|
+
1. Ground workload and architecture with the **how** technique (`references/techniques/how.md`): name the workload dimensions that move the result (data size, history, state, concurrency) and pick a case that reproduces the user's complaint.
|
|
9
|
+
Done when the dimensions are listed and the chosen case is named.
|
|
10
|
+
2. Fix one metric, the better direction, and a checkable stop predicate pairing a target with a minimum attempt count (e.g. "≥50% better than baseline and ≥10 iterations"). Use the user's numbers, else pick them yourself and log why.
|
|
11
|
+
Done when the metric, direction, and predicate are written down; they become the first rows of the decision log (step 6).
|
|
12
|
+
3. Build the harness (`references/principles/build-the-lever.md`): run contrasting realistic workloads; confirm the target case shows the symptom and easier cases separate. Can't distinguish → revise workload or metric.
|
|
13
|
+
Done when harness output shows the target case's metric separated from the easier cases beyond noise.
|
|
14
|
+
4. Vet the harness with the **benchmark-checklist** technique (`references/techniques/benchmark-checklist.md`); make it print its error count and a work-done count. Freeze it: one repeatable command, median of N samples to clear noise.
|
|
15
|
+
Done when the frozen command prints zero errors, a nonzero work-done count, and a median.
|
|
16
|
+
5. Record the baseline metric and a green run of the regression gate before any change. Done when both are written down with the commands that produced them; they go into `decisions.tsv` once step 6 creates it.
|
|
17
|
+
6. Keep the decision log per the **show-me-your-work** technique (`references/techniques/show-me-your-work.md`): its gitignored `decisions.tsv` with header `ts\tphase\tdecision\twhy\tevidence\tresult`, plus metric columns after `result` (`before\tafter\tdelta\ttests`).
|
|
18
|
+
One row per attempt: `decision` = hypothesis and change, `result` = kept/reverted. Read it before each attempt.
|
|
19
|
+
Done when the file exists with that header and `git check-ignore` reports it ignored.
|
|
20
|
+
7. Ground each hypothesis in a specific mechanism from step 1 ("defer X off boot path because it blocks first paint"), not "try memoizing something". Perf metric → order by the mantras in `references/playbooks/perf-issue.md` step 2 (order only, not its stop rule).
|
|
21
|
+
Done when each queued hypothesis names its mechanism.
|
|
22
|
+
8. Loop, one hypothesis per iteration:
|
|
23
|
+
- Delegate the change to a default `task` agent with tight scope; review the diff rather than typing it (`references/principles/guard-the-context-window.md`). Independent live hypotheses may fan out in parallel, each with exclusive file ownership (`references/principles/separate-before-serializing-shared-state.md`).
|
|
24
|
+
- Measure before/after with the frozen harness; run the regression gate.
|
|
25
|
+
- Keep only if the metric moves past noise and the gate stays green; else revert fully.
|
|
26
|
+
- Kept → keep a patch per kept change (diff ready); commit each kept change, only changed files (`git add <files>`, never `-A`). Log the row either way.
|
|
27
|
+
- Unattended run → borrow only the wake mechanism from **Run a goal** (`references/playbooks/run-a-goal.md`), not its stop rule.
|
|
28
|
+
- Done when the stop predicate is met (see Gates), with one `decisions.tsv` row per attempt.
|
|
29
|
+
9. On a plateau (several rejects in a row): pivot category, combine near-misses, re-read the source, or try something more radical.
|
|
30
|
+
Done when the next logged attempt comes from a different category or approach than the rejected run.
|
|
31
|
+
10. Deliver per SKILL.md's delivery-target rule: for local review or a repo with no remote, keep the verified kept commits on a non-default working branch (or leave a single S/M win uncommitted when requested) without pushing or committing directly to the default branch. For publication, stack the kept commits in landing order, run **Opening a PR** (`references/playbooks/opening-a-pr.md`), and land them through `references/playbooks/shipping.md` on a panel pass.
|
|
32
|
+
Done when the requested delivery target holds (verified local branch/tree or every kept commit merged).
|
|
33
|
+
|
|
34
|
+
## Gates
|
|
35
|
+
- No reproducing case → fix the repro, don't hillclimb.
|
|
36
|
+
- Harness frozen after vetting: no edits mid-run.
|
|
37
|
+
- Held-out rubric check: when using an agent-authored evaluation rubric or scorer, validate it against held-out cases before hillclimbing so the loop cannot overfit ("benchmax") to one tuning example (`https://www.youtube.com/watch?v=6TjFjHPjVH0`, 16:36).
|
|
38
|
+
- Print-mode `/autoresearch` caveat: observed on `omp 18.22.2`, invoking `/autoresearch` in `-p` print mode creates a branch and exits 0 before running a turn; for headless or scripted experiment loops, drive this Hillclimb playbook directly instead of assuming `/autoresearch` executes in print mode.
|
|
39
|
+
- Every iteration ends in a check before the next begins (`references/principles/sequence-verifiable-units.md`).
|
|
40
|
+
- A "might help" tweak is never kept. Correctness and simplicity outrank the number: revert a win that breaks behavior; keep a simplification that holds the number (`references/principles/laziness-protocol.md`).
|
|
41
|
+
- Stop only when the predicate is met, or remaining ideas are marginal and not worth their cost. Never relax the predicate; never quit while cheap untried hypotheses remain. Stuck → surface it, don't spin.
|
|
42
|
+
|
|
43
|
+
## Evidence
|
|
44
|
+
- Metric and target; baseline → final with % delta.
|
|
45
|
+
- Iterations run (kept vs reverted); each accepted fix on one line.
|
|
46
|
+
- `decisions.tsv` path; the best next idea if pushed further.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Investigation
|
|
2
|
+
|
|
3
|
+
Use when: the user wants a cited explanation or a recommendation (how/why/are-we-sure), not a code change. Read-only. You own the answer: plan, route, write.
|
|
4
|
+
|
|
5
|
+
## Steps
|
|
6
|
+
1. Route through the **how** technique (`references/techniques/how.md`); for motivation questions also the **why** technique (`references/techniques/why.md`). Delegate unknown-code mapping to `task` with `agent: "scout"`.
|
|
7
|
+
Done when every claim you plan to make has a file/symbol citation.
|
|
8
|
+
2. Throughput checkpoint stays one line: `throughput checkpoint: n/a, read-only investigation`.
|
|
9
|
+
3. Produce the how-shaped output: Overview / Key Concepts / How It Works / Where Things Live / Gotchas. For a choice between alternatives, produce a recommendation with a tradeoffs table instead.
|
|
10
|
+
Done when every section is present, or the recommendation and table are.
|
|
11
|
+
4. Apply the **unslop** technique (`references/techniques/unslop.md`) to the reply. Done when unslop's own `Done when` holds for the reply.
|
|
12
|
+
|
|
13
|
+
## Gates
|
|
14
|
+
- Read-only: no edits, no PR, no babysitting, no **architect** unless the investigation precedes a code change.
|
|
15
|
+
- If it precedes a code change: hand back to the user and re-route to Bug fix (`references/playbooks/bug-fix.md`) or Feature.
|
|
16
|
+
- Wrong premise → push back with reasons; don't answer around it.
|
|
17
|
+
|
|
18
|
+
## Evidence
|
|
19
|
+
- The investigation output with file/symbol citations.
|
|
20
|
+
- For "are we sure?" questions: your real judgment and the reasons.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Opening a PR
|
|
2
|
+
|
|
3
|
+
Use when: ending any playbook that lands code. Opening the PR is part of the work, not a step to ask about (SKILL.md Autonomy).
|
|
4
|
+
|
|
5
|
+
First apply SKILL.md's delivery-target rule. A local S/M edit ends with verified changes in the starting working tree, a diff review and a proof report, not this publishing procedure. Leave it uncommitted. A request to open a PR or land code always takes the applicable lane below.
|
|
6
|
+
|
|
7
|
+
## Size S lane
|
|
8
|
+
|
|
9
|
+
A size S change takes a shorter lane to merge. The diff decides the size, not the author's opinion.
|
|
10
|
+
|
|
11
|
+
A **local S fix** never takes this lane. It is an S change for a repo with no remote, or one the user said they will review.
|
|
12
|
+
"Open a PR, I'll review it" is not one: a PR means a push, so it takes this lane.
|
|
13
|
+
Restate it in one line, fix it, add a test that fails without the fix when the change has behavior, and prove it once on the real artifact.
|
|
14
|
+
It lands on no branch. Leave it uncommitted in the starting working tree. Never commit it to the default branch, push it, or merge it, so it needs no panel.
|
|
15
|
+
It reads no other reference file, spawns no subagent, keeps no decision log, and creates no verify skill.
|
|
16
|
+
Done when the test fails on the old code and passes on the fix (or the change has no behavior to test), and the reply shows one real run's command and output.
|
|
17
|
+
|
|
18
|
+
Committing an S change to the default branch, pushing it, or merging it takes the lane below and the full three-reviewer panel.
|
|
19
|
+
|
|
20
|
+
Rules:
|
|
21
|
+
|
|
22
|
+
- A change is size S when it has at most 30 changed lines (added plus deleted) in at most 2 files.
|
|
23
|
+
- Measure it with `git diff --numstat <base>...<head>`. Sum both number columns over every row. Count the rows for files.
|
|
24
|
+
- It must touch nothing about auth, permissions, secrets or credentials, input parsing at a trust boundary, database migrations, CI workflows, or agent config.
|
|
25
|
+
- Anything else is M or L and takes the Steps below in full.
|
|
26
|
+
- Size changes implementation ceremony, not acceptance: every PR uses exactly three independent reviewers and a two-of-three majority.
|
|
27
|
+
|
|
28
|
+
Steps:
|
|
29
|
+
|
|
30
|
+
1. Restate the change in one line. Done when the one-line restate is your first message on the task.
|
|
31
|
+
2. Make the change in a worktree off main and commit it (Steps 2 and 3 below). Done when `git diff --numstat origin/<default>...HEAD` shows at most 30 changed lines in at most 2 files and no path in the areas the rules exclude. If it shows more, leave this lane and run the Steps below.
|
|
32
|
+
3. Prove it once on the real artifact. Done when you have one real run's command and output that shows the change working.
|
|
33
|
+
4. Review your own diff yourself against the **pr-review** checklist (`references/techniques/pr-review.md`), which is its four lenses and its smell baseline. Spawn no subagents and do not run PR-Agent. Done when every finding is fixed or dismissed with a reason and you have the pr-review line for the committed head.
|
|
34
|
+
5. Open the PR as in Steps 6 to 11 below. Done when `gh pr view <n> --json isDraft,url` shows `false` and the URL.
|
|
35
|
+
6. Land it through **pr-conversation** (`references/techniques/pr-conversation.md`) with the **panel** (`references/techniques/panel.md`). When the deepmodebot bot watches the repo, it runs steps 6 to 8; do not run a second conversation.
|
|
36
|
+
All three valid independent votes are required; at least two must PASS with evidence at the exact head. Run **security-audit** (`references/techniques/security-audit.md`, blocking = P0) on the merge head when the repo opted in or the diff touches auth, permissions, parsing, or secrets.
|
|
37
|
+
Done when that panel passes, required checks and any required security-audit are green, and the base-branch repo check exits 0 at that head, or the repo sets none.
|
|
38
|
+
7. Merge with `gh pr merge <n> --match-head-commit <sha>`. Done when `gh pr view <n> --json state` prints `MERGED`.
|
|
39
|
+
8. Run the trunk check on the merge commit (pr-conversation step 8). Done when the repo check passes there, or a verifier passes it when no check is set, or a revert PR is open.
|
|
40
|
+
|
|
41
|
+
## Steps
|
|
42
|
+
|
|
43
|
+
The S lane skips step 5's implementation-review subagents and step 12 (PR-Agent), not the three-reviewer acceptance panel.
|
|
44
|
+
|
|
45
|
+
1. Check the change is ready: verified on the real surface, no hard stop (SKILL.md Autonomy) involved. Done when you have the real run's command and output and no hard stop applies.
|
|
46
|
+
2. Work from a git worktree off main. Parallel `task` agents on one branch: give each exclusive files, or a separate worktree. Dirty branch with unrelated work → save it as a patch, fresh worktree, apply. Snarled worktree → reset from main, redo minimally.
|
|
47
|
+
Done when `git status` in the worktree shows only this work.
|
|
48
|
+
3. Commit liberally, then rebase into small, ordered commits. Each commit is a future PR: landable, ordered to tell the story. Amend when the fix belongs to the just-made commit; new commit when separable. Bodies don't restate the subject.
|
|
49
|
+
Done when `git log --oneline origin/<default>..HEAD` lists small commits in story order and no fixup commit is left.
|
|
50
|
+
4. Before commit, review the diff for slop; before review, apply the **no-comments** technique (`references/techniques/no-comments.md`). Done when the diff has no comment outside the no-comments keep-list.
|
|
51
|
+
5. Before pushing, run the **pr-review** technique (`references/techniques/pr-review.md`) in local mode on the committed branch and fix, dismiss with a reason, or escalate per its step 5.
|
|
52
|
+
The S lane reviews its diff itself, with no subagents.
|
|
53
|
+
Done when every finding is fixed, dismissed with a reason, or escalated, and you have the pr-review line for the committed head.
|
|
54
|
+
6. Write titles, descriptions, and commit bodies with the **technical-writing** technique (`references/techniques/technical-writing.md`; every layer except Diátaxis; STE vocabulary: one word per action, keep articles, plain verb over `-ing`), then the **unslop** technique (`references/techniques/unslop.md`).
|
|
55
|
+
Done when the unslop pass flags nothing left in the title, body, or commit bodies.
|
|
56
|
+
7. Title: Conventional Commits `type(scope): subject`, no trailing period. Type `feat|fix|docs|refactor|test|chore|perf`; scope is the area; subject short, imperative, names the real symbol carrying the change.
|
|
57
|
+
Done when the title matches `type(scope): subject` with an allowed type and no trailing period.
|
|
58
|
+
8. Body: a one-minute briefing for a reviewer who has the diff; short sentences, few identifiers; under ~40 lines (it becomes the squash body). `##` headings in this order, dropping empty ones:
|
|
59
|
+
- `## Why`: problem and approach, 1 to 3 sentences. No SHAs, rebase genealogy, "based on main".
|
|
60
|
+
- `## What changed`: 1 to 3 bullets; name both sides of a rename or retarget.
|
|
61
|
+
- `## Scope`: always; 1 to 3 items on what it covers and deliberately leaves out.
|
|
62
|
+
- `## Tradeoffs`: only rejected alternatives a reviewer would ask about.
|
|
63
|
+
- `## Blast Radius`: 1 to 2 sentences on who/what it touches and why safe or risky; if main is red, the cost of leaving it red.
|
|
64
|
+
- `## Verification`: 1 to 3 bullets, each a real run path and outcome tied to the exact submitted head SHA (command, order, exit status—never from compacted session memory or conflicting concurrent runs, `https://www.youtube.com/watch?v=gbeuC0ud1p4`, 09:10–15:25). Perf: one primary number with unit, `before → after`, link to the arena/swarm directory.
|
|
65
|
+
Never mask a check's exit code behind `| head` or `| tail` without `pipefail`; capture raw exit status and print a short failure summary + log path at the end (`https://www.youtube.com/watch?v=rS36lYuvXQ8`, 01:37–02:59).
|
|
66
|
+
- Then videos/screenshots that prove a claim. SHAs, lane recitals, file-by-file checklists, "CLEAN" verdicts go in a linked artifact.
|
|
67
|
+
|
|
68
|
+
Done when the body has `## Scope` and `## Verification`, its headings follow this order, and it is under 40 lines.
|
|
69
|
+
9. Use `gh` for every PR operation (create, edit, view, watch, merge). Do not require Graphite. Done when every PR operation you ran was a `gh` command.
|
|
70
|
+
10. Prefer five narrow PRs to one large one. Stack = base-branch chain: root targets trunk; each child rebases onto its parent's exact tip and targets the parent (`gh pr create --base <parent-branch>`, retarget with `gh pr edit <pr> --base <parent-branch>`). When a parent merges, rebase its child onto trunk and retarget. Branch from trunk only for independent work; rebase on trunk before substantial stack work.
|
|
71
|
+
Done when `gh pr view <n> --json baseRefName` shows trunk for the root and the parent's branch for each child.
|
|
72
|
+
11. Open every PR ready, never draft (omit `--draft`; if it opens as draft, `gh pr ready <n>`). Run `gh pr view <n>` before referring to PR status. Done when `gh pr view <n> --json isDraft` prints `false` for every PR.
|
|
73
|
+
12. Run the **pr-agent** technique (`references/techniques/pr-agent.md`) on the PR: describe, review, improve, with each finding triaged. Repeat it after each later push. It needs `omp`; on a machine without it, skip this step, say so in the report, and let pr-conversation's review in step 13 carry it.
|
|
74
|
+
The S lane skips this step.
|
|
75
|
+
Done when describe, review, and improve ran on the current head and every finding has a triage outcome, or the report says why it was skipped.
|
|
76
|
+
13. Hand the PR to the **pr-conversation** technique (`references/techniques/pr-conversation.md`), which reviews, fixes, verifies, and lands it with no ask. Run **security-audit** (`references/techniques/security-audit.md`, blocking = P0) on the merge head when the repo opted in or the diff touches auth, permissions, parsing, or secrets. When the deepmodebot bot (`references/techniques/github-app.md`) watches the repo, it picks the PR up on its next poll; don't run a second conversation in the session.
|
|
77
|
+
A stack is the exception: finish it, then land it through `references/playbooks/shipping.md`. The bot merges only into the default branch or a protected branch, so a stack's children wait on their own until they target the trunk.
|
|
78
|
+
To keep it from merging the stack's root, or any PR, before you are ready, add the `hold` label (create `hold` once if missing via `gh label create hold --description "Do not auto-merge"`, never `--force`, then `gh pr edit <n> --add-label hold`) and remove it when the PR may land.
|
|
79
|
+
Done when the PR has a pr-conversation line, or the bot has started working it, or it carries `hold` while its stack waits for Shipping.
|
|
80
|
+
14. Post the URL and keep building; report the pr-review line from step 5 for the pushed head. Done when the report holds every PR URL and its pr-review line for the pushed head.
|
|
81
|
+
|
|
82
|
+
## Gates
|
|
83
|
+
|
|
84
|
+
- Commits, pushes, and PRs need no ask. Merges need a panel pass (`references/techniques/panel.md`): your own single PR lands through pr-conversation, and a stack through `references/playbooks/shipping.md`.
|
|
85
|
+
- Every PR, including size S, needs exactly three valid independent reviewer responses and at least two passes.
|
|
86
|
+
- Do not babysit (watch checks, answer review) each PR of a stack. Finish the phase or stack first; then run a babysit pass (`gh pr checks --watch`, `gh pr view --json reviews,comments`, and the **pr-review** technique steps 5-7 in PR mode on the current head) once the whole stack exists. Push back when feedback drifts from intent.
|
|
87
|
+
- A subagent that opens a PR posts the URL and its review line and returns without babysitting or landing, unless its brief assigns that loop.
|
|
88
|
+
- pr-review is evidence, not a gate: a clean review never waives the Verification section's real runs. Never report a review for a stale head SHA; a new push needs a new round.
|
|
89
|
+
|
|
90
|
+
## Evidence
|
|
91
|
+
|
|
92
|
+
- PR URL(s), title(s), base branch per PR, and stack order.
|
|
93
|
+
- Ready (not draft) status confirmed via `gh pr view`.
|
|
94
|
+
- Verification section contents.
|
|
95
|
+
- Per PR, the pr-review technique's review line (`review: <ready|changes needed|needs discussion> at <short sha>, ...`) and the local-mode findings with their triage.
|
|
96
|
+
- Per S lane PR, the `git diff --numstat` totals (lines and files) that put it in S.
|
|
97
|
+
- Per PR handed on, the pr-conversation line (`conversation: <merged|blocked> at <short sha>, ...`), or that the deepmodebot bot took it.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Pause safely
|
|
2
|
+
|
|
3
|
+
Use when: the user explicitly asks to pause or stop for now. Explicit only: on "keep going", "going to bed, keep going", or "don't stop", do not pause. Compaction is automatic and never a reason to pause. You own a clean stop: leave a checkpoint a cold-start agent can resume from.
|
|
4
|
+
|
|
5
|
+
## Steps
|
|
6
|
+
|
|
7
|
+
1. Stop at a safe boundary: finish the current atomic step or back out of it. Start nothing new. Done when no edit is half-applied.
|
|
8
|
+
2. Cancel nested subagents and background jobs you started (`write proc://<id>/kill` in omp; `manage_task` `kill` in Antigravity; harness task/job cancellation elsewhere); note any whose results you still need.
|
|
9
|
+
Done when your harness's task/process list (`read proc://` in omp, `manage_task` `list` in Antigravity, or equivalent) shows none of your jobs running.
|
|
10
|
+
3. Take no irreversible action to pause: no new PR, no push unless you already had one out.
|
|
11
|
+
4. Make the work durable: save `git diff --binary` (plus untracked files via `git add -N` first, or list them) as a patch next to the resume note, and make one clear `wip:` commit on the current branch; if the tree is broken, say so in one line of its body.
|
|
12
|
+
Done when the patch file exists and `git status --porcelain` prints nothing but untracked files you listed in the resume note.
|
|
13
|
+
5. Write the resume note off-context at `$(git rev-parse --git-common-dir)/omp-resume/<slug>.md`, or `<root>/.scratch/resume-<slug>.md` when the harness cannot write `.git` (such as Codex's sandbox, per `references/contain.md`). Never commit it and never store it only in session-only storage (`local://`). Print its absolute path.
|
|
14
|
+
It holds intent, what you were doing, progress and what's verified, current state, next steps, key files, gotchas, patch path, and (when active) the Scope Manifest + `latest-summary.json` resume ledger (`active_sprint`, `deferred_slices`, `inventory_counts`, `sme_gate_blocked`) so resuming after a pause, sprint checkpoint (`exit 6`), or quota stop picks up at the next queued slice/item without re-scanning. Point at any show-me-your-work trail instead of duplicating it.
|
|
15
|
+
Done when the note exists at that path, its absolute path is printed, and every listed item is filled.
|
|
16
|
+
|
|
17
|
+
## Gates
|
|
18
|
+
|
|
19
|
+
- Never pause on "keep going"-type instructions.
|
|
20
|
+
- No push, PR, merge, deploy, or deletion as part of pausing.
|
|
21
|
+
- Nothing may live only in context: every needed fact is on disk or in the note.
|
|
22
|
+
|
|
23
|
+
## Evidence
|
|
24
|
+
|
|
25
|
+
This is a pause, not a final report:
|
|
26
|
+
- Where you are in the loop.
|
|
27
|
+
- What's on disk versus what was only in your head (paths, no diff dumps).
|
|
28
|
+
- Patch path, the `wip:` commit SHA, and whether the tree is clean.
|
|
29
|
+
- Scope Manifest and `latest-summary.json` paths (and remaining/deferred scope) when active.
|
|
30
|
+
- The resume note's path and the first action on resume.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Perf Issue
|
|
2
|
+
|
|
3
|
+
Use when: something is slow or heavy and needs a one-off fix tied to a measurement. For sustained improvement against a metric use `references/playbooks/hillclimb.md`. You own the measurement story: plan, review, verify the numbers. Measure; don't read source instead of measuring.
|
|
4
|
+
|
|
5
|
+
## Steps
|
|
6
|
+
1. Capture a baseline trace on the matching surface via the repo's `verify-<app>` skill (in `.omp/skills/`, `.claude/skills/`, or `.agents/skills/`); if none, use `python -B "<this skill>/assets/perf-audit/bench_harness.py"` (`http` or `cmd`), omp `eval` `browser`, Playwright/CDP, or bash. Vet it, and every later number, with the **benchmark-checklist** technique (`references/techniques/benchmark-checklist.md`).
|
|
7
|
+
Done when a saved baseline artifact passes every benchmark-checklist item.
|
|
8
|
+
2. Ground hypotheses with the **how** technique (`references/techniques/how.md`). For server/DB/runtime or data-structure bottlenecks, run `python -B "<this skill>/assets/perf-audit/perf_audit.py"` and check `domain-rules/references/high-scale-server-optimization.md` and `domain-rules/references/data-structures-and-cache-optimization.md`. Try the performance mantras in order, cheapest first; stop at the first that meets the target:
|
|
9
|
+
1. Don't do it (stop work whose result nothing uses).
|
|
10
|
+
2. Do it, but don't do it again.
|
|
11
|
+
3. Do it less.
|
|
12
|
+
4. Do it later.
|
|
13
|
+
5. Do it when they're not looking.
|
|
14
|
+
6. Do it concurrently.
|
|
15
|
+
7. Do it cheaper.
|
|
16
|
+
- Done when each tried mantra has a hypothesis tied to the trace, stopping at the first that meets the target.
|
|
17
|
+
3. Plan the fix from the trace. Changes a module or public interface with two or more viable shapes → the **architect** technique (`references/techniques/architect.md`) first. Size L → delegate implementation to a default `task` agent (exclusive file ownership, reasoning level per job) and review the diff. Size M → make the change yourself, then run the **pr-review** self-review (`references/techniques/pr-review.md`, local mode).
|
|
18
|
+
Done when the fix is implemented and, for Size M, the self-review has no open P0/P1.
|
|
19
|
+
4. Verify each attempt before trying the next (`references/principles/sequence-verifiable-units.md`). Capture a post-fix trace. Done when a post-fix artifact exists for the kept attempt.
|
|
20
|
+
5. Parse and compare artifacts (JSON → sqlite, diff). Done when you have a baseline, post-fix, and delta number from the same harness.
|
|
21
|
+
6. Cite the measurement in the hand-off (and the commit and PR description). Done when those numbers are in the commit message and drafted for the PR body that step 7 opens.
|
|
22
|
+
7. Deliver per SKILL.md's delivery-target rule: for local review or a repo with no remote, leave verified S/M edits uncommitted in the starting working tree with the before/after numbers. For publication, commit and run **Opening a PR** (`references/playbooks/opening-a-pr.md`), which lands a single PR through **pr-conversation** on a panel pass (or a stack through `references/playbooks/shipping.md`).
|
|
23
|
+
Done when the requested delivery target holds (verified uncommitted local fix, merged PR, or stack handed to Shipping).
|
|
24
|
+
|
|
25
|
+
## Gates
|
|
26
|
+
- Every fix tied to a measurement; no perf ceiling claimed without running it.
|
|
27
|
+
- Stop at the earliest mantra that meets the target.
|
|
28
|
+
- "Inconclusive" or wrong-surface is not a pass. Flag it.
|
|
29
|
+
|
|
30
|
+
## Evidence
|
|
31
|
+
- Baseline number, post-fix number, delta, artifact path(s).
|