opencastle 0.35.2 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +105 -145
- package/bin/cli.mjs +204 -63
- package/dist/cli/adapters/adapter-contract.test.d.ts +2 -0
- package/dist/cli/adapters/adapter-contract.test.d.ts.map +1 -0
- package/dist/cli/adapters/adapter-contract.test.js +53 -0
- package/dist/cli/adapters/adapter-contract.test.js.map +1 -0
- package/dist/cli/adapters/antigravity.d.ts +1 -1
- package/dist/cli/adapters/antigravity.d.ts.map +1 -1
- package/dist/cli/adapters/claude-code.d.ts +1 -1
- package/dist/cli/adapters/claude-code.d.ts.map +1 -1
- package/dist/cli/adapters/codex.d.ts +1 -1
- package/dist/cli/adapters/codex.d.ts.map +1 -1
- package/dist/cli/adapters/cursor.d.ts +3 -20
- package/dist/cli/adapters/cursor.d.ts.map +1 -1
- package/dist/cli/adapters/cursor.js +27 -256
- package/dist/cli/adapters/cursor.js.map +1 -1
- package/dist/cli/adapters/opencode.d.ts +1 -1
- package/dist/cli/adapters/opencode.d.ts.map +1 -1
- package/dist/cli/adapters/rules-dir-base.d.ts +53 -0
- package/dist/cli/adapters/rules-dir-base.d.ts.map +1 -0
- package/dist/cli/adapters/rules-dir-base.js +309 -0
- package/dist/cli/adapters/rules-dir-base.js.map +1 -0
- package/dist/cli/adapters/rules-dir-base.test.d.ts +2 -0
- package/dist/cli/adapters/rules-dir-base.test.d.ts.map +1 -0
- package/dist/cli/adapters/rules-dir-base.test.js +203 -0
- package/dist/cli/adapters/rules-dir-base.test.js.map +1 -0
- package/dist/cli/adapters/single-file-base.d.ts +0 -14
- package/dist/cli/adapters/single-file-base.d.ts.map +1 -1
- package/dist/cli/adapters/single-file-base.js +250 -64
- package/dist/cli/adapters/single-file-base.js.map +1 -1
- package/dist/cli/adapters/vscode.d.ts +1 -1
- package/dist/cli/adapters/vscode.d.ts.map +1 -1
- package/dist/cli/adapters/vscode.js +151 -53
- package/dist/cli/adapters/vscode.js.map +1 -1
- package/dist/cli/adapters/windsurf.d.ts +3 -20
- package/dist/cli/adapters/windsurf.d.ts.map +1 -1
- package/dist/cli/adapters/windsurf.js +33 -264
- package/dist/cli/adapters/windsurf.js.map +1 -1
- package/dist/cli/add.d.ts +3 -0
- package/dist/cli/add.d.ts.map +1 -0
- package/dist/cli/add.js +113 -0
- package/dist/cli/add.js.map +1 -0
- package/dist/cli/agent-roster.test.d.ts +2 -0
- package/dist/cli/agent-roster.test.d.ts.map +1 -0
- package/dist/cli/agent-roster.test.js +192 -0
- package/dist/cli/agent-roster.test.js.map +1 -0
- package/dist/cli/boundary.test.d.ts +2 -0
- package/dist/cli/boundary.test.d.ts.map +1 -0
- package/dist/cli/boundary.test.js +209 -0
- package/dist/cli/boundary.test.js.map +1 -0
- package/dist/cli/convoy/artifacts.d.ts +2 -2
- package/dist/cli/convoy/artifacts.d.ts.map +1 -1
- package/dist/cli/convoy/artifacts.js +4 -4
- package/dist/cli/convoy/artifacts.js.map +1 -1
- package/dist/cli/convoy/built-in-gates.test.d.ts +2 -0
- package/dist/cli/convoy/built-in-gates.test.d.ts.map +1 -0
- package/dist/cli/convoy/built-in-gates.test.js +109 -0
- package/dist/cli/convoy/built-in-gates.test.js.map +1 -0
- package/dist/cli/convoy/contracts.d.ts +7 -0
- package/dist/cli/convoy/contracts.d.ts.map +1 -1
- package/dist/cli/convoy/contracts.js +48 -65
- package/dist/cli/convoy/contracts.js.map +1 -1
- package/dist/cli/convoy/contracts.test.js +44 -21
- package/dist/cli/convoy/contracts.test.js.map +1 -1
- package/dist/cli/convoy/crash-status.test.d.ts +2 -0
- package/dist/cli/convoy/crash-status.test.d.ts.map +1 -0
- package/dist/cli/convoy/crash-status.test.js +215 -0
- package/dist/cli/convoy/crash-status.test.js.map +1 -0
- package/dist/cli/convoy/dag-analysis.d.ts +0 -1
- package/dist/cli/convoy/dag-analysis.d.ts.map +1 -1
- package/dist/cli/convoy/dag-analysis.js +0 -3
- package/dist/cli/convoy/dag-analysis.js.map +1 -1
- package/dist/cli/convoy/engine.d.ts +1 -7
- package/dist/cli/convoy/engine.d.ts.map +1 -1
- package/dist/cli/convoy/engine.js +185 -239
- package/dist/cli/convoy/engine.js.map +1 -1
- package/dist/cli/convoy/engine.test.js +151 -50
- package/dist/cli/convoy/engine.test.js.map +1 -1
- package/dist/cli/convoy/event-schemas.d.ts +0 -4
- package/dist/cli/convoy/event-schemas.d.ts.map +1 -1
- package/dist/cli/convoy/event-schemas.js +1 -1
- package/dist/cli/convoy/event-schemas.js.map +1 -1
- package/dist/cli/convoy/events.test.js.map +1 -1
- package/dist/cli/convoy/formula.d.ts +1 -1
- package/dist/cli/convoy/formula.d.ts.map +1 -1
- package/dist/cli/convoy/formula.test.js.map +1 -1
- package/dist/cli/convoy/gates.d.ts +47 -0
- package/dist/cli/convoy/gates.d.ts.map +1 -1
- package/dist/cli/convoy/gates.js +94 -0
- package/dist/cli/convoy/gates.js.map +1 -1
- package/dist/cli/convoy/health.d.ts +1 -1
- package/dist/cli/convoy/health.d.ts.map +1 -1
- package/dist/cli/convoy/ledger-paths.test.d.ts +2 -0
- package/dist/cli/convoy/ledger-paths.test.d.ts.map +1 -0
- package/dist/cli/convoy/ledger-paths.test.js +118 -0
- package/dist/cli/convoy/ledger-paths.test.js.map +1 -0
- package/dist/cli/convoy/lock.d.ts +0 -1
- package/dist/cli/convoy/lock.d.ts.map +1 -1
- package/dist/cli/convoy/lock.js +0 -3
- package/dist/cli/convoy/lock.js.map +1 -1
- package/dist/cli/convoy/lock.test.js.map +1 -1
- package/dist/cli/convoy/no-op-gate.test.d.ts +2 -0
- package/dist/cli/convoy/no-op-gate.test.d.ts.map +1 -0
- package/dist/cli/convoy/no-op-gate.test.js +135 -0
- package/dist/cli/convoy/no-op-gate.test.js.map +1 -0
- package/dist/cli/convoy/partition.d.ts +1 -1
- package/dist/cli/convoy/partition.d.ts.map +1 -1
- package/dist/cli/convoy/pipeline.d.ts +1 -1
- package/dist/cli/convoy/pipeline.d.ts.map +1 -1
- package/dist/cli/convoy/pipeline.js +1 -1
- package/dist/cli/convoy/pipeline.js.map +1 -1
- package/dist/cli/convoy/spec-builder.d.ts +0 -5
- package/dist/cli/convoy/spec-builder.d.ts.map +1 -1
- package/dist/cli/convoy/spec-builder.js +1 -4
- package/dist/cli/convoy/spec-builder.js.map +1 -1
- package/dist/cli/convoy/spec-builder.test.js +0 -3
- package/dist/cli/convoy/spec-builder.test.js.map +1 -1
- package/dist/cli/convoy/spec-types.d.ts +250 -0
- package/dist/cli/convoy/spec-types.d.ts.map +1 -0
- package/dist/cli/convoy/spec-types.js +16 -0
- package/dist/cli/convoy/spec-types.js.map +1 -0
- package/dist/cli/convoy/tdd-gate.js +1 -1
- package/dist/cli/convoy/tdd-gate.js.map +1 -1
- package/dist/cli/convoy/tdd-gate.test.js +5 -5
- package/dist/cli/convoy/tdd-gate.test.js.map +1 -1
- package/dist/cli/convoy/types.d.ts +2 -0
- package/dist/cli/convoy/types.d.ts.map +1 -1
- package/dist/cli/convoy/types.js.map +1 -1
- package/dist/cli/convoy-cmd.d.ts +3 -0
- package/dist/cli/convoy-cmd.d.ts.map +1 -0
- package/dist/cli/convoy-cmd.js +187 -0
- package/dist/cli/convoy-cmd.js.map +1 -0
- package/dist/cli/copy.d.ts +16 -0
- package/dist/cli/copy.d.ts.map +1 -1
- package/dist/cli/copy.js +87 -6
- package/dist/cli/copy.js.map +1 -1
- package/dist/cli/dashboard.d.ts.map +1 -1
- package/dist/cli/dashboard.js +6 -28
- package/dist/cli/dashboard.js.map +1 -1
- package/dist/cli/detect.d.ts +11 -0
- package/dist/cli/detect.d.ts.map +1 -1
- package/dist/cli/detect.js +51 -0
- package/dist/cli/detect.js.map +1 -1
- package/dist/cli/dispatcher.test.d.ts +2 -0
- package/dist/cli/dispatcher.test.d.ts.map +1 -0
- package/dist/cli/dispatcher.test.js +119 -0
- package/dist/cli/dispatcher.test.js.map +1 -0
- package/dist/cli/docs-accuracy.test.d.ts +2 -0
- package/dist/cli/docs-accuracy.test.d.ts.map +1 -0
- package/dist/cli/docs-accuracy.test.js +630 -0
- package/dist/cli/docs-accuracy.test.js.map +1 -0
- package/dist/cli/doctor-remedies.test.d.ts +2 -0
- package/dist/cli/doctor-remedies.test.d.ts.map +1 -0
- package/dist/cli/doctor-remedies.test.js +184 -0
- package/dist/cli/doctor-remedies.test.js.map +1 -0
- package/dist/cli/doctor.d.ts +30 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +741 -35
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/gitignore.d.ts +41 -12
- package/dist/cli/gitignore.d.ts.map +1 -1
- package/dist/cli/gitignore.js +544 -55
- package/dist/cli/gitignore.js.map +1 -1
- package/dist/cli/gitignore.property.test.d.ts +2 -0
- package/dist/cli/gitignore.property.test.d.ts.map +1 -0
- package/dist/cli/gitignore.property.test.js +360 -0
- package/dist/cli/gitignore.property.test.js.map +1 -0
- package/dist/cli/init-detect.test.d.ts +2 -0
- package/dist/cli/init-detect.test.d.ts.map +1 -0
- package/dist/cli/init-detect.test.js +145 -0
- package/dist/cli/init-detect.test.js.map +1 -0
- package/dist/cli/init.d.ts +30 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +522 -162
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/init.test.d.ts +1 -1
- package/dist/cli/init.test.js +59 -77
- package/dist/cli/init.test.js.map +1 -1
- package/dist/cli/legacy-install.test.d.ts +2 -0
- package/dist/cli/legacy-install.test.d.ts.map +1 -0
- package/dist/cli/legacy-install.test.js +273 -0
- package/dist/cli/legacy-install.test.js.map +1 -0
- package/dist/cli/lesson.d.ts +0 -5
- package/dist/cli/lesson.d.ts.map +1 -1
- package/dist/cli/lesson.js +1 -1
- package/dist/cli/lesson.js.map +1 -1
- package/dist/cli/log.d.ts +0 -2
- package/dist/cli/log.d.ts.map +1 -1
- package/dist/cli/log.js +3 -3
- package/dist/cli/log.js.map +1 -1
- package/dist/cli/managed-block.d.ts +223 -0
- package/dist/cli/managed-block.d.ts.map +1 -0
- package/dist/cli/managed-block.js +822 -0
- package/dist/cli/managed-block.js.map +1 -0
- package/dist/cli/managed-block.property.test.d.ts +2 -0
- package/dist/cli/managed-block.property.test.d.ts.map +1 -0
- package/dist/cli/managed-block.property.test.js +290 -0
- package/dist/cli/managed-block.property.test.js.map +1 -0
- package/dist/cli/managed-block.test.d.ts +2 -0
- package/dist/cli/managed-block.test.d.ts.map +1 -0
- package/dist/cli/managed-block.test.js +633 -0
- package/dist/cli/managed-block.test.js.map +1 -0
- package/dist/cli/managed-paths.d.ts +46 -0
- package/dist/cli/managed-paths.d.ts.map +1 -0
- package/dist/cli/managed-paths.js +106 -0
- package/dist/cli/managed-paths.js.map +1 -0
- package/dist/cli/manifest.d.ts.map +1 -1
- package/dist/cli/manifest.js +51 -9
- package/dist/cli/manifest.js.map +1 -1
- package/dist/cli/mcp.d.ts +34 -1
- package/dist/cli/mcp.d.ts.map +1 -1
- package/dist/cli/mcp.js +232 -11
- package/dist/cli/mcp.js.map +1 -1
- package/dist/cli/pipeline.d.ts.map +1 -1
- package/dist/cli/pipeline.js +8 -10
- package/dist/cli/pipeline.js.map +1 -1
- package/dist/cli/plan.d.ts.map +1 -1
- package/dist/cli/plan.js +5 -5
- package/dist/cli/plan.js.map +1 -1
- package/dist/cli/prompt.d.ts +14 -1
- package/dist/cli/prompt.d.ts.map +1 -1
- package/dist/cli/prompt.js +43 -4
- package/dist/cli/prompt.js.map +1 -1
- package/dist/cli/publish-workflow.test.d.ts +2 -0
- package/dist/cli/publish-workflow.test.d.ts.map +1 -0
- package/dist/cli/publish-workflow.test.js +60 -0
- package/dist/cli/publish-workflow.test.js.map +1 -0
- package/dist/cli/remove.d.ts +3 -0
- package/dist/cli/remove.d.ts.map +1 -0
- package/dist/cli/remove.js +401 -0
- package/dist/cli/remove.js.map +1 -0
- package/dist/cli/remove.test.d.ts +2 -0
- package/dist/cli/remove.test.d.ts.map +1 -0
- package/dist/cli/remove.test.js +445 -0
- package/dist/cli/remove.test.js.map +1 -0
- package/dist/cli/run/adapters/claude.d.ts +1 -1
- package/dist/cli/run/adapters/claude.d.ts.map +1 -1
- package/dist/cli/run/adapters/claude.js +13 -119
- package/dist/cli/run/adapters/claude.js.map +1 -1
- package/dist/cli/run/adapters/claude.test.js +31 -47
- package/dist/cli/run/adapters/claude.test.js.map +1 -1
- package/dist/cli/run/adapters/codex.d.ts +1 -1
- package/dist/cli/run/adapters/codex.d.ts.map +1 -1
- package/dist/cli/run/adapters/copilot.d.ts +1 -1
- package/dist/cli/run/adapters/copilot.d.ts.map +1 -1
- package/dist/cli/run/adapters/cursor.d.ts +1 -1
- package/dist/cli/run/adapters/cursor.d.ts.map +1 -1
- package/dist/cli/run/adapters/index.d.ts +1 -1
- package/dist/cli/run/adapters/index.d.ts.map +1 -1
- package/dist/cli/run/adapters/opencode.d.ts +1 -1
- package/dist/cli/run/adapters/opencode.d.ts.map +1 -1
- package/dist/cli/run/executor.d.ts +1 -1
- package/dist/cli/run/executor.d.ts.map +1 -1
- package/dist/cli/run/executor.test.js +1 -2
- package/dist/cli/run/executor.test.js.map +1 -1
- package/dist/cli/run/reporter.d.ts +1 -1
- package/dist/cli/run/reporter.d.ts.map +1 -1
- package/dist/cli/run/schema.d.ts +1 -9
- package/dist/cli/run/schema.d.ts.map +1 -1
- package/dist/cli/run/schema.js +50 -50
- package/dist/cli/run/schema.js.map +1 -1
- package/dist/cli/run/schema.test.js +83 -4
- package/dist/cli/run/schema.test.js.map +1 -1
- package/dist/cli/run-finish.test.d.ts +2 -0
- package/dist/cli/run-finish.test.d.ts.map +1 -0
- package/dist/cli/run-finish.test.js +77 -0
- package/dist/cli/run-finish.test.js.map +1 -0
- package/dist/cli/run.d.ts +23 -0
- package/dist/cli/run.d.ts.map +1 -1
- package/dist/cli/run.js +95 -120
- package/dist/cli/run.js.map +1 -1
- package/dist/cli/stack-config.d.ts +27 -6
- package/dist/cli/stack-config.d.ts.map +1 -1
- package/dist/cli/stack-config.js +83 -6
- package/dist/cli/stack-config.js.map +1 -1
- package/dist/cli/status.d.ts +27 -0
- package/dist/cli/status.d.ts.map +1 -0
- package/dist/cli/status.js +380 -0
- package/dist/cli/status.js.map +1 -0
- package/dist/cli/status.test.d.ts +2 -0
- package/dist/cli/status.test.d.ts.map +1 -0
- package/dist/cli/status.test.js +218 -0
- package/dist/cli/status.test.js.map +1 -0
- package/dist/cli/sync-check.d.ts +38 -0
- package/dist/cli/sync-check.d.ts.map +1 -0
- package/dist/cli/sync-check.js +525 -0
- package/dist/cli/sync-check.js.map +1 -0
- package/dist/cli/sync-check.test.d.ts +2 -0
- package/dist/cli/sync-check.test.d.ts.map +1 -0
- package/dist/cli/sync-check.test.js +366 -0
- package/dist/cli/sync-check.test.js.map +1 -0
- package/dist/cli/sync.d.ts +3 -0
- package/dist/cli/sync.d.ts.map +1 -0
- package/dist/cli/sync.js +39 -0
- package/dist/cli/sync.js.map +1 -0
- package/dist/cli/tiers.d.ts +26 -0
- package/dist/cli/tiers.d.ts.map +1 -0
- package/dist/cli/tiers.js +50 -0
- package/dist/cli/tiers.js.map +1 -0
- package/dist/cli/tiers.test.d.ts +2 -0
- package/dist/cli/tiers.test.d.ts.map +1 -0
- package/dist/cli/tiers.test.js +268 -0
- package/dist/cli/tiers.test.js.map +1 -0
- package/dist/cli/types.d.ts +92 -231
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/cli/types.js +26 -0
- package/dist/cli/types.js.map +1 -1
- package/dist/cli/unreadable-report.d.ts +18 -0
- package/dist/cli/unreadable-report.d.ts.map +1 -0
- package/dist/cli/unreadable-report.js +28 -0
- package/dist/cli/unreadable-report.js.map +1 -0
- package/dist/cli/update.d.ts.map +1 -1
- package/dist/cli/update.js +395 -64
- package/dist/cli/update.js.map +1 -1
- package/dist/cli/watch.d.ts +1 -1
- package/dist/cli/watch.d.ts.map +1 -1
- package/dist/cli/watch.js +1 -1
- package/dist/cli/watch.js.map +1 -1
- package/dist/orchestrator/plugins/astro/config.js +1 -1
- package/dist/orchestrator/plugins/astro/config.js.map +1 -1
- package/dist/orchestrator/plugins/chrome-devtools/config.js +1 -1
- package/dist/orchestrator/plugins/chrome-devtools/config.js.map +1 -1
- package/dist/orchestrator/plugins/contentful/config.js +2 -2
- package/dist/orchestrator/plugins/contentful/config.js.map +1 -1
- package/dist/orchestrator/plugins/convex/config.js +1 -1
- package/dist/orchestrator/plugins/convex/config.js.map +1 -1
- package/dist/orchestrator/plugins/netlify/config.d.ts.map +1 -1
- package/dist/orchestrator/plugins/netlify/config.js +0 -1
- package/dist/orchestrator/plugins/netlify/config.js.map +1 -1
- package/dist/orchestrator/plugins/notion/config.js +1 -1
- package/dist/orchestrator/plugins/notion/config.js.map +1 -1
- package/dist/orchestrator/plugins/nx/config.d.ts.map +1 -1
- package/dist/orchestrator/plugins/nx/config.js +0 -1
- package/dist/orchestrator/plugins/nx/config.js.map +1 -1
- package/dist/orchestrator/plugins/prisma/config.js +1 -1
- package/dist/orchestrator/plugins/prisma/config.js.map +1 -1
- package/dist/orchestrator/plugins/resend/config.js +1 -1
- package/dist/orchestrator/plugins/resend/config.js.map +1 -1
- package/dist/orchestrator/plugins/sanity/config.js +2 -2
- package/dist/orchestrator/plugins/sanity/config.js.map +1 -1
- package/dist/orchestrator/plugins/slack/config.js +1 -1
- package/dist/orchestrator/plugins/slack/config.js.map +1 -1
- package/dist/orchestrator/plugins/strapi/config.js +2 -2
- package/dist/orchestrator/plugins/strapi/config.js.map +1 -1
- package/dist/orchestrator/plugins/stripe/config.js +1 -1
- package/dist/orchestrator/plugins/stripe/config.js.map +1 -1
- package/dist/orchestrator/plugins/supabase/config.js +1 -1
- package/dist/orchestrator/plugins/supabase/config.js.map +1 -1
- package/dist/orchestrator/plugins/teams/config.js +1 -1
- package/dist/orchestrator/plugins/teams/config.js.map +1 -1
- package/dist/orchestrator/plugins/vercel/config.d.ts.map +1 -1
- package/dist/orchestrator/plugins/vercel/config.js +0 -4
- package/dist/orchestrator/plugins/vercel/config.js.map +1 -1
- package/package.json +10 -13
- package/src/cli/adapters/adapter-contract.test.ts +58 -0
- package/src/cli/adapters/cursor.ts +25 -409
- package/src/cli/adapters/rules-dir-base.test.ts +246 -0
- package/src/cli/adapters/rules-dir-base.ts +456 -0
- package/src/cli/adapters/single-file-base.ts +270 -66
- package/src/cli/adapters/vscode.ts +146 -50
- package/src/cli/adapters/windsurf.ts +32 -416
- package/src/cli/add.ts +125 -0
- package/src/cli/agent-roster.test.ts +209 -0
- package/src/cli/boundary.test.ts +221 -0
- package/src/cli/convoy/artifacts.ts +4 -4
- package/src/cli/convoy/built-in-gates.test.ts +117 -0
- package/src/cli/convoy/contracts.test.ts +51 -20
- package/src/cli/convoy/contracts.ts +50 -65
- package/src/cli/convoy/crash-status.test.ts +245 -0
- package/src/cli/convoy/dag-analysis.ts +0 -4
- package/src/cli/convoy/engine.test.ts +169 -51
- package/src/cli/convoy/engine.ts +231 -247
- package/src/cli/convoy/event-schemas.ts +1 -1
- package/src/cli/convoy/events.test.ts +1 -1
- package/src/cli/convoy/formula.test.ts +0 -1
- package/src/cli/convoy/formula.ts +1 -1
- package/src/cli/convoy/gates.ts +126 -0
- package/src/cli/convoy/health.test.ts +1 -1
- package/src/cli/convoy/health.ts +1 -1
- package/src/cli/convoy/ledger-paths.test.ts +138 -0
- package/src/cli/convoy/lock.test.ts +0 -1
- package/src/cli/convoy/lock.ts +0 -4
- package/src/cli/convoy/no-op-gate.test.ts +156 -0
- package/src/cli/convoy/partition.test.ts +1 -1
- package/src/cli/convoy/partition.ts +1 -1
- package/src/cli/convoy/pipeline.test.ts +1 -1
- package/src/cli/convoy/pipeline.ts +2 -2
- package/src/cli/convoy/spec-builder.test.ts +0 -3
- package/src/cli/convoy/spec-builder.ts +1 -4
- package/src/cli/convoy/spec-types.ts +286 -0
- package/src/cli/convoy/tdd-gate.test.ts +5 -5
- package/src/cli/convoy/tdd-gate.ts +1 -1
- package/src/cli/convoy/types.ts +3 -1
- package/src/cli/convoy-cmd.ts +216 -0
- package/src/cli/copy.ts +90 -6
- package/src/cli/dashboard.ts +6 -25
- package/src/cli/detect.ts +64 -0
- package/src/cli/dispatcher.test.ts +135 -0
- package/src/cli/docs-accuracy.test.ts +674 -0
- package/src/cli/doctor-remedies.test.ts +218 -0
- package/src/cli/doctor.ts +799 -35
- package/src/cli/gitignore.property.test.ts +425 -0
- package/src/cli/gitignore.ts +556 -60
- package/src/cli/init-detect.test.ts +182 -0
- package/src/cli/init.test.ts +60 -78
- package/src/cli/init.ts +580 -176
- package/src/cli/legacy-install.test.ts +324 -0
- package/src/cli/lesson.ts +1 -1
- package/src/cli/log.ts +3 -3
- package/src/cli/managed-block.property.test.ts +372 -0
- package/src/cli/managed-block.test.ts +755 -0
- package/src/cli/managed-block.ts +1011 -0
- package/src/cli/managed-paths.ts +117 -0
- package/src/cli/manifest.ts +50 -14
- package/src/cli/mcp.ts +249 -12
- package/src/cli/pipeline.ts +9 -11
- package/src/cli/plan.ts +7 -6
- package/src/cli/prompt.ts +45 -4
- package/src/cli/publish-workflow.test.ts +73 -0
- package/src/cli/remove.test.ts +530 -0
- package/src/cli/remove.ts +449 -0
- package/src/cli/run/adapters/claude.test.ts +37 -62
- package/src/cli/run/adapters/claude.ts +14 -148
- package/src/cli/run/adapters/codex.test.ts +1 -1
- package/src/cli/run/adapters/codex.ts +1 -1
- package/src/cli/run/adapters/copilot.test.ts +1 -1
- package/src/cli/run/adapters/copilot.ts +1 -1
- package/src/cli/run/adapters/cursor.test.ts +1 -1
- package/src/cli/run/adapters/cursor.ts +1 -1
- package/src/cli/run/adapters/index.ts +1 -1
- package/src/cli/run/adapters/opencode.test.ts +1 -1
- package/src/cli/run/adapters/opencode.ts +1 -1
- package/src/cli/run/executor.test.ts +3 -4
- package/src/cli/run/executor.ts +1 -1
- package/src/cli/run/reporter.ts +1 -1
- package/src/cli/run/schema.test.ts +94 -4
- package/src/cli/run/schema.ts +53 -52
- package/src/cli/run-finish.test.ts +91 -0
- package/src/cli/run.ts +112 -105
- package/src/cli/stack-config.ts +96 -7
- package/src/cli/status.test.ts +251 -0
- package/src/cli/status.ts +404 -0
- package/src/cli/sync-check.test.ts +435 -0
- package/src/cli/sync-check.ts +573 -0
- package/src/cli/sync.ts +44 -0
- package/src/cli/tiers.test.ts +294 -0
- package/src/cli/tiers.ts +63 -0
- package/src/cli/types.ts +109 -255
- package/src/cli/unreadable-report.ts +26 -0
- package/src/cli/update.ts +430 -67
- package/src/cli/watch.ts +2 -3
- package/src/dashboard/dist/data/convoy-list.json +1 -93
- package/src/dashboard/dist/data/overall-stats.json +15 -99
- package/src/dashboard/dist/index.html +47 -56
- package/src/dashboard/node_modules/.vite/deps/_metadata.json +6 -6
- package/src/dashboard/public/data/convoy-list.json +1 -93
- package/src/dashboard/public/data/overall-stats.json +15 -99
- package/src/dashboard/scripts/generate-demo-db.ts +26 -20
- package/src/dashboard/seed-data/delegations.ndjson +35 -35
- package/src/dashboard/seed-data/events.ndjson +104 -104
- package/src/dashboard/seed-data/panels.ndjson +13 -13
- package/src/dashboard/seed-data/reviews.ndjson +6 -6
- package/src/dashboard/seed-data/sessions.ndjson +50 -50
- package/src/dashboard/src/pages/index.astro +45 -54
- package/src/orchestrator/agent-workflows/data-pipeline.md +4 -4
- package/src/orchestrator/agent-workflows/database-migration.md +3 -3
- package/src/orchestrator/agent-workflows/feature-implementation.md +3 -3
- package/src/orchestrator/agent-workflows/performance-optimization.md +1 -1
- package/src/orchestrator/agents/architect.agent.md +24 -43
- package/src/orchestrator/agents/content-engineer.agent.md +19 -29
- package/src/orchestrator/agents/data-engineer.agent.md +65 -0
- package/src/orchestrator/agents/developer.agent.md +24 -37
- package/src/orchestrator/agents/devops-expert.agent.md +32 -39
- package/src/orchestrator/agents/performance-expert.agent.md +28 -42
- package/src/orchestrator/agents/researcher.agent.md +20 -40
- package/src/orchestrator/agents/reviewer.agent.md +13 -15
- package/src/orchestrator/agents/security-expert.agent.md +27 -38
- package/src/orchestrator/agents/team-lead.agent.md +16 -22
- package/src/orchestrator/agents/testing-expert.agent.md +21 -38
- package/src/orchestrator/agents/ui-ux-expert.agent.md +28 -41
- package/src/orchestrator/agents/writer.agent.md +68 -0
- package/src/orchestrator/customizations/AGENT-EXPERTISE.md +7 -7
- package/src/orchestrator/customizations/AGENT-PERFORMANCE.md +1 -1
- package/src/orchestrator/customizations/agents/agent-registry.md +19 -20
- package/src/orchestrator/customizations/agents/skill-matrix.json +157 -60
- package/src/orchestrator/customizations/agents/skill-matrix.md +12 -12
- package/src/orchestrator/customizations/logs/README.md +10 -10
- package/src/orchestrator/customizations/project/tracker-config.md +2 -2
- package/src/orchestrator/instructions/general.instructions.md +29 -6
- package/src/orchestrator/plugins/astro/SKILL.md +16 -109
- package/src/orchestrator/plugins/astro/config.ts +1 -1
- package/src/orchestrator/plugins/chrome-devtools/SKILL.md +15 -128
- package/src/orchestrator/plugins/chrome-devtools/config.ts +1 -1
- package/src/orchestrator/plugins/cloudflare/SKILL.md +17 -95
- package/src/orchestrator/plugins/contentful/SKILL.md +15 -68
- package/src/orchestrator/plugins/contentful/config.ts +2 -2
- package/src/orchestrator/plugins/convex/SKILL.md +49 -133
- package/src/orchestrator/plugins/convex/config.ts +1 -1
- package/src/orchestrator/plugins/coolify/SKILL.md +18 -122
- package/src/orchestrator/plugins/cypress/SKILL.md +15 -66
- package/src/orchestrator/plugins/drizzle/SKILL.md +15 -112
- package/src/orchestrator/plugins/expo/SKILL.md +13 -101
- package/src/orchestrator/plugins/figma/SKILL.md +30 -47
- package/src/orchestrator/plugins/jira/SKILL.md +14 -58
- package/src/orchestrator/plugins/linear/SKILL.md +19 -75
- package/src/orchestrator/plugins/netlify/SKILL.md +18 -87
- package/src/orchestrator/plugins/netlify/config.ts +0 -1
- package/src/orchestrator/plugins/nextjs/SKILL.md +12 -58
- package/src/orchestrator/plugins/notion/SKILL.md +16 -46
- package/src/orchestrator/plugins/notion/config.ts +1 -1
- package/src/orchestrator/plugins/nx/SKILL.md +30 -114
- package/src/orchestrator/plugins/nx/config.ts +0 -1
- package/src/orchestrator/plugins/playwright/SKILL.md +23 -96
- package/src/orchestrator/plugins/prisma/SKILL.md +20 -68
- package/src/orchestrator/plugins/prisma/config.ts +1 -1
- package/src/orchestrator/plugins/resend/SKILL.md +15 -58
- package/src/orchestrator/plugins/resend/config.ts +1 -1
- package/src/orchestrator/plugins/sanity/SKILL.md +15 -54
- package/src/orchestrator/plugins/sanity/config.ts +2 -2
- package/src/orchestrator/plugins/sentry/SKILL.md +14 -81
- package/src/orchestrator/plugins/slack/SKILL.md +20 -56
- package/src/orchestrator/plugins/slack/config.ts +1 -1
- package/src/orchestrator/plugins/strapi/SKILL.md +19 -65
- package/src/orchestrator/plugins/strapi/config.ts +2 -2
- package/src/orchestrator/plugins/stripe/SKILL.md +18 -124
- package/src/orchestrator/plugins/stripe/config.ts +1 -1
- package/src/orchestrator/plugins/supabase/SKILL.md +22 -36
- package/src/orchestrator/plugins/supabase/config.ts +1 -1
- package/src/orchestrator/plugins/teams/SKILL.md +1 -1
- package/src/orchestrator/plugins/teams/config.ts +1 -1
- package/src/orchestrator/plugins/turborepo/SKILL.md +0 -2
- package/src/orchestrator/plugins/vercel/SKILL.md +1 -1
- package/src/orchestrator/plugins/vercel/config.ts +0 -4
- package/src/orchestrator/prompts/assess-complexity.prompt.md +8 -8
- package/src/orchestrator/prompts/bootstrap-customizations.prompt.md +18 -18
- package/src/orchestrator/prompts/brainstorm.prompt.md +17 -17
- package/src/orchestrator/prompts/bug-fix.prompt.md +12 -12
- package/src/orchestrator/prompts/create-skill.prompt.md +21 -21
- package/src/orchestrator/prompts/fix-convoy.prompt.md +8 -8
- package/src/orchestrator/prompts/fix-prd.prompt.md +12 -12
- package/src/orchestrator/prompts/generate-convoy.prompt.md +51 -52
- package/src/orchestrator/prompts/generate-prd.prompt.md +31 -35
- package/src/orchestrator/prompts/implement-feature.prompt.md +17 -17
- package/src/orchestrator/prompts/quick-refinement.prompt.md +18 -18
- package/src/orchestrator/prompts/resolve-pr-comments.prompt.md +9 -9
- package/src/orchestrator/prompts/validate-convoy.prompt.md +10 -10
- package/src/orchestrator/prompts/validate-prd.prompt.md +10 -10
- package/src/orchestrator/skills/accessibility-standards/SKILL.md +18 -88
- package/src/orchestrator/skills/agent-hooks/HOOKS-REFERENCE.md +6 -8
- package/src/orchestrator/skills/agent-hooks/SKILL.md +7 -7
- package/src/orchestrator/skills/agent-memory/SKILL.md +12 -13
- package/src/orchestrator/skills/api-patterns/SKILL.md +11 -69
- package/src/orchestrator/skills/code-commenting/SKILL.md +7 -72
- package/src/orchestrator/skills/context-map/REFERENCE.md +1 -2
- package/src/orchestrator/skills/context-map/SKILL.md +5 -5
- package/src/orchestrator/skills/data-engineering/SKILL.md +12 -44
- package/src/orchestrator/skills/decomposition/SKILL.md +33 -25
- package/src/orchestrator/skills/deployment-infrastructure/SKILL.md +15 -68
- package/src/orchestrator/skills/documentation-standards/SKILL.md +11 -103
- package/src/orchestrator/skills/documentation-standards/WRITING-GUIDE.md +3 -3
- package/src/orchestrator/skills/fast-review/SKILL.md +4 -7
- package/src/orchestrator/skills/frontend-design/COMPONENTS.md +1 -1
- package/src/orchestrator/skills/frontend-design/SKILL.md +10 -48
- package/src/orchestrator/skills/git-workflow/SKILL.md +11 -6
- package/src/orchestrator/skills/memory-merger/SKILL.md +15 -11
- package/src/orchestrator/skills/observability-logging/SKILL.md +14 -17
- package/src/orchestrator/skills/orchestration-protocols/REFERENCE.md +1 -1
- package/src/orchestrator/skills/orchestration-protocols/SKILL.md +23 -35
- package/src/orchestrator/skills/panel-majority-vote/REFERENCE.md +0 -2
- package/src/orchestrator/skills/panel-majority-vote/SKILL.md +7 -15
- package/src/orchestrator/skills/performance-optimization/SKILL.md +12 -69
- package/src/orchestrator/skills/project-consistency/SKILL.md +7 -19
- package/src/orchestrator/skills/react-development/SKILL.md +13 -65
- package/src/orchestrator/skills/security-hardening/SKILL.md +14 -142
- package/src/orchestrator/skills/self-improvement/SKILL.md +13 -14
- package/src/orchestrator/skills/seo-patterns/SKILL.md +14 -53
- package/src/orchestrator/skills/session-checkpoints/SKILL.md +11 -38
- package/src/orchestrator/skills/team-lead-reference/SKILL.md +9 -15
- package/src/orchestrator/skills/testing-workflow/SKILL.md +17 -99
- package/src/orchestrator/skills/validation-gates/SKILL.md +23 -19
- package/dist/cli/agents.d.ts +0 -3
- package/dist/cli/agents.d.ts.map +0 -1
- package/dist/cli/agents.js +0 -175
- package/dist/cli/agents.js.map +0 -1
- package/dist/cli/artifacts-cli.d.ts +0 -3
- package/dist/cli/artifacts-cli.d.ts.map +0 -1
- package/dist/cli/artifacts-cli.js +0 -36
- package/dist/cli/artifacts-cli.js.map +0 -1
- package/dist/cli/baselines.d.ts +0 -3
- package/dist/cli/baselines.d.ts.map +0 -1
- package/dist/cli/baselines.js +0 -151
- package/dist/cli/baselines.js.map +0 -1
- package/dist/cli/convoy/compaction.d.ts +0 -23
- package/dist/cli/convoy/compaction.d.ts.map +0 -1
- package/dist/cli/convoy/compaction.js +0 -117
- package/dist/cli/convoy/compaction.js.map +0 -1
- package/dist/cli/convoy/compaction.test.d.ts +0 -2
- package/dist/cli/convoy/compaction.test.d.ts.map +0 -1
- package/dist/cli/convoy/compaction.test.js +0 -205
- package/dist/cli/convoy/compaction.test.js.map +0 -1
- package/dist/cli/convoy/expertise.d.ts +0 -16
- package/dist/cli/convoy/expertise.d.ts.map +0 -1
- package/dist/cli/convoy/expertise.js +0 -121
- package/dist/cli/convoy/expertise.js.map +0 -1
- package/dist/cli/convoy/expertise.test.d.ts +0 -2
- package/dist/cli/convoy/expertise.test.d.ts.map +0 -1
- package/dist/cli/convoy/expertise.test.js +0 -96
- package/dist/cli/convoy/expertise.test.js.map +0 -1
- package/dist/cli/convoy/export.d.ts +0 -2
- package/dist/cli/convoy/export.d.ts.map +0 -1
- package/dist/cli/convoy/export.js +0 -10
- package/dist/cli/convoy/export.js.map +0 -1
- package/dist/cli/convoy/export.test.d.ts +0 -2
- package/dist/cli/convoy/export.test.d.ts.map +0 -1
- package/dist/cli/convoy/export.test.js +0 -10
- package/dist/cli/convoy/export.test.js.map +0 -1
- package/dist/cli/convoy/issues.d.ts +0 -8
- package/dist/cli/convoy/issues.d.ts.map +0 -1
- package/dist/cli/convoy/issues.js +0 -98
- package/dist/cli/convoy/issues.js.map +0 -1
- package/dist/cli/convoy/issues.test.d.ts +0 -2
- package/dist/cli/convoy/issues.test.d.ts.map +0 -1
- package/dist/cli/convoy/issues.test.js +0 -108
- package/dist/cli/convoy/issues.test.js.map +0 -1
- package/dist/cli/convoy/knowledge.d.ts +0 -5
- package/dist/cli/convoy/knowledge.d.ts.map +0 -1
- package/dist/cli/convoy/knowledge.js +0 -116
- package/dist/cli/convoy/knowledge.js.map +0 -1
- package/dist/cli/convoy/knowledge.test.d.ts +0 -2
- package/dist/cli/convoy/knowledge.test.d.ts.map +0 -1
- package/dist/cli/convoy/knowledge.test.js +0 -87
- package/dist/cli/convoy/knowledge.test.js.map +0 -1
- package/dist/cli/convoy/lessons.d.ts +0 -17
- package/dist/cli/convoy/lessons.d.ts.map +0 -1
- package/dist/cli/convoy/lessons.js +0 -149
- package/dist/cli/convoy/lessons.js.map +0 -1
- package/dist/cli/convoy/lessons.test.d.ts +0 -2
- package/dist/cli/convoy/lessons.test.d.ts.map +0 -1
- package/dist/cli/convoy/lessons.test.js +0 -135
- package/dist/cli/convoy/lessons.test.js.map +0 -1
- package/dist/cli/convoy/skill-refinement.d.ts +0 -39
- package/dist/cli/convoy/skill-refinement.d.ts.map +0 -1
- package/dist/cli/convoy/skill-refinement.js +0 -239
- package/dist/cli/convoy/skill-refinement.js.map +0 -1
- package/dist/cli/convoy/skill-refinement.test.d.ts +0 -2
- package/dist/cli/convoy/skill-refinement.test.d.ts.map +0 -1
- package/dist/cli/convoy/skill-refinement.test.js +0 -230
- package/dist/cli/convoy/skill-refinement.test.js.map +0 -1
- package/dist/cli/destroy.d.ts +0 -3
- package/dist/cli/destroy.d.ts.map +0 -1
- package/dist/cli/destroy.js +0 -82
- package/dist/cli/destroy.js.map +0 -1
- package/dist/cli/destroy.test.d.ts +0 -2
- package/dist/cli/destroy.test.d.ts.map +0 -1
- package/dist/cli/destroy.test.js +0 -116
- package/dist/cli/destroy.test.js.map +0 -1
- package/dist/cli/dispute.d.ts +0 -3
- package/dist/cli/dispute.d.ts.map +0 -1
- package/dist/cli/dispute.js +0 -25
- package/dist/cli/dispute.js.map +0 -1
- package/dist/cli/eject.d.ts +0 -3
- package/dist/cli/eject.d.ts.map +0 -1
- package/dist/cli/eject.js +0 -46
- package/dist/cli/eject.js.map +0 -1
- package/dist/cli/insights.d.ts +0 -3
- package/dist/cli/insights.d.ts.map +0 -1
- package/dist/cli/insights.js +0 -98
- package/dist/cli/insights.js.map +0 -1
- package/dist/cli/package-config.d.ts +0 -12
- package/dist/cli/package-config.d.ts.map +0 -1
- package/dist/cli/package-config.js +0 -37
- package/dist/cli/package-config.js.map +0 -1
- package/dist/cli/package.d.ts +0 -23
- package/dist/cli/package.d.ts.map +0 -1
- package/dist/cli/package.js +0 -293
- package/dist/cli/package.js.map +0 -1
- package/dist/cli/package.test.d.ts +0 -2
- package/dist/cli/package.test.d.ts.map +0 -1
- package/dist/cli/package.test.js +0 -236
- package/dist/cli/package.test.js.map +0 -1
- package/dist/cli/skills.d.ts +0 -3
- package/dist/cli/skills.d.ts.map +0 -1
- package/dist/cli/skills.js +0 -107
- package/dist/cli/skills.js.map +0 -1
- package/dist/cli/validate.d.ts +0 -3
- package/dist/cli/validate.d.ts.map +0 -1
- package/dist/cli/validate.js +0 -60
- package/dist/cli/validate.js.map +0 -1
- package/src/cli/agents.ts +0 -192
- package/src/cli/artifacts-cli.ts +0 -41
- package/src/cli/baselines.ts +0 -158
- package/src/cli/convoy/compaction.test.ts +0 -245
- package/src/cli/convoy/compaction.ts +0 -164
- package/src/cli/convoy/expertise.test.ts +0 -128
- package/src/cli/convoy/expertise.ts +0 -163
- package/src/cli/convoy/export.test.ts +0 -11
- package/src/cli/convoy/export.ts +0 -10
- package/src/cli/convoy/issues.test.ts +0 -144
- package/src/cli/convoy/issues.ts +0 -136
- package/src/cli/convoy/knowledge.test.ts +0 -101
- package/src/cli/convoy/knowledge.ts +0 -132
- package/src/cli/convoy/lessons.test.ts +0 -188
- package/src/cli/convoy/lessons.ts +0 -164
- package/src/cli/convoy/skill-refinement.test.ts +0 -277
- package/src/cli/convoy/skill-refinement.ts +0 -306
- package/src/cli/destroy.test.ts +0 -141
- package/src/cli/destroy.ts +0 -103
- package/src/cli/dispute.ts +0 -28
- package/src/cli/eject.ts +0 -61
- package/src/cli/insights.ts +0 -100
- package/src/cli/package-config.ts +0 -48
- package/src/cli/package.test.ts +0 -276
- package/src/cli/package.ts +0 -331
- package/src/cli/run/adapters/vendor.d.ts +0 -2
- package/src/cli/skills.ts +0 -121
- package/src/cli/validate.ts +0 -65
- package/src/dashboard/dist/data/convoys/demo-api-v2.json +0 -183
- package/src/dashboard/dist/data/convoys/demo-auth-revamp.json +0 -249
- package/src/dashboard/dist/data/convoys/demo-dashboard-ui.json +0 -342
- package/src/dashboard/dist/data/convoys/demo-data-pipeline.json +0 -193
- package/src/dashboard/dist/data/convoys/demo-deploy-ci.json +0 -157
- package/src/dashboard/dist/data/convoys/demo-docs-update.json +0 -158
- package/src/dashboard/dist/data/convoys/demo-perf-opt.json +0 -235
- package/src/dashboard/dist/data/events.ndjson +0 -115
- package/src/dashboard/public/data/convoys/demo-api-v2.json +0 -183
- package/src/dashboard/public/data/convoys/demo-auth-revamp.json +0 -249
- package/src/dashboard/public/data/convoys/demo-dashboard-ui.json +0 -342
- package/src/dashboard/public/data/convoys/demo-data-pipeline.json +0 -193
- package/src/dashboard/public/data/convoys/demo-deploy-ci.json +0 -157
- package/src/dashboard/public/data/convoys/demo-docs-update.json +0 -158
- package/src/dashboard/public/data/convoys/demo-perf-opt.json +0 -235
- package/src/dashboard/public/data/events.ndjson +0 -115
- package/src/dashboard/scripts/generate-seed-data.ts +0 -335
- package/src/orchestrator/agents/api-designer.agent.md +0 -52
- package/src/orchestrator/agents/copywriter.agent.md +0 -65
- package/src/orchestrator/agents/data-expert.agent.md +0 -56
- package/src/orchestrator/agents/database-engineer.agent.md +0 -55
- package/src/orchestrator/agents/documentation-writer.agent.md +0 -60
- package/src/orchestrator/agents/release-manager.agent.md +0 -56
- package/src/orchestrator/agents/seo-specialist.agent.md +0 -54
- package/src/orchestrator/agents/session-guard.agent.md +0 -57
- package/src/orchestrator/plugins/astro/REFERENCE.md +0 -5
- package/src/orchestrator/plugins/chrome-devtools/REFERENCE.md +0 -9
- package/src/orchestrator/plugins/cloudflare/references/deployment.md +0 -147
- package/src/orchestrator/plugins/cloudflare/references/storage.md +0 -118
- package/src/orchestrator/plugins/cloudflare/references/workers.md +0 -135
- package/src/orchestrator/plugins/contentful/REFERENCE.md +0 -16
- package/src/orchestrator/plugins/convex/references/auth-auth0.md +0 -116
- package/src/orchestrator/plugins/convex/references/auth-clerk.md +0 -113
- package/src/orchestrator/plugins/convex/references/auth-convex-auth.md +0 -143
- package/src/orchestrator/plugins/convex/references/auth-setup.md +0 -87
- package/src/orchestrator/plugins/convex/references/auth-workos.md +0 -114
- package/src/orchestrator/plugins/convex/references/components-advanced.md +0 -134
- package/src/orchestrator/plugins/convex/references/components.md +0 -171
- package/src/orchestrator/plugins/convex/references/function-budget.md +0 -232
- package/src/orchestrator/plugins/convex/references/hot-path-rules.md +0 -371
- package/src/orchestrator/plugins/convex/references/migrations-component.md +0 -170
- package/src/orchestrator/plugins/convex/references/migrations.md +0 -259
- package/src/orchestrator/plugins/convex/references/occ-conflicts.md +0 -126
- package/src/orchestrator/plugins/convex/references/performance-audit.md +0 -80
- package/src/orchestrator/plugins/convex/references/quickstart.md +0 -176
- package/src/orchestrator/plugins/convex/references/subscription-cost.md +0 -252
- package/src/orchestrator/plugins/coolify/references/applications.md +0 -65
- package/src/orchestrator/plugins/coolify/references/ci-cd-webhooks.md +0 -73
- package/src/orchestrator/plugins/coolify/references/databases-services.md +0 -57
- package/src/orchestrator/plugins/coolify/references/docker-compose.md +0 -121
- package/src/orchestrator/plugins/coolify/references/infrastructure.md +0 -77
- package/src/orchestrator/plugins/cypress/REFERENCE.md +0 -5
- package/src/orchestrator/plugins/drizzle/references/migrations.md +0 -112
- package/src/orchestrator/plugins/drizzle/references/query-patterns.md +0 -127
- package/src/orchestrator/plugins/drizzle/references/schema-patterns.md +0 -105
- package/src/orchestrator/plugins/expo/references/eas-build.md +0 -73
- package/src/orchestrator/plugins/expo/references/native-modules.md +0 -71
- package/src/orchestrator/plugins/expo/references/routing.md +0 -83
- package/src/orchestrator/plugins/figma/REFERENCE.md +0 -18
- package/src/orchestrator/plugins/jira/REFERENCE.md +0 -9
- package/src/orchestrator/plugins/netlify/REFERENCE.md +0 -33
- package/src/orchestrator/plugins/nextjs/REFERENCE.md +0 -73
- package/src/orchestrator/plugins/notion/TEMPLATES.md +0 -88
- package/src/orchestrator/plugins/nx/REFERENCE.md +0 -10
- package/src/orchestrator/plugins/playwright/REFERENCE.md +0 -12
- package/src/orchestrator/plugins/prisma/REFERENCE.md +0 -42
- package/src/orchestrator/plugins/resend/REFERENCE.md +0 -61
- package/src/orchestrator/plugins/sentry/references/error-patterns.md +0 -112
- package/src/orchestrator/plugins/sentry/references/performance.md +0 -66
- package/src/orchestrator/plugins/sentry/references/sdk-setup.md +0 -108
- package/src/orchestrator/plugins/slack/REFERENCE.md +0 -24
- package/src/orchestrator/plugins/strapi/REFERENCE.md +0 -35
- package/src/orchestrator/plugins/stripe/references/api-patterns.md +0 -57
- package/src/orchestrator/plugins/stripe/references/projects-setup.md +0 -30
- package/src/orchestrator/plugins/stripe/references/upgrade-guide.md +0 -105
- package/src/orchestrator/plugins/supabase/REFERENCE.md +0 -9
- package/src/orchestrator/plugins/teams/REFERENCE.md +0 -36
- package/src/orchestrator/plugins/trello/REFERENCE.md +0 -9
- package/src/orchestrator/plugins/turborepo/REFERENCE.md +0 -9
- package/src/orchestrator/skills/backbone-scaffolding/EXAMPLES.md +0 -16
- package/src/orchestrator/skills/backbone-scaffolding/SKILL.md +0 -115
- package/src/orchestrator/skills/decomposition/REFERENCE.md +0 -28
- package/src/orchestrator/skills/memory-merger/REFERENCE.md +0 -20
- package/src/orchestrator/skills/react-development/REFERENCE.md +0 -7
- package/src/orchestrator/skills/seo-patterns/REFERENCE.md +0 -54
- package/src/orchestrator/snippets/base-output-contract.md +0 -14
- package/src/orchestrator/snippets/discovered-issues-policy.md +0 -15
- package/src/orchestrator/snippets/logging-mandatory.md +0 -11
- package/src/orchestrator/snippets/never-expose-secrets.md +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Generate
|
|
2
|
+
description: 'Generate JSON task plan for autonomous convoy execution based on a high-level goal.'
|
|
3
3
|
agent: 'Team Lead (OpenCastle)'
|
|
4
4
|
output: json
|
|
5
5
|
---
|
|
@@ -8,7 +8,7 @@ output: json
|
|
|
8
8
|
|
|
9
9
|
# Generate Task Plan
|
|
10
10
|
|
|
11
|
-
You are the Team Lead.
|
|
11
|
+
You are the Team Lead. User wants to run `opencastle convoy run --file <spec>` to execute batch of tasks autonomously via convoy engine. Your job: produce JSON task plan. CLI will convert it to valid convoy spec — **you do not need to know YAML syntax**. Derive short, descriptive, kebab-case filename from user's goal (2–4 words max), e.g. `auth-refactor` or `add-search`.
|
|
12
12
|
|
|
13
13
|
> **⚠️ OUTPUT FORMAT: Your entire response must be a single ` ```json ` fenced code block. Do NOT output any text, explanations, summaries, or DAG diagrams before or after the JSON block. The parser only reads the ` ```json ` fence — everything else causes a failure.**
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ You are the Team Lead. The user wants to run `opencastle run` to execute a batch
|
|
|
36
36
|
| `gates` | array of strings | no | Shell commands run after all tasks complete; each must exit 0 |
|
|
37
37
|
| `gate_retries` | integer ≥ 0 | no | Times to retry failing gates with an auto-fix task |
|
|
38
38
|
|
|
39
|
-
> **Added automatically — you do not need to set these:** `version: 1`, `defaults.
|
|
39
|
+
> **Added automatically — you do not need to set these:** `version: 1`, `defaults.timeout: '30m'`, `defaults.max_retries: 1`, `defaults.review: 'fast'`.
|
|
40
40
|
|
|
41
41
|
### Task Fields
|
|
42
42
|
|
|
@@ -56,28 +56,27 @@ You are the Team Lead. The user wants to run `opencastle run` to execute a batch
|
|
|
56
56
|
|
|
57
57
|
### Complexity Scores
|
|
58
58
|
|
|
59
|
-
If
|
|
59
|
+
If **Pre-Computed Task Complexity** table is present in context, use those scores directly — do not re-derive. Map each convoy task to closest workstream; for combined workstreams use highest score.
|
|
60
60
|
|
|
61
|
-
If no pre-computed data
|
|
61
|
+
If no pre-computed data available, assess complexity yourself: `1` (trivial), `2` (simple), `3` (moderate), `5` (significant), `8` (complex), `13` (epic).
|
|
62
62
|
|
|
63
63
|
### Agent Roster
|
|
64
64
|
|
|
65
|
-
`
|
|
65
|
+
`developer` · `architect` · `content-engineer` · `writer` · `data-engineer` · `data-engineer` · `developer` · `devops-expert` · `writer` · `performance-expert` · `devops-expert` · `researcher` · `security-expert` · `writer` · `team-lead` · `testing-expert` · `ui-ux-expert`
|
|
66
66
|
|
|
67
67
|
---
|
|
68
68
|
|
|
69
69
|
### Content Research Rule
|
|
70
70
|
|
|
71
|
-
When writing task `prompt` fields
|
|
71
|
+
When writing task `prompt` fields involving creating content about real-world people, places, organizations, or topics — **include explicit instruction in prompt** telling agent to search internet first using available web search or fetch tools (e.g. `fetch_webpage`, web search MCP). Agents must never fabricate bios, descriptions, histories, statistics, or factual claims. If web search unavailable, prompt should instruct agent to use placeholder text clearly marked as `[NEEDS RESEARCH]` rather than inventing content.
|
|
72
72
|
|
|
73
|
-
Example prompt suffix
|
|
73
|
+
Example prompt suffix when content research needed:
|
|
74
74
|
> "Before writing any content about [topic], search the internet for accurate information. Do not make up facts, descriptions, or biographical details. Use verified sources only."
|
|
75
75
|
|
|
76
76
|
---
|
|
77
77
|
|
|
78
78
|
### Scaffolding Rule
|
|
79
79
|
|
|
80
|
-
New project from scratch? You MUST load the **backbone-scaffolding** skill and follow it.
|
|
81
80
|
|
|
82
81
|
---
|
|
83
82
|
|
|
@@ -85,41 +84,41 @@ New project from scratch? You MUST load the **backbone-scaffolding** skill and f
|
|
|
85
84
|
|
|
86
85
|
### 1. Analyse the Goal
|
|
87
86
|
|
|
88
|
-
- Read
|
|
89
|
-
- Search
|
|
90
|
-
- List
|
|
87
|
+
- Read user's goal. Identify **deliverables** — what must exist or change after run completes.
|
|
88
|
+
- Search codebase to understand current state, file layout, conventions.
|
|
89
|
+
- List high-level workstreams (e.g. "database changes", "UI components", "tests", "docs").
|
|
91
90
|
|
|
92
91
|
### 2. Decompose into Tasks
|
|
93
92
|
|
|
94
|
-
For each workstream, break
|
|
93
|
+
For each workstream, break down into smallest meaningful unit. Follow these rules:
|
|
95
94
|
|
|
96
95
|
1. **Single responsibility** — each task does exactly one thing.
|
|
97
|
-
2. **Self-contained prompt** —
|
|
98
|
-
3. **Explicit file scopes** — list every directory or file
|
|
96
|
+
2. **Self-contained prompt** — `prompt` field must contain everything agent needs: objective, file paths, constraints, acceptance criteria. Agent has no other context.
|
|
97
|
+
3. **Explicit file scopes** — list every directory or file task may touch in `files`. Use plain paths only: exact file paths (e.g. `app/page.tsx`) or directory paths (e.g. `app/about/`). **Glob patterns (`*`, `?`, `**`) not allowed** — engine rejects them.
|
|
99
98
|
|
|
100
|
-
4. **No partition conflicts** — two tasks may not share
|
|
99
|
+
4. **No partition conflicts** — two tasks may not share `files` entry if they run in parallel (same phase). Resolve by either:
|
|
101
100
|
- **Specificity**: replace a broad directory path with the specific files each task actually creates (e.g., instead of both tasks claiming `components/`, one gets `components/Hero.tsx` and the other gets `components/ProjectCard.tsx`)
|
|
102
101
|
- **Sequencing**: add a `depends_on` edge from the later task to the earlier one, so they run in different phases
|
|
103
102
|
|
|
104
|
-
> **Common mistake:** multiple tasks
|
|
103
|
+
> **Common mistake:** multiple tasks depending on single `setup` task will run in parallel, conflict if sharing directory like `components/`, `app/globals.css`, or `app/layout.tsx`. Always use specific file paths or sequence conflicting tasks.
|
|
105
104
|
|
|
106
|
-
5. **Appropriate agent** — pick
|
|
105
|
+
5. **Appropriate agent** — pick agent whose speciality matches task (e.g. `testing-expert` for tests, `data-engineer` for migrations).
|
|
107
106
|
6. **Realistic timeouts** — `30m` for most tasks; `1h` for large refactors; `10m` for small docs or config.
|
|
108
107
|
|
|
109
108
|
### 2.5 Foundation Phase for Multi-Page Projects
|
|
110
109
|
|
|
111
|
-
When
|
|
110
|
+
When goal involves building **2 or more pages, views, or UI sections**, apply Foundation-First Pattern to prevent consistency drift across parallel agents:
|
|
112
111
|
|
|
113
|
-
1. **Create
|
|
112
|
+
1. **Create foundation task** (`id: foundation-setup`) as FIRST task. This task:
|
|
114
113
|
- Creates a **design tokens file** (CSS custom properties for colors, typography, spacing, motion, shadows, breakpoints)
|
|
115
114
|
- Creates a **shared layout component** (page container with header, footer, navigation)
|
|
116
115
|
- Creates a **UI component library** (Button, Card, Heading, Text, Section, Container, Grid)
|
|
117
|
-
- Establishes
|
|
116
|
+
- Establishes **style guide** (aesthetic direction, content tone, terminology, navigation labels)
|
|
118
117
|
- Agent: `ui-ux-expert` or `developer`
|
|
119
118
|
|
|
120
|
-
2. **All page tasks must `depends_on: [foundation-setup]`** —
|
|
119
|
+
2. **All page tasks must `depends_on: [foundation-setup]`** — cannot run until foundation in place.
|
|
121
120
|
|
|
122
|
-
3. **Every page task prompt must include Foundation References** —
|
|
121
|
+
3. **Every page task prompt must include Foundation References** — 5 mandatory lines constrain agent to `use` existing artifacts instead of `creating` new ones:
|
|
123
122
|
```
|
|
124
123
|
### Foundation References (MANDATORY)
|
|
125
124
|
- Design tokens: `[path to tokens file]` — use ONLY these variables. No new color/font/spacing values.
|
|
@@ -137,14 +136,14 @@ When the goal involves building **2 or more pages, views, or UI sections**, appl
|
|
|
137
136
|
- The content tone (formal/casual, active/passive)
|
|
138
137
|
- Terminology choices (e.g., "projects" not "portfolio")
|
|
139
138
|
|
|
140
|
-
> **Why:** Without this pattern, parallel agents independently choose fonts, colors, component APIs,
|
|
139
|
+
> **Why:** Without this pattern, parallel agents independently choose fonts, colors, component APIs, content tone. Result looks built by different teams — because it was. Foundation-first makes consistency structural, not aspirational.
|
|
141
140
|
|
|
142
141
|
### 3. Define the Dependency Graph (DAG)
|
|
143
142
|
|
|
144
143
|
- Tasks with no dependencies run first (in parallel up to `concurrency`).
|
|
145
144
|
- Tasks consuming output of earlier tasks declare `depends_on`.
|
|
146
145
|
- **Never create cycles.**
|
|
147
|
-
- Verify
|
|
146
|
+
- Verify implicit phase structure:
|
|
148
147
|
```
|
|
149
148
|
Phase 1: [independent tasks]
|
|
150
149
|
Phase 2: [tasks depending only on Phase 1]
|
|
@@ -152,22 +151,22 @@ When the goal involves building **2 or more pages, views, or UI sections**, appl
|
|
|
152
151
|
|
|
153
152
|
### 4. Set Global Options
|
|
154
153
|
|
|
155
|
-
- `name` — short description of
|
|
154
|
+
- `name` — short description of run.
|
|
156
155
|
- `branch` — derive from the goal, e.g. `feat/auth-refactor`.
|
|
157
|
-
- `concurrency` — 2–3 for overnight runs; 1 if tasks share files or
|
|
158
|
-
- `on_failure` — `stop` when every subsequent task depends on success;
|
|
159
|
-
- `gates` — standard validation (lint, type-check, test) unless
|
|
156
|
+
- `concurrency` — 2–3 for overnight runs; 1 if tasks share files or machine is constrained.
|
|
157
|
+
- `on_failure` — `stop` when every subsequent task depends on success; else `continue`.
|
|
158
|
+
- `gates` — standard validation (lint, type-check, test) unless user specifies otherwise.
|
|
160
159
|
|
|
161
160
|
### 5. Write the Prompts
|
|
162
161
|
|
|
163
|
-
Each task `prompt` must be
|
|
162
|
+
Each task `prompt` must be **complete, standalone instruction**. Include:
|
|
164
163
|
|
|
165
164
|
- **What** to build / change / fix.
|
|
166
165
|
- **Where** — exact file paths or directories.
|
|
167
|
-
- **Why** — business context so
|
|
166
|
+
- **Why** — business context so agent can make good decisions.
|
|
168
167
|
- **Constraints** — coding standards, conventions, do-not-touch files.
|
|
169
168
|
- **Acceptance criteria** — bullet list of pass conditions.
|
|
170
|
-
- **Verification command** — e.g. `Run
|
|
169
|
+
- **Verification command** — e.g. `Run project's test command with coverage` so the agent self-checks.
|
|
171
170
|
|
|
172
171
|
> **Weak prompt:** "Add tests for the auth module."
|
|
173
172
|
>
|
|
@@ -181,20 +180,20 @@ Each task `prompt` must be a **complete, standalone instruction**. Include:
|
|
|
181
180
|
|
|
182
181
|
### 6. Output
|
|
183
182
|
|
|
184
|
-
Your response must contain **ONLY**
|
|
183
|
+
Your response must contain **ONLY** single ` ```json ` fenced code block — no text before, no text after, no explanations, no summaries, no DAG diagrams.
|
|
185
184
|
|
|
186
185
|
---
|
|
187
186
|
|
|
188
187
|
## Chain Mode (Subset Generation)
|
|
189
188
|
|
|
190
|
-
When
|
|
189
|
+
When `{{goal}}` section contains "Convoy Group Scope" heading, you are generating ONE convoy spec that is part of a larger convoy chain. The goal will contain original user prompt, group name, description, phases to cover, dependency info. Full PRD available in `{{context}}` as reference.
|
|
191
190
|
|
|
192
191
|
When chain mode is detected:
|
|
193
|
-
- **Only** generate tasks for
|
|
194
|
-
- Derive
|
|
195
|
-
- Derive
|
|
196
|
-
- **Keep prompts concise** — write
|
|
197
|
-
- Keep all other conventions
|
|
192
|
+
- **Only** generate tasks for phases listed in group scope. Do not include tasks from other phases.
|
|
193
|
+
- Derive convoy `name` from group name (e.g. "Database Setup").
|
|
194
|
+
- Derive `branch` from PRD's feature name (overridden by pipeline anyway).
|
|
195
|
+
- **Keep prompts concise** — write complete, self-contained prompts; avoid unnecessary verbosity. Focus on: what to do, which files to create/modify, key constraints, acceptance criteria.
|
|
196
|
+
- Keep all other conventions same as for single-spec generation.
|
|
198
197
|
|
|
199
198
|
---
|
|
200
199
|
|
|
@@ -224,39 +223,39 @@ When chain mode is detected:
|
|
|
224
223
|
|
|
225
224
|
## Self-Validation Checklist (MANDATORY)
|
|
226
225
|
|
|
227
|
-
Before outputting
|
|
226
|
+
Before outputting JSON, verify **every item** below. Downstream validator will reject your plan if any blocking checks fail — fix them now to avoid expensive retry cycles.
|
|
228
227
|
|
|
229
228
|
### Structural Integrity
|
|
230
229
|
|
|
231
230
|
- [ ] Every task has a unique `id` (lowercase, kebab-case)
|
|
232
|
-
- [ ] Every `depends_on` reference points to
|
|
231
|
+
- [ ] Every `depends_on` reference points to valid `id` defined in task list
|
|
233
232
|
- [ ] No dependency cycles exist (DAG is acyclic)
|
|
234
233
|
- [ ] No `files` entry contains `*`, `?`, or `**` — plain paths only
|
|
235
|
-
- [ ] Top-level `name
|
|
236
|
-
- [ ] Every task has both `id
|
|
234
|
+
- [ ] Top-level `name`, `tasks` fields present; `tasks` non-empty
|
|
235
|
+
- [ ] Every task has both `id`, `prompt` fields (both non-empty strings)
|
|
237
236
|
|
|
238
237
|
### Partition & Dependency Coherence
|
|
239
238
|
|
|
240
239
|
- [ ] No two parallel tasks (same phase / no `depends_on` edge) share any `files` entry — resolve with specific file paths or sequencing
|
|
241
|
-
- [ ] **Dependency completeness**: For every task prompt, scan for imports or references to files/types/components produced by other tasks. Each cross-reference MUST have
|
|
242
|
-
- [ ] **File list completeness**: Every file mentioned in
|
|
240
|
+
- [ ] **Dependency completeness**: For every task prompt, scan for imports or references to files/types/components produced by other tasks. Each cross-reference MUST have `depends_on` edge to producing task.
|
|
241
|
+
- [ ] **File list completeness**: Every file mentioned in task's prompt that agent will create or modify appears in that task's `files` list. Don't omit utility files, sub-components, or config files.
|
|
243
242
|
- [ ] **Prompt-dependency coherence**: Prompts do not include workarounds (stub files, `@ts-expect-error`, conditional imports) for outputs of tasks listed in `depends_on`, since those outputs are guaranteed to exist.
|
|
244
243
|
|
|
245
244
|
### Prompt Quality
|
|
246
245
|
|
|
247
|
-
- [ ] **Self-contained**:
|
|
248
|
-
- [ ] **File-specific**: Names
|
|
246
|
+
- [ ] **Self-contained**: Agent with zero context can execute prompt without external clarification.
|
|
247
|
+
- [ ] **File-specific**: Names exact files to create or modify — no vague references ("the frontend", "the codebase").
|
|
249
248
|
- [ ] **Substantive**: At least 2 meaningful sentences; no stubs (`...`), no placeholders.
|
|
250
249
|
- [ ] **Verifiable**: Contains acceptance criteria or explicit verification steps.
|
|
251
|
-
- [ ] **Agent domain matching**: Each task's `agent` matches
|
|
252
|
-
- [ ] **Content research compliance**: If
|
|
253
|
-
- [ ] **Foundation phase present** (multi-page only): If 2+ pages/UI sections,
|
|
250
|
+
- [ ] **Agent domain matching**: Each task's `agent` matches domain — `developer` for code, `testing-expert` for tests, `writer` for docs, `writer` for marketing copy, `ui-ux-expert` for UI, `data-engineer` for migrations, `security-expert` for auth/security, `data-engineer` for ETL/scraping.
|
|
251
|
+
- [ ] **Content research compliance**: If prompt concerns real people, places, or organisations, includes research instruction.
|
|
252
|
+
- [ ] **Foundation phase present** (multi-page only): If 2+ pages/UI sections, `foundation-setup` task exists; all page tasks depend on it with 5 mandatory Foundation References.
|
|
254
253
|
|
|
255
254
|
---
|
|
256
255
|
|
|
257
256
|
## Historical Performance Context
|
|
258
257
|
|
|
259
|
-
When historical execution data
|
|
258
|
+
When historical execution data available (via convoy history in `.opencastle/convoy.db`), Team Lead should include compact summary in context. Example:
|
|
260
259
|
|
|
261
260
|
### Historical Performance (auto-generated)
|
|
262
261
|
Based on {N} past convoys:
|
|
@@ -264,5 +263,5 @@ Based on {N} past convoys:
|
|
|
264
263
|
- Recommended concurrency for {task_count} tasks: {recommended}
|
|
265
264
|
- Agents to watch: {high_retry_agents}
|
|
266
265
|
|
|
267
|
-
Use this data to make evidence-based decisions about agent assignment, concurrency,
|
|
266
|
+
Use this data to make evidence-based decisions about agent assignment, concurrency, timeout settings.
|
|
268
267
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Generate
|
|
2
|
+
description: 'Generate Product Requirements Document from high-level feature prompt. Output feeds directly into generate-convoy step.'
|
|
3
3
|
agent: 'Team Lead (OpenCastle)'
|
|
4
4
|
output: prd
|
|
5
5
|
---
|
|
@@ -8,9 +8,9 @@ output: prd
|
|
|
8
8
|
|
|
9
9
|
# Generate PRD
|
|
10
10
|
|
|
11
|
-
You are the Team Lead. Convert the feature request below into
|
|
11
|
+
You are the Team Lead. Convert the feature request below into structured Product Requirements Document (PRD). PRD consumed by `generate-convoy` step to produce automated agent task spec, so every section must be **concrete**, **specific**, **implementation-ready**.
|
|
12
12
|
|
|
13
|
-
> **⚠ QUALITY GATE:** This PRD goes through automated validation. Getting it right on
|
|
13
|
+
> **⚠ QUALITY GATE:** This PRD goes through automated validation. Getting it right on first attempt is critical — every fix cycle costs a full LLM round-trip. Follow ALL rules below precisely. Self-validation checklist at end is mandatory.
|
|
14
14
|
|
|
15
15
|
## Feature Request
|
|
16
16
|
|
|
@@ -24,24 +24,20 @@ You are the Team Lead. Convert the feature request below into a structured Produ
|
|
|
24
24
|
|
|
25
25
|
## Research Before Writing
|
|
26
26
|
|
|
27
|
-
If
|
|
27
|
+
If feature request involves specific person, place, organization, topic, or any real-world subject:
|
|
28
28
|
|
|
29
|
-
1. **Search the internet first** if web search or fetch tools
|
|
30
|
-
2. **If web search tools
|
|
29
|
+
1. **Search the internet first** if web search or fetch tools available (e.g. `fetch_webpage`, web search MCP, or similar). Use the search results to gather accurate facts, names, dates, descriptions, and other details.
|
|
30
|
+
2. **If web search tools unavailable or return no useful results**, you may use your training knowledge — but clearly mark any such content with:
|
|
31
31
|
> ℹ️ Content based on training data — verify before launch.
|
|
32
|
-
3. **Never fabricate or hallucinate content.** If you
|
|
33
|
-
|
|
34
|
-
## Scaffolding Awareness
|
|
35
|
-
|
|
36
|
-
New project from scratch? You MUST load the **backbone-scaffolding** skill and follow it.
|
|
32
|
+
3. **Never fabricate or hallucinate content.** If you have no knowledge about real-world subject and cannot search, state what is unknown; use placeholder text. Applies to all content: bios, descriptions, histories, statistics, quotes, any factual claims.
|
|
37
33
|
|
|
38
34
|
## Output Rules
|
|
39
35
|
|
|
40
|
-
**CRITICAL:** Return the PRD as your text response. Do NOT create any files. Do NOT use file-writing tools.
|
|
36
|
+
**CRITICAL:** Return the PRD as your text response. Do NOT create any files. Do NOT use file-writing tools. Output full PRD document as text. Do not wrap in code fence — start directly with `#` heading. Do not summarize — output complete document.
|
|
41
37
|
|
|
42
38
|
## Required PRD Structure
|
|
43
39
|
|
|
44
|
-
Produce
|
|
40
|
+
Produce PRD in Markdown using **exactly** sections below. Do not skip or merge sections.
|
|
45
41
|
|
|
46
42
|
---
|
|
47
43
|
|
|
@@ -49,22 +45,22 @@ Produce the PRD in Markdown using **exactly** the sections below. Do not skip or
|
|
|
49
45
|
|
|
50
46
|
## Overview
|
|
51
47
|
|
|
52
|
-
2–3 sentences: what this feature does, who benefits,
|
|
48
|
+
2–3 sentences: what this feature does, who benefits, why it matters now.
|
|
53
49
|
|
|
54
50
|
## Goals
|
|
55
51
|
|
|
56
|
-
Numbered list of specific, measurable outcomes this feature must achieve. Each goal
|
|
52
|
+
Numbered list of specific, measurable outcomes this feature must achieve. Each goal: single sentence with clear success condition.
|
|
57
53
|
|
|
58
54
|
1. …
|
|
59
55
|
2. …
|
|
60
56
|
|
|
61
57
|
## Non-Goals
|
|
62
58
|
|
|
63
|
-
Explicit exclusions — what this work does **not** cover. If nothing
|
|
59
|
+
Explicit exclusions — what this work does **not** cover. If nothing excluded, write "None."
|
|
64
60
|
|
|
65
61
|
## User Stories & Acceptance Criteria
|
|
66
62
|
|
|
67
|
-
For each primary scenario, write
|
|
63
|
+
For each primary scenario, write user story + binary acceptance criteria. Criteria must be testable (pass/fail — no subjective language).
|
|
68
64
|
|
|
69
65
|
**Quality rules for acceptance criteria (the validator WILL reject violations):**
|
|
70
66
|
- Every criterion must be evaluable as deterministic pass/fail — no subjective language ("looks good", "feels responsive", "is clean", "visually distinct")
|
|
@@ -83,7 +79,7 @@ Acceptance criteria:
|
|
|
83
79
|
|
|
84
80
|
## Technical Requirements
|
|
85
81
|
|
|
86
|
-
Specific technical constraints
|
|
82
|
+
Specific technical constraints implementation must respect:
|
|
87
83
|
- Libraries, framework versions to use or avoid
|
|
88
84
|
- API contracts or interfaces that must not break
|
|
89
85
|
- Performance thresholds (e.g., "<200 ms p95 latency")
|
|
@@ -92,7 +88,7 @@ Specific technical constraints the implementation must respect:
|
|
|
92
88
|
|
|
93
89
|
## Implementation Scope
|
|
94
90
|
|
|
95
|
-
List **every file and directory** that will be created, modified, or deleted. Use specific paths — not broad paths like `src/`. Group by concern. Use compact file lists — group related files with commas instead of separate rows when
|
|
91
|
+
List **every file and directory** that will be created, modified, or deleted. Use specific paths — not broad paths like `src/`. Group by concern. Use compact file lists — group related files with commas instead of separate rows when sharing a concern. Do NOT use glob patterns (`*`, `**`). Every concern must list at least one specific file.
|
|
96
92
|
|
|
97
93
|
| Concern | Files / Directories |
|
|
98
94
|
|---------|---------------------|
|
|
@@ -104,18 +100,18 @@ List **every file and directory** that will be created, modified, or deleted. Us
|
|
|
104
100
|
| [Config / env] | `.env.example` |
|
|
105
101
|
|
|
106
102
|
**File partition rules (important for parallel execution):**
|
|
107
|
-
- No two concurrent workstreams may modify
|
|
108
|
-
- If two workstreams need
|
|
103
|
+
- No two concurrent workstreams may modify same file
|
|
104
|
+
- If two workstreams need same file, must be sequenced (Phase N+1 after Phase N)
|
|
109
105
|
|
|
110
106
|
## Task Breakdown
|
|
111
107
|
|
|
112
|
-
Decompose into
|
|
108
|
+
Decompose into minimum number of phases. Tasks in same phase run in parallel; **must not share any files**.
|
|
113
109
|
|
|
114
110
|
Keep task descriptions **brief** — 1 sentence each. List only file paths, not explanations. Prefer compact formatting.
|
|
115
111
|
|
|
116
112
|
**Quality rules (the validator WILL reject violations):**
|
|
117
113
|
- Each workstream must list exact files it will modify
|
|
118
|
-
- No two parallel workstreams (same phase) may claim
|
|
114
|
+
- No two parallel workstreams (same phase) may claim same file
|
|
119
115
|
- Phases must have explicit dependency declarations (`depends on: Phase N`)
|
|
120
116
|
- No circular dependencies
|
|
121
117
|
|
|
@@ -138,8 +134,8 @@ Phase 3 — Verification (depends on Phase 2):
|
|
|
138
134
|
|
|
139
135
|
## Success Criteria
|
|
140
136
|
|
|
141
|
-
Measurable, binary checks
|
|
142
|
-
- [ ] All acceptance criteria in User Stories & Acceptance Criteria pass
|
|
137
|
+
Measurable, binary checks confirming feature is shippable:
|
|
138
|
+
- [ ] All acceptance criteria in User Stories All acceptance criteria in User Stories & Acceptance Criteria pass Acceptance Criteria pass
|
|
143
139
|
- [ ] TypeScript compiles with zero errors
|
|
144
140
|
- [ ] Lint passes with zero warnings
|
|
145
141
|
- [ ] Unit test coverage ≥ 95% on all new/changed files
|
|
@@ -150,31 +146,31 @@ Measurable, binary checks that confirm the feature is shippable:
|
|
|
150
146
|
- **[Risk title]**: [Description of the risk] — *Mitigation: [How to handle it]*
|
|
151
147
|
- **[Open question]**: [What needs to be decided before implementation can start]
|
|
152
148
|
|
|
153
|
-
If
|
|
149
|
+
If no risks or open questions, write "None identified."
|
|
154
150
|
|
|
155
151
|
---
|
|
156
152
|
|
|
157
153
|
## Self-Validation Checklist (MANDATORY)
|
|
158
154
|
|
|
159
|
-
Before outputting
|
|
155
|
+
Before outputting PRD, verify **every item** below. Downstream validator will reject your PRD if any blocking checks fail — fix them now to avoid expensive retry cycles.
|
|
160
156
|
|
|
161
157
|
### Structural Integrity
|
|
162
158
|
|
|
163
|
-
- [ ] **No conflicting requirements**: Technical Requirements, Non-Goals, Risks & Open Questions, and User Stories must not contradict each other.
|
|
164
|
-
- [ ] **No duplicate open questions**: If a question is already answered elsewhere, do not re-open it in Risks & Open Questions.
|
|
159
|
+
- [ ] **No conflicting requirements**: Technical Requirements, Non-Goals, Risks **No conflicting requirements**: Technical Requirements, Non-Goals, Risks & Open Questions, and User Stories must not contradict each other. Open Questions, User Stories must not contradict each other.
|
|
160
|
+
- [ ] **No duplicate open questions**: If question already answered elsewhere, do not re-open in Risks **No duplicate open questions**: If a question is already answered elsewhere, do not re-open it in Risks & Open Questions. Open Questions.
|
|
165
161
|
- [ ] **No circular dependencies**: Phase dependency graph is acyclic.
|
|
166
162
|
- [ ] **No placeholder text**: Every section has real content, not template filler ("2–3 sentences about…", "Description here").
|
|
167
163
|
|
|
168
164
|
### Implementation Coherence
|
|
169
165
|
|
|
170
|
-
- [ ] **File completeness**: Every file mentioned in User Story acceptance criteria or Technical Requirements appears in
|
|
171
|
-
- [ ] **No file partition conflicts**: No two parallel workstreams (same phase) claim
|
|
172
|
-
- [ ] **Every workstream lists files**: Including verification-only workstreams — add "Files: none — verification only" if no artifacts
|
|
173
|
-
- [ ] **No orphan files**: Every file in
|
|
166
|
+
- [ ] **File completeness**: Every file mentioned in User Story acceptance criteria or Technical Requirements appears in Implementation Scope table AND in Task Breakdown file lists.
|
|
167
|
+
- [ ] **No file partition conflicts**: No two parallel workstreams (same phase) claim same file.
|
|
168
|
+
- [ ] **Every workstream lists files**: Including verification-only workstreams — add "Files: none — verification only" if no artifacts produced.
|
|
169
|
+
- [ ] **No orphan files**: Every file in Implementation Scope table is assigned to exactly one workstream in Task Breakdown.
|
|
174
170
|
- [ ] **Scope specificity**: Implementation Scope uses specific subdirectory or file paths — not just `src/` or `the frontend`.
|
|
175
171
|
|
|
176
172
|
### Language Quality
|
|
177
173
|
|
|
178
174
|
- [ ] **Testable acceptance criteria**: Every criterion is evaluable as deterministic pass/fail — no subjective language ("looks good", "feels responsive").
|
|
179
|
-
- [ ] **No optional modals
|
|
180
|
-
- [ ] **Domain acronyms expanded**: Non-standard acronyms
|
|
175
|
+
- [ ] **No optional modals**: Acceptance criteria do not use "should", "might", "could", "may" — use "must" or "will".
|
|
176
|
+
- [ ] **Domain acronyms expanded**: Non-standard acronyms expanded on first use (standard ones like API, CLI, JSON, REST, etc. fine).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Instruct the Team Lead to implement
|
|
2
|
+
description: 'Instruct the Team Lead to implement specific task from a roadmap with full orchestration, validation, traceability.'
|
|
3
3
|
agent: 'Team Lead (OpenCastle)'
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ agent: 'Team Lead (OpenCastle)'
|
|
|
7
7
|
|
|
8
8
|
# Implement Roadmap Task
|
|
9
9
|
|
|
10
|
-
You are the Team Lead. Implement the roadmap task described below following this strict workflow.
|
|
10
|
+
You are the Team Lead. Implement the roadmap task described below following this strict workflow. Task comes from `.opencastle/project/roadmap.md`.
|
|
11
11
|
|
|
12
12
|
## Task
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ You are the Team Lead. Implement the roadmap task described below following this
|
|
|
17
17
|
|
|
18
18
|
## Workflow
|
|
19
19
|
|
|
20
|
-
> **HARD GATE:** Steps 1→2 are **blocking prerequisites**. Do NOT write, edit, or delegate any code until tracker issues exist for every subtask. If you catch yourself writing code before issues are created, STOP immediately
|
|
20
|
+
> **HARD GATE:** Steps 1→2 are **blocking prerequisites**. Do NOT write, edit, or delegate any code until tracker issues exist for every subtask. If you catch yourself writing code before issues are created, STOP immediately; create the issues; then resume.
|
|
21
21
|
|
|
22
22
|
### 1. Research & Context Gathering
|
|
23
23
|
|
|
@@ -39,35 +39,35 @@ Every subtask must be tracked. **No issue = no implementation.** This step produ
|
|
|
39
39
|
|
|
40
40
|
### 2.5 Generate Convoy Spec (BLOCKING — decides how Step 3 proceeds)
|
|
41
41
|
|
|
42
|
-
All project-related work
|
|
42
|
+
All project-related work executes via the convoy engine — regardless of subtask count.
|
|
43
43
|
|
|
44
44
|
1. **Generate the spec** — use the `generate-convoy` prompt with the decomposed task list. The spec IS the implementation plan; even single-task fixes go through convoy for observability.
|
|
45
|
-
2. **Hand the spec to the user** — tell them to run: `npx opencastle run -f .opencastle/convoys/<name>.convoy.yml`
|
|
45
|
+
2. **Hand the spec to the user** — tell them to run: `npx opencastle convoy run -f .opencastle/convoys/<name>.convoy.yml`
|
|
46
46
|
3. **The convoy engine handles** isolated git worktrees, parallel execution, merge queue ordering, crash recovery, and structured logging automatically.
|
|
47
47
|
4. **After convoy completes** — proceed to Step 4 (validation) and Step 5 (delivery/PR).
|
|
48
48
|
|
|
49
49
|
### 3. Implementation Rules
|
|
50
50
|
|
|
51
|
-
> **Convoy execution:**
|
|
51
|
+
> **Convoy execution:** Convoy spec IS the implementation plan — skip manual delegation; jump to Step 4 after user runs convoy.
|
|
52
52
|
|
|
53
53
|
#### Issue Traceability
|
|
54
54
|
|
|
55
|
-
- Include
|
|
55
|
+
- Include tracker issue ID and title in every delegation prompt
|
|
56
56
|
- Reference issue IDs (e.g., `TAS-42`) in commit messages; move issues In Progress → Done as work progresses
|
|
57
57
|
|
|
58
58
|
#### DRY Code
|
|
59
59
|
|
|
60
|
-
- Search before creating — check for existing components, hooks, utilities,
|
|
60
|
+
- Search before creating — check for existing components, hooks, utilities, queries first
|
|
61
61
|
- Extract shared logic to `libs/`; no copy-paste across apps. Refactor duplicates when discovered
|
|
62
62
|
|
|
63
63
|
#### Visual Consistency
|
|
64
64
|
|
|
65
|
-
- Use
|
|
66
|
-
- Match spacing, typography,
|
|
65
|
+
- Use shared component library; never re-implement existing components
|
|
66
|
+
- Match spacing, typography, colors from existing pages; verify in all affected apps
|
|
67
67
|
|
|
68
68
|
### 4. Validation & Testing
|
|
69
69
|
|
|
70
|
-
> Load
|
|
70
|
+
> Load **validation-gates** skill for detailed steps on each gate.
|
|
71
71
|
|
|
72
72
|
Every subtask must pass ALL gates before being marked Done:
|
|
73
73
|
|
|
@@ -83,7 +83,7 @@ Every subtask must pass ALL gates before being marked Done:
|
|
|
83
83
|
|
|
84
84
|
### 5. Delivery
|
|
85
85
|
|
|
86
|
-
Follow
|
|
86
|
+
Follow **Delivery Outcome** in **git-workflow** skill — commit, push, open PR (not merged), link to tracker. Convoy engine creates commits on configured `branch` directly; open PR from that branch after validation passes.
|
|
87
87
|
|
|
88
88
|
### 6. Documentation & Traceability
|
|
89
89
|
|
|
@@ -95,15 +95,15 @@ Follow the **Delivery Outcome** defined in the **git-workflow** skill — commit
|
|
|
95
95
|
|
|
96
96
|
### 7. Completion Criteria
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
Roadmap task is complete when:
|
|
99
99
|
|
|
100
100
|
- [ ] All tracker subtask issues are Done
|
|
101
|
-
- [ ] **All UI changes verified in Chrome browser via MCP with screenshots
|
|
102
|
-
- [ ] **Every feature in
|
|
101
|
+
- [ ] **All UI changes verified in Chrome browser via MCP with screenshots as proof**
|
|
102
|
+
- [ ] **Every feature in acceptance criteria visually confirmed** — not just "page loads"
|
|
103
103
|
- [ ] No duplicated code — shared logic extracted to libraries
|
|
104
|
-
- [ ] Visual consistency maintained across all affected pages
|
|
104
|
+
- [ ] Visual consistency maintained across all affected pages, apps
|
|
105
105
|
- [ ] Documentation updated (roadmap, known issues, decisions)
|
|
106
106
|
- [ ] Panel review passed for any high-stakes changes
|
|
107
107
|
- [ ] Roadmap item marked complete in `.opencastle/project/roadmap.md`
|
|
108
|
-
- [ ] Delivery Outcome completed (see
|
|
108
|
+
- [ ] Delivery Outcome completed (see **git-workflow** skill) — branch pushed, PR opened (not merged), tracker linked
|
|
109
109
|
- [ ] Lessons learned captured if any retries occurred
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: 'Handle follow-up refinements after a roadmap task — bug fixes, UI tweaks, polish,
|
|
2
|
+
description: 'Handle follow-up refinements after a roadmap task — bug fixes, UI tweaks, polish, adjustments too small for issue tracking.'
|
|
3
3
|
agent: 'Team Lead (OpenCastle)'
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ agent: 'Team Lead (OpenCastle)'
|
|
|
7
7
|
|
|
8
8
|
# Follow-Up Refinement
|
|
9
9
|
|
|
10
|
-
You are the Team Lead. Handle the follow-up refinement described below. This is
|
|
10
|
+
You are the Team Lead. Handle the follow-up refinement described below. This is **post-task adjustment** — a bug fix, UI tweak, or polish item that came up after reviewing a completed roadmap task. Does NOT require issue tracking.
|
|
11
11
|
|
|
12
12
|
## Request
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ You are the Team Lead. Handle the follow-up refinement described below. This is
|
|
|
25
25
|
| Scope | Multi-step feature | Focused fix or adjustment |
|
|
26
26
|
| Branch strategy | Dedicated feature branch | Current branch (already in progress) |
|
|
27
27
|
|
|
28
|
-
**Despite being lighter-weight, follow-ups still require
|
|
28
|
+
**Despite being lighter-weight, follow-ups still require same code quality and verification standards.** Never skip linting, testing, or browser checks just because change is "small."
|
|
29
29
|
|
|
30
30
|
## Workflow
|
|
31
31
|
|
|
@@ -34,11 +34,11 @@ You are the Team Lead. Handle the follow-up refinement described below. This is
|
|
|
34
34
|
**Create a tracker issue if ANY of these are true:**
|
|
35
35
|
- Affects user-visible behavior, touches >2–3 files, or modifies `libs/`, queries, API routes, or Server Actions
|
|
36
36
|
- Could introduce regressions in other features
|
|
37
|
-
- You want
|
|
37
|
+
- You want record for future reference
|
|
38
38
|
|
|
39
39
|
**Skip tracking if ALL of these are true:**
|
|
40
40
|
- Pure cosmetic/spacing/copy change with no behavioral impact
|
|
41
|
-
- Isolated to
|
|
41
|
+
- Isolated to single component or page
|
|
42
42
|
- Trivial to verify visually
|
|
43
43
|
|
|
44
44
|
If creating: title `[Follow-up] Short description`, label `follow-up`, priority Low/Medium, description: what changed, why, files
|
|
@@ -61,19 +61,19 @@ If creating: title `[Follow-up] Short description`, label `follow-up`, priority
|
|
|
61
61
|
|
|
62
62
|
#### Delegation Prompt Must Include
|
|
63
63
|
|
|
64
|
-
- What to fix, exact file paths,
|
|
64
|
+
- What to fix, exact file paths, how to verify result
|
|
65
65
|
- Boundaries: "Only modify files listed above. Do not refactor unrelated code."
|
|
66
66
|
- Self-improvement reminder (see **self-improvement** skill)
|
|
67
67
|
|
|
68
68
|
#### Implementation Rules
|
|
69
69
|
|
|
70
70
|
- **No scope creep** — Fix only what was asked; note but don't fix adjacent issues
|
|
71
|
-
- **DRY + Visual consistency** — Reuse existing components, utilities,
|
|
71
|
+
- **DRY + Visual consistency** — Reuse existing components, utilities, design system patterns
|
|
72
72
|
- **Cross-app + Accessibility** — Verify `libs/` changes across apps; don't regress keyboard nav/contrast
|
|
73
73
|
|
|
74
74
|
### 5. Validate
|
|
75
75
|
|
|
76
|
-
> Load
|
|
76
|
+
> Load **validation-gates** skill for detailed steps on each gate.
|
|
77
77
|
|
|
78
78
|
Every follow-up, no matter how small, must pass these gates:
|
|
79
79
|
|
|
@@ -87,24 +87,24 @@ Every follow-up, no matter how small, must pass these gates:
|
|
|
87
87
|
|
|
88
88
|
### 6. Delivery
|
|
89
89
|
|
|
90
|
-
If tracked: follow
|
|
90
|
+
If tracked: follow **Delivery Outcome** in **git-workflow** skill — commit, push, open PR (not merged), tracker linked.
|
|
91
91
|
|
|
92
|
-
If untracked: commit to
|
|
92
|
+
If untracked: commit to current branch; Team Lead includes in parent task's existing PR.
|
|
93
93
|
|
|
94
94
|
### 7. Escalation Triggers
|
|
95
95
|
|
|
96
|
-
- Requires
|
|
96
|
+
- Requires database migration or data model changes (CMS schemas, tables)
|
|
97
97
|
- Involves auth/authorization changes
|
|
98
98
|
- Touches >5 files across multiple libraries
|
|
99
|
-
- Introduces
|
|
100
|
-
-
|
|
99
|
+
- Introduces new dependency or API endpoint
|
|
100
|
+
- Systemic issue requiring architectural changes
|
|
101
101
|
- Decomposes into 3+ subtasks → switch to `implement-feature`
|
|
102
102
|
|
|
103
103
|
### 8. Completion
|
|
104
104
|
|
|
105
|
-
- [ ]
|
|
106
|
-
- [ ] Tracker issue created
|
|
107
|
-
- [ ] **Visual changes verified in Chrome with screenshot
|
|
105
|
+
- [ ] Specific request is resolved
|
|
106
|
+
- [ ] Tracker issue created, moved to Done (if triage determined tracking was needed)
|
|
107
|
+
- [ ] **Visual changes verified in Chrome with screenshot as proof**
|
|
108
108
|
- [ ] Shared component changes tested across all consuming apps
|
|
109
|
-
- [ ] Delivery Outcome completed if tracked (see
|
|
110
|
-
- [ ] Lessons learned captured
|
|
109
|
+
- [ ] Delivery Outcome completed if tracked (see **git-workflow** skill) — branch pushed, PR opened (not merged), tracker linked
|
|
110
|
+
- [ ] Lessons learned captured, known issues updated if applicable
|