@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,630 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: documentation.generate-infrastructure-docs
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
category: documentation
|
|
5
|
+
experimental: true
|
|
6
|
+
name: Generate Infrastructure Documentation
|
|
7
|
+
description: Generate 6 infrastructure documentation files (HLD, CONTAINER, DEPLOYMENT, LOGGING, LZ, WORKFLOW)
|
|
8
|
+
tags:
|
|
9
|
+
- documentation
|
|
10
|
+
- infrastructure
|
|
11
|
+
- devops
|
|
12
|
+
model_requirements:
|
|
13
|
+
min_context: 128000
|
|
14
|
+
recommended:
|
|
15
|
+
- claude-haiku-4.5
|
|
16
|
+
agents:
|
|
17
|
+
- platform-engineer
|
|
18
|
+
dependencies:
|
|
19
|
+
requires:
|
|
20
|
+
- onboard.analyze-documentation-requirements
|
|
21
|
+
- context.use-modern-cli-tools
|
|
22
|
+
inputs:
|
|
23
|
+
- name: documentation_plan
|
|
24
|
+
description: Full documentation plan object (extract infrastructure domain)
|
|
25
|
+
type: object
|
|
26
|
+
required: true
|
|
27
|
+
- name: diagram_requirements
|
|
28
|
+
description: Full diagram requirements object (extract infrastructure domain)
|
|
29
|
+
type: object
|
|
30
|
+
required: true
|
|
31
|
+
- name: cross_refs
|
|
32
|
+
description: Cross-reference mappings
|
|
33
|
+
type: object
|
|
34
|
+
required: true
|
|
35
|
+
- name: prd
|
|
36
|
+
description: PRD document context
|
|
37
|
+
type: object
|
|
38
|
+
required: true
|
|
39
|
+
- name: codebase
|
|
40
|
+
description: Codebase context
|
|
41
|
+
type: object
|
|
42
|
+
required: true
|
|
43
|
+
- name: target_domain
|
|
44
|
+
description: Domain to generate (always 'infrastructure' for this prompt)
|
|
45
|
+
type: string
|
|
46
|
+
required: true
|
|
47
|
+
- name: security_requirements
|
|
48
|
+
description: Security policies, compliance frameworks, and threat model context
|
|
49
|
+
type: object
|
|
50
|
+
required: false
|
|
51
|
+
outputs:
|
|
52
|
+
- hld_document
|
|
53
|
+
- container_document
|
|
54
|
+
- deployment_document
|
|
55
|
+
- logging_document
|
|
56
|
+
- lz_document
|
|
57
|
+
- workflow_document
|
|
58
|
+
- security_compliance_summary
|
|
59
|
+
tokens:
|
|
60
|
+
avg: 25000
|
|
61
|
+
max: 50000
|
|
62
|
+
min: 15000
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
# Generate Infrastructure Documentation
|
|
66
|
+
|
|
67
|
+
## Objective
|
|
68
|
+
|
|
69
|
+
Generate 6 comprehensive infrastructure documentation files by **writing them directly to disk** using the `write` tool. Apply British English for prose and include Mermaid diagrams as specified.
|
|
70
|
+
|
|
71
|
+
## CRITICAL: Write Files Directly
|
|
72
|
+
|
|
73
|
+
**DO NOT return document content in JSON.** Instead:
|
|
74
|
+
|
|
75
|
+
1. Use the `write` tool to write each document file directly
|
|
76
|
+
2. Return only metadata about what was written
|
|
77
|
+
|
|
78
|
+
This prevents JSON truncation issues with large documents.
|
|
79
|
+
|
|
80
|
+
## Input Processing
|
|
81
|
+
|
|
82
|
+
**Extract your domain-specific data from the full input objects:**
|
|
83
|
+
|
|
84
|
+
- `plan = documentation_plan.infrastructure` (or `documentation_plan[target_domain]`)
|
|
85
|
+
- `diagrams = diagram_requirements.infrastructure` (or `diagram_requirements[target_domain]`)
|
|
86
|
+
|
|
87
|
+
If the infrastructure domain is not present or `plan.enabled` is false, output an empty result with all documents set to `null`.
|
|
88
|
+
|
|
89
|
+
## Language Standards
|
|
90
|
+
|
|
91
|
+
- **British English** for all prose content (colour, behaviour, organisation, utilise)
|
|
92
|
+
- **American English** for code snippets and technical identifiers
|
|
93
|
+
- Consistent spelling throughout each document
|
|
94
|
+
|
|
95
|
+
## Security and Compliance Requirements
|
|
96
|
+
|
|
97
|
+
Each infrastructure document MUST include security considerations to reduce security review iterations. Include the following based on document type:
|
|
98
|
+
|
|
99
|
+
### Security Topics by Document
|
|
100
|
+
|
|
101
|
+
| Document | Required Security Sections |
|
|
102
|
+
| ------------- | ----------------------------------------------------------------------------------- |
|
|
103
|
+
| HLD.md | Threat model overview, security architecture, data classification, trust boundaries |
|
|
104
|
+
| CONTAINER.md | Image security, runtime security, secrets handling, vulnerability scanning |
|
|
105
|
+
| DEPLOYMENT.md | Security gates, compliance checks, secrets injection, access controls |
|
|
106
|
+
| LOGGING.md | Security event logging, audit trails, PII handling, log retention policies |
|
|
107
|
+
| LZ.md | Network security, encryption standards, compliance frameworks, security controls |
|
|
108
|
+
| WORKFLOW.md | Branch protection, code signing, security scanning in CI, access reviews |
|
|
109
|
+
|
|
110
|
+
### Compliance Frameworks to Address
|
|
111
|
+
|
|
112
|
+
When `security_requirements` input includes compliance frameworks, ensure documentation addresses:
|
|
113
|
+
|
|
114
|
+
**SOC 2 Type II**:
|
|
115
|
+
|
|
116
|
+
- Access control documentation
|
|
117
|
+
- Change management procedures
|
|
118
|
+
- Monitoring and alerting
|
|
119
|
+
- Incident response references
|
|
120
|
+
|
|
121
|
+
**ISO 27001**:
|
|
122
|
+
|
|
123
|
+
- Information security policies
|
|
124
|
+
- Asset management
|
|
125
|
+
- Cryptographic controls
|
|
126
|
+
- Operations security
|
|
127
|
+
|
|
128
|
+
**GDPR** (if applicable):
|
|
129
|
+
|
|
130
|
+
- Data processing documentation
|
|
131
|
+
- Data retention policies
|
|
132
|
+
- Cross-border transfer considerations
|
|
133
|
+
- Data subject rights support
|
|
134
|
+
|
|
135
|
+
**PCI-DSS** (if applicable):
|
|
136
|
+
|
|
137
|
+
- Cardholder data environment boundaries
|
|
138
|
+
- Network segmentation
|
|
139
|
+
- Encryption requirements
|
|
140
|
+
- Access logging
|
|
141
|
+
|
|
142
|
+
**HIPAA** (if applicable):
|
|
143
|
+
|
|
144
|
+
- PHI handling procedures
|
|
145
|
+
- Audit controls
|
|
146
|
+
- Transmission security
|
|
147
|
+
- Backup and recovery
|
|
148
|
+
|
|
149
|
+
### Security Documentation Standards
|
|
150
|
+
|
|
151
|
+
For each security section, include:
|
|
152
|
+
|
|
153
|
+
1. **Control Description**: What security control is implemented
|
|
154
|
+
2. **Implementation Details**: How it is configured/deployed
|
|
155
|
+
3. **Verification Method**: How to verify the control is working
|
|
156
|
+
4. **Compliance Mapping**: Which compliance requirements it satisfies
|
|
157
|
+
5. **Exceptions/Gaps**: Any known gaps with remediation plans
|
|
158
|
+
|
|
159
|
+
## Document Header Template
|
|
160
|
+
|
|
161
|
+
All documents must begin with this header:
|
|
162
|
+
|
|
163
|
+
```markdown
|
|
164
|
+
# [Document Title]
|
|
165
|
+
|
|
166
|
+
| Attribute | Value |
|
|
167
|
+
| ---------------- | --------------------------- |
|
|
168
|
+
| **Purpose** | [Brief purpose description] |
|
|
169
|
+
| **Version** | 1.0.0 |
|
|
170
|
+
| **Author** | AI Documentation Generator |
|
|
171
|
+
| **Created** | [YYYY-MM-DD] |
|
|
172
|
+
| **Last Updated** | [YYYY-MM-DD] |
|
|
173
|
+
| **Status** | Draft |
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Instructions
|
|
179
|
+
|
|
180
|
+
### Step 1: Create Output Directory
|
|
181
|
+
|
|
182
|
+
Use `list_dir` to check if `knowledge-base/infrastructure/` exists.
|
|
183
|
+
|
|
184
|
+
### Step 2: Generate and Write HLD.md
|
|
185
|
+
|
|
186
|
+
Use the `write` tool to create `knowledge-base/infrastructure/HLD.md` with:
|
|
187
|
+
|
|
188
|
+
**Required sections**:
|
|
189
|
+
|
|
190
|
+
1. **Purpose** - Document scope
|
|
191
|
+
2. **System Overview** - High-level system description
|
|
192
|
+
3. **C4 Context Diagram** (Mermaid C4Context)
|
|
193
|
+
4. **C4 Container Diagram** (Mermaid C4Container)
|
|
194
|
+
5. **Technology Stack** - Complete technology inventory
|
|
195
|
+
6. **Non-Functional Requirements** - NFR mapping
|
|
196
|
+
7. **External Integrations** - Third-party services
|
|
197
|
+
8. **Security Architecture** - Comprehensive security section including:
|
|
198
|
+
- Threat model overview (STRIDE categories addressed)
|
|
199
|
+
- Trust boundaries and data flow security
|
|
200
|
+
- Authentication and authorisation architecture
|
|
201
|
+
- Data classification (public, internal, confidential, restricted)
|
|
202
|
+
- Encryption standards (at-rest, in-transit, key management)
|
|
203
|
+
- Security controls matrix with compliance mapping
|
|
204
|
+
9. **Compliance Overview** - Regulatory and framework compliance:
|
|
205
|
+
- Applicable compliance frameworks
|
|
206
|
+
- Control implementation status
|
|
207
|
+
- Audit readiness checklist
|
|
208
|
+
- Exceptions and remediation timeline
|
|
209
|
+
10. **Troubleshooting** - Common issues
|
|
210
|
+
11. **Best Practices** - Architecture best practices
|
|
211
|
+
12. **Related Documentation** - Cross-references
|
|
212
|
+
13. **Changelog** - Version history
|
|
213
|
+
|
|
214
|
+
### Step 3: Generate and Write CONTAINER.md
|
|
215
|
+
|
|
216
|
+
Use the `write` tool to create `knowledge-base/infrastructure/CONTAINER.md` with:
|
|
217
|
+
|
|
218
|
+
**Required sections**:
|
|
219
|
+
|
|
220
|
+
1. **Purpose** - Container strategy overview
|
|
221
|
+
2. **Container Overview** - Inventory and purposes
|
|
222
|
+
3. **Container Topology Diagram** (Mermaid)
|
|
223
|
+
4. **Dockerfile Configuration** - Image build
|
|
224
|
+
5. **Docker Compose Setup** - Orchestration
|
|
225
|
+
6. **Image Management** - Registry, versioning
|
|
226
|
+
7. **Environment Configuration** - Env vars
|
|
227
|
+
8. **Volume Management** - Storage
|
|
228
|
+
9. **Networking** - Container networking
|
|
229
|
+
10. **Health Checks** - Monitoring
|
|
230
|
+
11. **Container Security** - Security hardening section including:
|
|
231
|
+
- Base image security (approved registries, vulnerability thresholds)
|
|
232
|
+
- Image scanning integration (Trivy, Snyk, or equivalent)
|
|
233
|
+
- Runtime security (read-only filesystems, non-root users, capabilities)
|
|
234
|
+
- Secrets management (never in images, injection methods)
|
|
235
|
+
- Network policies and segmentation
|
|
236
|
+
- Security contexts and pod security standards
|
|
237
|
+
12. **Troubleshooting** - Container issues
|
|
238
|
+
13. **Best Practices** - Container best practices
|
|
239
|
+
14. **Related Documentation** - Cross-references
|
|
240
|
+
15. **Changelog** - Version history
|
|
241
|
+
|
|
242
|
+
### Step 4: Generate and Write DEPLOYMENT.md
|
|
243
|
+
|
|
244
|
+
Use the `write` tool to create `knowledge-base/infrastructure/DEPLOYMENT.md` with:
|
|
245
|
+
|
|
246
|
+
**Required sections**:
|
|
247
|
+
|
|
248
|
+
1. **Purpose** - Deployment strategy
|
|
249
|
+
2. **Deployment Pipeline Diagram** (Mermaid flowchart)
|
|
250
|
+
3. **Environments** - Environment definitions
|
|
251
|
+
4. **CI/CD Configuration** - Pipeline config
|
|
252
|
+
5. **Deployment Process** - Step-by-step
|
|
253
|
+
6. **Release Process** - Release workflow
|
|
254
|
+
7. **Rollback Procedures** - Rollback strategy
|
|
255
|
+
8. **Health Checks** - Post-deployment
|
|
256
|
+
9. **Environment Variables** - Config by env
|
|
257
|
+
10. **Secrets Management** - Sensitive data handling:
|
|
258
|
+
- Secrets storage (vault, cloud secrets manager)
|
|
259
|
+
- Rotation policies and procedures
|
|
260
|
+
- Access audit logging
|
|
261
|
+
- Emergency revocation process
|
|
262
|
+
11. **Security Gates** - Pre-deployment security checks:
|
|
263
|
+
- SAST (Static Application Security Testing) requirements
|
|
264
|
+
- DAST (Dynamic Application Security Testing) integration
|
|
265
|
+
- Dependency vulnerability scanning
|
|
266
|
+
- Container image scanning
|
|
267
|
+
- Infrastructure-as-Code security scanning
|
|
268
|
+
- Compliance policy-as-code checks
|
|
269
|
+
- Required approvals for production
|
|
270
|
+
12. **Compliance Verification** - Deployment compliance:
|
|
271
|
+
- Change management documentation
|
|
272
|
+
- Approval workflows and audit trails
|
|
273
|
+
- Environment parity verification
|
|
274
|
+
- Configuration drift detection
|
|
275
|
+
13. **Troubleshooting** - Deployment issues
|
|
276
|
+
14. **Best Practices** - Deployment best practices
|
|
277
|
+
15. **Related Documentation** - Cross-references
|
|
278
|
+
16. **Changelog** - Version history
|
|
279
|
+
|
|
280
|
+
### Step 5: Generate and Write LOGGING.md
|
|
281
|
+
|
|
282
|
+
Use the `write` tool to create `knowledge-base/infrastructure/LOGGING.md` with:
|
|
283
|
+
|
|
284
|
+
**Required sections**:
|
|
285
|
+
|
|
286
|
+
1. **Purpose** - Observability strategy
|
|
287
|
+
2. **Observability Architecture Diagram** (Mermaid)
|
|
288
|
+
3. **Logging Strategy** - Log levels, formats
|
|
289
|
+
4. **Log Aggregation** - Centralised logging
|
|
290
|
+
5. **Metrics Collection** - Application metrics
|
|
291
|
+
6. **Alerting** - Alert rules
|
|
292
|
+
7. **Tracing** - Distributed tracing
|
|
293
|
+
8. **Dashboards** - Monitoring dashboards
|
|
294
|
+
9. **Log Analysis** - Common queries
|
|
295
|
+
10. **Security Logging** - Security-specific logging:
|
|
296
|
+
- Authentication events (success, failure, MFA)
|
|
297
|
+
- Authorisation decisions (access granted/denied)
|
|
298
|
+
- Administrative actions (user management, config changes)
|
|
299
|
+
- Data access patterns (sensitive data queries)
|
|
300
|
+
- Security alerts and anomalies
|
|
301
|
+
- Compliance-required events by framework
|
|
302
|
+
11. **Audit Trail Requirements** - Compliance audit logging:
|
|
303
|
+
- Immutable log storage
|
|
304
|
+
- Log integrity verification
|
|
305
|
+
- Retention periods by compliance framework
|
|
306
|
+
- Chain of custody documentation
|
|
307
|
+
- Audit log access controls
|
|
308
|
+
12. **PII and Sensitive Data Handling** - Data protection in logs:
|
|
309
|
+
- PII detection and masking
|
|
310
|
+
- Sensitive field redaction
|
|
311
|
+
- Log sanitisation procedures
|
|
312
|
+
- Data residency considerations
|
|
313
|
+
13. **Troubleshooting** - Observability issues
|
|
314
|
+
14. **Best Practices** - Logging best practices
|
|
315
|
+
15. **Related Documentation** - Cross-references
|
|
316
|
+
16. **Changelog** - Version history
|
|
317
|
+
|
|
318
|
+
### Step 6: Generate and Write LZ.md
|
|
319
|
+
|
|
320
|
+
Use the `write` tool to create `knowledge-base/infrastructure/LZ.md` with:
|
|
321
|
+
|
|
322
|
+
**Required sections**:
|
|
323
|
+
|
|
324
|
+
1. **Purpose** - Landing zone overview
|
|
325
|
+
2. **Network Topology Diagram** (Mermaid)
|
|
326
|
+
3. **Cloud Resources** - Resource inventory
|
|
327
|
+
4. **VPC Structure** - Virtual network config
|
|
328
|
+
5. **Security Boundaries** - Security zones and trust levels
|
|
329
|
+
6. **Network Security** - Network security controls:
|
|
330
|
+
- Network segmentation strategy
|
|
331
|
+
- Firewall rules and security groups
|
|
332
|
+
- Web Application Firewall (WAF) configuration
|
|
333
|
+
- DDoS protection measures
|
|
334
|
+
- Private endpoints and service mesh
|
|
335
|
+
7. **IAM Policies** - Access management:
|
|
336
|
+
- Role-based access control (RBAC) model
|
|
337
|
+
- Least privilege implementation
|
|
338
|
+
- Service account management
|
|
339
|
+
- Cross-account access patterns
|
|
340
|
+
- Emergency access procedures
|
|
341
|
+
8. **Encryption Standards** - Data protection:
|
|
342
|
+
- Encryption at rest (algorithms, key lengths)
|
|
343
|
+
- Encryption in transit (TLS versions, cipher suites)
|
|
344
|
+
- Key management (KMS, HSM, rotation)
|
|
345
|
+
- Certificate management
|
|
346
|
+
9. **Resource Groups** - Organisation
|
|
347
|
+
10. **Connectivity** - Network connectivity
|
|
348
|
+
11. **Compliance Framework Implementation** - Detailed compliance:
|
|
349
|
+
- Framework-specific control mapping
|
|
350
|
+
- Evidence collection procedures
|
|
351
|
+
- Continuous compliance monitoring
|
|
352
|
+
- Gap analysis and remediation tracking
|
|
353
|
+
- Audit preparation checklist
|
|
354
|
+
12. **Security Monitoring** - Infrastructure security:
|
|
355
|
+
- Cloud security posture management (CSPM)
|
|
356
|
+
- Configuration compliance scanning
|
|
357
|
+
- Vulnerability management
|
|
358
|
+
- Intrusion detection/prevention
|
|
359
|
+
13. **Troubleshooting** - Infrastructure issues
|
|
360
|
+
14. **Best Practices** - Cloud best practices
|
|
361
|
+
15. **Related Documentation** - Cross-references
|
|
362
|
+
16. **Changelog** - Version history
|
|
363
|
+
|
|
364
|
+
### Step 7: Generate and Write WORKFLOW.md
|
|
365
|
+
|
|
366
|
+
Use the `write` tool to create `knowledge-base/infrastructure/WORKFLOW.md` with:
|
|
367
|
+
|
|
368
|
+
**Required sections**:
|
|
369
|
+
|
|
370
|
+
1. **Purpose** - Workflow overview
|
|
371
|
+
2. **Git Flow Diagram** (Mermaid gitGraph)
|
|
372
|
+
3. **Branch Naming** - Conventions
|
|
373
|
+
4. **Commit Guidelines** - Message standards
|
|
374
|
+
5. **Pull Request Process** - PR workflow
|
|
375
|
+
6. **Code Review** - Review guidelines including security review
|
|
376
|
+
7. **Security in CI/CD** - Security integration:
|
|
377
|
+
- Branch protection rules
|
|
378
|
+
- Required security checks before merge
|
|
379
|
+
- Automated security scanning (SAST, secrets detection)
|
|
380
|
+
- Dependency vulnerability checks
|
|
381
|
+
- Code signing and provenance
|
|
382
|
+
- Security review requirements for sensitive changes
|
|
383
|
+
8. **Release Process** - Release workflow
|
|
384
|
+
9. **Hotfix Process** - Emergency fixes with security considerations
|
|
385
|
+
10. **Access Control** - Repository and pipeline access:
|
|
386
|
+
- Repository access levels
|
|
387
|
+
- Pipeline secrets access
|
|
388
|
+
- Deployment credentials management
|
|
389
|
+
- Periodic access reviews
|
|
390
|
+
11. **Development Environment** - Local setup
|
|
391
|
+
12. **Troubleshooting** - Workflow issues
|
|
392
|
+
13. **Best Practices** - Dev best practices including secure coding
|
|
393
|
+
14. **Related Documentation** - Cross-references
|
|
394
|
+
15. **Changelog** - Version history
|
|
395
|
+
|
|
396
|
+
### Step 8: Generate Security Compliance Summary
|
|
397
|
+
|
|
398
|
+
Before returning, compile a security compliance summary that consolidates all security considerations across documents. This summary helps security reviewers quickly assess coverage.
|
|
399
|
+
|
|
400
|
+
**Summary includes**:
|
|
401
|
+
|
|
402
|
+
1. **Security Controls Inventory**: List of all security controls documented
|
|
403
|
+
2. **Compliance Coverage Matrix**: Which frameworks are addressed and where
|
|
404
|
+
3. **Gaps and Exceptions**: Known security gaps with remediation status
|
|
405
|
+
4. **Security Review Checklist**: Pre-populated checklist for security reviewers
|
|
406
|
+
5. **Risk Assessment Summary**: High-level risk areas identified
|
|
407
|
+
|
|
408
|
+
### Step 9: Return Metadata
|
|
409
|
+
|
|
410
|
+
After writing all files, output JSON with metadata only (no content).
|
|
411
|
+
|
|
412
|
+
## Output Format
|
|
413
|
+
|
|
414
|
+
**After writing all files with the `write` tool**, return this JSON:
|
|
415
|
+
|
|
416
|
+
```json
|
|
417
|
+
{
|
|
418
|
+
"hld_document": {
|
|
419
|
+
"id": "INFRA-HLD",
|
|
420
|
+
"filename": "HLD.md",
|
|
421
|
+
"target_path": "knowledge-base/infrastructure/HLD.md",
|
|
422
|
+
"written": true,
|
|
423
|
+
"sections_count": 12,
|
|
424
|
+
"diagrams_included": ["C4 Context", "C4 Container"],
|
|
425
|
+
"completeness_score": 0.95
|
|
426
|
+
},
|
|
427
|
+
"container_document": {
|
|
428
|
+
"id": "INFRA-CONTAINER",
|
|
429
|
+
"filename": "CONTAINER.md",
|
|
430
|
+
"target_path": "knowledge-base/infrastructure/CONTAINER.md",
|
|
431
|
+
"written": true,
|
|
432
|
+
"sections_count": 14,
|
|
433
|
+
"diagrams_included": ["Container Topology"],
|
|
434
|
+
"completeness_score": 0.92
|
|
435
|
+
},
|
|
436
|
+
"deployment_document": {
|
|
437
|
+
"id": "INFRA-DEPLOYMENT",
|
|
438
|
+
"filename": "DEPLOYMENT.md",
|
|
439
|
+
"target_path": "knowledge-base/infrastructure/DEPLOYMENT.md",
|
|
440
|
+
"written": true,
|
|
441
|
+
"sections_count": 14,
|
|
442
|
+
"diagrams_included": ["Deployment Pipeline"],
|
|
443
|
+
"completeness_score": 0.94
|
|
444
|
+
},
|
|
445
|
+
"logging_document": {
|
|
446
|
+
"id": "INFRA-LOGGING",
|
|
447
|
+
"filename": "LOGGING.md",
|
|
448
|
+
"target_path": "knowledge-base/infrastructure/LOGGING.md",
|
|
449
|
+
"written": true,
|
|
450
|
+
"sections_count": 13,
|
|
451
|
+
"diagrams_included": ["Observability Architecture"],
|
|
452
|
+
"completeness_score": 0.9
|
|
453
|
+
},
|
|
454
|
+
"lz_document": {
|
|
455
|
+
"id": "INFRA-LZ",
|
|
456
|
+
"filename": "LZ.md",
|
|
457
|
+
"target_path": "knowledge-base/infrastructure/LZ.md",
|
|
458
|
+
"written": true,
|
|
459
|
+
"sections_count": 13,
|
|
460
|
+
"diagrams_included": ["Network Topology"],
|
|
461
|
+
"completeness_score": 0.88
|
|
462
|
+
},
|
|
463
|
+
"workflow_document": {
|
|
464
|
+
"id": "INFRA-WORKFLOW",
|
|
465
|
+
"filename": "WORKFLOW.md",
|
|
466
|
+
"target_path": "knowledge-base/infrastructure/WORKFLOW.md",
|
|
467
|
+
"written": true,
|
|
468
|
+
"sections_count": 13,
|
|
469
|
+
"diagrams_included": ["Git Flow"],
|
|
470
|
+
"completeness_score": 0.93
|
|
471
|
+
},
|
|
472
|
+
"generation_summary": {
|
|
473
|
+
"documents_generated": 6,
|
|
474
|
+
"total_diagrams": 8,
|
|
475
|
+
"files_written": [
|
|
476
|
+
"knowledge-base/infrastructure/HLD.md",
|
|
477
|
+
"knowledge-base/infrastructure/CONTAINER.md",
|
|
478
|
+
"knowledge-base/infrastructure/DEPLOYMENT.md",
|
|
479
|
+
"knowledge-base/infrastructure/LOGGING.md",
|
|
480
|
+
"knowledge-base/infrastructure/LZ.md",
|
|
481
|
+
"knowledge-base/infrastructure/WORKFLOW.md"
|
|
482
|
+
],
|
|
483
|
+
"average_completeness": 0.92,
|
|
484
|
+
"issues": []
|
|
485
|
+
},
|
|
486
|
+
"security_compliance_summary": {
|
|
487
|
+
"security_controls": [
|
|
488
|
+
{
|
|
489
|
+
"control_id": "SC-001",
|
|
490
|
+
"name": "Encryption at Rest",
|
|
491
|
+
"category": "Data Protection",
|
|
492
|
+
"documented_in": ["HLD.md", "LZ.md"],
|
|
493
|
+
"status": "implemented"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"control_id": "SC-002",
|
|
497
|
+
"name": "Container Image Scanning",
|
|
498
|
+
"category": "Vulnerability Management",
|
|
499
|
+
"documented_in": ["CONTAINER.md", "DEPLOYMENT.md"],
|
|
500
|
+
"status": "implemented"
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"compliance_coverage": {
|
|
504
|
+
"soc2": {
|
|
505
|
+
"addressed": true,
|
|
506
|
+
"coverage_percentage": 85,
|
|
507
|
+
"documented_in": ["HLD.md", "LZ.md", "LOGGING.md"],
|
|
508
|
+
"gaps": ["CC7.2 - Incident response procedures need expansion"]
|
|
509
|
+
},
|
|
510
|
+
"iso27001": {
|
|
511
|
+
"addressed": true,
|
|
512
|
+
"coverage_percentage": 80,
|
|
513
|
+
"documented_in": ["HLD.md", "LZ.md"],
|
|
514
|
+
"gaps": []
|
|
515
|
+
},
|
|
516
|
+
"gdpr": {
|
|
517
|
+
"addressed": false,
|
|
518
|
+
"coverage_percentage": 0,
|
|
519
|
+
"documented_in": [],
|
|
520
|
+
"gaps": ["Not applicable or not in scope"]
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"security_gaps": [
|
|
524
|
+
{
|
|
525
|
+
"gap_id": "GAP-001",
|
|
526
|
+
"description": "Penetration testing schedule not documented",
|
|
527
|
+
"severity": "medium",
|
|
528
|
+
"remediation": "Add to DEPLOYMENT.md security gates",
|
|
529
|
+
"target_date": "TBD"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"security_review_checklist": [
|
|
533
|
+
{
|
|
534
|
+
"item": "Authentication architecture reviewed",
|
|
535
|
+
"document": "HLD.md",
|
|
536
|
+
"section": "Security Architecture",
|
|
537
|
+
"status": "ready_for_review"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"item": "Network segmentation verified",
|
|
541
|
+
"document": "LZ.md",
|
|
542
|
+
"section": "Network Security",
|
|
543
|
+
"status": "ready_for_review"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"item": "Secrets management documented",
|
|
547
|
+
"document": "DEPLOYMENT.md",
|
|
548
|
+
"section": "Secrets Management",
|
|
549
|
+
"status": "ready_for_review"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"item": "Audit logging configured",
|
|
553
|
+
"document": "LOGGING.md",
|
|
554
|
+
"section": "Audit Trail Requirements",
|
|
555
|
+
"status": "ready_for_review"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"item": "Container security hardening",
|
|
559
|
+
"document": "CONTAINER.md",
|
|
560
|
+
"section": "Container Security",
|
|
561
|
+
"status": "ready_for_review"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"item": "CI/CD security gates",
|
|
565
|
+
"document": "DEPLOYMENT.md",
|
|
566
|
+
"section": "Security Gates",
|
|
567
|
+
"status": "ready_for_review"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"risk_summary": {
|
|
571
|
+
"high_risk_areas": [],
|
|
572
|
+
"medium_risk_areas": ["Third-party integrations", "Key rotation automation"],
|
|
573
|
+
"low_risk_areas": ["Development workflow security"],
|
|
574
|
+
"mitigations_documented": true
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
```
|
|
579
|
+
|
|
580
|
+
## Success Criteria
|
|
581
|
+
|
|
582
|
+
- ✅ All 6 files written using `write` tool
|
|
583
|
+
- ✅ Each document includes standardised header
|
|
584
|
+
- ✅ All required sections present (including security sections)
|
|
585
|
+
- ✅ Mermaid diagrams render correctly
|
|
586
|
+
- ✅ British English used consistently
|
|
587
|
+
- ✅ Cross-references use correct relative paths
|
|
588
|
+
- ✅ Completeness score >= 85% for each document
|
|
589
|
+
- ✅ Security sections included in all documents per security topics matrix
|
|
590
|
+
- ✅ Compliance frameworks addressed with control mappings
|
|
591
|
+
- ✅ Security review checklist populated and ready for review
|
|
592
|
+
- ✅ All security gaps documented with remediation plans
|
|
593
|
+
|
|
594
|
+
## Error Handling
|
|
595
|
+
|
|
596
|
+
### Write Tool Failure
|
|
597
|
+
|
|
598
|
+
**Issue**: Cannot write file to disk
|
|
599
|
+
|
|
600
|
+
**Action**:
|
|
601
|
+
|
|
602
|
+
1. Report error in output JSON
|
|
603
|
+
2. Set `written: false` for affected document
|
|
604
|
+
3. Continue with remaining documents
|
|
605
|
+
|
|
606
|
+
### Missing Context
|
|
607
|
+
|
|
608
|
+
**Issue**: Insufficient context for section
|
|
609
|
+
|
|
610
|
+
**Action**:
|
|
611
|
+
|
|
612
|
+
1. Generate placeholder with TODO marker
|
|
613
|
+
2. Note in issues array
|
|
614
|
+
3. Reduce completeness score
|
|
615
|
+
|
|
616
|
+
### Missing Security Requirements
|
|
617
|
+
|
|
618
|
+
**Issue**: `security_requirements` input not provided or incomplete
|
|
619
|
+
|
|
620
|
+
**Action**:
|
|
621
|
+
|
|
622
|
+
1. Generate security sections with generic best practices
|
|
623
|
+
2. Add TODO markers for organisation-specific policies
|
|
624
|
+
3. Flag in `security_compliance_summary.security_gaps`
|
|
625
|
+
4. Set compliance coverage to "requires_input" status
|
|
626
|
+
5. Include note: "Security requirements input recommended for complete compliance coverage"
|
|
627
|
+
|
|
628
|
+
## REMINDER: Write Files First
|
|
629
|
+
|
|
630
|
+
**Use the `write` tool to create each file, then return metadata JSON. DO NOT include file content in the JSON response.**
|