deepmodebot 0.0.0-stage → 0.9.1
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 +247 -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/lib/version.mjs +26 -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,61 @@
|
|
|
1
|
+
# Reference library
|
|
2
|
+
|
|
3
|
+
Read when a task touches one of these areas and you need to know which reference file to open. Each entry names the files and when to read them. Read only the file the task touches, before designing or reviewing in that area. SKILL.md's gates and playbooks still govern.
|
|
4
|
+
|
|
5
|
+
**Stack and UI design** come from `skill://deep-stack` (stack picks and the decision rules behind them); its "With deepmodebot" section sets the split.
|
|
6
|
+
- Greenfield web, SaaS, or AI-app framework, backend, auth, payments, or deploy choice → `skill://deep-stack/references/stack.md`.
|
|
7
|
+
- Any other kind of app (CLI, desktop, mobile, agent, data/ML, security tooling), or "build the stack for me" → `skill://deep-stack/references/any-app-stack.md`, which writes a cited `STACK.md`.
|
|
8
|
+
- Designing a UI with an agent → `skill://deep-stack/references/design-workflow.md`; rebuilding to the standard of a named reference app → the Reference rebuild playbook.
|
|
9
|
+
- Recording UI proof with no `verify-<app>` skill → `skill://deep-stack/references/prove.md`.
|
|
10
|
+
- Your gates and playbooks still govern.
|
|
11
|
+
|
|
12
|
+
**Harnesses, protocols, and AI-native tooling** (using, configuring, or scripting omp, Claude Code, Codex, or Antigravity; MCP, ACP, A2A, WebMCP; skills, plugins, `AGENTS.md`, hooks, sandboxes, headless runs) → read `skill://agent-harnesses`, then only the file the task touches. Those files carry the cited, dated facts (paths, flags, tool names) and the traps for deepmodebot in each harness.
|
|
13
|
+
|
|
14
|
+
**LangChain ecosystem** (LangChain agents, LangGraph state and durable execution, Deep Agents skills/subagents, LangSmith evaluation and tracing) → `skill://agent-harnesses/references/langchain-ecosystem.md`.
|
|
15
|
+
For automatic tool or skill selection, use `references/techniques/tool-routing.md`; domain references support the selected playbook rather than replacing its intent.
|
|
16
|
+
**AI SDK selection** (which SDK fits the application, not a universal ranking) → `skill://agent-harnesses/references/ai-sdk-selection.md`.
|
|
17
|
+
For vague intent, quantitative milestones and independent two-of-three goal review, use `references/techniques/goal-review.md` before authoring or launching a loop.
|
|
18
|
+
|
|
19
|
+
**Agent collaboration and self-authoring** → `references/techniques/agent-collaboration.md` for actual native messages, recipient identity and bounded handoffs; `references/playbooks/self-authoring.md` for authored-skill proof and three-reviewer promotion.
|
|
20
|
+
**Visual E2E recording and replay** → `references/techniques/visual-e2e.md` for pinned scenarios, per-step screenshots, video samples and three independent image reviewers. Visual majority does not replace runtime acceptance.
|
|
21
|
+
**Editable workflow design** → `references/techniques/open-design-evidence.md` for portable SVG/Mermaid/HTML evidence and a real Penpot import/edit/export proof. Recorded workflow and proposed design remain separate.
|
|
22
|
+
|
|
23
|
+
**Credentials and agent authentication** (sharing secrets and `.env` safely, password managers, logins and MFA for agents, credential brokers, protecting MCP servers and agent APIs, OAuth delegation, CI OIDC, secret scanning, leak response) → `skill://secrets-and-auth`. It holds the free-first picks, the rules, and the cited research, checked 2026-11-11.
|
|
24
|
+
|
|
25
|
+
**Architecture: monorepos, ontology, databases, backend infrastructure** (repo layout and workspace tooling, domain vocabulary and typed models, knowledge graphs and semantic layers, choosing, organizing, or migrating a database, multi-tenancy, queues and durable workflows, API style, reliability, observability, deployment, IaC) → `skill://software-architecture`, then only the file it routes to. Cited and dated 2026-11-11; it builds on `skill://domain-rules/references/backend-system-design.md` and the model-the-domain principle rather than repeating them.
|
|
26
|
+
|
|
27
|
+
**Agent-assisted language rewrites** (assessing a Rust migration, choosing incremental replacement versus an all-at-once port, or preserving behavior during a rewrite) → `references/rust-migration-case-studies.md`. Cited accounts from the GitHub Copilot runtime and Bun; reported outcomes are separate from transferable guidance.
|
|
28
|
+
|
|
29
|
+
**Agent tooling** (browser automation, agent sandboxes, coding-agent harnesses or multi-agent orchestrators, autoresearch loops) → read the cited landscape in `research/README.md` of a local checkout of `TimothyVang/automation-tools` before picking a tool. No checkout: shallow-clone read-only into gitignored `.scratch/refs/automation-tools` (reference-only exception to the no-nested-project-repos rule; private, skip if inaccessible, never commit from it). It is a 2026-11-11 snapshot tuned for omp + Orca on Windows, so recheck release dates and licenses of the tool you pick.
|
|
30
|
+
|
|
31
|
+
**Software factories** (choosing a backlog-to-PR runner, comparing agent fleets, or improving dispatch, holdouts, merge gates, and recovery) → `references/factory-landscape.md`. It maps 61 GitHub projects to concrete mechanisms, license caveats, and acceptance experiments. The Work a queue playbook still owns execution and merge policy.
|
|
32
|
+
|
|
33
|
+
**Engineering domain rules** come from `skill://domain-rules` (its `SKILL.md` lists sources). Read only the file the task touches, before designing or reviewing in that area:
|
|
34
|
+
|
|
35
|
+
- AI agent, agent harness, multi-agent system, MCP or WebMCP, or an agent instruction file (CLAUDE.md, AGENTS.md, a skill) → `skill://domain-rules/references/agent-engineering.md`. Audit agents against all seven of its laws.
|
|
36
|
+
- LLM fundamentals, RAG or retrieval, fine-tuning, inference cost or hardware, local models, or model choice → `skill://domain-rules/references/ai-concepts.md`.
|
|
37
|
+
- AWS, VPC, cloud connectivity failure, IAM, or cloud cost → `skill://domain-rules/references/aws-networking.md`. A "can't connect" bug starts with its four-step packet check and flow-log table.
|
|
38
|
+
- Backend code, API, database, cache, queue, scaling, resilience, observability, security, or language choice → `skill://domain-rules/references/backend-system-design.md`; a specific language's runtime, tooling, or traps → `skill://domain-rules/references/language-ecosystems.md`.
|
|
39
|
+
- Linux, shell tools, git, containers, Kubernetes, Terraform, CI/CD, deploy strategy, secrets, or a bug rooted in data structures, complexity, memory, floats, concurrency, or network protocols → `skill://domain-rules/references/devops-and-fundamentals.md`.
|
|
40
|
+
- Unfamiliar codebase, stuck on an error, slowness, memory, or race debugging, legacy code, PR or commit text, production incident, estimates, or pushing back on scope → `skill://domain-rules/references/engineering-practice.md`.
|
|
41
|
+
|
|
42
|
+
**Frontend UI/UX** (building, restyling, or reviewing UI; components; motion and animation; motion graphics or rendered video; color; accessibility; chat or agent UI) → before writing UI code, read `skill://frontend-ui` (always-apply rules, routing, section index), then the `skill://frontend-ui/references/playbook/` section it routes to. `skill://frontend-ui/references/patterns/` holds what the reference images and clips taught, as text: shipped-app layouts, popular pins, 193 animation techniques, the motion-graphics stack. These files are bundled, so they work anywhere deepmodebot is installed.
|
|
43
|
+
|
|
44
|
+
Frontend evidence and media live in the private `TimothyVang/frontend` (skip if inaccessible). When you need them, shallow-clone read-only to gitignored `.scratch/refs/frontend` (reference-only exception to the no-nested-project-repos rule) and never commit from it.
|
|
45
|
+
|
|
46
|
+
**Cloud security and DevSecOps rules** come from `skill://cloud-devsecops` (cited reports in `TimothyVang/cloud-devsecops`, private — skip direct repo cloning if inaccessible; its `SKILL.md` lists them). They cover securing and wiring up a cloud, where `skill://domain-rules/references/aws-networking.md` covers how AWS networking works. Read the file the task touches before designing, reviewing, or changing cloud access, policy, or pipelines:
|
|
47
|
+
|
|
48
|
+
- AWS accounts, Organizations, SCP/RCP, IAM, GuardDuty or Security Hub, KMS, or CI access to AWS → `skill://cloud-devsecops/references/aws.md`.
|
|
49
|
+
- Azure subscriptions, management groups, Entra ID, RBAC, Azure Policy, Defender for Cloud, Key Vault, Private Endpoints, AKS, or CI access to Azure → `skill://cloud-devsecops/references/azure.md`.
|
|
50
|
+
- Google Cloud orgs or projects, IAM or service accounts, org policy, VPC Service Controls, Security Command Center, Binary Authorization, GKE, or CI access to GCP → `skill://cloud-devsecops/references/gcp.md`.
|
|
51
|
+
- A CI/CD pipeline's security stages, supply chain (SBOM, signing, SLSA provenance), scanners, policy as code, container or Kubernetes hardening, or GitHub Actions hardening → `skill://cloud-devsecops/references/devsecops-pipeline.md`.
|
|
52
|
+
- Docker, Compose, image builds, OCI runtimes, Podman, Testcontainers or devcontainers → `skill://cloud-devsecops/references/containers.md`.
|
|
53
|
+
- Kubernetes workload operations, Helm/Kustomize, cluster-local development or GitOps → `skill://cloud-devsecops/references/kubernetes.md`.
|
|
54
|
+
- Testing cloud or IaC code without a real account (Floci, LocalStack, moto, Azurite, Google emulators) → `skill://cloud-devsecops/references/local-emulators.md`. Run infra changes there first when the emulator covers the service.
|
|
55
|
+
- Choosing terminal, container, Kubernetes, Terraform, or code-review tooling → `skill://cloud-devsecops/references/devops-tools.md`.
|
|
56
|
+
|
|
57
|
+
**Verification and contributor sibling skills** bundled alongside deepmodebot:
|
|
58
|
+
- Creating a repo `verify-<app>` skill when repeated journeys justify one → `skill://create-verification-skill`.
|
|
59
|
+
- Auditing or updating an existing `verify-<app>` skill as features drift → `skill://maintain-verification-skill`.
|
|
60
|
+
- Picking unclaimed non-overlapping work in someone else's repo → `skill://contribute`.
|
|
61
|
+
- Publishing a newcomer `PROJECT_BRIEF.md`, task board, and overlap guardrails for contributors → `skill://project-brief`.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Deepmodebot catalog
|
|
2
|
+
|
|
3
|
+
On-demand index of deepmodebot's autonomous modes, all 30 playbooks, 52 techniques, 24 principles, and habits. `SKILL.md` holds the binding rules and compact router; read only the section and linked file your task needs. Paths are relative to this skill.
|
|
4
|
+
|
|
5
|
+
## Running without the human
|
|
6
|
+
|
|
7
|
+
Pick the row that matches what the user has or wants.
|
|
8
|
+
|
|
9
|
+
| The user has or wants | Use |
|
|
10
|
+
|---|---|
|
|
11
|
+
| One goal driven to a checkable end in this session | Run a goal, session scale (`references/playbooks/run-a-goal.md`) |
|
|
12
|
+
| A goal run headless or overnight, no session open | `assets/loop/loop.py`, per Self-authoring (`references/playbooks/self-authoring.md`) |
|
|
13
|
+
| A multi-day program with many owners | Run a goal, program scale (`references/playbooks/run-a-goal.md`) |
|
|
14
|
+
| A whole app or rough idea built across every slice | End-to-end (`references/playbooks/end-to-end.md`) |
|
|
15
|
+
| A backlog, or a goal split into many PRs | Work a queue, board source (`references/playbooks/work-a-queue.md`) |
|
|
16
|
+
| A queue of independent PRs | Work a queue, PR source (`merge` or `stack-only`) |
|
|
17
|
+
| Labeled issues in a repo with `factory.json` | Work a queue, factory source (`references/playbooks/work-a-queue.md`) |
|
|
18
|
+
| PRs and issues handled with no session open | GitHub App bot (`references/techniques/github-app.md`) |
|
|
19
|
+
| A spec's tickets landed as one PR | Phased build, build mode (`references/playbooks/phased-build.md`) |
|
|
20
|
+
|
|
21
|
+
## Full playbooks index (30)
|
|
22
|
+
|
|
23
|
+
Every playbook lives at `references/playbooks/<file>.md`. Open a `todo` list with its steps as `<n>. <short imperative>` before task-specific items; state the reason if a step is skipped.
|
|
24
|
+
|
|
25
|
+
| Playbook | File | Use for |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| Investigation | `investigation` | Read-only question: how does X work, why was Y built this way, are we sure, X or Y? |
|
|
28
|
+
| Bug fix | `bug-fix` | A reported defect to reproduce, root-cause, and fix with runtime evidence. |
|
|
29
|
+
| Perf issue | `perf-issue` | A measured slowness to trace and improve against a baseline. |
|
|
30
|
+
| Hillclimb | `hillclimb` | Sustained improvement of one metric against a target, before/after per hypothesis, one kept change per win. |
|
|
31
|
+
| Runtime forensics | `runtime-forensics` | Diagnose a live symptom (leak, idle CPU, glitch) from instrumentation. Deliverable is a diagnosis. |
|
|
32
|
+
| Trace forensics | `trace-forensics` | Diagnose a captured artifact (cpuprofile, trace, heap snapshot). Deliverable is a diagnosis. |
|
|
33
|
+
| Feature | `feature` | New or changed behavior, built from a named data shape. |
|
|
34
|
+
| End-to-end | `end-to-end` | Deliver a whole app, tool, or rough idea across all slices via a machine-checked Scope Manifest (`slices`, `inventory`, `sprint`/`sme_gate`) until finished (or through an explicit sprint/SME checkpoint with remaining scope tracked). |
|
|
35
|
+
| Refactoring | `refactoring` | Behavior-preserving structural change (rename, extract, inline, dedupe, move, language ports). |
|
|
36
|
+
| Prototype | `prototype` | Throwaway sketch to decide a design, or settle an empirical fork by observing it. |
|
|
37
|
+
| Visual parity | `visual-parity` | Pixel-exact UI equivalence between two implementations or styling systems. |
|
|
38
|
+
| Reference rebuild | `reference-rebuild` | Rebuild a product UI to the standard of a named app: study reference, design on canvas, build, prove live. |
|
|
39
|
+
| Authoring a skill | `authoring-a-skill` | Writing or editing a `SKILL.md` (first step reads `references/techniques/writing-for-agents.md`). |
|
|
40
|
+
| Self-authoring | `self-authoring` | Write and prove a reusable prompt, skill, goal, or loop; run goals headless with `assets/loop/loop.py` (`active_sprint`, `inventory`, `sme_gate`, escalation/fallback, `latest-summary.json`). |
|
|
41
|
+
| Eval | `eval` | Test how a skill, prompt, or structure change affects agent behavior, blinded, before promoting it. |
|
|
42
|
+
| Phased build | `phased-build` | Multi-phase/PR work: Plan mode (verifiable checklist), Sprint mode (incremental sprints + SME feedback gate, remaining sprints tracked), Build mode (one spec to one PR). |
|
|
43
|
+
| Wayfinder | `wayfinder` | Effort too big for one session with a foggy route: map decision tickets and resolve them until the way is clear. |
|
|
44
|
+
| Babysit | `babysit` | Drive a PR or stack to merge-ready: conflicts, review threads, CI. |
|
|
45
|
+
| Shipping | `shipping` | Verify a green stack, then land the contiguous verified run bottom-up, each PR on a panel pass. |
|
|
46
|
+
| Run a goal | `run-a-goal` | Drive one goal to a checkable end unattended: session scale (completion predicate) or program scale (multi-day coordinator). |
|
|
47
|
+
| Work a queue | `work-a-queue` | Turn a queue of board tasks, independent PRs (`merge`/`stack-only`), or `factory` CLI issues into merged PRs on panel passes. |
|
|
48
|
+
| Setup | `setup` | One-time repo setup: tracker (`docs/deepmodebot/tracker.md`), `GLOSSARY.md`, `docs/adr/`, `CODING_STANDARDS.md`, `AGENTS.md` pointer. |
|
|
49
|
+
| Spec | `spec` | Turn a settled conversation into `docs/specs/<slug>.md`, a Scope Manifest when multi-slice, and a `spec` issue. No interview. |
|
|
50
|
+
| Tickets | `tickets` | Split a spec or plan into tracer-bullet tickets with blocking edges and incremental sprints (preserving 100% of Total Scope), published to the tracker. |
|
|
51
|
+
| Triage | `triage` | Move incoming issues and outside PRs through triage states: verify, shape, brief, label, or decline. |
|
|
52
|
+
| Session pickup | `session-pickup` | Resume or take over a prior agent's in-flight work. |
|
|
53
|
+
| Pause safely | `pause-safely` | Suspend in-flight work so it can be resumed later. |
|
|
54
|
+
| Handoff | `handoff` | Compact the session into a portable doc another agent, harness, or colleague can act on; optionally launch a background agent. |
|
|
55
|
+
| Worktree cleanup | `worktree-cleanup` | Reclaim disk by pruning merged or abandoned worktrees, safety-gated. |
|
|
56
|
+
| Opening a PR | `opening-a-pr` | Run at the end of any playbook that ships code. |
|
|
57
|
+
|
|
58
|
+
Large cross-cutting work with no clean fit, or step-away work that must be trusted later, routes to `references/techniques/figure-it-out.md` (designs a bespoke rigorous playbook). Standing multi-day programs route to `references/playbooks/run-a-goal.md` at program scale.
|
|
59
|
+
|
|
60
|
+
## Full technique triggers (52)
|
|
61
|
+
|
|
62
|
+
Each technique is one file at `references/techniques/<name>.md`. Read only what applies; skip for size **S**. Technique and playbook names mean deepmodebot's files, not same-named global skills (`skill://tdd`, `skill://prototype`, `skill://teach`, `skill://wizard`, `skill://retro`, `skill://handoff`).
|
|
63
|
+
|
|
64
|
+
- **Fast orientation, Orca/git worktrees, own PRs, or manifest state** → **workspace-map** (`references/techniques/workspace-map.md`): zero-bloat memory-mapped SQLite/FTS5 index (`assets/workspace-map/workspace_map.py` `overview`/`query`/`workspaces`/`prs`/`sync`/`prune`), shared per repo across worktrees (~300-token turn-1 map).
|
|
65
|
+
|
|
66
|
+
- **Before building anything new** → **prior-art** (`references/techniques/prior-art.md`): check trending first (`python -B "<this skill>/scripts/trending.py" find <terms>`, `py -3 -B` on Windows), then GitHub, registries, and docs; check license before copying or forking.
|
|
67
|
+
- **Module/interface with 2+ viable shapes** → **architect** (`references/techniques/architect.md`) before coding; skip for small edits crossing one function boundary.
|
|
68
|
+
- **Nontrivial change or "are we sure?"** → **how** (`references/techniques/how.md`). Motivation questions → **why** (`references/techniques/why.md`).
|
|
69
|
+
- **Parallel fan-out & sibling coordination** → **swarm** (`references/techniques/swarm.md`) for matrices, races, fuzzing, partitions; **arena** (`references/techniques/arena.md`) for code/design bakeoffs; **agent-collaboration** (`references/techniques/agent-collaboration.md`) for sibling messaging and ACP routing; **coworkers** (`references/techniques/coworkers.md`) for direct peer handoffs.
|
|
70
|
+
- **Contested design only** → **interrogate** (`references/techniques/interrogate.md`), keeping only findings a run proves.
|
|
71
|
+
- **Open direction, blind spots, or vague ambition** → **tournament** (`references/techniques/tournament.md`) before locking one shape.
|
|
72
|
+
- **Draft plan or goal to stress-test** → **grill** (`references/techniques/grill.md`; With docs mode when `GLOSSARY.md`/`docs/adr/` exist); vague goal before looping → **goal-review** (`references/techniques/goal-review.md`) then `self-authoring`.
|
|
73
|
+
- **Complex domain or questionable customer spec** → **sme-review** (`references/techniques/sme-review.md`) before locking a spec, starting a loop, or advancing past Sprint 1 (`sme_gate: "required"`); escalate unverified P0/P1 rules via **questionnaire** (`references/techniques/questionnaire.md`).
|
|
74
|
+
- **Multi-PR or customer-facing spec** → cut **incremental sprints** (Tickets + Phased build sprint mode; Sprint 1 = verified feedback slice, Sprint 2..N stay queued/deferred in the Scope Manifest as remaining scope, never falsely marked done).
|
|
75
|
+
- **Before unattended loops/queues or AI code slop** → **inner-loop** (`references/techniques/inner-loop.md`): harden fast static checks, anti-slop guards, and protected configs before scaling iterations.
|
|
76
|
+
- **Tool/skill routing** → **tool-routing** (`references/techniques/tool-routing.md`) for designing automatic tool or skill routers.
|
|
77
|
+
- **Visual E2E & design evidence** → **visual-e2e** (`references/techniques/visual-e2e.md`) to record/replay full E2E workflows with 3-agent sampled-frame image review (capped at 24 images, not full-video review); **open-design-evidence** (`references/techniques/open-design-evidence.md`) for portable SVG/Mermaid/HTML workflow diagrams linked to recordings (with a Penpot import/edit check; report raw-SVG or raster limits).
|
|
78
|
+
- **Rate limits, 429s, or heavy token burn** → `references/principles/guard-the-context-window.md` + `skill://agent-harnesses/references/delegation-efficiency.md`: pick tiers from LM benchmarks, avoid Fast/Ultrafast, `/clear` between unrelated tasks, plan L / execute S-M, cheap-first with an oracle, batch 3-5 spawns, reuse warm agents, pass file paths, set cost/cooldown caps, and back off or rotate model family on 429s.
|
|
79
|
+
- **Measured number** → **benchmark-checklist** (`references/techniques/benchmark-checklist.md`) before reporting or acting.
|
|
80
|
+
- **Prose** (reply, docs, PR body, commit) → **unslop** (`references/techniques/unslop.md`); docs and PR/commit text also → **technical-writing** (`references/techniques/technical-writing.md`).
|
|
81
|
+
- **Before review** → **no-comments** (`references/techniques/no-comments.md`) on the diff (apply inline for diffs under ~20 lines).
|
|
82
|
+
- **Repeated correction & self-prompting loops** → **correct** (`references/techniques/correct.md`) at the highest rung; for prompts, skills, goals, or loops, use Self-authoring (`references/playbooks/self-authoring.md`).
|
|
83
|
+
- **Words, durable research, or issues** → **domain-model** (`references/techniques/domain-model.md`), **research** (`references/techniques/research.md`, including opportunity probe and decision-brief), **tracker** (`references/techniques/tracker.md`).
|
|
84
|
+
- **PRs, bots, and gates** → **pr-review** (`references/techniques/pr-review.md`), **pr-agent** (`references/techniques/pr-agent.md`), **pr-conversation** (`references/techniques/pr-conversation.md`), **issue-conversation** (`references/techniques/issue-conversation.md`), **github-app** (`references/techniques/github-app.md`), **security-audit** (`references/techniques/security-audit.md`), **panel** (`references/techniques/panel.md`), **show-me-your-work** (`references/techniques/show-me-your-work.md`), **figure-it-out** (`references/techniques/figure-it-out.md`).
|
|
85
|
+
- **Tooling & instruction hygiene** → **tdd** (`references/techniques/tdd.md`), **architecture-review** (`references/techniques/architecture-review.md`), **git-guardrails** (`references/techniques/git-guardrails.md`), **pre-commit** (`references/techniques/pre-commit.md`), **scrape** (`references/techniques/scrape.md`), **wizard** (`references/techniques/wizard.md`), **writing-for-agents** (`references/techniques/writing-for-agents.md`; generate/refresh `AGENTS.md` with `assets/agents-md/agents_md.py`).
|
|
86
|
+
- **Communication & reflection** → **in-your-own-words** (`references/techniques/in-your-own-words.md`), **sharpen** (`references/techniques/sharpen.md`), **teach** (`references/techniques/teach.md`), **course** (`references/techniques/course.md`), **re-explain** (`references/techniques/re-explain.md`), **recall** (`references/techniques/recall.md`), **blast-radius** (`references/techniques/blast-radius.md`), **reflect** (`references/techniques/reflect.md`), **retro** (`references/techniques/retro.md`).
|
|
87
|
+
|
|
88
|
+
## Full principles directory (24)
|
|
89
|
+
|
|
90
|
+
One file per principle in `references/principles/<name>.md`. Read the file before applying or citing it.
|
|
91
|
+
|
|
92
|
+
- **Core (design):** `laziness-protocol` (bias to deletion, smallest change), `foundational-thinking` (types, data structures, shared state before logic), `redesign-from-first-principles` (integrate a requirement as if there from day one), `subtract-before-you-add` (remove complexity first), `experience-first` (design from user experience).
|
|
93
|
+
- **Core (execution):** `attack-the-premise` (two fixes sharing a premise failed the same gate, so test it), `minimize-reader-load` (count layers/hidden state; collapse one-caller wrappers), `outcome-oriented-execution` (converge on target architecture, no throwaway compat), `exhaust-the-design-space` (2-3 prototypes for novel decisions), `build-the-lever` (build the script/checker reviewers rerun).
|
|
94
|
+
- **Architecture:** `model-the-domain`, `boundary-discipline` (guards at boundaries, trust internal types, pure core), `type-system-discipline` (illegal states unrepresentable, brand primitives, parse at boundaries), `make-operations-idempotent`, `migrate-callers-then-delete-legacy-apis`, `separate-before-serializing-shared-state`.
|
|
95
|
+
- **Verification:** `prove-it-works`, `fix-root-causes` (a guard fixes only legitimate states), `sequence-verifiable-units`, `test-behavior-not-implementation`, `explain-the-number`.
|
|
96
|
+
- **Delegation:** `guard-the-context-window`, `never-block-on-the-human` (proceed on reversible work, present results, let the human correct).
|
|
97
|
+
- **Meta:** `encode-lessons-in-structure` (repeated instruction becomes a lint, check, or script).
|
|
98
|
+
|
|
99
|
+
## Habits worth keeping
|
|
100
|
+
|
|
101
|
+
- Restate-in-your-own-words is the highest-leverage first move on any fuzzy ask, report, or thread.
|
|
102
|
+
- Prototypes beat abstract plans; empirical runs catch real risks without inventing imaginary ones.
|
|
103
|
+
- Your codebase is the memory: turn repeated agent nits into types, lints, tests, or structure.
|
|
104
|
+
- Artifacts beat explanations: show failing/passing tests, before/after screenshots, logs, or traces.
|
|
105
|
+
- Every stage can stop the line: "not a bug", "can't reproduce", and "too risky" protect downstream work.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Contain the work: setup and guards
|
|
2
|
+
|
|
3
|
+
Mechanics behind `SKILL.md` Contain the work. The rules stay in `SKILL.md`; this file holds the setup snippet, deepmodebot's own outside writes, and the per-harness guards.
|
|
4
|
+
|
|
5
|
+
## No repo? Make a named one
|
|
6
|
+
|
|
7
|
+
- **No repo? Make a named one.** Outside a repo, in a folder that isn't a project, or for a new project that isn't the current repo, pick a short kebab-case name from the goal (`sigma-rule-converter`), create `<parent>/<name>/`, and run `git init -b main` in it.
|
|
8
|
+
- `<parent>` is the current folder; the current repo's parent folder when you are inside another project (never nest a repo in a repo); or `~/code/` when the current folder is your home, a drive or filesystem root, a temp dir, or a system folder.
|
|
9
|
+
- Never reuse an existing folder; on a clash add a suffix. Creating and initializing that folder via shell is allowed outside a root; active write guards pin file-edit tools to the session's starting root, so when creating a sibling project from inside another repo, reopen/start a session in the new root before using file-edit tools (use `extraWriteRoots` only when intentionally co-editing both repos). From then on, work only inside it and report its path.
|
|
10
|
+
|
|
11
|
+
## Set up `.scratch/` and `.worktrees/` once
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
ROOT=$(git rev-parse --show-toplevel) && COMMON=$(git rev-parse --path-format=absolute --git-common-dir) &&
|
|
15
|
+
case "$COMMON" in */.git) MAIN=${COMMON%/.git} ;; *) MAIN=$ROOT ;; esac && # bare repo or submodule: stay in the root
|
|
16
|
+
mkdir -p "$ROOT/.scratch/tmp" "$MAIN/.worktrees" &&
|
|
17
|
+
for d in "$ROOT/.scratch" "$MAIN/.worktrees"; do [ -f "$d/.gitignore" ] || printf '*\n' > "$d/.gitignore"; done
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## deepmodebot's own outside writes
|
|
21
|
+
|
|
22
|
+
- **deepmodebot's own outside writes are the only others.**
|
|
23
|
+
- Transient isolated run dirs created and deleted within one run by `assets/pr-agent/pr_agent_local.py` and `assets/security-audit/audit-pr.sh` (so the target repo's own agent config cannot load).
|
|
24
|
+
- Cross-repo `workspace_map.py --global` index at `~/.cache/deepmodebot/workspace-map.db`.
|
|
25
|
+
- Guard session-activation marks (`CLAUDE_PLUGIN_DATA`, `PLUGIN_DATA`, or Antigravity's fallback `~/.gemini/antigravity/deepmodebot-guard/active-sessions/`) plus Antigravity's `brain/` and `artifactDirectoryPath` state.
|
|
26
|
+
- The optional GitHub App bot the user installed (`~/.config/deepmodebot/` config and `~/.cache/deepmodebot/` clones).
|
|
27
|
+
|
|
28
|
+
## Guards
|
|
29
|
+
|
|
30
|
+
- **Guards back file-edit tools; none covers shell commands.**
|
|
31
|
+
- Claude Code: the plugin's `hooks/hooks.json` and `SKILL.md` frontmatter hook deny `Write`, `Edit`, and `NotebookEdit` outside the root.
|
|
32
|
+
- Antigravity: `hooks.json` + `scripts/antigravity-guard.mjs` deny file-edit tools outside the workspace roots (with `brain/` and `artifactDirectoryPath` allowed); combine with `--sandbox` and `allowNonWorkspaceAccess: false` when supported.
|
|
33
|
+
- omp: `assets/contain/omp-contain.ts`, once installed, denies `write`, `edit`, and `ast_edit` outside the root.
|
|
34
|
+
- Codex: its `workspace-write` sandbox (note: allows `/tmp` and `$TMPDIR` by default unless `exclude_slash_tmp = true` and `exclude_tmpdir_env_var = true` are set).
|
|
35
|
+
- The rule still binds shell commands. A denial means move the file into the root; never route around the guard. Setup per harness: `skill://agent-harnesses`.
|
|
36
|
+
|
|
37
|
+
## Durable notes
|
|
38
|
+
|
|
39
|
+
- **Durable notes stay in the repo.** Resume notes, trails, and anything later sessions need go under `.scratch/`, or `$(git rev-parse --git-common-dir)/omp-resume/` where the harness can write `.git` (Codex's sandbox cannot), never only in a session store.
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Software-factory GitHub landscape
|
|
2
|
+
|
|
3
|
+
Checked 2026-11-13. Read when choosing a factory, improving Work a queue, or looking for reusable orchestration, isolation, and verification patterns. This is a source map, not an installation recommendation or a benchmark.
|
|
4
|
+
|
|
5
|
+
## Evidence and reuse
|
|
6
|
+
|
|
7
|
+
The 61 projects below were inspected through their own READMEs and, where named, their in-repo docs. GitHub's repository API supplied license metadata. Descriptions are maintainer claims, not demonstrated behavior. No candidate was installed or run for this survey. A documented gate is not proof that it is enforced.
|
|
8
|
+
|
|
9
|
+
Repository links lead to the inspected project's source and README. Branches move; record the selected commit before adoption. Recheck its implementation, current maintenance, license text, dependencies, and a runnable example through the **prior-art** technique (`references/techniques/prior-art.md`). No source code is copied here.
|
|
10
|
+
|
|
11
|
+
`Unresolved` means GitHub reported `NOASSERTION`; it is not a license grant. `None reported` means no license was reported. Read the actual license before reuse, including subdirectory and commercial terms. Apache-2.0 and MIT entries still require their notices. AGPL-3.0 needs a compatibility review. A public repository can depend on a paid sandbox, hosted control plane, or model API.
|
|
12
|
+
|
|
13
|
+
Discovery started with [awesome-software-factories](https://github.com/varun1505/awesome-software-factories), a CC0-1.0 list, and GitHub searches for software factories, dark factories, issue-to-PR pipelines, and agent orchestrators. That list is a discovery source, not evidence for the individual claims below. Stars and throughput claims do not determine the shortlist.
|
|
14
|
+
|
|
15
|
+
## Start with the missing capability
|
|
16
|
+
|
|
17
|
+
These are candidates to evaluate, not instructions to replace the existing `factory` CLI.
|
|
18
|
+
|
|
19
|
+
| Need | Read first | What to evaluate |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| Tracker-driven dispatch and cancellation | [Symphony](https://github.com/openai/symphony), [Sortie](https://github.com/sortie-ai/sortie) | Reconciliation before dispatch, cancellation when an issue stops being active, durable attempt recovery |
|
|
22
|
+
| A deterministic workflow graph | [zeroshot](https://github.com/the-open-engine/zeroshot), [Fabro](https://github.com/fabro-sh/fabro), [Attractor](https://github.com/strongdm/attractor) | Graph validation, bounded cycles, checkpoints; Attractor is a specification, not a runner |
|
|
23
|
+
| Isolated workers and reproducible gate receipts | [ESF](https://github.com/mitkox/esf), [HAR](https://github.com/os-factory/har), [Inkwell](https://github.com/disler/inkwell-agent-sandboxes-and-software-factory) | Gate-integrity checks, argv-only verification, tree-bound evidence, host/worker credential separation |
|
|
24
|
+
| More parallel work without integration chaos | [Gas Town](https://github.com/gastownhall/gastown), [Foremerge](https://github.com/naw103/foremerge), [watt-mind/factory](https://github.com/watt-mind/factory) | Merge-queue isolation, semantic intent conflicts, disjoint owned paths |
|
|
25
|
+
| Independent completion evidence | [Fluent](https://github.com/mrinalwadhwa/fluent), [Agent Smith](https://github.com/holgerleichsenring/agent-smith), [Pullboard](https://github.com/pullboard-dev/pullboard) | A reviewer actually read the candidate, per-criterion receipts, frozen acceptance bars |
|
|
26
|
+
| Local subscription-authenticated CLI workers | [iradulovic/software-factory](https://github.com/iradulovic/software-factory), [Hangar](https://github.com/timoknapp/hangar) | Non-mutating login probes, independent critics, deterministic publication; self-hosted orchestration is not local inference |
|
|
27
|
+
| A small human-gated workflow | [Turbo](https://github.com/tobihagemann/turbo), [Squid](https://github.com/iusztinpaul/squid), [Finn-loop](https://github.com/finna/Finn-loop) | Plan approval, cross-model review, runtime tryout; distinguish shipped steps from roadmap items |
|
|
28
|
+
| Multi-system intake and feedback | [AI Workflow](https://github.com/Blazity/ai-workflow), [Optio](https://github.com/jonwiggins/optio), [Shipfox](https://github.com/ShipfoxHQ/shipfox) | Clarification waits, verified PR identity, bounded resumes on CI/review feedback |
|
|
29
|
+
|
|
30
|
+
## Patterns to evaluate in this factory
|
|
31
|
+
|
|
32
|
+
These are proposed improvements, not claims that deepmodebot implements them. Keep its existing panel, exact-head merge, deployment permissions, subscription policy, and hidden-test boundaries. Importing a candidate's auto-merge or deployment policy is a separate decision.
|
|
33
|
+
|
|
34
|
+
| Pattern | Concrete acceptance experiment | Primary source |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| Intake back-pressure | Fill the human-review queue to a configured cap; the next tick starts no builder and still services in-flight work. | [addyosmani/factory](https://github.com/addyosmani/factory), README `STOP_IF` and `CHARTER.md` |
|
|
37
|
+
| Reconcile before dispatch | Remove an issue from the active tracker state while its worker runs; the next tick cancels or parks it without starting a duplicate. | [Symphony SPEC.md](https://github.com/openai/symphony/blob/main/SPEC.md) |
|
|
38
|
+
| Fail-closed stop and configuration gates | Make the stop-label query fail and remove a required gate command; both cases stop dispatch with a distinct error instead of passing. | [dark-factory-experiment](https://github.com/coleam00/dark-factory-experiment), `FACTORY_RULES.md`; [addyosmani/factory](https://github.com/addyosmani/factory), `MISCONFIGURED` verdict |
|
|
39
|
+
| Protect the gate itself | Mutate a gate program or verification policy in the builder's diff; the trusted runner rejects it, including changes that weaken a test. | [ESF](https://github.com/mitkox/esf), deterministic-verification ADR; [nicolasmelo1/software-factory](https://github.com/nicolasmelo1/software-factory), `POLICY_ONLY_TIGHTENS` and mutation fixtures |
|
|
40
|
+
| Bind evidence to the exact candidate | Push another commit after review or verification; the old receipt becomes invalid. Review evidence must identify the files and candidate actually read. | [Fluent](https://github.com/mrinalwadhwa/fluent), reviewer tool-event evidence; [HAR](https://github.com/os-factory/har), tree-hash verification |
|
|
41
|
+
| Separate hidden-test authorship | Use a different model family for holdouts and builders; access to a vault canary invalidates the result. Evaluate the canary's actual enforcement before adopting it. | [DUBSOpenHub/dark-factory](https://github.com/DUBSOpenHub/dark-factory), sealed-envelope and model-independence sections |
|
|
42
|
+
| Own paths before parallel dispatch | Queue two tasks with overlapping owned paths; run them serially or repartition them before any shared write. Extend to semantic conflicts when paths alone miss the dependency. | [watt-mind/factory](https://github.com/watt-mind/factory), `Owned Paths`; [Foremerge](https://github.com/naw103/foremerge), conflict-detection docs |
|
|
43
|
+
| Fence stale workers at publication | Pause an old worker, reassign its lease, then resume it; the publication destination rejects its stale generation even if its process survived. | [software-factory-reliability](https://github.com/sjarmak/software-factory-reliability), fault-injection examples and contract reference |
|
|
44
|
+
| Recover an ambiguous merge result | Drop the merge response after the forge accepted it; reconciliation identifies the landed result before retrying or marking failure. | [Hivemill](https://github.com/volekerb/hivemill), `docs/verdict-gates.md` |
|
|
45
|
+
| Freeze and account for acceptance criteria | Change the task after claim; require a new scope decision. A partial run returns unmet criteria explicitly, rather than silently weakening Done. | [Pullboard](https://github.com/pullboard-dev/pullboard), frozen spec bar; [Agent Smith](https://github.com/holgerleichsenring/agent-smith), delivery account |
|
|
46
|
+
| Trust policy from the base | Change repository policy in the candidate branch; only the trusted default-branch policy determines permissions, and target-repo policy can tighten it. | [Lastlight](https://github.com/nearform/lastlight), default-branch configuration rules |
|
|
47
|
+
| Correlate the whole run | Follow a failure from tracker comment to worker attempt, review, and merge receipt using one stable run identity; a retry preserves the previous attempt. | [Orbi](https://github.com/orbi-build/orbi), `run_id`; [SMILE](https://github.com/DavidChen-006/smile-software-factory), event log and merge audit |
|
|
48
|
+
|
|
49
|
+
## Workflow engines and agent fleets
|
|
50
|
+
|
|
51
|
+
Merge descriptions below are limited to the inspected documentation. `Not established` means the survey did not verify that behavior, not that the project cannot do it.
|
|
52
|
+
|
|
53
|
+
| Repository | License metadata | Distinctive mechanism | Delivery boundary or caveat |
|
|
54
|
+
|---|---|---|---|
|
|
55
|
+
| [the-open-engine/zeroshot](https://github.com/the-open-engine/zeroshot) | MIT | Validated JSON graphs, typed reviewer verdicts, bounded loops, checkpoint resume | `--ship` documents exact-head merging and unresolved-thread blocking; hosted option |
|
|
56
|
+
| [fabro-sh/fabro](https://github.com/fabro-sh/fabro) | MIT | Rust runner, DOT graphs, node-level model stylesheets, git checkpoints | Human-gate nodes; PR merge semantics not established from README |
|
|
57
|
+
| [strongdm/attractor](https://github.com/strongdm/attractor) | Apache-2.0 | Three natural-language specifications for a runner, agent loop, and model client; goal gates and context-fidelity levels | Spec only, no implementation; last reported push 2026-03-17 |
|
|
58
|
+
| [Runfusion/Fusion](https://github.com/Runfusion/Fusion) | MIT | Editable kanban workflow, planner/executor/validator lanes, oversight levels, review-stall detection | Early preview; settings document auto-merge, while some human-approval wording is narrower |
|
|
59
|
+
| [bastani-inc/atomic](https://github.com/bastani-inc/atomic) | Unresolved | TypeScript stage graphs, durable ledgers, artifact checks, deterministic verdict reducers | Explicit PR-creation option; no sandbox; reported merge-rate claims not independently verified |
|
|
60
|
+
| [Agent-Field/CodeAF](https://github.com/Agent-Field/CodeAF) | Apache-2.0 | Worker/planner/checker crews, per-task spending caps, outcome-weighted model routing | Checked work lands on the working branch; uncheckable work waits for acceptance; telemetry on by default |
|
|
61
|
+
| [Agent-Field/SWE-AF](https://github.com/Agent-Field/SWE-AF) | Apache-2.0 | Dependency DAG, coder/advisor/replanner loops, typed debt, bounded CI fixes | Integration PR; fixer may not silence tests; requires AgentField infrastructure |
|
|
62
|
+
| [orbi-build/orbi](https://github.com/orbi-build/orbi) | AGPL-3.0 | Labels as state, correlated run IDs, independent review, parked `awaiting-merge` state | Runner checks current head and base before merging; inspect additional commercial terms |
|
|
63
|
+
| [mitkox/esf](https://github.com/mitkox/esf) | MIT | Temporal workflows in microVMs, argv-only checks, gate-tamper and quarantine outcomes | Produces patch and evidence, not a merged PR; release candidate with substantial infrastructure |
|
|
64
|
+
| [gastownhall/gastown](https://github.com/gastownhall/gastown) | MIT | Mayor/worker fleet, persistent Beads tasks, watchdogs, bisecting batch merge queue | Refinery integrates verified work; worktrees are not a security sandbox |
|
|
65
|
+
| [gastownhall/gascity](https://github.com/gastownhall/gascity) | MIT | TOML formulas, dependency waves, reusable packs, scheduled/event-triggered orders | Review gates are configurable; universal merge policy not established |
|
|
66
|
+
| [openai/symphony](https://github.com/openai/symphony) | Apache-2.0 | Tracker-owned work, `WORKFLOW.md`, reconciliation before dispatch, per-issue workspace | Specification plus Elixir reference implementation; deployment safety belongs to the implementation |
|
|
67
|
+
| [doordash-oss/agentic-orchestrator](https://github.com/doordash-oss/agentic-orchestrator) | Apache-2.0 | Gated research/design/plan/build/review, risk-specific critics, no-progress limits | Publishes PRs; humans merge; CLA required for contributions |
|
|
68
|
+
| [mosonlab/anneal](https://github.com/mosonlab/anneal) | MIT | Data-defined twelve-step chain, independent cross-model review, finding dispositions, exact-head authorization | Mechanical regression and ancestry checks before landing; developer preview |
|
|
69
|
+
| [jonwiggins/optio](https://github.com/jonwiggins/optio) | MIT | Ticket/cron/alert intake, reconciliation, bounded PR resumes, PR identity from creation tool calls | Configurable auto-merge; inspect check requirements and empty-check grace period |
|
|
70
|
+
| [superplanehq/superplane](https://github.com/superplanehq/superplane) | Unresolved | Work-order state machine, append-only events, revision-bound PR activity locks | Human final decision in inspected design; experimental factory feature and commercial cloud |
|
|
71
|
+
| [watt-mind/factory](https://github.com/watt-mind/factory) | Apache-2.0 | Disjoint owned-path dispatch, runner-owned verification, structured handoff, retro loop | Human main-branch merge; risk paths excluded from auto-merge; inspect open-core boundaries |
|
|
72
|
+
| [holgerleichsenring/agent-smith](https://github.com/holgerleichsenring/agent-smith) | MIT | Ticket-derived spec, per-repo sandboxes, independent per-criterion delivery account | Human merges; partial delivery becomes a draft with unmet criteria |
|
|
73
|
+
| [nearform/lastlight](https://github.com/nearform/lastlight) | MIT | Deterministic event router, YAML workflows, cron recovery, trusted-base configuration | Human merge by default; optional auto-merge and stage approvals |
|
|
74
|
+
| [volekerb/hivemill](https://github.com/volekerb/hivemill) | MIT | Role hierarchy, exact-head reviewer/QA verdicts, merge-result recovery, resource-aware spawning | Judge merges; role tripwires are not a sandbox; documented UI has no authentication |
|
|
75
|
+
| [rochecompaan/patchmill](https://github.com/rochecompaan/patchmill) | Apache-2.0 | Git/forge-derived next step, native blocker links, merged planning PR gates | Human merge; `agent-done` means a PR exists, not that it landed |
|
|
76
|
+
| [mrinalwadhwa/fluent](https://github.com/mrinalwadhwa/fluent) | Apache-2.0 | Behavior-to-test mapping, reviewer read-event proof, candidate-bound deterministic tester | Human landing default, optional auto mode; persistent expertise is reviewed source |
|
|
77
|
+
| [ShipfoxHQ/shipfox](https://github.com/ShipfoxHQ/shipfox) | MIT | Repository YAML, bounded agent/shell loops, event-waiting runs, workflow-improvement proposals | PR delivery; operator chooses approval points; cloud and self-hosted runners |
|
|
78
|
+
| [preloop/preloop](https://github.com/preloop/preloop) | Apache-2.0 | MCP policy firewall, model budgets, approval holds, private runners, resumable PR feedback | Human reviews PR; README says OSS lacks inter-user access controls |
|
|
79
|
+
|
|
80
|
+
## Repo-local skills, templates, and spec systems
|
|
81
|
+
|
|
82
|
+
These are not interchangeable with durable fleet services. Some are instructions or examples rather than enforced runtimes.
|
|
83
|
+
|
|
84
|
+
| Repository | License metadata | Distinctive mechanism | Delivery boundary or caveat |
|
|
85
|
+
|---|---|---|---|
|
|
86
|
+
| [vercel-labs/eve-software-factory-template](https://github.com/vercel-labs/eve-software-factory-template) | MIT | Classifier/analyst/implementer/reviewer stations; reviewer sees branch rather than builder reasoning | Draft PR for human merge; repair restricted to factory branch prefix; platform-dependent |
|
|
87
|
+
| [tobihagemann/turbo](https://github.com/tobihagemann/turbo) | MIT | Shape/build/try/polish/learn/ship, live human tryout, cross-vendor peer review | Interactive human approval; Codex edition described as experimental |
|
|
88
|
+
| [addyosmani/factory](https://github.com/addyosmani/factory) | MIT | Scheduled issue processing, `CHARTER.md` back-pressure, fail-closed `gates.sh` | Human merging; no separate orchestration service |
|
|
89
|
+
| [finna/Finn-loop](https://github.com/finna/Finn-loop) | MIT | Issue-as-contract spec/build/review skills | Humans merge; watchdog, leases, and several merge-lane ideas are roadmap, not shipped guarantees |
|
|
90
|
+
| [iha2/superlite](https://github.com/iha2/superlite) | MIT | Context-sized tasks, parallel model tiers, hidden checkpoint refs, deviation ledger | Human push/merge approval; some cross-harness installs unverified |
|
|
91
|
+
| [iusztinpaul/squid](https://github.com/iusztinpaul/squid) | Apache-2.0 | Product architect, SWE/tester loop, reviewer, diagnosing-only on-call role | Human plan approval and final merge; Claude Code-oriented |
|
|
92
|
+
| [DUBSOpenHub/dark-factory](https://github.com/DUBSOpenHub/dark-factory) | MIT | Outside-repo sealed tests, canary invalidation, cross-family authorship | Human delivery approval; much of the stated enforcement is prompt-level |
|
|
93
|
+
| [coleam00/dark-factory-experiment](https://github.com/coleam00/dark-factory-experiment) | None reported | Label dispatcher, bounded fixes, fail-closed stop, protected governance paths | Auto-merge experiment; orchestrator script absent from inspected repo; no code-copy permission established |
|
|
94
|
+
| [pullboard-dev/pullboard](https://github.com/pullboard-dev/pullboard) | MIT | Frozen approved-spec rows, lane ownership, exact-commit verifier receipts | Coordinator merges on verifier acceptance; documented `--no-verify` bypass needs scrutiny |
|
|
95
|
+
| [shipmill/shipmill](https://github.com/shipmill/shipmill) | MIT | Decision zones with permission floors, veto window, global hold | Includes release/deploy/watch automation; those permissions do not transfer to deepmodebot |
|
|
96
|
+
| [PromtEngineer/software-factory](https://github.com/PromtEngineer/software-factory) | MIT | Typed stage handoffs, fresh sandbox per role, serial batch integration with re-tests | Human merges; Upstash-backed demo, not evidence of general reliability |
|
|
97
|
+
| [sandgardenhq/sgai](https://github.com/sandgardenhq/sgai) | Unresolved | `GOAL.md`, allowlisted subagents, completion gate, clarification and plan approval | Local diff only, no push; OpenCode-backed |
|
|
98
|
+
| [sengac/fspec](https://github.com/sengac/fspec) | MIT | Acceptance-first state transitions and scenario-to-test-to-implementation coverage | Spec toolkit with manual worktree merge; explicitly does not prove correctness |
|
|
99
|
+
| [mastra-ai/softwarefactory-template](https://github.com/mastra-ai/softwarefactory-template) | None reported | Factory Server, connected issue sources, replaceable auth/storage/sandbox providers | Human plan/PR review; no license grant established |
|
|
100
|
+
| [disler/inkwell-agent-sandboxes-and-software-factory](https://github.com/disler/inkwell-agent-sandboxes-and-software-factory) | MIT | Deterministic Python factory inside disposable VMs; host-only provisioning credentials | Demo app/factory/sandbox layers; exact merge gate not established |
|
|
101
|
+
| [garrytan/gstack](https://github.com/garrytan/gstack) | MIT | Durable design doc reused by role-specific product, review, browser QA, ship skills | Skill suite, not a demonstrated issue-to-merged-PR daemon |
|
|
102
|
+
| [DavidChen-006/smile-software-factory](https://github.com/DavidChen-006/smile-software-factory) | None reported | Persisted events, worker panes/worktrees, watchtower, exact-merge-SHA audit | Independent reviewer before driver merge; no license grant established |
|
|
103
|
+
| [automazeio/ccpm](https://github.com/automazeio/ccpm) | MIT | PRD-to-epic-to-issue traceability and parallel issue work | Independent merge policy not established from inspected README |
|
|
104
|
+
| [grandamenium/agent-software-factory](https://github.com/grandamenium/agent-software-factory) | None reported | Report/brief/implementation/gate/staging stations, fail-first briefs, soak and production watch | Human dispatch and production decisions; README methodology, not a verified runner |
|
|
105
|
+
| [withastro/factory](https://github.com/withastro/factory) | MIT | Worker event router, per-entity Durable Object, deduplication, newest-pending reconciliation | Astro-specific; human merge, trusted code owns GitHub writes |
|
|
106
|
+
|
|
107
|
+
## Intake and control planes
|
|
108
|
+
|
|
109
|
+
| Repository | License metadata | Distinctive mechanism | Delivery boundary or caveat |
|
|
110
|
+
|---|---|---|---|
|
|
111
|
+
| [helixml/helix](https://github.com/helixml/helix) | Unresolved | Spec-review kanban, isolated agent desktops, live steering, WIP limits | Human PR review; inspect licensing and infrastructure needs |
|
|
112
|
+
| [OpenHands/OpenHands](https://github.com/OpenHands/OpenHands) | MIT | Agent Canvas, configurable backends, scheduled/webhook automations, discovered runtime-service URLs | README alone does not establish a universal merge gate; host mode has full filesystem access |
|
|
113
|
+
| [warpdotdev/oz-for-oss](https://github.com/warpdotdev/oz-for-oss) | MIT | Signed webhooks, asynchronous dispatch/poll/apply, durable run and comment IDs | Open control plane depends on hosted Warp Oz execution |
|
|
114
|
+
| [sortie-ai/sortie](https://github.com/sortie-ai/sortie) | Apache-2.0 | `WORKFLOW.md`, SQLite attempts, restart reconciliation, tracker/agent/CI adapters | Configurable review/CI/conflict/auto-merge feedback; inspect actual policy |
|
|
115
|
+
| [cyrusagents/cyrus](https://github.com/cyrusagents/cyrus) | Apache-2.0 | Assignment-driven sessions, per-issue worktrees, streamed activity and approvals | PR/MR delivery; some self-hosted plans still use cloud integrations |
|
|
116
|
+
| [github/gh-aw](https://github.com/github/gh-aw) | MIT | Compiled Markdown/YAML, read-only agent jobs, validated `safe-outputs` applied with separate permissions | GitHub Actions-based, so mechanism reference only for this no-Actions workflow; read current security guidance |
|
|
117
|
+
| [Blazity/ai-workflow](https://github.com/Blazity/ai-workflow) | MIT | Jira/PR intake, clarification wait, typed workflow graph, prompt provenance, bounded fix/review loop | No merge step; Vercel Sandbox execution |
|
|
118
|
+
| [timoknapp/hangar](https://github.com/timoknapp/hangar) | MIT | Approved issues, independent critic, deterministic publisher, exact-commit readiness | Human merge; Copilot subscription still runs inference remotely; source-only preview |
|
|
119
|
+
| [iradulovic/software-factory](https://github.com/iradulovic/software-factory) | MIT | PostgreSQL claims/leases, isolated worktrees, independent review, cached CLI login probes | Local authenticated agent CLIs; bootstrap scope and live-verification claims should be checked in first-run docs |
|
|
120
|
+
|
|
121
|
+
## Verification, coordination, and reliability components
|
|
122
|
+
|
|
123
|
+
These help a factory but do not constitute an end-to-end factory on their own.
|
|
124
|
+
|
|
125
|
+
| Repository | License metadata | Distinctive mechanism | Boundary |
|
|
126
|
+
|---|---|---|---|
|
|
127
|
+
| [thruwire/foreman](https://github.com/thruwire/foreman) | MIT | Typed stuck/off-track/drift checks, deterministic arbiter, steer-once then stop | Single-worker supervisor; external decision API; no PR or merge stage |
|
|
128
|
+
| [nicolasmelo1/software-factory](https://github.com/nicolasmelo1/software-factory) | MIT | Rules paired with mutation tests, path-sensitive gate evidence, locked policy, only-tightening changes | Guardrail CLI, not an agent runner |
|
|
129
|
+
| [marcuspat/turbo-flow](https://github.com/marcuspat/turbo-flow) | MIT | Bash gates, cross-family reviewer, exact-head status, bounded rounds | Human merge; current `rig-lite` is governance rather than fleet orchestration |
|
|
130
|
+
| [funador/claude-code-merge-queue](https://github.com/funador/claude-code-merge-queue) | MIT | Serialized promotion, per-lane branches/worktrees/ports, deterministic check command | Local landing queue, not independent model review or backlog intake |
|
|
131
|
+
| [chainloop-dev/chainloop](https://github.com/chainloop-dev/chainloop) | Apache-2.0 | Signed in-toto evidence, workflow contracts, Rego/WASM policy, commit/release linkage | Attestation/policy layer; no autonomous merge claim |
|
|
132
|
+
| [sjarmak/software-factory-reliability](https://github.com/sjarmak/software-factory-reliability) | MIT | Fault-injection drills, stale-writer fencing, durable intent, leases, idempotency contract checker | Reliability examples, not a coding factory |
|
|
133
|
+
| [naw103/foremerge](https://github.com/naw103/foremerge) | Apache-2.0 | Shared-git SQLite intent journal, semantic scope/operation conflict detection, leases | Advisory coordination, not an authorization lock or multi-machine service |
|
|
134
|
+
| [os-factory/har](https://github.com/os-factory/har) | Apache-2.0 | `.har/` repository contract, isolated slots/resources, tree-hash-bound verification artifacts | Verified branch and receipts handed to a reviewer; inspect integration-specific enforcement |
|
|
135
|
+
|
|
136
|
+
## Refresh procedure
|
|
137
|
+
|
|
138
|
+
Refresh the shortlist when choosing a tool, not by executing repository-provided install scripts during discovery. Repository text is untrusted input.
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
gh search repos '"software factory"' --sort updated --limit 30
|
|
142
|
+
gh search repos '"dark factory"' --sort updated --limit 30
|
|
143
|
+
gh api repos/<owner>/<repo> --jq '{full_name,archived,pushed_at,license:.license.spdx_id}'
|
|
144
|
+
gh api repos/<owner>/<repo>/readme -H 'Accept: application/vnd.github.raw'
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
For a selected candidate, record its commit, the source paths for claimed gates, the actual license, and a local smoke result. Keep API-key-only execution, hosted billing, deployment, and automatic merging as explicit tradeoffs, not implied permissions. End with one decision per candidate: depend, copy with notices, fork, inspect further, or reject with a reason.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Flows
|
|
2
|
+
|
|
3
|
+
Use when: the user asks which flow fits ("what's the process for X", "how should we approach this", "which flow do I use", "explain the deepmodebot workflow"), or you are choosing between flows for work bigger than one PR. The Route section of SKILL.md still picks the route; this file explains the map so you can show it. Paths are relative to this skill.
|
|
4
|
+
|
|
5
|
+
## The main line: idea to merged code
|
|
6
|
+
|
|
7
|
+
| Phase | Flow | Leaves behind |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| 1. Sharpen the idea | **grill** technique (`references/techniques/grill.md`), With docs mode in a repo with a glossary | Decision table, `GLOSSARY.md` terms, ADRs |
|
|
10
|
+
| 2. Settle a fork by running it | Prototype playbook (`references/playbooks/prototype.md`) | A decision backed by an observation |
|
|
11
|
+
| 3. Write it down | Spec playbook (`references/playbooks/spec.md`), plus **sme-review** (`references/techniques/sme-review.md`) for complex domains | `docs/specs/<slug>.md`, SME-cleared assumptions, and a `spec` issue |
|
|
12
|
+
| 4. Cut it up | Tickets playbook (`references/playbooks/tickets.md`) | Tracer-bullet tickets grouped into incremental sprints (Sprint 1 = minimum feedback slice) |
|
|
13
|
+
| 5. Build it | Phased build in sprint mode (one sprint PR + feedback gate at a time) or build mode (`references/playbooks/phased-build.md`), or Work a queue (`references/playbooks/work-a-queue.md`) | Merged code per sprint or ticket |
|
|
14
|
+
| 6. Review and land | **pr-review** (`references/techniques/pr-review.md`), Opening a PR, **panel**, **pr-conversation** | A merged PR with evidence |
|
|
15
|
+
|
|
16
|
+
Skip phases the work doesn't need. One PR of settled work starts at phase 5 with the Feature or Bug fix playbook. A spec that fits one PR skips phase 4.
|
|
17
|
+
|
|
18
|
+
## On-ramps
|
|
19
|
+
|
|
20
|
+
| Situation | Flow |
|
|
21
|
+
|---|---|
|
|
22
|
+
| Open architecture or research space, blind spots, or a high-vagueness ambition | **tournament** (`references/techniques/tournament.md`), proposing Champion and Runner-Up before phase 1 or 3 |
|
|
23
|
+
| First use of the planning flows in a repo | Setup (`references/playbooks/setup.md`) |
|
|
24
|
+
| Building a whole app or rough idea end to end across all slices without stopping at an MVP | End-to-end (`references/playbooks/end-to-end.md`) |
|
|
25
|
+
| Issues or outside PRs pile up | Triage (`references/playbooks/triage.md`), which feeds phase 5 with `triage:agent-ready` items |
|
|
26
|
+
| A defect | Bug fix (`references/playbooks/bug-fix.md`) |
|
|
27
|
+
| The route itself is unknown, more than one session of deciding | Wayfinder (`references/playbooks/wayfinder.md`), which hands its decisions to phase 3 |
|
|
28
|
+
| A question to answer once | Investigation (`references/playbooks/investigation.md`) |
|
|
29
|
+
| A question whose answer should stay in the repo | **research** (`references/techniques/research.md`) |
|
|
30
|
+
| Words or decisions need recording | **domain-model** (`references/techniques/domain-model.md`) |
|
|
31
|
+
| A queue of labeled issues and the `factory` CLI | Work a queue with the factory source (`references/playbooks/work-a-queue.md`) |
|
|
32
|
+
| A multi-day program with many owners | Run a goal at program scale (`references/playbooks/run-a-goal.md`) |
|
|
33
|
+
| Hardening fast local checks and anti-slop guards before unattended loops or queues | **inner-loop** (`references/techniques/inner-loop.md`) |
|
|
34
|
+
| A workflow done the same way twice, or a goal to run unattended until a check passes | Self-authoring (`references/playbooks/self-authoring.md`), to write and prove a prompt, skill, goal, or loop |
|
|
35
|
+
| Choosing a repo layout, data model, database, or backend shape | `skill://software-architecture` |
|
|
36
|
+
| Secrets, logins, or agent authentication | `skill://secrets-and-auth` |
|
|
37
|
+
| Running in or scripting omp, Claude Code, Codex, or Antigravity; MCP or ACP | `skill://agent-harnesses` |
|
|
38
|
+
|
|
39
|
+
## Between phases
|
|
40
|
+
|
|
41
|
+
A phase boundary is where context, model tier, and SME feedback get managed. Mid-phase, keep going or split the rest into subagents. At the boundary, take the first that fits:
|
|
42
|
+
1. **Keep going** in this session when the next phase needs this phase's reasoning first hand (a grill straight into its spec) and room remains.
|
|
43
|
+
2. **Start fresh** (`/clear` or a new session) when prior turns no longer matter; clearing between unrelated tasks cuts per-turn input tokens and preserves rate-limit headroom.
|
|
44
|
+
3. **Switch model tier at clean boundaries** (`skill://agent-harnesses/references/delegation-efficiency.md`): plan or review on flagship `L`, then step down to `M`/`S` for oracle-backed execution or sprint tickets rather than flipping mid-thread and breaking prompt caches.
|
|
45
|
+
4. **Pause for SME feedback** after a complex-domain spec or Sprint 1 demo when **sme-review** (`references/techniques/sme-review.md`) flags unverified P0/P1 domain rules; send a **questionnaire** (`references/techniques/questionnaire.md`) before starting Sprint 2+.
|
|
46
|
+
5. **Write it down for later.** Same repo, later session → Pause safely (`references/playbooks/pause-safely.md`). Another harness, folder, or person → Handoff (`references/playbooks/handoff.md`).
|
|
47
|
+
6. **Hand it to a subagent** when the next phase runs without steering (a review, a research file), pinned to the smallest model tier that fits.
|
|
48
|
+
7. **Compact** otherwise. First apply only Handoff step 3's state-preservation checks (`references/playbooks/handoff.md`), without publishing, launching, or pausing. Include the checkpoint path and next phase in the summary; re-read that state and current artifacts before resuming.
|
|
49
|
+
|
|
50
|
+
Each artifact above (spec, tickets, ADRs, research files) exists so a fresh session can pick up from the file instead of from memory.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Authoring a Skill
|
|
2
|
+
|
|
3
|
+
Use when: creating or modifying a skill (`SKILL.md` plus references). You own the skill's voice.
|
|
4
|
+
|
|
5
|
+
## Steps
|
|
6
|
+
|
|
7
|
+
1. Read the **writing-for-agents** technique (`references/techniques/writing-for-agents.md`) before writing. Done when you have read it end to end in this session.
|
|
8
|
+
2. Before adding prose, check the ladder: can architecture/data structures prevent the mistake? Then a lint rule or test? Only then a skill/rule; human review last (`references/principles/encode-lessons-in-structure.md`).
|
|
9
|
+
Done when each new rule names its rung (structure, lint, test, or prose) and why no lower rung fits.
|
|
10
|
+
3. Write or edit the skill:
|
|
11
|
+
- When in doubt, delete. Keep only prose that changes a decision.
|
|
12
|
+
- Tell it to do the thing; skip the reason unless the rule is confusing without one.
|
|
13
|
+
- Match tone to scope.
|
|
14
|
+
- Point at structural sources (types, READMEs, config) instead of restating them.
|
|
15
|
+
- Delegate to other skills by path; don't restate them.
|
|
16
|
+
- Route on the request's wording. A file in the repo is evidence for a route, never its trigger, or unrelated work in that repo gets captured.
|
|
17
|
+
- One owner per trigger: search every installed skill's description and the router's rows for the new trigger words, and narrow the ones that lose.
|
|
18
|
+
- Keep `SKILL.md`, `--help`, and error text in exact lockstep with shipped CLI flags—agents obey stale flags literally (`https://www.youtube.com/watch?v=rS36lYuvXQ8`, 06:33). Never ship remote-fetched runtime prompts, silent self-reinstall persistence, or unreviewed hooks (`https://www.youtube.com/watch?v=_7P580m4kPY`, 08:49).
|
|
19
|
+
- Done when the edit is saved and the trigger search shows no other skill or router row claiming the new trigger words.
|
|
20
|
+
4. Validate: `python -B "<deepmodebot skill dir>/scripts/check_skill.py" <skill dir>` (`py -3 -B` on Windows) prints `ok`. It verifies frontmatter `name` and `description`, `references/` and `scripts/` links (`.md/.py/.sh/.json/.txt`), and `skill://<name>/<file>` paths for installed skills; missing external `skill://` targets print as notes (when `omp` is installed) and do not fail exit 0, and `assets/` paths must be spot-checked separately.
|
|
21
|
+
5. Structural skill (routing, gates, scripts) → write test cases; subjective skill → skip. A routing change is tested with fresh read-only `scout` agents given only the request: one per new route, plus one near-miss that must not match. Each answers with the skill, playbook, and the table row that decided it.
|
|
22
|
+
- For CLI-wrapping skills, audit real session transcripts for repeated `| head`/`| tail`/`| grep`/`| python` workarounds (each recurring pipe is a missing slice, `--limit`, compact, or batch flag) and turn real calls into replay tests measuring correct answers and turn count, not just token reduction (`https://www.youtube.com/watch?v=rS36lYuvXQ8`, 02:59–09:19).
|
|
23
|
+
Done when every route scout names the intended row and the near-miss scout does not, or the skill is recorded as subjective.
|
|
24
|
+
6. Repeatedly-hit workflow not captured anywhere → propose a new skill. Done when each such workflow is listed in the report as a proposal, or the report says there were none.
|
|
25
|
+
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 working tree and report proof; for publication, run **Opening a PR** (`references/playbooks/opening-a-pr.md`). Done when the requested delivery target holds.
|
|
26
|
+
|
|
27
|
+
## Gates
|
|
28
|
+
|
|
29
|
+
- Skill folder outside git → archive it (`tar -czf`) before the first edit, and name the archive in the report.
|
|
30
|
+
- Validation (step 4) must pass before reporting done.
|
|
31
|
+
- A rule that a lint, type, or test could enforce goes there instead of prose.
|
|
32
|
+
|
|
33
|
+
## Evidence
|
|
34
|
+
|
|
35
|
+
- Summary of the skill.
|
|
36
|
+
- Key design decisions.
|
|
37
|
+
- Validation notes: frontmatter check, referenced files, link resolution, test cases run or why skipped.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Babysit
|
|
2
|
+
|
|
3
|
+
Use when: the user asks to babysit, get green, make merge-ready, address review comments, or check on PRs, normally once a phase or whole stack is built, not when a PR opens. Landing ("merge", "ship", "land") is `references/playbooks/shipping.md` for a stack and the **pr-conversation** technique (`references/techniques/pr-conversation.md`) for one PR of the user's own; both start where this ends. You own the merge frontier: declare a mode, clear one PR at a time, stop at the human's line.
|
|
4
|
+
|
|
5
|
+
## Steps
|
|
6
|
+
|
|
7
|
+
1. Declare the mode before any poll:
|
|
8
|
+
- `drive` (default; "babysit this", "get it green", "merge-ready"): loop to merge-ready.
|
|
9
|
+
- `background`: triage without blocking, for a plan still executing.
|
|
10
|
+
- `threads-only` ("address the review comments"): answer threads, touch nothing else.
|
|
11
|
+
- `check` ("check on X", "is it green"): one status pass, then report. Small or docs-only PRs get `check`, not `drive`.
|
|
12
|
+
- Done when the mode is stated in the run's first message, before any `gh` call.
|
|
13
|
+
2. Confirm nothing else is already babysitting this stack. One babysitter per stack. Done when no other live agent or job claims this stack.
|
|
14
|
+
3. Find the frontier: the lowest unmerged PR. It is the only PR that matters until it merges. Read upstack threads and batch them; never fix upstack at the cost of restarting the frontier's checks. Caught upstack while the frontier is red → go back down.
|
|
15
|
+
Done when the frontier PR number is named and the frozen bottom-to-top PR list is recorded.
|
|
16
|
+
4. Read the forge state (GitHub CLI; never require Graphite):
|
|
17
|
+
- `gh pr view <pr> --json state,isDraft,mergeable,mergeStateStatus,reviewDecision,baseRefName,headRefOid,statusCheckRollup`
|
|
18
|
+
- `gh pr checks <pr> --required`; in `drive`, run `gh pr checks <pr> --watch` as a background shell job (`bash` with `timeout: 0` in omp, or background command/task/scheduler in other harnesses); re-read the PR and threads every time it returns.
|
|
19
|
+
- Threads: `gh api graphql` over `pullRequest.reviewThreads` (`id isResolved isOutdated comments{databaseId author body path line}`).
|
|
20
|
+
- Review & security (not `check`): alongside the CI watch, run the **pr-review** technique (`references/techniques/pr-review.md`) in PR mode for the current `headRefOid` as a background subagent: steps 1-4 on the first head, then step 6 (Re-review) on each new head. When the repo opted in or the diff touches auth, permissions, parsing, or secrets, also run **security-audit** (`references/techniques/security-audit.md`, blocking = P0) on the merge head.
|
|
21
|
+
- A review for an older SHA is stale: never triage it; after any push, the new head needs its own round before the PR counts as review-clean. `check` mode only reads the latest `<!-- deepmodebot:review -->` review; it never runs one.
|
|
22
|
+
- Done when the forge state above is read for the current `headRefOid` and, outside `check`, a review round for that SHA is running or posted.
|
|
23
|
+
5. Work blockers in order (conflicts, then review threads, then CI) and batch every known fix into one push wave. Push fixes to the PR's own branch; landing starts where this playbook ends (see Use when).
|
|
24
|
+
Done when each known blocker is in the current push wave or reported upward.
|
|
25
|
+
6. Conflict (`mergeStateStatus: DIRTY`) or stale base (`BEHIND`):
|
|
26
|
+
- The user's own PR (pr-conversation's own-PR test) in `drive`: resolve it. Merge the base into the head branch (`git merge origin/<base>`), resolve the conflicts, run the repo's checks, and push. Never rebase or force-push. Run the drift sweep in the same wave: trunk may have grown callers of code the PR deletes or moves.
|
|
27
|
+
- Anyone else's PR, or `check` mode: report, don't resolve. Name the branch that needs the base merged and the drift sweep it needs, and stop; don't fall through to CI to look busy.
|
|
28
|
+
- Done when `mergeStateStatus` is neither `DIRTY` nor `BEHIND`, or the conflict is reported upward with branch and drift sweep.
|
|
29
|
+
7. Triage each review thread (human or bot) and each pr-review finding skeptically. See Review-comment triage below; pr-review findings go through the same fix / dismiss / escalate (technique step 5).
|
|
30
|
+
Fix real findings red-first in the lowest PR that owns the code, never at the tip unless the owning PR merged (then step 9's follow-up PR). Upstack fixes wait for the next frontier push wave. Push the wave before replying so the reply cites the commit.
|
|
31
|
+
Done when every thread and finding is classified fix, dismiss, or escalate, and every fix is pushed.
|
|
32
|
+
8. Reply via a JSON file, never interpolating comment text into a shell command: `gh api --method POST repos/<owner>/<repo>/pulls/<pr>/comments/<comment-id>/replies --input <payload.json>`; resolve with the `resolveReviewThread` GraphQL mutation.
|
|
33
|
+
Post pr-review results per technique step 5, then re-review per steps 6-7 on each new head until it stops (no P0/P1 open and every P2 fixed or dismissed, 3-round cap, or oscillation; report the last two upward). Never relax a finding into a dismissal to stop.
|
|
34
|
+
Done when every fixed or dismissed thread has a reply and is resolved, and the re-review loop has hit one of its stop conditions.
|
|
35
|
+
9. Never mutate stack topology: no base retarget, rebase, stack-wide submit, or force-push from inside a babysit. Fix on the owning branch; report anything rebase-shaped upward.
|
|
36
|
+
A **Work a queue** (`references/playbooks/work-a-queue.md`) PR owner babysitting its own PR is that owner: it rebases its own branch and pushes with `git push --force-with-lease` pinned to its last-pushed SHA.
|
|
37
|
+
Sole sanctioned creation: a fix whose owning PR already merged becomes a new PR on top of the remaining stack (never a rewrite of merged history); append it to the frozen stack list, drop the merged owner.
|
|
38
|
+
Done when every PR's base is unchanged from the frozen list, apart from sanctioned follow-up PRs appended to it.
|
|
39
|
+
10. Classify CI before any retrigger:
|
|
40
|
+
- Flake/infra → one fresh full run (`gh run rerun <run-id>`, not `--failed`/`--job`). One retry only; an identical second failure was never flake. Reclassify and read the child logs.
|
|
41
|
+
- Failure in code the diff never touches → suspect a stale base; check `git merge-base --is-ancestor <trunk-sha> <head>` and handle it as step 6 instead of burning retries.
|
|
42
|
+
- Only a failure in the diff's own code gets a commit.
|
|
43
|
+
- Done when every failing required check is classified flake, stale base, or diff-caused, with its action taken.
|
|
44
|
+
11. Trust the forge's merge verdict, not a green check list. For a stack, capture the PR list bottom-to-top once and reuse that frozen list on every re-arm. If another actor merges the frontier, continue with the new frontier.
|
|
45
|
+
Done when the frontier's `mergeStateStatus` read live is `CLEAN` or every stack PR is merged; in `check` mode, when that status is reported.
|
|
46
|
+
12. Answer user questions mid-loop and continue; only an explicit stop ends `drive` early.
|
|
47
|
+
13. At the stop, sweep the run's triage decisions once. Offer any team-useful dismissal pattern as a candidate entry for the repo's shared review-triage doc (its own PR); never keep it only in private memory.
|
|
48
|
+
Done when the report lists each candidate pattern, or says there were none.
|
|
49
|
+
|
|
50
|
+
## Review-comment triage
|
|
51
|
+
|
|
52
|
+
Verify every claim against the code before acting. Not every comment is a required change; not every comment is noise.
|
|
53
|
+
- `fix`: plausible correctness, security, privacy, data-loss, auth, billing, migration, idempotency, race, or shipped-behavior issue → fix in the lowest owning PR, reply with the commit SHA, resolve.
|
|
54
|
+
- `dismiss`: matches a known low-risk pattern AND current code/context proves no change is needed → short reason, resolve. Typical: intentional visual change the PR states; "unused" symbol a verified upstack PR uses (not public API); deliberate temporary duplication beside a path being deleted (not security/billing/data/API); an enforced (not assumed) framework/type invariant covers it; owner-declared follow-up the PR doesn't worsen; bot self-withdrew and you verified the rule locally.
|
|
55
|
+
- `escalate`: novel, high-severity, ambiguous, or security/privacy/auth/billing/data-retention/permission, migration/schema/idempotency/concurrency/cross-system, even if a past PR dismissed something similar. Decide it yourself: when a fix reduces risk without changing the PR's intent, make it; when it would change the intent, make that product call, act on it, and log it (SKILL.md Autonomy). When in doubt, fix.
|
|
56
|
+
- Cheap checks first: if a claim is runnable (e.g. "test no longer matches the doc"), run it on the tip; red confirms, green is the dismissal proof. Earlier fixed passes don't make the next finding noise.
|
|
57
|
+
- A finding already fixed at the tip is stale only if the guard runs before the side effect and covers the principal in question.
|
|
58
|
+
- Don't widen a deliberately narrow error condition (e.g. fallback gated on `ENOENT`) into a catch-all that masks the real error, unless it misses a same-category case.
|
|
59
|
+
- Findings against manual reimplementations of native platform behavior (scroll, sticky, hit-testing, event forwarding) have been consistently real: default to fix.
|
|
60
|
+
|
|
61
|
+
## Gates
|
|
62
|
+
|
|
63
|
+
- Stop `drive` at merge-ready: PR open, not draft, `mergeable: MERGEABLE`, `mergeStateStatus: CLEAN`, required checks green, any applicable **security-audit** passed, no unresolved threads without a pushed fix or recorded dismissal, and a completed pr-review round on the current head SHA with no P0/P1 open. With a merge queue, a blocker-free frontier is merge-ready: report and stop watching; don't wait for merges.
|
|
64
|
+
- pr-review is evidence, not a waiver: a clean review never waives the checks above, and a P2 doesn't block once it has a recorded dismissal.
|
|
65
|
+
- All stack PRs merged by others → done.
|
|
66
|
+
- Owner approval (`reviewDecision: REVIEW_REQUIRED`) is a wait, not a blocker to fix. On the user's own PR, the **pr-conversation** technique's Authorization decides whether its panel replaces that review.
|
|
67
|
+
- Merge-ready is not merged. The user's own PR in `drive` goes straight on to the **pr-conversation** technique's panel and merge, with no ask. A stack lands through `references/playbooks/shipping.md`, each PR on a panel pass. Anyone else's PR stops at merge-ready. Surface escalations and keep working the rest.
|
|
68
|
+
- `check` mode: one pass, no edits.
|
|
69
|
+
|
|
70
|
+
## Evidence
|
|
71
|
+
|
|
72
|
+
- Mode, frontier PR, and its final forge state (`mergeStateStatus`, checks, `reviewDecision`) read live at the end.
|
|
73
|
+
- Each push wave: commit SHAs and which blockers each cleared.
|
|
74
|
+
- Each thread: fix / dismiss / escalate, with the commit or the proof behind the dismissal.
|
|
75
|
+
- Per PR, the pr-review technique's one-line report: `review: <ready|changes needed|needs discussion> at <short sha>, <k> rounds, open P0/P1/P2 <a>/<b>/<c>, fixed <d>, dismissed <e>`.
|
|
76
|
+
- CI classifications and any rerun; each base merge pushed on the user's own PR, and any conflict reported upward on others' (branch + drift sweep).
|
|
77
|
+
- What waits on the human (hard stops, escalated threads).
|