@punks/cli 2.1.11 → 2.2.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 +3 -1
- package/dist/index.js +0 -0
- package/package.json +1 -1
- package/dist/data/AGENTS.md +0 -119
- package/dist/data/catalog/hooks.ts +0 -26
- package/dist/data/catalog/lint.ts +0 -266
- package/dist/data/catalog/packs.ts +0 -327
- package/dist/data/catalog/skills.ts +0 -449
- package/dist/data/catalog/tools.ts +0 -48
- package/dist/data/control-plane.json +0 -3
- package/dist/data/hooks/format-edited-file.mjs +0 -699
- package/dist/data/hooks/format-edited-file.sh +0 -37
- package/dist/data/hooks/require-tests-for-pr.mjs +0 -206
- package/dist/data/hooks/scaffold-update-check.mjs +0 -181
- package/dist/data/hooks.test.ts +0 -109
- package/dist/data/scripts/sync-subagents.mjs +0 -524
- package/dist/data/subagents/manifest.mjs +0 -487
- package/dist/data/subagents/manifest.test.ts +0 -40
- package/dist/skills/agnostic/backend/backend-domain-structure/SKILL.md +0 -50
- package/dist/skills/agnostic/backend/backend-domain-structure/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/backend/backend-domain-structure/references/layout.md +0 -167
- package/dist/skills/agnostic/backend/backend-recoverable-actions/SKILL.md +0 -49
- package/dist/skills/agnostic/backend/backend-recoverable-actions/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/backend/backend-recoverable-actions/references/strategy-matrix.md +0 -34
- package/dist/skills/agnostic/backend/backend-recoverable-actions/references/test-matrix.md +0 -34
- package/dist/skills/agnostic/backend/logging-best-practices/SKILL.md +0 -127
- package/dist/skills/agnostic/backend/logging-best-practices/rules/context.md +0 -157
- package/dist/skills/agnostic/backend/logging-best-practices/rules/pitfalls.md +0 -118
- package/dist/skills/agnostic/backend/logging-best-practices/rules/structure.md +0 -193
- package/dist/skills/agnostic/backend/logging-best-practices/rules/wide-events.md +0 -113
- package/dist/skills/agnostic/cli/dp-cli/SKILL.md +0 -125
- package/dist/skills/agnostic/cli/dp-cli/references/commands.md +0 -70
- package/dist/skills/agnostic/cli/dp-cli/references/post-command-flow.md +0 -70
- package/dist/skills/agnostic/debug/debug-agent/SKILL.md +0 -184
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +0 -46
- package/dist/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +0 -67
- package/dist/skills/agnostic/docs/writing-beats/SKILL.md +0 -69
- package/dist/skills/agnostic/docs/writing-fragments/SKILL.md +0 -76
- package/dist/skills/agnostic/docs/writing-shape/SKILL.md +0 -75
- package/dist/skills/agnostic/frontend/agent-browser/.clawdhub/origin.json +0 -7
- package/dist/skills/agnostic/frontend/agent-browser/SKILL.md +0 -229
- package/dist/skills/agnostic/frontend/agent-browser/references/authentication.md +0 -202
- package/dist/skills/agnostic/frontend/agent-browser/references/commands.md +0 -259
- package/dist/skills/agnostic/frontend/agent-browser/references/proxy-support.md +0 -188
- package/dist/skills/agnostic/frontend/agent-browser/references/session-management.md +0 -193
- package/dist/skills/agnostic/frontend/agent-browser/references/snapshot-refs.md +0 -194
- package/dist/skills/agnostic/frontend/agent-browser/references/video-recording.md +0 -173
- package/dist/skills/agnostic/frontend/agent-browser/templates/authenticated-session.sh +0 -97
- package/dist/skills/agnostic/frontend/agent-browser/templates/capture-workflow.sh +0 -69
- package/dist/skills/agnostic/frontend/agent-browser/templates/form-automation.sh +0 -62
- package/dist/skills/agnostic/frontend/design-taste-frontend/SKILL.md +0 -226
- package/dist/skills/agnostic/frontend/frontend-domain-structure/SKILL.md +0 -55
- package/dist/skills/agnostic/frontend/frontend-domain-structure/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/frontend/frontend-domain-structure/references/react/structure.md +0 -102
- package/dist/skills/agnostic/frontend/frontend-domain-structure/references/structure.md +0 -257
- package/dist/skills/agnostic/frontend/gpt-taste/SKILL.md +0 -74
- package/dist/skills/agnostic/frontend/image-taste-frontend/SKILL.md +0 -1102
- package/dist/skills/agnostic/frontend/redesign-existing-projects/SKILL.md +0 -178
- package/dist/skills/agnostic/generic/handoff/SKILL.md +0 -15
- package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +0 -37
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +0 -88
- package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +0 -44
- package/dist/skills/agnostic/planning/create-plan/references/grill-phase.md +0 -87
- package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +0 -90
- package/dist/skills/agnostic/planning/create-plan/references/planner-phase.md +0 -42
- package/dist/skills/agnostic/planning/create-plan/references/stop-conditions.md +0 -18
- package/dist/skills/agnostic/planning/create-plan/references/tdd-phase.md +0 -48
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +0 -111
- package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +0 -91
- package/dist/skills/agnostic/planning/create-spec/references/backlog-sync.md +0 -49
- package/dist/skills/agnostic/planning/create-spec/references/discovery.md +0 -54
- package/dist/skills/agnostic/planning/create-spec/references/folder-naming.md +0 -33
- package/dist/skills/agnostic/planning/create-spec/references/grill-phase.md +0 -47
- package/dist/skills/agnostic/planning/create-spec/references/handoff.md +0 -47
- package/dist/skills/agnostic/planning/create-spec/references/questioning.md +0 -51
- package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +0 -58
- package/dist/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +0 -50
- package/dist/skills/agnostic/planning/grill-me/SKILL.md +0 -28
- package/dist/skills/agnostic/planning/implement-spec/SKILL.md +0 -99
- package/dist/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +0 -53
- package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +0 -199
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +0 -102
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +0 -74
- package/dist/skills/agnostic/planning/implement-spec/references/parallel.md +0 -56
- package/dist/skills/agnostic/planning/implement-spec/references/sequential.md +0 -43
- package/dist/skills/agnostic/planning/stack/SKILL.md +0 -89
- package/dist/skills/agnostic/planning/swarm-planner/SKILL.md +0 -179
- package/dist/skills/agnostic/quality/autoreview/SKILL.md +0 -191
- package/dist/skills/agnostic/quality/autoreview/scripts/autoreview +0 -1176
- package/dist/skills/agnostic/quality/autoreview/scripts/test-review-harness +0 -176
- package/dist/skills/agnostic/quality/simplify/SKILL.md +0 -14
- package/dist/skills/agnostic/quality/tdd/SKILL.md +0 -138
- package/dist/skills/agnostic/quality/tdd/deep-modules.md +0 -33
- package/dist/skills/agnostic/quality/tdd/interface-design.md +0 -31
- package/dist/skills/agnostic/quality/tdd/mocking.md +0 -59
- package/dist/skills/agnostic/quality/tdd/refactoring.md +0 -10
- package/dist/skills/agnostic/quality/tdd/tests.md +0 -61
- package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +0 -44
- package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +0 -157
- package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +0 -69
- package/dist/skills/agnostic/requirements/requirements-grill/references/wiki-output.md +0 -101
- package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +0 -67
- package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +0 -262
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +0 -71
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +0 -69
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +0 -66
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +0 -63
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +0 -224
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +0 -76
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +0 -146
- package/dist/skills/agnostic/research/improve-codebase-architecture/REFERENCE.md +0 -78
- package/dist/skills/agnostic/research/improve-codebase-architecture/SKILL.md +0 -76
- package/dist/skills/agnostic/research/parallel-research/SKILL.md +0 -68
- package/dist/skills/agnostic/research/parallel-research/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/subagents/swarm-planner/SKILL.md +0 -179
- package/dist/skills/agnostic/write-a-skill/SKILL.md +0 -117
- package/dist/skills/frameworks/better-auth/better-auth-best-practices/SKILL.md +0 -166
- package/dist/skills/frameworks/better-auth/better-auth-security-best-practices/SKILL.MD +0 -432
- package/dist/skills/frameworks/effect/effect-authoring/SKILL.md +0 -116
- package/dist/skills/frameworks/effect/effect-authoring/references/branded-types.md +0 -98
- package/dist/skills/frameworks/effect/effect-authoring/references/effect-atom-patterns.md +0 -257
- package/dist/skills/frameworks/effect/effect-authoring/references/effect-primitives.md +0 -144
- package/dist/skills/frameworks/effect/effect-authoring/references/error-patterns.md +0 -156
- package/dist/skills/frameworks/effect/effect-authoring/references/otel-patterns.md +0 -113
- package/dist/skills/frameworks/effect/effect-authoring/references/test-patterns.md +0 -146
- package/dist/skills/frameworks/effect/effect-backend-structure/SKILL.md +0 -96
- package/dist/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +0 -4
- package/dist/skills/frameworks/effect/effect-backend-structure/references/layout.md +0 -68
- package/dist/skills/frameworks/effect/effect-best-practices/SKILL.md +0 -517
- package/dist/skills/frameworks/effect/effect-best-practices/references/anti-patterns.md +0 -392
- package/dist/skills/frameworks/effect/effect-best-practices/references/effect-atom-patterns.md +0 -653
- package/dist/skills/frameworks/effect/effect-best-practices/references/error-patterns.md +0 -464
- package/dist/skills/frameworks/effect/effect-best-practices/references/language-server.md +0 -287
- package/dist/skills/frameworks/effect/effect-best-practices/references/layer-patterns.md +0 -495
- package/dist/skills/frameworks/effect/effect-best-practices/references/observability-patterns.md +0 -342
- package/dist/skills/frameworks/effect/effect-best-practices/references/rpc-cluster-patterns.md +0 -418
- package/dist/skills/frameworks/effect/effect-best-practices/references/schema-patterns.md +0 -353
- package/dist/skills/frameworks/effect/effect-best-practices/references/service-patterns.md +0 -299
- package/dist/skills/frameworks/effect/effect-recoverable-actions/SKILL.md +0 -65
- package/dist/skills/frameworks/effect/effect-recoverable-actions/agents/openai.yaml +0 -4
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/flow-examples.md +0 -154
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/source-backed-primitives.md +0 -104
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/strategy-matrix.md +0 -34
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/test-matrix.md +0 -36
- package/dist/skills/frameworks/elysia/elysiajs/SKILL.md +0 -475
- package/dist/skills/frameworks/elysia/elysiajs/examples/basic.ts +0 -9
- package/dist/skills/frameworks/elysia/elysiajs/examples/body-parser.ts +0 -33
- package/dist/skills/frameworks/elysia/elysiajs/examples/complex.ts +0 -112
- package/dist/skills/frameworks/elysia/elysiajs/examples/cookie.ts +0 -45
- package/dist/skills/frameworks/elysia/elysiajs/examples/error.ts +0 -38
- package/dist/skills/frameworks/elysia/elysiajs/examples/file.ts +0 -10
- package/dist/skills/frameworks/elysia/elysiajs/examples/guard.ts +0 -34
- package/dist/skills/frameworks/elysia/elysiajs/examples/map-response.ts +0 -15
- package/dist/skills/frameworks/elysia/elysiajs/examples/redirect.ts +0 -6
- package/dist/skills/frameworks/elysia/elysiajs/examples/rename.ts +0 -32
- package/dist/skills/frameworks/elysia/elysiajs/examples/schema.ts +0 -61
- package/dist/skills/frameworks/elysia/elysiajs/examples/state.ts +0 -6
- package/dist/skills/frameworks/elysia/elysiajs/examples/upload-file.ts +0 -20
- package/dist/skills/frameworks/elysia/elysiajs/examples/websocket.ts +0 -25
- package/dist/skills/frameworks/elysia/elysiajs/integrations/ai-sdk.md +0 -92
- package/dist/skills/frameworks/elysia/elysiajs/integrations/astro.md +0 -59
- package/dist/skills/frameworks/elysia/elysiajs/integrations/better-auth.md +0 -117
- package/dist/skills/frameworks/elysia/elysiajs/integrations/cloudflare-worker.md +0 -95
- package/dist/skills/frameworks/elysia/elysiajs/integrations/deno.md +0 -34
- package/dist/skills/frameworks/elysia/elysiajs/integrations/drizzle.md +0 -258
- package/dist/skills/frameworks/elysia/elysiajs/integrations/expo.md +0 -95
- package/dist/skills/frameworks/elysia/elysiajs/integrations/nextjs.md +0 -103
- package/dist/skills/frameworks/elysia/elysiajs/integrations/nodejs.md +0 -64
- package/dist/skills/frameworks/elysia/elysiajs/integrations/nuxt.md +0 -67
- package/dist/skills/frameworks/elysia/elysiajs/integrations/prisma.md +0 -93
- package/dist/skills/frameworks/elysia/elysiajs/integrations/react-email.md +0 -134
- package/dist/skills/frameworks/elysia/elysiajs/integrations/sveltekit.md +0 -53
- package/dist/skills/frameworks/elysia/elysiajs/integrations/tanstack-start.md +0 -87
- package/dist/skills/frameworks/elysia/elysiajs/integrations/vercel.md +0 -55
- package/dist/skills/frameworks/elysia/elysiajs/patterns/mvc.md +0 -380
- package/dist/skills/frameworks/elysia/elysiajs/plugins/bearer.md +0 -30
- package/dist/skills/frameworks/elysia/elysiajs/plugins/cors.md +0 -141
- package/dist/skills/frameworks/elysia/elysiajs/plugins/cron.md +0 -265
- package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-apollo.md +0 -90
- package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-yoga.md +0 -87
- package/dist/skills/frameworks/elysia/elysiajs/plugins/html.md +0 -188
- package/dist/skills/frameworks/elysia/elysiajs/plugins/jwt.md +0 -197
- package/dist/skills/frameworks/elysia/elysiajs/plugins/openapi.md +0 -246
- package/dist/skills/frameworks/elysia/elysiajs/plugins/opentelemetry.md +0 -167
- package/dist/skills/frameworks/elysia/elysiajs/plugins/server-timing.md +0 -71
- package/dist/skills/frameworks/elysia/elysiajs/plugins/static.md +0 -84
- package/dist/skills/frameworks/elysia/elysiajs/references/bun-fullstack-dev-server.md +0 -129
- package/dist/skills/frameworks/elysia/elysiajs/references/cookie.md +0 -187
- package/dist/skills/frameworks/elysia/elysiajs/references/deployment.md +0 -413
- package/dist/skills/frameworks/elysia/elysiajs/references/eden.md +0 -158
- package/dist/skills/frameworks/elysia/elysiajs/references/lifecycle.md +0 -198
- package/dist/skills/frameworks/elysia/elysiajs/references/macro.md +0 -83
- package/dist/skills/frameworks/elysia/elysiajs/references/plugin.md +0 -207
- package/dist/skills/frameworks/elysia/elysiajs/references/route.md +0 -331
- package/dist/skills/frameworks/elysia/elysiajs/references/testing.md +0 -385
- package/dist/skills/frameworks/elysia/elysiajs/references/validation.md +0 -491
- package/dist/skills/frameworks/elysia/elysiajs/references/websocket.md +0 -250
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/branch-protection.yml +0 -24
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/deploy.yml +0 -61
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/AGENTS.md +0 -5958
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/SKILL.md +0 -130
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-dto-serialization.md +0 -182
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-interceptors.md +0 -202
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-pipes.md +0 -205
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-versioning.md +0 -191
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-avoid-circular-deps.md +0 -80
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-feature-modules.md +0 -82
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-module-sharing.md +0 -141
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-single-responsibility.md +0 -106
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-events.md +0 -108
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-repository-pattern.md +0 -97
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-avoid-n-plus-one.md +0 -139
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-migrations.md +0 -129
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-transactions.md +0 -140
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-graceful-shutdown.md +0 -222
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-config-module.md +0 -167
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-logging.md +0 -232
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-avoid-service-locator.md +0 -104
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-interface-segregation.md +0 -165
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-liskov-substitution.md +0 -221
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-prefer-constructor-injection.md +0 -86
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-scope-awareness.md +0 -94
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-use-interfaces-tokens.md +0 -101
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-handle-async-errors.md +0 -125
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-throw-http-exceptions.md +0 -114
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-use-exception-filters.md +0 -140
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-health-checks.md +0 -226
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-patterns.md +0 -167
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-queues.md +0 -252
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-async-hooks.md +0 -109
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-lazy-loading.md +0 -121
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-optimize-database.md +0 -131
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-use-caching.md +0 -128
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-auth-jwt.md +0 -146
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-rate-limiting.md +0 -125
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-sanitize-output.md +0 -139
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-use-guards.md +0 -135
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-validate-all-input.md +0 -150
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-e2e-supertest.md +0 -178
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-mock-external-services.md +0 -179
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-use-testing-module.md +0 -153
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build-agents.ts +0 -299
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build.sh +0 -16
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package-lock.json +0 -237
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package.json +0 -15
- package/dist/skills/frameworks/nestjs/nestjs-expert/SKILL.md +0 -208
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/authentication.md +0 -166
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/controllers-routing.md +0 -111
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/dtos-validation.md +0 -153
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/migration-from-express.md +0 -1237
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/services-di.md +0 -140
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/testing-patterns.md +0 -186
- package/dist/skills/frameworks/nextjs/next-best-practices/SKILL.md +0 -153
- package/dist/skills/frameworks/nextjs/next-best-practices/async-patterns.md +0 -87
- package/dist/skills/frameworks/nextjs/next-best-practices/bundling.md +0 -180
- package/dist/skills/frameworks/nextjs/next-best-practices/data-patterns.md +0 -297
- package/dist/skills/frameworks/nextjs/next-best-practices/debug-tricks.md +0 -105
- package/dist/skills/frameworks/nextjs/next-best-practices/directives.md +0 -73
- package/dist/skills/frameworks/nextjs/next-best-practices/error-handling.md +0 -227
- package/dist/skills/frameworks/nextjs/next-best-practices/file-conventions.md +0 -140
- package/dist/skills/frameworks/nextjs/next-best-practices/font.md +0 -245
- package/dist/skills/frameworks/nextjs/next-best-practices/functions.md +0 -108
- package/dist/skills/frameworks/nextjs/next-best-practices/hydration-error.md +0 -91
- package/dist/skills/frameworks/nextjs/next-best-practices/image.md +0 -173
- package/dist/skills/frameworks/nextjs/next-best-practices/metadata.md +0 -301
- package/dist/skills/frameworks/nextjs/next-best-practices/parallel-routes.md +0 -287
- package/dist/skills/frameworks/nextjs/next-best-practices/route-handlers.md +0 -146
- package/dist/skills/frameworks/nextjs/next-best-practices/rsc-boundaries.md +0 -159
- package/dist/skills/frameworks/nextjs/next-best-practices/runtime-selection.md +0 -39
- package/dist/skills/frameworks/nextjs/next-best-practices/scripts.md +0 -141
- package/dist/skills/frameworks/nextjs/next-best-practices/self-hosting.md +0 -371
- package/dist/skills/frameworks/nextjs/next-best-practices/suspense-boundaries.md +0 -67
- package/dist/skills/frameworks/nextjs/next-cache-components/SKILL.md +0 -360
- package/dist/skills/frameworks/react/async-react-patterns/SKILL.md +0 -78
- package/dist/skills/frameworks/react/vercel-composition-patterns/AGENTS.md +0 -946
- package/dist/skills/frameworks/react/vercel-composition-patterns/SKILL.md +0 -89
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +0 -100
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-compound-components.md +0 -112
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-children-over-render-props.md +0 -87
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-explicit-variants.md +0 -100
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/react19-no-forwardref.md +0 -42
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-context-interface.md +0 -191
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-decouple-implementation.md +0 -113
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-lift-state.md +0 -125
- package/dist/skills/frameworks/react/vercel-react-best-practices/AGENTS.md +0 -3750
- package/dist/skills/frameworks/react/vercel-react-best-practices/SKILL.md +0 -148
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-effect-event-deps.md +0 -56
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-event-handler-refs.md +0 -55
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-init-once.md +0 -42
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-use-latest.md +0 -39
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-api-routes.md +0 -38
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +0 -37
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-defer-await.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-dependencies.md +0 -51
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-parallel.md +0 -28
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-suspense-boundaries.md +0 -99
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-barrel-imports.md +0 -60
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-conditional.md +0 -31
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-defer-third-party.md +0 -49
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-dynamic-imports.md +0 -35
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-preload.md +0 -50
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-event-listeners.md +0 -74
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-localstorage-schema.md +0 -71
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-passive-event-listeners.md +0 -48
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-swr-dedup.md +0 -56
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-batch-dom-css.md +0 -107
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-function-results.md +0 -80
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-property-access.md +0 -28
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-storage.md +0 -70
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-combine-iterations.md +0 -32
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-early-exit.md +0 -50
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-flatmap-filter.md +0 -60
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-hoist-regexp.md +0 -45
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-index-maps.md +0 -37
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-length-check-first.md +0 -49
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-min-max-loop.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-request-idle-callback.md +0 -105
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-set-map-lookups.md +0 -24
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-tosorted-immutable.md +0 -57
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-activity.md +0 -26
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +0 -47
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-conditional-render.md +0 -40
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-content-visibility.md +0 -38
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hoist-jsx.md +0 -46
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +0 -30
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-resource-hints.md +0 -85
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-script-defer-async.md +0 -68
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-svg-precision.md +0 -28
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-usetransition-loading.md +0 -75
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-defer-reads.md +0 -39
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-dependencies.md +0 -45
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +0 -40
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state.md +0 -29
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-functional-setstate.md +0 -74
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-lazy-state-init.md +0 -58
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +0 -38
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo.md +0 -44
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +0 -45
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-no-inline-components.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +0 -35
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +0 -64
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-transitions.md +0 -40
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-deferred-value.md +0 -59
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +0 -73
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-after-nonblocking.md +0 -73
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-auth-actions.md +0 -96
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-lru.md +0 -41
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-react.md +0 -76
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-dedup-props.md +0 -65
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-hoist-static-io.md +0 -149
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-no-shared-module-state.md +0 -50
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-fetching.md +0 -83
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +0 -34
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-serialization.md +0 -38
- package/dist/skills/frameworks/tanstack-query/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/dist/skills/frameworks/tanstack-query/tanstack-query/SKILL.md +0 -849
- package/dist/skills/frameworks/tanstack-query/tanstack-query/assets/example-template.txt +0 -14
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/best-practices.md +0 -304
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/common-patterns.md +0 -271
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/example-reference.md +0 -26
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/testing.md +0 -282
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/top-errors.md +0 -332
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/typescript-patterns.md +0 -291
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/v4-to-v5-migration.md +0 -231
- package/dist/skills/frameworks/tanstack-query/tanstack-query/rules/tanstack-query.md +0 -126
- package/dist/skills/frameworks/tanstack-query/tanstack-query/scripts/example-script.sh +0 -15
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/custom-hooks-pattern.tsx +0 -281
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/devtools-setup.tsx +0 -248
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/error-boundary.tsx +0 -243
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/package.json +0 -31
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/provider-setup.tsx +0 -50
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/query-client-config.ts +0 -72
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-infinite-query.tsx +0 -214
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-basic.tsx +0 -201
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-optimistic.tsx +0 -234
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-query-basic.tsx +0 -119
- package/dist/skills/frameworks/tanstack-start/tanstack-start/SKILL.md +0 -250
- package/dist/skills/frameworks/trpc/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/dist/skills/frameworks/trpc/tanstack-query/SKILL.md +0 -1058
- package/dist/skills/frameworks/trpc/tanstack-query/assets/example-template.txt +0 -14
- package/dist/skills/frameworks/trpc/tanstack-query/references/best-practices.md +0 -304
- package/dist/skills/frameworks/trpc/tanstack-query/references/common-patterns.md +0 -271
- package/dist/skills/frameworks/trpc/tanstack-query/references/example-reference.md +0 -26
- package/dist/skills/frameworks/trpc/tanstack-query/references/testing.md +0 -282
- package/dist/skills/frameworks/trpc/tanstack-query/references/top-errors.md +0 -332
- package/dist/skills/frameworks/trpc/tanstack-query/references/typescript-patterns.md +0 -291
- package/dist/skills/frameworks/trpc/tanstack-query/references/v4-to-v5-migration.md +0 -231
- package/dist/skills/frameworks/trpc/tanstack-query/rules/tanstack-query.md +0 -126
- package/dist/skills/frameworks/trpc/tanstack-query/scripts/example-script.sh +0 -15
- package/dist/skills/frameworks/trpc/tanstack-query/templates/custom-hooks-pattern.tsx +0 -281
- package/dist/skills/frameworks/trpc/tanstack-query/templates/devtools-setup.tsx +0 -248
- package/dist/skills/frameworks/trpc/tanstack-query/templates/error-boundary.tsx +0 -243
- package/dist/skills/frameworks/trpc/tanstack-query/templates/package.json +0 -31
- package/dist/skills/frameworks/trpc/tanstack-query/templates/provider-setup.tsx +0 -50
- package/dist/skills/frameworks/trpc/tanstack-query/templates/query-client-config.ts +0 -72
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-infinite-query.tsx +0 -214
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-basic.tsx +0 -201
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-optimistic.tsx +0 -234
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-query-basic.tsx +0 -119
- package/dist/skills/frameworks/turborepo/turborepo/SKILL.md +0 -914
- package/dist/skills/frameworks/turborepo/turborepo/command/turborepo.md +0 -70
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/RULE.md +0 -241
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/dependencies.md +0 -246
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/packages.md +0 -335
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/structure.md +0 -270
- package/dist/skills/frameworks/turborepo/turborepo/references/boundaries/RULE.md +0 -126
- package/dist/skills/frameworks/turborepo/turborepo/references/caching/RULE.md +0 -107
- package/dist/skills/frameworks/turborepo/turborepo/references/caching/gotchas.md +0 -169
- package/dist/skills/frameworks/turborepo/turborepo/references/caching/remote-cache.md +0 -127
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/RULE.md +0 -79
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/github-actions.md +0 -162
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/patterns.md +0 -145
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/vercel.md +0 -103
- package/dist/skills/frameworks/turborepo/turborepo/references/cli/RULE.md +0 -100
- package/dist/skills/frameworks/turborepo/turborepo/references/cli/commands.md +0 -297
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/RULE.md +0 -211
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/global-options.md +0 -187
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/gotchas.md +0 -348
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/tasks.md +0 -285
- package/dist/skills/frameworks/turborepo/turborepo/references/environment/RULE.md +0 -96
- package/dist/skills/frameworks/turborepo/turborepo/references/environment/gotchas.md +0 -141
- package/dist/skills/frameworks/turborepo/turborepo/references/environment/modes.md +0 -101
- package/dist/skills/frameworks/turborepo/turborepo/references/filtering/RULE.md +0 -148
- package/dist/skills/frameworks/turborepo/turborepo/references/filtering/patterns.md +0 -152
- package/dist/skills/frameworks/turborepo/turborepo/references/watch/RULE.md +0 -99
- package/dist/skills/languages/python/async-python-patterns/SKILL.md +0 -735
- package/dist/skills/languages/python/python-code-style/SKILL.md +0 -360
- package/dist/skills/languages/python/python-design-patterns/SKILL.md +0 -433
- package/dist/skills/languages/python/python-project-structure/SKILL.md +0 -252
- package/dist/skills/languages/python/python-testing-patterns/SKILL.md +0 -622
- package/dist/skills/languages/python/python-testing-patterns/references/advanced-patterns.md +0 -411
- package/dist/skills/languages/typescript/quality-types/SKILL.md +0 -93
- package/dist/skills/phases/bug-discovery-phase/REFERENCE.md +0 -170
- package/dist/skills/phases/bug-discovery-phase/SKILL.md +0 -85
- package/dist/skills/phases/bug-resolution-phase/REFERENCE.md +0 -160
- package/dist/skills/phases/bug-resolution-phase/SKILL.md +0 -64
- package/dist/skills/phases/debugging-phase/SKILL.md +0 -88
- package/dist/skills/phases/delivery-phase/SKILL.md +0 -50
- package/dist/skills/phases/delivery-phase/phases/closeout.md +0 -33
- package/dist/skills/phases/delivery-phase/phases/debug.md +0 -30
- package/dist/skills/phases/delivery-phase/phases/docs-ingest.md +0 -27
- package/dist/skills/phases/delivery-phase/phases/implement.md +0 -30
- package/dist/skills/phases/delivery-phase/phases/plan.md +0 -27
- package/dist/skills/phases/delivery-phase/phases/review.md +0 -29
- package/dist/skills/phases/delivery-phase/phases/router.md +0 -46
- package/dist/skills/phases/delivery-phase/phases/spec.md +0 -26
- package/dist/skills/phases/delivery-phase/references/artifact-state.md +0 -42
- package/dist/skills/phases/delivery-phase/references/phase-handoff.md +0 -25
- package/dist/skills/phases/docs-ingest-phase/SKILL.md +0 -46
- package/dist/skills/phases/docs-ingest-phase/agents/openai.yaml +0 -4
- package/dist/skills/phases/docs-ingest-phase/phases/private-internal.md +0 -57
- package/dist/skills/phases/docs-ingest-phase/phases/public-docs.md +0 -52
- package/dist/skills/phases/docs-ingest-phase/phases/router.md +0 -42
- package/dist/skills/phases/docs-ingest-phase/references/concept-pages.md +0 -70
- package/dist/skills/phases/docs-ingest-phase/references/flow-pages.md +0 -56
- package/dist/skills/phases/docs-ingest-phase/references/fumadocs-routing.md +0 -74
- package/dist/skills/phases/docs-ingest-phase/references/learning-artifacts.md +0 -96
- package/dist/skills/phases/docs-ingest-phase/references/public-docs.md +0 -90
- package/dist/skills/phases/docs-ingest-phase/references/repo-docs.md +0 -38
- package/dist/skills/phases/docs-ingest-phase/references/wiki-ingest.md +0 -133
- package/dist/skills/phases/goalify/EXAMPLES.md +0 -78
- package/dist/skills/phases/goalify/SKILL.md +0 -129
- package/dist/skills/phases/requirements-phase/SKILL.md +0 -70
- package/dist/skills/phases/resolve-debt-phase/SKILL.md +0 -87
- package/dist/skills/phases/review-phase/SKILL.md +0 -118
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bug-discovery-phase
|
|
3
|
-
description: >-
|
|
4
|
-
Runs AFK ClawPatch bug discovery, reporting, and triage without source
|
|
5
|
-
mutation. Use when the user asks for ClawPatch discovery, broad bug discovery,
|
|
6
|
-
bug lifecycle triage, finding ledgers, AFK bug review, or durable bug reports.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Bug Discovery Phase
|
|
10
|
-
|
|
11
|
-
`bug-discovery-phase` wraps ClawPatch discovery. It produces review state,
|
|
12
|
-
reports, and triage notes; it does not prove runtime root causes and does not
|
|
13
|
-
patch code by default.
|
|
14
|
-
|
|
15
|
-
See [REFERENCE.md](REFERENCE.md) for command patterns, provider warning wording,
|
|
16
|
-
and the full output checklist.
|
|
17
|
-
|
|
18
|
-
## Contract
|
|
19
|
-
|
|
20
|
-
- **Role:** public AFK ClawPatch discovery/report/triage phase
|
|
21
|
-
- **Owns:** ClawPatch setup checks, discovery scope, report path, durable state,
|
|
22
|
-
finding IDs, and branch-relevant triage notes
|
|
23
|
-
- **Does not own:** runtime reproduction, root-cause proof, code fixes, PRs, or
|
|
24
|
-
repo tech-debt docs
|
|
25
|
-
- **Allowed commands:** `clawpatch init`, `map`, `review`, `ci`, `report`,
|
|
26
|
-
`show`, `next`, `triage`, `status`, `doctor`, `revalidate`
|
|
27
|
-
- **Blocked by default:** `clawpatch fix --finding`, `clawpatch open-pr`
|
|
28
|
-
|
|
29
|
-
## Use When
|
|
30
|
-
|
|
31
|
-
- The user asks for broad ClawPatch review, discovery, report, triage, or status.
|
|
32
|
-
- A goal needs AFK static bug-finding before humans choose findings to resolve.
|
|
33
|
-
- Existing `.clawpatch/` state needs inspection, report generation, or triage.
|
|
34
|
-
- The desired output is a durable finding ledger, not a patch.
|
|
35
|
-
|
|
36
|
-
## Do Not Use When
|
|
37
|
-
|
|
38
|
-
- There is one concrete runtime symptom; use `$debugging-phase`.
|
|
39
|
-
- The user asks to fix a selected ClawPatch finding; use `$bug-resolution-phase`.
|
|
40
|
-
- The user wants repo tech-debt docs; route that through `$docs-ingest-phase`
|
|
41
|
-
after a selected finding is classified.
|
|
42
|
-
- The target repo, provider, or scope cannot be identified.
|
|
43
|
-
|
|
44
|
-
## Workflow
|
|
45
|
-
|
|
46
|
-
1. **Bound the run.** Record repo root, scope, provider, model, `--limit`,
|
|
47
|
-
`--jobs`, state dir, report path, dirty-worktree posture, and requested output
|
|
48
|
-
format before running ClawPatch.
|
|
49
|
-
2. **Warn on cost-sensitive routes.** Warn, but do not ban, Claude, Anthropic,
|
|
50
|
-
`acpx` resolving to Claude, `pi`, Anthropic model names, or
|
|
51
|
-
`ANTHROPIC_API_KEY`.
|
|
52
|
-
3. **Make provider explicit.** Generated goals and commands must include the
|
|
53
|
-
selected provider. Include the model when known.
|
|
54
|
-
4. **Inspect readiness.** Prefer `clawpatch doctor`, `status`, and existing
|
|
55
|
-
`.clawpatch/` state before long runs.
|
|
56
|
-
5. **Discover.** Use read-oriented ClawPatch commands: usually `init`, `map`,
|
|
57
|
-
then `review` or `ci` with explicit provider, model, limit, jobs, state dir,
|
|
58
|
-
scope, and output.
|
|
59
|
-
6. **Report and triage.** Generate a report under `.clawpatch/reports/` unless
|
|
60
|
-
the user supplied another path. Use `clawpatch report --output <path>` for
|
|
61
|
-
Markdown reports; for JSON, run `clawpatch report --json > <path>` because
|
|
62
|
-
`--output` writes Markdown. Use `show`, `next`, `triage`, `status`, or
|
|
63
|
-
`revalidate` only for inspection and classification.
|
|
64
|
-
7. **Score before recommending.** After report, `next`, and finding inspection,
|
|
65
|
-
assign each important finding a `0-10` rank score with rationale. Weigh
|
|
66
|
-
severity, confidence, `clawpatch next` priority, branch relevance, evidence
|
|
67
|
-
freshness, current user pain or runtime symptoms, and whether evidence is
|
|
68
|
-
static-only or runtime-proven. Then route to `$bug-resolution-phase`,
|
|
69
|
-
`$debugging-phase`, docs/debt handling, false-positive triage, or stop.
|
|
70
|
-
8. **Stop before mutation.** Do not run `fix --finding` or `open-pr` unless the
|
|
71
|
-
user gives a new explicit resolution request.
|
|
72
|
-
|
|
73
|
-
## Output Contract
|
|
74
|
-
|
|
75
|
-
Return:
|
|
76
|
-
|
|
77
|
-
- repo root, scope, provider, model, `--limit`, `--jobs`
|
|
78
|
-
- report path and durable ClawPatch ledger/state path
|
|
79
|
-
- commands run and validation status
|
|
80
|
-
- relevant finding IDs, statuses, and branch relevance
|
|
81
|
-
- finding rank score and rationale before the recommended next action
|
|
82
|
-
- warning that findings are static-review candidates, not proven runtime root
|
|
83
|
-
causes
|
|
84
|
-
- next action: inspect selected finding, enter `$bug-resolution-phase`, enter
|
|
85
|
-
`$debugging-phase`, or stop
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
# Bug Resolution Phase Reference
|
|
2
|
-
|
|
3
|
-
## Operating Model
|
|
4
|
-
|
|
5
|
-
`bug-resolution-phase` starts after a human or upstream discovery step selects one ClawPatch finding. ClawPatch is the ledger and context source; it is not treated as proof of runtime behavior and is not the default patching engine.
|
|
6
|
-
|
|
7
|
-
Default to one finding. Accept a batch only when the user bounds it and the findings share at least one concrete constraint:
|
|
8
|
-
|
|
9
|
-
- same confirmed or suspected root cause
|
|
10
|
-
- same owned file set or package boundary
|
|
11
|
-
- same validation path or failing check
|
|
12
|
-
- same contract or test coverage gap
|
|
13
|
-
|
|
14
|
-
Do not turn a broad report into an automatic repair campaign. If the request is ambiguous, ask for the finding ID or batch boundary.
|
|
15
|
-
|
|
16
|
-
## Useful ClawPatch Commands
|
|
17
|
-
|
|
18
|
-
Use commands like these for context and state:
|
|
19
|
-
|
|
20
|
-
```sh
|
|
21
|
-
clawpatch show --root "$REPO" --state-dir "$REPO/.clawpatch" --finding "$FINDING_ID"
|
|
22
|
-
clawpatch report --root "$REPO" --state-dir "$REPO/.clawpatch" --status open
|
|
23
|
-
clawpatch report --root "$REPO" --state-dir "$REPO/.clawpatch" --json > "$REPORT_JSON"
|
|
24
|
-
clawpatch triage --root "$REPO" --state-dir "$REPO/.clawpatch" --finding "$FINDING_ID" --status "$STATUS" --note "$REASON"
|
|
25
|
-
clawpatch revalidate --root "$REPO" --state-dir "$REPO/.clawpatch" --finding "$FINDING_ID"
|
|
26
|
-
clawpatch fix --root "$REPO" --state-dir "$REPO/.clawpatch" --finding "$FINDING_ID" --dry-run
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
`clawpatch report` renders the current finding ledger for context. Use it to
|
|
30
|
-
recover report context when a resolution goal starts from only a finding ID or
|
|
31
|
-
state directory. `--output <path>` writes Markdown. `--json` writes JSON to
|
|
32
|
-
stdout, so redirect stdout when a JSON artifact is needed.
|
|
33
|
-
|
|
34
|
-
`clawpatch fix --finding <id> --dry-run` is allowed for inspection when it clarifies the proposed patch, but do not apply it by default. `clawpatch fix --finding <id>` and `clawpatch open-pr --patch <patchAttemptId>` are explicit mutation paths and require a clear user request.
|
|
35
|
-
|
|
36
|
-
Preserve report linkage in notes and final output: finding ID, report path if known, `.clawpatch/` state path when relevant, and command outputs used for decisions.
|
|
37
|
-
|
|
38
|
-
## Classification Matrix
|
|
39
|
-
|
|
40
|
-
### `resolve-now`
|
|
41
|
-
|
|
42
|
-
Use when the finding is selected, bounded, code/docs ownership is clear, and verification is available.
|
|
43
|
-
|
|
44
|
-
Actions:
|
|
45
|
-
|
|
46
|
-
1. Inspect ClawPatch evidence and relevant source.
|
|
47
|
-
2. Optionally inspect `clawpatch fix --finding <id> --dry-run` for context only.
|
|
48
|
-
3. Patch through normal Harness/Codex edits.
|
|
49
|
-
4. Run focused tests, type checks, smoke checks, or docs validation appropriate to the touched scope.
|
|
50
|
-
5. Revalidate with `clawpatch revalidate --finding <id>` when possible.
|
|
51
|
-
6. If revalidation is unavailable or inconclusive, update triage/status with a clear note.
|
|
52
|
-
|
|
53
|
-
### `needs-runtime-debugging`
|
|
54
|
-
|
|
55
|
-
Use when the finding depends on runtime behavior, reproduction, logs, browser/CLI checks, flakiness, performance, or an observed symptom.
|
|
56
|
-
|
|
57
|
-
Actions:
|
|
58
|
-
|
|
59
|
-
1. Stop resolution edits unless a cause is already proven.
|
|
60
|
-
2. Route into `$debugging-phase`.
|
|
61
|
-
3. Pass input artifacts: finding ID, report path, source evidence, expected behavior, observed or suspected behavior, affected scenario, and any failed revalidation.
|
|
62
|
-
4. Let `$debugging-phase` own hypotheses, runtime evidence, fix, and verification.
|
|
63
|
-
|
|
64
|
-
### `tech-debt`
|
|
65
|
-
|
|
66
|
-
Use when the finding is real or plausible but too broad for selected-finding repair, needs product/architecture decisions, lacks acceptance criteria, or would require a larger spec.
|
|
67
|
-
|
|
68
|
-
Actions:
|
|
69
|
-
|
|
70
|
-
1. Classify the selected finding first. Discovery alone must not create debt docs.
|
|
71
|
-
2. Update ClawPatch triage/history with the tech-debt reason.
|
|
72
|
-
3. Run `$docs-ingest-phase` to create or update durable repo debt/docs context.
|
|
73
|
-
4. Preserve these fields in the durable context:
|
|
74
|
-
- ClawPatch finding ID
|
|
75
|
-
- ClawPatch report path or state path
|
|
76
|
-
- source evidence and affected paths
|
|
77
|
-
- classification reason
|
|
78
|
-
- human-review question
|
|
79
|
-
- why immediate resolution is unsafe or too broad
|
|
80
|
-
5. Do not write speculative architecture as current truth.
|
|
81
|
-
|
|
82
|
-
The debt context should be small and reviewable. It should point to the
|
|
83
|
-
ClawPatch report and finding instead of copying the full report. It should name
|
|
84
|
-
the human decision needed before architecture, product scope, or acceptance
|
|
85
|
-
criteria can change.
|
|
86
|
-
|
|
87
|
-
Human-review questions should be concrete, for example: "Should this contract be changed, tested, or accepted as a known limitation?"
|
|
88
|
-
|
|
89
|
-
### `false-positive`
|
|
90
|
-
|
|
91
|
-
Use when source inspection proves the finding is incorrect, stale, unreachable, already covered, or intentionally accepted behavior.
|
|
92
|
-
|
|
93
|
-
Actions:
|
|
94
|
-
|
|
95
|
-
1. Record the proof with file paths, tests, docs, or command evidence.
|
|
96
|
-
2. Run `clawpatch triage --finding <id> --status false-positive --note "<clear reason>"` or the closest supported false-positive status.
|
|
97
|
-
3. Revalidate only if it adds signal; otherwise report the triage command as the state update.
|
|
98
|
-
|
|
99
|
-
### `blocked`
|
|
100
|
-
|
|
101
|
-
Use when resolution cannot proceed because required access, artifacts, environment, owner decision, or reproduction evidence is missing.
|
|
102
|
-
|
|
103
|
-
Actions:
|
|
104
|
-
|
|
105
|
-
1. Record the blocker and the specific missing item.
|
|
106
|
-
2. Leave source unchanged unless partial safe cleanup was already verified.
|
|
107
|
-
3. Update ClawPatch triage/status when useful with a note that names the blocker.
|
|
108
|
-
4. Report the next human action.
|
|
109
|
-
|
|
110
|
-
## Parallel Batch Resolution
|
|
111
|
-
|
|
112
|
-
`parallel: true` means bounded batch findings can be resolved concurrently, not merely inspected concurrently.
|
|
113
|
-
|
|
114
|
-
Preconditions:
|
|
115
|
-
|
|
116
|
-
- The batch list is explicit.
|
|
117
|
-
- Each finding has a classification target or classification owner.
|
|
118
|
-
- File ownership is disjoint, or the batch intentionally shares one root-cause patch with one coordination owner.
|
|
119
|
-
- Validation commands are known and can be merged centrally.
|
|
120
|
-
- Shared files, generated files, lockfiles, migrations, docs, and schemas have a single owner.
|
|
121
|
-
- Every worker can state which files it may edit, which files it must not edit,
|
|
122
|
-
and which validation it must run before handoff.
|
|
123
|
-
|
|
124
|
-
Worker brief must include:
|
|
125
|
-
|
|
126
|
-
- finding IDs
|
|
127
|
-
- classification route
|
|
128
|
-
- owned files and forbidden files
|
|
129
|
-
- allowed validation commands
|
|
130
|
-
- ClawPatch context command outputs or paths
|
|
131
|
-
- merge/revalidation handoff expectations
|
|
132
|
-
- explicit note that final ClawPatch status changes are centralized unless the
|
|
133
|
-
coordinator assigns one worker to a single finding end to end
|
|
134
|
-
|
|
135
|
-
Central coordinator responsibilities:
|
|
136
|
-
|
|
137
|
-
1. Confirm no worker overwrote unrelated edits.
|
|
138
|
-
2. Review combined diff for overlap and consistency.
|
|
139
|
-
3. Run final focused validation.
|
|
140
|
-
4. Run `clawpatch revalidate --finding <id>` for each resolved finding when possible.
|
|
141
|
-
5. Update false-positive, tech-debt, or blocked statuses centrally.
|
|
142
|
-
6. Produce one final report mapping each finding to classification, changes, validation, and ClawPatch state.
|
|
143
|
-
|
|
144
|
-
If two workers discover that their findings require the same file or root-cause
|
|
145
|
-
patch, pause fan-out for that subset and consolidate under one owner. Do not let
|
|
146
|
-
parallel workers race on the same fix.
|
|
147
|
-
|
|
148
|
-
## Output Contract
|
|
149
|
-
|
|
150
|
-
Return:
|
|
151
|
-
|
|
152
|
-
- mode: `parallel: true|false`
|
|
153
|
-
- finding IDs and report/state paths used
|
|
154
|
-
- classification for each finding
|
|
155
|
-
- route taken: resolved, debugging, debt, false-positive, or blocked
|
|
156
|
-
- changes made through normal edits, if any
|
|
157
|
-
- ClawPatch commands run and resulting state
|
|
158
|
-
- verification commands and results
|
|
159
|
-
- debt/docs artifacts or debugging handoff, if created
|
|
160
|
-
- caveats, residual risk, and next human action
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bug-resolution-phase
|
|
3
|
-
description: >-
|
|
4
|
-
Resolves selected ClawPatch findings through classification, bounded fixes,
|
|
5
|
-
triage, docs/debt routing, and revalidation. Use when the user selects a
|
|
6
|
-
ClawPatch finding, asks for ClawPatch-backed bug resolution, or gives a
|
|
7
|
-
tightly bounded finding batch for sequential or parallel handling.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Bug Resolution Phase
|
|
11
|
-
|
|
12
|
-
## Contract
|
|
13
|
-
|
|
14
|
-
- **Role:** public ClawPatch selected-finding resolution phase
|
|
15
|
-
- **Scope:** one selected finding by default; bounded batch only when explicitly tied by root cause, owned files, validation path, or contract/test gap
|
|
16
|
-
- **Primary input:** ClawPatch finding ID plus report or `.clawpatch/` state path when available
|
|
17
|
-
- **Uses ClawPatch for:** finding context, report linkage, triage/history, optional dry-run inspection, revalidation
|
|
18
|
-
- **Does not use by default:** `clawpatch fix --finding`, `clawpatch open-pr --patch`
|
|
19
|
-
- **Patch path:** normal Harness/Codex edits unless the user explicitly requests ClawPatch patch attempts
|
|
20
|
-
- **Exit conditions:** resolved and revalidated, routed to debugging, recorded as debt, triaged false positive, or blocked with evidence
|
|
21
|
-
|
|
22
|
-
## Use When
|
|
23
|
-
|
|
24
|
-
- The user selects a ClawPatch finding for resolution.
|
|
25
|
-
- The user asks to resolve a ClawPatch finding or bounded batch.
|
|
26
|
-
- Discovery output needs follow-up classification and repair.
|
|
27
|
-
- `parallel: true` is requested for a bounded finding batch.
|
|
28
|
-
|
|
29
|
-
## Do Not Use When
|
|
30
|
-
|
|
31
|
-
- No finding is selected; use `$bug-discovery-phase` or ask for the finding ID.
|
|
32
|
-
- The work starts from a runtime symptom rather than a ClawPatch finding; use `$debugging-phase`.
|
|
33
|
-
- The user wants broad debt resolution from an existing debt artifact; use `$resolve-debt-phase`.
|
|
34
|
-
- The request is discovery/report generation only.
|
|
35
|
-
|
|
36
|
-
## Quick Start
|
|
37
|
-
|
|
38
|
-
1. Read the selected finding with `clawpatch show --finding <id>` and, when
|
|
39
|
-
useful, `clawpatch report`. Use `report --output <path>` for Markdown or
|
|
40
|
-
`report --json > <path>` for JSON.
|
|
41
|
-
2. Capture finding ID, report path, source evidence, affected files, claimed behavior, and current ClawPatch status.
|
|
42
|
-
3. Classify each finding as `resolve-now`, `needs-runtime-debugging`, `tech-debt`, `false-positive`, or `blocked`.
|
|
43
|
-
4. Execute the classification route:
|
|
44
|
-
- `resolve-now`: patch through normal Harness/Codex edits, then test and revalidate.
|
|
45
|
-
- `needs-runtime-debugging`: route into `$debugging-phase` with the finding context as input artifact.
|
|
46
|
-
- `tech-debt`: after classification, run `$docs-ingest-phase` to create or update durable debt/docs context.
|
|
47
|
-
- `false-positive`: run `clawpatch triage --finding <id> --status <status> --note <reason>`.
|
|
48
|
-
- `blocked`: record blocker, missing evidence, and next human action.
|
|
49
|
-
5. Finish with centralized verification and `clawpatch revalidate --finding <id>` or a triage/status update.
|
|
50
|
-
|
|
51
|
-
## Parallel Rules
|
|
52
|
-
|
|
53
|
-
`bug-resolution-phase` may run with `parallel: true` or `parallel: false`.
|
|
54
|
-
|
|
55
|
-
- `parallel: false`: resolve one finding, or a tiny batch sequentially.
|
|
56
|
-
- `parallel: true`: only for bounded batches with explicit worker ownership.
|
|
57
|
-
- Before fan-out, prove findings are safely disjoint or intentionally share one root-cause scope.
|
|
58
|
-
- Assign owned finding IDs, files, tests, and allowed commands per worker.
|
|
59
|
-
- Workers may patch only their owned scope through normal Harness/Codex edits.
|
|
60
|
-
- Final verification, status decisions, and ClawPatch revalidation stay centralized.
|
|
61
|
-
|
|
62
|
-
## Reference
|
|
63
|
-
|
|
64
|
-
See [REFERENCE.md](REFERENCE.md) for classification rules, ClawPatch command guidance, tech-debt artifact requirements, and output format.
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: debugging-phase
|
|
3
|
-
description: >-
|
|
4
|
-
Runs a standalone runtime-evidence debugging phase, or a scoped debugging
|
|
5
|
-
phase inside delivery when validation or review finds runtime failure. Use
|
|
6
|
-
when the user reports broken behavior, failing smoke checks, logs,
|
|
7
|
-
recordings, runtime symptoms, or asks to debug a delivery-scoped failure.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Debugging Phase
|
|
11
|
-
|
|
12
|
-
## Contract
|
|
13
|
-
|
|
14
|
-
- **Role:** public runtime-evidence phase
|
|
15
|
-
- **Entrypoint type:** standalone public skill, or inner phase of `delivery-phase`
|
|
16
|
-
- **Standalone inputs:** user-reported broken behavior, failing smoke checks, logs, recordings, runtime symptoms
|
|
17
|
-
- **Delivery-internal inputs:** `implement-spec` validation failure or `review-phase` runtime failure
|
|
18
|
-
- **Wraps:** `$debug-agent`, optional readonly `$parallel-research`, bounded fixes, focused tests or scenario reruns, review
|
|
19
|
-
- **Owns:** evidence matrices, cited log references, hypothesis status, fix verification
|
|
20
|
-
- **Exit conditions:** bug fixed, concrete blocker proven, or scope proven to require a spec/delivery goal
|
|
21
|
-
|
|
22
|
-
## Use When
|
|
23
|
-
|
|
24
|
-
- Runtime behavior is broken, flaky, slow, or inconsistent.
|
|
25
|
-
- Smoke checks, browser checks, CLI checks, recordings, or logs show a failure.
|
|
26
|
-
- A delivery run hits a runtime failure during validation or review.
|
|
27
|
-
- The user asks for evidence-backed debugging instead of code-only inspection.
|
|
28
|
-
|
|
29
|
-
## Do Not Use When
|
|
30
|
-
|
|
31
|
-
- The work is pure planning, requirements discovery, or design.
|
|
32
|
-
- The failure is already proven and only needs implementation inside an active spec plan.
|
|
33
|
-
- The fix would require broad product scope, architecture, or acceptance changes; exit to `create-spec`, `create-plan`, or a delivery goal instead.
|
|
34
|
-
- The request is only static code review with no runtime symptom.
|
|
35
|
-
|
|
36
|
-
## Workflow
|
|
37
|
-
|
|
38
|
-
1. **Classify entry.**
|
|
39
|
-
- Standalone: record the broken behavior, artifact links/paths, reproduction command or manual scenario, expected behavior, and observed behavior.
|
|
40
|
-
- Delivery-internal: cite the validation or review failure that triggered debugging and the delivery scope it belongs to.
|
|
41
|
-
- Scan relevant routed learning artifacts for prior bugs, known edge cases, prevention notes, or domain behavior before forming hypotheses.
|
|
42
|
-
2. **Set bounds.**
|
|
43
|
-
- Define owned files, systems, and scenarios.
|
|
44
|
-
- For delivery-internal debugging, patch only inside the active delivery scope.
|
|
45
|
-
- If the evidence points outside that scope, record debt or open a separate debugging/debt goal.
|
|
46
|
-
3. **Run `$debug-agent`.**
|
|
47
|
-
- Build 3-5 hypotheses.
|
|
48
|
-
- Instrument or inspect with runtime evidence.
|
|
49
|
-
- Keep an evidence matrix with each hypothesis marked `confirmed`, `rejected`, or `inconclusive`.
|
|
50
|
-
- Cite log lines, recordings, commands, test output, or scenario evidence for every status.
|
|
51
|
-
4. **Optionally run readonly `$parallel-research`.**
|
|
52
|
-
- Use for independent hypotheses, unfamiliar subsystems, logs, docs, or prior-art inspection.
|
|
53
|
-
- Synthesize findings before fixing.
|
|
54
|
-
5. **Fix only proven causes.**
|
|
55
|
-
- Make the smallest bounded patch that addresses confirmed evidence.
|
|
56
|
-
- Remove speculative changes from rejected hypotheses.
|
|
57
|
-
- Keep debug instrumentation until post-fix evidence proves success, unless the user explicitly asks for cleanup.
|
|
58
|
-
6. **Verify.**
|
|
59
|
-
- Rerun the failing smoke check, focused test, browser path, CLI command, or manual scenario.
|
|
60
|
-
- Compare before/after evidence.
|
|
61
|
-
- Run review appropriate to the touched scope.
|
|
62
|
-
7. **Exit.**
|
|
63
|
-
- Fixed: report cause, patch, verification, and residual risk.
|
|
64
|
-
- Blocked: report the concrete blocker and the missing artifact/access/action.
|
|
65
|
-
- Out of scope: report why this needs a spec/delivery goal or debt issue.
|
|
66
|
-
|
|
67
|
-
## Parallel Rules
|
|
68
|
-
|
|
69
|
-
`debugging-phase` may run with `parallel: true` or `parallel: false`.
|
|
70
|
-
|
|
71
|
-
- `parallel: false`: one thread owns hypotheses, instrumentation, fix, verification, and review.
|
|
72
|
-
- `parallel: true`: fan out readonly research for independent hypotheses only.
|
|
73
|
-
- Disjoint worker fixes are allowed only after the cause is proven and file ownership is explicit.
|
|
74
|
-
- Never let parallel workers make speculative fixes against unproven hypotheses.
|
|
75
|
-
- Merge worker findings into one evidence matrix before deciding on a patch.
|
|
76
|
-
- In delivery-internal mode, parallel workers must stay inside the delivery scope unless assigned readonly investigation.
|
|
77
|
-
|
|
78
|
-
## Output Contract
|
|
79
|
-
|
|
80
|
-
Return a concise debugging report with:
|
|
81
|
-
|
|
82
|
-
- **Mode:** standalone or delivery-internal; `parallel: true|false`
|
|
83
|
-
- **Input artifacts:** reports, logs, recordings, checks, or symptoms used
|
|
84
|
-
- **Evidence matrix:** hypotheses, status, and cited evidence
|
|
85
|
-
- **Root cause:** confirmed cause or why none is proven
|
|
86
|
-
- **Changes:** bounded patch summary, or none if blocked/out of scope
|
|
87
|
-
- **Verification:** commands/scenarios rerun and result
|
|
88
|
-
- **Exit:** fixed, blocked, or escalated to spec/delivery/debt
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: delivery-phase
|
|
3
|
-
description: Routes a scoped delivery goal to the next lifecycle phase from current artifacts and evidence. Use when delivering, resuming, or closing a goal that may pass through spec, plan, implementation, review, debugging, docs ingest, and closeout.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Delivery Phase
|
|
7
|
-
|
|
8
|
-
## Quick Start
|
|
9
|
-
|
|
10
|
-
`delivery-phase` is a reusable phase router.
|
|
11
|
-
|
|
12
|
-
1. Read [phases/router.md](phases/router.md).
|
|
13
|
-
2. Inspect only enough issue, spec, plan, notes, diff, review, validation, and docs state to choose the current gate.
|
|
14
|
-
3. Load exactly one phase file from `phases/`.
|
|
15
|
-
4. Complete that phase, write the phase outcome, then stop or re-enter `delivery-phase` to route again.
|
|
16
|
-
|
|
17
|
-
Completion of one phase does not imply loading the rest of the chain.
|
|
18
|
-
|
|
19
|
-
## Entry Modes
|
|
20
|
-
|
|
21
|
-
- **Full delivery:** user asks to deliver a bounded goal end to end.
|
|
22
|
-
- **Resume:** user returns after manual spec, plan, implementation, review, debugging, or docs work.
|
|
23
|
-
- **HITL checkpoint:** user wants one phase handled, then a stop for discussion or approval.
|
|
24
|
-
- **Closeout:** user asks to finish evidence, docs, stack, tracker, or PR state after the work is already done.
|
|
25
|
-
|
|
26
|
-
## Phase Files
|
|
27
|
-
|
|
28
|
-
- [phases/router.md](phases/router.md): choose the next phase from artifacts and evidence.
|
|
29
|
-
- [phases/spec.md](phases/spec.md): create or repair the reviewed spec.
|
|
30
|
-
- [phases/plan.md](phases/plan.md): create or repair the execution-ready plan.
|
|
31
|
-
- [phases/implement.md](phases/implement.md): execute the accepted plan.
|
|
32
|
-
- [phases/review.md](phases/review.md): run mandatory review and classify findings.
|
|
33
|
-
- [phases/debug.md](phases/debug.md): investigate runtime-evidence failures.
|
|
34
|
-
- [phases/docs-ingest.md](phases/docs-ingest.md): ingest docs-affecting changes or record a no-op.
|
|
35
|
-
- [phases/closeout.md](phases/closeout.md): finish stack, tracker, PR, validation, and final report state.
|
|
36
|
-
|
|
37
|
-
## Router Rules
|
|
38
|
-
|
|
39
|
-
- Do not read phase files other than `router.md` until the router selects them.
|
|
40
|
-
- Do not activate child skills at delivery start.
|
|
41
|
-
- Reuse fresh matching artifacts before loading creation skills.
|
|
42
|
-
- A phase may delegate to `create-spec`, `create-plan`, `implement-spec`, `review-phase`, `debugging-phase`, `docs-ingest-phase`, or `stack` only from its own phase file.
|
|
43
|
-
- After a phase completes, write enough state for future resume. See [references/phase-handoff.md](references/phase-handoff.md).
|
|
44
|
-
|
|
45
|
-
## Stop Conditions
|
|
46
|
-
|
|
47
|
-
- Selected phase completed and resumable state was written.
|
|
48
|
-
- User requested a HITL checkpoint before the next phase.
|
|
49
|
-
- Router reaches closeout and final evidence is reported.
|
|
50
|
-
- Scope is ambiguous, stale, contradictory, or blocked by missing access.
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Closeout Phase
|
|
2
|
-
|
|
3
|
-
Use this phase when spec, plan, implementation, review, debugging if needed,
|
|
4
|
-
docs ingest or no-op, and validation are complete.
|
|
5
|
-
|
|
6
|
-
## Checks
|
|
7
|
-
|
|
8
|
-
- Summarize goal outcome and remaining blockers.
|
|
9
|
-
- Report phase path actually taken; do not imply skipped phases ran.
|
|
10
|
-
- Report validation commands, browser checks, smoke tests, or manual scenarios.
|
|
11
|
-
- Report review result and whether findings remain.
|
|
12
|
-
- Report debugging result or explicit skip reason.
|
|
13
|
-
- Report docs ingest result or explicit no-op reason.
|
|
14
|
-
- When a PR exists, run `stack status` and `stack sync --dry-run`.
|
|
15
|
-
- If the PR is stack-dependent and dry-run reports pending changes, run
|
|
16
|
-
`stack sync` before closeout.
|
|
17
|
-
- Missing `stack` blocks stack-dependent closeout, but not independent
|
|
18
|
-
trunk-based work.
|
|
19
|
-
|
|
20
|
-
## Output
|
|
21
|
-
|
|
22
|
-
Return a concise delivery report with:
|
|
23
|
-
|
|
24
|
-
- goal
|
|
25
|
-
- current phase state
|
|
26
|
-
- artifacts touched
|
|
27
|
-
- validation
|
|
28
|
-
- review
|
|
29
|
-
- debugging
|
|
30
|
-
- docs ingest
|
|
31
|
-
- stack
|
|
32
|
-
- tracker or PR state
|
|
33
|
-
- exit: done, blocked, or split into follow-up
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Debug Phase
|
|
2
|
-
|
|
3
|
-
Use this phase only when validation or review produced runtime evidence of a
|
|
4
|
-
bug inside the active delivery scope.
|
|
5
|
-
|
|
6
|
-
## Delegate
|
|
7
|
-
|
|
8
|
-
Load `debugging-phase` only after this phase is selected.
|
|
9
|
-
|
|
10
|
-
## Rules
|
|
11
|
-
|
|
12
|
-
- Do not use debugging as a normal delivery-start dependency.
|
|
13
|
-
- Start from concrete runtime evidence: failing command, log, browser state,
|
|
14
|
-
trace, reproduction, or review finding.
|
|
15
|
-
- Readonly parallel hypothesis research is allowed.
|
|
16
|
-
- Speculative parallel fixes are not allowed.
|
|
17
|
-
- If the bug is broader than delivery scope, capture debt or open a separate
|
|
18
|
-
debugging goal.
|
|
19
|
-
|
|
20
|
-
## Completion State
|
|
21
|
-
|
|
22
|
-
Write or verify:
|
|
23
|
-
|
|
24
|
-
- runtime evidence
|
|
25
|
-
- root cause or narrowed hypothesis
|
|
26
|
-
- fix or explicit blocker
|
|
27
|
-
- rerun validation
|
|
28
|
-
- whether another review is required
|
|
29
|
-
|
|
30
|
-
Then stop or re-enter `delivery-phase` for routing.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Docs Ingest Phase
|
|
2
|
-
|
|
3
|
-
Use this phase when the delivered change affects product behavior,
|
|
4
|
-
architecture, setup, operator workflow, docs contracts, or spec domain
|
|
5
|
-
knowledge.
|
|
6
|
-
|
|
7
|
-
## Delegate
|
|
8
|
-
|
|
9
|
-
Load `docs-ingest-phase` only after this phase is selected.
|
|
10
|
-
|
|
11
|
-
## Checks Before Delegating
|
|
12
|
-
|
|
13
|
-
- Verify implementation and review are complete enough to document current truth.
|
|
14
|
-
- Classify docs target: public docs, private/project docs, root docs, runbook,
|
|
15
|
-
wiki navigation, or explicit no-op.
|
|
16
|
-
- Do not document speculative future behavior as current truth.
|
|
17
|
-
|
|
18
|
-
## Completion State
|
|
19
|
-
|
|
20
|
-
Write or verify:
|
|
21
|
-
|
|
22
|
-
- docs pages, metadata, runbooks, or explicit no-op reason
|
|
23
|
-
- validation commands for docs changes
|
|
24
|
-
- source spec/change referenced by docs
|
|
25
|
-
- any follow-up docs debt
|
|
26
|
-
|
|
27
|
-
Then stop or re-enter `delivery-phase` for routing.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Implement Phase
|
|
2
|
-
|
|
3
|
-
Use this phase when an accepted plan exists and implementation work remains, or
|
|
4
|
-
when review returned in-scope non-runtime blockers.
|
|
5
|
-
|
|
6
|
-
## Delegate
|
|
7
|
-
|
|
8
|
-
Load `implement-spec` only after this phase is selected.
|
|
9
|
-
|
|
10
|
-
## Rules
|
|
11
|
-
|
|
12
|
-
- Preserve the plan's `parallel: true` or `parallel: false` mode.
|
|
13
|
-
- If no mode exists, choose the smallest safe mode:
|
|
14
|
-
- `parallel: false` for coupled or small changes.
|
|
15
|
-
- `parallel: true` only for independent waves with disjoint write scopes.
|
|
16
|
-
- Keep changes inside the active delivery scope.
|
|
17
|
-
- Parent orchestration owns shared notes and final validation evidence.
|
|
18
|
-
- If runtime evidence appears during validation, finish the phase handoff and route to debug.
|
|
19
|
-
|
|
20
|
-
## Completion State
|
|
21
|
-
|
|
22
|
-
Write or verify:
|
|
23
|
-
|
|
24
|
-
- implementation notes or equivalent evidence
|
|
25
|
-
- files changed and plan tasks completed
|
|
26
|
-
- validation commands and results
|
|
27
|
-
- remaining blockers or follow-up debt
|
|
28
|
-
- whether mandatory review is now needed
|
|
29
|
-
|
|
30
|
-
Then stop or re-enter `delivery-phase` for routing.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Plan Phase
|
|
2
|
-
|
|
3
|
-
Use this phase when a matching spec exists but no execution-ready `PLAN.md`
|
|
4
|
-
exists, or the plan is stale, vague, or missing validation gates.
|
|
5
|
-
|
|
6
|
-
## Delegate
|
|
7
|
-
|
|
8
|
-
Load `create-plan` only after this phase is selected.
|
|
9
|
-
|
|
10
|
-
## Checks Before Delegating
|
|
11
|
-
|
|
12
|
-
- Verify the spec still matches the requested goal.
|
|
13
|
-
- Preserve tracker hierarchy and every child-story or sub-issue requirement.
|
|
14
|
-
- Require owned paths, dependencies, execution order, validation gates, and review mode.
|
|
15
|
-
- Choose sequential or parallel implementation mode from the plan shape.
|
|
16
|
-
|
|
17
|
-
## Completion State
|
|
18
|
-
|
|
19
|
-
Write or verify:
|
|
20
|
-
|
|
21
|
-
- execution-ready `PLAN.md`
|
|
22
|
-
- phase/wave boundaries
|
|
23
|
-
- validation commands or manual scenarios
|
|
24
|
-
- mode choice: `parallel: true` or `parallel: false`
|
|
25
|
-
- planned review and docs-ingest expectations
|
|
26
|
-
|
|
27
|
-
Then stop or re-enter `delivery-phase` for routing.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Review Phase
|
|
2
|
-
|
|
3
|
-
Use this phase after implementation or when delivery resumes with an unreviewed
|
|
4
|
-
diff, branch, PR, or implementation artifact.
|
|
5
|
-
|
|
6
|
-
## Delegate
|
|
7
|
-
|
|
8
|
-
Load `review-phase` only after this phase is selected.
|
|
9
|
-
|
|
10
|
-
## Rules
|
|
11
|
-
|
|
12
|
-
- Review is mandatory even when tests pass.
|
|
13
|
-
- Review remains findings-first and readonly unless the called review skill says otherwise.
|
|
14
|
-
- Classify findings before routing:
|
|
15
|
-
- No blocking findings: route to docs ingest or closeout.
|
|
16
|
-
- In-scope non-runtime blockers: route back to implement.
|
|
17
|
-
- Runtime evidence: route to debug.
|
|
18
|
-
- Broad scope or architecture debt: capture follow-up debt instead of expanding delivery.
|
|
19
|
-
|
|
20
|
-
## Completion State
|
|
21
|
-
|
|
22
|
-
Write or verify:
|
|
23
|
-
|
|
24
|
-
- review command or process used
|
|
25
|
-
- findings and severity
|
|
26
|
-
- accepted no-op reason if no findings
|
|
27
|
-
- next route decision and why
|
|
28
|
-
|
|
29
|
-
Then stop or re-enter `delivery-phase` for routing.
|