@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,895 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: assert
|
|
3
|
+
description: Validate implementation completeness, correctness, and compliance before testing phase through static analysis and requirements verification
|
|
4
|
+
experimental: true
|
|
5
|
+
argument-hint: '[<scope>] [--severity=<critical|high|all>] [--report-format=<structured|summary|detailed>] [--quick=<completeness|security|typescript|all>]'
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- codebase_search
|
|
8
|
+
- read_file
|
|
9
|
+
- grep
|
|
10
|
+
- list_dir
|
|
11
|
+
- glob_file_search
|
|
12
|
+
- run_terminal_cmd
|
|
13
|
+
- read_lints
|
|
14
|
+
model: claude-opus-4.5
|
|
15
|
+
agent: asserter
|
|
16
|
+
prompts:
|
|
17
|
+
pipeline:
|
|
18
|
+
- stage: context
|
|
19
|
+
prompt: context.gather-validation-context
|
|
20
|
+
required: true
|
|
21
|
+
inputs:
|
|
22
|
+
implementation_scope: $ARG_scope
|
|
23
|
+
session_data: $SESSION
|
|
24
|
+
outputs:
|
|
25
|
+
- implementation_details
|
|
26
|
+
- coding_standards
|
|
27
|
+
- architectural_guidelines
|
|
28
|
+
- quality_gates
|
|
29
|
+
- acceptance_criteria
|
|
30
|
+
- frontend_changes
|
|
31
|
+
- stage: completeness
|
|
32
|
+
prompt: review.validate-implementation-completeness
|
|
33
|
+
required: true
|
|
34
|
+
inputs:
|
|
35
|
+
acceptance_criteria: $STAGE_context.acceptance_criteria
|
|
36
|
+
implementation_details: $STAGE_context.implementation_details
|
|
37
|
+
modified_files: $STAGE_context.implementation_details.modified_files
|
|
38
|
+
outputs:
|
|
39
|
+
- completeness_status
|
|
40
|
+
- missing_features
|
|
41
|
+
- incomplete_items
|
|
42
|
+
- coverage_percentage
|
|
43
|
+
- stage: standards
|
|
44
|
+
prompt: review.validate-standards-compliance
|
|
45
|
+
required: true
|
|
46
|
+
parallel: true
|
|
47
|
+
inputs:
|
|
48
|
+
coding_standards: $STAGE_context.coding_standards
|
|
49
|
+
modified_files: $STAGE_context.implementation_details.modified_files
|
|
50
|
+
outputs:
|
|
51
|
+
- linting_results
|
|
52
|
+
- formatting_results
|
|
53
|
+
- convention_violations
|
|
54
|
+
- stage: type-safety
|
|
55
|
+
prompt: review.validate-type-safety
|
|
56
|
+
required: true
|
|
57
|
+
parallel: true
|
|
58
|
+
inputs:
|
|
59
|
+
modified_files: $STAGE_context.implementation_details.modified_files
|
|
60
|
+
outputs:
|
|
61
|
+
- type_errors
|
|
62
|
+
- contract_violations
|
|
63
|
+
- type_coverage
|
|
64
|
+
- stage: security
|
|
65
|
+
prompt: review.validate-security
|
|
66
|
+
required: true
|
|
67
|
+
parallel: true
|
|
68
|
+
inputs:
|
|
69
|
+
quality_gates: $STAGE_context.quality_gates
|
|
70
|
+
modified_files: $STAGE_context.implementation_details.modified_files
|
|
71
|
+
outputs:
|
|
72
|
+
- security_vulnerabilities
|
|
73
|
+
- secrets_found
|
|
74
|
+
- owasp_violations
|
|
75
|
+
- stage: architecture
|
|
76
|
+
prompt: review.validate-architecture
|
|
77
|
+
required: true
|
|
78
|
+
parallel: true
|
|
79
|
+
inputs:
|
|
80
|
+
architectural_guidelines: $STAGE_context.architectural_guidelines
|
|
81
|
+
modified_files: $STAGE_context.implementation_details.modified_files
|
|
82
|
+
outputs:
|
|
83
|
+
- architectural_violations
|
|
84
|
+
- pattern_violations
|
|
85
|
+
- boundary_breaches
|
|
86
|
+
- stage: accessibility
|
|
87
|
+
prompt: review.validate-accessibility
|
|
88
|
+
required: false
|
|
89
|
+
conditional: $STAGE_context.frontend_changes == true
|
|
90
|
+
parallel: true
|
|
91
|
+
inputs:
|
|
92
|
+
modified_files: $STAGE_context.implementation_details.modified_files
|
|
93
|
+
outputs:
|
|
94
|
+
- wcag_violations
|
|
95
|
+
- aria_issues
|
|
96
|
+
- semantic_html_issues
|
|
97
|
+
- stage: synthesis
|
|
98
|
+
prompt: review.synthesize-validation-report
|
|
99
|
+
required: true
|
|
100
|
+
inputs:
|
|
101
|
+
completeness_status: $STAGE_completeness.completeness_status
|
|
102
|
+
missing_features: $STAGE_completeness.missing_features
|
|
103
|
+
coverage_percentage: $STAGE_completeness.coverage_percentage
|
|
104
|
+
linting_results: $STAGE_standards.linting_results
|
|
105
|
+
formatting_results: $STAGE_standards.formatting_results
|
|
106
|
+
type_errors: $STAGE_type-safety.type_errors
|
|
107
|
+
type_coverage: $STAGE_type-safety.type_coverage
|
|
108
|
+
security_vulnerabilities: $STAGE_security.security_vulnerabilities
|
|
109
|
+
secrets_found: $STAGE_security.secrets_found
|
|
110
|
+
architectural_violations: $STAGE_architecture.architectural_violations
|
|
111
|
+
wcag_violations: $STAGE_accessibility.wcag_violations
|
|
112
|
+
severity_filter: $ARG_severity
|
|
113
|
+
report_format: $ARG_report_format
|
|
114
|
+
implementation_details: $STAGE_context.implementation_details
|
|
115
|
+
quality_gates: $STAGE_context.quality_gates
|
|
116
|
+
outputs:
|
|
117
|
+
- validation_status
|
|
118
|
+
- blocker_count
|
|
119
|
+
- validation_report
|
|
120
|
+
merge_strategy: parallel
|
|
121
|
+
rollback_on_failure: context
|
|
122
|
+
cache_strategy: none
|
|
123
|
+
retry_policy:
|
|
124
|
+
max_attempts: 1
|
|
125
|
+
backoff_ms: 0
|
|
126
|
+
retry_on: []
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
# Assert Command
|
|
130
|
+
|
|
131
|
+
## Role
|
|
132
|
+
|
|
133
|
+
Use the [agent] profile
|
|
134
|
+
|
|
135
|
+
## Goal
|
|
136
|
+
|
|
137
|
+
**Validate implementation completeness, correctness, and compliance** before advancing to testing phase. This command serves as an **automated quality gate** that ensures code meets fundamental standards through static analysis, requirements verification, and compliance enforcement.
|
|
138
|
+
|
|
139
|
+
**Primary Objectives**:
|
|
140
|
+
|
|
141
|
+
1. **Verify completeness** - Ensure all acceptance criteria are addressed
|
|
142
|
+
2. **Validate correctness** - Check implementation aligns with requirements and specifications
|
|
143
|
+
3. **Enforce compliance** - Assert coding standards, architectural patterns, and security best practices
|
|
144
|
+
4. **Block defective code** - Prevent incomplete or non-compliant implementations from consuming testing resources
|
|
145
|
+
5. **Provide actionable feedback** - Generate detailed reports with specific remediation guidance
|
|
146
|
+
6. **Static validation only** - Pre-testing checkpoint using linters, type checkers, and static analyzers
|
|
147
|
+
7. **Objective assessment** - Apply measurable criteria consistently without bias
|
|
148
|
+
8. **Fast feedback** - Quick validation to enable rapid iteration
|
|
149
|
+
|
|
150
|
+
**This command answers**: "Is this implementation ready for testing, or does it need remediation first?"
|
|
151
|
+
|
|
152
|
+
## Context
|
|
153
|
+
|
|
154
|
+
### Input Arguments
|
|
155
|
+
|
|
156
|
+
**Command Invocation**:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
valora assert [scope] [--severity=<level>] [--report-format=<format>]
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Arguments**:
|
|
163
|
+
|
|
164
|
+
1. **`[scope]`** (optional, positional) - Validation scope
|
|
165
|
+
- Default: Current git changes (unstaged + staged)
|
|
166
|
+
- File path(s): `src/api/users.ts` or `src/components/`
|
|
167
|
+
- Commit range: `HEAD~3..HEAD` or `main..feature-branch`
|
|
168
|
+
- All files: `--all`
|
|
169
|
+
|
|
170
|
+
2. **`--severity`** (default: `critical`) - Minimum severity level to report
|
|
171
|
+
- `critical` - Only report critical blockers (security, build failures, type errors)
|
|
172
|
+
- `high` - Report critical and high severity issues (+ WCAG Level A, architectural violations)
|
|
173
|
+
- `all` - Report all issues including warnings and informational messages
|
|
174
|
+
|
|
175
|
+
3. **`--report-format`** (default: `structured`) - Output format
|
|
176
|
+
- `structured` - Full validation report with all dimensions organized by severity
|
|
177
|
+
- `summary` - Executive summary with pass/fail status and key metrics only
|
|
178
|
+
- `detailed` - Comprehensive report including code snippets, remediation steps, and references
|
|
179
|
+
|
|
180
|
+
4. **`--quick`** (optional) - Fast template-based validation (~2 min vs ~9 min)
|
|
181
|
+
- `completeness` - Use ASSERT_COMPLETENESS.md template (acceptance criteria, features, tests)
|
|
182
|
+
- `security` - Use ASSERT_SECURITY.md template (OWASP, secrets, input validation)
|
|
183
|
+
- `typescript` - Use ASSERT_TYPESCRIPT.md template (type safety, conventions, patterns)
|
|
184
|
+
- `all` - Run all quick templates sequentially (~5 min total)
|
|
185
|
+
- Skips full pipeline, uses binary Y/N checklists for faster validation
|
|
186
|
+
- Use for pre-flight checks before full assertion
|
|
187
|
+
|
|
188
|
+
**Example Usage**:
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
# Validate current changes (one-shot mode)
|
|
192
|
+
valora assert
|
|
193
|
+
|
|
194
|
+
# Validate specific scope
|
|
195
|
+
valora assert src/api/
|
|
196
|
+
|
|
197
|
+
# All issues, detailed report
|
|
198
|
+
valora assert --severity=all --report-format=detailed
|
|
199
|
+
|
|
200
|
+
# Within workflow (triggered after implement)
|
|
201
|
+
# Session context provides implementation details
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Session Context (When Part of Workflow)
|
|
205
|
+
|
|
206
|
+
When invoked as part of a workflow (e.g., after `/implement`), the command has access to:
|
|
207
|
+
|
|
208
|
+
- **`$SESSION.implementation_plan`** - Original implementation plan from `/plan`
|
|
209
|
+
- **`$SESSION.task_requirements`** - Task definition from `/fetch-task`
|
|
210
|
+
- **`$SESSION.gathered_knowledge`** - Codebase context from `/gather-knowledge`
|
|
211
|
+
- **`$SESSION.implementation_summary`** - Summary of changes made
|
|
212
|
+
|
|
213
|
+
### Standalone Context (One-Shot Mode)
|
|
214
|
+
|
|
215
|
+
When invoked independently:
|
|
216
|
+
|
|
217
|
+
- **Git changes** - Automatically detects modified, staged, and unstaged files
|
|
218
|
+
- **Requirements inference** - Attempts to extract acceptance criteria from:
|
|
219
|
+
- Commit messages
|
|
220
|
+
- Branch name patterns (e.g., `feature/US-123-login`)
|
|
221
|
+
- Linked issue tracker tickets (via commit metadata)
|
|
222
|
+
- Knowledge base documentation
|
|
223
|
+
|
|
224
|
+
### Available Context Sources
|
|
225
|
+
|
|
226
|
+
The assertion process can leverage:
|
|
227
|
+
|
|
228
|
+
- **Implementation scope** - Modified files, added/deleted lines, change patterns
|
|
229
|
+
- **Requirements/specifications** - User stories, acceptance criteria, technical specs (from session or inference)
|
|
230
|
+
- **Coding standards** - ESLint config, Prettier config, TSConfig, linting rules
|
|
231
|
+
- **Architectural guidelines** - ADRs, design patterns, module boundaries (from knowledge base)
|
|
232
|
+
- **Quality gates** - Coverage thresholds, complexity limits, security policies
|
|
233
|
+
- **Project configuration** - Build configs, package.json, CI/CD settings
|
|
234
|
+
|
|
235
|
+
## Rules
|
|
236
|
+
|
|
237
|
+
### Quality Gate Standards
|
|
238
|
+
|
|
239
|
+
1. **Zero tolerance for critical issues** - Security vulnerabilities, build failures, type errors are blockers
|
|
240
|
+
2. **Objective validation** - Apply rules consistently based on measurable criteria
|
|
241
|
+
3. **Comprehensive assessment** - Validate across all quality dimensions simultaneously
|
|
242
|
+
4. **Actionable feedback** - Every failure includes location, explanation, and remediation
|
|
243
|
+
5. **Fail-fast principle** - Block early to prevent wasted testing resources
|
|
244
|
+
6. **Standards enforcement** - Apply team-agreed standards without subjective interpretation
|
|
245
|
+
|
|
246
|
+
### Validation Dimensions
|
|
247
|
+
|
|
248
|
+
```structured
|
|
249
|
+
Assert implementation quality across these dimensions:
|
|
250
|
+
|
|
251
|
+
1. **Completeness**
|
|
252
|
+
- All acceptance criteria addressed
|
|
253
|
+
- Required features implemented
|
|
254
|
+
- Edge cases handled
|
|
255
|
+
- Error scenarios covered
|
|
256
|
+
|
|
257
|
+
2. **Standards Compliance**
|
|
258
|
+
- Zero linting errors
|
|
259
|
+
- Formatting consistent
|
|
260
|
+
- Naming conventions followed
|
|
261
|
+
- Code organization proper
|
|
262
|
+
|
|
263
|
+
3. **Type Safety**
|
|
264
|
+
- No type errors in strict mode
|
|
265
|
+
- Interface compliance validated
|
|
266
|
+
- Null safety checked
|
|
267
|
+
- Contract adherence verified
|
|
268
|
+
|
|
269
|
+
4. **Security**
|
|
270
|
+
- No OWASP vulnerabilities
|
|
271
|
+
- No hard-coded secrets
|
|
272
|
+
- Input validation present
|
|
273
|
+
- No dependency CVEs
|
|
274
|
+
|
|
275
|
+
5. **Architecture**
|
|
276
|
+
- Design patterns followed
|
|
277
|
+
- Module boundaries respected
|
|
278
|
+
- No circular dependencies
|
|
279
|
+
- API contracts satisfied
|
|
280
|
+
|
|
281
|
+
6. **Accessibility** (if frontend)
|
|
282
|
+
- WCAG Level A compliance
|
|
283
|
+
- ARIA properly implemented
|
|
284
|
+
- Semantic HTML used
|
|
285
|
+
- Keyboard navigation works
|
|
286
|
+
|
|
287
|
+
7. **Build System**
|
|
288
|
+
- Build succeeds
|
|
289
|
+
- No dependency conflicts
|
|
290
|
+
- Bundle size acceptable
|
|
291
|
+
- Build reproducible
|
|
292
|
+
|
|
293
|
+
8. **Documentation**
|
|
294
|
+
- Public APIs documented
|
|
295
|
+
- Complex logic explained
|
|
296
|
+
- README updated if needed
|
|
297
|
+
- Architecture decisions recorded
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### Blocking vs. Warning Criteria
|
|
301
|
+
|
|
302
|
+
**BLOCK (Fail Quality Gate)**:
|
|
303
|
+
|
|
304
|
+
- ❌ Security vulnerabilities (CVSS ≥7.0)
|
|
305
|
+
- ❌ Build failures or compilation errors
|
|
306
|
+
- ❌ Type errors in strict mode
|
|
307
|
+
- ❌ WCAG Level A violations (if frontend)
|
|
308
|
+
- ❌ Critical architectural violations
|
|
309
|
+
- ❌ >50% of acceptance criteria unmet
|
|
310
|
+
- ❌ Hard-coded secrets or credentials
|
|
311
|
+
|
|
312
|
+
**WARN (Advisory, Non-Blocking)**:
|
|
313
|
+
|
|
314
|
+
- ⚠️ Code smells or moderate complexity
|
|
315
|
+
- ⚠️ Minor documentation gaps
|
|
316
|
+
- ⚠️ WCAG Level AA violations (if Level A met)
|
|
317
|
+
- ⚠️ Coverage below threshold but above minimum
|
|
318
|
+
- ⚠️ Performance anti-patterns (non-critical)
|
|
319
|
+
|
|
320
|
+
**INFORM (Informational)**:
|
|
321
|
+
|
|
322
|
+
- ℹ️ Best practice suggestions
|
|
323
|
+
- ℹ️ Optimization opportunities
|
|
324
|
+
- ℹ️ Refactoring recommendations
|
|
325
|
+
|
|
326
|
+
### Escalation Triggers
|
|
327
|
+
|
|
328
|
+
Escalate to human oversight when:
|
|
329
|
+
|
|
330
|
+
- Critical security vulnerabilities detected (CVSS ≥7.0)
|
|
331
|
+
- Major architectural violations affecting system integrity
|
|
332
|
+
- > 50% of assertions failed (complete implementation failure)
|
|
333
|
+
- Requirements are unclear, missing, or conflicting
|
|
334
|
+
- Build system failures prevent validation
|
|
335
|
+
- Systematic false positives in validation tools
|
|
336
|
+
|
|
337
|
+
### Anti-Patterns to Avoid
|
|
338
|
+
|
|
339
|
+
❌ **Subjective assessment** - "This code looks messy"
|
|
340
|
+
✅ **Objective validation** - "Cyclomatic complexity 15 exceeds threshold of 10"
|
|
341
|
+
|
|
342
|
+
❌ **Vague feedback** - "Fix the security issue"
|
|
343
|
+
✅ **Specific guidance** - "SQL injection vulnerability at line 45: use parameterized queries"
|
|
344
|
+
|
|
345
|
+
❌ **Ignoring context** - Applying same rules to all code areas
|
|
346
|
+
✅ **Contextual validation** - Different rules for API vs. UI vs. utilities
|
|
347
|
+
|
|
348
|
+
❌ **Silent failures** - Not explaining why validation failed
|
|
349
|
+
✅ **Transparent reporting** - Every failure includes reasoning and remediation
|
|
350
|
+
|
|
351
|
+
## Process Steps
|
|
352
|
+
|
|
353
|
+
The assert command executes validation through a structured pipeline of specialized prompts. The agent leverages these prompts to perform comprehensive quality assessment across multiple dimensions.
|
|
354
|
+
|
|
355
|
+
### Pipeline Architecture
|
|
356
|
+
|
|
357
|
+
The validation pipeline consists of three stages:
|
|
358
|
+
|
|
359
|
+
1. **Context Stage** - Gather all necessary validation context
|
|
360
|
+
2. **Review Stage** - Execute parallel validations across quality dimensions
|
|
361
|
+
3. **Synthesis Stage** - Aggregate results into actionable report
|
|
362
|
+
|
|
363
|
+
### Execution Flow
|
|
364
|
+
|
|
365
|
+
```mermaid
|
|
366
|
+
graph TD
|
|
367
|
+
A[Context: Gather Validation Context] --> B[Review: Validate Completeness]
|
|
368
|
+
A --> C[Review: Validate Standards Compliance]
|
|
369
|
+
A --> D[Review: Validate Type Safety]
|
|
370
|
+
A --> E[Review: Validate Security]
|
|
371
|
+
A --> F[Review: Validate Architecture]
|
|
372
|
+
A --> G[Review: Validate Accessibility*]
|
|
373
|
+
B --> H[Review: Synthesize Validation Report]
|
|
374
|
+
C --> H
|
|
375
|
+
D --> H
|
|
376
|
+
E --> H
|
|
377
|
+
F --> H
|
|
378
|
+
G --> H
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
\*Conditional execution based on frontend changes
|
|
382
|
+
|
|
383
|
+
### Stage 1: Context Gathering
|
|
384
|
+
|
|
385
|
+
**Prompt**: `context.gather-validation-context`
|
|
386
|
+
|
|
387
|
+
**Purpose**: Collect all necessary validation context including implementation scope, standards, requirements, and quality gates.
|
|
388
|
+
|
|
389
|
+
**Key Activities**:
|
|
390
|
+
|
|
391
|
+
1. **Determine implementation scope**:
|
|
392
|
+
- If `$ARG_scope` provided: Use specified scope (files/directories/commits)
|
|
393
|
+
- If in session: Use implementation details from session context
|
|
394
|
+
- If standalone: Detect git changes (staged + unstaged + recent commits)
|
|
395
|
+
|
|
396
|
+
2. **Analyze modified files**:
|
|
397
|
+
- List all changed files with change types (added/modified/deleted)
|
|
398
|
+
- Categorize by component type (UI, API, utilities, tests, config)
|
|
399
|
+
- Detect frontend vs. backend vs. full-stack changes
|
|
400
|
+
- Calculate change metrics (lines added/removed, files touched)
|
|
401
|
+
|
|
402
|
+
3. **Load project standards**:
|
|
403
|
+
- Read ESLint config (`.eslintrc*`)
|
|
404
|
+
- Read Prettier config (`prettier.config.*`)
|
|
405
|
+
- Read TypeScript config (`tsconfig.json`)
|
|
406
|
+
- Extract key rules and conventions
|
|
407
|
+
|
|
408
|
+
4. **Load architectural guidelines**:
|
|
409
|
+
- Check knowledge base for ADRs and architectural documentation
|
|
410
|
+
- Identify design patterns and module boundaries
|
|
411
|
+
- Load API contracts (OpenAPI, GraphQL schemas)
|
|
412
|
+
|
|
413
|
+
5. **Define quality gates**:
|
|
414
|
+
- Extract coverage thresholds (from config or default to 80%)
|
|
415
|
+
- Load complexity limits (cyclomatic, cognitive)
|
|
416
|
+
- Security policies (OWASP compliance level)
|
|
417
|
+
- Accessibility requirements (WCAG level)
|
|
418
|
+
|
|
419
|
+
6. **Parse acceptance criteria**:
|
|
420
|
+
- From session: `$SESSION.task_requirements`
|
|
421
|
+
- From git: Commit messages, branch names, linked issues
|
|
422
|
+
- From knowledge base: Related user stories and requirements
|
|
423
|
+
|
|
424
|
+
7. **Set validation flags**:
|
|
425
|
+
- `frontend_changes`: true if UI components modified
|
|
426
|
+
- `backend_changes`: true if API/services modified
|
|
427
|
+
- `test_changes`: true if test files modified
|
|
428
|
+
|
|
429
|
+
**Inputs**:
|
|
430
|
+
|
|
431
|
+
- `implementation_scope: $ARG_scope` (optional scope override)
|
|
432
|
+
- `session_data: $SESSION` (full session context if available)
|
|
433
|
+
|
|
434
|
+
**Outputs**:
|
|
435
|
+
|
|
436
|
+
- `implementation_details` (modified files, change metrics, scope flags)
|
|
437
|
+
- `coding_standards` (linting, formatting, naming conventions)
|
|
438
|
+
- `architectural_guidelines` (patterns, boundaries, ADRs)
|
|
439
|
+
- `quality_gates` (coverage, complexity, security, accessibility thresholds)
|
|
440
|
+
- `acceptance_criteria` (requirements to validate against)
|
|
441
|
+
- `frontend_changes` (boolean flag for conditional accessibility validation)
|
|
442
|
+
|
|
443
|
+
---
|
|
444
|
+
|
|
445
|
+
### Stage 2: Parallel Validations
|
|
446
|
+
|
|
447
|
+
#### Validate Implementation Completeness
|
|
448
|
+
|
|
449
|
+
**Prompt**: `review.validate-implementation-completeness`
|
|
450
|
+
|
|
451
|
+
**Note**: This prompt needs to be created or the existing `review.validate-completeness` prompt needs to be extended to support `document_type: "implementation"`. Currently, it only supports `specifications`, `prd`, and `plan`.
|
|
452
|
+
|
|
453
|
+
Maps acceptance criteria to implementation and verifies all requirements are addressed. For each acceptance criterion:
|
|
454
|
+
|
|
455
|
+
- **Check implementation presence**: Verify feature/functionality exists
|
|
456
|
+
- **Validate edge cases**: Ensure error scenarios and boundary conditions handled
|
|
457
|
+
- **Check completeness markers**: Look for TODO, FIXME, or placeholder comments
|
|
458
|
+
- **Assess coverage**: Estimate percentage of criteria addressed
|
|
459
|
+
|
|
460
|
+
**Outputs**: `completeness_status`, `missing_features`, `incomplete_items`, `coverage_percentage`
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
#### Validate Standards Compliance
|
|
465
|
+
|
|
466
|
+
**Prompt**: `review.validate-standards-compliance` (parallel)
|
|
467
|
+
|
|
468
|
+
Executes linting tools, checks formatting, validates naming conventions, and verifies code organization standards.
|
|
469
|
+
|
|
470
|
+
**Outputs**: `linting_results`, `formatting_results`, `convention_violations`
|
|
471
|
+
|
|
472
|
+
---
|
|
473
|
+
|
|
474
|
+
#### Validate Type Safety
|
|
475
|
+
|
|
476
|
+
**Prompt**: `review.validate-type-safety` (parallel)
|
|
477
|
+
|
|
478
|
+
Runs type checkers in strict mode, validates interface compliance, checks null safety, and calculates type coverage.
|
|
479
|
+
|
|
480
|
+
**Outputs**: `type_errors`, `contract_violations`, `type_coverage`
|
|
481
|
+
|
|
482
|
+
---
|
|
483
|
+
|
|
484
|
+
#### Validate Security
|
|
485
|
+
|
|
486
|
+
**Prompt**: `review.validate-security` (parallel)
|
|
487
|
+
|
|
488
|
+
Scans for OWASP vulnerabilities, detects hard-coded secrets, validates input handling, and checks dependency CVEs.
|
|
489
|
+
|
|
490
|
+
**Outputs**: `security_vulnerabilities`, `secrets_found`, `owasp_violations`
|
|
491
|
+
|
|
492
|
+
---
|
|
493
|
+
|
|
494
|
+
#### Validate Architecture
|
|
495
|
+
|
|
496
|
+
**Prompt**: `review.validate-architecture` (parallel)
|
|
497
|
+
|
|
498
|
+
Checks design pattern adherence, validates module boundaries, detects anti-patterns, and identifies circular dependencies.
|
|
499
|
+
|
|
500
|
+
**Outputs**: `architectural_violations`, `pattern_violations`, `boundary_breaches`
|
|
501
|
+
|
|
502
|
+
---
|
|
503
|
+
|
|
504
|
+
#### Validate Accessibility _(Conditional)_
|
|
505
|
+
|
|
506
|
+
**Prompt**: `review.validate-accessibility` (parallel, conditional)
|
|
507
|
+
|
|
508
|
+
Runs WCAG compliance audits, validates ARIA implementation, checks semantic HTML, and verifies keyboard accessibility. Only executes when frontend changes detected.
|
|
509
|
+
|
|
510
|
+
**Outputs**: `wcag_violations`, `aria_issues`, `semantic_html_issues`
|
|
511
|
+
|
|
512
|
+
---
|
|
513
|
+
|
|
514
|
+
### Stage 3: Report Synthesis
|
|
515
|
+
|
|
516
|
+
**Prompt**: `review.synthesize-validation-report`
|
|
517
|
+
|
|
518
|
+
**Purpose**: Aggregate all validation results into comprehensive, actionable assertion report.
|
|
519
|
+
|
|
520
|
+
**Key Activities**:
|
|
521
|
+
|
|
522
|
+
- Collect results from all validation dimensions
|
|
523
|
+
- Categorize issues by severity (critical/high/medium/low)
|
|
524
|
+
- Apply severity filtering based on `--severity` argument
|
|
525
|
+
- Calculate overall pass/fail status
|
|
526
|
+
- Generate prioritized remediation recommendations
|
|
527
|
+
- Format report per `--report-format` specification
|
|
528
|
+
|
|
529
|
+
**Outputs**: `validation_status`, `blocker_count`, `validation_report`
|
|
530
|
+
|
|
531
|
+
**Final Verdict**:
|
|
532
|
+
|
|
533
|
+
- **PASS** ✅ - Ready to advance to testing
|
|
534
|
+
- **BLOCKED** ❌ - Critical issues prevent advancement
|
|
535
|
+
- **WARN** ⚠️ - Non-critical issues, proceed with caution
|
|
536
|
+
|
|
537
|
+
---
|
|
538
|
+
|
|
539
|
+
## Validation Report Structure
|
|
540
|
+
|
|
541
|
+
The final validation report includes:
|
|
542
|
+
|
|
543
|
+
### 1. Executive Summary
|
|
544
|
+
|
|
545
|
+
- Overall status (PASS/BLOCKED/WARN)
|
|
546
|
+
- Critical, high, medium, low issue counts
|
|
547
|
+
- Recommendation for next steps
|
|
548
|
+
|
|
549
|
+
### 2. Validation Dimensions Table
|
|
550
|
+
|
|
551
|
+
Matrix showing status of each validation dimension with issue counts
|
|
552
|
+
|
|
553
|
+
### 3. Critical Blockers
|
|
554
|
+
|
|
555
|
+
Detailed enumeration of all blocking issues with:
|
|
556
|
+
|
|
557
|
+
- Location (file:line)
|
|
558
|
+
- Rule/standard violated
|
|
559
|
+
- Impact explanation
|
|
560
|
+
- Specific remediation steps
|
|
561
|
+
- Documentation references
|
|
562
|
+
|
|
563
|
+
### 4. Quality Metrics
|
|
564
|
+
|
|
565
|
+
- Lines changed
|
|
566
|
+
- Completeness percentage
|
|
567
|
+
- Code coverage vs. threshold
|
|
568
|
+
- Type coverage
|
|
569
|
+
- Complexity metrics
|
|
570
|
+
- Security score
|
|
571
|
+
- Accessibility score
|
|
572
|
+
- Technical debt estimate
|
|
573
|
+
|
|
574
|
+
### 5. Requirements Traceability
|
|
575
|
+
|
|
576
|
+
Matrix mapping requirements to implementation and validation status
|
|
577
|
+
|
|
578
|
+
### 6. Next Steps
|
|
579
|
+
|
|
580
|
+
Prioritized remediation list with effort estimates and required skills
|
|
581
|
+
|
|
582
|
+
### 7. Reproducibility
|
|
583
|
+
|
|
584
|
+
Commands to reproduce validation results locally
|
|
585
|
+
|
|
586
|
+
---
|
|
587
|
+
|
|
588
|
+
## Prompt Reusability
|
|
589
|
+
|
|
590
|
+
The `review.validate-completeness` prompt is designed for reusability across multiple commands:
|
|
591
|
+
|
|
592
|
+
- **For /assert**: Validates implementation completeness against acceptance criteria
|
|
593
|
+
- **For /review-plan**: Validates plan completeness against requirements
|
|
594
|
+
- **For /create-prd**: Validates PRD completeness before backlog creation
|
|
595
|
+
|
|
596
|
+
The prompt adapts its validation criteria based on the `document_type` input parameter.
|
|
597
|
+
|
|
598
|
+
---
|
|
599
|
+
|
|
600
|
+
## Output Requirements
|
|
601
|
+
|
|
602
|
+
### Validation Report Quality Checklist
|
|
603
|
+
|
|
604
|
+
Before finalizing the report, verify:
|
|
605
|
+
|
|
606
|
+
- [ ] **Overall verdict is clear** - PASS, BLOCKED, or WARN with justification
|
|
607
|
+
- [ ] **All dimensions validated** - Completeness, standards, type safety, security, architecture, accessibility, build
|
|
608
|
+
- [ ] **Critical issues enumerated** - Every blocker listed with full details
|
|
609
|
+
- [ ] **Locations are specific** - File paths and line numbers provided
|
|
610
|
+
- [ ] **Remediation is actionable** - Specific steps to fix each issue
|
|
611
|
+
- [ ] **Severity is justified** - Clear reasoning for severity classifications
|
|
612
|
+
- [ ] **Metrics are quantified** - Numbers, not vague descriptions
|
|
613
|
+
- [ ] **Requirements mapped** - Traceability matrix shows coverage
|
|
614
|
+
- [ ] **Reproducibility documented** - Commands to re-run validation
|
|
615
|
+
- [ ] **Resources provided** - Links to relevant documentation
|
|
616
|
+
|
|
617
|
+
### Success Metrics
|
|
618
|
+
|
|
619
|
+
A successful assertion enables:
|
|
620
|
+
|
|
621
|
+
1. **Clear go/no-go decision** - Unambiguous pass/fail status
|
|
622
|
+
2. **Rapid remediation** - Specific guidance enables quick fixes
|
|
623
|
+
3. **Quality assurance** - Confidence that implementation meets standards
|
|
624
|
+
4. **Test readiness** - QA can focus on functional testing, not basic compliance
|
|
625
|
+
5. **Continuous improvement** - Patterns in failures inform better practices
|
|
626
|
+
|
|
627
|
+
### Handoff to Next Phase
|
|
628
|
+
|
|
629
|
+
**If PASS ✅**:
|
|
630
|
+
|
|
631
|
+
- Proceed to `/test` command
|
|
632
|
+
- Implementation ready for functional validation
|
|
633
|
+
- Non-blocking warnings can be addressed in parallel
|
|
634
|
+
|
|
635
|
+
**If BLOCKED ❌**:
|
|
636
|
+
|
|
637
|
+
- Return to `/implement` with remediation guidance
|
|
638
|
+
- Address critical blockers before re-asserting
|
|
639
|
+
- May require `/review-plan` if fundamental issues found
|
|
640
|
+
|
|
641
|
+
**If WARN ⚠️**:
|
|
642
|
+
|
|
643
|
+
- Can proceed to `/test` with caution
|
|
644
|
+
- Non-critical issues should be addressed post-testing
|
|
645
|
+
- Document warnings for review phase
|
|
646
|
+
|
|
647
|
+
**Next Command**:
|
|
648
|
+
|
|
649
|
+
- **If PASS**: `/test` to execute test suites
|
|
650
|
+
- **If BLOCKED**: Return to implementation with remediation plan
|
|
651
|
+
- **If systematic issues**: `/feedback` to improve standards or tooling
|
|
652
|
+
|
|
653
|
+
## Metrics Collection
|
|
654
|
+
|
|
655
|
+
After assertion completes, emit quality metrics as JSON:
|
|
656
|
+
|
|
657
|
+
```typescript
|
|
658
|
+
quality_metrics: {
|
|
659
|
+
lint_errors_assert: number, // Linter errors found in assert phase
|
|
660
|
+
test_failures: number, // Test failures (if tests run)
|
|
661
|
+
test_passes: number // Test passes (if tests run)
|
|
662
|
+
}
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
Store these in command outputs for session logging and metrics extraction.
|
|
666
|
+
|
|
667
|
+
## Command Output Summary
|
|
668
|
+
|
|
669
|
+
Print the following summary at command completion:
|
|
670
|
+
|
|
671
|
+
**For PASS:**
|
|
672
|
+
|
|
673
|
+
```markdown
|
|
674
|
+
## ✅ Assertion: PASS
|
|
675
|
+
|
|
676
|
+
**Overall Status**: PASS
|
|
677
|
+
**Blockers**: 0 critical issues
|
|
678
|
+
|
|
679
|
+
### Validation Results
|
|
680
|
+
|
|
681
|
+
| Dimension | Status | Issues |
|
|
682
|
+
| ------------ | ------- | ------ |
|
|
683
|
+
| Completeness | ✅ Pass | 0 |
|
|
684
|
+
| Standards | ✅ Pass | 0 |
|
|
685
|
+
| Type Safety | ✅ Pass | 0 |
|
|
686
|
+
| Security | ✅ Pass | 0 |
|
|
687
|
+
| Architecture | ✅ Pass | 0 |
|
|
688
|
+
|
|
689
|
+
### Quality Metrics
|
|
690
|
+
|
|
691
|
+
- **Coverage**: [XX]%
|
|
692
|
+
- **Type Coverage**: [XX]%
|
|
693
|
+
- **Complexity**: Within limits
|
|
694
|
+
|
|
695
|
+
### Next Step
|
|
696
|
+
|
|
697
|
+
→ `/test` to execute comprehensive test suites
|
|
698
|
+
```
|
|
699
|
+
|
|
700
|
+
**For WARN:**
|
|
701
|
+
|
|
702
|
+
```markdown
|
|
703
|
+
## ⚠️ Assertion: WARN
|
|
704
|
+
|
|
705
|
+
**Overall Status**: WARN - Proceed with caution
|
|
706
|
+
**Blockers**: 0 | **Warnings**: [N]
|
|
707
|
+
|
|
708
|
+
### Validation Results
|
|
709
|
+
|
|
710
|
+
| Dimension | Status | Issues |
|
|
711
|
+
| ------------ | ------- | ------ |
|
|
712
|
+
| Completeness | ✅ Pass | 0 |
|
|
713
|
+
| Standards | ⚠️ Warn | [N] |
|
|
714
|
+
| Type Safety | ✅ Pass | 0 |
|
|
715
|
+
| Security | ✅ Pass | 0 |
|
|
716
|
+
| Architecture | ⚠️ Warn | [N] |
|
|
717
|
+
|
|
718
|
+
### Warnings
|
|
719
|
+
|
|
720
|
+
- [Warning 1]
|
|
721
|
+
- [Warning 2]
|
|
722
|
+
|
|
723
|
+
### Next Step
|
|
724
|
+
|
|
725
|
+
→ `/test` (proceed with caution, address warnings post-testing)
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
**For BLOCKED:**
|
|
729
|
+
|
|
730
|
+
```markdown
|
|
731
|
+
## ❌ Assertion: BLOCKED
|
|
732
|
+
|
|
733
|
+
**Overall Status**: BLOCKED
|
|
734
|
+
**Blockers**: [N] critical issues
|
|
735
|
+
|
|
736
|
+
### Critical Issues
|
|
737
|
+
|
|
738
|
+
1. **[Issue Category]**: [Description]
|
|
739
|
+
- **Location**: [file:line]
|
|
740
|
+
- **Remediation**: [How to fix]
|
|
741
|
+
|
|
742
|
+
2. **[Issue Category]**: [Description]
|
|
743
|
+
- **Location**: [file:line]
|
|
744
|
+
- **Remediation**: [How to fix]
|
|
745
|
+
|
|
746
|
+
### Next Step
|
|
747
|
+
|
|
748
|
+
→ Return to `/implement` to address critical issues
|
|
749
|
+
```
|
|
750
|
+
|
|
751
|
+
---
|
|
752
|
+
|
|
753
|
+
## Quick Assertion Mode
|
|
754
|
+
|
|
755
|
+
When `--quick` flag is used, the assertion switches to fast template-based validation:
|
|
756
|
+
|
|
757
|
+
### Purpose
|
|
758
|
+
|
|
759
|
+
Reduce assertion time from ~9 min to ~2-5 min by using standardised templates for quick pass/fail validation. Automates common completeness checks.
|
|
760
|
+
|
|
761
|
+
### Available Templates
|
|
762
|
+
|
|
763
|
+
| Template | Focus | Time |
|
|
764
|
+
| -------------- | ------------------------------------ | ------ |
|
|
765
|
+
| `completeness` | Acceptance criteria, features, tests | ~2 min |
|
|
766
|
+
| `security` | OWASP, secrets, input validation | ~2 min |
|
|
767
|
+
| `typescript` | Type safety, conventions, patterns | ~2 min |
|
|
768
|
+
| `all` | All templates sequentially | ~5 min |
|
|
769
|
+
|
|
770
|
+
### Template Details
|
|
771
|
+
|
|
772
|
+
#### ASSERT_COMPLETENESS.md
|
|
773
|
+
|
|
774
|
+
Validates implementation completeness:
|
|
775
|
+
|
|
776
|
+
- Acceptance criteria coverage (100% required)
|
|
777
|
+
- Feature completeness (no TODOs/stubs)
|
|
778
|
+
- Error handling (happy path, errors, edge cases)
|
|
779
|
+
- Integration points (APIs, database, services)
|
|
780
|
+
- Test coverage (unit, integration, E2E)
|
|
781
|
+
|
|
782
|
+
#### ASSERT_SECURITY.md
|
|
783
|
+
|
|
784
|
+
Validates security compliance:
|
|
785
|
+
|
|
786
|
+
- Input validation (CRITICAL)
|
|
787
|
+
- Injection prevention (CRITICAL)
|
|
788
|
+
- Authentication & authorisation (CRITICAL)
|
|
789
|
+
- Secrets management (CRITICAL)
|
|
790
|
+
- Data protection
|
|
791
|
+
- Dependency security
|
|
792
|
+
- Error handling security
|
|
793
|
+
|
|
794
|
+
Includes OWASP Top 10 quick check.
|
|
795
|
+
|
|
796
|
+
#### ASSERT_TYPESCRIPT.md
|
|
797
|
+
|
|
798
|
+
Validates TypeScript-specific standards:
|
|
799
|
+
|
|
800
|
+
- Type safety (CRITICAL) - tsc:check, no `any`
|
|
801
|
+
- Naming conventions - PascalCase, camelCase, etc.
|
|
802
|
+
- Code quality (CRITICAL) - lint, format
|
|
803
|
+
- Type definitions - interfaces, explicit types
|
|
804
|
+
- Modern patterns - const, functional, async/await
|
|
805
|
+
- Error handling - custom errors, try/catch
|
|
806
|
+
- Testing (CRITICAL) - Vitest, coverage
|
|
807
|
+
- Architecture compliance
|
|
808
|
+
|
|
809
|
+
### When to Use Quick Mode
|
|
810
|
+
|
|
811
|
+
- **Pre-flight validation** before full assertion
|
|
812
|
+
- **Iterative development** for rapid feedback
|
|
813
|
+
- **Focused checks** when you know the concern area
|
|
814
|
+
- **CI integration** for fast first-pass validation
|
|
815
|
+
|
|
816
|
+
### Quick Mode Output
|
|
817
|
+
|
|
818
|
+
```markdown
|
|
819
|
+
## Quick Assertion: PASS
|
|
820
|
+
|
|
821
|
+
**Mode**: --quick=typescript
|
|
822
|
+
**Scope**: src/api/users.ts
|
|
823
|
+
**Duration**: 1.8 min
|
|
824
|
+
|
|
825
|
+
### Template Results
|
|
826
|
+
|
|
827
|
+
| Section | Passed | Total |
|
|
828
|
+
| ------------------ | ------ | -------- |
|
|
829
|
+
| Type Safety | 5 | 5 |
|
|
830
|
+
| Naming Conventions | 5 | 5 |
|
|
831
|
+
| Code Quality | 4 | 5 |
|
|
832
|
+
| Type Definitions | 5 | 5 |
|
|
833
|
+
| Modern Patterns | 5 | 5 |
|
|
834
|
+
| Error Handling | 5 | 5 |
|
|
835
|
+
| Testing | 5 | 5 |
|
|
836
|
+
| Architecture | 4 | 5 |
|
|
837
|
+
| **TOTAL** | 38 | 40 (95%) |
|
|
838
|
+
|
|
839
|
+
### Failed Items
|
|
840
|
+
|
|
841
|
+
- 3.5 - console.log found at line 45
|
|
842
|
+
- 8.3 - UserService has 15 methods (consider splitting)
|
|
843
|
+
|
|
844
|
+
### Verdict: PASS (95% >= 80% threshold)
|
|
845
|
+
|
|
846
|
+
### Next Step
|
|
847
|
+
|
|
848
|
+
→ `/test` to execute comprehensive test suites
|
|
849
|
+
→ Or run `valora assert` for full pipeline validation
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
### Quick Mode vs Full Mode
|
|
853
|
+
|
|
854
|
+
| Aspect | Quick Mode | Full Mode |
|
|
855
|
+
| ---------- | ---------------------- | ----------------- |
|
|
856
|
+
| Duration | ~2-5 min | ~9 min |
|
|
857
|
+
| Depth | Binary Y/N checklists | Deep analysis |
|
|
858
|
+
| Output | Template-based report | Narrative report |
|
|
859
|
+
| Use case | Pre-flight, iteration | Final gate |
|
|
860
|
+
| Automation | High (checklist items) | Medium (analysis) |
|
|
861
|
+
|
|
862
|
+
### Workflow Integration
|
|
863
|
+
|
|
864
|
+
```
|
|
865
|
+
/implement
|
|
866
|
+
|
|
|
867
|
+
v
|
|
868
|
+
valora assert --quick=typescript <-- Fast feedback (~2 min)
|
|
869
|
+
|
|
|
870
|
+
v (if issues)
|
|
871
|
+
/implement (fix issues)
|
|
872
|
+
|
|
|
873
|
+
v
|
|
874
|
+
valora assert --quick=all <-- Broader check (~5 min)
|
|
875
|
+
|
|
|
876
|
+
v (if PASS)
|
|
877
|
+
valora assert <-- Full validation (~9 min)
|
|
878
|
+
|
|
|
879
|
+
v
|
|
880
|
+
/test
|
|
881
|
+
```
|
|
882
|
+
|
|
883
|
+
### Combining with Full Assertion
|
|
884
|
+
|
|
885
|
+
Quick mode can be used as a pre-filter:
|
|
886
|
+
|
|
887
|
+
```bash
|
|
888
|
+
# Quick check first
|
|
889
|
+
valora assert --quick=all
|
|
890
|
+
|
|
891
|
+
# If quick passes, run full
|
|
892
|
+
valora assert --severity=all --report-format=detailed
|
|
893
|
+
```
|
|
894
|
+
|
|
895
|
+
This workflow catches common issues early, reducing total validation time when issues are present.
|