@windagency/valora 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +505 -0
- package/bin/mcp.js +10 -0
- package/bin/valora.js +10 -0
- package/data/agents/.gitkeep +0 -0
- package/data/agents/_meta/.gitkeep +0 -0
- package/data/agents/_meta/schema.json +352 -0
- package/data/agents/_template.md +72 -0
- package/data/agents/asserter.md +821 -0
- package/data/agents/expertises/.gitkeep +0 -0
- package/data/agents/expertises/_template/.gitkeep +0 -0
- package/data/agents/expertises/_template/registry.json +14 -0
- package/data/agents/lead.md +566 -0
- package/data/agents/platform-engineer.md +486 -0
- package/data/agents/product-manager.md +557 -0
- package/data/agents/qa.md +593 -0
- package/data/agents/registry.json +766 -0
- package/data/agents/secops-engineer.md +693 -0
- package/data/agents/software-engineer-typescript-backend.md +698 -0
- package/data/agents/software-engineer-typescript-frontend-react.md +512 -0
- package/data/agents/software-engineer-typescript-frontend.md +460 -0
- package/data/agents/software-engineer-typescript.md +371 -0
- package/data/agents/ui-ux-designer.md +534 -0
- package/data/commands/.gitkeep +0 -0
- package/data/commands/_meta/.gitkeep +0 -0
- package/data/commands/_meta/schema.json +317 -0
- package/data/commands/_template.md +65 -0
- package/data/commands/assert.md +895 -0
- package/data/commands/commit.md +1078 -0
- package/data/commands/create-backlog.md +402 -0
- package/data/commands/create-pr.md +401 -0
- package/data/commands/create-prd.md +242 -0
- package/data/commands/feedback.md +600 -0
- package/data/commands/fetch-task.md +665 -0
- package/data/commands/gather-knowledge.md +856 -0
- package/data/commands/generate-all-documentation.md +550 -0
- package/data/commands/generate-docs.md +738 -0
- package/data/commands/implement.md +511 -0
- package/data/commands/plan-architecture.md +269 -0
- package/data/commands/plan-implementation.md +312 -0
- package/data/commands/plan.md +582 -0
- package/data/commands/pre-check.md +553 -0
- package/data/commands/refine-specs.md +271 -0
- package/data/commands/refine-task.md +957 -0
- package/data/commands/registry.json +283 -0
- package/data/commands/review-code.md +680 -0
- package/data/commands/review-functional.md +235 -0
- package/data/commands/review-plan.md +546 -0
- package/data/commands/test.md +263 -0
- package/data/commands/validate-coverage.md +424 -0
- package/data/commands/validate-parallel.md +281 -0
- package/data/commands/validate-plan.md +367 -0
- package/data/config.default.json +40 -0
- package/data/external-mcp.default.json +326 -0
- package/data/hooks/enforce-modern-cli.sh +123 -0
- package/data/hooks/tests/enforce-modern-cli.test.sh +135 -0
- package/data/hooks.default.json +17 -0
- package/data/prompts/.gitkeep +0 -0
- package/data/prompts/00_generator/.gitkeep +0 -0
- package/data/prompts/00_generator/_template.md +25 -0
- package/data/prompts/00_generator/create_agent.md +97 -0
- package/data/prompts/00_generator/create_command.md +53 -0
- package/data/prompts/01_onboard/.gitkeep +0 -0
- package/data/prompts/01_onboard/analyze-clarity.md +413 -0
- package/data/prompts/01_onboard/analyze-documentation-requirements.md +543 -0
- package/data/prompts/01_onboard/analyze-patterns.md +288 -0
- package/data/prompts/01_onboard/analyze-requirements.md +809 -0
- package/data/prompts/01_onboard/collect-clarifications.md +374 -0
- package/data/prompts/01_onboard/fetch-task.md +409 -0
- package/data/prompts/01_onboard/map-dependencies.md +326 -0
- package/data/prompts/01_onboard/refine-requirements.md +638 -0
- package/data/prompts/01_onboard/refine-specifications.md +456 -0
- package/data/prompts/02_context/.gitkeep +0 -0
- package/data/prompts/02_context/analyze-change-scope.md +306 -0
- package/data/prompts/02_context/analyze-changes-for-review.md +292 -0
- package/data/prompts/02_context/analyze-codebase-changes.md +265 -0
- package/data/prompts/02_context/analyze-command-execution.md +231 -0
- package/data/prompts/02_context/analyze-commits-for-pr.md +258 -0
- package/data/prompts/02_context/analyze-functional-scope.md +380 -0
- package/data/prompts/02_context/analyze-git-branch.md +137 -0
- package/data/prompts/02_context/analyze-git-status.md +184 -0
- package/data/prompts/02_context/analyze-task-context.md +397 -0
- package/data/prompts/02_context/check-dependencies.md +394 -0
- package/data/prompts/02_context/extract-ticket-info.md +201 -0
- package/data/prompts/02_context/extract-ticket-references.md +157 -0
- package/data/prompts/02_context/gather-git-metrics.md +237 -0
- package/data/prompts/02_context/gather-validation-context.md +281 -0
- package/data/prompts/02_context/identify-completed-workflow.md +203 -0
- package/data/prompts/02_context/load-and-analyze-parallel.md +441 -0
- package/data/prompts/02_context/load-backlog.md +395 -0
- package/data/prompts/02_context/load-commit-template.md +186 -0
- package/data/prompts/02_context/load-documentation-context.md +382 -0
- package/data/prompts/02_context/load-implementation-context.md +360 -0
- package/data/prompts/02_context/load-plan-context.md +371 -0
- package/data/prompts/02_context/load-pr-template.md +198 -0
- package/data/prompts/02_context/load-prd.md +385 -0
- package/data/prompts/02_context/load-specifications.md +354 -0
- package/data/prompts/02_context/load-task.md +311 -0
- package/data/prompts/02_context/scan-codebase.md +270 -0
- package/data/prompts/02_context/understand-intent.md +145 -0
- package/data/prompts/02_context/use-modern-cli-tools.md +403 -0
- package/data/prompts/03_plan/.gitkeep +0 -0
- package/data/prompts/03_plan/assess-complexity.md +508 -0
- package/data/prompts/03_plan/assess-risks.md +677 -0
- package/data/prompts/03_plan/breakdown-implementation.md +895 -0
- package/data/prompts/03_plan/decompose-tasks.md +584 -0
- package/data/prompts/03_plan/define-architecture.md +347 -0
- package/data/prompts/03_plan/identify-dependencies.md +703 -0
- package/data/prompts/04_code/.gitkeep +0 -0
- package/data/prompts/04_code/calculate-version-bump.md +260 -0
- package/data/prompts/04_code/create-version-tag.md +321 -0
- package/data/prompts/04_code/determine-commit-strategy.md +300 -0
- package/data/prompts/04_code/determine-labels.md +380 -0
- package/data/prompts/04_code/determine-reviewers.md +324 -0
- package/data/prompts/04_code/generate-commit-messages.md +355 -0
- package/data/prompts/04_code/generate-pr-description.md +507 -0
- package/data/prompts/04_code/generate-pr-title.md +310 -0
- package/data/prompts/04_code/implement-changes.md +861 -0
- package/data/prompts/04_code/implement-tests.md +672 -0
- package/data/prompts/04_code/interactive-review.md +330 -0
- package/data/prompts/04_code/push-and-create-pr.md +435 -0
- package/data/prompts/04_code/stage-and-commit.md +424 -0
- package/data/prompts/04_code/validate-prerequisites.md +345 -0
- package/data/prompts/04_code/verify-implementation.md +705 -0
- package/data/prompts/05_review/.gitkeep +0 -0
- package/data/prompts/05_review/assess-code-quality.md +473 -0
- package/data/prompts/05_review/assess-constraints.md +368 -0
- package/data/prompts/05_review/calculate-performance-metrics.md +213 -0
- package/data/prompts/05_review/collect-user-feedback.md +236 -0
- package/data/prompts/05_review/evaluate-quality-outcomes.md +239 -0
- package/data/prompts/05_review/generate-commit-insights.md +344 -0
- package/data/prompts/05_review/identify-improvement-areas.md +275 -0
- package/data/prompts/05_review/synthesize-plan-assessment.md +778 -0
- package/data/prompts/05_review/synthesize-validation-report.md +369 -0
- package/data/prompts/05_review/validate-accessibility.md +303 -0
- package/data/prompts/05_review/validate-architecture.md +274 -0
- package/data/prompts/05_review/validate-backlog.md +620 -0
- package/data/prompts/05_review/validate-completeness.md +819 -0
- package/data/prompts/05_review/validate-documentation.md +453 -0
- package/data/prompts/05_review/validate-functional-requirements.md +432 -0
- package/data/prompts/05_review/validate-implementation-completeness.md +281 -0
- package/data/prompts/05_review/validate-maintainability.md +515 -0
- package/data/prompts/05_review/validate-performance.md +351 -0
- package/data/prompts/05_review/validate-pr-creation.md +260 -0
- package/data/prompts/05_review/validate-pr-readiness.md +315 -0
- package/data/prompts/05_review/validate-readiness.md +429 -0
- package/data/prompts/05_review/validate-risk-coverage.md +484 -0
- package/data/prompts/05_review/validate-security.md +260 -0
- package/data/prompts/05_review/validate-standards-compliance.md +204 -0
- package/data/prompts/05_review/validate-step-quality.md +445 -0
- package/data/prompts/05_review/validate-technical-feasibility.md +469 -0
- package/data/prompts/05_review/validate-test-strategy.md +556 -0
- package/data/prompts/05_review/validate-testability.md +532 -0
- package/data/prompts/05_review/validate-type-safety.md +200 -0
- package/data/prompts/05_review/verify-commits.md +388 -0
- package/data/prompts/06_test/.gitkeep +0 -0
- package/data/prompts/06_test/analyze-results.md +581 -0
- package/data/prompts/06_test/analyze-test-infrastructure.md +360 -0
- package/data/prompts/06_test/execute-tests.md +534 -0
- package/data/prompts/07_documentation/.gitkeep +0 -0
- package/data/prompts/07_documentation/apply-specification-refinement.md +304 -0
- package/data/prompts/07_documentation/apply-task-refinement.md +389 -0
- package/data/prompts/07_documentation/export-metrics.md +271 -0
- package/data/prompts/07_documentation/generate-all-domains-parallel.md +469 -0
- package/data/prompts/07_documentation/generate-backend-docs.md +322 -0
- package/data/prompts/07_documentation/generate-backlog-artifacts.md +720 -0
- package/data/prompts/07_documentation/generate-code-review-report.md +385 -0
- package/data/prompts/07_documentation/generate-feedback-report.md +299 -0
- package/data/prompts/07_documentation/generate-feedback-summary.md +164 -0
- package/data/prompts/07_documentation/generate-frontend-docs.md +309 -0
- package/data/prompts/07_documentation/generate-functional-review-report.md +410 -0
- package/data/prompts/07_documentation/generate-infrastructure-docs.md +630 -0
- package/data/prompts/07_documentation/generate-prd.md +197 -0
- package/data/prompts/07_documentation/persist-documentation.md +245 -0
- package/data/prompts/07_documentation/review-and-persist-parallel.md +459 -0
- package/data/prompts/07_documentation/update-changelog.md +399 -0
- package/data/prompts/07_documentation/update-inline-docs.md +574 -0
- package/data/prompts/07_documentation/update-knowledge-base.md +352 -0
- package/data/prompts/08_deployment/.gitkeep +0 -0
- package/data/prompts/09_refactor/.gitkeep +0 -0
- package/data/prompts/10_maintenance/.gitkeep +0 -0
- package/data/prompts/_meta/.gitkeep +0 -0
- package/data/prompts/_meta/schema.json +411 -0
- package/data/prompts/_template.md +56 -0
- package/data/prompts/registry.json +2227 -0
- package/data/templates/.gitkeep +0 -0
- package/data/templates/ASSERT_COMPLETENESS.md +121 -0
- package/data/templates/ASSERT_SECURITY.md +186 -0
- package/data/templates/ASSERT_TYPESCRIPT.md +195 -0
- package/data/templates/BACKEND_DOC.md +241 -0
- package/data/templates/CHANGELOG.md +38 -0
- package/data/templates/DOC_API_QUICK.md +273 -0
- package/data/templates/DOC_COMPONENT_QUICK.md +180 -0
- package/data/templates/DOC_EXTRACTION_CHECKLIST.md +284 -0
- package/data/templates/FRONTEND_DOC.md +253 -0
- package/data/templates/GUIDED_COMPLETION.md +38 -0
- package/data/templates/INFRASTRUCTURE_DOC.md +138 -0
- package/data/templates/PLAN_ARCHITECTURE.md +190 -0
- package/data/templates/PLAN_IMPLEMENTATION.md +302 -0
- package/data/templates/PLAN_PATTERN_AUTH.md +366 -0
- package/data/templates/PLAN_PATTERN_BACKGROUND_JOB.md +403 -0
- package/data/templates/PLAN_PATTERN_DATABASE.md +287 -0
- package/data/templates/PLAN_PATTERN_REACT_FEATURE.md +303 -0
- package/data/templates/PLAN_PATTERN_REST_API.md +322 -0
- package/data/templates/PLAN_QUALITY_CHECKLIST.md +167 -0
- package/data/templates/PRD.md +110 -0
- package/data/templates/PULL_REQUEST.md +30 -0
- package/data/templates/REVIEW_CODE_CHECKLIST.md +227 -0
- package/data/templates/TEST_COVERAGE_GATE.md +265 -0
- package/data/templates/TEST_GENERATION_REQUIREMENTS.md +437 -0
- package/data/templates/TROUBLESHOOTING.md +170 -0
- package/data/templates/USER_STORY.md +43 -0
- package/data/templates/plans/PATTERN_DATABASE_MIGRATION.md +551 -0
- package/data/templates/plans/PATTERN_REACT_COMPONENT.md +483 -0
- package/data/templates/plans/PATTERN_REST_API.md +428 -0
- package/data/templates/plans/README.md +174 -0
- package/data/templates/standards/TECHNICAL_DEFAULTS.md +724 -0
- package/dist/cleanup/coordinator.d.ts +26 -0
- package/dist/cleanup/coordinator.d.ts.map +1 -0
- package/dist/cleanup/coordinator.js +167 -0
- package/dist/cleanup/coordinator.js.map +1 -0
- package/dist/cleanup/index.d.ts +5 -0
- package/dist/cleanup/index.d.ts.map +1 -0
- package/dist/cleanup/index.js +5 -0
- package/dist/cleanup/index.js.map +1 -0
- package/dist/cli/autocomplete.d.ts +65 -0
- package/dist/cli/autocomplete.d.ts.map +1 -0
- package/dist/cli/autocomplete.js +422 -0
- package/dist/cli/autocomplete.js.map +1 -0
- package/dist/cli/command-adapter.interface.d.ts +98 -0
- package/dist/cli/command-adapter.interface.d.ts.map +1 -0
- package/dist/cli/command-adapter.interface.js +13 -0
- package/dist/cli/command-adapter.interface.js.map +1 -0
- package/dist/cli/command-error-handler.d.ts +69 -0
- package/dist/cli/command-error-handler.d.ts.map +1 -0
- package/dist/cli/command-error-handler.js +239 -0
- package/dist/cli/command-error-handler.js.map +1 -0
- package/dist/cli/command-executor.d.ts +146 -0
- package/dist/cli/command-executor.d.ts.map +1 -0
- package/dist/cli/command-executor.js +479 -0
- package/dist/cli/command-executor.js.map +1 -0
- package/dist/cli/command-palette.d.ts +56 -0
- package/dist/cli/command-palette.d.ts.map +1 -0
- package/dist/cli/command-palette.js +246 -0
- package/dist/cli/command-palette.js.map +1 -0
- package/dist/cli/command-resolver.d.ts +42 -0
- package/dist/cli/command-resolver.d.ts.map +1 -0
- package/dist/cli/command-resolver.js +140 -0
- package/dist/cli/command-resolver.js.map +1 -0
- package/dist/cli/command-suggestions.d.ts +49 -0
- package/dist/cli/command-suggestions.d.ts.map +1 -0
- package/dist/cli/command-suggestions.js +209 -0
- package/dist/cli/command-suggestions.js.map +1 -0
- package/dist/cli/command-templates.d.ts +83 -0
- package/dist/cli/command-templates.d.ts.map +1 -0
- package/dist/cli/command-templates.js +457 -0
- package/dist/cli/command-templates.js.map +1 -0
- package/dist/cli/command-validator.d.ts +78 -0
- package/dist/cli/command-validator.d.ts.map +1 -0
- package/dist/cli/command-validator.js +197 -0
- package/dist/cli/command-validator.js.map +1 -0
- package/dist/cli/command-wizard.d.ts +42 -0
- package/dist/cli/command-wizard.d.ts.map +1 -0
- package/dist/cli/command-wizard.js +328 -0
- package/dist/cli/command-wizard.js.map +1 -0
- package/dist/cli/commander-adapter.d.ts +91 -0
- package/dist/cli/commander-adapter.d.ts.map +1 -0
- package/dist/cli/commander-adapter.js +142 -0
- package/dist/cli/commander-adapter.js.map +1 -0
- package/dist/cli/commands/config.d.ts +9 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +62 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/dashboard.d.ts +9 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -0
- package/dist/cli/commands/dashboard.js +31 -0
- package/dist/cli/commands/dashboard.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +9 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +103 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/dynamic.d.ts +21 -0
- package/dist/cli/commands/dynamic.d.ts.map +1 -0
- package/dist/cli/commands/dynamic.js +516 -0
- package/dist/cli/commands/dynamic.js.map +1 -0
- package/dist/cli/commands/explore.d.ts +11 -0
- package/dist/cli/commands/explore.d.ts.map +1 -0
- package/dist/cli/commands/explore.js +815 -0
- package/dist/cli/commands/explore.js.map +1 -0
- package/dist/cli/commands/help.d.ts +9 -0
- package/dist/cli/commands/help.d.ts.map +1 -0
- package/dist/cli/commands/help.js +52 -0
- package/dist/cli/commands/help.js.map +1 -0
- package/dist/cli/commands/init.d.ts +9 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +71 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/monitoring.d.ts +11 -0
- package/dist/cli/commands/monitoring.d.ts.map +1 -0
- package/dist/cli/commands/monitoring.js +358 -0
- package/dist/cli/commands/monitoring.js.map +1 -0
- package/dist/cli/commands/session.d.ts +9 -0
- package/dist/cli/commands/session.d.ts.map +1 -0
- package/dist/cli/commands/session.js +521 -0
- package/dist/cli/commands/session.js.map +1 -0
- package/dist/cli/config-builder.d.ts +53 -0
- package/dist/cli/config-builder.d.ts.map +1 -0
- package/dist/cli/config-builder.js +150 -0
- package/dist/cli/config-builder.js.map +1 -0
- package/dist/cli/document-approval.d.ts +71 -0
- package/dist/cli/document-approval.d.ts.map +1 -0
- package/dist/cli/document-approval.js +328 -0
- package/dist/cli/document-approval.js.map +1 -0
- package/dist/cli/document-output-processor.d.ts +125 -0
- package/dist/cli/document-output-processor.d.ts.map +1 -0
- package/dist/cli/document-output-processor.js +496 -0
- package/dist/cli/document-output-processor.js.map +1 -0
- package/dist/cli/execution-coordinator.d.ts +97 -0
- package/dist/cli/execution-coordinator.d.ts.map +1 -0
- package/dist/cli/execution-coordinator.js +489 -0
- package/dist/cli/execution-coordinator.js.map +1 -0
- package/dist/cli/first-run-setup.d.ts +12 -0
- package/dist/cli/first-run-setup.d.ts.map +1 -0
- package/dist/cli/first-run-setup.js +63 -0
- package/dist/cli/first-run-setup.js.map +1 -0
- package/dist/cli/flags.d.ts +53 -0
- package/dist/cli/flags.d.ts.map +1 -0
- package/dist/cli/flags.js +60 -0
- package/dist/cli/flags.js.map +1 -0
- package/dist/cli/index.d.ts +11 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +182 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/presenters/assert-presenter.d.ts +29 -0
- package/dist/cli/presenters/assert-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/assert-presenter.js +224 -0
- package/dist/cli/presenters/assert-presenter.js.map +1 -0
- package/dist/cli/presenters/base-presenter.d.ts +80 -0
- package/dist/cli/presenters/base-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/base-presenter.js +124 -0
- package/dist/cli/presenters/base-presenter.js.map +1 -0
- package/dist/cli/presenters/feedback-presenter.d.ts +24 -0
- package/dist/cli/presenters/feedback-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/feedback-presenter.js +144 -0
- package/dist/cli/presenters/feedback-presenter.js.map +1 -0
- package/dist/cli/presenters/fetch-task-presenter.d.ts +26 -0
- package/dist/cli/presenters/fetch-task-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/fetch-task-presenter.js +122 -0
- package/dist/cli/presenters/fetch-task-presenter.js.map +1 -0
- package/dist/cli/presenters/implementation-presenter.d.ts +28 -0
- package/dist/cli/presenters/implementation-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/implementation-presenter.js +148 -0
- package/dist/cli/presenters/implementation-presenter.js.map +1 -0
- package/dist/cli/presenters/index.d.ts +14 -0
- package/dist/cli/presenters/index.d.ts.map +1 -0
- package/dist/cli/presenters/index.js +14 -0
- package/dist/cli/presenters/index.js.map +1 -0
- package/dist/cli/presenters/presenter-registry.d.ts +51 -0
- package/dist/cli/presenters/presenter-registry.d.ts.map +1 -0
- package/dist/cli/presenters/presenter-registry.js +89 -0
- package/dist/cli/presenters/presenter-registry.js.map +1 -0
- package/dist/cli/presenters/review-code-presenter.d.ts +34 -0
- package/dist/cli/presenters/review-code-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/review-code-presenter.js +197 -0
- package/dist/cli/presenters/review-code-presenter.js.map +1 -0
- package/dist/cli/presenters/review-plan-presenter.d.ts +26 -0
- package/dist/cli/presenters/review-plan-presenter.d.ts.map +1 -0
- package/dist/cli/presenters/review-plan-presenter.js +130 -0
- package/dist/cli/presenters/review-plan-presenter.js.map +1 -0
- package/dist/cli/provider-fallback-service.d.ts +52 -0
- package/dist/cli/provider-fallback-service.d.ts.map +1 -0
- package/dist/cli/provider-fallback-service.js +134 -0
- package/dist/cli/provider-fallback-service.js.map +1 -0
- package/dist/cli/provider-mismatch-handler.d.ts +35 -0
- package/dist/cli/provider-mismatch-handler.d.ts.map +1 -0
- package/dist/cli/provider-mismatch-handler.js +133 -0
- package/dist/cli/provider-mismatch-handler.js.map +1 -0
- package/dist/cli/provider-resolver.d.ts +84 -0
- package/dist/cli/provider-resolver.d.ts.map +1 -0
- package/dist/cli/provider-resolver.js +360 -0
- package/dist/cli/provider-resolver.js.map +1 -0
- package/dist/cli/result-presenter.d.ts +68 -0
- package/dist/cli/result-presenter.d.ts.map +1 -0
- package/dist/cli/result-presenter.js +186 -0
- package/dist/cli/result-presenter.js.map +1 -0
- package/dist/cli/session-browser.d.ts +46 -0
- package/dist/cli/session-browser.d.ts.map +1 -0
- package/dist/cli/session-browser.js +343 -0
- package/dist/cli/session-browser.js.map +1 -0
- package/dist/cli/session-cleanup-adapter.d.ts +25 -0
- package/dist/cli/session-cleanup-adapter.d.ts.map +1 -0
- package/dist/cli/session-cleanup-adapter.js +95 -0
- package/dist/cli/session-cleanup-adapter.js.map +1 -0
- package/dist/cli/session-formatter.d.ts +107 -0
- package/dist/cli/session-formatter.d.ts.map +1 -0
- package/dist/cli/session-formatter.js +411 -0
- package/dist/cli/session-formatter.js.map +1 -0
- package/dist/cli/session-manager.d.ts +68 -0
- package/dist/cli/session-manager.d.ts.map +1 -0
- package/dist/cli/session-manager.js +153 -0
- package/dist/cli/session-manager.js.map +1 -0
- package/dist/cli/session-resume.d.ts +70 -0
- package/dist/cli/session-resume.d.ts.map +1 -0
- package/dist/cli/session-resume.js +322 -0
- package/dist/cli/session-resume.js.map +1 -0
- package/dist/cli/types/cli-options.types.d.ts +54 -0
- package/dist/cli/types/cli-options.types.d.ts.map +1 -0
- package/dist/cli/types/cli-options.types.js +8 -0
- package/dist/cli/types/cli-options.types.js.map +1 -0
- package/dist/cli/types/wizard.types.d.ts +51 -0
- package/dist/cli/types/wizard.types.d.ts.map +1 -0
- package/dist/cli/types/wizard.types.js +8 -0
- package/dist/cli/types/wizard.types.js.map +1 -0
- package/dist/config/constants.d.ts +192 -0
- package/dist/config/constants.d.ts.map +1 -0
- package/dist/config/constants.js +196 -0
- package/dist/config/constants.js.map +1 -0
- package/dist/config/index.d.ts +8 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +8 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/interactive-wizard.d.ts +67 -0
- package/dist/config/interactive-wizard.d.ts.map +1 -0
- package/dist/config/interactive-wizard.js +325 -0
- package/dist/config/interactive-wizard.js.map +1 -0
- package/dist/config/loader.d.ts +113 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +433 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/providers.config.d.ts +90 -0
- package/dist/config/providers.config.d.ts.map +1 -0
- package/dist/config/providers.config.js +249 -0
- package/dist/config/providers.config.js.map +1 -0
- package/dist/config/schema.d.ts +1848 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +167 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/validation-helpers.d.ts +44 -0
- package/dist/config/validation-helpers.d.ts.map +1 -0
- package/dist/config/validation-helpers.js +239 -0
- package/dist/config/validation-helpers.js.map +1 -0
- package/dist/config/wizard.d.ts +10 -0
- package/dist/config/wizard.d.ts.map +1 -0
- package/dist/config/wizard.js +11 -0
- package/dist/config/wizard.js.map +1 -0
- package/dist/di/container.d.ts +92 -0
- package/dist/di/container.d.ts.map +1 -0
- package/dist/di/container.js +349 -0
- package/dist/di/container.js.map +1 -0
- package/dist/executor/agent-loader.d.ts +62 -0
- package/dist/executor/agent-loader.d.ts.map +1 -0
- package/dist/executor/agent-loader.js +172 -0
- package/dist/executor/agent-loader.js.map +1 -0
- package/dist/executor/command-discovery.d.ts +72 -0
- package/dist/executor/command-discovery.d.ts.map +1 -0
- package/dist/executor/command-discovery.js +248 -0
- package/dist/executor/command-discovery.js.map +1 -0
- package/dist/executor/command-isolation.executor.d.ts +53 -0
- package/dist/executor/command-isolation.executor.d.ts.map +1 -0
- package/dist/executor/command-isolation.executor.js +183 -0
- package/dist/executor/command-isolation.executor.js.map +1 -0
- package/dist/executor/command-loader.d.ts +34 -0
- package/dist/executor/command-loader.d.ts.map +1 -0
- package/dist/executor/command-loader.js +93 -0
- package/dist/executor/command-loader.js.map +1 -0
- package/dist/executor/command-validation.d.ts +21 -0
- package/dist/executor/command-validation.d.ts.map +1 -0
- package/dist/executor/command-validation.js +79 -0
- package/dist/executor/command-validation.js.map +1 -0
- package/dist/executor/dry-run-cache.d.ts +155 -0
- package/dist/executor/dry-run-cache.d.ts.map +1 -0
- package/dist/executor/dry-run-cache.js +191 -0
- package/dist/executor/dry-run-cache.js.map +1 -0
- package/dist/executor/dry-run-preview.service.d.ts +101 -0
- package/dist/executor/dry-run-preview.service.d.ts.map +1 -0
- package/dist/executor/dry-run-preview.service.js +250 -0
- package/dist/executor/dry-run-preview.service.js.map +1 -0
- package/dist/executor/dry-run-strategy.d.ts +137 -0
- package/dist/executor/dry-run-strategy.d.ts.map +1 -0
- package/dist/executor/dry-run-strategy.js +511 -0
- package/dist/executor/dry-run-strategy.js.map +1 -0
- package/dist/executor/escalation-detection.service.d.ts +48 -0
- package/dist/executor/escalation-detection.service.d.ts.map +1 -0
- package/dist/executor/escalation-detection.service.js +219 -0
- package/dist/executor/escalation-detection.service.js.map +1 -0
- package/dist/executor/escalation-handler.service.d.ts +57 -0
- package/dist/executor/escalation-handler.service.d.ts.map +1 -0
- package/dist/executor/escalation-handler.service.js +265 -0
- package/dist/executor/escalation-handler.service.js.map +1 -0
- package/dist/executor/execution-context.d.ts +107 -0
- package/dist/executor/execution-context.d.ts.map +1 -0
- package/dist/executor/execution-context.js +158 -0
- package/dist/executor/execution-context.js.map +1 -0
- package/dist/executor/execution-strategy.d.ts +104 -0
- package/dist/executor/execution-strategy.d.ts.map +1 -0
- package/dist/executor/execution-strategy.js +259 -0
- package/dist/executor/execution-strategy.js.map +1 -0
- package/dist/executor/hook-execution.service.d.ts +95 -0
- package/dist/executor/hook-execution.service.d.ts.map +1 -0
- package/dist/executor/hook-execution.service.js +371 -0
- package/dist/executor/hook-execution.service.js.map +1 -0
- package/dist/executor/index.d.ts +16 -0
- package/dist/executor/index.d.ts.map +1 -0
- package/dist/executor/index.js +16 -0
- package/dist/executor/index.js.map +1 -0
- package/dist/executor/input-pre-resolver.d.ts +61 -0
- package/dist/executor/input-pre-resolver.d.ts.map +1 -0
- package/dist/executor/input-pre-resolver.js +172 -0
- package/dist/executor/input-pre-resolver.js.map +1 -0
- package/dist/executor/interactive-question-handler.service.d.ts +79 -0
- package/dist/executor/interactive-question-handler.service.d.ts.map +1 -0
- package/dist/executor/interactive-question-handler.service.js +250 -0
- package/dist/executor/interactive-question-handler.service.js.map +1 -0
- package/dist/executor/message-builder.service.d.ts +83 -0
- package/dist/executor/message-builder.service.d.ts.map +1 -0
- package/dist/executor/message-builder.service.js +211 -0
- package/dist/executor/message-builder.service.js.map +1 -0
- package/dist/executor/output-parsing.service.d.ts +169 -0
- package/dist/executor/output-parsing.service.d.ts.map +1 -0
- package/dist/executor/output-parsing.service.js +566 -0
- package/dist/executor/output-parsing.service.js.map +1 -0
- package/dist/executor/pipeline-events.d.ts +15 -0
- package/dist/executor/pipeline-events.d.ts.map +1 -0
- package/dist/executor/pipeline-events.js +15 -0
- package/dist/executor/pipeline-events.js.map +1 -0
- package/dist/executor/pipeline-validator.d.ts +29 -0
- package/dist/executor/pipeline-validator.d.ts.map +1 -0
- package/dist/executor/pipeline-validator.js +105 -0
- package/dist/executor/pipeline-validator.js.map +1 -0
- package/dist/executor/pipeline.d.ts +55 -0
- package/dist/executor/pipeline.d.ts.map +1 -0
- package/dist/executor/pipeline.js +360 -0
- package/dist/executor/pipeline.js.map +1 -0
- package/dist/executor/project-guidance-loader.d.ts +69 -0
- package/dist/executor/project-guidance-loader.d.ts.map +1 -0
- package/dist/executor/project-guidance-loader.js +528 -0
- package/dist/executor/project-guidance-loader.js.map +1 -0
- package/dist/executor/prompt-loader.d.ts +39 -0
- package/dist/executor/prompt-loader.d.ts.map +1 -0
- package/dist/executor/prompt-loader.js +172 -0
- package/dist/executor/prompt-loader.js.map +1 -0
- package/dist/executor/stage-executor.d.ts +192 -0
- package/dist/executor/stage-executor.d.ts.map +1 -0
- package/dist/executor/stage-executor.js +790 -0
- package/dist/executor/stage-executor.js.map +1 -0
- package/dist/executor/stage-output-cache.d.ts +152 -0
- package/dist/executor/stage-output-cache.d.ts.map +1 -0
- package/dist/executor/stage-output-cache.js +426 -0
- package/dist/executor/stage-output-cache.js.map +1 -0
- package/dist/executor/stage-scheduler.d.ts +20 -0
- package/dist/executor/stage-scheduler.d.ts.map +1 -0
- package/dist/executor/stage-scheduler.js +59 -0
- package/dist/executor/stage-scheduler.js.map +1 -0
- package/dist/executor/stage-validation.service.d.ts +122 -0
- package/dist/executor/stage-validation.service.d.ts.map +1 -0
- package/dist/executor/stage-validation.service.js +377 -0
- package/dist/executor/stage-validation.service.js.map +1 -0
- package/dist/executor/tool-execution.service.d.ts +289 -0
- package/dist/executor/tool-execution.service.d.ts.map +1 -0
- package/dist/executor/tool-execution.service.js +1124 -0
- package/dist/executor/tool-execution.service.js.map +1 -0
- package/dist/executor/tools/dry-run-simulator.service.d.ts +107 -0
- package/dist/executor/tools/dry-run-simulator.service.d.ts.map +1 -0
- package/dist/executor/tools/dry-run-simulator.service.js +284 -0
- package/dist/executor/tools/dry-run-simulator.service.js.map +1 -0
- package/dist/executor/tools/pending-write-approver.service.d.ts +84 -0
- package/dist/executor/tools/pending-write-approver.service.d.ts.map +1 -0
- package/dist/executor/tools/pending-write-approver.service.js +197 -0
- package/dist/executor/tools/pending-write-approver.service.js.map +1 -0
- package/dist/executor/tools/search-tools.service.d.ts +44 -0
- package/dist/executor/tools/search-tools.service.d.ts.map +1 -0
- package/dist/executor/tools/search-tools.service.js +109 -0
- package/dist/executor/tools/search-tools.service.js.map +1 -0
- package/dist/executor/tools/session-tools.service.d.ts +74 -0
- package/dist/executor/tools/session-tools.service.d.ts.map +1 -0
- package/dist/executor/tools/session-tools.service.js +278 -0
- package/dist/executor/tools/session-tools.service.js.map +1 -0
- package/dist/executor/variable-resolution.service.d.ts +77 -0
- package/dist/executor/variable-resolution.service.d.ts.map +1 -0
- package/dist/executor/variable-resolution.service.js +115 -0
- package/dist/executor/variable-resolution.service.js.map +1 -0
- package/dist/executor/variables.d.ts +89 -0
- package/dist/executor/variables.d.ts.map +1 -0
- package/dist/executor/variables.js +306 -0
- package/dist/executor/variables.js.map +1 -0
- package/dist/exploration/collaboration-coordinator.d.ts +130 -0
- package/dist/exploration/collaboration-coordinator.d.ts.map +1 -0
- package/dist/exploration/collaboration-coordinator.js +332 -0
- package/dist/exploration/collaboration-coordinator.js.map +1 -0
- package/dist/exploration/container-manager.d.ts +121 -0
- package/dist/exploration/container-manager.d.ts.map +1 -0
- package/dist/exploration/container-manager.js +390 -0
- package/dist/exploration/container-manager.js.map +1 -0
- package/dist/exploration/dashboard-controls.d.ts +24 -0
- package/dist/exploration/dashboard-controls.d.ts.map +1 -0
- package/dist/exploration/dashboard-controls.js +221 -0
- package/dist/exploration/dashboard-controls.js.map +1 -0
- package/dist/exploration/dashboard-metrics.d.ts +62 -0
- package/dist/exploration/dashboard-metrics.d.ts.map +1 -0
- package/dist/exploration/dashboard-metrics.js +154 -0
- package/dist/exploration/dashboard-metrics.js.map +1 -0
- package/dist/exploration/dashboard-ui.d.ts +22 -0
- package/dist/exploration/dashboard-ui.d.ts.map +1 -0
- package/dist/exploration/dashboard-ui.js +206 -0
- package/dist/exploration/dashboard-ui.js.map +1 -0
- package/dist/exploration/execution-modes.d.ts +120 -0
- package/dist/exploration/execution-modes.d.ts.map +1 -0
- package/dist/exploration/execution-modes.js +388 -0
- package/dist/exploration/execution-modes.js.map +1 -0
- package/dist/exploration/exploration-events.d.ts +139 -0
- package/dist/exploration/exploration-events.d.ts.map +1 -0
- package/dist/exploration/exploration-events.js +261 -0
- package/dist/exploration/exploration-events.js.map +1 -0
- package/dist/exploration/exploration-state.d.ts +102 -0
- package/dist/exploration/exploration-state.d.ts.map +1 -0
- package/dist/exploration/exploration-state.js +307 -0
- package/dist/exploration/exploration-state.js.map +1 -0
- package/dist/exploration/merge-orchestrator.d.ts +175 -0
- package/dist/exploration/merge-orchestrator.d.ts.map +1 -0
- package/dist/exploration/merge-orchestrator.js +615 -0
- package/dist/exploration/merge-orchestrator.js.map +1 -0
- package/dist/exploration/orchestrator.d.ts +95 -0
- package/dist/exploration/orchestrator.d.ts.map +1 -0
- package/dist/exploration/orchestrator.js +404 -0
- package/dist/exploration/orchestrator.js.map +1 -0
- package/dist/exploration/resource-allocator.d.ts +108 -0
- package/dist/exploration/resource-allocator.d.ts.map +1 -0
- package/dist/exploration/resource-allocator.js +244 -0
- package/dist/exploration/resource-allocator.js.map +1 -0
- package/dist/exploration/result-comparator.d.ts +110 -0
- package/dist/exploration/result-comparator.d.ts.map +1 -0
- package/dist/exploration/result-comparator.js +363 -0
- package/dist/exploration/result-comparator.js.map +1 -0
- package/dist/exploration/safety-validator.d.ts +59 -0
- package/dist/exploration/safety-validator.d.ts.map +1 -0
- package/dist/exploration/safety-validator.js +339 -0
- package/dist/exploration/safety-validator.js.map +1 -0
- package/dist/exploration/shared-volume-manager.d.ts +72 -0
- package/dist/exploration/shared-volume-manager.d.ts.map +1 -0
- package/dist/exploration/shared-volume-manager.js +303 -0
- package/dist/exploration/shared-volume-manager.js.map +1 -0
- package/dist/exploration/worktree-manager-secure.d.ts +110 -0
- package/dist/exploration/worktree-manager-secure.d.ts.map +1 -0
- package/dist/exploration/worktree-manager-secure.js +347 -0
- package/dist/exploration/worktree-manager-secure.js.map +1 -0
- package/dist/exploration/worktree-manager.d.ts +97 -0
- package/dist/exploration/worktree-manager.d.ts.map +1 -0
- package/dist/exploration/worktree-manager.js +298 -0
- package/dist/exploration/worktree-manager.js.map +1 -0
- package/dist/llm/index.d.ts +10 -0
- package/dist/llm/index.d.ts.map +1 -0
- package/dist/llm/index.js +10 -0
- package/dist/llm/index.js.map +1 -0
- package/dist/llm/model-mapping-registry.d.ts +73 -0
- package/dist/llm/model-mapping-registry.d.ts.map +1 -0
- package/dist/llm/model-mapping-registry.js +197 -0
- package/dist/llm/model-mapping-registry.js.map +1 -0
- package/dist/llm/provider.interface.d.ts +60 -0
- package/dist/llm/provider.interface.d.ts.map +1 -0
- package/dist/llm/provider.interface.js +79 -0
- package/dist/llm/provider.interface.js.map +1 -0
- package/dist/llm/providers/anthropic.provider.d.ts +78 -0
- package/dist/llm/providers/anthropic.provider.d.ts.map +1 -0
- package/dist/llm/providers/anthropic.provider.js +456 -0
- package/dist/llm/providers/anthropic.provider.js.map +1 -0
- package/dist/llm/providers/cursor.provider.d.ts +61 -0
- package/dist/llm/providers/cursor.provider.d.ts.map +1 -0
- package/dist/llm/providers/cursor.provider.js +273 -0
- package/dist/llm/providers/cursor.provider.js.map +1 -0
- package/dist/llm/providers/google.provider.d.ts +43 -0
- package/dist/llm/providers/google.provider.d.ts.map +1 -0
- package/dist/llm/providers/google.provider.js +179 -0
- package/dist/llm/providers/google.provider.js.map +1 -0
- package/dist/llm/providers/index.d.ts +25 -0
- package/dist/llm/providers/index.d.ts.map +1 -0
- package/dist/llm/providers/index.js +28 -0
- package/dist/llm/providers/index.js.map +1 -0
- package/dist/llm/providers/openai.provider.d.ts +23 -0
- package/dist/llm/providers/openai.provider.d.ts.map +1 -0
- package/dist/llm/providers/openai.provider.js +193 -0
- package/dist/llm/providers/openai.provider.js.map +1 -0
- package/dist/llm/registry.d.ts +41 -0
- package/dist/llm/registry.d.ts.map +1 -0
- package/dist/llm/registry.js +88 -0
- package/dist/llm/registry.js.map +1 -0
- package/dist/mcp/command-discovery.service.d.ts +26 -0
- package/dist/mcp/command-discovery.service.d.ts.map +1 -0
- package/dist/mcp/command-discovery.service.js +65 -0
- package/dist/mcp/command-discovery.service.js.map +1 -0
- package/dist/mcp/context.d.ts +28 -0
- package/dist/mcp/context.d.ts.map +1 -0
- package/dist/mcp/context.js +34 -0
- package/dist/mcp/context.js.map +1 -0
- package/dist/mcp/external-client/tool-proxy.d.ts +103 -0
- package/dist/mcp/external-client/tool-proxy.d.ts.map +1 -0
- package/dist/mcp/external-client/tool-proxy.js +291 -0
- package/dist/mcp/external-client/tool-proxy.js.map +1 -0
- package/dist/mcp/external-mcp-integrator.d.ts +70 -0
- package/dist/mcp/external-mcp-integrator.d.ts.map +1 -0
- package/dist/mcp/external-mcp-integrator.js +161 -0
- package/dist/mcp/external-mcp-integrator.js.map +1 -0
- package/dist/mcp/mcp-approval-cache.service.d.ts +88 -0
- package/dist/mcp/mcp-approval-cache.service.d.ts.map +1 -0
- package/dist/mcp/mcp-approval-cache.service.js +257 -0
- package/dist/mcp/mcp-approval-cache.service.js.map +1 -0
- package/dist/mcp/mcp-approval-workflow.d.ts +92 -0
- package/dist/mcp/mcp-approval-workflow.d.ts.map +1 -0
- package/dist/mcp/mcp-approval-workflow.js +346 -0
- package/dist/mcp/mcp-approval-workflow.js.map +1 -0
- package/dist/mcp/mcp-audit-logger.service.d.ts +90 -0
- package/dist/mcp/mcp-audit-logger.service.d.ts.map +1 -0
- package/dist/mcp/mcp-audit-logger.service.js +264 -0
- package/dist/mcp/mcp-audit-logger.service.js.map +1 -0
- package/dist/mcp/mcp-availability.service.d.ts +84 -0
- package/dist/mcp/mcp-availability.service.d.ts.map +1 -0
- package/dist/mcp/mcp-availability.service.js +177 -0
- package/dist/mcp/mcp-availability.service.js.map +1 -0
- package/dist/mcp/mcp-client-manager.service.d.ts +103 -0
- package/dist/mcp/mcp-client-manager.service.d.ts.map +1 -0
- package/dist/mcp/mcp-client-manager.service.js +380 -0
- package/dist/mcp/mcp-client-manager.service.js.map +1 -0
- package/dist/mcp/mcp-tool-handler.d.ts +88 -0
- package/dist/mcp/mcp-tool-handler.d.ts.map +1 -0
- package/dist/mcp/mcp-tool-handler.js +207 -0
- package/dist/mcp/mcp-tool-handler.js.map +1 -0
- package/dist/mcp/request-handler.d.ts +44 -0
- package/dist/mcp/request-handler.d.ts.map +1 -0
- package/dist/mcp/request-handler.js +282 -0
- package/dist/mcp/request-handler.js.map +1 -0
- package/dist/mcp/sampling-service.d.ts +36 -0
- package/dist/mcp/sampling-service.d.ts.map +1 -0
- package/dist/mcp/sampling-service.js +147 -0
- package/dist/mcp/sampling-service.js.map +1 -0
- package/dist/mcp/server-manager.d.ts +36 -0
- package/dist/mcp/server-manager.d.ts.map +1 -0
- package/dist/mcp/server-manager.js +113 -0
- package/dist/mcp/server-manager.js.map +1 -0
- package/dist/mcp/server.d.ts +45 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +269 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/shutdown-manager.d.ts +24 -0
- package/dist/mcp/shutdown-manager.d.ts.map +1 -0
- package/dist/mcp/shutdown-manager.js +59 -0
- package/dist/mcp/shutdown-manager.js.map +1 -0
- package/dist/mcp/system-monitor.d.ts +38 -0
- package/dist/mcp/system-monitor.d.ts.map +1 -0
- package/dist/mcp/system-monitor.js +80 -0
- package/dist/mcp/system-monitor.js.map +1 -0
- package/dist/mcp/tool-mapping.service.d.ts +35 -0
- package/dist/mcp/tool-mapping.service.d.ts.map +1 -0
- package/dist/mcp/tool-mapping.service.js +91 -0
- package/dist/mcp/tool-mapping.service.js.map +1 -0
- package/dist/mcp/tool-registry.d.ts +29 -0
- package/dist/mcp/tool-registry.d.ts.map +1 -0
- package/dist/mcp/tool-registry.js +52 -0
- package/dist/mcp/tool-registry.js.map +1 -0
- package/dist/mcp/types.d.ts +33 -0
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/mcp/types.js +7 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/output/activity-feed.d.ts +62 -0
- package/dist/output/activity-feed.d.ts.map +1 -0
- package/dist/output/activity-feed.js +170 -0
- package/dist/output/activity-feed.js.map +1 -0
- package/dist/output/box-formatter.d.ts +149 -0
- package/dist/output/box-formatter.d.ts.map +1 -0
- package/dist/output/box-formatter.js +239 -0
- package/dist/output/box-formatter.js.map +1 -0
- package/dist/output/cleanup-scheduler.d.ts +26 -0
- package/dist/output/cleanup-scheduler.d.ts.map +1 -0
- package/dist/output/cleanup-scheduler.js +115 -0
- package/dist/output/cleanup-scheduler.js.map +1 -0
- package/dist/output/color-adapter.d.ts +56 -0
- package/dist/output/color-adapter.d.ts.map +1 -0
- package/dist/output/color-adapter.interface.d.ts +139 -0
- package/dist/output/color-adapter.interface.d.ts.map +1 -0
- package/dist/output/color-adapter.interface.js +49 -0
- package/dist/output/color-adapter.interface.js.map +1 -0
- package/dist/output/color-adapter.js +163 -0
- package/dist/output/color-adapter.js.map +1 -0
- package/dist/output/console-output.d.ts +156 -0
- package/dist/output/console-output.d.ts.map +1 -0
- package/dist/output/console-output.js +264 -0
- package/dist/output/console-output.js.map +1 -0
- package/dist/output/diagnostic-formatter.d.ts +62 -0
- package/dist/output/diagnostic-formatter.d.ts.map +1 -0
- package/dist/output/diagnostic-formatter.js +186 -0
- package/dist/output/diagnostic-formatter.js.map +1 -0
- package/dist/output/header-formatter.d.ts +147 -0
- package/dist/output/header-formatter.d.ts.map +1 -0
- package/dist/output/header-formatter.js +232 -0
- package/dist/output/header-formatter.js.map +1 -0
- package/dist/output/help-formatter.d.ts +79 -0
- package/dist/output/help-formatter.d.ts.map +1 -0
- package/dist/output/help-formatter.js +358 -0
- package/dist/output/help-formatter.js.map +1 -0
- package/dist/output/index.d.ts +12 -0
- package/dist/output/index.d.ts.map +1 -0
- package/dist/output/index.js +12 -0
- package/dist/output/index.js.map +1 -0
- package/dist/output/logger.d.ts +113 -0
- package/dist/output/logger.d.ts.map +1 -0
- package/dist/output/logger.js +461 -0
- package/dist/output/logger.js.map +1 -0
- package/dist/output/markdown.d.ts +35 -0
- package/dist/output/markdown.d.ts.map +1 -0
- package/dist/output/markdown.js +188 -0
- package/dist/output/markdown.js.map +1 -0
- package/dist/output/multi-stage-progress.d.ts +77 -0
- package/dist/output/multi-stage-progress.d.ts.map +1 -0
- package/dist/output/multi-stage-progress.js +173 -0
- package/dist/output/multi-stage-progress.js.map +1 -0
- package/dist/output/pipeline-emitter.d.ts +85 -0
- package/dist/output/pipeline-emitter.d.ts.map +1 -0
- package/dist/output/pipeline-emitter.js +202 -0
- package/dist/output/pipeline-emitter.js.map +1 -0
- package/dist/output/processing-feedback.d.ts +299 -0
- package/dist/output/processing-feedback.d.ts.map +1 -0
- package/dist/output/processing-feedback.js +1032 -0
- package/dist/output/processing-feedback.js.map +1 -0
- package/dist/output/progress-formatter.d.ts +68 -0
- package/dist/output/progress-formatter.d.ts.map +1 -0
- package/dist/output/progress-formatter.js +210 -0
- package/dist/output/progress-formatter.js.map +1 -0
- package/dist/output/progress.d.ts +92 -0
- package/dist/output/progress.d.ts.map +1 -0
- package/dist/output/progress.js +256 -0
- package/dist/output/progress.js.map +1 -0
- package/dist/output/retention-manager.d.ts +62 -0
- package/dist/output/retention-manager.d.ts.map +1 -0
- package/dist/output/retention-manager.js +401 -0
- package/dist/output/retention-manager.js.map +1 -0
- package/dist/output/terminal-utils.d.ts +50 -0
- package/dist/output/terminal-utils.d.ts.map +1 -0
- package/dist/output/terminal-utils.js +103 -0
- package/dist/output/terminal-utils.js.map +1 -0
- package/dist/output/verbose-formatter.d.ts +91 -0
- package/dist/output/verbose-formatter.d.ts.map +1 -0
- package/dist/output/verbose-formatter.js +182 -0
- package/dist/output/verbose-formatter.js.map +1 -0
- package/dist/output/welcome-banner.d.ts +16 -0
- package/dist/output/welcome-banner.d.ts.map +1 -0
- package/dist/output/welcome-banner.js +80 -0
- package/dist/output/welcome-banner.js.map +1 -0
- package/dist/package.json +166 -0
- package/dist/services/agent-capability-matcher.service.d.ts +89 -0
- package/dist/services/agent-capability-matcher.service.d.ts.map +1 -0
- package/dist/services/agent-capability-matcher.service.js +310 -0
- package/dist/services/agent-capability-matcher.service.js.map +1 -0
- package/dist/services/agent-capability-registry.service.d.ts +93 -0
- package/dist/services/agent-capability-registry.service.d.ts.map +1 -0
- package/dist/services/agent-capability-registry.service.js +242 -0
- package/dist/services/agent-capability-registry.service.js.map +1 -0
- package/dist/services/agent-selection-analytics.service.d.ts +89 -0
- package/dist/services/agent-selection-analytics.service.d.ts.map +1 -0
- package/dist/services/agent-selection-analytics.service.js +180 -0
- package/dist/services/agent-selection-analytics.service.js.map +1 -0
- package/dist/services/context-analyzer.service.d.ts +56 -0
- package/dist/services/context-analyzer.service.d.ts.map +1 -0
- package/dist/services/context-analyzer.service.js +323 -0
- package/dist/services/context-analyzer.service.js.map +1 -0
- package/dist/services/diagnostics.service.d.ts +40 -0
- package/dist/services/diagnostics.service.d.ts.map +1 -0
- package/dist/services/diagnostics.service.js +245 -0
- package/dist/services/diagnostics.service.js.map +1 -0
- package/dist/services/document-detector.service.d.ts +89 -0
- package/dist/services/document-detector.service.d.ts.map +1 -0
- package/dist/services/document-detector.service.js +500 -0
- package/dist/services/document-detector.service.js.map +1 -0
- package/dist/services/document-path-resolver.service.d.ts +68 -0
- package/dist/services/document-path-resolver.service.d.ts.map +1 -0
- package/dist/services/document-path-resolver.service.js +155 -0
- package/dist/services/document-path-resolver.service.js.map +1 -0
- package/dist/services/document-template.service.d.ts +83 -0
- package/dist/services/document-template.service.d.ts.map +1 -0
- package/dist/services/document-template.service.js +317 -0
- package/dist/services/document-template.service.js.map +1 -0
- package/dist/services/document-writer.service.d.ts +42 -0
- package/dist/services/document-writer.service.d.ts.map +1 -0
- package/dist/services/document-writer.service.js +155 -0
- package/dist/services/document-writer.service.js.map +1 -0
- package/dist/services/dynamic-agent-resolver.service.d.ts +81 -0
- package/dist/services/dynamic-agent-resolver.service.d.ts.map +1 -0
- package/dist/services/dynamic-agent-resolver.service.js +267 -0
- package/dist/services/dynamic-agent-resolver.service.js.map +1 -0
- package/dist/services/git-stash-protection.service.d.ts +76 -0
- package/dist/services/git-stash-protection.service.d.ts.map +1 -0
- package/dist/services/git-stash-protection.service.js +190 -0
- package/dist/services/git-stash-protection.service.js.map +1 -0
- package/dist/services/idempotency-store.service.d.ts +101 -0
- package/dist/services/idempotency-store.service.d.ts.map +1 -0
- package/dist/services/idempotency-store.service.js +418 -0
- package/dist/services/idempotency-store.service.js.map +1 -0
- package/dist/services/index.d.ts +17 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +17 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/task-classifier.service.d.ts +42 -0
- package/dist/services/task-classifier.service.d.ts.map +1 -0
- package/dist/services/task-classifier.service.js +211 -0
- package/dist/services/task-classifier.service.js.map +1 -0
- package/dist/session/archive-adapter.d.ts +26 -0
- package/dist/session/archive-adapter.d.ts.map +1 -0
- package/dist/session/archive-adapter.interface.d.ts +59 -0
- package/dist/session/archive-adapter.interface.d.ts.map +1 -0
- package/dist/session/archive-adapter.interface.js +11 -0
- package/dist/session/archive-adapter.interface.js.map +1 -0
- package/dist/session/archive-adapter.js +72 -0
- package/dist/session/archive-adapter.js.map +1 -0
- package/dist/session/cleanup-scheduler.d.ts +22 -0
- package/dist/session/cleanup-scheduler.d.ts.map +1 -0
- package/dist/session/cleanup-scheduler.js +96 -0
- package/dist/session/cleanup-scheduler.js.map +1 -0
- package/dist/session/context.d.ts +109 -0
- package/dist/session/context.d.ts.map +1 -0
- package/dist/session/context.js +253 -0
- package/dist/session/context.js.map +1 -0
- package/dist/session/index.d.ts +9 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/session/index.js +9 -0
- package/dist/session/index.js.map +1 -0
- package/dist/session/lifecycle.d.ts +87 -0
- package/dist/session/lifecycle.d.ts.map +1 -0
- package/dist/session/lifecycle.js +301 -0
- package/dist/session/lifecycle.js.map +1 -0
- package/dist/session/retention-manager.d.ts +55 -0
- package/dist/session/retention-manager.d.ts.map +1 -0
- package/dist/session/retention-manager.js +299 -0
- package/dist/session/retention-manager.js.map +1 -0
- package/dist/session/retention-policy-runner.d.ts +19 -0
- package/dist/session/retention-policy-runner.d.ts.map +1 -0
- package/dist/session/retention-policy-runner.js +103 -0
- package/dist/session/retention-policy-runner.js.map +1 -0
- package/dist/session/session-cleanup-ui.d.ts +101 -0
- package/dist/session/session-cleanup-ui.d.ts.map +1 -0
- package/dist/session/session-cleanup-ui.js +339 -0
- package/dist/session/session-cleanup-ui.js.map +1 -0
- package/dist/session/session-exporter.d.ts +61 -0
- package/dist/session/session-exporter.d.ts.map +1 -0
- package/dist/session/session-exporter.js +274 -0
- package/dist/session/session-exporter.js.map +1 -0
- package/dist/session/store.d.ts +138 -0
- package/dist/session/store.d.ts.map +1 -0
- package/dist/session/store.js +430 -0
- package/dist/session/store.js.map +1 -0
- package/dist/session/types.d.ts +22 -0
- package/dist/session/types.d.ts.map +1 -0
- package/dist/session/types.js +7 -0
- package/dist/session/types.js.map +1 -0
- package/dist/tsconfig.json +18 -0
- package/dist/types/agent.types.d.ts +110 -0
- package/dist/types/agent.types.d.ts.map +1 -0
- package/dist/types/agent.types.js +5 -0
- package/dist/types/agent.types.js.map +1 -0
- package/dist/types/cli.types.d.ts +86 -0
- package/dist/types/cli.types.d.ts.map +1 -0
- package/dist/types/cli.types.js +5 -0
- package/dist/types/cli.types.js.map +1 -0
- package/dist/types/command.types.d.ts +176 -0
- package/dist/types/command.types.d.ts.map +1 -0
- package/dist/types/command.types.js +19 -0
- package/dist/types/command.types.js.map +1 -0
- package/dist/types/common.types.d.ts +31 -0
- package/dist/types/common.types.d.ts.map +1 -0
- package/dist/types/common.types.js +8 -0
- package/dist/types/common.types.js.map +1 -0
- package/dist/types/config.types.d.ts +104 -0
- package/dist/types/config.types.d.ts.map +1 -0
- package/dist/types/config.types.js +5 -0
- package/dist/types/config.types.js.map +1 -0
- package/dist/types/diagnostics.types.d.ts +18 -0
- package/dist/types/diagnostics.types.d.ts.map +1 -0
- package/dist/types/diagnostics.types.js +8 -0
- package/dist/types/diagnostics.types.js.map +1 -0
- package/dist/types/document.types.d.ts +127 -0
- package/dist/types/document.types.d.ts.map +1 -0
- package/dist/types/document.types.js +73 -0
- package/dist/types/document.types.js.map +1 -0
- package/dist/types/error.types.d.ts +48 -0
- package/dist/types/error.types.d.ts.map +1 -0
- package/dist/types/error.types.js +16 -0
- package/dist/types/error.types.js.map +1 -0
- package/dist/types/escalation.types.d.ts +76 -0
- package/dist/types/escalation.types.d.ts.map +1 -0
- package/dist/types/escalation.types.js +15 -0
- package/dist/types/escalation.types.js.map +1 -0
- package/dist/types/exploration.types.d.ts +298 -0
- package/dist/types/exploration.types.d.ts.map +1 -0
- package/dist/types/exploration.types.js +5 -0
- package/dist/types/exploration.types.js.map +1 -0
- package/dist/types/hook.types.d.ts +47 -0
- package/dist/types/hook.types.d.ts.map +1 -0
- package/dist/types/hook.types.js +8 -0
- package/dist/types/hook.types.js.map +1 -0
- package/dist/types/idempotency.types.d.ts +80 -0
- package/dist/types/idempotency.types.d.ts.map +1 -0
- package/dist/types/idempotency.types.js +16 -0
- package/dist/types/idempotency.types.js.map +1 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +25 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/llm.types.d.ts +73 -0
- package/dist/types/llm.types.d.ts.map +1 -0
- package/dist/types/llm.types.js +5 -0
- package/dist/types/llm.types.js.map +1 -0
- package/dist/types/logger.types.d.ts +21 -0
- package/dist/types/logger.types.d.ts.map +1 -0
- package/dist/types/logger.types.js +9 -0
- package/dist/types/logger.types.js.map +1 -0
- package/dist/types/mcp-client.types.d.ts +232 -0
- package/dist/types/mcp-client.types.d.ts.map +1 -0
- package/dist/types/mcp-client.types.js +8 -0
- package/dist/types/mcp-client.types.js.map +1 -0
- package/dist/types/mcp-registry.types.d.ts +49 -0
- package/dist/types/mcp-registry.types.d.ts.map +1 -0
- package/dist/types/mcp-registry.types.js +70 -0
- package/dist/types/mcp-registry.types.js.map +1 -0
- package/dist/types/mcp.types.d.ts +127 -0
- package/dist/types/mcp.types.d.ts.map +1 -0
- package/dist/types/mcp.types.js +5 -0
- package/dist/types/mcp.types.js.map +1 -0
- package/dist/types/pipeline.types.d.ts +139 -0
- package/dist/types/pipeline.types.d.ts.map +1 -0
- package/dist/types/pipeline.types.js +26 -0
- package/dist/types/pipeline.types.js.map +1 -0
- package/dist/types/prompt.types.d.ts +66 -0
- package/dist/types/prompt.types.d.ts.map +1 -0
- package/dist/types/prompt.types.js +5 -0
- package/dist/types/prompt.types.js.map +1 -0
- package/dist/types/provider-names.types.d.ts +56 -0
- package/dist/types/provider-names.types.d.ts.map +1 -0
- package/dist/types/provider-names.types.js +63 -0
- package/dist/types/provider-names.types.js.map +1 -0
- package/dist/types/provider.types.d.ts +22 -0
- package/dist/types/provider.types.d.ts.map +1 -0
- package/dist/types/provider.types.js +21 -0
- package/dist/types/provider.types.js.map +1 -0
- package/dist/types/session.types.d.ts +121 -0
- package/dist/types/session.types.d.ts.map +1 -0
- package/dist/types/session.types.js +5 -0
- package/dist/types/session.types.js.map +1 -0
- package/dist/types/tracing.types.d.ts +176 -0
- package/dist/types/tracing.types.d.ts.map +1 -0
- package/dist/types/tracing.types.js +77 -0
- package/dist/types/tracing.types.js.map +1 -0
- package/dist/types/ui.types.d.ts +88 -0
- package/dist/types/ui.types.d.ts.map +1 -0
- package/dist/types/ui.types.js +8 -0
- package/dist/types/ui.types.js.map +1 -0
- package/dist/types/workflow.types.d.ts +63 -0
- package/dist/types/workflow.types.d.ts.map +1 -0
- package/dist/types/workflow.types.js +5 -0
- package/dist/types/workflow.types.js.map +1 -0
- package/dist/ui/dashboard-tui.d.ts +38 -0
- package/dist/ui/dashboard-tui.d.ts.map +1 -0
- package/dist/ui/dashboard-tui.js +422 -0
- package/dist/ui/dashboard-tui.js.map +1 -0
- package/dist/ui/prompt-adapter.d.ts +37 -0
- package/dist/ui/prompt-adapter.d.ts.map +1 -0
- package/dist/ui/prompt-adapter.interface.d.ts +175 -0
- package/dist/ui/prompt-adapter.interface.d.ts.map +1 -0
- package/dist/ui/prompt-adapter.interface.js +54 -0
- package/dist/ui/prompt-adapter.interface.js.map +1 -0
- package/dist/ui/prompt-adapter.js +45 -0
- package/dist/ui/prompt-adapter.js.map +1 -0
- package/dist/ui/spinner-adapter.d.ts +29 -0
- package/dist/ui/spinner-adapter.d.ts.map +1 -0
- package/dist/ui/spinner-adapter.interface.d.ts +200 -0
- package/dist/ui/spinner-adapter.interface.d.ts.map +1 -0
- package/dist/ui/spinner-adapter.interface.js +53 -0
- package/dist/ui/spinner-adapter.interface.js.map +1 -0
- package/dist/ui/spinner-adapter.js +40 -0
- package/dist/ui/spinner-adapter.js.map +1 -0
- package/dist/ui/tui-adapter.d.ts +52 -0
- package/dist/ui/tui-adapter.d.ts.map +1 -0
- package/dist/ui/tui-adapter.interface.d.ts +197 -0
- package/dist/ui/tui-adapter.interface.d.ts.map +1 -0
- package/dist/ui/tui-adapter.interface.js +62 -0
- package/dist/ui/tui-adapter.interface.js.map +1 -0
- package/dist/ui/tui-adapter.js +58 -0
- package/dist/ui/tui-adapter.js.map +1 -0
- package/dist/utils/base-cleanup-scheduler.d.ts +60 -0
- package/dist/utils/base-cleanup-scheduler.d.ts.map +1 -0
- package/dist/utils/base-cleanup-scheduler.js +110 -0
- package/dist/utils/base-cleanup-scheduler.js.map +1 -0
- package/dist/utils/base-retention-manager.d.ts +136 -0
- package/dist/utils/base-retention-manager.d.ts.map +1 -0
- package/dist/utils/base-retention-manager.js +234 -0
- package/dist/utils/base-retention-manager.js.map +1 -0
- package/dist/utils/console-interceptor.d.ts +52 -0
- package/dist/utils/console-interceptor.d.ts.map +1 -0
- package/dist/utils/console-interceptor.js +92 -0
- package/dist/utils/console-interceptor.js.map +1 -0
- package/dist/utils/data-sanitizer.d.ts +106 -0
- package/dist/utils/data-sanitizer.d.ts.map +1 -0
- package/dist/utils/data-sanitizer.js +295 -0
- package/dist/utils/data-sanitizer.js.map +1 -0
- package/dist/utils/diff-generator.d.ts +42 -0
- package/dist/utils/diff-generator.d.ts.map +1 -0
- package/dist/utils/diff-generator.js +286 -0
- package/dist/utils/diff-generator.js.map +1 -0
- package/dist/utils/docs-linter.d.ts +178 -0
- package/dist/utils/docs-linter.d.ts.map +1 -0
- package/dist/utils/docs-linter.js +623 -0
- package/dist/utils/docs-linter.js.map +1 -0
- package/dist/utils/domain-keyword-registry.d.ts +57 -0
- package/dist/utils/domain-keyword-registry.d.ts.map +1 -0
- package/dist/utils/domain-keyword-registry.js +253 -0
- package/dist/utils/domain-keyword-registry.js.map +1 -0
- package/dist/utils/encryption.d.ts +111 -0
- package/dist/utils/encryption.d.ts.map +1 -0
- package/dist/utils/encryption.js +304 -0
- package/dist/utils/encryption.js.map +1 -0
- package/dist/utils/environment.d.ts +37 -0
- package/dist/utils/environment.d.ts.map +1 -0
- package/dist/utils/environment.js +87 -0
- package/dist/utils/environment.js.map +1 -0
- package/dist/utils/error-handler.d.ts +130 -0
- package/dist/utils/error-handler.d.ts.map +1 -0
- package/dist/utils/error-handler.js +319 -0
- package/dist/utils/error-handler.js.map +1 -0
- package/dist/utils/error-messages.d.ts +23 -0
- package/dist/utils/error-messages.d.ts.map +1 -0
- package/dist/utils/error-messages.js +160 -0
- package/dist/utils/error-messages.js.map +1 -0
- package/dist/utils/error-utils.d.ts +26 -0
- package/dist/utils/error-utils.d.ts.map +1 -0
- package/dist/utils/error-utils.js +33 -0
- package/dist/utils/error-utils.js.map +1 -0
- package/dist/utils/file-lock.d.ts +77 -0
- package/dist/utils/file-lock.d.ts.map +1 -0
- package/dist/utils/file-lock.js +355 -0
- package/dist/utils/file-lock.js.map +1 -0
- package/dist/utils/file-utils.d.ts +71 -0
- package/dist/utils/file-utils.d.ts.map +1 -0
- package/dist/utils/file-utils.js +235 -0
- package/dist/utils/file-utils.js.map +1 -0
- package/dist/utils/heap-profiler.d.ts +20 -0
- package/dist/utils/heap-profiler.d.ts.map +1 -0
- package/dist/utils/heap-profiler.js +60 -0
- package/dist/utils/heap-profiler.js.map +1 -0
- package/dist/utils/help-content.d.ts +117 -0
- package/dist/utils/help-content.d.ts.map +1 -0
- package/dist/utils/help-content.js +1512 -0
- package/dist/utils/help-content.js.map +1 -0
- package/dist/utils/id-generator.d.ts +45 -0
- package/dist/utils/id-generator.d.ts.map +1 -0
- package/dist/utils/id-generator.js +62 -0
- package/dist/utils/id-generator.js.map +1 -0
- package/dist/utils/index.d.ts +17 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +18 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/input-validator.d.ts +152 -0
- package/dist/utils/input-validator.d.ts.map +1 -0
- package/dist/utils/input-validator.js +494 -0
- package/dist/utils/input-validator.js.map +1 -0
- package/dist/utils/markdown-parser.d.ts +32 -0
- package/dist/utils/markdown-parser.d.ts.map +1 -0
- package/dist/utils/markdown-parser.js +85 -0
- package/dist/utils/markdown-parser.js.map +1 -0
- package/dist/utils/metrics-collector.d.ts +165 -0
- package/dist/utils/metrics-collector.d.ts.map +1 -0
- package/dist/utils/metrics-collector.js +392 -0
- package/dist/utils/metrics-collector.js.map +1 -0
- package/dist/utils/number-format.d.ts +29 -0
- package/dist/utils/number-format.d.ts.map +1 -0
- package/dist/utils/number-format.js +72 -0
- package/dist/utils/number-format.js.map +1 -0
- package/dist/utils/paths.d.ts +37 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +91 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/performance-profiler.d.ts +155 -0
- package/dist/utils/performance-profiler.d.ts.map +1 -0
- package/dist/utils/performance-profiler.js +429 -0
- package/dist/utils/performance-profiler.js.map +1 -0
- package/dist/utils/prompt-handler.d.ts +18 -0
- package/dist/utils/prompt-handler.d.ts.map +1 -0
- package/dist/utils/prompt-handler.js +66 -0
- package/dist/utils/prompt-handler.js.map +1 -0
- package/dist/utils/rate-limiter.d.ts +99 -0
- package/dist/utils/rate-limiter.d.ts.map +1 -0
- package/dist/utils/rate-limiter.js +214 -0
- package/dist/utils/rate-limiter.js.map +1 -0
- package/dist/utils/resource-monitor.d.ts +203 -0
- package/dist/utils/resource-monitor.d.ts.map +1 -0
- package/dist/utils/resource-monitor.js +521 -0
- package/dist/utils/resource-monitor.js.map +1 -0
- package/dist/utils/resource-resolver.d.ts +58 -0
- package/dist/utils/resource-resolver.d.ts.map +1 -0
- package/dist/utils/resource-resolver.js +150 -0
- package/dist/utils/resource-resolver.js.map +1 -0
- package/dist/utils/safe-exec.d.ts +90 -0
- package/dist/utils/safe-exec.d.ts.map +1 -0
- package/dist/utils/safe-exec.js +210 -0
- package/dist/utils/safe-exec.js.map +1 -0
- package/dist/utils/safe-regex.d.ts +49 -0
- package/dist/utils/safe-regex.d.ts.map +1 -0
- package/dist/utils/safe-regex.js +96 -0
- package/dist/utils/safe-regex.js.map +1 -0
- package/dist/utils/template-loader.d.ts +39 -0
- package/dist/utils/template-loader.d.ts.map +1 -0
- package/dist/utils/template-loader.js +75 -0
- package/dist/utils/template-loader.js.map +1 -0
- package/dist/utils/token-estimator.d.ts +60 -0
- package/dist/utils/token-estimator.d.ts.map +1 -0
- package/dist/utils/token-estimator.js +114 -0
- package/dist/utils/token-estimator.js.map +1 -0
- package/dist/utils/tracing.d.ts +166 -0
- package/dist/utils/tracing.d.ts.map +1 -0
- package/dist/utils/tracing.js +645 -0
- package/dist/utils/tracing.js.map +1 -0
- package/dist/utils/type-guards.d.ts +58 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +103 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/dist/utils/yaml-parser.d.ts +38 -0
- package/dist/utils/yaml-parser.d.ts.map +1 -0
- package/dist/utils/yaml-parser.js +71 -0
- package/dist/utils/yaml-parser.js.map +1 -0
- package/package.json +166 -0
|
@@ -0,0 +1,957 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refine-task
|
|
3
|
+
description: Clarify task requirements, acceptance criteria, and implementation details before planning phase
|
|
4
|
+
experimental: true
|
|
5
|
+
argument-hint: '[--task-id=<id>] [--interactive] [--acceptance-criteria-only]'
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- read_file
|
|
8
|
+
- write
|
|
9
|
+
- codebase_search
|
|
10
|
+
- grep
|
|
11
|
+
- list_dir
|
|
12
|
+
- glob_file_search
|
|
13
|
+
- run_terminal_cmd # Required for modern CLI tools (jq, yq, rg, fd)
|
|
14
|
+
model: claude-opus-4.5
|
|
15
|
+
agent: product-manager
|
|
16
|
+
prompts:
|
|
17
|
+
pipeline:
|
|
18
|
+
- stage: context
|
|
19
|
+
prompt: context.load-task
|
|
20
|
+
required: true
|
|
21
|
+
inputs:
|
|
22
|
+
task_id: $ARG_task_id
|
|
23
|
+
backlog_file: $ARG_backlog_file
|
|
24
|
+
outputs:
|
|
25
|
+
- task_details
|
|
26
|
+
- current_acceptance_criteria
|
|
27
|
+
- linked_requirements
|
|
28
|
+
- stage: analyze
|
|
29
|
+
prompt: onboard.analyze-clarity
|
|
30
|
+
required: true
|
|
31
|
+
inputs:
|
|
32
|
+
task_context: $STAGE_context.result
|
|
33
|
+
outputs:
|
|
34
|
+
- clarity_gaps
|
|
35
|
+
- ambiguities
|
|
36
|
+
- clarity_score
|
|
37
|
+
- stage: refine
|
|
38
|
+
prompt: onboard.refine-requirements
|
|
39
|
+
required: true
|
|
40
|
+
conditional: clarity_score < 0.85
|
|
41
|
+
inputs:
|
|
42
|
+
task_context: $STAGE_context.result
|
|
43
|
+
clarity_analysis: $STAGE_analyze.result
|
|
44
|
+
interactive: $ARG_interactive
|
|
45
|
+
outputs:
|
|
46
|
+
- refined_requirements
|
|
47
|
+
- clarifying_questions
|
|
48
|
+
- assumptions_made
|
|
49
|
+
- stage: review
|
|
50
|
+
prompt: review.validate-testability
|
|
51
|
+
required: true
|
|
52
|
+
inputs:
|
|
53
|
+
task_context: $STAGE_context.result
|
|
54
|
+
refinement: $STAGE_refine.result
|
|
55
|
+
outputs:
|
|
56
|
+
- testability_score
|
|
57
|
+
- acceptance_criteria_complete
|
|
58
|
+
- test_strategy
|
|
59
|
+
- stage: user_answers
|
|
60
|
+
prompt: onboard.collect-clarifications
|
|
61
|
+
required: true
|
|
62
|
+
interactive: true
|
|
63
|
+
condition: $STAGE_refine.clarifying_questions.length > 0
|
|
64
|
+
inputs:
|
|
65
|
+
clarifying_questions: $STAGE_refine.clarifying_questions
|
|
66
|
+
refined_specifications: $STAGE_context.task_details
|
|
67
|
+
clarity_score: $STAGE_analyze.clarity_score
|
|
68
|
+
outputs:
|
|
69
|
+
- answers
|
|
70
|
+
- summary
|
|
71
|
+
- questions_answered
|
|
72
|
+
- questions_skipped
|
|
73
|
+
- stage: apply
|
|
74
|
+
prompt: documentation.apply-task-refinement
|
|
75
|
+
required: true
|
|
76
|
+
inputs:
|
|
77
|
+
task_context: $STAGE_context.result
|
|
78
|
+
refinement: $STAGE_refine.result
|
|
79
|
+
validation: $STAGE_review.result
|
|
80
|
+
backlog_file: $ARG_backlog_file
|
|
81
|
+
user_answers: $STAGE_user_answers.answers
|
|
82
|
+
user_answers_summary: $STAGE_user_answers.summary
|
|
83
|
+
outputs:
|
|
84
|
+
- changes_summary
|
|
85
|
+
- backlog_document
|
|
86
|
+
- updated_task
|
|
87
|
+
merge_strategy: sequential
|
|
88
|
+
rollback_on_failure: context
|
|
89
|
+
cache_strategy: none
|
|
90
|
+
retry_policy:
|
|
91
|
+
max_attempts: 1
|
|
92
|
+
backoff_ms: 0
|
|
93
|
+
retry_on: []
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
# Task Refinement Command
|
|
97
|
+
|
|
98
|
+
## Role
|
|
99
|
+
|
|
100
|
+
Use the [agent] profile
|
|
101
|
+
|
|
102
|
+
## Goal
|
|
103
|
+
|
|
104
|
+
**Transform a fetched task into a crystal-clear, implementation-ready specification** by:
|
|
105
|
+
|
|
106
|
+
1. **Analyzing task clarity** - Identify ambiguities, gaps, and assumptions
|
|
107
|
+
2. **Clarifying requirements** - Ask targeted questions to resolve uncertainties
|
|
108
|
+
3. **Defining acceptance criteria** - Ensure testable, measurable success conditions
|
|
109
|
+
4. **Establishing context** - Link to PRD, codebase patterns, and constraints
|
|
110
|
+
5. **Collecting user answers** - Gather responses to clarifying questions interactively
|
|
111
|
+
6. **Validating readiness** - Confirm task is ready for technical planning
|
|
112
|
+
7. **Preparing handoff** - Package refined task for `/plan` command
|
|
113
|
+
|
|
114
|
+
**This command bridges product requirements (WHAT) and technical planning (HOW).**
|
|
115
|
+
|
|
116
|
+
## Context
|
|
117
|
+
|
|
118
|
+
### Input Arguments
|
|
119
|
+
|
|
120
|
+
```plaintext
|
|
121
|
+
$ARGUMENTS
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Task Source
|
|
125
|
+
|
|
126
|
+
```structured
|
|
127
|
+
<details>
|
|
128
|
+
<summary>Identify task to refine</summary>
|
|
129
|
+
|
|
130
|
+
Task can come from:
|
|
131
|
+
1. Most recent task from `/fetch-task` (stored in TODO.md)
|
|
132
|
+
2. Explicit task ID via --task-id parameter
|
|
133
|
+
3. User-provided task description inline
|
|
134
|
+
4. Task reference from BACKLOG.md
|
|
135
|
+
|
|
136
|
+
Priority: Explicit parameter > Recent fetch > User input
|
|
137
|
+
</details>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Related Documentation
|
|
141
|
+
|
|
142
|
+
```structured
|
|
143
|
+
<details>
|
|
144
|
+
<summary>Gather context documents</summary>
|
|
145
|
+
|
|
146
|
+
Check for:
|
|
147
|
+
- knowledge-base/PRD.md (functional requirements)
|
|
148
|
+
- knowledge-base/BACKLOG.md (task dependencies)
|
|
149
|
+
- knowledge-base/backend/ARCHITECTURE.md (technical patterns)
|
|
150
|
+
- knowledge-base/frontend/ARCHITECTURE.md (UI patterns)
|
|
151
|
+
- knowledge-base/FUNCTIONAL.md (user flows)
|
|
152
|
+
- TODO.md (current project state)
|
|
153
|
+
</details>
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Process Steps
|
|
157
|
+
|
|
158
|
+
### Step 1: Load Task & Analyze Current State
|
|
159
|
+
|
|
160
|
+
**Objective**: Retrieve task details and assess current clarity level.
|
|
161
|
+
|
|
162
|
+
**Actions**: Execute `context.load-task` prompt to:
|
|
163
|
+
|
|
164
|
+
- Locate task from TODO.md, BACKLOG.md, or user input
|
|
165
|
+
- Extract all task components and metadata
|
|
166
|
+
- Load related PRD requirements and context
|
|
167
|
+
- Assess initial clarity baseline
|
|
168
|
+
|
|
169
|
+
**Output**: Task loaded + initial assessment
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
### Step 2: Analyze Clarity & Identify Gaps
|
|
174
|
+
|
|
175
|
+
**Objective**: Systematically identify areas requiring clarification.
|
|
176
|
+
|
|
177
|
+
**Actions**: Execute `onboard.analyze-clarity` prompt to:
|
|
178
|
+
|
|
179
|
+
- Calculate clarity score across 5 dimensions
|
|
180
|
+
- Identify specific ambiguities and gaps
|
|
181
|
+
- Prioritize gaps (P0/P1/P2)
|
|
182
|
+
- Categorize by type (requirements/criteria/context/scope/dependencies)
|
|
183
|
+
|
|
184
|
+
**Clarity Thresholds**:
|
|
185
|
+
|
|
186
|
+
- **≥ 85%**: Mostly clear, minor refinement needed
|
|
187
|
+
- **60-84%**: Moderate clarity, requires focused clarification
|
|
188
|
+
- **< 60%**: Major gaps, needs significant refinement
|
|
189
|
+
|
|
190
|
+
**Output**: Clarity score + categorized gaps + priorities
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
### Step 3: Refine Requirements & Resolve Ambiguities
|
|
195
|
+
|
|
196
|
+
**Objective**: Resolve ambiguities through questioning or inference.
|
|
197
|
+
|
|
198
|
+
**Actions**: Execute `onboard.refine-requirements` prompt to:
|
|
199
|
+
|
|
200
|
+
**If `--interactive` mode**:
|
|
201
|
+
|
|
202
|
+
- Generate 3-5 targeted questions with options
|
|
203
|
+
- Present to user and await responses
|
|
204
|
+
- Iterate until P0 gaps resolved
|
|
205
|
+
|
|
206
|
+
**If auto mode** (default):
|
|
207
|
+
|
|
208
|
+
- Make reasonable inferences from codebase patterns
|
|
209
|
+
- Reference PRD requirements and similar tasks
|
|
210
|
+
- Apply standard domain practices
|
|
211
|
+
- Document all assumptions with confidence levels
|
|
212
|
+
- Flag high-risk assumptions for validation
|
|
213
|
+
|
|
214
|
+
**Output**: Refined requirements + questions OR assumptions documented
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
### Step 4: Validate Testability
|
|
219
|
+
|
|
220
|
+
**Objective**: Ensure acceptance criteria are testable and complete.
|
|
221
|
+
|
|
222
|
+
**Actions**: Execute `review.validate-testability` prompt to:
|
|
223
|
+
|
|
224
|
+
- Evaluate criteria using SMART framework
|
|
225
|
+
- Check coverage (happy path/edge/error/non-functional)
|
|
226
|
+
- Map criteria to test types (unit/integration/e2e/manual)
|
|
227
|
+
- Calculate testability score
|
|
228
|
+
- Identify any remaining gaps
|
|
229
|
+
|
|
230
|
+
**Testability Thresholds**:
|
|
231
|
+
|
|
232
|
+
- **≥ 90%**: Excellent, ready for planning
|
|
233
|
+
- **80-89%**: Good, minor improvements suggested
|
|
234
|
+
- **< 80%**: Needs additional refinement
|
|
235
|
+
|
|
236
|
+
**Output**: Testability score + test strategy + readiness assessment
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
### Step 5: Collect User Clarifications
|
|
241
|
+
|
|
242
|
+
**Objective**: Collect user answers to clarifying questions generated during refinement.
|
|
243
|
+
|
|
244
|
+
**Actions**: Execute `onboard.collect-clarifications` prompt to:
|
|
245
|
+
|
|
246
|
+
- Present clarifying questions from the refine stage
|
|
247
|
+
- Collect user answers interactively
|
|
248
|
+
- Generate summary of decisions for documentation
|
|
249
|
+
- Track questions answered vs skipped
|
|
250
|
+
|
|
251
|
+
**Condition**: Only runs if clarifying questions were generated in Step 3.
|
|
252
|
+
|
|
253
|
+
**Output**: User answers + summary + questions answered/skipped
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
### Step 6: Calculate Final Readiness & Validate
|
|
258
|
+
|
|
259
|
+
**Objective**: Confirm task is ready for planning phase.
|
|
260
|
+
|
|
261
|
+
**Readiness Checklist**:
|
|
262
|
+
|
|
263
|
+
- [ ] Requirements are clear (no ambiguity)
|
|
264
|
+
- [ ] Acceptance criteria complete (all scenarios covered)
|
|
265
|
+
- [ ] Acceptance criteria testable (SMART compliant)
|
|
266
|
+
- [ ] Scope is bounded (in/out explicit)
|
|
267
|
+
- [ ] Dependencies identified and validated
|
|
268
|
+
- [ ] Technical context provided
|
|
269
|
+
- [ ] Assumptions documented
|
|
270
|
+
- [ ] Effort estimate validated
|
|
271
|
+
- [ ] Priority confirmed
|
|
272
|
+
|
|
273
|
+
**Readiness Score**:
|
|
274
|
+
|
|
275
|
+
```plaintext
|
|
276
|
+
Readiness Score = (Checked items / 9) * 100%
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
**Quality Gates**:
|
|
280
|
+
|
|
281
|
+
- **≥ 85%**: ✅ Ready for `/plan`
|
|
282
|
+
- **70-84%**: ⚠️ Mostly ready, proceed with caution
|
|
283
|
+
- **< 70%**: ❌ Not ready, needs more work
|
|
284
|
+
|
|
285
|
+
**Output**: Readiness score + validation report
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
### Step 7: Document Refined Task & Prepare Handoff
|
|
290
|
+
|
|
291
|
+
**Objective**: Package refined task for planning phase.
|
|
292
|
+
|
|
293
|
+
**Refined Task Document Template**:
|
|
294
|
+
|
|
295
|
+
````markdown
|
|
296
|
+
# 🎯 Refined Task: [TASK-ID] - [Task Title]
|
|
297
|
+
|
|
298
|
+
**Status**: Ready for Planning
|
|
299
|
+
**Last Updated**: [Date]
|
|
300
|
+
**Refined By**: @product-manager
|
|
301
|
+
**Readiness Score**: [XX]%
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
## 📋 Task Summary
|
|
306
|
+
|
|
307
|
+
**Priority**: [P0/P1/P2]
|
|
308
|
+
**Domain**: [Frontend/Backend/Infrastructure/Data/Testing/Documentation]
|
|
309
|
+
**Effort**: [XS/S/M/L/XL] ([estimated hours/days])
|
|
310
|
+
**Complexity**: [Simple/Moderate/Complex]
|
|
311
|
+
|
|
312
|
+
**Description**:
|
|
313
|
+
[Clear, concise description of what needs to be built]
|
|
314
|
+
|
|
315
|
+
**User Value**:
|
|
316
|
+
[Why this matters - business/user impact]
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## ✅ Acceptance Criteria
|
|
321
|
+
|
|
322
|
+
### Functional Requirements
|
|
323
|
+
|
|
324
|
+
**FR-XXX: [Requirement Title from PRD]**
|
|
325
|
+
|
|
326
|
+
1. **Happy Path**: [Primary success scenario]
|
|
327
|
+
|
|
328
|
+
```gherkin
|
|
329
|
+
GIVEN [initial state]
|
|
330
|
+
WHEN [user action]
|
|
331
|
+
THEN [expected outcome]
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
2. **Edge Cases**:
|
|
335
|
+
- ✅ [Edge case 1]: [Expected behavior]
|
|
336
|
+
- ✅ [Edge case 2]: [Expected behavior]
|
|
337
|
+
|
|
338
|
+
3. **Error Handling**:
|
|
339
|
+
- ✅ [Error case 1]: [Expected error handling]
|
|
340
|
+
- ✅ [Error case 2]: [Expected error handling]
|
|
341
|
+
|
|
342
|
+
### Non-Functional Requirements
|
|
343
|
+
|
|
344
|
+
**Performance**:
|
|
345
|
+
|
|
346
|
+
- ✅ [Performance target with specific metrics]
|
|
347
|
+
|
|
348
|
+
**Security**:
|
|
349
|
+
|
|
350
|
+
- ✅ [Security requirement]
|
|
351
|
+
|
|
352
|
+
**Accessibility**:
|
|
353
|
+
|
|
354
|
+
- ✅ [A11y requirement]
|
|
355
|
+
|
|
356
|
+
**Usability**:
|
|
357
|
+
|
|
358
|
+
- ✅ [UX requirement]
|
|
359
|
+
|
|
360
|
+
---
|
|
361
|
+
|
|
362
|
+
## 🎭 User Flows
|
|
363
|
+
|
|
364
|
+
**Primary Flow**:
|
|
365
|
+
|
|
366
|
+
1. [Step 1]
|
|
367
|
+
2. [Step 2]
|
|
368
|
+
3. [Step 3]
|
|
369
|
+
|
|
370
|
+
**Alternative Flows**:
|
|
371
|
+
|
|
372
|
+
- [Alternative scenario 1]
|
|
373
|
+
- [Alternative scenario 2]
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
## 🔗 Linked Requirements
|
|
378
|
+
|
|
379
|
+
**PRD Requirements**:
|
|
380
|
+
|
|
381
|
+
- [FR-XXX]: [Requirement title] → [Link to PRD]
|
|
382
|
+
- [NFR-XXX]: [Requirement title] → [Link to PRD]
|
|
383
|
+
|
|
384
|
+
**User Stories**:
|
|
385
|
+
|
|
386
|
+
- [US-XXX]: [Story title] → [Link to story]
|
|
387
|
+
|
|
388
|
+
---
|
|
389
|
+
|
|
390
|
+
## 🧩 Dependencies
|
|
391
|
+
|
|
392
|
+
**Prerequisite Tasks**:
|
|
393
|
+
|
|
394
|
+
- ✅ [TASK-XXX]: [Title] (Completed)
|
|
395
|
+
- ✅ [TASK-YYY]: [Title] (Completed)
|
|
396
|
+
|
|
397
|
+
**Integration Points**:
|
|
398
|
+
|
|
399
|
+
- [Service/API name]: [Purpose of integration]
|
|
400
|
+
- [Component name]: [Purpose of integration]
|
|
401
|
+
|
|
402
|
+
**Blocked By**:
|
|
403
|
+
|
|
404
|
+
- None (or list blockers if any)
|
|
405
|
+
|
|
406
|
+
---
|
|
407
|
+
|
|
408
|
+
## 🛠️ Technical Context
|
|
409
|
+
|
|
410
|
+
**Domain**: [Detailed domain description]
|
|
411
|
+
|
|
412
|
+
**Relevant Files/Modules**:
|
|
413
|
+
|
|
414
|
+
```plaintext
|
|
415
|
+
src/
|
|
416
|
+
├── [relevant directory]/
|
|
417
|
+
│ ├── [file1.ts] - [Purpose]
|
|
418
|
+
│ ├── [file2.ts] - [Purpose]
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
**Patterns to Follow**:
|
|
422
|
+
|
|
423
|
+
- [Pattern 1]: [When to use, example reference]
|
|
424
|
+
- [Pattern 2]: [When to use, example reference]
|
|
425
|
+
|
|
426
|
+
**Similar Implementations**:
|
|
427
|
+
|
|
428
|
+
- `[Feature Name]` ([TASK-ID]): [What can be reused/learned]
|
|
429
|
+
|
|
430
|
+
**Integration Points**:
|
|
431
|
+
|
|
432
|
+
- [Internal Service]: [Endpoint/method to call]
|
|
433
|
+
- [External API]: [API details]
|
|
434
|
+
- [Database]: [Tables/collections involved]
|
|
435
|
+
|
|
436
|
+
---
|
|
437
|
+
|
|
438
|
+
## ⚠️ Constraints & Considerations
|
|
439
|
+
|
|
440
|
+
**Technical Constraints**:
|
|
441
|
+
|
|
442
|
+
- [Constraint 1]
|
|
443
|
+
- [Constraint 2]
|
|
444
|
+
|
|
445
|
+
**Business Constraints**:
|
|
446
|
+
|
|
447
|
+
- [Constraint 1]
|
|
448
|
+
|
|
449
|
+
**Performance Targets**:
|
|
450
|
+
|
|
451
|
+
- [Target 1]: [Specific metric]
|
|
452
|
+
- [Target 2]: [Specific metric]
|
|
453
|
+
|
|
454
|
+
**Security Requirements**:
|
|
455
|
+
|
|
456
|
+
- [Requirement 1]
|
|
457
|
+
- [Requirement 2]
|
|
458
|
+
|
|
459
|
+
**Accessibility Requirements**:
|
|
460
|
+
|
|
461
|
+
- [Requirement 1]
|
|
462
|
+
|
|
463
|
+
---
|
|
464
|
+
|
|
465
|
+
## 🎯 Scope Definition
|
|
466
|
+
|
|
467
|
+
### In Scope
|
|
468
|
+
|
|
469
|
+
✅ [Feature/capability explicitly included]
|
|
470
|
+
✅ [Feature/capability explicitly included]
|
|
471
|
+
✅ [Feature/capability explicitly included]
|
|
472
|
+
|
|
473
|
+
### Out of Scope
|
|
474
|
+
|
|
475
|
+
❌ [Feature/capability explicitly excluded] - Reason: [Why deferred]
|
|
476
|
+
❌ [Feature/capability explicitly excluded] - Reason: [Why not needed]
|
|
477
|
+
|
|
478
|
+
### Future Considerations
|
|
479
|
+
|
|
480
|
+
🔮 [Potential future enhancement]
|
|
481
|
+
🔮 [Potential future enhancement]
|
|
482
|
+
|
|
483
|
+
---
|
|
484
|
+
|
|
485
|
+
## 💡 Assumptions
|
|
486
|
+
|
|
487
|
+
1. **[Assumption 1]**: [Rationale or basis]
|
|
488
|
+
2. **[Assumption 2]**: [Rationale or basis]
|
|
489
|
+
3. **[Assumption 3]**: [Rationale or basis]
|
|
490
|
+
|
|
491
|
+
⚠️ **High-Risk Assumptions** (validate during planning):
|
|
492
|
+
|
|
493
|
+
- [Assumption that needs verification]
|
|
494
|
+
|
|
495
|
+
---
|
|
496
|
+
|
|
497
|
+
## 🧪 Testing Strategy
|
|
498
|
+
|
|
499
|
+
**Unit Tests**:
|
|
500
|
+
|
|
501
|
+
- [What to unit test]
|
|
502
|
+
|
|
503
|
+
**Integration Tests**:
|
|
504
|
+
|
|
505
|
+
- [What to integration test]
|
|
506
|
+
|
|
507
|
+
**E2E Tests**:
|
|
508
|
+
|
|
509
|
+
- [What user flows to test end-to-end]
|
|
510
|
+
|
|
511
|
+
**Manual Testing**:
|
|
512
|
+
|
|
513
|
+
- [What requires manual validation]
|
|
514
|
+
|
|
515
|
+
**Test Data**:
|
|
516
|
+
|
|
517
|
+
- [Any specific test data needs]
|
|
518
|
+
|
|
519
|
+
---
|
|
520
|
+
|
|
521
|
+
## 📊 Success Metrics
|
|
522
|
+
|
|
523
|
+
**Definition of Done**:
|
|
524
|
+
|
|
525
|
+
- [ ] All acceptance criteria verified
|
|
526
|
+
- [ ] All tests passing (unit, integration, e2e)
|
|
527
|
+
- [ ] Code reviewed and approved
|
|
528
|
+
- [ ] Documentation updated
|
|
529
|
+
- [ ] No critical or high severity issues
|
|
530
|
+
|
|
531
|
+
**Success Indicators**:
|
|
532
|
+
|
|
533
|
+
---
|
|
534
|
+
|
|
535
|
+
## 🚀 Recommended Next Steps
|
|
536
|
+
|
|
537
|
+
[If readiness ≥ 85%]:
|
|
538
|
+
"✅ Task is fully refined and ready for technical planning."
|
|
539
|
+
|
|
540
|
+
**Next Command**: `/plan [TASK-ID]`
|
|
541
|
+
|
|
542
|
+
**Planning Focus Areas**:
|
|
543
|
+
|
|
544
|
+
1. [Area requiring special planning attention]
|
|
545
|
+
2. [Area requiring special planning attention]
|
|
546
|
+
|
|
547
|
+
[If readiness 70-84%]:
|
|
548
|
+
"⚠️ Task is mostly ready with minor gaps: [list gaps]."
|
|
549
|
+
|
|
550
|
+
**Options**:
|
|
551
|
+
|
|
552
|
+
1. Proceed to `/plan [TASK-ID]` and address gaps during planning
|
|
553
|
+
2. Iterate refinement: `/refine-task [TASK-ID] --interactive`
|
|
554
|
+
|
|
555
|
+
[If readiness < 70%]:
|
|
556
|
+
"❌ Task needs more refinement: [list major gaps]."
|
|
557
|
+
|
|
558
|
+
**Recommendations**:
|
|
559
|
+
|
|
560
|
+
1. Run `/refine-task [TASK-ID] --interactive` to clarify gaps
|
|
561
|
+
2. Consult with stakeholders on: [specific questions]
|
|
562
|
+
3. Update PRD if requirements are unclear: `/refine-specs`
|
|
563
|
+
|
|
564
|
+
---
|
|
565
|
+
|
|
566
|
+
## 📎 References
|
|
567
|
+
|
|
568
|
+
- **PRD**: [Link to knowledge-base/PRD.md]
|
|
569
|
+
- **Backlog**: [Link to knowledge-base/BACKLOG.md]
|
|
570
|
+
- **Architecture**: [Link to relevant architecture docs]
|
|
571
|
+
- **Design**: [Link to design mockups/specs if applicable]
|
|
572
|
+
|
|
573
|
+
---
|
|
574
|
+
|
|
575
|
+
## 📝 Refinement History
|
|
576
|
+
|
|
577
|
+
**[Date] - Initial Refinement**:
|
|
578
|
+
|
|
579
|
+
- Clarified: [What was clarified]
|
|
580
|
+
- Added: [What acceptance criteria were added]
|
|
581
|
+
- Assumptions: [What assumptions were made]
|
|
582
|
+
|
|
583
|
+
**[Date] - Updated** (if applicable):
|
|
584
|
+
|
|
585
|
+
- Changes: [What changed]
|
|
586
|
+
- Reason: [Why it changed]
|
|
587
|
+
````
|
|
588
|
+
|
|
589
|
+
**Actions**:
|
|
590
|
+
|
|
591
|
+
1. **Save refined task**:
|
|
592
|
+
- Update BACKLOG.md with refined version
|
|
593
|
+
- Add refinement notes section
|
|
594
|
+
- Timestamp the refinement
|
|
595
|
+
|
|
596
|
+
2. **Update TODO.md**:
|
|
597
|
+
- Mark task as "Ready for Planning"
|
|
598
|
+
- Add readiness score
|
|
599
|
+
- Link to refined task document
|
|
600
|
+
|
|
601
|
+
3. **Create handoff summary**:
|
|
602
|
+
|
|
603
|
+
```markdown
|
|
604
|
+
## 📤 Handoff to Planning
|
|
605
|
+
|
|
606
|
+
**Task**: [TASK-ID] - [Title]
|
|
607
|
+
**Readiness**: [XX]%
|
|
608
|
+
**Confidence**: [High/Medium/Low]
|
|
609
|
+
|
|
610
|
+
**Key Points for Planning**:
|
|
611
|
+
|
|
612
|
+
1. [Important consideration for implementation planning]
|
|
613
|
+
2. [Important consideration for implementation planning]
|
|
614
|
+
3. [Important consideration for implementation planning]
|
|
615
|
+
|
|
616
|
+
**Risk Areas** (for planning attention):
|
|
617
|
+
|
|
618
|
+
- [Technical risk or uncertainty]
|
|
619
|
+
- [Integration complexity]
|
|
620
|
+
|
|
621
|
+
**Estimated Complexity**: [Justification for effort estimate]
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
4. **Confirm with user**:
|
|
625
|
+
> "✅ Task [TASK-ID] has been refined and is ready for planning.
|
|
626
|
+
> **Readiness**: [XX]%
|
|
627
|
+
> **Next Step**: Proceed to `/plan [TASK-ID]` to create technical implementation plan?"
|
|
628
|
+
|
|
629
|
+
**Output**: Refined task document saved + handoff summary + user confirmation prompt
|
|
630
|
+
|
|
631
|
+
---
|
|
632
|
+
|
|
633
|
+
## Rules & Constraints
|
|
634
|
+
|
|
635
|
+
### DO
|
|
636
|
+
|
|
637
|
+
✅ **Follow the pipeline** - Execute prompts in sequence
|
|
638
|
+
✅ **Use interactive mode** - When P0 gaps exist or task is critical
|
|
639
|
+
✅ **Document assumptions** - In auto mode, make reasoning explicit
|
|
640
|
+
✅ **Validate completeness** - Don't skip readiness checks
|
|
641
|
+
✅ **Link to PRD** - Maintain traceability to requirements
|
|
642
|
+
✅ **Prepare for planning** - Package context for next phase
|
|
643
|
+
✅ **Focus on WHAT** - Requirements, not implementation details
|
|
644
|
+
|
|
645
|
+
### DON'T
|
|
646
|
+
|
|
647
|
+
❌ **Don't skip prompts** - Each stage is necessary for quality
|
|
648
|
+
❌ **Don't prescribe HOW** - That's for planning phase
|
|
649
|
+
❌ **Don't rush validation** - Quality gates prevent rework
|
|
650
|
+
❌ **Don't accept vague criteria** - Use prompts to refine
|
|
651
|
+
❌ **Don't ignore non-functional requirements** - Performance, security, a11y matter
|
|
652
|
+
❌ **Don't change scope** - Flag issues but maintain boundaries
|
|
653
|
+
❌ **Don't proceed if not ready** - Low readiness → iterate or escalate
|
|
654
|
+
|
|
655
|
+
---
|
|
656
|
+
|
|
657
|
+
## Output Format
|
|
658
|
+
|
|
659
|
+
Present refined task using the template in Step 7, followed by:
|
|
660
|
+
|
|
661
|
+
```markdown
|
|
662
|
+
---
|
|
663
|
+
|
|
664
|
+
## 📊 Refinement Summary
|
|
665
|
+
|
|
666
|
+
**Pipeline Execution**:
|
|
667
|
+
- ✅ Task loaded (context.load-task)
|
|
668
|
+
- ✅ Clarity analyzed (onboard.analyze-clarity): [XX]%
|
|
669
|
+
- ✅ Requirements refined (onboard.refine-requirements)
|
|
670
|
+
- ✅ Testability validated (review.validate-testability): [XX]%
|
|
671
|
+
|
|
672
|
+
**Final Readiness**: [XX]% ([Status])
|
|
673
|
+
|
|
674
|
+
**Key Improvements**:
|
|
675
|
+
- ✅ [What was clarified/added/refined]
|
|
676
|
+
- ✅ [What was clarified/added/refined]
|
|
677
|
+
- ✅ [What was clarified/added/refined]
|
|
678
|
+
|
|
679
|
+
**Mode**: [Interactive/Auto]
|
|
680
|
+
**Assumptions Made** (auto mode): [Count]
|
|
681
|
+
**High-Risk Assumptions**: [Count flagged for validation]
|
|
682
|
+
|
|
683
|
+
**Remaining Gaps** (if any):
|
|
684
|
+
- ⚠️ [Gap]: [Why acceptable or needs attention]
|
|
685
|
+
|
|
686
|
+
---
|
|
687
|
+
|
|
688
|
+
## ✅ Ready for Next Phase
|
|
689
|
+
|
|
690
|
+
**Status**: [Ready ✅ / Mostly Ready ⚠️ / Not Ready ❌]
|
|
691
|
+
|
|
692
|
+
**Next Command**: `/plan [TASK-ID]`
|
|
693
|
+
|
|
694
|
+
**Planning Focus Areas**:
|
|
695
|
+
|
|
696
|
+
1. [Technical approach consideration]
|
|
697
|
+
2. [Integration complexity consideration]
|
|
698
|
+
3. [Testing strategy consideration]
|
|
699
|
+
|
|
700
|
+
**Validation Needed**:
|
|
701
|
+
|
|
702
|
+
- [High-risk assumption to validate during planning]
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
---
|
|
706
|
+
|
|
707
|
+
## Success Indicators
|
|
708
|
+
|
|
709
|
+
This command succeeds when:
|
|
710
|
+
|
|
711
|
+
### Pipeline Execution
|
|
712
|
+
|
|
713
|
+
1. ✅ All 5 prompts executed successfully in sequence
|
|
714
|
+
2. ✅ Each prompt produced required outputs
|
|
715
|
+
3. ✅ No blocking errors encountered
|
|
716
|
+
|
|
717
|
+
### Quality Gates
|
|
718
|
+
|
|
719
|
+
1. ✅ Clarity score calculated (from onboard.analyze-clarity)
|
|
720
|
+
2. ✅ Testability score ≥ 80% (from review.validate-testability)
|
|
721
|
+
3. ✅ Final readiness score ≥ 70% (ideally ≥ 85%)
|
|
722
|
+
|
|
723
|
+
### Content Quality
|
|
724
|
+
|
|
725
|
+
1. ✅ Acceptance criteria complete, testable, and measurable
|
|
726
|
+
2. ✅ Scope boundaries explicit (in/out of scope)
|
|
727
|
+
3. ✅ Dependencies identified and validated
|
|
728
|
+
4. ✅ Assumptions documented (auto mode) OR questions answered (interactive)
|
|
729
|
+
5. ✅ Technical context provided
|
|
730
|
+
|
|
731
|
+
### Deliverables
|
|
732
|
+
|
|
733
|
+
1. ✅ Refined task document created/updated
|
|
734
|
+
2. ✅ BACKLOG.md updated with refinement
|
|
735
|
+
3. ✅ TODO.md updated with readiness status
|
|
736
|
+
4. ✅ Clear recommendation for next phase
|
|
737
|
+
|
|
738
|
+
## Command Output Summary
|
|
739
|
+
|
|
740
|
+
Print the following summary at command completion:
|
|
741
|
+
|
|
742
|
+
**For ready task:**
|
|
743
|
+
|
|
744
|
+
```markdown
|
|
745
|
+
## ✅ Task Refined: [TASK-ID]
|
|
746
|
+
|
|
747
|
+
**Readiness Score**: [XX]%
|
|
748
|
+
**Status**: Ready for Planning
|
|
749
|
+
|
|
750
|
+
### Refinement Summary
|
|
751
|
+
|
|
752
|
+
- **Clarity Score**: [XX]%
|
|
753
|
+
- **Testability Score**: [XX]%
|
|
754
|
+
- **Acceptance Criteria**: [N] defined
|
|
755
|
+
|
|
756
|
+
### Key Clarifications
|
|
757
|
+
|
|
758
|
+
- ✅ [What was clarified]
|
|
759
|
+
- ✅ [What was added]
|
|
760
|
+
- ✅ [Assumptions documented]
|
|
761
|
+
|
|
762
|
+
### Documents Updated
|
|
763
|
+
|
|
764
|
+
→ `knowledge-base/BACKLOG.md` (task updated)
|
|
765
|
+
→ `TODO.md` (status updated)
|
|
766
|
+
|
|
767
|
+
### Next Step
|
|
768
|
+
|
|
769
|
+
→ `/plan [TASK-ID]` to create implementation plan
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
**For mostly ready task:**
|
|
773
|
+
|
|
774
|
+
```markdown
|
|
775
|
+
## ⚠️ Task Refined: [TASK-ID]
|
|
776
|
+
|
|
777
|
+
**Readiness Score**: [XX]%
|
|
778
|
+
**Status**: Mostly Ready - Minor gaps
|
|
779
|
+
|
|
780
|
+
### Gaps Identified
|
|
781
|
+
|
|
782
|
+
- ⚠️ [Gap 1]: [Description]
|
|
783
|
+
- ⚠️ [Gap 2]: [Description]
|
|
784
|
+
|
|
785
|
+
### Recommendations
|
|
786
|
+
|
|
787
|
+
- Proceed with caution, document assumptions
|
|
788
|
+
- Or run `/refine-task --interactive` for clarification
|
|
789
|
+
|
|
790
|
+
### Next Step
|
|
791
|
+
|
|
792
|
+
→ `/plan [TASK-ID]` (proceed with noted gaps)
|
|
793
|
+
→ `/refine-task [TASK-ID] --interactive` (for clarification)
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
**For not ready task:**
|
|
797
|
+
|
|
798
|
+
```markdown
|
|
799
|
+
## ❌ Task Not Ready: [TASK-ID]
|
|
800
|
+
|
|
801
|
+
**Readiness Score**: [XX]%
|
|
802
|
+
**Status**: Not Ready - Major gaps
|
|
803
|
+
|
|
804
|
+
### Critical Gaps
|
|
805
|
+
|
|
806
|
+
1. [Gap]: [Why it blocks planning]
|
|
807
|
+
2. [Gap]: [Why it blocks planning]
|
|
808
|
+
|
|
809
|
+
### Required Actions
|
|
810
|
+
|
|
811
|
+
- [Action to resolve gap]
|
|
812
|
+
|
|
813
|
+
### Next Step
|
|
814
|
+
|
|
815
|
+
→ `/refine-task [TASK-ID] --interactive` for deeper refinement
|
|
816
|
+
→ `/gather-knowledge` if technical context missing
|
|
817
|
+
```
|
|
818
|
+
|
|
819
|
+
---
|
|
820
|
+
|
|
821
|
+
## Integration with Workflow
|
|
822
|
+
|
|
823
|
+
**Entry Point**: After `/fetch-task` (Task Preparation Phase - see WORKFLOW.md)
|
|
824
|
+
|
|
825
|
+
**Prerequisites**:
|
|
826
|
+
|
|
827
|
+
- ✅ Task fetched from backlog (via `/fetch-task`)
|
|
828
|
+
- ✅ Task exists in BACKLOG.md with basic details
|
|
829
|
+
- ✅ PRD available for requirement linking
|
|
830
|
+
- ✅ Relevant architecture docs accessible
|
|
831
|
+
|
|
832
|
+
**Exits**:
|
|
833
|
+
|
|
834
|
+
- ✅ **Success (Ready)**: → `/plan [TASK-ID]` (Planning Phase begins)
|
|
835
|
+
- 🔄 **Needs More Context**: → `/gather-knowledge` then return to `/refine-task`
|
|
836
|
+
- 🔄 **Low Readiness**: → Iterate `/refine-task --interactive` with more input
|
|
837
|
+
- ⚠️ **Scope Issues**: → `/refine-specs` or `/create-backlog` (task definition problem)
|
|
838
|
+
- ⚠️ **Blocker Discovered**: → Resolve dependency or select different task
|
|
839
|
+
|
|
840
|
+
**Workflow Position**:
|
|
841
|
+
|
|
842
|
+
```mermaid
|
|
843
|
+
flowchart LR
|
|
844
|
+
A[fetch-task] --> B[refine-task]
|
|
845
|
+
B --> C{Sufficient context?}
|
|
846
|
+
C -->|NO| D[gather-knowledge]
|
|
847
|
+
D --> B
|
|
848
|
+
C -->|YES| E[plan]
|
|
849
|
+
B -->|Readiness < 70%| F[refine-task --interactive]
|
|
850
|
+
F --> B
|
|
851
|
+
B -->|Scope issues| G[refine-specs / create-backlog]
|
|
852
|
+
|
|
853
|
+
style B fill:#f3e5f5,stroke:#4a148c,stroke-width:3px
|
|
854
|
+
```
|
|
855
|
+
|
|
856
|
+
---
|
|
857
|
+
|
|
858
|
+
## Examples
|
|
859
|
+
|
|
860
|
+
### Example 1: Auto Mode with Inferences
|
|
861
|
+
|
|
862
|
+
```bash
|
|
863
|
+
/refine-task --task-id=FE0012
|
|
864
|
+
```
|
|
865
|
+
|
|
866
|
+
**Pipeline Execution**:
|
|
867
|
+
|
|
868
|
+
1. `context.load-task` → Found vague task description
|
|
869
|
+
2. `onboard.analyze-clarity` → Clarity: 35% (major gaps)
|
|
870
|
+
3. `onboard.refine-requirements` → Made 4 assumptions based on similar tasks
|
|
871
|
+
4. `review.validate-testability` → Testability: 88%
|
|
872
|
+
|
|
873
|
+
**Result**: Readiness 85% - Ready for planning with documented assumptions
|
|
874
|
+
|
|
875
|
+
---
|
|
876
|
+
|
|
877
|
+
### Example 2: Interactive Mode
|
|
878
|
+
|
|
879
|
+
```bash
|
|
880
|
+
/refine-task --task-id=BE0045 --interactive
|
|
881
|
+
```
|
|
882
|
+
|
|
883
|
+
**Pipeline Execution**:
|
|
884
|
+
|
|
885
|
+
1. `context.load-task` → Task loaded, missing security details
|
|
886
|
+
2. `onboard.analyze-clarity` → Clarity: 45% (P0 gaps in security)
|
|
887
|
+
3. `onboard.refine-requirements` → Asked 5 questions about security/validation
|
|
888
|
+
4. User answered questions
|
|
889
|
+
5. `review.validate-testability` → Testability: 92%
|
|
890
|
+
|
|
891
|
+
**Result**: Readiness 90% - Ready for planning with user-validated requirements
|
|
892
|
+
|
|
893
|
+
---
|
|
894
|
+
|
|
895
|
+
### Example 3: Already Well-Defined Task
|
|
896
|
+
|
|
897
|
+
```bash
|
|
898
|
+
/refine-task --task-id=TEST0008
|
|
899
|
+
```
|
|
900
|
+
|
|
901
|
+
**Pipeline Execution**:
|
|
902
|
+
|
|
903
|
+
1. `context.load-task` → Task has complete details
|
|
904
|
+
2. `onboard.analyze-clarity` → Clarity: 92% (minor edge case gap)
|
|
905
|
+
3. `onboard.refine-requirements` → Added 1 edge case criterion
|
|
906
|
+
4. `review.validate-testability` → Testability: 95%
|
|
907
|
+
|
|
908
|
+
**Result**: Readiness 95% - Excellent, proceed to planning immediately
|
|
909
|
+
|
|
910
|
+
---
|
|
911
|
+
|
|
912
|
+
## Notes
|
|
913
|
+
|
|
914
|
+
### When to Use This Command
|
|
915
|
+
|
|
916
|
+
**Always use after `/fetch-task`** when:
|
|
917
|
+
|
|
918
|
+
- Task is P0/P1 (critical work)
|
|
919
|
+
- Acceptance criteria are vague or missing
|
|
920
|
+
- Task is from high-level backlog requiring detail
|
|
921
|
+
|
|
922
|
+
**Can skip** (proceed directly to `/plan`) when:
|
|
923
|
+
|
|
924
|
+
- Task is very simple (XS effort, clear scope)
|
|
925
|
+
- Task was previously refined (has detailed criteria)
|
|
926
|
+
- Small bugfix with explicit requirements
|
|
927
|
+
|
|
928
|
+
### Mode Selection
|
|
929
|
+
|
|
930
|
+
**Interactive Mode** (`--interactive`):
|
|
931
|
+
|
|
932
|
+
- Use when: P0 gaps exist, task is critical, multiple interpretations possible
|
|
933
|
+
- Benefit: User-validated requirements, no assumptions
|
|
934
|
+
- Trade-off: Requires user availability and input
|
|
935
|
+
|
|
936
|
+
**Auto Mode** (default):
|
|
937
|
+
|
|
938
|
+
- Use when: Patterns exist in codebase, time pressure, P1/P2 tasks
|
|
939
|
+
- Benefit: Fast, autonomous, leverages existing patterns
|
|
940
|
+
- Trade-off: Relies on assumptions (documented and flagged)
|
|
941
|
+
|
|
942
|
+
### Handling Low Readiness
|
|
943
|
+
|
|
944
|
+
If readiness < 70% after refinement:
|
|
945
|
+
|
|
946
|
+
1. **Try `/gather-knowledge`** - May need more codebase context
|
|
947
|
+
2. **Re-run with `--interactive`** - Get direct user clarification
|
|
948
|
+
3. **Check dependencies** - May be blocked by other tasks
|
|
949
|
+
4. **Consider task splitting** - May be too large/complex
|
|
950
|
+
5. **Escalate** - May need product/stakeholder input
|
|
951
|
+
|
|
952
|
+
### Prompt Reusability
|
|
953
|
+
|
|
954
|
+
- `context.load-task` - Reusable for any task loading scenario
|
|
955
|
+
- `onboard.analyze-clarity` - Reusable for requirements/specifications analysis
|
|
956
|
+
- `review.validate-testability` - Reusable for any acceptance criteria validation
|
|
957
|
+
- All prompts follow consistent patterns from existing prompts
|