@ngocsangairvds/vsaf 3.2.16 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +638 -302
- package/package.json +51 -13
- package/packages/cli/dist/commands/doctor.d.ts +9 -0
- package/packages/cli/dist/commands/doctor.d.ts.map +1 -0
- package/packages/cli/dist/commands/doctor.js +49 -0
- package/packages/cli/dist/commands/doctor.js.map +1 -0
- package/packages/cli/dist/commands/init.d.ts +6 -0
- package/packages/cli/dist/commands/init.d.ts.map +1 -0
- package/packages/cli/dist/commands/init.js +66 -0
- package/packages/cli/dist/commands/init.js.map +1 -0
- package/packages/cli/dist/commands/install.d.ts +38 -0
- package/packages/cli/dist/commands/install.d.ts.map +1 -0
- package/packages/cli/dist/commands/install.js +246 -0
- package/packages/cli/dist/commands/install.js.map +1 -0
- package/packages/cli/dist/commands/list.d.ts +7 -0
- package/packages/cli/dist/commands/list.d.ts.map +1 -0
- package/packages/cli/dist/commands/list.js +40 -0
- package/packages/cli/dist/commands/list.js.map +1 -0
- package/packages/cli/dist/commands/mcp.d.ts +2 -0
- package/packages/cli/dist/commands/mcp.d.ts.map +1 -0
- package/packages/cli/dist/commands/mcp.js +8 -0
- package/packages/cli/dist/commands/mcp.js.map +1 -0
- package/packages/cli/dist/commands/run.d.ts +13 -0
- package/packages/cli/dist/commands/run.d.ts.map +1 -0
- package/packages/cli/dist/commands/run.js +90 -0
- package/packages/cli/dist/commands/run.js.map +1 -0
- package/packages/cli/dist/commands/serve.d.ts +6 -0
- package/packages/cli/dist/commands/serve.d.ts.map +1 -0
- package/packages/cli/dist/commands/serve.js +28 -0
- package/packages/cli/dist/commands/serve.js.map +1 -0
- package/packages/cli/dist/commands/skill.d.ts +48 -0
- package/packages/cli/dist/commands/skill.d.ts.map +1 -0
- package/packages/cli/dist/commands/skill.js +283 -0
- package/packages/cli/dist/commands/skill.js.map +1 -0
- package/packages/cli/dist/commands/status.d.ts +4 -0
- package/packages/cli/dist/commands/status.d.ts.map +1 -0
- package/packages/cli/dist/commands/status.js +21 -0
- package/packages/cli/dist/commands/status.js.map +1 -0
- package/packages/cli/dist/index.d.ts +3 -0
- package/packages/cli/dist/index.d.ts.map +1 -0
- package/packages/cli/dist/index.js +218 -0
- package/packages/cli/dist/index.js.map +1 -0
- package/packages/cli/dist/mcp/server.d.ts +40 -0
- package/packages/cli/dist/mcp/server.d.ts.map +1 -0
- package/packages/cli/dist/mcp/server.js +219 -0
- package/packages/cli/dist/mcp/server.js.map +1 -0
- package/packages/cli/dist/server/app.d.ts +8 -0
- package/packages/cli/dist/server/app.d.ts.map +1 -0
- package/packages/cli/dist/server/app.js +29 -0
- package/packages/cli/dist/server/app.js.map +1 -0
- package/packages/cli/dist/server/routes/health.d.ts +3 -0
- package/packages/cli/dist/server/routes/health.d.ts.map +1 -0
- package/packages/cli/dist/server/routes/health.js +13 -0
- package/packages/cli/dist/server/routes/health.js.map +1 -0
- package/packages/cli/dist/server/routes/runs.d.ts +9 -0
- package/packages/cli/dist/server/routes/runs.d.ts.map +1 -0
- package/packages/cli/dist/server/routes/runs.js +57 -0
- package/packages/cli/dist/server/routes/runs.js.map +1 -0
- package/packages/cli/dist/server/routes/workflows.d.ts +5 -0
- package/packages/cli/dist/server/routes/workflows.d.ts.map +1 -0
- package/packages/cli/dist/server/routes/workflows.js +56 -0
- package/packages/cli/dist/server/routes/workflows.js.map +1 -0
- package/packages/cli/dist/server/services/execution-manager.d.ts +15 -0
- package/packages/cli/dist/server/services/execution-manager.d.ts.map +1 -0
- package/packages/cli/dist/server/services/execution-manager.js +78 -0
- package/packages/cli/dist/server/services/execution-manager.js.map +1 -0
- package/packages/cli/dist/server/services/sse-manager.d.ts +9 -0
- package/packages/cli/dist/server/services/sse-manager.d.ts.map +1 -0
- package/packages/cli/dist/server/services/sse-manager.js +41 -0
- package/packages/cli/dist/server/services/sse-manager.js.map +1 -0
- package/packages/cli/dist/server/static.d.ts +3 -0
- package/packages/cli/dist/server/static.d.ts.map +1 -0
- package/packages/cli/dist/server/static.js +30 -0
- package/packages/cli/dist/server/static.js.map +1 -0
- package/packages/cli/dist/ui/progress.d.ts +3 -0
- package/packages/cli/dist/ui/progress.d.ts.map +1 -0
- package/packages/cli/dist/ui/progress.js +27 -0
- package/packages/cli/dist/ui/progress.js.map +1 -0
- package/packages/core/dist/commands/command-loader.d.ts +9 -0
- package/packages/core/dist/commands/command-loader.d.ts.map +1 -0
- package/packages/core/dist/commands/command-loader.js +32 -0
- package/packages/core/dist/commands/command-loader.js.map +1 -0
- package/packages/core/dist/commands/prompt-builder.d.ts +3 -0
- package/packages/core/dist/commands/prompt-builder.d.ts.map +1 -0
- package/packages/core/dist/commands/prompt-builder.js +9 -0
- package/packages/core/dist/commands/prompt-builder.js.map +1 -0
- package/packages/core/dist/config/config-loader.d.ts +13 -0
- package/packages/core/dist/config/config-loader.d.ts.map +1 -0
- package/packages/core/dist/config/config-loader.js +40 -0
- package/packages/core/dist/config/config-loader.js.map +1 -0
- package/packages/core/dist/engine/condition-evaluator.d.ts +7 -0
- package/packages/core/dist/engine/condition-evaluator.d.ts.map +1 -0
- package/packages/core/dist/engine/condition-evaluator.js +37 -0
- package/packages/core/dist/engine/condition-evaluator.js.map +1 -0
- package/packages/core/dist/engine/contract-validator.d.ts +2 -0
- package/packages/core/dist/engine/contract-validator.d.ts.map +1 -0
- package/packages/core/dist/engine/contract-validator.js +8 -0
- package/packages/core/dist/engine/contract-validator.js.map +1 -0
- package/packages/core/dist/engine/cycle-detector.d.ts +4 -0
- package/packages/core/dist/engine/cycle-detector.d.ts.map +1 -0
- package/packages/core/dist/engine/cycle-detector.js +39 -0
- package/packages/core/dist/engine/cycle-detector.js.map +1 -0
- package/packages/core/dist/engine/dag-executor.d.ts +58 -0
- package/packages/core/dist/engine/dag-executor.d.ts.map +1 -0
- package/packages/core/dist/engine/dag-executor.js +262 -0
- package/packages/core/dist/engine/dag-executor.js.map +1 -0
- package/packages/core/dist/engine/dag-parser.d.ts +3 -0
- package/packages/core/dist/engine/dag-parser.d.ts.map +1 -0
- package/packages/core/dist/engine/dag-parser.js +83 -0
- package/packages/core/dist/engine/dag-parser.js.map +1 -0
- package/packages/core/dist/engine/node-runner.d.ts +16 -0
- package/packages/core/dist/engine/node-runner.d.ts.map +1 -0
- package/packages/core/dist/engine/node-runner.js +54 -0
- package/packages/core/dist/engine/node-runner.js.map +1 -0
- package/packages/core/dist/engine/variable-resolver.d.ts +10 -0
- package/packages/core/dist/engine/variable-resolver.d.ts.map +1 -0
- package/packages/core/dist/engine/variable-resolver.js +25 -0
- package/packages/core/dist/engine/variable-resolver.js.map +1 -0
- package/packages/core/dist/index.d.ts +20 -0
- package/packages/core/dist/index.d.ts.map +1 -0
- package/packages/core/dist/index.js +55 -0
- package/packages/core/dist/index.js.map +1 -0
- package/packages/core/dist/isolation/artifact-store.d.ts +9 -0
- package/packages/core/dist/isolation/artifact-store.d.ts.map +1 -0
- package/packages/core/dist/isolation/artifact-store.js +30 -0
- package/packages/core/dist/isolation/artifact-store.js.map +1 -0
- package/packages/core/dist/isolation/workspace-manager.d.ts +36 -0
- package/packages/core/dist/isolation/workspace-manager.d.ts.map +1 -0
- package/packages/core/dist/isolation/workspace-manager.js +189 -0
- package/packages/core/dist/isolation/workspace-manager.js.map +1 -0
- package/packages/core/dist/providers/provider-registry.d.ts +8 -0
- package/packages/core/dist/providers/provider-registry.d.ts.map +1 -0
- package/packages/core/dist/providers/provider-registry.js +21 -0
- package/packages/core/dist/providers/provider-registry.js.map +1 -0
- package/packages/core/dist/schema/ajv-instance.d.ts +3 -0
- package/packages/core/dist/schema/ajv-instance.d.ts.map +1 -0
- package/packages/core/dist/schema/ajv-instance.js +12 -0
- package/packages/core/dist/schema/ajv-instance.js.map +1 -0
- package/packages/core/dist/schema/validators.d.ts +11 -0
- package/packages/core/dist/schema/validators.d.ts.map +1 -0
- package/packages/core/dist/schema/validators.js +68 -0
- package/packages/core/dist/schema/validators.js.map +1 -0
- package/packages/core/dist/schema/workflow-schema.d.ts +158 -0
- package/packages/core/dist/schema/workflow-schema.d.ts.map +1 -0
- package/packages/core/dist/schema/workflow-schema.js +84 -0
- package/packages/core/dist/schema/workflow-schema.js.map +1 -0
- package/packages/core/dist/skills/skill-loader.d.ts +9 -0
- package/packages/core/dist/skills/skill-loader.d.ts.map +1 -0
- package/packages/core/dist/skills/skill-loader.js +37 -0
- package/packages/core/dist/skills/skill-loader.js.map +1 -0
- package/packages/core/dist/store/event-log.d.ts +8 -0
- package/packages/core/dist/store/event-log.d.ts.map +1 -0
- package/packages/core/dist/store/event-log.js +30 -0
- package/packages/core/dist/store/event-log.js.map +1 -0
- package/packages/core/dist/store/run-store.d.ts +20 -0
- package/packages/core/dist/store/run-store.d.ts.map +1 -0
- package/packages/core/dist/store/run-store.js +113 -0
- package/packages/core/dist/store/run-store.js.map +1 -0
- package/packages/core/dist/store/types.d.ts +30 -0
- package/packages/core/dist/store/types.d.ts.map +1 -0
- package/packages/core/dist/store/types.js +3 -0
- package/packages/core/dist/store/types.js.map +1 -0
- package/packages/core/dist/types/dag.d.ts +36 -0
- package/packages/core/dist/types/dag.d.ts.map +1 -0
- package/packages/core/dist/types/dag.js +3 -0
- package/packages/core/dist/types/dag.js.map +1 -0
- package/packages/core/dist/types/index.d.ts +4 -0
- package/packages/core/dist/types/index.d.ts.map +1 -0
- package/packages/core/dist/types/index.js +20 -0
- package/packages/core/dist/types/index.js.map +1 -0
- package/packages/core/dist/types/provider.d.ts +19 -0
- package/packages/core/dist/types/provider.d.ts.map +1 -0
- package/packages/core/dist/types/provider.js +3 -0
- package/packages/core/dist/types/provider.js.map +1 -0
- package/packages/core/dist/types/workflow.d.ts +47 -0
- package/packages/core/dist/types/workflow.d.ts.map +1 -0
- package/packages/core/dist/types/workflow.js +3 -0
- package/packages/core/dist/types/workflow.js.map +1 -0
- package/skills/sdlc/architecture/SKILL.md +202 -0
- package/skills/sdlc/diagnose/SKILL.md +117 -0
- package/skills/sdlc/discovery/SKILL.md +182 -0
- package/skills/sdlc/feature-complete/SKILL.md +159 -0
- package/skills/sdlc/grill-me/SKILL.md +10 -0
- package/skills/sdlc/hotfix-analyze/SKILL.md +174 -0
- package/skills/sdlc/hotfix-green/SKILL.md +101 -0
- package/skills/sdlc/hotfix-red/SKILL.md +96 -0
- package/skills/sdlc/hotfix-review/SKILL.md +151 -0
- package/skills/sdlc/implement/SKILL.md +234 -0
- package/skills/sdlc/improve-codebase-architecture/SKILL.md +70 -0
- package/skills/sdlc/init/SKILL.md +195 -0
- package/skills/sdlc/install-deps.mjs +139 -0
- package/skills/sdlc/onboard-code/SKILL.md +193 -0
- package/skills/sdlc/onboard-docs/SKILL.md +121 -0
- package/skills/sdlc/pack.yaml +59 -0
- package/skills/sdlc/prd/SKILL.md +163 -0
- package/skills/sdlc/review/SKILL.md +229 -0
- package/skills/sdlc/sdlc-health/SKILL.md +165 -0
- package/skills/sdlc/setup/SKILL.md +162 -0
- package/skills/sdlc/ship/SKILL.md +279 -0
- package/skills/sdlc/srs/SKILL.md +135 -0
- package/skills/sdlc/tdd/SKILL.md +107 -0
- package/skills/sdlc/test-design/SKILL.md +126 -0
- package/skills/sdlc/workflows/hotfix-tdd.yaml +20 -0
- package/skills/sdlc/workflows/hotfix.yaml +34 -0
- package/skills/sdlc/workflows/master-sdlc.yaml +45 -0
- package/skills/sdlc/workflows/onboarding.yaml +9 -0
- package/skills/sdlc/workflows/sdlc-build.yaml +16 -0
- package/skills/sdlc/workflows/sdlc-design.yaml +12 -0
- package/skills/sdlc/workflows/sdlc-qa.yaml +17 -0
- package/skills/sdlc/workflows/sdlc-testcase.yaml +7 -0
- package/skills/sdlc/workflows/sdlc-thinking.yaml +12 -0
- package/skills/sdlc/zoom-out/SKILL.md +7 -0
- package/assets/templates/.claude/settings.json +0 -48
- package/assets/templates/.codex/instructions.md +0 -143
- package/assets/templates/CLAUDE.md +0 -161
- package/bin/vsaf.js +0 -142
- package/src/config.js +0 -167
- package/src/global.js +0 -261
- package/src/project.js +0 -191
- package/src/status.js +0 -91
- package/src/utils.js +0 -126
- package/src/workflow.js +0 -106
- package/tools/bmad/_config/agent-manifest.csv +0 -7
- package/tools/bmad/_config/bmad-help.csv +0 -44
- package/tools/bmad/_config/files-manifest.csv +0 -261
- package/tools/bmad/_config/manifest.yaml +0 -21
- package/tools/bmad/_config/skill-manifest.csv +0 -42
- package/tools/bmad/bmm/1-analysis/bmad-document-project/templates/srs-feature-template.md +0 -669
- package/tools/bmad/bmm/1-analysis/bmad-document-project/templates/srs-system-template.md +0 -430
- package/tools/bmad/bmm/config.yaml +0 -20
- package/tools/bmad/bmm/module-help.csv +0 -33
- package/tools/bmad/core/config.yaml +0 -9
- package/tools/bmad/core/module-help.csv +0 -12
- package/tools/skills/bmad-agent-architect/SKILL.md +0 -54
- package/tools/skills/bmad-agent-architect/bmad-skill-manifest.yaml +0 -11
- package/tools/skills/bmad-agent-dev/SKILL.md +0 -69
- package/tools/skills/bmad-agent-dev/bmad-skill-manifest.yaml +0 -11
- package/tools/skills/bmad-agent-pm/SKILL.md +0 -59
- package/tools/skills/bmad-agent-pm/bmad-skill-manifest.yaml +0 -11
- package/tools/skills/bmad-agent-tech-writer/SKILL.md +0 -57
- package/tools/skills/bmad-agent-tech-writer/bmad-skill-manifest.yaml +0 -11
- package/tools/skills/bmad-agent-tech-writer/explain-concept.md +0 -20
- package/tools/skills/bmad-agent-tech-writer/mermaid-gen.md +0 -20
- package/tools/skills/bmad-agent-tech-writer/validate-doc.md +0 -19
- package/tools/skills/bmad-agent-tech-writer/write-document.md +0 -20
- package/tools/skills/bmad-agent-ux-designer/SKILL.md +0 -55
- package/tools/skills/bmad-agent-ux-designer/bmad-skill-manifest.yaml +0 -11
- package/tools/skills/bmad-checkpoint-preview/SKILL.md +0 -29
- package/tools/skills/bmad-checkpoint-preview/generate-trail.md +0 -38
- package/tools/skills/bmad-checkpoint-preview/step-01-orientation.md +0 -105
- package/tools/skills/bmad-checkpoint-preview/step-02-walkthrough.md +0 -89
- package/tools/skills/bmad-checkpoint-preview/step-03-detail-pass.md +0 -106
- package/tools/skills/bmad-checkpoint-preview/step-04-testing.md +0 -74
- package/tools/skills/bmad-checkpoint-preview/step-05-wrapup.md +0 -24
- package/tools/skills/bmad-correct-course/SKILL.md +0 -6
- package/tools/skills/bmad-correct-course/checklist.md +0 -288
- package/tools/skills/bmad-correct-course/workflow.md +0 -267
- package/tools/skills/bmad-create-story/SKILL.md +0 -6
- package/tools/skills/bmad-create-story/checklist.md +0 -357
- package/tools/skills/bmad-create-story/discover-inputs.md +0 -88
- package/tools/skills/bmad-create-story/template.md +0 -49
- package/tools/skills/bmad-create-story/workflow.md +0 -380
- package/tools/skills/bmad-create-ux-design/SKILL.md +0 -6
- package/tools/skills/bmad-create-ux-design/steps/step-01-init.md +0 -135
- package/tools/skills/bmad-create-ux-design/steps/step-01b-continue.md +0 -127
- package/tools/skills/bmad-create-ux-design/steps/step-02-discovery.md +0 -190
- package/tools/skills/bmad-create-ux-design/steps/step-03-core-experience.md +0 -217
- package/tools/skills/bmad-create-ux-design/steps/step-04-emotional-response.md +0 -220
- package/tools/skills/bmad-create-ux-design/steps/step-05-inspiration.md +0 -235
- package/tools/skills/bmad-create-ux-design/steps/step-06-design-system.md +0 -253
- package/tools/skills/bmad-create-ux-design/steps/step-07-defining-experience.md +0 -255
- package/tools/skills/bmad-create-ux-design/steps/step-08-visual-foundation.md +0 -225
- package/tools/skills/bmad-create-ux-design/steps/step-09-design-directions.md +0 -225
- package/tools/skills/bmad-create-ux-design/steps/step-10-user-journeys.md +0 -242
- package/tools/skills/bmad-create-ux-design/steps/step-11-component-strategy.md +0 -249
- package/tools/skills/bmad-create-ux-design/steps/step-12-ux-patterns.md +0 -238
- package/tools/skills/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +0 -265
- package/tools/skills/bmad-create-ux-design/steps/step-14-complete.md +0 -171
- package/tools/skills/bmad-create-ux-design/ux-design-template.md +0 -13
- package/tools/skills/bmad-create-ux-design/workflow.md +0 -35
- package/tools/skills/bmad-dev-story/SKILL.md +0 -6
- package/tools/skills/bmad-dev-story/checklist.md +0 -80
- package/tools/skills/bmad-dev-story/workflow.md +0 -450
- package/tools/skills/bmad-distillator/SKILL.md +0 -177
- package/tools/skills/bmad-distillator/agents/distillate-compressor.md +0 -116
- package/tools/skills/bmad-distillator/agents/round-trip-reconstructor.md +0 -68
- package/tools/skills/bmad-distillator/resources/compression-rules.md +0 -51
- package/tools/skills/bmad-distillator/resources/distillate-format-reference.md +0 -227
- package/tools/skills/bmad-distillator/resources/splitting-strategy.md +0 -78
- package/tools/skills/bmad-distillator/scripts/analyze_sources.py +0 -300
- package/tools/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +0 -204
- package/tools/skills/bmad-document-project/SKILL.md +0 -6
- package/tools/skills/bmad-document-project/checklist.md +0 -245
- package/tools/skills/bmad-document-project/documentation-requirements.csv +0 -12
- package/tools/skills/bmad-document-project/instructions.md +0 -128
- package/tools/skills/bmad-document-project/templates/deep-dive-template.md +0 -345
- package/tools/skills/bmad-document-project/templates/index-template.md +0 -169
- package/tools/skills/bmad-document-project/templates/project-overview-template.md +0 -103
- package/tools/skills/bmad-document-project/templates/project-scan-report-schema.json +0 -160
- package/tools/skills/bmad-document-project/templates/source-tree-template.md +0 -135
- package/tools/skills/bmad-document-project/workflow.md +0 -25
- package/tools/skills/bmad-document-project/workflows/deep-dive-instructions.md +0 -299
- package/tools/skills/bmad-document-project/workflows/deep-dive-workflow.md +0 -34
- package/tools/skills/bmad-document-project/workflows/full-scan-instructions.md +0 -1107
- package/tools/skills/bmad-document-project/workflows/full-scan-workflow.md +0 -34
- package/tools/skills/bmad-edit-prd/SKILL.md +0 -6
- package/tools/skills/bmad-edit-prd/steps-e/step-e-01-discovery.md +0 -242
- package/tools/skills/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +0 -204
- package/tools/skills/bmad-edit-prd/steps-e/step-e-02-review.md +0 -245
- package/tools/skills/bmad-edit-prd/steps-e/step-e-03-edit.md +0 -250
- package/tools/skills/bmad-edit-prd/steps-e/step-e-04-complete.md +0 -163
- package/tools/skills/bmad-edit-prd/workflow.md +0 -62
- package/tools/skills/bmad-editorial-review-prose/SKILL.md +0 -86
- package/tools/skills/bmad-editorial-review-structure/SKILL.md +0 -179
- package/tools/skills/bmad-generate-project-context/SKILL.md +0 -6
- package/tools/skills/bmad-generate-project-context/project-context-template.md +0 -21
- package/tools/skills/bmad-generate-project-context/steps/step-01-discover.md +0 -186
- package/tools/skills/bmad-generate-project-context/steps/step-02-generate.md +0 -321
- package/tools/skills/bmad-generate-project-context/steps/step-03-complete.md +0 -278
- package/tools/skills/bmad-generate-project-context/workflow.md +0 -39
- package/tools/skills/bmad-help/SKILL.md +0 -75
- package/tools/skills/bmad-index-docs/SKILL.md +0 -66
- package/tools/skills/bmad-market-research/SKILL.md +0 -6
- package/tools/skills/bmad-market-research/research.template.md +0 -29
- package/tools/skills/bmad-market-research/steps/step-01-init.md +0 -184
- package/tools/skills/bmad-market-research/steps/step-02-customer-behavior.md +0 -239
- package/tools/skills/bmad-market-research/steps/step-03-customer-pain-points.md +0 -251
- package/tools/skills/bmad-market-research/steps/step-04-customer-decisions.md +0 -261
- package/tools/skills/bmad-market-research/steps/step-05-competitive-analysis.md +0 -173
- package/tools/skills/bmad-market-research/steps/step-06-research-completion.md +0 -478
- package/tools/skills/bmad-market-research/workflow.md +0 -51
- package/tools/skills/bmad-product-brief/SKILL.md +0 -82
- package/tools/skills/bmad-product-brief/agents/artifact-analyzer.md +0 -60
- package/tools/skills/bmad-product-brief/agents/opportunity-reviewer.md +0 -44
- package/tools/skills/bmad-product-brief/agents/skeptic-reviewer.md +0 -44
- package/tools/skills/bmad-product-brief/agents/web-researcher.md +0 -49
- package/tools/skills/bmad-product-brief/bmad-manifest.json +0 -17
- package/tools/skills/bmad-product-brief/prompts/contextual-discovery.md +0 -57
- package/tools/skills/bmad-product-brief/prompts/draft-and-review.md +0 -86
- package/tools/skills/bmad-product-brief/prompts/finalize.md +0 -75
- package/tools/skills/bmad-product-brief/prompts/guided-elicitation.md +0 -70
- package/tools/skills/bmad-product-brief/resources/brief-template.md +0 -60
- package/tools/skills/bmad-quick-dev/SKILL.md +0 -6
- package/tools/skills/bmad-quick-dev/compile-epic-context.md +0 -62
- package/tools/skills/bmad-quick-dev/spec-template.md +0 -88
- package/tools/skills/bmad-quick-dev/step-01-clarify-and-route.md +0 -91
- package/tools/skills/bmad-quick-dev/step-02-plan.md +0 -47
- package/tools/skills/bmad-quick-dev/step-03-implement.md +0 -39
- package/tools/skills/bmad-quick-dev/step-04-review.md +0 -49
- package/tools/skills/bmad-quick-dev/step-05-present.md +0 -63
- package/tools/skills/bmad-quick-dev/step-oneshot.md +0 -61
- package/tools/skills/bmad-quick-dev/workflow.md +0 -75
- package/tools/skills/bmad-retrospective/SKILL.md +0 -6
- package/tools/skills/bmad-retrospective/workflow.md +0 -1479
- package/tools/skills/bmad-shard-doc/SKILL.md +0 -105
- package/tools/skills/bmad-sprint-planning/SKILL.md +0 -6
- package/tools/skills/bmad-sprint-planning/checklist.md +0 -33
- package/tools/skills/bmad-sprint-planning/sprint-status-template.yaml +0 -56
- package/tools/skills/bmad-sprint-planning/workflow.md +0 -263
- package/tools/skills/bmad-sprint-status/SKILL.md +0 -6
- package/tools/skills/bmad-sprint-status/workflow.md +0 -261
- package/tools/skills/bmad-technical-research/SKILL.md +0 -6
- package/tools/skills/bmad-technical-research/research.template.md +0 -29
- package/tools/skills/bmad-technical-research/technical-steps/step-01-init.md +0 -137
- package/tools/skills/bmad-technical-research/technical-steps/step-02-technical-overview.md +0 -239
- package/tools/skills/bmad-technical-research/technical-steps/step-03-integration-patterns.md +0 -248
- package/tools/skills/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +0 -202
- package/tools/skills/bmad-technical-research/technical-steps/step-05-implementation-research.md +0 -233
- package/tools/skills/bmad-technical-research/technical-steps/step-06-research-synthesis.md +0 -487
- package/tools/skills/bmad-technical-research/workflow.md +0 -52
- package/tools/skills/bmad-validate-prd/data/prd-purpose.md +0 -197
- package/tools/skills/gitnexus/gitnexus-cli/SKILL.md +0 -82
- package/tools/skills/gitnexus/gitnexus-debugging/SKILL.md +0 -89
- package/tools/skills/gitnexus/gitnexus-exploring/SKILL.md +0 -78
- package/tools/skills/gitnexus/gitnexus-guide/SKILL.md +0 -64
- package/tools/skills/gitnexus/gitnexus-impact-analysis/SKILL.md +0 -97
- package/tools/skills/gitnexus/gitnexus-refactoring/SKILL.md +0 -121
- package/tools/skills/vds-scripts-skill/.openskills.json +0 -6
- package/tools/skills/vds-scripts-skill/QUALITY.md +0 -44
- package/tools/skills/vds-scripts-skill/SKILL.md +0 -127
- package/tools/skills/vds-scripts-skill/references/audit-commands.md +0 -171
- package/tools/skills/vds-scripts-skill/references/capability-index.md +0 -34
- package/tools/skills/vds-scripts-skill/references/development-commands.md +0 -12
- package/tools/skills/vds-scripts-skill/references/google-sheets.md +0 -71
- package/tools/skills/vds-scripts-skill/references/integration-commands.md +0 -17
- package/tools/skills/vds-scripts-skill/references/platform-bootstrap.md +0 -31
- package/tools/skills/vds-scripts-skill/references/specialist-routing.md +0 -14
- package/tools/skills/vds-scripts-skill/references/validation-commands.md +0 -15
- package/tools/skills/vsaf-build/SKILL.md +0 -146
- package/tools/skills/vsaf-discover/SKILL.md +0 -92
- package/tools/skills/vsaf-doc/SKILL.md +0 -22
- package/tools/skills/vsaf-doc-prd/SKILL.md +0 -58
- package/tools/skills/vsaf-doc-srs/SKILL.md +0 -170
- package/tools/skills/vsaf-docs/SKILL.md +0 -81
- package/tools/skills/vsaf-onboard/SKILL.md +0 -81
- package/tools/skills/vsaf-plan/SKILL.md +0 -101
- package/tools/skills/vsaf-push-prd/SKILL.md +0 -154
- package/tools/skills/vsaf-push-srs/SKILL.md +0 -166
- package/tools/skills/vsaf-retro/SKILL.md +0 -94
- package/tools/skills/vsaf-ship/SKILL.md +0 -142
- package/tools/skills/vsaf-sprint/SKILL.md +0 -111
- package/tools/skills/vsaf-test/SKILL.md +0 -207
- package/tools/vds-scripts/.claude/phase7-CLOSURE.md +0 -100
- package/tools/vds-scripts/.dockerignore +0 -62
- package/tools/vds-scripts/.github/ISSUE_TEMPLATE/cli-change.md +0 -92
- package/tools/vds-scripts/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +0 -48
- package/tools/vds-scripts/.github/workflows/chaos-smoke.yml +0 -266
- package/tools/vds-scripts/.github/workflows/confluence-sync.yml +0 -44
- package/tools/vds-scripts/.github/workflows/docs-confluence-evidence.yml +0 -170
- package/tools/vds-scripts/.github/workflows/docs-quality.yml +0 -59
- package/tools/vds-scripts/.github/workflows/lint-and-test.yml +0 -90
- package/tools/vds-scripts/.github/workflows/scheduler-load-smoke.yml +0 -104
- package/tools/vds-scripts/.github/workflows/telegram-bridge-ci.yml +0 -131
- package/tools/vds-scripts/.graphifyignore +0 -29
- package/tools/vds-scripts/.importlinter +0 -86
- package/tools/vds-scripts/.mcp.json +0 -11
- package/tools/vds-scripts/.pre-commit-config.yaml +0 -62
- package/tools/vds-scripts/.ruffignore +0 -3
- package/tools/vds-scripts/.secrets.baseline +0 -133
- package/tools/vds-scripts/AGENTS.md +0 -250
- package/tools/vds-scripts/AGENTS.vi.md +0 -92
- package/tools/vds-scripts/Makefile +0 -97
- package/tools/vds-scripts/README.md +0 -103
- package/tools/vds-scripts/bitbucket_manifest_mapping.toml +0 -34
- package/tools/vds-scripts/bitbucket_orchestrator/ARCHITECTURE_ANALYSIS.md +0 -258
- package/tools/vds-scripts/bitbucket_orchestrator/BITBUCKET_API_PRACTICES.md +0 -393
- package/tools/vds-scripts/bitbucket_orchestrator/EVALUATION_REPORT.md +0 -61
- package/tools/vds-scripts/bitbucket_orchestrator/FEATURES.md +0 -908
- package/tools/vds-scripts/bitbucket_orchestrator/README.md +0 -817
- package/tools/vds-scripts/bitbucket_orchestrator/pyproject.toml +0 -49
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/__init__.py +0 -50
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/async_client.py +0 -641
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/cli.py +0 -2271
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/client.py +0 -2693
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/config.py +0 -186
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/errors.py +0 -34
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/factory.py +0 -185
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/parsers.py +0 -113
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/protocols.py +0 -244
- package/tools/vds-scripts/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/repo_ops.py +0 -325
- package/tools/vds-scripts/bitbucket_orchestrator/tests/__init__.py +0 -8
- package/tools/vds-scripts/bitbucket_orchestrator/tests/conftest.py +0 -65
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_advanced_search.py +0 -155
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_async_client.py +0 -505
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_branch_permissions.py +0 -172
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_cli.py +0 -113
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_cli_archive.py +0 -122
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_cli_clone.py +0 -131
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client.py +0 -207
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_archive.py +0 -73
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_branch_conditions.py +0 -101
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_code_advanced.py +0 -180
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_code_file.py +0 -33
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_deployment_environments.py +0 -193
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_issues.py +0 -163
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_pipelines_advanced.py +0 -171
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_pr_blockers.py +0 -118
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_client_repository_variables.py +0 -155
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_code.py +0 -98
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_code_advanced.py +0 -279
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_code_insights.py +0 -334
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_conditions.py +0 -149
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_config.py +0 -297
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_deployment_env.py +0 -352
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_errors.py +0 -67
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_factory.py +0 -352
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_fork_operations.py +0 -203
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_issue_cli.py +0 -262
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_pipeline_advanced.py +0 -265
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_pr_blocker.py +0 -206
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_protocols.py +0 -336
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_repo_ops_archive.py +0 -169
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_repo_ops_clone.py +0 -115
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_repo_ops_parsing.py +0 -149
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_repo_settings.py +0 -336
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_repo_variables.py +0 -266
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_webhooks.py +0 -188
- package/tools/vds-scripts/bitbucket_orchestrator/tests/test_workspace.py +0 -234
- package/tools/vds-scripts/bitbucket_orchestrator/tests/unit/__init__.py +0 -0
- package/tools/vds-scripts/bitbucket_orchestrator/tests/unit/test_parsers.py +0 -254
- package/tools/vds-scripts/code/code_evidence_pack.json +0 -435
- package/tools/vds-scripts/confluence_orchestrator/Dockerfile +0 -19
- package/tools/vds-scripts/confluence_orchestrator/README.md +0 -479
- package/tools/vds-scripts/confluence_orchestrator/SYNC_SCRIPTS.md +0 -127
- package/tools/vds-scripts/confluence_orchestrator/SYNC_STANDARDIZATION.md +0 -108
- package/tools/vds-scripts/confluence_orchestrator/pyproject.toml +0 -50
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/__init__.py +0 -56
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/async_client.py +0 -100
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/cli.py +0 -3160
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/config.py +0 -215
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/content.py +0 -368
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/content_v2.py +0 -144
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/crawl_tree.py +0 -1833
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/errors.py +0 -44
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/eventing.py +0 -111
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/http.py +0 -1850
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/orchestration.py +0 -166
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/protocols.py +0 -61
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/reporting.py +0 -78
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/tree.py +0 -122
- package/tools/vds-scripts/confluence_orchestrator/src/confluence_orchestrator/tree_copier.py +0 -431
- package/tools/vds-scripts/confluence_orchestrator/sync_pdfs_from_markdown.py +0 -203
- package/tools/vds-scripts/confluence_orchestrator/sync_pdfs_to_confluence.py +0 -299
- package/tools/vds-scripts/confluence_orchestrator/sync_png_attachments.py +0 -299
- package/tools/vds-scripts/confluence_orchestrator/tests/conftest.py +0 -46
- package/tools/vds-scripts/confluence_orchestrator/tests/test_advanced_content.py +0 -252
- package/tools/vds-scripts/confluence_orchestrator/tests/test_advanced_search.py +0 -193
- package/tools/vds-scripts/confluence_orchestrator/tests/test_async_client.py +0 -104
- package/tools/vds-scripts/confluence_orchestrator/tests/test_cache_management.py +0 -246
- package/tools/vds-scripts/confluence_orchestrator/tests/test_cli.py +0 -716
- package/tools/vds-scripts/confluence_orchestrator/tests/test_config.py +0 -130
- package/tools/vds-scripts/confluence_orchestrator/tests/test_content.py +0 -192
- package/tools/vds-scripts/confluence_orchestrator/tests/test_content_flags.py +0 -27
- package/tools/vds-scripts/confluence_orchestrator/tests/test_content_labels.py +0 -94
- package/tools/vds-scripts/confluence_orchestrator/tests/test_crawl_tree.py +0 -2252
- package/tools/vds-scripts/confluence_orchestrator/tests/test_degraded_write_safety.py +0 -176
- package/tools/vds-scripts/confluence_orchestrator/tests/test_draft_management.py +0 -225
- package/tools/vds-scripts/confluence_orchestrator/tests/test_errors.py +0 -75
- package/tools/vds-scripts/confluence_orchestrator/tests/test_eventing.py +0 -73
- package/tools/vds-scripts/confluence_orchestrator/tests/test_eventing_chaos.py +0 -37
- package/tools/vds-scripts/confluence_orchestrator/tests/test_eventing_rate_limit.py +0 -44
- package/tools/vds-scripts/confluence_orchestrator/tests/test_eventing_timeout.py +0 -49
- package/tools/vds-scripts/confluence_orchestrator/tests/test_export.py +0 -231
- package/tools/vds-scripts/confluence_orchestrator/tests/test_history.py +0 -217
- package/tools/vds-scripts/confluence_orchestrator/tests/test_http.py +0 -375
- package/tools/vds-scripts/confluence_orchestrator/tests/test_orchestration.py +0 -93
- package/tools/vds-scripts/confluence_orchestrator/tests/test_protocols.py +0 -23
- package/tools/vds-scripts/confluence_orchestrator/tests/test_reporting.py +0 -24
- package/tools/vds-scripts/confluence_orchestrator/tests/test_search_cql.py +0 -36
- package/tools/vds-scripts/confluence_orchestrator/tests/test_space_management.py +0 -236
- package/tools/vds-scripts/confluence_orchestrator/tests/test_space_permissions.py +0 -384
- package/tools/vds-scripts/confluence_orchestrator/tests/test_tree_copier.py +0 -644
- package/tools/vds-scripts/confluence_orchestrator/tests/test_tree_copier_remap.py +0 -289
- package/tools/vds-scripts/confluence_orchestrator/tests/test_user_group_management.py +0 -387
- package/tools/vds-scripts/db_query_orchestrator/Dockerfile +0 -64
- package/tools/vds-scripts/db_query_orchestrator/README.md +0 -105
- package/tools/vds-scripts/db_query_orchestrator/pyproject.toml +0 -67
- package/tools/vds-scripts/db_query_orchestrator/src/vds_db_query_orchestrator/__init__.py +0 -5
- package/tools/vds-scripts/db_query_orchestrator/src/vds_db_query_orchestrator/cli.py +0 -545
- package/tools/vds-scripts/db_query_orchestrator/tests/__init__.py +0 -0
- package/tools/vds-scripts/db_query_orchestrator/tests/test_cli.py +0 -171
- package/tools/vds-scripts/docker/.dockerignore +0 -38
- package/tools/vds-scripts/docker/ADR.md +0 -392
- package/tools/vds-scripts/docker/Dockerfile +0 -68
- package/tools/vds-scripts/docker/MIGRATION.md +0 -453
- package/tools/vds-scripts/docker/README.md +0 -347
- package/tools/vds-scripts/docker/ROLLBACK.md +0 -596
- package/tools/vds-scripts/docker/docker-compose.cli.yml +0 -90
- package/tools/vds-scripts/docker/docker-compose.infra.yml +0 -276
- package/tools/vds-scripts/docker/docker-compose.services.yml +0 -386
- package/tools/vds-scripts/docker/infrastructure/init-schemas.sql +0 -143
- package/tools/vds-scripts/docker/infrastructure/pgbouncer/pgbouncer.ini +0 -71
- package/tools/vds-scripts/docker/infrastructure/pgbouncer/userlist.txt +0 -50
- package/tools/vds-scripts/docker/infrastructure/pgbouncer/userlist.txt.template +0 -36
- package/tools/vds-scripts/docs/.confluence-evidence/.gitkeep +0 -0
- package/tools/vds-scripts/docs/.confluence-evidence/PREFLIGHT.md +0 -132
- package/tools/vds-scripts/docs/.confluence-evidence/README.md +0 -84
- package/tools/vds-scripts/docs/.confluence.yaml +0 -157
- package/tools/vds-scripts/docs/.freshness.yaml +0 -54
- package/tools/vds-scripts/docs/README.md +0 -235
- package/tools/vds-scripts/docs/agents/README.md +0 -33
- package/tools/vds-scripts/docs/agents/explanation/data-flow.md +0 -132
- package/tools/vds-scripts/docs/agents/explanation/development-roadmap.md +0 -49
- package/tools/vds-scripts/docs/agents/explanation/features-overview.md +0 -62
- package/tools/vds-scripts/docs/agents/explanation/index.md +0 -36
- package/tools/vds-scripts/docs/agents/explanation/runtime-verification-and-gap-reporting.md +0 -127
- package/tools/vds-scripts/docs/agents/explanation/system-architecture.md +0 -139
- package/tools/vds-scripts/docs/agents/explanation/whats-new.md +0 -75
- package/tools/vds-scripts/docs/agents/explanation/who-ecosystem-introduction.md +0 -65
- package/tools/vds-scripts/docs/agents/explanation/who-ecosystem-model.md +0 -41
- package/tools/vds-scripts/docs/agents/how-to/02-using-vds-ai-memory.md +0 -98
- package/tools/vds-scripts/docs/agents/how-to/03-memory-cross-agent.md +0 -241
- package/tools/vds-scripts/docs/agents/how-to/04-using-progress-reports.md +0 -240
- package/tools/vds-scripts/docs/agents/how-to/08-semantic-search.md +0 -46
- package/tools/vds-scripts/docs/agents/how-to/apply-phase3-migration.md +0 -148
- package/tools/vds-scripts/docs/agents/how-to/choose-the-right-command-or-skill.md +0 -34
- package/tools/vds-scripts/docs/agents/how-to/contribute-new-orchestrator.md +0 -149
- package/tools/vds-scripts/docs/agents/how-to/decision-tree.md +0 -63
- package/tools/vds-scripts/docs/agents/how-to/first-audit-run.md +0 -83
- package/tools/vds-scripts/docs/agents/how-to/index.md +0 -49
- package/tools/vds-scripts/docs/agents/how-to/install-and-bootstrap-who-scripts-and-skills.md +0 -314
- package/tools/vds-scripts/docs/agents/how-to/orchestrator-workflows/analytics-pipeline-workflow.md +0 -165
- package/tools/vds-scripts/docs/agents/how-to/orchestrator-workflows/code-quality-gate-workflow.md +0 -138
- package/tools/vds-scripts/docs/agents/how-to/orchestrator-workflows/confluence-bitbucket-sync-workflow.md +0 -130
- package/tools/vds-scripts/docs/agents/how-to/orchestrator-workflows/document-delivery-workflow.md +0 -142
- package/tools/vds-scripts/docs/agents/how-to/orchestrator-workflows/memory-progress-workflow.md +0 -140
- package/tools/vds-scripts/docs/agents/how-to/orchestrator-workflows/research-spec-audit-workflow.md +0 -135
- package/tools/vds-scripts/docs/agents/how-to/phase131-all-project-preparation.md +0 -211
- package/tools/vds-scripts/docs/agents/how-to/phase131-bounded-parallel-analysis.md +0 -123
- package/tools/vds-scripts/docs/agents/how-to/phase131-confluence-upload-recovery.md +0 -204
- package/tools/vds-scripts/docs/agents/how-to/phase132-department-preparation.md +0 -144
- package/tools/vds-scripts/docs/agents/how-to/run-ecosystem-daily-report.md +0 -213
- package/tools/vds-scripts/docs/agents/how-to/tips-and-tricks.md +0 -138
- package/tools/vds-scripts/docs/agents/how-to/troubleshooting-guide.md +0 -221
- package/tools/vds-scripts/docs/agents/reference/agent-operational-contract.md +0 -162
- package/tools/vds-scripts/docs/agents/reference/alignment-phase179-report.md +0 -144
- package/tools/vds-scripts/docs/agents/reference/audit-triage-playbook.md +0 -256
- package/tools/vds-scripts/docs/agents/reference/backup-restore.md +0 -132
- package/tools/vds-scripts/docs/agents/reference/bitbucket-orchestrator.md +0 -56
- package/tools/vds-scripts/docs/agents/reference/brd-orchestrator.md +0 -52
- package/tools/vds-scripts/docs/agents/reference/capability-coverage-review.md +0 -51
- package/tools/vds-scripts/docs/agents/reference/ci-workflows.md +0 -98
- package/tools/vds-scripts/docs/agents/reference/circular-dependency-orchestrator.md +0 -55
- package/tools/vds-scripts/docs/agents/reference/cli-commands.md +0 -583
- package/tools/vds-scripts/docs/agents/reference/cli-development-standards.md +0 -41
- package/tools/vds-scripts/docs/agents/reference/cli-help-matrix.md +0 -84
- package/tools/vds-scripts/docs/agents/reference/common-errors.md +0 -126
- package/tools/vds-scripts/docs/agents/reference/configuration-reference.md +0 -128
- package/tools/vds-scripts/docs/agents/reference/confluence-orchestrator.md +0 -56
- package/tools/vds-scripts/docs/agents/reference/confluence-sync-target.md +0 -111
- package/tools/vds-scripts/docs/agents/reference/confluence-sync.md +0 -46
- package/tools/vds-scripts/docs/agents/reference/db-query-orchestrator.md +0 -93
- package/tools/vds-scripts/docs/agents/reference/diagrams-orchestrator.md +0 -52
- package/tools/vds-scripts/docs/agents/reference/ecosystem-daily-report.md +0 -229
- package/tools/vds-scripts/docs/agents/reference/elastic-orchestrator.md +0 -57
- package/tools/vds-scripts/docs/agents/reference/env-git-helper.md +0 -216
- package/tools/vds-scripts/docs/agents/reference/evolution-orchestrator.md +0 -113
- package/tools/vds-scripts/docs/agents/reference/excel-orchestrator.md +0 -51
- package/tools/vds-scripts/docs/agents/reference/git-orchestrator.md +0 -62
- package/tools/vds-scripts/docs/agents/reference/google-sheets-orchestrator.md +0 -51
- package/tools/vds-scripts/docs/agents/reference/grafana-orchestrator.md +0 -52
- package/tools/vds-scripts/docs/agents/reference/hexagonal-orchestrator.md +0 -64
- package/tools/vds-scripts/docs/agents/reference/index.md +0 -36
- package/tools/vds-scripts/docs/agents/reference/infrastructure-v2.15.md +0 -67
- package/tools/vds-scripts/docs/agents/reference/intellij-orchestrator.md +0 -50
- package/tools/vds-scripts/docs/agents/reference/jira-orchestrator.md +0 -60
- package/tools/vds-scripts/docs/agents/reference/links-orchestrator.md +0 -57
- package/tools/vds-scripts/docs/agents/reference/lint-cli.md +0 -99
- package/tools/vds-scripts/docs/agents/reference/lsp-orchestrator.md +0 -51
- package/tools/vds-scripts/docs/agents/reference/markdown-orchestrator.md +0 -53
- package/tools/vds-scripts/docs/agents/reference/mcp-orchestrator.md +0 -88
- package/tools/vds-scripts/docs/agents/reference/memory-orchestrator.md +0 -53
- package/tools/vds-scripts/docs/agents/reference/metabase-orchestrator.md +0 -51
- package/tools/vds-scripts/docs/agents/reference/migration-playbook.md +0 -71
- package/tools/vds-scripts/docs/agents/reference/multi-agent-orchestrator.md +0 -52
- package/tools/vds-scripts/docs/agents/reference/openapi-orchestrator.md +0 -57
- package/tools/vds-scripts/docs/agents/reference/orchestrator-architecture.md +0 -194
- package/tools/vds-scripts/docs/agents/reference/orchestrator-comparison-matrix.md +0 -79
- package/tools/vds-scripts/docs/agents/reference/orchestrator-index.md +0 -73
- package/tools/vds-scripts/docs/agents/reference/pdf-orchestrator.md +0 -57
- package/tools/vds-scripts/docs/agents/reference/portable-paths-and-config.md +0 -0
- package/tools/vds-scripts/docs/agents/reference/portable-paths-validation-matrix.md +0 -129
- package/tools/vds-scripts/docs/agents/reference/progress-orchestrator.md +0 -51
- package/tools/vds-scripts/docs/agents/reference/progress-report-cli.md +0 -215
- package/tools/vds-scripts/docs/agents/reference/public-interface-orchestrator.md +0 -73
- package/tools/vds-scripts/docs/agents/reference/research-orchestrator.md +0 -53
- package/tools/vds-scripts/docs/agents/reference/schema-orchestrator.md +0 -57
- package/tools/vds-scripts/docs/agents/reference/search-tools.md +0 -34
- package/tools/vds-scripts/docs/agents/reference/skills-commands.md +0 -256
- package/tools/vds-scripts/docs/agents/reference/skills-reference.md +0 -32
- package/tools/vds-scripts/docs/agents/reference/sonarqube-orchestrator.md +0 -62
- package/tools/vds-scripts/docs/agents/reference/spec-orchestrator.md +0 -56
- package/tools/vds-scripts/docs/agents/reference/structure-orchestrator.md +0 -69
- package/tools/vds-scripts/docs/agents/reference/system-requirements.md +0 -76
- package/tools/vds-scripts/docs/agents/reference/tasks-orchestrator.md +0 -53
- package/tools/vds-scripts/docs/agents/reference/validation-and-sync-notes.md +0 -54
- package/tools/vds-scripts/docs/agents/reference/vds-ai-memory-api.md +0 -51
- package/tools/vds-scripts/docs/agents/reference/vds-cli-reference.md +0 -34
- package/tools/vds-scripts/docs/agents/reference/who-capability-inventory.md +0 -96
- package/tools/vds-scripts/docs/agents/reference/who-capability-routing-matrix.md +0 -14
- package/tools/vds-scripts/docs/agents/tutorials/feature-progression-guide.md +0 -112
- package/tools/vds-scripts/docs/agents/tutorials/index.md +0 -36
- package/tools/vds-scripts/docs/agents/tutorials/quick-start.md +0 -50
- package/tools/vds-scripts/docs/agents/tutorials/who-skills-and-scripts-onboarding.md +0 -47
- package/tools/vds-scripts/docs/agents/tutorials/zero-to-productive-developer.md +0 -339
- package/tools/vds-scripts/docs/confluence/IMPLEMENTATION-SUMMARY.md +0 -78
- package/tools/vds-scripts/docs/confluence/SYNC-GUIDE.md +0 -47
- package/tools/vds-scripts/docs/deployment/offline-docker-image-load.md +0 -59
- package/tools/vds-scripts/docs/evolution-auto-run-rollout.md +0 -325
- package/tools/vds-scripts/docs/evolution-loop-deep-integration.md +0 -496
- package/tools/vds-scripts/docs/evolution-loop-integration-guide.md +0 -359
- package/tools/vds-scripts/docs/openspace-schema-snapshot.md +0 -73
- package/tools/vds-scripts/docs/operations/sla-mttr-policy.md +0 -44
- package/tools/vds-scripts/docs/p0-closure-evidence/SUMMARY.md +0 -58
- package/tools/vds-scripts/docs/p4-closure-evidence/.gitkeep +0 -0
- package/tools/vds-scripts/docs/p4-closure-evidence/smoke-20260427T024137Z-b95b586b.json +0 -15
- package/tools/vds-scripts/docs/p8-preflight-evidence/alembic-and-runtime-advisory-locks.md +0 -45
- package/tools/vds-scripts/docs/p8-preflight-evidence/dbos-listen-notify.md +0 -54
- package/tools/vds-scripts/docs/p8-preflight-evidence/pgbouncer-search-path-empirical.md +0 -110
- package/tools/vds-scripts/docs/p8-preflight-evidence/pgvector-set-local-audit.md +0 -51
- package/tools/vds-scripts/docs/p8-preflight-evidence/topology-decision-session-mode.md +0 -57
- package/tools/vds-scripts/docs/phases/CHANGELOG.md +0 -103
- package/tools/vds-scripts/docs/phases/PHASE_125_COMPLETION_AND_MERGE.md +0 -212
- package/tools/vds-scripts/docs/phases/phase125/IMPLEMENTATION_REPORT.md +0 -227
- package/tools/vds-scripts/docs/phases/phase125/TSK-125.10-11-implementation-summary.md +0 -196
- package/tools/vds-scripts/docs/phases/phase125/profile-patch-ollama-local-anthropic.md +0 -122
- package/tools/vds-scripts/docs/phases/phase125_completion_summary.md +0 -369
- package/tools/vds-scripts/docs/phases/phase125_llm_analysis_skill.md +0 -164
- package/tools/vds-scripts/docs/phases/phase125_merge_complete.md +0 -147
- package/tools/vds-scripts/docs/phases/phase125_skill_runtime_closure_20260321.md +0 -91
- package/tools/vds-scripts/docs/phases/phase2-portable-paths/closure-handoff-summary-2026-03-23.md +0 -290
- package/tools/vds-scripts/docs/phases/phase2-portable-paths/remaining-risk-register-2026-03-25.md +0 -143
- package/tools/vds-scripts/docs/phases/phase2-portable-paths/verification-evidence-2026-03-23.md +0 -135
- package/tools/vds-scripts/docs/v0-sunset-known-issues.md +0 -88
- package/tools/vds-scripts/docs/vi/TRANSLATION-BACKLOG.md +0 -72
- package/tools/vds-scripts/docs/vi/agents/README.md +0 -41
- package/tools/vds-scripts/docs/vi/agents/explanation/features-overview.md +0 -29
- package/tools/vds-scripts/docs/vi/agents/explanation/index.md +0 -14
- package/tools/vds-scripts/docs/vi/agents/explanation/runtime-verification-and-gap-reporting.md +0 -129
- package/tools/vds-scripts/docs/vi/agents/explanation/whats-new.md +0 -37
- package/tools/vds-scripts/docs/vi/agents/explanation/who-ecosystem-introduction.md +0 -21
- package/tools/vds-scripts/docs/vi/agents/explanation/who-ecosystem-model.md +0 -36
- package/tools/vds-scripts/docs/vi/agents/how-to/02-using-vds-ai-memory.md +0 -100
- package/tools/vds-scripts/docs/vi/agents/how-to/03-memory-cross-agent.md +0 -243
- package/tools/vds-scripts/docs/vi/agents/how-to/04-using-progress-reports.md +0 -242
- package/tools/vds-scripts/docs/vi/agents/how-to/08-semantic-search.md +0 -16
- package/tools/vds-scripts/docs/vi/agents/how-to/choose-the-right-command-or-skill.md +0 -36
- package/tools/vds-scripts/docs/vi/agents/how-to/decision-tree.md +0 -77
- package/tools/vds-scripts/docs/vi/agents/how-to/first-audit-run.md +0 -85
- package/tools/vds-scripts/docs/vi/agents/how-to/index.md +0 -21
- package/tools/vds-scripts/docs/vi/agents/how-to/install-and-bootstrap-who-scripts-and-skills.md +0 -156
- package/tools/vds-scripts/docs/vi/agents/how-to/orchestrator-workflows/analytics-pipeline-workflow.md +0 -174
- package/tools/vds-scripts/docs/vi/agents/how-to/orchestrator-workflows/code-quality-gate-workflow.md +0 -147
- package/tools/vds-scripts/docs/vi/agents/how-to/orchestrator-workflows/confluence-bitbucket-sync-workflow.md +0 -139
- package/tools/vds-scripts/docs/vi/agents/how-to/orchestrator-workflows/document-delivery-workflow.md +0 -151
- package/tools/vds-scripts/docs/vi/agents/how-to/orchestrator-workflows/memory-progress-workflow.md +0 -149
- package/tools/vds-scripts/docs/vi/agents/how-to/orchestrator-workflows/research-spec-audit-workflow.md +0 -144
- package/tools/vds-scripts/docs/vi/agents/how-to/phase131-all-project-preparation.md +0 -213
- package/tools/vds-scripts/docs/vi/agents/how-to/phase131-bounded-parallel-analysis.md +0 -125
- package/tools/vds-scripts/docs/vi/agents/how-to/phase131-confluence-upload-recovery.md +0 -206
- package/tools/vds-scripts/docs/vi/agents/how-to/phase132-department-preparation.md +0 -146
- package/tools/vds-scripts/docs/vi/agents/how-to/tips-and-tricks.md +0 -34
- package/tools/vds-scripts/docs/vi/agents/how-to/troubleshooting-guide.md +0 -36
- package/tools/vds-scripts/docs/vi/agents/reference/agent-operational-contract.md +0 -98
- package/tools/vds-scripts/docs/vi/agents/reference/audit-triage-playbook.md +0 -258
- package/tools/vds-scripts/docs/vi/agents/reference/bitbucket-orchestrator.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/reference/brd-orchestrator.md +0 -29
- package/tools/vds-scripts/docs/vi/agents/reference/capability-coverage-review.md +0 -46
- package/tools/vds-scripts/docs/vi/agents/reference/circular-dependency-orchestrator.md +0 -29
- package/tools/vds-scripts/docs/vi/agents/reference/cli-commands.md +0 -409
- package/tools/vds-scripts/docs/vi/agents/reference/cli-development-standards.md +0 -19
- package/tools/vds-scripts/docs/vi/agents/reference/cli-help-matrix.md +0 -71
- package/tools/vds-scripts/docs/vi/agents/reference/common-errors.md +0 -133
- package/tools/vds-scripts/docs/vi/agents/reference/configuration-reference.md +0 -25
- package/tools/vds-scripts/docs/vi/agents/reference/confluence-orchestrator.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/reference/db-query-orchestrator.md +0 -34
- package/tools/vds-scripts/docs/vi/agents/reference/diagrams-orchestrator.md +0 -31
- package/tools/vds-scripts/docs/vi/agents/reference/elastic-orchestrator.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/reference/evolution-orchestrator.md +0 -31
- package/tools/vds-scripts/docs/vi/agents/reference/excel-orchestrator.md +0 -60
- package/tools/vds-scripts/docs/vi/agents/reference/git-orchestrator.md +0 -31
- package/tools/vds-scripts/docs/vi/agents/reference/google-sheets-orchestrator.md +0 -60
- package/tools/vds-scripts/docs/vi/agents/reference/grafana-orchestrator.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/reference/hexagonal-orchestrator.md +0 -73
- package/tools/vds-scripts/docs/vi/agents/reference/index.md +0 -25
- package/tools/vds-scripts/docs/vi/agents/reference/intellij-orchestrator.md +0 -59
- package/tools/vds-scripts/docs/vi/agents/reference/jira-orchestrator.md +0 -32
- package/tools/vds-scripts/docs/vi/agents/reference/links-orchestrator.md +0 -66
- package/tools/vds-scripts/docs/vi/agents/reference/lsp-orchestrator.md +0 -60
- package/tools/vds-scripts/docs/vi/agents/reference/markdown-orchestrator.md +0 -62
- package/tools/vds-scripts/docs/vi/agents/reference/mcp-orchestrator.md +0 -34
- package/tools/vds-scripts/docs/vi/agents/reference/memory-orchestrator.md +0 -45
- package/tools/vds-scripts/docs/vi/agents/reference/metabase-orchestrator.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/reference/multi-agent-orchestrator.md +0 -61
- package/tools/vds-scripts/docs/vi/agents/reference/openapi-orchestrator.md +0 -66
- package/tools/vds-scripts/docs/vi/agents/reference/orchestrator-architecture.md +0 -24
- package/tools/vds-scripts/docs/vi/agents/reference/orchestrator-index.md +0 -73
- package/tools/vds-scripts/docs/vi/agents/reference/pdf-orchestrator.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/reference/portable-paths-and-config.md +0 -123
- package/tools/vds-scripts/docs/vi/agents/reference/portable-paths-validation-matrix.md +0 -131
- package/tools/vds-scripts/docs/vi/agents/reference/progress-orchestrator.md +0 -43
- package/tools/vds-scripts/docs/vi/agents/reference/progress-report-cli.md +0 -217
- package/tools/vds-scripts/docs/vi/agents/reference/public-interface-orchestrator.md +0 -82
- package/tools/vds-scripts/docs/vi/agents/reference/research-orchestrator.md +0 -45
- package/tools/vds-scripts/docs/vi/agents/reference/schema-orchestrator.md +0 -66
- package/tools/vds-scripts/docs/vi/agents/reference/search-tools.md +0 -19
- package/tools/vds-scripts/docs/vi/agents/reference/skills-reference.md +0 -27
- package/tools/vds-scripts/docs/vi/agents/reference/sonarqube-orchestrator.md +0 -71
- package/tools/vds-scripts/docs/vi/agents/reference/spec-orchestrator.md +0 -56
- package/tools/vds-scripts/docs/vi/agents/reference/structure-orchestrator.md +0 -78
- package/tools/vds-scripts/docs/vi/agents/reference/system-requirements.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/reference/tasks-orchestrator.md +0 -45
- package/tools/vds-scripts/docs/vi/agents/reference/validation-and-sync-notes.md +0 -26
- package/tools/vds-scripts/docs/vi/agents/reference/vds-ai-memory-api.md +0 -53
- package/tools/vds-scripts/docs/vi/agents/reference/vds-cli-reference.md +0 -34
- package/tools/vds-scripts/docs/vi/agents/reference/who-capability-inventory.md +0 -98
- package/tools/vds-scripts/docs/vi/agents/reference/who-capability-routing-matrix.md +0 -16
- package/tools/vds-scripts/docs/vi/agents/tutorials/feature-progression-guide.md +0 -124
- package/tools/vds-scripts/docs/vi/agents/tutorials/index.md +0 -13
- package/tools/vds-scripts/docs/vi/agents/tutorials/quick-start.md +0 -30
- package/tools/vds-scripts/docs/vi/agents/tutorials/who-skills-and-scripts-onboarding.md +0 -42
- package/tools/vds-scripts/docs/vi/agents/tutorials/zero-to-productive-developer.md +0 -137
- package/tools/vds-scripts/elastic_orchestrator/README.md +0 -450
- package/tools/vds-scripts/elastic_orchestrator/pyproject.toml +0 -97
- package/tools/vds-scripts/elastic_orchestrator/src/vds_elastic_orchestrator/__init__.py +0 -81
- package/tools/vds-scripts/elastic_orchestrator/src/vds_elastic_orchestrator/cli.py +0 -652
- package/tools/vds-scripts/elastic_orchestrator/src/vds_elastic_orchestrator/client.py +0 -743
- package/tools/vds-scripts/elastic_orchestrator/src/vds_elastic_orchestrator/config.py +0 -208
- package/tools/vds-scripts/elastic_orchestrator/src/vds_elastic_orchestrator/errors.py +0 -34
- package/tools/vds-scripts/elastic_orchestrator/src/vds_elastic_orchestrator/py.typed +0 -0
- package/tools/vds-scripts/elastic_orchestrator/tests/__init__.py +0 -0
- package/tools/vds-scripts/elastic_orchestrator/tests/conftest.py +0 -227
- package/tools/vds-scripts/elastic_orchestrator/tests/test_client.py +0 -990
- package/tools/vds-scripts/elastic_orchestrator/tests/test_config.py +0 -268
- package/tools/vds-scripts/elastic_orchestrator/tests/test_e2e_verification.py +0 -272
- package/tools/vds-scripts/elastic_orchestrator/tests/test_errors.py +0 -78
- package/tools/vds-scripts/git_orchestrator/ENHANCEMENT_SUMMARY.md +0 -119
- package/tools/vds-scripts/git_orchestrator/README.md +0 -286
- package/tools/vds-scripts/git_orchestrator/VERIFICATION_REPORT.md +0 -152
- package/tools/vds-scripts/git_orchestrator/pyproject.toml +0 -37
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/__init__.py +0 -30
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/__main__.py +0 -4
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/branch_probe.py +0 -271
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/cli.py +0 -892
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/logging_config.py +0 -63
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/manifest.py +0 -249
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/orchestrator.py +0 -1647
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/protocols.py +0 -35
- package/tools/vds-scripts/git_orchestrator/src/vds_git_orchestrator/reporting.py +0 -55
- package/tools/vds-scripts/git_orchestrator/tests/__init__.py +0 -0
- package/tools/vds-scripts/git_orchestrator/tests/test_cli_settings.py +0 -19
- package/tools/vds-scripts/git_orchestrator/tests/test_integration.py +0 -79
- package/tools/vds-scripts/git_orchestrator/tests/test_manifest.py +0 -79
- package/tools/vds-scripts/git_orchestrator/tests/test_orchestrator.py +0 -207
- package/tools/vds-scripts/git_orchestrator/tests/test_public_api.py +0 -235
- package/tools/vds-scripts/git_orchestrator/tests/test_resilience.py +0 -343
- package/tools/vds-scripts/git_orchestrator/tests/unit/__init__.py +0 -0
- package/tools/vds-scripts/git_orchestrator/tests/unit/test_branch_probe.py +0 -327
- package/tools/vds-scripts/git_orchestrator/tests/unit/test_protocols.py +0 -132
- package/tools/vds-scripts/google_sheets_orchestrator/README.md +0 -241
- package/tools/vds-scripts/google_sheets_orchestrator/pyproject.toml +0 -45
- package/tools/vds-scripts/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/__init__.py +0 -69
- package/tools/vds-scripts/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/cli.py +0 -568
- package/tools/vds-scripts/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/client.py +0 -186
- package/tools/vds-scripts/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/config.py +0 -46
- package/tools/vds-scripts/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/errors.py +0 -41
- package/tools/vds-scripts/google_sheets_orchestrator/tests/__init__.py +0 -1
- package/tools/vds-scripts/google_sheets_orchestrator/tests/conftest.py +0 -1
- package/tools/vds-scripts/google_sheets_orchestrator/tests/unit/__init__.py +0 -1
- package/tools/vds-scripts/google_sheets_orchestrator/tests/unit/test_cli.py +0 -212
- package/tools/vds-scripts/google_sheets_orchestrator/tests/unit/test_client.py +0 -24
- package/tools/vds-scripts/google_sheets_orchestrator/tests/unit/test_config.py +0 -16
- package/tools/vds-scripts/grafana_orchestrator/README.md +0 -572
- package/tools/vds-scripts/grafana_orchestrator/pyproject.toml +0 -102
- package/tools/vds-scripts/grafana_orchestrator/src/vds_grafana_orchestrator/__init__.py +0 -78
- package/tools/vds-scripts/grafana_orchestrator/src/vds_grafana_orchestrator/cli.py +0 -455
- package/tools/vds-scripts/grafana_orchestrator/src/vds_grafana_orchestrator/client.py +0 -700
- package/tools/vds-scripts/grafana_orchestrator/src/vds_grafana_orchestrator/config.py +0 -243
- package/tools/vds-scripts/grafana_orchestrator/src/vds_grafana_orchestrator/errors.py +0 -34
- package/tools/vds-scripts/grafana_orchestrator/src/vds_grafana_orchestrator/py.typed +0 -1
- package/tools/vds-scripts/grafana_orchestrator/tests/__init__.py +0 -1
- package/tools/vds-scripts/grafana_orchestrator/tests/conftest.py +0 -308
- package/tools/vds-scripts/grafana_orchestrator/tests/test_client.py +0 -458
- package/tools/vds-scripts/grafana_orchestrator/tests/test_config.py +0 -203
- package/tools/vds-scripts/grafana_orchestrator/tests/test_errors.py +0 -78
- package/tools/vds-scripts/jira_orchestrator/README.md +0 -864
- package/tools/vds-scripts/jira_orchestrator/pyproject.toml +0 -43
- package/tools/vds-scripts/jira_orchestrator/src/vds_jira_orchestrator/__init__.py +0 -65
- package/tools/vds-scripts/jira_orchestrator/src/vds_jira_orchestrator/adapter.py +0 -1685
- package/tools/vds-scripts/jira_orchestrator/src/vds_jira_orchestrator/cli.py +0 -2806
- package/tools/vds-scripts/jira_orchestrator/src/vds_jira_orchestrator/config.py +0 -168
- package/tools/vds-scripts/jira_orchestrator/src/vds_jira_orchestrator/errors.py +0 -34
- package/tools/vds-scripts/jira_orchestrator/src/vds_jira_orchestrator/reporting.py +0 -66
- package/tools/vds-scripts/jira_orchestrator/tests/__init__.py +0 -1
- package/tools/vds-scripts/jira_orchestrator/tests/conftest.py +0 -86
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_agile_list_payloads.py +0 -54
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_bulk_operations.py +0 -91
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_components.py +0 -56
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_createmeta.py +0 -45
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_dashboard.py +0 -119
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_issue_properties.py +0 -53
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_permissions_compat.py +0 -41
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_reindex.py +0 -42
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_remote_links.py +0 -75
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_transitions.py +0 -90
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_user_management.py +0 -116
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_version_management.py +0 -181
- package/tools/vds-scripts/jira_orchestrator/tests/test_adapter_watchers.py +0 -43
- package/tools/vds-scripts/jira_orchestrator/tests/test_advanced_search.py +0 -179
- package/tools/vds-scripts/jira_orchestrator/tests/test_agile.py +0 -304
- package/tools/vds-scripts/jira_orchestrator/tests/test_application_properties.py +0 -243
- package/tools/vds-scripts/jira_orchestrator/tests/test_backlog.py +0 -91
- package/tools/vds-scripts/jira_orchestrator/tests/test_bulk_operations.py +0 -403
- package/tools/vds-scripts/jira_orchestrator/tests/test_cli.py +0 -108
- package/tools/vds-scripts/jira_orchestrator/tests/test_components.py +0 -119
- package/tools/vds-scripts/jira_orchestrator/tests/test_config.py +0 -166
- package/tools/vds-scripts/jira_orchestrator/tests/test_dashboard.py +0 -122
- package/tools/vds-scripts/jira_orchestrator/tests/test_discover_fields.py +0 -207
- package/tools/vds-scripts/jira_orchestrator/tests/test_errors.py +0 -72
- package/tools/vds-scripts/jira_orchestrator/tests/test_filter_management.py +0 -411
- package/tools/vds-scripts/jira_orchestrator/tests/test_issue_archiving.py +0 -179
- package/tools/vds-scripts/jira_orchestrator/tests/test_issue_links.py +0 -257
- package/tools/vds-scripts/jira_orchestrator/tests/test_issue_properties.py +0 -189
- package/tools/vds-scripts/jira_orchestrator/tests/test_link_types.py +0 -407
- package/tools/vds-scripts/jira_orchestrator/tests/test_parse_set.py +0 -37
- package/tools/vds-scripts/jira_orchestrator/tests/test_permissions.py +0 -343
- package/tools/vds-scripts/jira_orchestrator/tests/test_reindex.py +0 -81
- package/tools/vds-scripts/jira_orchestrator/tests/test_remote_links.py +0 -269
- package/tools/vds-scripts/jira_orchestrator/tests/test_security_schemes.py +0 -202
- package/tools/vds-scripts/jira_orchestrator/tests/test_transitions_changelog.py +0 -109
- package/tools/vds-scripts/jira_orchestrator/tests/test_user_management.py +0 -246
- package/tools/vds-scripts/jira_orchestrator/tests/test_version_management.py +0 -503
- package/tools/vds-scripts/jira_orchestrator/tests/test_watchers.py +0 -116
- package/tools/vds-scripts/jira_orchestrator/tests/test_worklog.py +0 -243
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/README.md +0 -864
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/pyproject.toml +0 -43
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/__init__.py +0 -65
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/adapter.py +0 -1689
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/cli.py +0 -2799
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/config.py +0 -137
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/errors.py +0 -34
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/reporting.py +0 -65
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/__init__.py +0 -1
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/conftest.py +0 -86
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_agile_list_payloads.py +0 -54
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_bulk_operations.py +0 -101
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_components.py +0 -64
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_createmeta.py +0 -45
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_dashboard.py +0 -135
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_issue_properties.py +0 -63
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_permissions_compat.py +0 -42
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_reindex.py +0 -42
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_remote_links.py +0 -89
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_transitions.py +0 -91
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_user_management.py +0 -130
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_version_management.py +0 -189
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_adapter_watchers.py +0 -49
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_advanced_search.py +0 -213
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_agile.py +0 -334
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_application_properties.py +0 -261
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_backlog.py +0 -91
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_bulk_operations.py +0 -443
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_cli.py +0 -106
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_components.py +0 -133
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_config.py +0 -166
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_dashboard.py +0 -130
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_discover_fields.py +0 -207
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_errors.py +0 -61
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_filter_management.py +0 -478
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_issue_archiving.py +0 -181
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_issue_links.py +0 -257
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_issue_properties.py +0 -203
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_link_types.py +0 -426
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_parse_set.py +0 -37
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_permissions.py +0 -358
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_reindex.py +0 -81
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_remote_links.py +0 -292
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_security_schemes.py +0 -218
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_transitions_changelog.py +0 -121
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_user_management.py +0 -283
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_version_management.py +0 -561
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_watchers.py +0 -128
- package/tools/vds-scripts/jira_viettelmoney_orchestrator/tests/test_worklog.py +0 -265
- package/tools/vds-scripts/llms.txt +0 -159
- package/tools/vds-scripts/mcp_server/Dockerfile +0 -63
- package/tools/vds-scripts/mcp_server/README.md +0 -140
- package/tools/vds-scripts/mcp_server/pyproject.toml +0 -41
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/__init__.py +0 -3
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/config.py +0 -36
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/server.py +0 -111
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/tools/__init__.py +0 -15
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/tools/bitbucket_tools.py +0 -47
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/tools/confluence_tools.py +0 -53
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/tools/git_tools.py +0 -71
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/tools/jira_tools.py +0 -63
- package/tools/vds-scripts/mcp_server/src/vds_mcp_server/tools/vidp_tools.py +0 -64
- package/tools/vds-scripts/mcp_server/tests/__init__.py +0 -1
- package/tools/vds-scripts/mcp_server/tests/conftest.py +0 -31
- package/tools/vds-scripts/mcp_server/tests/unit/__init__.py +0 -1
- package/tools/vds-scripts/mcp_server/tests/unit/test_bitbucket_tools.py +0 -28
- package/tools/vds-scripts/mcp_server/tests/unit/test_confluence_tools.py +0 -28
- package/tools/vds-scripts/mcp_server/tests/unit/test_git_tools.py +0 -35
- package/tools/vds-scripts/mcp_server/tests/unit/test_jira_tools.py +0 -35
- package/tools/vds-scripts/mcp_server/tests/verification/__init__.py +0 -6
- package/tools/vds-scripts/mcp_server/tests/verification/conftest.py +0 -51
- package/tools/vds-scripts/mcp_server/tests/verification/test_mcp_confluence_tools.py +0 -40
- package/tools/vds-scripts/mcp_server/tests/verification/test_mcp_jira_tools.py +0 -39
- package/tools/vds-scripts/mcp_server/tests/verification/test_mcp_tool_registration.py +0 -50
- package/tools/vds-scripts/memory_orchestrator/.env.example +0 -109
- package/tools/vds-scripts/memory_orchestrator/Dockerfile +0 -103
- package/tools/vds-scripts/memory_orchestrator/README.md +0 -203
- package/tools/vds-scripts/memory_orchestrator/alembic/env.py +0 -35
- package/tools/vds-scripts/memory_orchestrator/alembic/script.py.mako +0 -28
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0001_add_team_id_to_vector_search_history.py +0 -57
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0002_nullable_query_text_vector_search_history.py +0 -47
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0003_create_memory_vectors_if_missing.py +0 -49
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0004_create_memory_duplicate_groups_and_members.py +0 -61
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0005_create_search_queries_if_missing.py +0 -57
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0006_create_export_import_jobs_if_missing.py +0 -52
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0007_create_remaining_orm_tables.py +0 -145
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0008_alter_export_import_jobs_user_id_to_varchar.py +0 -55
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0009_create_core_tables_if_missing.py +0 -197
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0010_create_service_accounts.py +0 -75
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0011_create_users_table.py +0 -106
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0012_audit_log_v3.py +0 -107
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0042_memory_dedup_resolutions.py +0 -67
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0043_memory_records_tombstones.py +0 -68
- package/tools/vds-scripts/memory_orchestrator/alembic/versions/0044_memory_evolution_shadow_soak_state.py +0 -69
- package/tools/vds-scripts/memory_orchestrator/alembic.ini +0 -65
- package/tools/vds-scripts/memory_orchestrator/conftest.py +0 -42
- package/tools/vds-scripts/memory_orchestrator/create_analytics_tables.sql +0 -289
- package/tools/vds-scripts/memory_orchestrator/create_memory_evolution_tables.sql +0 -104
- package/tools/vds-scripts/memory_orchestrator/create_memory_vectors_table.sql +0 -26
- package/tools/vds-scripts/memory_orchestrator/init-db-simple.sql +0 -16
- package/tools/vds-scripts/memory_orchestrator/pyproject.toml +0 -169
- package/tools/vds-scripts/memory_orchestrator/scripts/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/scripts/deploy.sh +0 -112
- package/tools/vds-scripts/memory_orchestrator/scripts/entrypoint.sh +0 -130
- package/tools/vds-scripts/memory_orchestrator/scripts/mint_memory_client_service_token.py +0 -179
- package/tools/vds-scripts/memory_orchestrator/scripts/recover_with_infer_false.py +0 -224
- package/tools/vds-scripts/memory_orchestrator/scripts/soak-stalled-rate.sh +0 -95
- package/tools/vds-scripts/memory_orchestrator/scripts/verify-track-alpha.sh +0 -110
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/__init__.py +0 -5
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/agents/__init__.py +0 -15
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/agents/_model_factory.py +0 -37
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/agents/consolidation.py +0 -49
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/agents/extraction.py +0 -56
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/agents/intent.py +0 -40
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/cli.py +0 -1457
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/client.py +0 -204
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/config/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/config/memory_evolution.toml +0 -20
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/config/rules/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/config/rules/storage_rules.yaml +0 -281
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/config/session_templates.json +0 -63
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/db/__init__.py +0 -10
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/db/alembic_filters.py +0 -66
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/formatters.py +0 -82
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/__init__.py +0 -25
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/ai_memory_api.py +0 -1172
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/mcp_api.py +0 -854
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/openapi_config.py +0 -426
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/status_mapping.py +0 -91
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/analytics.py +0 -1406
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/auth.py +0 -409
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/authorization.py +0 -474
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/cache.py +0 -51
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/cleanup.py +0 -286
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/deduplication.py +0 -546
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/dependencies.py +0 -349
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/embedding.py +0 -190
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/export_import.py +0 -596
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/health.py +0 -35
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/hooks.py +0 -145
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/maintenance.py +0 -653
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/promotion.py +0 -68
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/reconciliation.py +0 -102
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/sharing.py +0 -674
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/tasks.py +0 -72
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/api/v1/versioning.py +0 -483
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/brain/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/brain/memory_manager.py +0 -914
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/brain/research_analyzer.py +0 -839
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/brain/vds_brain_agent.py +0 -1120
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/config/memory_dedup.toml +0 -15
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/ai_memory_exceptions.py +0 -225
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/audit_log_writer.py +0 -59
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/auth.py +0 -350
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/config.py +0 -836
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/exceptions.py +0 -203
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/identity.py +0 -175
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/input_validation.py +0 -785
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/legacy_claim_normalizer.py +0 -142
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/rate_limit.py +0 -587
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/rbac_decorators.py +0 -531
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/redis.py +0 -446
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/scope_validator.py +0 -125
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/security.py +0 -109
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/security_middleware.py +0 -535
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/tests/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/core/tests/test_input_validation.py +0 -68
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/database/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/database/analytics_repository.py +0 -38
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/database/postgres_manager.py +0 -1897
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/database/rbac_migration.py +0 -57
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/database/redis_manager.py +0 -617
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/domain/__init__.py +0 -1
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/domain/entities/__init__.py +0 -1
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/domain/entities/user.py +0 -96
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/hooks/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/hooks/storage_strategy_hook.py +0 -465
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/integrations/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/integrations/memory_transformer.py +0 -827
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/main.py +0 -491
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/mcp/__init__.py +0 -20
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/mcp/env_config_parser.py +0 -188
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/mcp/official_mcp_client.py +0 -1574
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/mcp/working_mcp_interface.py +0 -340
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/__init__.py +0 -125
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/ai_memory_models.py +0 -1587
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/analytics_models.py +0 -766
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/auth_models.py +0 -460
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/database.py +0 -841
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/deduplication_models.py +0 -354
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/export_import_models.py +0 -353
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/rbac.py +0 -9
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/resource_ownership.py +0 -282
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/search_models.py +0 -427
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/search_models_additional.py +0 -322
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/models/sharing_models.py +0 -366
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/perf/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/repositories/__init__.py +0 -1
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/repositories/dev_mode_user_repository.py +0 -194
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/repositories/postgres_user_repository.py +0 -280
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/repositories/service_account_repository.py +0 -330
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/repositories/user_repository.py +0 -77
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/ai_memory_service.py +0 -2754
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/analytics_events.py +0 -104
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/analytics_service.py +0 -2825
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/auth.py +0 -207
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/embedding_service.py +0 -51
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/entity_backfill_service.py +0 -343
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/fallback_search_service.py +0 -327
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/health_check.py +0 -1556
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/mcp_integration_service.py +0 -224
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/mem0_adapter.py +0 -796
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/mem0_client.py +0 -48
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/mem0_sync_service.py +0 -484
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_admin_service.py +0 -1011
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_crud_service.py +0 -1469
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_deduplication.py +0 -1761
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/__init__.py +0 -17
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/celery_app.py +0 -70
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/celery_entrypoint.py +0 -15
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/config_loader.py +0 -275
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/consolidation_executor.py +0 -309
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/processor.py +0 -574
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/rules.py +0 -136
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/shadow_soak.py +0 -161
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/sweeper.py +0 -216
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/tracker.py +0 -265
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_evolution/worker.py +0 -780
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_export_import.py +0 -1403
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_search_service.py +0 -1164
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_sharing.py +0 -741
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/memory_versioning.py +0 -592
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/ownership_service.py +0 -798
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/promotion_service.py +0 -187
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/query_router_service.py +0 -523
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/rbac_service.py +0 -711
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/semantic_cache_service.py +0 -605
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/session_template_service.py +0 -76
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/storage_strategy/__init__.py +0 -35
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/storage_strategy/consolidation_worker.py +0 -384
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/storage_strategy/content_analyzer.py +0 -482
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/storage_strategy/pattern_matcher.py +0 -363
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/storage_strategy/rule_engine.py +0 -447
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/storage_strategy/storage_engine.py +0 -299
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/tool_registry_service.py +0 -544
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/triage_service.py +0 -250
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/services/vector_search_service.py +0 -497
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/use_cases/__init__.py +0 -1
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/use_cases/auth/__init__.py +0 -1
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/use_cases/auth/create_user_use_case.py +0 -96
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/use_cases/auth/exceptions.py +0 -94
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/use_cases/auth/login_use_case.py +0 -217
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/use_cases/auth/policies.py +0 -102
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/use_cases/auth/refresh_token_use_case.py +0 -86
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/utils/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/src/vds_memory_orchestrator/service/utils/data_transformer.py +0 -28
- package/tools/vds-scripts/memory_orchestrator/tests/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/tests/auth/__init__.py +0 -6
- package/tools/vds-scripts/memory_orchestrator/tests/auth/conftest.py +0 -124
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_acquire_jwt_token_deprecation.py +0 -176
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_alembic_0010_migration.py +0 -193
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_alembic_0011_users_migration.py +0 -234
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_alembic_0012_audit_log_v3_migration.py +0 -184
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_analytics_stream_machine_hint.py +0 -149
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_audit_log_identity_fields.py +0 -369
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_audit_log_v3_schema.py +0 -186
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_auth_api_endpoints.py +0 -264
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_authenticators.py +0 -343
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_conftest_factory.py +0 -108
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_create_user_use_case.py +0 -246
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_dependencies.py +0 -232
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_dev_mode_claim_fidelity.py +0 -87
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_dev_mode_parity.py +0 -187
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_dev_mode_user_repository.py +0 -271
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_get_current_identity.py +0 -403
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_identity.py +0 -272
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_jwt_auth.py +0 -658
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_legacy_callers_smoke.py +0 -141
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_legacy_claim_compat.py +0 -234
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_legacy_claim_normalizer.py +0 -315
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_lockout_policy.py +0 -124
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_login_use_case.py +0 -455
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_lsp_regression_contracts.py +0 -259
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_machine_context_detection.py +0 -160
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_me_endpoint_no_deprecation.py +0 -199
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_mint_service_token.py +0 -244
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_postgres_service_account_repository.py +0 -222
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_postgres_user_repository.py +0 -302
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_refresh_token_use_case.py +0 -187
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_scope_validator.py +0 -249
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_security.py +0 -158
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_service_account_entity.py +0 -146
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_service_account_repository_protocol.py +0 -60
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_token_precedence.py +0 -205
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_user_entity.py +0 -217
- package/tools/vds-scripts/memory_orchestrator/tests/auth/test_user_repository_protocol.py +0 -141
- package/tools/vds-scripts/memory_orchestrator/tests/cli/__init__.py +0 -1
- package/tools/vds-scripts/memory_orchestrator/tests/cli/test_memory_create_user.py +0 -208
- package/tools/vds-scripts/memory_orchestrator/tests/conftest.py +0 -184
- package/tools/vds-scripts/memory_orchestrator/tests/integration/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/tests/integration/api/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/tests/integration/api/test_auth_login_e2e.py +0 -425
- package/tools/vds-scripts/memory_orchestrator/tests/integration/api/test_health_strict_json.py +0 -197
- package/tools/vds-scripts/memory_orchestrator/tests/integration/test_async_mode_status.py +0 -192
- package/tools/vds-scripts/memory_orchestrator/tests/integration/test_vami020_dual_correctness.py +0 -218
- package/tools/vds-scripts/memory_orchestrator/tests/integration/test_worktree_compose.py +0 -257
- package/tools/vds-scripts/memory_orchestrator/tests/service/TEST_DOCUMENTATION.md +0 -467
- package/tools/vds-scripts/memory_orchestrator/tests/service/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/tests/service/conftest.py +0 -1040
- package/tools/vds-scripts/memory_orchestrator/tests/service/conftest_root.py +0 -63
- package/tools/vds-scripts/memory_orchestrator/tests/service/postman/Local Environment.postman_environment.json +0 -46
- package/tools/vds-scripts/memory_orchestrator/tests/service/postman/README.md +0 -302
- package/tools/vds-scripts/memory_orchestrator/tests/service/postman/VDS Analytics API.postman_collection.json +0 -562
- package/tools/vds-scripts/memory_orchestrator/tests/service/pytest.integration.ini +0 -21
- package/tools/vds-scripts/memory_orchestrator/tests/service/pytest.unit.ini +0 -21
- package/tools/vds-scripts/memory_orchestrator/tests/service/services/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/tests/service/services/test_health_aggregation.py +0 -370
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_ai_memory_api.py +0 -797
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_ai_memory_service.py +0 -1661
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_ai_memory_service_routing.py +0 -165
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_alerts.py +0 -89
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_api_integration.py +0 -604
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_bi.py +0 -49
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_dashboard_e2e.py +0 -106
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_dashboards.py +0 -127
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_enhanced.py +0 -575
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_external.py +0 -44
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_performance_metrics.py +0 -60
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_realtime.py +0 -63
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_reports.py +0 -138
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_service.py +0 -59
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_stream_cli.py +0 -305
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_analytics_websocket.py +0 -145
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_basic.py +0 -29
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_cache_warm_endpoint.py +0 -38
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_cache_warming_simple.py +0 -197
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_cache_warming_validation.py +0 -378
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_circuit_breaker_integration.py +0 -336
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_cleanup_endpoint.py +0 -126
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_concurrent_load.py +0 -603
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_cors_origins_validator.py +0 -48
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_drain_evolution.py +0 -130
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_embedding_lifecycle.py +0 -34
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_embedding_migration.py +0 -167
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_embedding_protocol_shape.py +0 -84
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_embedding_routes_w9.py +0 -340
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_embedding_service.py +0 -291
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_entity_backfill.py +0 -248
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_fallback_metrics.py +0 -582
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_fallback_search.py +0 -397
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_hooks.py +0 -149
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_include_internal_filter.py +0 -301
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_input_validation.py +0 -713
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_load_batch_endpoint.py +0 -300
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_maintenance_endpoints.py +0 -576
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mcp_integration_service.py +0 -99
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mem0_adapter_cloud.py +0 -111
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mem0_adapter_dual_mode.py +0 -112
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mem0_adapter_hybrid.py +0 -187
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mem0_adapter_return_shape.py +0 -188
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mem0_crud_integration.py +0 -190
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mem0_sync_fix.py +0 -349
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_mem0_sync_service_resolver.py +0 -106
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_client_maintenance.py +0 -121
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_consolidation_executor.py +0 -47
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_deduplication_service.py +0 -1275
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_evolution_phase232.py +0 -427
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_evolution_processor.py +0 -110
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_evolution_rules.py +0 -29
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_evolution_sweeper.py +0 -17
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_evolution_tracker.py +0 -190
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_export_import.py +0 -79
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_sharing_service.py +0 -121
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_memory_versioning.py +0 -155
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_ollama_gating.py +0 -58
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_ownership_integration.py +0 -678
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_phase175_health_probe_and_get_event_guard.py +0 -131
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_postgres_pool_settings.py +0 -38
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_postgres_query_metrics.py +0 -28
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_postgres_update_cas.py +0 -86
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_rate_limit.py +0 -551
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_rbac.py +0 -661
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_recover_with_infer_false.py +0 -210
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_remote_endpoints.py +0 -59
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_schema_migration.py +0 -267
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_search_service_unwrap.py +0 -38
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_security_integration.py +0 -699
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_security_middleware.py +0 -532
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_semantic_cache_telemetry.py +0 -300
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_session_template_endpoints.py +0 -99
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_session_template_service.py +0 -77
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_sharing_api.py +0 -202
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_storage_strategy.py +0 -46
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_tasks_endpoint.py +0 -80
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_temporal_filters.py +0 -653
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_topic_clustering_benchmark.py +0 -657
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_triage.py +0 -346
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_unit_comprehensive.py +0 -1054
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_versioning_api.py +0 -81
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_wave2a_reconciliation.py +0 -422
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_wave3_stall_metrics.py +0 -578
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_websocket_auth.py +0 -227
- package/tools/vds-scripts/memory_orchestrator/tests/service/test_writeback_classification.py +0 -55
- package/tools/vds-scripts/memory_orchestrator/tests/test_agents/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/tests/test_agents/test_consolidation_agent.py +0 -128
- package/tools/vds-scripts/memory_orchestrator/tests/test_agents/test_extraction_agent.py +0 -140
- package/tools/vds-scripts/memory_orchestrator/tests/test_agents/test_intent_agent.py +0 -120
- package/tools/vds-scripts/memory_orchestrator/tests/test_agents/test_model_factory.py +0 -85
- package/tools/vds-scripts/memory_orchestrator/tests/test_agents/test_wiring.py +0 -267
- package/tools/vds-scripts/memory_orchestrator/tests/test_alembic_migrations_phase229.py +0 -433
- package/tools/vds-scripts/memory_orchestrator/tests/test_async_compat_lint.py +0 -178
- package/tools/vds-scripts/memory_orchestrator/tests/test_cache_metrics_status.py +0 -124
- package/tools/vds-scripts/memory_orchestrator/tests/test_cli.py +0 -517
- package/tools/vds-scripts/memory_orchestrator/tests/test_cli_health.py +0 -68
- package/tools/vds-scripts/memory_orchestrator/tests/test_client.py +0 -434
- package/tools/vds-scripts/memory_orchestrator/tests/test_config_lazy_validation.py +0 -96
- package/tools/vds-scripts/memory_orchestrator/tests/test_log_hygiene.py +0 -148
- package/tools/vds-scripts/memory_orchestrator/tests/test_mem0_adapter.py +0 -810
- package/tools/vds-scripts/memory_orchestrator/tests/test_mem0_adapter_dual_inversion.py +0 -185
- package/tools/vds-scripts/memory_orchestrator/tests/test_mem0_event_resolver.py +0 -158
- package/tools/vds-scripts/memory_orchestrator/tests/test_mem0_synced_subscriber.py +0 -294
- package/tools/vds-scripts/memory_orchestrator/tests/test_postgres_vector_search_warning.py +0 -176
- package/tools/vds-scripts/memory_orchestrator/tests/test_processor_adapter_diagnostic_phase216.py +0 -71
- package/tools/vds-scripts/memory_orchestrator/tests/test_promotion_cli.py +0 -218
- package/tools/vds-scripts/memory_orchestrator/tests/test_promotion_service.py +0 -322
- package/tools/vds-scripts/memory_orchestrator/tests/test_status_endpoint.py +0 -193
- package/tools/vds-scripts/memory_orchestrator/tests/test_worker_status_emission.py +0 -150
- package/tools/vds-scripts/memory_orchestrator/tests/verification/__init__.py +0 -0
- package/tools/vds-scripts/memory_orchestrator/tests/verification/conftest.py +0 -33
- package/tools/vds-scripts/memory_orchestrator/tests/verification/test_live_api.py +0 -98
- package/tools/vds-scripts/memory_orchestrator/uv.lock +0 -8875
- package/tools/vds-scripts/metabase_orchestrator/pyproject.toml +0 -40
- package/tools/vds-scripts/metabase_orchestrator/src/vds_metabase_orchestrator/__init__.py +0 -3
- package/tools/vds-scripts/metabase_orchestrator/src/vds_metabase_orchestrator/cli.py +0 -519
- package/tools/vds-scripts/metabase_orchestrator/src/vds_metabase_orchestrator/client.py +0 -417
- package/tools/vds-scripts/metabase_orchestrator/src/vds_metabase_orchestrator/config.py +0 -172
- package/tools/vds-scripts/metabase_orchestrator/tests/__init__.py +0 -1
- package/tools/vds-scripts/platform_core/pyproject.toml +0 -49
- package/tools/vds-scripts/platform_core/src/vds_platform_core/__init__.py +0 -16
- package/tools/vds-scripts/platform_core/src/vds_platform_core/alembic/__init__.py +0 -18
- package/tools/vds-scripts/platform_core/src/vds_platform_core/alembic/runtime.py +0 -139
- package/tools/vds-scripts/platform_core/src/vds_platform_core/config.py +0 -88
- package/tools/vds-scripts/platform_core/src/vds_platform_core/credentials.py +0 -40
- package/tools/vds-scripts/platform_core/src/vds_platform_core/env.py +0 -24
- package/tools/vds-scripts/platform_core/src/vds_platform_core/errors.py +0 -127
- package/tools/vds-scripts/platform_core/src/vds_platform_core/http/__init__.py +0 -18
- package/tools/vds-scripts/platform_core/src/vds_platform_core/http/auth.py +0 -32
- package/tools/vds-scripts/platform_core/src/vds_platform_core/http/errors.py +0 -47
- package/tools/vds-scripts/platform_core/src/vds_platform_core/http/pagination.py +0 -65
- package/tools/vds-scripts/platform_core/src/vds_platform_core/http/retry.py +0 -62
- package/tools/vds-scripts/platform_core/src/vds_platform_core/http/stack.py +0 -61
- package/tools/vds-scripts/platform_core/src/vds_platform_core/logging.py +0 -132
- package/tools/vds-scripts/platform_core/src/vds_platform_core/protocols.py +0 -77
- package/tools/vds-scripts/platform_core/src/vds_platform_core/serialization.py +0 -80
- package/tools/vds-scripts/platform_core/src/vds_platform_core/severity.py +0 -175
- package/tools/vds-scripts/platform_core/tests/__init__.py +0 -0
- package/tools/vds-scripts/platform_core/tests/conftest.py +0 -1
- package/tools/vds-scripts/platform_core/tests/test_alembic_runtime.py +0 -300
- package/tools/vds-scripts/platform_core/tests/test_auth.py +0 -84
- package/tools/vds-scripts/platform_core/tests/test_config.py +0 -83
- package/tools/vds-scripts/platform_core/tests/test_credentials.py +0 -73
- package/tools/vds-scripts/platform_core/tests/test_env.py +0 -56
- package/tools/vds-scripts/platform_core/tests/test_errors.py +0 -201
- package/tools/vds-scripts/platform_core/tests/test_errors_http.py +0 -74
- package/tools/vds-scripts/platform_core/tests/test_http_settings.py +0 -116
- package/tools/vds-scripts/platform_core/tests/test_logging.py +0 -148
- package/tools/vds-scripts/platform_core/tests/test_pagination.py +0 -153
- package/tools/vds-scripts/platform_core/tests/test_protocols.py +0 -132
- package/tools/vds-scripts/platform_core/tests/test_retry.py +0 -151
- package/tools/vds-scripts/platform_core/tests/test_serialization.py +0 -92
- package/tools/vds-scripts/platform_core/tests/test_severity.py +0 -178
- package/tools/vds-scripts/platform_core/tests/test_stack.py +0 -130
- package/tools/vds-scripts/platform_core/uv.lock +0 -341
- package/tools/vds-scripts/pyproject.toml +0 -153
- package/tools/vds-scripts/pyrightconfig.json +0 -82
- package/tools/vds-scripts/repo-manifest.yaml +0 -380
- package/tools/vds-scripts/repo-manifest.yaml.example +0 -25
- package/tools/vds-scripts/ruff.toml +0 -103
- package/tools/vds-scripts/scheduler_orchestrator/CLOSURE-v2.0.18.md +0 -99
- package/tools/vds-scripts/scheduler_orchestrator/DEPLOYMENT-RUNBOOK.md +0 -655
- package/tools/vds-scripts/scheduler_orchestrator/Dockerfile +0 -110
- package/tools/vds-scripts/scheduler_orchestrator/GV-VERIFICATION.md +0 -81
- package/tools/vds-scripts/scheduler_orchestrator/README.md +0 -96
- package/tools/vds-scripts/scheduler_orchestrator/WAVE-2-GUARDRAILS.md +0 -89
- package/tools/vds-scripts/scheduler_orchestrator/alembic/env.py +0 -41
- package/tools/vds-scripts/scheduler_orchestrator/alembic/script.py.mako +0 -28
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/0001_create_sched_schema.py +0 -57
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260424_04f7169497f6_create_domain_tables.py +0 -166
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260424_a1b2c3d4e5f6_add_overlap_policy_to_schedules.py +0 -57
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260424_b2c3d4e5f6a7_add_dispatcher_state_machine.py +0 -100
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260424_c3d4e5f6a7b8_add_audit_log.py +0 -141
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260424_d4e5f6a7b8c9_celery_retirement.py +0 -161
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260424_e5f6a7b8c9d0_add_udf_enqueue.py +0 -154
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260426_f6a7b8c9d0e1_add_owner_orchestrator_to_chain_definitions.py +0 -62
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260427_a1b2c3d4e5f7_ecosystem_report_runs.py +0 -57
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260428_a1b2c3d4e5f8_add_phase2_report_columns.py +0 -95
- package/tools/vds-scripts/scheduler_orchestrator/alembic/versions/20260430_b2c3d4e5f8a9_add_phase3_report_columns.py +0 -199
- package/tools/vds-scripts/scheduler_orchestrator/alembic.ini +0 -70
- package/tools/vds-scripts/scheduler_orchestrator/config/llm_pricing.yaml +0 -51
- package/tools/vds-scripts/scheduler_orchestrator/config/prometheus-alerts.yaml +0 -277
- package/tools/vds-scripts/scheduler_orchestrator/dashboards/slo-dashboard.json +0 -665
- package/tools/vds-scripts/scheduler_orchestrator/design-notes/dedupe-design.md +0 -324
- package/tools/vds-scripts/scheduler_orchestrator/docs/Q3-2026-GAME-DAY-PREFLIGHT.md +0 -217
- package/tools/vds-scripts/scheduler_orchestrator/docs/authoring-workflows.md +0 -302
- package/tools/vds-scripts/scheduler_orchestrator/docs/autoscaling-k8s-hpa.yaml +0 -193
- package/tools/vds-scripts/scheduler_orchestrator/docs/capability-red-team.md +0 -153
- package/tools/vds-scripts/scheduler_orchestrator/docs/celery-migration-procedure.md +0 -151
- package/tools/vds-scripts/scheduler_orchestrator/docs/celery-retirement-checklist.md +0 -144
- package/tools/vds-scripts/scheduler_orchestrator/docs/chaos-runbook.md +0 -395
- package/tools/vds-scripts/scheduler_orchestrator/docs/conductor-decision.md +0 -232
- package/tools/vds-scripts/scheduler_orchestrator/docs/cross-orchestrator-rollout-checklist.md +0 -223
- package/tools/vds-scripts/scheduler_orchestrator/docs/dr-drill-report.md +0 -173
- package/tools/vds-scripts/scheduler_orchestrator/docs/ecosystem-daily-report-runbook.md +0 -344
- package/tools/vds-scripts/scheduler_orchestrator/docs/error-budget-policy.md +0 -228
- package/tools/vds-scripts/scheduler_orchestrator/docs/evolution-daemon-retirement.md +0 -214
- package/tools/vds-scripts/scheduler_orchestrator/docs/evolution-retirement-files.md +0 -171
- package/tools/vds-scripts/scheduler_orchestrator/docs/game-day-phase2.md +0 -243
- package/tools/vds-scripts/scheduler_orchestrator/docs/mcp-governance-review.md +0 -250
- package/tools/vds-scripts/scheduler_orchestrator/docs/mcp-scheduler-surface.md +0 -317
- package/tools/vds-scripts/scheduler_orchestrator/docs/performance-baseline.md +0 -343
- package/tools/vds-scripts/scheduler_orchestrator/docs/pitr-drill-protocol.md +0 -162
- package/tools/vds-scripts/scheduler_orchestrator/docs/quarterly-game-day.md +0 -206
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/dr-postgres-restore.md +0 -268
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/evolution-auto-promote-runbook.md +0 -194
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/incident-dispatcher-stalled.md +0 -188
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/incident-postgres-unavailable.md +0 -206
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/incident-secret-leaked-in-event.md +0 -170
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/incident-workflow-backlog.md +0 -201
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/orphan-reconciliation-alert.md +0 -140
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/postmortem-template.md +0 -156
- package/tools/vds-scripts/scheduler_orchestrator/docs/runbooks/rollback-deploy.md +0 -209
- package/tools/vds-scripts/scheduler_orchestrator/docs/scaling-decision-phase4.md +0 -176
- package/tools/vds-scripts/scheduler_orchestrator/docs/secret-rotation-drill.md +0 -202
- package/tools/vds-scripts/scheduler_orchestrator/docs/sharding-decision.md +0 -111
- package/tools/vds-scripts/scheduler_orchestrator/docs/sharding-implementation-plan.md +0 -189
- package/tools/vds-scripts/scheduler_orchestrator/docs/udf-enqueue-benchmark.md +0 -209
- package/tools/vds-scripts/scheduler_orchestrator/docs/udf-trigger-demo-plan.md +0 -273
- package/tools/vds-scripts/scheduler_orchestrator/pyproject.toml +0 -129
- package/tools/vds-scripts/scheduler_orchestrator/scripts/autoscale/scale-compose.sh +0 -125
- package/tools/vds-scripts/scheduler_orchestrator/scripts/backfill_last_run_at_from_dbos.py +0 -105
- package/tools/vds-scripts/scheduler_orchestrator/scripts/benchmarks/phase4-sharding-remeasure.sh +0 -244
- package/tools/vds-scripts/scheduler_orchestrator/scripts/benchmarks/udf-vs-dispatcher.sh +0 -157
- package/tools/vds-scripts/scheduler_orchestrator/scripts/chaos/c1-api-kill.sh +0 -226
- package/tools/vds-scripts/scheduler_orchestrator/scripts/chaos/c2-executor-kill.sh +0 -243
- package/tools/vds-scripts/scheduler_orchestrator/scripts/chaos/c3-dispatcher-kill.sh +0 -314
- package/tools/vds-scripts/scheduler_orchestrator/scripts/chaos/c4-postgres-failover.sh +0 -288
- package/tools/vds-scripts/scheduler_orchestrator/scripts/chaos/c5-network-partition.sh +0 -351
- package/tools/vds-scripts/scheduler_orchestrator/scripts/chaos/c6-outbox-storm.sh +0 -403
- package/tools/vds-scripts/scheduler_orchestrator/scripts/collector-diagnostics.py +0 -125
- package/tools/vds-scripts/scheduler_orchestrator/scripts/dr/pitr-drill.sh +0 -363
- package/tools/vds-scripts/scheduler_orchestrator/scripts/entrypoint.sh +0 -100
- package/tools/vds-scripts/scheduler_orchestrator/scripts/generate-report.py +0 -96
- package/tools/vds-scripts/scheduler_orchestrator/scripts/mint_scheduler_service_token.py +0 -76
- package/tools/vds-scripts/scheduler_orchestrator/scripts/verify-phase3-live.py +0 -158
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/__init__.py +0 -21
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/v1/__init__.py +0 -5
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/v1/chains.py +0 -131
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/v1/events.py +0 -106
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/v1/health.py +0 -101
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/v1/router.py +0 -34
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/v1/schedules.py +0 -241
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/api/v1/workflows.py +0 -189
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/app.py +0 -429
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/chains/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/chains/registry.py +0 -397
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/chains/resolver.py +0 -144
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/chains/triggers.py +0 -626
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/cli.py +0 -1112
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/config.py +0 -394
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/dashboards/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/dashboards/ecosystem-scheduler.json +0 -550
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/db/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/db/alembic_filters.py +0 -52
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/db/models.py +0 -428
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/events/__init__.py +0 -10
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/events/bus.py +0 -161
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/events/dispatcher.py +0 -501
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/events/outbox.py +0 -213
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/events/retention.py +0 -224
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/events/schema.py +0 -226
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/events/ws_server.py +0 -328
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/mcp/__init__.py +0 -26
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/mcp/auth.py +0 -184
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/mcp/server.py +0 -146
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/mcp/tools_readonly.py +0 -259
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/observability/__init__.py +0 -15
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/observability/logging.py +0 -196
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/observability/metrics.py +0 -347
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/observability/slo.py +0 -217
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/observability/workflow_trace_context.py +0 -149
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/scheduler/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/scheduler/backfill.py +0 -160
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/scheduler/models.py +0 -88
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/scheduler/schedules.py +0 -927
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/scheduler/state_pg.py +0 -55
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/scheduler/state_ports.py +0 -23
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/scheduler/writeback.py +0 -153
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/security/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/security/audit_log.py +0 -238
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/security/auth.py +0 -49
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/security/capabilities.py +0 -111
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/security/middleware.py +0 -54
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/security/secret_scanner.py +0 -126
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/agent_step.py +0 -30
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/anomaly.py +0 -67
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/autoscale.py +0 -452
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collector_registry.py +0 -89
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/__init__.py +0 -12
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/dora_metrics.py +0 -520
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/infra_health_collector.py +0 -378
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/llm_usage.py +0 -475
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/memory_collector.py +0 -101
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/phase1_adapters.py +0 -181
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/prometheus_collector.py +0 -442
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/protocol.py +0 -94
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/security_advisory.py +0 -399
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/spec_phase_collector.py +0 -137
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/test_suite_collector.py +0 -231
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/trend_forecast.py +0 -417
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/collectors/worktree_collector.py +0 -121
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/discovery.py +0 -97
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/ecosystem_report.py +0 -1406
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/envelope.py +0 -210
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/evolution/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/evolution/auto_promote.py +0 -206
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/health_score.py +0 -112
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_dedup/__init__.py +0 -69
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_dedup/auto_resolve.py +0 -139
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_dedup/tombstone_purge.py +0 -128
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_evolution/__init__.py +0 -146
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_evolution/dispatch.py +0 -140
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_evolution/replay_dlq.py +0 -123
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_evolution/repush_local_only.py +0 -129
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_evolution/repush_stalled.py +0 -123
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_evolution/resolve_pending_ids.py +0 -125
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/memory_evolution/sweep.py +0 -121
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/provider.py +0 -83
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/queues.py +0 -225
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/registry.py +0 -351
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/report_formatter.py +0 -743
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/slack_formatter.py +0 -110
- package/tools/vds-scripts/scheduler_orchestrator/src/vds_scheduler_orchestrator/workflows/udf_trigger.py +0 -186
- package/tools/vds-scripts/scheduler_orchestrator/tests/__init__.py +0 -8
- package/tools/vds-scripts/scheduler_orchestrator/tests/_mocks/__init__.py +0 -28
- package/tools/vds-scripts/scheduler_orchestrator/tests/_mocks/llm_mock.py +0 -322
- package/tools/vds-scripts/scheduler_orchestrator/tests/conftest.py +0 -339
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_agent_step.py +0 -400
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_api_v1_auth.py +0 -424
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_api_v1_reads.py +0 -579
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_api_v1_writes.py +0 -609
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_audit_drift_scan.py +0 -205
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_audit_log_grants.py +0 -231
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_capability_red_team.py +0 -266
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_chain_triggers_integration.py +0 -365
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_chaos_smoke.py +0 -871
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_cli_http_contract.py +0 -262
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_cli_schedule_roundtrip.py +0 -297
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_ecosystem_report_integration.py +0 -461
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_ecosystem_report_phase3_integration.py +0 -686
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_fairness.py +0 -373
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_full_ecosystem.py +0 -638
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_multi_day_workflow.py +0 -563
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_outbox_listen.py +0 -327
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_priority_queues.py +0 -288
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_queues_rate_limit.py +0 -272
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_retention_smoke.py +0 -259
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_secret_rotation_drill.py +0 -215
- package/tools/vds-scripts/scheduler_orchestrator/tests/integration/test_tier1_collectors_live.py +0 -270
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/__init__.py +0 -29
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/capture_pg_metrics.py +0 -198
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/common.py +0 -163
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/nfr_check.py +0 -235
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/run_baselines.sh +0 -167
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/s1_baseline.py +0 -68
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/s2_phase1.py +0 -71
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/s3_phase2.py +0 -108
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/s4_event_storm.py +0 -131
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/s5_chain_fanout.py +0 -105
- package/tools/vds-scripts/scheduler_orchestrator/tests/load/smoke.py +0 -69
- package/tools/vds-scripts/scheduler_orchestrator/tests/test_alembic_downgrade.py +0 -297
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/__init__.py +0 -1
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_alembic_include_name.py +0 -82
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_anomaly.py +0 -135
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_app_health.py +0 -102
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_app_memory_evolution_bootstrap.py +0 -65
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_audit_log_writer.py +0 -321
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_auth_brute_force_middleware.py +0 -175
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_autoscale_helpers.py +0 -91
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_autoscale_helpers_deep.py +0 -271
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_backfill.py +0 -153
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_backfill_coverage.py +0 -219
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_capabilities.py +0 -175
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_celery_migration_workflows.py +0 -461
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_chains_branches.py +0 -387
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_chains_registry.py +0 -504
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_chains_triggers_complete.py +0 -800
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_chains_triggers_event.py +0 -649
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_cli_branches.py +0 -396
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_cli_capability_attach.py +0 -111
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_cli_schedules.py +0 -540
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_collector_protocol.py +0 -180
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_config.py +0 -62
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_decimal_json_and_phase3_columns.py +0 -372
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_dispatcher.py +0 -376
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_dockerfile_phase213_patch.py +0 -74
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_dora_metrics_collector.py +0 -740
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_ecosystem_report_config.py +0 -159
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_ecosystem_report_coverage.py +0 -1891
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_envelope.py +0 -256
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_error_budget_policy_signoff.py +0 -95
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_events_branches.py +0 -664
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_events_outbox.py +0 -364
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_events_retention.py +0 -206
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_events_schema.py +0 -279
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_evolution_auto_promote.py +0 -340
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_health_redact.py +0 -64
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_health_score.py +0 -240
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_last_run_at_writeback.py +0 -226
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_llm_usage_collector.py +0 -1095
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_mcp_auth.py +0 -204
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_mcp_readonly_gate.py +0 -273
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_mcp_tools_readonly.py +0 -382
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_memory_evolution_branches.py +0 -422
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_metrics.py +0 -318
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_observability_and_step_branches.py +0 -247
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_prometheus_collector_sli.py +0 -186
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_queues_config.py +0 -203
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_reconcile_dbos_schedules.py +0 -300
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_remaining_coverage.py +0 -666
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_report_formatter.py +0 -388
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_scheduled_workflow_signatures.py +0 -136
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_schedules.py +0 -552
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_schedules_branches.py +0 -772
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_secret_scanner.py +0 -81
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_security_advisory_collector.py +0 -495
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_security_auth_dep.py +0 -182
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_slack_notification.py +0 -356
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_slo_metrics.py +0 -204
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_tier1_collectors.py +0 -717
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_tier2_collectors.py +0 -867
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_tier3_collectors.py +0 -185
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_trend_forecast_collector.py +0 -617
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_udf_trigger.py +0 -180
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_workflow_discovery.py +0 -121
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_workflow_http_refactor_phase217.py +0 -309
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_workflow_registry.py +0 -398
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_workflow_registry_branches.py +0 -126
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_workflow_trace_context.py +0 -295
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_writeback.py +0 -461
- package/tools/vds-scripts/scheduler_orchestrator/tests/unit/test_ws_server.py +0 -291
- package/tools/vds-scripts/scripts/BRD-Validation-API.postman_collection.json +0 -706
- package/tools/vds-scripts/scripts/BRD-Validation-README.md +0 -308
- package/tools/vds-scripts/scripts/README.md +0 -271
- package/tools/vds-scripts/scripts/_validate_alias_phase2.py +0 -137
- package/tools/vds-scripts/scripts/audit-cli-patterns.sh +0 -135
- package/tools/vds-scripts/scripts/audit-dashboard.sh +0 -525
- package/tools/vds-scripts/scripts/backup.sh +0 -123
- package/tools/vds-scripts/scripts/bootstrap_uv.sh +0 -69
- package/tools/vds-scripts/scripts/brd-validation-environment.json +0 -51
- package/tools/vds-scripts/scripts/brd-validation-test-results.json +0 -13023
- package/tools/vds-scripts/scripts/brd_coverage_report.json +0 -276
- package/tools/vds-scripts/scripts/check-future-annotations.py +0 -22
- package/tools/vds-scripts/scripts/check-invalid-symlinks.py +0 -183
- package/tools/vds-scripts/scripts/check-no-debug-markers.py +0 -21
- package/tools/vds-scripts/scripts/check-no-unittest.py +0 -21
- package/tools/vds-scripts/scripts/ci/assert_no_openspace_commits.sh +0 -37
- package/tools/vds-scripts/scripts/ci/verify_branch_protection.sh +0 -64
- package/tools/vds-scripts/scripts/closure/phase1_check.sh +0 -483
- package/tools/vds-scripts/scripts/closure/phase2_check.sh +0 -500
- package/tools/vds-scripts/scripts/create_memory_session.py +0 -36
- package/tools/vds-scripts/scripts/deploy-bootstrap.sh +0 -201
- package/tools/vds-scripts/scripts/deployment/load_docker_images_offline.sh +0 -90
- package/tools/vds-scripts/scripts/dev/cli_smoke.sh +0 -259
- package/tools/vds-scripts/scripts/final_completion_report.md +0 -139
- package/tools/vds-scripts/scripts/folder_structure_report.json +0 -321
- package/tools/vds-scripts/scripts/generate_completion_report.py +0 -132
- package/tools/vds-scripts/scripts/generate_intellij_modules.py +0 -154
- package/tools/vds-scripts/scripts/init-pgbouncer-userlist.sh +0 -154
- package/tools/vds-scripts/scripts/link_integrity_report.json +0 -807
- package/tools/vds-scripts/scripts/move_audit_artifact_pages.py +0 -252
- package/tools/vds-scripts/scripts/move_audit_artifact_pages_rest.py +0 -165
- package/tools/vds-scripts/scripts/move_wrong_dept_pages.py +0 -235
- package/tools/vds-scripts/scripts/openspace_bootstrap.sh +0 -56
- package/tools/vds-scripts/scripts/openspace_common.sh +0 -75
- package/tools/vds-scripts/scripts/openspace_doctor.sh +0 -61
- package/tools/vds-scripts/scripts/openspace_sync_shadow.sh +0 -65
- package/tools/vds-scripts/scripts/phase7-baseline.sh +0 -77
- package/tools/vds-scripts/scripts/preflight/env_check.sh +0 -102
- package/tools/vds-scripts/scripts/repair_autopay_reports.sh +0 -173
- package/tools/vds-scripts/scripts/rollback_drill.sh +0 -659
- package/tools/vds-scripts/scripts/run-audit-in-tmux.sh +0 -286
- package/tools/vds-scripts/scripts/run-department-audit.sh +0 -495
- package/tools/vds-scripts/scripts/run-project-audit.sh +0 -267
- package/tools/vds-scripts/scripts/save_intellij_memories.py +0 -112
- package/tools/vds-scripts/scripts/save_memories_to_vds_ai.py +0 -81
- package/tools/vds-scripts/scripts/save_memories_vds_style.py +0 -133
- package/tools/vds-scripts/scripts/search_intellij_memories.py +0 -48
- package/tools/vds-scripts/scripts/setup_intellij_workspace.py +0 -71
- package/tools/vds-scripts/scripts/smoke-test-deploy.sh +0 -137
- package/tools/vds-scripts/scripts/smoke_deploy_lib.py +0 -205
- package/tools/vds-scripts/scripts/target-state-automation/README.md +0 -89
- package/tools/vds-scripts/scripts/target-state-automation/confluence_sync_coordinator.sh +0 -27
- package/tools/vds-scripts/scripts/target-state-automation/coordination.sh +0 -114
- package/tools/vds-scripts/scripts/target-state-automation/diagram_coordinator.sh +0 -25
- package/tools/vds-scripts/scripts/target-state-automation/docs_root.sh +0 -22
- package/tools/vds-scripts/scripts/target-state-automation/generate_diagrams.sh +0 -22
- package/tools/vds-scripts/scripts/target-state-automation/markdown_coordinator.sh +0 -25
- package/tools/vds-scripts/scripts/target-state-automation/progress_dashboard.sh +0 -17
- package/tools/vds-scripts/scripts/target-state-automation/schema_coordinator.sh +0 -25
- package/tools/vds-scripts/scripts/target-state-automation/sync_confluence.sh +0 -30
- package/tools/vds-scripts/scripts/target-state-automation/update_dependencies.sh +0 -19
- package/tools/vds-scripts/scripts/target-state-automation/validate_links.sh +0 -86
- package/tools/vds-scripts/scripts/target-state-automation/validate_markdown.sh +0 -52
- package/tools/vds-scripts/scripts/target-state-automation/validate_schemas.sh +0 -26
- package/tools/vds-scripts/scripts/target-state-automation/validate_structure.sh +0 -98
- package/tools/vds-scripts/scripts/tests/__init__.py +0 -1
- package/tools/vds-scripts/scripts/tests/test_dockerfile_correctness.py +0 -815
- package/tools/vds-scripts/scripts/tests/test_makefile_loadouts.py +0 -560
- package/tools/vds-scripts/scripts/tests/test_smoke_deploy.py +0 -313
- package/tools/vds-scripts/scripts/tests/test_verify_alembic.py +0 -581
- package/tools/vds-scripts/scripts/tests/test_verify_infra_topology.py +0 -254
- package/tools/vds-scripts/scripts/update_modules_xml.py +0 -194
- package/tools/vds-scripts/scripts/uv-workspace-alignment-verification-2026-03-25.md +0 -128
- package/tools/vds-scripts/scripts/uv-workspace-alignment-verification-2026-04-18.md +0 -100
- package/tools/vds-scripts/scripts/validate-cli-standardization.sh +0 -188
- package/tools/vds-scripts/scripts/validate_brd_coverage.py +0 -197
- package/tools/vds-scripts/scripts/validate_folder_structure.py +0 -234
- package/tools/vds-scripts/scripts/validate_link_integrity.py +0 -274
- package/tools/vds-scripts/scripts/vami017-caller-compat-report.md +0 -62
- package/tools/vds-scripts/scripts/vami017-phase-b-scaffold-notes.md +0 -79
- package/tools/vds-scripts/scripts/vds_sh_helpers.sh +0 -180
- package/tools/vds-scripts/scripts/verification/phase2_portable_paths_ubuntu_docker.sh +0 -26
- package/tools/vds-scripts/scripts/verify-infra-topology.py +0 -868
- package/tools/vds-scripts/scripts/verify-memory-cli-e2e.sh +0 -598
- package/tools/vds-scripts/scripts/verify-worktree-features.sh +0 -306
- package/tools/vds-scripts/scripts/worktree-add.sh +0 -128
- package/tools/vds-scripts/scripts/worktree-remove.sh +0 -112
- package/tools/vds-scripts/scripts/worktree_compose.sh +0 -269
- package/tools/vds-scripts/scripts/worktree_uv.sh +0 -77
- package/tools/vds-scripts/setup-icloud-nosync.sh +0 -91
- package/tools/vds-scripts/sonarqube_orchestrator/IMPLEMENTATION_AUDIT.md +0 -376
- package/tools/vds-scripts/sonarqube_orchestrator/README.md +0 -507
- package/tools/vds-scripts/sonarqube_orchestrator/pyproject.toml +0 -106
- package/tools/vds-scripts/sonarqube_orchestrator/scripts/ensure_symlink.sh +0 -38
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/__init__.py +0 -164
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/batch.py +0 -212
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/cli.py +0 -1407
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/client.py +0 -608
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/config.py +0 -260
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/diff.py +0 -220
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/errors.py +0 -34
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/external_sca.py +0 -932
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/portfolio.py +0 -225
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/pr.py +0 -505
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/reports.py +0 -342
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/scanner.py +0 -351
- package/tools/vds-scripts/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/webhooks.py +0 -269
- package/tools/vds-scripts/sonarqube_orchestrator/tests/__init__.py +0 -0
- package/tools/vds-scripts/sonarqube_orchestrator/tests/conftest.py +0 -134
- package/tools/vds-scripts/sonarqube_orchestrator/tests/test_batch.py +0 -419
- package/tools/vds-scripts/sonarqube_orchestrator/tests/test_config.py +0 -145
- package/tools/vds-scripts/sonarqube_orchestrator/tests/test_errors.py +0 -78
- package/tools/vds-scripts/sonarqube_orchestrator/tests/test_external_sca.py +0 -466
- package/tools/vds-scripts/sonarqube_orchestrator/tests/test_pr.py +0 -471
- package/tools/vds-scripts/sonarqube_orchestrator/tests/test_reports.py +0 -511
- package/tools/vds-scripts/sonarqube_orchestrator/tests/test_webhooks.py +0 -660
- package/tools/vds-scripts/telegram_bridge/Dockerfile +0 -44
- package/tools/vds-scripts/telegram_bridge/__init__.py +0 -6
- package/tools/vds-scripts/telegram_bridge/alembic/__init__.py +0 -0
- package/tools/vds-scripts/telegram_bridge/alembic/env.py +0 -63
- package/tools/vds-scripts/telegram_bridge/alembic/script.py.mako +0 -24
- package/tools/vds-scripts/telegram_bridge/alembic/versions/0001_telegram_bridge_init.py +0 -193
- package/tools/vds-scripts/telegram_bridge/alembic/versions/0002_polling_state.py +0 -48
- package/tools/vds-scripts/telegram_bridge/alembic/versions/0003_claude_session_store.py +0 -62
- package/tools/vds-scripts/telegram_bridge/alembic.ini +0 -47
- package/tools/vds-scripts/telegram_bridge/cli.py +0 -708
- package/tools/vds-scripts/telegram_bridge/daemon/__init__.py +0 -1
- package/tools/vds-scripts/telegram_bridge/daemon/__main__.py +0 -351
- package/tools/vds-scripts/telegram_bridge/daemon/alembic_head_check.py +0 -116
- package/tools/vds-scripts/telegram_bridge/daemon/audit.py +0 -255
- package/tools/vds-scripts/telegram_bridge/daemon/bot.py +0 -52
- package/tools/vds-scripts/telegram_bridge/daemon/bot_gateway.py +0 -114
- package/tools/vds-scripts/telegram_bridge/daemon/bus.py +0 -106
- package/tools/vds-scripts/telegram_bridge/daemon/commands.py +0 -457
- package/tools/vds-scripts/telegram_bridge/daemon/config.py +0 -129
- package/tools/vds-scripts/telegram_bridge/daemon/dispatcher.py +0 -107
- package/tools/vds-scripts/telegram_bridge/daemon/health_server.py +0 -130
- package/tools/vds-scripts/telegram_bridge/daemon/job_scheduler.py +0 -213
- package/tools/vds-scripts/telegram_bridge/daemon/lifecycle.py +0 -100
- package/tools/vds-scripts/telegram_bridge/daemon/middleware/__init__.py +0 -1
- package/tools/vds-scripts/telegram_bridge/daemon/middleware/allowlist.py +0 -70
- package/tools/vds-scripts/telegram_bridge/daemon/middleware/offset_tracker.py +0 -49
- package/tools/vds-scripts/telegram_bridge/daemon/pg.py +0 -53
- package/tools/vds-scripts/telegram_bridge/daemon/pg_outage_watchdog.py +0 -180
- package/tools/vds-scripts/telegram_bridge/daemon/polling_state.py +0 -64
- package/tools/vds-scripts/telegram_bridge/daemon/preflight.py +0 -106
- package/tools/vds-scripts/telegram_bridge/daemon/registry_loader.py +0 -79
- package/tools/vds-scripts/telegram_bridge/daemon/runner_orchestrator.py +0 -371
- package/tools/vds-scripts/telegram_bridge/daemon/session_registry.py +0 -188
- package/tools/vds-scripts/telegram_bridge/daemon/shim_server.py +0 -331
- package/tools/vds-scripts/telegram_bridge/daemon/throttler.py +0 -501
- package/tools/vds-scripts/telegram_bridge/daemon/topic_promoter.py +0 -343
- package/tools/vds-scripts/telegram_bridge/daemon/uploads.py +0 -165
- package/tools/vds-scripts/telegram_bridge/docker-compose.server.yml +0 -37
- package/tools/vds-scripts/telegram_bridge/docker-compose.telegram.yml +0 -65
- package/tools/vds-scripts/telegram_bridge/jobs/__init__.py +0 -6
- package/tools/vds-scripts/telegram_bridge/jobs/archive_topics.py +0 -161
- package/tools/vds-scripts/telegram_bridge/jobs/rotate_audit.py +0 -264
- package/tools/vds-scripts/telegram_bridge/models/__init__.py +0 -27
- package/tools/vds-scripts/telegram_bridge/models/events.py +0 -123
- package/tools/vds-scripts/telegram_bridge/models/sessions.py +0 -52
- package/tools/vds-scripts/telegram_bridge/models/topics.py +0 -41
- package/tools/vds-scripts/telegram_bridge/pyproject.toml +0 -97
- package/tools/vds-scripts/telegram_bridge/registry.yaml +0 -81
- package/tools/vds-scripts/telegram_bridge/runners/__init__.py +0 -6
- package/tools/vds-scripts/telegram_bridge/runners/_base/__init__.py +0 -1
- package/tools/vds-scripts/telegram_bridge/runners/_base/protocol.py +0 -192
- package/tools/vds-scripts/telegram_bridge/runners/_base/runner.py +0 -245
- package/tools/vds-scripts/telegram_bridge/runners/_base/secret_patterns.py +0 -130
- package/tools/vds-scripts/telegram_bridge/runners/acp/__init__.py +0 -7
- package/tools/vds-scripts/telegram_bridge/runners/acp/__main__.py +0 -56
- package/tools/vds-scripts/telegram_bridge/runners/acp/adapter.py +0 -272
- package/tools/vds-scripts/telegram_bridge/runners/claude/__init__.py +0 -7
- package/tools/vds-scripts/telegram_bridge/runners/claude/__main__.py +0 -61
- package/tools/vds-scripts/telegram_bridge/runners/claude/adapter.py +0 -267
- package/tools/vds-scripts/telegram_bridge/runners/claude/session_store.py +0 -191
- package/tools/vds-scripts/telegram_bridge/runners/claude/upload_tool.py +0 -83
- package/tools/vds-scripts/telegram_bridge/runners/codex/__init__.py +0 -7
- package/tools/vds-scripts/telegram_bridge/runners/codex/__main__.py +0 -50
- package/tools/vds-scripts/telegram_bridge/scripts/verify-tier1.sh +0 -54
- package/tools/vds-scripts/telegram_bridge/scripts/verify-tier3-smoke.sh +0 -145
- package/tools/vds-scripts/telegram_bridge/shim.py +0 -220
- package/tools/vds-scripts/telegram_bridge/skill_content/QUALITY.md +0 -47
- package/tools/vds-scripts/telegram_bridge/skill_content/SKILL.md +0 -99
- package/tools/vds-scripts/telegram_bridge/skill_content/references/CHANGELOG.md +0 -47
- package/tools/vds-scripts/telegram_bridge/skill_content/references/agent-onboarding.md +0 -84
- package/tools/vds-scripts/telegram_bridge/skill_content/references/architecture.md +0 -116
- package/tools/vds-scripts/telegram_bridge/skill_content/references/audit-queries.md +0 -123
- package/tools/vds-scripts/telegram_bridge/skill_content/references/commands.md +0 -84
- package/tools/vds-scripts/telegram_bridge/skill_content/references/setup.md +0 -132
- package/tools/vds-scripts/telegram_bridge/skill_content/references/troubleshooting.md +0 -162
- package/tools/vds-scripts/telegram_bridge/skill_content/references/verification.md +0 -312
- package/tools/vds-scripts/telegram_bridge/skill_content/references/wave-0-spike-results.md +0 -559
- package/tools/vds-scripts/telegram_bridge/tests/__init__.py +0 -0
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/__init__.py +0 -0
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/conftest.py +0 -381
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_01_first_run_setup.py +0 -47
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_02_notifier_approver.py +0 -42
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_03_mobile_remote_control.py +0 -42
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_04_handoff_continuity.py +0 -88
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_05_multi_agent.py +0 -132
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_06_subagent_topic_promotion.py +0 -150
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_07_subscribe_immediate_promote.py +0 -116
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_08_file_upload_in.py +0 -215
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_09_long_block_spill.py +0 -121
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_10_streaming_throttle.py +0 -90
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_11_audit_invariant.py +0 -156
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_12_pg_outage_strict.py +0 -171
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_13_redaction_in_blob.py +0 -146
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_14_cli_status_full.py +0 -184
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_15_allowlist_drop_counter.py +0 -84
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_16_topic_title_128_cap.py +0 -73
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_17_idle_timeout_ends.py +0 -110
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_18_hang_watchdog.py +0 -102
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_19_topic_creation_race.py +0 -91
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_20_acp_resource_link.py +0 -121
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_21_softcap_archive.py +0 -247
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_22_daemon_restart_continuity.py +0 -47
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_23_audit_query_cli.py +0 -39
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_24_cold_rotation.py +0 -38
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_25_advisory_lock_failfast.py +0 -35
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_26_token_bucket_fairness.py +0 -34
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_27_silent_degradation.py +0 -36
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_28_jsonl_secondary_sink.py +0 -35
- package/tools/vds-scripts/telegram_bridge/tests/acceptance/test_ac_29_ro_mount.py +0 -33
- package/tools/vds-scripts/telegram_bridge/tests/integration/__init__.py +0 -0
- package/tools/vds-scripts/telegram_bridge/tests/integration/conftest.py +0 -196
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_ac_10_audit_forensic_query.py +0 -253
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_ac_11_cold_rotation_roundtrip.py +0 -204
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_ac_25_append_only_trigger.py +0 -188
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_archive_jobs.py +0 -265
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_audit_writer_invariant.py +0 -310
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_claude_session_store.py +0 -202
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_migration_roundtrip.py +0 -231
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_offset_persistence.py +0 -210
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_polling_singleton_constraint.py +0 -81
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_subscriptions.py +0 -194
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_topics_fk_chain.py +0 -216
- package/tools/vds-scripts/telegram_bridge/tests/integration/test_uploads_cas_dedup.py +0 -265
- package/tools/vds-scripts/telegram_bridge/tests/spikes/__init__.py +0 -0
- package/tools/vds-scripts/telegram_bridge/tests/spikes/conftest.py +0 -5
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_10_acp_schema_drift.py +0 -259
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_11_telegram_general_topic_api.py +0 -63
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_12_last_processed_offset.py +0 -56
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_13_resume_corrupted.py +0 -77
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_1_telegram_forum_smoke.py +0 -42
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_2_telegram_file_smoke.py +0 -38
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_3_telegram_permission_smoke.py +0 -40
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_4_claude_sdk_hooks_mcp_smoke.py +0 -45
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_5_session_store_conformance.py +0 -37
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_6_claude_lock_jsonl_smoke.py +0 -51
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_7_codex_acp_smoke.py +0 -58
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_8_generic_acp_smoke.py +0 -57
- package/tools/vds-scripts/telegram_bridge/tests/spikes/test_0_9_daemon_restart_vs_container.py +0 -55
- package/tools/vds-scripts/telegram_bridge/tests/unit/__init__.py +0 -0
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_acp_adapter_full.py +0 -567
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_acp_runner_translate.py +0 -140
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_allowlist_middleware.py +0 -101
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_audit_archive_topics.py +0 -134
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_audit_postgres_unavailable.py +0 -151
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_audit_redact_existing.py +0 -134
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_bot_factory.py +0 -98
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_bot_gateway.py +0 -201
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_bus.py +0 -84
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_claude_adapter.py +0 -580
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_cli_commands.py +0 -459
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_cli_restart.py +0 -65
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_commands.py +0 -641
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_daemon_boot.py +0 -431
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_dispatcher.py +0 -198
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_health_server.py +0 -521
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_job_scheduler.py +0 -226
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_lifecycle_extra.py +0 -149
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_migration_check.py +0 -201
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_models_events.py +0 -72
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_models_sessions.py +0 -34
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_offset_tracker.py +0 -200
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_pg_outage_watchdog.py +0 -207
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_pg_pool.py +0 -124
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_preflight.py +0 -188
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_redaction.py +0 -193
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_registry.py +0 -71
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_registry_loader.py +0 -133
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_rotate_audit.py +0 -416
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_rotate_audit_paths.py +0 -57
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_runner_entrypoints.py +0 -309
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_runner_internals.py +0 -327
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_runner_lifecycle.py +0 -309
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_runner_orchestrator.py +0 -895
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_runner_orchestrator_translate.py +0 -162
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_runner_protocol.py +0 -156
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_runner_reconnect.py +0 -184
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_session_store.py +0 -264
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_session_store_resume_validator.py +0 -109
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_shim.py +0 -52
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_shim_full.py +0 -413
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_shim_server.py +0 -498
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_throttler.py +0 -208
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_throttler_spill.py +0 -176
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_topic_promoter.py +0 -229
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_upload_tool.py +0 -227
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_uploads.py +0 -337
- package/tools/vds-scripts/telegram_bridge/tests/unit/test_uploads_meta.py +0 -91
- package/tools/vds-scripts/uv.lock +0 -6603
- package/tools/vds-scripts/vds-evolution-mono.sh +0 -59
- package/tools/vds-scripts/vds-mail/SKILL.md +0 -185
- package/tools/vds-scripts/vds-mail/scripts/fetch_mail.py +0 -116
- package/tools/vds-scripts/vds-mail/scripts/search_mail.py +0 -131
- package/tools/vds-scripts/vds-mail/scripts/send_mail.py +0 -150
- package/tools/vds-scripts/vds_agent_core/CHANGELOG.md +0 -36
- package/tools/vds-scripts/vds_agent_core/README.md +0 -453
- package/tools/vds-scripts/vds_agent_core/docs/PHASE9A_ASSESSMENT.md +0 -50
- package/tools/vds-scripts/vds_agent_core/docs/embedding.md +0 -468
- package/tools/vds-scripts/vds_agent_core/pyproject.toml +0 -51
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/__init__.py +0 -29
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/agents/__init__.py +0 -26
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/agents/hooks.py +0 -119
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/agents/loop.py +0 -864
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/agents/tools.py +0 -41
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/config.py +0 -252
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/llm/__init__.py +0 -55
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/llm/_cascade.py +0 -143
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/llm/budget.py +0 -353
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/llm/cache.py +0 -373
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/llm/embedding.py +0 -815
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/llm/provider.py +0 -173
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/llm/schemas.py +0 -45
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/observability/__init__.py +0 -77
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/observability/decorators.py +0 -258
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/observability/jsonl_exporter.py +0 -236
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/observability/tracer.py +0 -497
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/profiles.py +0 -2015
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/runtime/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/runtime/agent_id.py +0 -60
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/security/__init__.py +0 -13
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/security/credentials.py +0 -106
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/skills/__init__.py +0 -1
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/skills/executor.py +0 -238
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/skills/manager.py +0 -381
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/skills/policy.py +0 -568
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/workflows/__init__.py +0 -19
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/workflows/langgraph_runner.py +0 -102
- package/tools/vds-scripts/vds_agent_core/src/vds_agent_core/workflows/protocols.py +0 -81
- package/tools/vds-scripts/vds_agent_core/tests/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/tests/conftest.py +0 -62
- package/tools/vds-scripts/vds_agent_core/tests/integration/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/tests/integration/test_audit_loop_hooks_integration.py +0 -135
- package/tools/vds-scripts/vds_agent_core/tests/integration/test_audit_observability_integration.py +0 -246
- package/tools/vds-scripts/vds_agent_core/tests/integration/test_public_api_stability.py +0 -91
- package/tools/vds-scripts/vds_agent_core/tests/unit/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_call_site_parallelism.py +0 -30
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_dimension_guardrail.py +0 -25
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_drop_in_provider_extensibility.py +0 -76
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_embedding.py +0 -393
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_embedding_cache.py +0 -302
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_embedding_extra.py +0 -696
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_embedding_subclass.py +0 -49
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_no_provider_leakage_in_env.py +0 -34
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_provider_auto_route.py +0 -48
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_runtime_log_clean.py +0 -111
- package/tools/vds-scripts/vds_agent_core/tests/unit/llm/test_w7_logic_fixes.py +0 -219
- package/tools/vds-scripts/vds_agent_core/tests/unit/profiles/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/tests/unit/profiles/test_embedding_block_parser.py +0 -194
- package/tools/vds-scripts/vds_agent_core/tests/unit/profiles/test_env_resolver_allowlist.py +0 -141
- package/tools/vds-scripts/vds_agent_core/tests/unit/profiles/test_profile_authorization.py +0 -158
- package/tools/vds-scripts/vds_agent_core/tests/unit/profiles/test_profiles_w3_extra.py +0 -547
- package/tools/vds-scripts/vds_agent_core/tests/unit/profiles/test_real_audit_profile_compat.py +0 -129
- package/tools/vds-scripts/vds_agent_core/tests/unit/runtime/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/tests/unit/runtime/test_for_agent.py +0 -337
- package/tools/vds-scripts/vds_agent_core/tests/unit/runtime/test_w9_cascade_edges.py +0 -369
- package/tools/vds-scripts/vds_agent_core/tests/unit/security/__init__.py +0 -0
- package/tools/vds-scripts/vds_agent_core/tests/unit/security/test_credentials.py +0 -132
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_agent_loop.py +0 -663
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_agent_loop_coverage.py +0 -429
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_agents_hooks_defaults.py +0 -22
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_budget.py +0 -155
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_budget_coverage.py +0 -264
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_budget_tracking_only.py +0 -71
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_cache.py +0 -251
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_cache_context.py +0 -62
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_config.py +0 -155
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_langgraph_runner.py +0 -45
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_langgraph_runner_coverage.py +0 -98
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_llm_cache_deep.py +0 -113
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_observability_decorators.py +0 -697
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_observability_hooks.py +0 -217
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_observability_jsonl_exporter.py +0 -542
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_observability_jsonl_wiring.py +0 -313
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_observability_tracer.py +0 -896
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_profiles.py +0 -1571
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_profiles_coverage.py +0 -444
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_provider.py +0 -316
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_schemas.py +0 -63
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_skill_executor.py +0 -297
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_skill_manager.py +0 -370
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_skill_manager_coverage.py +0 -364
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_skill_policy.py +0 -402
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_skill_rubric.py +0 -47
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_tools.py +0 -51
- package/tools/vds-scripts/vds_agent_core/tests/unit/test_workflow_protocols.py +0 -136
- package/tools/vds-scripts/vds_cli/README.md +0 -201
- package/tools/vds-scripts/vds_cli/VERIFICATION_REPORT.md +0 -41
- package/tools/vds-scripts/vds_cli/pyproject.toml +0 -53
- package/tools/vds-scripts/vds_cli/src/vds_cli/__init__.py +0 -3
- package/tools/vds-scripts/vds_cli/src/vds_cli/assets/git-credential-helper.py +0 -235
- package/tools/vds-scripts/vds_cli/src/vds_cli/cli.py +0 -1166
- package/tools/vds-scripts/vds_cli/src/vds_cli/commands/__init__.py +0 -1
- package/tools/vds-scripts/vds_cli/src/vds_cli/commands/lint_cli.py +0 -370
- package/tools/vds-scripts/vds_cli/src/vds_cli/confluence_sync.py +0 -846
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs/consumption/__init__.py +0 -7
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs/consumption/funnel.py +0 -105
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs/consumption/scanner.py +0 -211
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs/freshness/report.py +0 -90
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs/types.py +0 -27
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs_cmd.py +0 -672
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs_metrics.py +0 -75
- package/tools/vds-scripts/vds_cli/src/vds_cli/docs_sync.py +0 -1171
- package/tools/vds-scripts/vds_cli/src/vds_cli/ecosystem/__init__.py +0 -39
- package/tools/vds-scripts/vds_cli/src/vds_cli/ecosystem/report.py +0 -439
- package/tools/vds-scripts/vds_cli/src/vds_cli/ecosystem_docs.py +0 -164
- package/tools/vds-scripts/vds_cli/src/vds_cli/env.py +0 -111
- package/tools/vds-scripts/vds_cli/src/vds_cli/env_git_helper.py +0 -281
- package/tools/vds-scripts/vds_cli/src/vds_cli/google_sheets_orchestrator/__init__.py +0 -3
- package/tools/vds-scripts/vds_cli/src/vds_cli/google_sheets_orchestrator/google_sheets_orchestrator.py +0 -173
- package/tools/vds-scripts/vds_cli/src/vds_cli/router.py +0 -258
- package/tools/vds-scripts/vds_cli/src/vds_cli/skills_cmd.py +0 -274
- package/tools/vds-scripts/vds_cli/src/vds_cli/sync_api.py +0 -613
- package/tools/vds-scripts/vds_cli/src/vds_cli/sync_service.py +0 -283
- package/tools/vds-scripts/vds_cli/tests/conftest.py +0 -60
- package/tools/vds-scripts/vds_cli/tests/test_env_git_helper_lifecycle.py +0 -261
- package/tools/vds-scripts/vds_cli/tests/test_git_credential_helper.py +0 -240
- package/tools/vds-scripts/vds_cli/tests/test_router_help_proxy.py +0 -43
- package/tools/vds-scripts/vds_cli/tests/unit/test_cli.py +0 -245
- package/tools/vds-scripts/vds_cli/tests/unit/test_cli_DOC004.py +0 -110
- package/tools/vds-scripts/vds_cli/tests/unit/test_confluence_sync.py +0 -315
- package/tools/vds-scripts/vds_cli/tests/unit/test_confluence_sync_wave7.py +0 -375
- package/tools/vds-scripts/vds_cli/tests/unit/test_consumption_funnel.py +0 -106
- package/tools/vds-scripts/vds_cli/tests/unit/test_consumption_scanner.py +0 -144
- package/tools/vds-scripts/vds_cli/tests/unit/test_docs_cmd.py +0 -89
- package/tools/vds-scripts/vds_cli/tests/unit/test_docs_cmd_wave8.py +0 -161
- package/tools/vds-scripts/vds_cli/tests/unit/test_docs_metrics.py +0 -16
- package/tools/vds-scripts/vds_cli/tests/unit/test_docs_quality_score.py +0 -61
- package/tools/vds-scripts/vds_cli/tests/unit/test_docs_sync.py +0 -417
- package/tools/vds-scripts/vds_cli/tests/unit/test_ecosystem_cli_dashboard.py +0 -667
- package/tools/vds-scripts/vds_cli/tests/unit/test_ecosystem_cli_dashboard_rendering.py +0 -143
- package/tools/vds-scripts/vds_cli/tests/unit/test_ecosystem_docs.py +0 -63
- package/tools/vds-scripts/vds_cli/tests/unit/test_env.py +0 -85
- package/tools/vds-scripts/vds_cli/tests/unit/test_freshness_report.py +0 -125
- package/tools/vds-scripts/vds_cli/tests/unit/test_lint_cli.py +0 -224
- package/tools/vds-scripts/vds_cli/tests/unit/test_router.py +0 -135
- package/tools/vds-scripts/vds_cli/tests/unit/test_skills_cmd.py +0 -419
- package/tools/vds-scripts/vds_cli/tests/unit/test_sync_api.py +0 -357
- package/tools/vds-scripts/vds_cli/tests/unit/test_sync_service.py +0 -170
- package/tools/vds-scripts/vds_cli/tests/verification/conftest.py +0 -51
- package/tools/vds-scripts/vds_cli/tests/verification/test_bitbucket_real.py +0 -32
- package/tools/vds-scripts/vds_cli/tests/verification/test_confluence_real.py +0 -32
- package/tools/vds-scripts/vds_cli/tests/verification/test_jira_real.py +0 -40
- package/tools/vds-scripts/vds_cli_common/README.md +0 -190
- package/tools/vds-scripts/vds_cli_common/pyproject.toml +0 -96
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/__init__.py +0 -36
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/app.py +0 -55
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/completers.py +0 -139
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/context.py +0 -201
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/env.py +0 -163
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/errors.py +0 -440
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/output.py +0 -284
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/paths.py +0 -78
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/testing.py +0 -211
- package/tools/vds-scripts/vds_cli_common/src/vds_cli_common/version.py +0 -85
- package/tools/vds-scripts/vds_cli_common/tests/__init__.py +0 -0
- package/tools/vds-scripts/vds_cli_common/tests/test_app.py +0 -126
- package/tools/vds-scripts/vds_cli_common/tests/test_completers.py +0 -148
- package/tools/vds-scripts/vds_cli_common/tests/test_context.py +0 -192
- package/tools/vds-scripts/vds_cli_common/tests/test_env.py +0 -235
- package/tools/vds-scripts/vds_cli_common/tests/test_errors.py +0 -275
- package/tools/vds-scripts/vds_cli_common/tests/test_output.py +0 -229
- package/tools/vds-scripts/vds_cli_common/tests/test_paths.py +0 -61
- package/tools/vds-scripts/vds_cli_common/tests/test_testing.py +0 -138
- package/tools/vds-scripts/vds_cli_common/tests/test_version.py +0 -64
- package/tools/vds-scripts/vds_evolution/README.md +0 -123
- package/tools/vds-scripts/vds_evolution/collaboration/tests/__init__.py +0 -0
- package/tools/vds-scripts/vds_evolution/collaboration/tests/test_capability_registry.py +0 -177
- package/tools/vds-scripts/vds_evolution/pyproject.toml +0 -66
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/__init__.py +0 -26
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/audit.py +0 -210
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/auto_promote.py +0 -220
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/branch_guard.py +0 -522
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/classifier.py +0 -181
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/cli.py +0 -831
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/__init__.py +0 -3
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/capability_registry.py +0 -191
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/cross_skill_detector.py +0 -180
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/integration_pattern_gen.py +0 -154
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/propagator.py +0 -99
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/router_integration.py +0 -72
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/schemas/tool-decision-matrix-schema.json +0 -50
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/skill_graph_indexer.py +0 -46
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/__init__.py +0 -0
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/test_capability_registry.py +0 -177
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/test_cross_skill_detector.py +0 -131
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/test_integration_pattern_gen.py +0 -94
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/test_propagator.py +0 -94
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/test_router_integration.py +0 -63
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/test_skill_graph_indexer.py +0 -31
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tests/test_tool_decision_matrix.py +0 -100
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tool_decision_matrix.py +0 -142
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/collaboration/tool_decision_matrix.yaml +0 -82
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/gates/__init__.py +0 -40
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/gates/behavioral.py +0 -232
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/gates/ensemble_judge.py +0 -461
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/gates/schemas/calibration-manifest.schema.json +0 -49
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/gates/schemas/test-dataset.schema.json +0 -43
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/gates/semantic.py +0 -290
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/gates/structural.py +0 -297
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/hmac_binding.py +0 -233
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/models.py +0 -381
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/openspace_integration.py +0 -1300
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/promote.py +0 -327
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/reconciler.py +0 -880
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/router.py +0 -435
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/shadow.py +0 -156
- package/tools/vds-scripts/vds_evolution/src/vds_evolution/switch.py +0 -154
- package/tools/vds-scripts/vds_evolution/tests/__init__.py +0 -0
- package/tools/vds-scripts/vds_evolution/tests/integration/__init__.py +0 -0
- package/tools/vds-scripts/vds_evolution/tests/integration/test_killswitch_cycle_boundary.py +0 -837
- package/tools/vds-scripts/vds_evolution/tests/integration/test_openspace_integration.py +0 -1342
- package/tools/vds-scripts/vds_evolution/tests/unit/__init__.py +0 -0
- package/tools/vds-scripts/vds_evolution/tests/unit/test_classifier.py +0 -110
- package/tools/vds-scripts/vds_evolution/tests/unit/test_cli_openspace_runtime.py +0 -43
- package/tools/vds-scripts/vds_evolution/tests/unit/test_gate1.py +0 -216
- package/tools/vds-scripts/vds_evolution/tests/unit/test_gate2.py +0 -178
- package/tools/vds-scripts/vds_evolution/tests/unit/test_gate3.py +0 -221
- package/tools/vds-scripts/vds_evolution/tests/unit/test_models.py +0 -340
- package/tools/vds-scripts/vds_evolution/tests/unit/test_phase3_plus/__init__.py +0 -0
- package/tools/vds-scripts/vds_evolution/tests/unit/test_phase3_plus/test_auto_promote.py +0 -44
- package/tools/vds-scripts/vds_evolution/tests/unit/test_phase3_plus/test_ensemble_judge.py +0 -79
- package/tools/vds-scripts/vds_evolution/tests/unit/test_phase3_plus/test_hmac_binding.py +0 -86
- package/tools/vds-scripts/vds_evolution/tests/unit/test_reconciler.py +0 -315
- package/tools/vds-scripts/vds_evolution/tests/unit/test_router.py +0 -90
- package/tools/vds-scripts/vds_evolution/uv.lock +0 -797
- package/tools/vds-scripts/vds_memory_client/pyproject.toml +0 -61
- package/tools/vds-scripts/vds_memory_client/src/vds_memory_client/__init__.py +0 -7
- package/tools/vds-scripts/vds_memory_client/src/vds_memory_client/client.py +0 -876
- package/tools/vds-scripts/vds_memory_client/tests/__init__.py +0 -0
- package/tools/vds-scripts/vds_memory_client/tests/test_client.py +0 -821
- package/tools/vds-scripts/vds_memory_client/tests/test_dedup_threshold_phase216.py +0 -69
- package/tools/vds-scripts/vds_memory_client/tests/test_maintenance_methods_phase217.py +0 -403
- package/tools/vds-scripts/vds_memory_client/tests/test_warm_cache.py +0 -70
- package/tools/vds-scripts/vds_sync_orchestrator/pyproject.toml +0 -65
- package/tools/vds-scripts/vds_sync_orchestrator/src/vds_sync_orchestrator/__init__.py +0 -22
- package/tools/vds-scripts/vds_sync_orchestrator/src/vds_sync_orchestrator/discovery.py +0 -60
- package/tools/vds-scripts/vds_sync_orchestrator/src/vds_sync_orchestrator/executor.py +0 -226
- package/tools/vds-scripts/vds_sync_orchestrator/src/vds_sync_orchestrator/facade.py +0 -103
- package/tools/vds-scripts/vds_sync_orchestrator/src/vds_sync_orchestrator/models.py +0 -103
- package/tools/vds-scripts/vds_sync_orchestrator/tests/__init__.py +0 -0
- package/tools/vds-scripts/vds_sync_orchestrator/tests/unit/__init__.py +0 -0
- package/tools/vds-scripts/vds_sync_orchestrator/tests/unit/test_discovery.py +0 -115
- package/tools/vds-scripts/vds_sync_orchestrator/tests/unit/test_executor.py +0 -259
- package/tools/vds-scripts/vds_sync_orchestrator/tests/unit/test_facade.py +0 -181
- package/tools/vds-scripts/vds_sync_orchestrator/tests/unit/test_isolation.py +0 -58
- package/tools/vds-scripts/vds_sync_orchestrator/tests/unit/test_models.py +0 -172
- package/tools/vds-scripts/vidp_orchestrator/README.md +0 -31
- package/tools/vds-scripts/vidp_orchestrator/pyproject.toml +0 -50
- package/tools/vds-scripts/vidp_orchestrator/src/vds_vidp_orchestrator/__init__.py +0 -26
- package/tools/vds-scripts/vidp_orchestrator/src/vds_vidp_orchestrator/cli.py +0 -246
- package/tools/vds-scripts/vidp_orchestrator/src/vds_vidp_orchestrator/client.py +0 -104
- package/tools/vds-scripts/vidp_orchestrator/src/vds_vidp_orchestrator/config.py +0 -82
- package/tools/vds-scripts/vidp_orchestrator/src/vds_vidp_orchestrator/workflows.json +0 -3
- package/tools/vds-scripts/vidp_orchestrator/src/vds_vidp_orchestrator/workflows.py +0 -130
- /package/{tools/skills → skills/sdlc}/bmad-advanced-elicitation/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-advanced-elicitation/methods.csv +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-agent-analyst/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-agent-analyst/bmad-skill-manifest.yaml +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/brain-methods.csv +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-01-session-setup.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-01b-continue.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-02a-user-selected.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-02b-ai-recommended.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-02c-random-selection.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-02d-progressive-flow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-03-technique-execution.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/steps/step-04-idea-organization.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/template.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-brainstorming/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/templates/readiness-report-template.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-check-implementation-readiness/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-code-review/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-code-review/steps/step-01-gather-context.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-code-review/steps/step-02-review.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-code-review/steps/step-03-triage.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-code-review/steps/step-04-present.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-code-review/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/architecture-decision-template.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/data/domain-complexity.csv +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/data/project-types.csv +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-01-init.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-01b-continue.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-02-context.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-03-starter.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-04-decisions.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-05-patterns.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-06-structure.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-07-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/steps/step-08-complete.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-architecture/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-epics-and-stories/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-epics-and-stories/steps/step-02-design-epics.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-epics-and-stories/steps/step-03-create-stories.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-epics-and-stories/steps/step-04-final-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-epics-and-stories/templates/epics-template.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-epics-and-stories/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/data/domain-complexity.csv +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/data/prd-purpose.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/data/project-types.csv +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-01-init.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-01b-continue.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-02-discovery.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-02b-vision.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-02c-executive-summary.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-03-success.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-04-journeys.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-05-domain.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-06-innovation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-07-project-type.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-08-scoping.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-09-functional.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-10-nonfunctional.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-11-polish.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/steps-c/step-12-complete.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/templates/prd-template.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-create-prd/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/domain-steps/step-01-init.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/domain-steps/step-02-domain-analysis.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/domain-steps/step-05-technical-trends.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/domain-steps/step-06-research-synthesis.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/research.template.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-domain-research/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-party-mode/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/agents/artifact-analyzer.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/agents/web-researcher.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/assets/prfaq-template.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/bmad-manifest.json +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/references/customer-faq.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/references/internal-faq.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/references/press-release.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-prfaq/references/verdict.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-qa-generate-e2e-tests/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-qa-generate-e2e-tests/checklist.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-qa-generate-e2e-tests/workflow.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-review-adversarial-general/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-review-edge-case-hunter/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/SKILL.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/data/domain-complexity.csv +0 -0
- /package/{tools/skills/bmad-edit-prd → skills/sdlc/bmad-validate-prd}/data/prd-purpose.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/data/project-types.csv +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-01-discovery.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-02-format-detection.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-03-density-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/steps-v/step-v-13-report-complete.md +0 -0
- /package/{tools/skills → skills/sdlc}/bmad-validate-prd/workflow.md +0 -0
|
@@ -1,1574 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Official MCP Client Implementation using the Official MCP Python SDK
|
|
3
|
-
|
|
4
|
-
This module provides a proper MCP client implementation that follows the MCP
|
|
5
|
-
specification using the official Python SDK instead of custom HTTP workarounds.
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
import json
|
|
9
|
-
import logging
|
|
10
|
-
import os
|
|
11
|
-
import time
|
|
12
|
-
from collections.abc import Callable
|
|
13
|
-
from contextlib import asynccontextmanager, suppress
|
|
14
|
-
from dataclasses import dataclass, field
|
|
15
|
-
from pathlib import Path
|
|
16
|
-
from typing import Any
|
|
17
|
-
|
|
18
|
-
import yaml
|
|
19
|
-
|
|
20
|
-
# Initialize logger for import error handling
|
|
21
|
-
|
|
22
|
-
logger = logging.getLogger(__name__)
|
|
23
|
-
|
|
24
|
-
try:
|
|
25
|
-
from mcp import ClientSession
|
|
26
|
-
from mcp.client.streamable_http import streamablehttp_client
|
|
27
|
-
from mcp.types import CallToolResult, ReadResourceResult, Tool
|
|
28
|
-
except ImportError as e:
|
|
29
|
-
logger.exception(f"MCP SDK not properly installed: {e}")
|
|
30
|
-
raise
|
|
31
|
-
|
|
32
|
-
from ..core.ai_memory_exceptions import (
|
|
33
|
-
ConfigurationError,
|
|
34
|
-
ConnectionError,
|
|
35
|
-
ToolExecutionError,
|
|
36
|
-
)
|
|
37
|
-
from ..mcp.env_config_parser import load_mcp_servers_from_env
|
|
38
|
-
from ..models.ai_memory_models import SessionConsolidationRequest
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
@dataclass
|
|
42
|
-
class MCPServerCapability:
|
|
43
|
-
"""Capability metadata describing an MCP tool or resource."""
|
|
44
|
-
|
|
45
|
-
name: str
|
|
46
|
-
description: str | None = None
|
|
47
|
-
category: str | None = None
|
|
48
|
-
input_schema: dict[str, Any] = field(default_factory=dict)
|
|
49
|
-
output_schema: dict[str, Any] = field(default_factory=dict)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
@dataclass
|
|
53
|
-
class MCPServerMetadata:
|
|
54
|
-
"""Metadata describing a configured MCP server."""
|
|
55
|
-
|
|
56
|
-
name: str
|
|
57
|
-
version: str | None = None
|
|
58
|
-
description: str | None = None
|
|
59
|
-
author: str | None = None
|
|
60
|
-
homepage: str | None = None
|
|
61
|
-
tags: list[str] = field(default_factory=list)
|
|
62
|
-
categories: list[str] = field(default_factory=list)
|
|
63
|
-
capabilities: list[MCPServerCapability] = field(default_factory=list)
|
|
64
|
-
supported_domains: list[str] = field(default_factory=list)
|
|
65
|
-
raw: dict[str, Any] = field(default_factory=dict)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
@dataclass
|
|
69
|
-
class MCPConnectionConfig:
|
|
70
|
-
"""Configuration for MCP server connection."""
|
|
71
|
-
|
|
72
|
-
name: str
|
|
73
|
-
transport: str
|
|
74
|
-
url: str | None = None
|
|
75
|
-
api_key: str | None = None
|
|
76
|
-
timeout: float = 30.0
|
|
77
|
-
max_connections: int = 5
|
|
78
|
-
command: str | None = None
|
|
79
|
-
args: list[str] = field(default_factory=list)
|
|
80
|
-
env: dict[str, str] = field(default_factory=dict)
|
|
81
|
-
headers: dict[str, str] = field(default_factory=dict)
|
|
82
|
-
authentication: dict[str, Any] = field(default_factory=dict)
|
|
83
|
-
config_source: str = "env"
|
|
84
|
-
extra: dict[str, Any] = field(default_factory=dict)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
@dataclass
|
|
88
|
-
class MCPConnection:
|
|
89
|
-
"""Maintains MCP connection state including streams and session."""
|
|
90
|
-
|
|
91
|
-
client_session: ClientSession
|
|
92
|
-
read_stream: Any
|
|
93
|
-
write_stream: Any
|
|
94
|
-
session_id_callback: Callable[..., Any] | None = None
|
|
95
|
-
config: MCPConnectionConfig | None = None
|
|
96
|
-
metadata: MCPServerMetadata | None = None
|
|
97
|
-
# Store the stdio context manager to keep it alive
|
|
98
|
-
_stdio_context: Any | None = None
|
|
99
|
-
# Store the HTTP connection client to keep it alive
|
|
100
|
-
_connection_client: Any | None = None
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
class OfficialMCPClient:
|
|
104
|
-
"""
|
|
105
|
-
Proper MCP Client implementation using the official MCP Python SDK.
|
|
106
|
-
|
|
107
|
-
This client follows MCP specification correctly by using:
|
|
108
|
-
- ClientSession for session management
|
|
109
|
-
- Proper transport initialization (stdio, streamablehttp)
|
|
110
|
-
- Official MCP protocol communication
|
|
111
|
-
- Correct error handling and timeouts
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
def __init__(self):
|
|
115
|
-
"""Initialize the official MCP client."""
|
|
116
|
-
self.connections: dict[str, MCPConnection] = {}
|
|
117
|
-
self.connection_configs: dict[str, MCPConnectionConfig] = {}
|
|
118
|
-
self.server_metadata: dict[str, MCPServerMetadata] = {}
|
|
119
|
-
self._capability_index: dict[str, list[str]] = {}
|
|
120
|
-
self._tool_cache: dict[str, dict[str, Any]] = {}
|
|
121
|
-
self._tool_cache_ttl: float = 300.0 # seconds
|
|
122
|
-
self._config_file: Path | None = None
|
|
123
|
-
self.initialized = False
|
|
124
|
-
self._stats = {
|
|
125
|
-
"connection_attempts": 0,
|
|
126
|
-
"successful_connections": 0,
|
|
127
|
-
"failed_connections": 0,
|
|
128
|
-
"tool_calls": 0,
|
|
129
|
-
"successful_tool_calls": 0,
|
|
130
|
-
}
|
|
131
|
-
self._server_stats: dict[str, dict[str, Any]] = {}
|
|
132
|
-
|
|
133
|
-
async def initialize(self, config_file: str | None = None, force_reload: bool = False):
|
|
134
|
-
"""Initialize MCP client with configuration from env and optional YAML file."""
|
|
135
|
-
|
|
136
|
-
if self.initialized:
|
|
137
|
-
requested_path = Path(config_file) if config_file else self._config_file
|
|
138
|
-
if not force_reload and requested_path == self._config_file:
|
|
139
|
-
return
|
|
140
|
-
await self.close()
|
|
141
|
-
|
|
142
|
-
if config_file:
|
|
143
|
-
self._config_file = Path(config_file)
|
|
144
|
-
|
|
145
|
-
try:
|
|
146
|
-
logger.info(
|
|
147
|
-
"Initializing Official MCP Client%s",
|
|
148
|
-
f" using {self._config_file}" if self._config_file else "",
|
|
149
|
-
)
|
|
150
|
-
self._load_configuration_sources()
|
|
151
|
-
|
|
152
|
-
if not self.connection_configs:
|
|
153
|
-
logger.warning(
|
|
154
|
-
"No MCP servers configured — proceeding with official client in idle state"
|
|
155
|
-
)
|
|
156
|
-
|
|
157
|
-
await self._initialize_connections()
|
|
158
|
-
self.initialized = True
|
|
159
|
-
logger.info(
|
|
160
|
-
"Official MCP Client initialized with %d configured servers (%d active connections)",
|
|
161
|
-
len(self.connection_configs),
|
|
162
|
-
len(self.connections),
|
|
163
|
-
)
|
|
164
|
-
|
|
165
|
-
except Exception as exc:
|
|
166
|
-
logger.exception("Failed to initialize Official MCP Client: %s", exc)
|
|
167
|
-
raise
|
|
168
|
-
|
|
169
|
-
def _load_configuration_sources(self):
|
|
170
|
-
"""Load server configurations from environment variables and optional YAML file."""
|
|
171
|
-
|
|
172
|
-
self.connection_configs.clear()
|
|
173
|
-
self.server_metadata.clear()
|
|
174
|
-
self._capability_index.clear()
|
|
175
|
-
self._tool_cache.clear()
|
|
176
|
-
|
|
177
|
-
for metadata, config in self._load_env_configuration():
|
|
178
|
-
self._register_configuration(metadata, config)
|
|
179
|
-
|
|
180
|
-
if self._config_file:
|
|
181
|
-
for metadata, config in self._load_file_configuration(self._config_file):
|
|
182
|
-
self._register_configuration(metadata, config)
|
|
183
|
-
|
|
184
|
-
def _load_env_configuration(
|
|
185
|
-
self,
|
|
186
|
-
) -> list[tuple[MCPServerMetadata, MCPConnectionConfig]]:
|
|
187
|
-
"""Parse environment-driven MCP server configuration."""
|
|
188
|
-
|
|
189
|
-
entries: list[tuple[MCPServerMetadata, MCPConnectionConfig]] = []
|
|
190
|
-
|
|
191
|
-
for server in load_mcp_servers_from_env():
|
|
192
|
-
capabilities = [MCPServerCapability(name=name) for name in server.capabilities]
|
|
193
|
-
|
|
194
|
-
metadata = MCPServerMetadata(
|
|
195
|
-
name=server.name,
|
|
196
|
-
description=f"Environment-configured MCP server: {server.name}",
|
|
197
|
-
capabilities=capabilities,
|
|
198
|
-
raw={"source": "env"},
|
|
199
|
-
)
|
|
200
|
-
|
|
201
|
-
connection_config = MCPConnectionConfig(
|
|
202
|
-
name=server.name,
|
|
203
|
-
transport=server.transport,
|
|
204
|
-
url=str(server.url) if server.url else None,
|
|
205
|
-
api_key=server.api_key,
|
|
206
|
-
timeout=server.timeout,
|
|
207
|
-
max_connections=server.max_connections,
|
|
208
|
-
command=server.command,
|
|
209
|
-
args=server.args,
|
|
210
|
-
env=server.env,
|
|
211
|
-
config_source="env",
|
|
212
|
-
)
|
|
213
|
-
|
|
214
|
-
entries.append((metadata, connection_config))
|
|
215
|
-
|
|
216
|
-
return entries
|
|
217
|
-
|
|
218
|
-
def _load_file_configuration(
|
|
219
|
-
self, config_path: Path
|
|
220
|
-
) -> list[tuple[MCPServerMetadata, MCPConnectionConfig]]:
|
|
221
|
-
"""Parse YAML configuration for MCP servers."""
|
|
222
|
-
|
|
223
|
-
entries: list[tuple[MCPServerMetadata, MCPConnectionConfig]] = []
|
|
224
|
-
|
|
225
|
-
if not config_path.exists():
|
|
226
|
-
logger.warning("MCP configuration file %s not found", config_path)
|
|
227
|
-
return entries
|
|
228
|
-
|
|
229
|
-
try:
|
|
230
|
-
data = yaml.safe_load(config_path.read_text()) or {}
|
|
231
|
-
except Exception as exc:
|
|
232
|
-
logger.exception("Failed to parse MCP configuration file %s: %s", config_path, exc)
|
|
233
|
-
raise
|
|
234
|
-
|
|
235
|
-
for server_data in data.get("servers", []):
|
|
236
|
-
metadata_dict = self._interpolate_env(server_data.get("metadata", {}))
|
|
237
|
-
config_dict = self._interpolate_env(server_data.get("config", {}))
|
|
238
|
-
|
|
239
|
-
if not config_dict:
|
|
240
|
-
logger.debug(
|
|
241
|
-
"Skipping MCP server with empty config block: %s",
|
|
242
|
-
metadata_dict.get("name", "unknown"),
|
|
243
|
-
)
|
|
244
|
-
continue
|
|
245
|
-
|
|
246
|
-
metadata = self._build_metadata(metadata_dict)
|
|
247
|
-
metadata.raw.setdefault("source", str(config_path))
|
|
248
|
-
connection_config = self._build_connection_config(config_dict, source="file")
|
|
249
|
-
entries.append((metadata, connection_config))
|
|
250
|
-
|
|
251
|
-
return entries
|
|
252
|
-
|
|
253
|
-
def _build_metadata(self, metadata_dict: dict[str, Any]) -> MCPServerMetadata:
|
|
254
|
-
raw_copy = dict(metadata_dict) if metadata_dict else {}
|
|
255
|
-
capabilities_data = raw_copy.pop("capabilities", [])
|
|
256
|
-
capabilities = self._normalise_capabilities(capabilities_data)
|
|
257
|
-
|
|
258
|
-
filtered_fields = {
|
|
259
|
-
key: raw_copy.get(key)
|
|
260
|
-
for key in (
|
|
261
|
-
"name",
|
|
262
|
-
"version",
|
|
263
|
-
"description",
|
|
264
|
-
"author",
|
|
265
|
-
"homepage",
|
|
266
|
-
"tags",
|
|
267
|
-
"categories",
|
|
268
|
-
"supported_domains",
|
|
269
|
-
)
|
|
270
|
-
if raw_copy.get(key) is not None
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
return MCPServerMetadata(
|
|
274
|
-
capabilities=capabilities,
|
|
275
|
-
raw=metadata_dict or {},
|
|
276
|
-
**filtered_fields,
|
|
277
|
-
)
|
|
278
|
-
|
|
279
|
-
def _build_connection_config(
|
|
280
|
-
self, config_dict: dict[str, Any], source: str
|
|
281
|
-
) -> MCPConnectionConfig:
|
|
282
|
-
headers = config_dict.pop("headers", {}) or {}
|
|
283
|
-
authentication = config_dict.pop("authentication", {}) or {}
|
|
284
|
-
command = config_dict.pop("command", None)
|
|
285
|
-
args = config_dict.pop("args", []) or []
|
|
286
|
-
env = config_dict.pop("env", {}) or {}
|
|
287
|
-
extra = {
|
|
288
|
-
k: v
|
|
289
|
-
for k, v in config_dict.items()
|
|
290
|
-
if k not in {"name", "transport", "url", "api_key", "timeout", "max_connections"}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
name = config_dict.get("name")
|
|
294
|
-
if not name:
|
|
295
|
-
raise ConfigurationError("MCP configuration entry missing 'name'")
|
|
296
|
-
|
|
297
|
-
return MCPConnectionConfig(
|
|
298
|
-
name=name,
|
|
299
|
-
transport=config_dict.get("transport", "http"),
|
|
300
|
-
url=config_dict.get("url"),
|
|
301
|
-
api_key=config_dict.get("api_key"),
|
|
302
|
-
timeout=float(config_dict.get("timeout", 30.0)),
|
|
303
|
-
max_connections=int(config_dict.get("max_connections", 5)),
|
|
304
|
-
command=command,
|
|
305
|
-
args=args if isinstance(args, list) else [args],
|
|
306
|
-
env=env,
|
|
307
|
-
headers=headers,
|
|
308
|
-
authentication=authentication,
|
|
309
|
-
config_source=source,
|
|
310
|
-
extra=extra,
|
|
311
|
-
)
|
|
312
|
-
|
|
313
|
-
def _normalise_capabilities(self, capabilities_data: Any) -> list[MCPServerCapability]:
|
|
314
|
-
capabilities: list[MCPServerCapability] = []
|
|
315
|
-
|
|
316
|
-
if isinstance(capabilities_data, list):
|
|
317
|
-
for capability in capabilities_data:
|
|
318
|
-
if isinstance(capability, str):
|
|
319
|
-
capabilities.append(MCPServerCapability(name=capability))
|
|
320
|
-
elif isinstance(capability, dict):
|
|
321
|
-
capabilities.append(
|
|
322
|
-
MCPServerCapability(
|
|
323
|
-
name=capability.get("name"),
|
|
324
|
-
description=capability.get("description"),
|
|
325
|
-
category=capability.get("category"),
|
|
326
|
-
input_schema=capability.get("input_schema", {}),
|
|
327
|
-
output_schema=capability.get("output_schema", {}),
|
|
328
|
-
)
|
|
329
|
-
)
|
|
330
|
-
return capabilities
|
|
331
|
-
|
|
332
|
-
def _interpolate_env(self, value: Any) -> Any:
|
|
333
|
-
if isinstance(value, dict):
|
|
334
|
-
return {key: self._interpolate_env(val) for key, val in value.items()}
|
|
335
|
-
if isinstance(value, list):
|
|
336
|
-
return [self._interpolate_env(item) for item in value]
|
|
337
|
-
if isinstance(value, str):
|
|
338
|
-
return os.path.expandvars(value)
|
|
339
|
-
return value
|
|
340
|
-
|
|
341
|
-
def _register_configuration(self, metadata: MCPServerMetadata, config: MCPConnectionConfig):
|
|
342
|
-
if not config.name:
|
|
343
|
-
raise ConfigurationError("MCP server configuration missing required 'name'")
|
|
344
|
-
|
|
345
|
-
if config.transport == "http" and (
|
|
346
|
-
not config.url or not str(config.url).startswith(("http://", "https://"))
|
|
347
|
-
):
|
|
348
|
-
logger.warning(
|
|
349
|
-
"Skipping MCP server '%s': invalid or missing HTTP URL (%r)",
|
|
350
|
-
metadata.name,
|
|
351
|
-
config.url,
|
|
352
|
-
)
|
|
353
|
-
return
|
|
354
|
-
|
|
355
|
-
if config.transport == "stdio" and not config.command:
|
|
356
|
-
logger.warning(
|
|
357
|
-
"Skipping MCP server '%s': stdio transport requires 'command' configuration",
|
|
358
|
-
metadata.name,
|
|
359
|
-
)
|
|
360
|
-
return
|
|
361
|
-
|
|
362
|
-
self.connection_configs[config.name] = config
|
|
363
|
-
self.server_metadata[config.name] = metadata
|
|
364
|
-
self._index_capabilities(config.name, metadata.capabilities)
|
|
365
|
-
self._server_stats.setdefault(
|
|
366
|
-
config.name,
|
|
367
|
-
{
|
|
368
|
-
"tool_calls": 0,
|
|
369
|
-
"successful_tool_calls": 0,
|
|
370
|
-
"failed_tool_calls": 0,
|
|
371
|
-
"avg_execution_time": 0.0,
|
|
372
|
-
},
|
|
373
|
-
)
|
|
374
|
-
|
|
375
|
-
def _index_capabilities(self, server_name: str, capabilities: list[MCPServerCapability]):
|
|
376
|
-
for capability in capabilities:
|
|
377
|
-
if not capability.name:
|
|
378
|
-
continue
|
|
379
|
-
self._capability_index.setdefault(capability.name, [])
|
|
380
|
-
if server_name not in self._capability_index[capability.name]:
|
|
381
|
-
self._capability_index[capability.name].append(server_name)
|
|
382
|
-
|
|
383
|
-
async def _initialize_connections(self):
|
|
384
|
-
"""Initialize MCP connections for all configured servers."""
|
|
385
|
-
self.connections.clear()
|
|
386
|
-
|
|
387
|
-
for server_name, config in self.connection_configs.items():
|
|
388
|
-
try:
|
|
389
|
-
await self._create_connection(server_name, config)
|
|
390
|
-
except ConnectionError:
|
|
391
|
-
self._stats["failed_connections"] += 1
|
|
392
|
-
except Exception as exc: # pragma: no cover - defensive guard
|
|
393
|
-
self._stats["failed_connections"] += 1
|
|
394
|
-
logger.exception(
|
|
395
|
-
"Unexpected error creating MCP connection to %s: %s",
|
|
396
|
-
server_name,
|
|
397
|
-
exc,
|
|
398
|
-
)
|
|
399
|
-
|
|
400
|
-
async def _create_connection(self, server_name: str, config: MCPConnectionConfig):
|
|
401
|
-
"""
|
|
402
|
-
Create a proper MCP connection using the official SDK.
|
|
403
|
-
|
|
404
|
-
Args:
|
|
405
|
-
server_name: Name of the MCP server
|
|
406
|
-
config: Connection configuration
|
|
407
|
-
"""
|
|
408
|
-
try:
|
|
409
|
-
self._stats["connection_attempts"] += 1
|
|
410
|
-
|
|
411
|
-
if config.transport == "http":
|
|
412
|
-
# Use streamablehttp_client for HTTP transport
|
|
413
|
-
session = await self._create_http_connection(config)
|
|
414
|
-
elif config.transport == "stdio":
|
|
415
|
-
# Use stdio_client for local process transport
|
|
416
|
-
session = await self._create_stdio_connection(config)
|
|
417
|
-
else:
|
|
418
|
-
raise ConfigurationError(f"Unsupported transport type: {config.transport}")
|
|
419
|
-
|
|
420
|
-
metadata = self.server_metadata.get(server_name)
|
|
421
|
-
session.metadata = metadata
|
|
422
|
-
session.config = config
|
|
423
|
-
self.connections[server_name] = session
|
|
424
|
-
self._stats["successful_connections"] += 1
|
|
425
|
-
|
|
426
|
-
logger.info(
|
|
427
|
-
f"Successfully created MCP connection to {server_name} via {config.transport}"
|
|
428
|
-
)
|
|
429
|
-
|
|
430
|
-
except Exception as e:
|
|
431
|
-
logger.exception(f"Failed to create MCP connection to {server_name}: {e}")
|
|
432
|
-
raise
|
|
433
|
-
|
|
434
|
-
def _serialize_message(message) -> str:
|
|
435
|
-
"""
|
|
436
|
-
Serialize a SessionMessage or JSONRPCMessage to JSON-RPC string format.
|
|
437
|
-
|
|
438
|
-
This method handles the different message types that can come from
|
|
439
|
-
the MCP ClientSession and converts them to proper JSON-RPC strings
|
|
440
|
-
that can be sent to MCP servers via stdin.
|
|
441
|
-
"""
|
|
442
|
-
try:
|
|
443
|
-
# Try the simplest approach first - direct model_dump if available
|
|
444
|
-
if hasattr(message, "model_dump"):
|
|
445
|
-
try:
|
|
446
|
-
data = message.model_dump(exclude_none=True, by_alias=True)
|
|
447
|
-
return json.dumps(data)
|
|
448
|
-
except Exception:
|
|
449
|
-
pass # Continue to other methods
|
|
450
|
-
|
|
451
|
-
# Try with root attribute for SessionMessage
|
|
452
|
-
if hasattr(message, "root") and hasattr(message.root, "model_dump"):
|
|
453
|
-
try:
|
|
454
|
-
data = message.root.model_dump(exclude_none=True, by_alias=True)
|
|
455
|
-
return json.dumps(data)
|
|
456
|
-
except Exception:
|
|
457
|
-
pass
|
|
458
|
-
|
|
459
|
-
# Simple field extraction for JSONRPCMessage
|
|
460
|
-
obj = message
|
|
461
|
-
if hasattr(message, "root"):
|
|
462
|
-
obj = message.root
|
|
463
|
-
|
|
464
|
-
# Build JSON-RPC message manually with common fields
|
|
465
|
-
result = {}
|
|
466
|
-
|
|
467
|
-
# Try to get common JSON-RPC fields
|
|
468
|
-
for field in ["jsonrpc", "method", "params", "result", "error", "id"]:
|
|
469
|
-
if hasattr(obj, field):
|
|
470
|
-
value = getattr(obj, field)
|
|
471
|
-
if value is not None:
|
|
472
|
-
result[field] = value
|
|
473
|
-
|
|
474
|
-
# Default jsonrpc version if not present
|
|
475
|
-
if "jsonrpc" not in result:
|
|
476
|
-
result["jsonrpc"] = "2.0"
|
|
477
|
-
|
|
478
|
-
return json.dumps(result)
|
|
479
|
-
|
|
480
|
-
except Exception as e:
|
|
481
|
-
logger.exception(f"Failed to serialize message {type(message)}: {e}")
|
|
482
|
-
# Return a valid JSON-RPC error message as fallback
|
|
483
|
-
return json.dumps(
|
|
484
|
-
{
|
|
485
|
-
"jsonrpc": "2.0",
|
|
486
|
-
"error": {
|
|
487
|
-
"code": -32603,
|
|
488
|
-
"message": f"Serialization error: {str(e)}",
|
|
489
|
-
},
|
|
490
|
-
}
|
|
491
|
-
)
|
|
492
|
-
|
|
493
|
-
async def _create_http_connection(self, config: MCPConnectionConfig) -> MCPConnection:
|
|
494
|
-
"""Create HTTP connection using streamablehttp_client."""
|
|
495
|
-
try:
|
|
496
|
-
if not config.url:
|
|
497
|
-
raise ConfigurationError(f"HTTP transport for {config.name} requires a URL")
|
|
498
|
-
|
|
499
|
-
headers = self._prepare_http_headers(config)
|
|
500
|
-
|
|
501
|
-
connection_client = streamablehttp_client(
|
|
502
|
-
url=config.url, headers=headers, timeout=config.timeout
|
|
503
|
-
)
|
|
504
|
-
|
|
505
|
-
# Get the streams from the connection client
|
|
506
|
-
(
|
|
507
|
-
read_stream,
|
|
508
|
-
write_stream,
|
|
509
|
-
session_id_callback,
|
|
510
|
-
) = await connection_client.__aenter__()
|
|
511
|
-
|
|
512
|
-
# Create ClientSession with the streams
|
|
513
|
-
client_session = ClientSession(read_stream, write_stream)
|
|
514
|
-
|
|
515
|
-
# Initialize the session
|
|
516
|
-
await client_session.initialize()
|
|
517
|
-
|
|
518
|
-
# Store complete connection state
|
|
519
|
-
connection = MCPConnection(
|
|
520
|
-
client_session=client_session,
|
|
521
|
-
read_stream=read_stream,
|
|
522
|
-
write_stream=write_stream,
|
|
523
|
-
session_id_callback=session_id_callback,
|
|
524
|
-
config=config,
|
|
525
|
-
metadata=self.server_metadata.get(config.name),
|
|
526
|
-
)
|
|
527
|
-
|
|
528
|
-
# Store the connection client for cleanup
|
|
529
|
-
connection._connection_client = connection_client
|
|
530
|
-
|
|
531
|
-
client_session._transport = "streamable_http"
|
|
532
|
-
client_session._get_session_id = session_id_callback
|
|
533
|
-
client_session._url = config.url
|
|
534
|
-
client_session._headers = headers
|
|
535
|
-
client_session._config_timeout = config.timeout
|
|
536
|
-
client_session._config_name = config.name
|
|
537
|
-
|
|
538
|
-
return connection
|
|
539
|
-
|
|
540
|
-
except Exception as e:
|
|
541
|
-
logger.exception(f"HTTP connection creation failed for {config.name}: {e}")
|
|
542
|
-
raise
|
|
543
|
-
|
|
544
|
-
async def _create_filtered_read_stream(self, original_read_stream, server_name: str):
|
|
545
|
-
"""Create a filtered read stream that skips non-JSON startup messages."""
|
|
546
|
-
from mcp.types import JSONRPCMessage
|
|
547
|
-
|
|
548
|
-
class FilteredReadStream:
|
|
549
|
-
def __init__(self, original_stream, server_name):
|
|
550
|
-
self.original_stream = original_stream
|
|
551
|
-
self.server_name = server_name
|
|
552
|
-
self.buffer = []
|
|
553
|
-
self.filtered_startup = False
|
|
554
|
-
self.logger = logging.getLogger(f"{__name__}.{server_name}")
|
|
555
|
-
|
|
556
|
-
async def read(self):
|
|
557
|
-
"""Read and filter messages from the stream."""
|
|
558
|
-
while True:
|
|
559
|
-
# Read a message from the original stream
|
|
560
|
-
message = await self.original_stream.read()
|
|
561
|
-
|
|
562
|
-
# If we haven't filtered startup messages yet, check if this is JSON
|
|
563
|
-
if not self.filtered_startup:
|
|
564
|
-
try:
|
|
565
|
-
# Try to parse as JSON to validate it's a proper JSON-RPC message
|
|
566
|
-
if isinstance(message, str):
|
|
567
|
-
JSONRPCMessage.model_validate_json(message)
|
|
568
|
-
# If we get here, it's valid JSON
|
|
569
|
-
self.filtered_startup = True
|
|
570
|
-
self.logger.debug(
|
|
571
|
-
f"Received first valid JSON-RPC message from {self.server_name}"
|
|
572
|
-
)
|
|
573
|
-
return message
|
|
574
|
-
else:
|
|
575
|
-
# Binary data, return as-is
|
|
576
|
-
self.filtered_startup = True
|
|
577
|
-
return message
|
|
578
|
-
except Exception:
|
|
579
|
-
# This is not valid JSON, likely a startup message
|
|
580
|
-
if isinstance(message, str) and message.strip():
|
|
581
|
-
self.logger.info(
|
|
582
|
-
f"Filtering startup message from {self.server_name}: {message.strip()}"
|
|
583
|
-
)
|
|
584
|
-
# Skip this message and continue reading
|
|
585
|
-
continue
|
|
586
|
-
else:
|
|
587
|
-
# Already filtered startup messages, return everything as-is
|
|
588
|
-
return message
|
|
589
|
-
|
|
590
|
-
async def aclose(self):
|
|
591
|
-
"""Close the underlying stream."""
|
|
592
|
-
if hasattr(self.original_stream, "aclose"):
|
|
593
|
-
await self.original_stream.aclose()
|
|
594
|
-
|
|
595
|
-
return FilteredReadStream(original_read_stream, server_name)
|
|
596
|
-
|
|
597
|
-
async def _create_stdio_connection(self, config: MCPConnectionConfig) -> MCPConnection:
|
|
598
|
-
"""Create stdio connection for local processes with startup message filtering."""
|
|
599
|
-
try:
|
|
600
|
-
import asyncio
|
|
601
|
-
import os
|
|
602
|
-
import subprocess
|
|
603
|
-
|
|
604
|
-
from mcp.client.session import ClientSession
|
|
605
|
-
|
|
606
|
-
# For stdio, we need a command and args
|
|
607
|
-
if not config.command:
|
|
608
|
-
raise ConfigurationError("stdio transport requires command configuration")
|
|
609
|
-
|
|
610
|
-
logger.info(
|
|
611
|
-
f"Starting filtered stdio server: {config.command} {' '.join(config.args or [])}"
|
|
612
|
-
)
|
|
613
|
-
|
|
614
|
-
# Prepare environment
|
|
615
|
-
env = os.environ.copy()
|
|
616
|
-
if config.env:
|
|
617
|
-
env.update(config.env)
|
|
618
|
-
|
|
619
|
-
# Create custom context manager for filtered stdio client
|
|
620
|
-
class FilteredStdioContext:
|
|
621
|
-
"""Async context manager for stdio client with startup message filtering."""
|
|
622
|
-
|
|
623
|
-
def __init__(self, server_params, config_name):
|
|
624
|
-
self.server_params = server_params
|
|
625
|
-
self.config_name = config_name
|
|
626
|
-
self.process = None
|
|
627
|
-
self.task_group = None
|
|
628
|
-
|
|
629
|
-
async def __aenter__(self):
|
|
630
|
-
"""Start the process and create filtered streams."""
|
|
631
|
-
try:
|
|
632
|
-
import anyio
|
|
633
|
-
from mcp.shared.session import SessionMessage
|
|
634
|
-
|
|
635
|
-
# Start the process manually to have full control over stdout
|
|
636
|
-
self.process = await asyncio.create_subprocess_exec(
|
|
637
|
-
self.server_params["command"],
|
|
638
|
-
*(self.server_params.get("args", [])),
|
|
639
|
-
stdin=subprocess.PIPE,
|
|
640
|
-
stdout=subprocess.PIPE,
|
|
641
|
-
stderr=subprocess.PIPE,
|
|
642
|
-
env=self.server_params.get("env", env),
|
|
643
|
-
)
|
|
644
|
-
|
|
645
|
-
# Create memory streams for ClientSession communication
|
|
646
|
-
read_stream_writer, read_stream_reader = anyio.create_memory_object_stream(
|
|
647
|
-
0
|
|
648
|
-
)
|
|
649
|
-
write_stream_writer, write_stream_reader = (
|
|
650
|
-
anyio.create_memory_object_stream(0)
|
|
651
|
-
)
|
|
652
|
-
|
|
653
|
-
# stdout reader - filters startup messages and parses JSON-RPC
|
|
654
|
-
async def stdout_reader():
|
|
655
|
-
"""Read from stdout, filter startup messages, and send valid JSON-RPC to ClientSession."""
|
|
656
|
-
try:
|
|
657
|
-
import json
|
|
658
|
-
|
|
659
|
-
from mcp.types import JSONRPCMessage
|
|
660
|
-
|
|
661
|
-
filtered_startup = False
|
|
662
|
-
logger = logging.getLogger(f"{__name__}.{self.config_name}")
|
|
663
|
-
|
|
664
|
-
while True:
|
|
665
|
-
line = await self.process.stdout.readline()
|
|
666
|
-
if not line: # EOF
|
|
667
|
-
break
|
|
668
|
-
|
|
669
|
-
line_str = line.decode("utf-8").rstrip()
|
|
670
|
-
|
|
671
|
-
if not filtered_startup:
|
|
672
|
-
# Try to validate as JSON-RPC message
|
|
673
|
-
try:
|
|
674
|
-
# Try parsing as JSON to verify it's a valid message
|
|
675
|
-
parsed = json.loads(line_str)
|
|
676
|
-
# Check if it has JSON-RPC structure
|
|
677
|
-
if isinstance(parsed, dict) and "jsonrpc" in parsed:
|
|
678
|
-
filtered_startup = True
|
|
679
|
-
logger.debug(
|
|
680
|
-
f"Received first valid JSON-RPC message from {self.config_name}"
|
|
681
|
-
)
|
|
682
|
-
# Parse as JSONRPCMessage and send to ClientSession
|
|
683
|
-
jsonrpc_message = (
|
|
684
|
-
JSONRPCMessage.model_validate_json(line_str)
|
|
685
|
-
)
|
|
686
|
-
await read_stream_writer.send(
|
|
687
|
-
SessionMessage(jsonrpc_message)
|
|
688
|
-
)
|
|
689
|
-
else:
|
|
690
|
-
# Valid JSON but not JSON-RPC, still filter it
|
|
691
|
-
if line_str.strip():
|
|
692
|
-
logger.info(
|
|
693
|
-
f"Filtering non-JSON-RPC message from {self.config_name}: {line_str}"
|
|
694
|
-
)
|
|
695
|
-
continue
|
|
696
|
-
except json.JSONDecodeError:
|
|
697
|
-
# Not valid JSON, filter it as startup message
|
|
698
|
-
if line_str.strip():
|
|
699
|
-
logger.info(
|
|
700
|
-
f"Filtering startup message from {self.config_name}: {line_str}"
|
|
701
|
-
)
|
|
702
|
-
continue
|
|
703
|
-
except Exception as e:
|
|
704
|
-
logger.exception(
|
|
705
|
-
f"Error parsing JSON-RPC message from {self.config_name}: {e}"
|
|
706
|
-
)
|
|
707
|
-
await read_stream_writer.send(e)
|
|
708
|
-
else:
|
|
709
|
-
# Already filtered startup, parse all remaining lines as JSON-RPC
|
|
710
|
-
try:
|
|
711
|
-
jsonrpc_message = JSONRPCMessage.model_validate_json(
|
|
712
|
-
line_str
|
|
713
|
-
)
|
|
714
|
-
await read_stream_writer.send(
|
|
715
|
-
SessionMessage(jsonrpc_message)
|
|
716
|
-
)
|
|
717
|
-
except Exception as e:
|
|
718
|
-
logger.exception(
|
|
719
|
-
f"Error parsing JSON-RPC message from {self.config_name}: {e}"
|
|
720
|
-
)
|
|
721
|
-
await read_stream_writer.send(e)
|
|
722
|
-
except Exception as e:
|
|
723
|
-
logger.exception(f"stdout_reader error for {self.config_name}: {e}")
|
|
724
|
-
await read_stream_writer.send(e)
|
|
725
|
-
finally:
|
|
726
|
-
await read_stream_writer.aclose()
|
|
727
|
-
|
|
728
|
-
# stdin writer - writes messages from ClientSession to process stdin
|
|
729
|
-
async def stdin_writer():
|
|
730
|
-
"""Write messages from ClientSession to process stdin."""
|
|
731
|
-
|
|
732
|
-
def _serialize_message(message) -> str:
|
|
733
|
-
"""
|
|
734
|
-
Serialize a SessionMessage or JSONRPCMessage to JSON-RPC string format.
|
|
735
|
-
|
|
736
|
-
This method handles the different message types that can come from
|
|
737
|
-
the MCP ClientSession and converts them to proper JSON-RPC strings
|
|
738
|
-
that can be sent to MCP servers via stdin.
|
|
739
|
-
"""
|
|
740
|
-
try:
|
|
741
|
-
# Handle different message types from the MCP ClientSession
|
|
742
|
-
if hasattr(message, "root"):
|
|
743
|
-
# SessionMessage.root should be the JSONRPCMessage
|
|
744
|
-
jsonrpc_message = message.root
|
|
745
|
-
elif hasattr(message, "jsonrpc"):
|
|
746
|
-
# Alternative access path
|
|
747
|
-
jsonrpc_message = message.jsonrpc
|
|
748
|
-
else:
|
|
749
|
-
# message itself might be the JSONRPCMessage
|
|
750
|
-
jsonrpc_message = message
|
|
751
|
-
|
|
752
|
-
logger.debug(
|
|
753
|
-
f"Attempting to serialize message: {type(jsonrpc_message)} - {jsonrpc_message}"
|
|
754
|
-
)
|
|
755
|
-
|
|
756
|
-
# Check if this is a JSONRPCMessage with built-in serialization
|
|
757
|
-
if hasattr(jsonrpc_message, "model_dump_json"):
|
|
758
|
-
# Pydantic v2 model - use its JSON serialization with by_alias=True
|
|
759
|
-
result = jsonrpc_message.model_dump_json(by_alias=True)
|
|
760
|
-
logger.debug(f"Serialized using model_dump_json: {result}")
|
|
761
|
-
return result
|
|
762
|
-
elif isinstance(jsonrpc_message, dict):
|
|
763
|
-
# Already a dictionary
|
|
764
|
-
result = json.dumps(jsonrpc_message)
|
|
765
|
-
logger.debug(f"Serialized as dict: {result}")
|
|
766
|
-
return result
|
|
767
|
-
else:
|
|
768
|
-
# Last resort - try to extract what we can
|
|
769
|
-
if hasattr(jsonrpc_message, "__dict__"):
|
|
770
|
-
data = jsonrpc_message.__dict__
|
|
771
|
-
# Remove any internal/private attributes
|
|
772
|
-
filtered_data = {
|
|
773
|
-
k: v
|
|
774
|
-
for k, v in data.items()
|
|
775
|
-
if not k.startswith("_")
|
|
776
|
-
}
|
|
777
|
-
result = json.dumps(filtered_data)
|
|
778
|
-
logger.debug(f"Serialized via __dict__: {result}")
|
|
779
|
-
return result
|
|
780
|
-
else:
|
|
781
|
-
# Ultimate fallback - create a basic JSON-RPC message
|
|
782
|
-
result = json.dumps(
|
|
783
|
-
{
|
|
784
|
-
"jsonrpc": "2.0",
|
|
785
|
-
"id": getattr(jsonrpc_message, "id", 1),
|
|
786
|
-
"method": getattr(
|
|
787
|
-
jsonrpc_message,
|
|
788
|
-
"method",
|
|
789
|
-
"unknown",
|
|
790
|
-
),
|
|
791
|
-
"params": getattr(
|
|
792
|
-
jsonrpc_message, "params", {}
|
|
793
|
-
),
|
|
794
|
-
}
|
|
795
|
-
)
|
|
796
|
-
logger.debug(f"Serialized via fallback: {result}")
|
|
797
|
-
return result
|
|
798
|
-
|
|
799
|
-
except Exception as e:
|
|
800
|
-
logger.exception(
|
|
801
|
-
f"Failed to serialize message {type(message)}: {e}"
|
|
802
|
-
)
|
|
803
|
-
logger.debug(f"Message details: {message}")
|
|
804
|
-
# Ultimate fallback - ensure we always return valid JSON-RPC
|
|
805
|
-
fallback = json.dumps(
|
|
806
|
-
{
|
|
807
|
-
"jsonrpc": "2.0",
|
|
808
|
-
"id": 1,
|
|
809
|
-
"error": {
|
|
810
|
-
"code": -32603,
|
|
811
|
-
"message": f"Internal serialization error: {str(e)}",
|
|
812
|
-
},
|
|
813
|
-
}
|
|
814
|
-
)
|
|
815
|
-
logger.debug(f"Using fallback serialization: {fallback}")
|
|
816
|
-
return fallback
|
|
817
|
-
|
|
818
|
-
try:
|
|
819
|
-
async for message in write_stream_reader:
|
|
820
|
-
# Convert SessionMessage to JSON-RPC format for the MCP server
|
|
821
|
-
# The MCP SDK expects to send raw JSON-RPC strings
|
|
822
|
-
json_data = _serialize_message(message)
|
|
823
|
-
logger.debug(f"Sending to {self.config_name}: {json_data}")
|
|
824
|
-
|
|
825
|
-
self.process.stdin.write(json_data.encode("utf-8"))
|
|
826
|
-
await self.process.stdin.drain()
|
|
827
|
-
except Exception as e:
|
|
828
|
-
logger.exception(f"stdin_writer error for {self.config_name}: {e}")
|
|
829
|
-
finally:
|
|
830
|
-
with suppress(BaseException):
|
|
831
|
-
self.process.stdin.close()
|
|
832
|
-
|
|
833
|
-
# Create task group for reader and writer
|
|
834
|
-
self.task_group = anyio.create_task_group()
|
|
835
|
-
|
|
836
|
-
# Start reader and writer tasks
|
|
837
|
-
await self.task_group.__aenter__()
|
|
838
|
-
self.task_group.start_soon(stdout_reader)
|
|
839
|
-
self.task_group.start_soon(stdin_writer)
|
|
840
|
-
|
|
841
|
-
# Return the streams for ClientSession
|
|
842
|
-
return read_stream_reader, write_stream_writer
|
|
843
|
-
|
|
844
|
-
except Exception as e:
|
|
845
|
-
logger.exception(
|
|
846
|
-
f"Failed to start filtered stdio client for {self.config_name}: {e}"
|
|
847
|
-
)
|
|
848
|
-
raise
|
|
849
|
-
|
|
850
|
-
async def __aexit__(self, exc_type, exc_val, exc_tb):
|
|
851
|
-
"""Cleanup process and task group."""
|
|
852
|
-
try:
|
|
853
|
-
# Cleanup task group
|
|
854
|
-
if self.task_group:
|
|
855
|
-
await self.task_group.__aexit__(exc_type, exc_val, exc_tb)
|
|
856
|
-
|
|
857
|
-
# Cleanup process
|
|
858
|
-
if self.process and self.process.returncode is None:
|
|
859
|
-
try:
|
|
860
|
-
self.process.terminate()
|
|
861
|
-
await asyncio.wait_for(self.process.wait(), timeout=5.0)
|
|
862
|
-
except TimeoutError:
|
|
863
|
-
self.process.kill()
|
|
864
|
-
await self.process.wait()
|
|
865
|
-
except Exception as e:
|
|
866
|
-
logger.exception(f"Error during cleanup for {self.config_name}: {e}")
|
|
867
|
-
|
|
868
|
-
# Use the filtered stdio client
|
|
869
|
-
server_params = {
|
|
870
|
-
"command": config.command,
|
|
871
|
-
"args": config.args or [],
|
|
872
|
-
"env": env,
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
async with FilteredStdioContext(server_params, config.name) as (
|
|
876
|
-
read_stream,
|
|
877
|
-
write_stream,
|
|
878
|
-
):
|
|
879
|
-
# Create ClientSession with filtered streams
|
|
880
|
-
client_session = ClientSession(read_stream, write_stream)
|
|
881
|
-
|
|
882
|
-
# Initialize the session
|
|
883
|
-
await client_session.initialize()
|
|
884
|
-
logger.info(
|
|
885
|
-
f"Successfully initialized {config.name} with startup message filtering"
|
|
886
|
-
)
|
|
887
|
-
|
|
888
|
-
# Store complete connection state
|
|
889
|
-
connection = MCPConnection(
|
|
890
|
-
client_session=client_session,
|
|
891
|
-
read_stream=read_stream,
|
|
892
|
-
write_stream=write_stream,
|
|
893
|
-
session_id_callback=None,
|
|
894
|
-
config=config,
|
|
895
|
-
metadata=self.server_metadata.get(config.name),
|
|
896
|
-
)
|
|
897
|
-
|
|
898
|
-
logger.info(f"Successfully created stdio connection for {config.name}")
|
|
899
|
-
return connection
|
|
900
|
-
|
|
901
|
-
except Exception as e:
|
|
902
|
-
logger.exception(f"stdio connection creation failed for {config.name}: {e}")
|
|
903
|
-
raise
|
|
904
|
-
|
|
905
|
-
def _prepare_http_headers(self, config: MCPConnectionConfig) -> dict[str, str]:
|
|
906
|
-
headers = dict(config.headers or {})
|
|
907
|
-
|
|
908
|
-
headers.setdefault("User-Agent", "VDS-AI-Memory/2.0.0")
|
|
909
|
-
headers.setdefault("Accept", "application/json, text/event-stream")
|
|
910
|
-
|
|
911
|
-
if config.api_key and "Authorization" not in headers:
|
|
912
|
-
headers["Authorization"] = f"Bearer {config.api_key}"
|
|
913
|
-
|
|
914
|
-
if config.authentication:
|
|
915
|
-
self._apply_authentication(headers, config.authentication, config.api_key)
|
|
916
|
-
|
|
917
|
-
return headers
|
|
918
|
-
|
|
919
|
-
def _apply_authentication(
|
|
920
|
-
self,
|
|
921
|
-
headers: dict[str, str],
|
|
922
|
-
authentication: dict[str, Any],
|
|
923
|
-
fallback_api_key: str | None,
|
|
924
|
-
):
|
|
925
|
-
auth = self._interpolate_env(authentication)
|
|
926
|
-
auth_type = (auth.get("type") or "").lower()
|
|
927
|
-
|
|
928
|
-
if auth_type in {"api_key", "api_key_in_header"}:
|
|
929
|
-
header_name = auth.get("header_name", "Authorization")
|
|
930
|
-
header_format = auth.get("header_format", "Bearer ${api_key}")
|
|
931
|
-
api_key = auth.get("api_key") or fallback_api_key
|
|
932
|
-
if api_key:
|
|
933
|
-
headers[header_name] = header_format.replace("${api_key}", api_key)
|
|
934
|
-
elif auth_type == "bearer_token":
|
|
935
|
-
token = auth.get("token") or fallback_api_key
|
|
936
|
-
if token:
|
|
937
|
-
headers["Authorization"] = f"Bearer {token}"
|
|
938
|
-
elif auth_type == "multi_api_key":
|
|
939
|
-
for key_name, key_value in (auth.get("api_keys") or {}).items():
|
|
940
|
-
resolved_value = self._interpolate_env(key_value)
|
|
941
|
-
if resolved_value:
|
|
942
|
-
headers[key_name] = resolved_value
|
|
943
|
-
elif auth_type == "custom_headers":
|
|
944
|
-
for key_name, key_value in (auth.get("headers") or {}).items():
|
|
945
|
-
resolved_value = self._interpolate_env(key_value)
|
|
946
|
-
if resolved_value:
|
|
947
|
-
headers[key_name] = resolved_value
|
|
948
|
-
|
|
949
|
-
async def execute_tool(
|
|
950
|
-
self,
|
|
951
|
-
tool_name: str,
|
|
952
|
-
arguments: dict[str, Any],
|
|
953
|
-
server_name: str | None = None,
|
|
954
|
-
timeout: float = 30.0,
|
|
955
|
-
) -> CallToolResult:
|
|
956
|
-
"""
|
|
957
|
-
Execute a tool using proper MCP protocol.
|
|
958
|
-
|
|
959
|
-
Args:
|
|
960
|
-
tool_name: Name of the tool to execute
|
|
961
|
-
arguments: Tool arguments
|
|
962
|
-
server_name: Specific server to use (optional)
|
|
963
|
-
timeout: Execution timeout
|
|
964
|
-
|
|
965
|
-
Returns:
|
|
966
|
-
CallToolResult from MCP protocol
|
|
967
|
-
"""
|
|
968
|
-
await self._ensure_initialized()
|
|
969
|
-
|
|
970
|
-
self._stats["tool_calls"] += 1
|
|
971
|
-
start_time = time.perf_counter()
|
|
972
|
-
evaluated_server = server_name
|
|
973
|
-
|
|
974
|
-
try:
|
|
975
|
-
# Check if this is an internal VDS Memory service tool
|
|
976
|
-
if self._is_internal_memory_tool(tool_name):
|
|
977
|
-
logger.info(f"Executing internal memory tool: {tool_name}")
|
|
978
|
-
result = await self._execute_internal_memory_tool(
|
|
979
|
-
tool_name, arguments, timeout=timeout
|
|
980
|
-
)
|
|
981
|
-
self._stats["successful_tool_calls"] += 1
|
|
982
|
-
elapsed = time.perf_counter() - start_time
|
|
983
|
-
self._record_server_success("vds-memory-service", elapsed)
|
|
984
|
-
result.server_name = "vds-memory-service"
|
|
985
|
-
return result
|
|
986
|
-
|
|
987
|
-
# Find appropriate server for the tool
|
|
988
|
-
target_server = server_name or await self._find_server_for_tool(tool_name)
|
|
989
|
-
evaluated_server = target_server
|
|
990
|
-
|
|
991
|
-
if not target_server:
|
|
992
|
-
raise ToolExecutionError(f"No server available for tool: {tool_name}")
|
|
993
|
-
|
|
994
|
-
connection = self.connections.get(target_server)
|
|
995
|
-
if not connection:
|
|
996
|
-
raise ConnectionError(f"No connection to server: {target_server}")
|
|
997
|
-
|
|
998
|
-
logger.info(f"Executing tool {tool_name} on server {target_server}")
|
|
999
|
-
|
|
1000
|
-
# Execute tool using proper MCP protocol
|
|
1001
|
-
result = await connection.client_session.call_tool(
|
|
1002
|
-
tool_name, arguments, timeout=timeout
|
|
1003
|
-
)
|
|
1004
|
-
|
|
1005
|
-
self._stats["successful_tool_calls"] += 1
|
|
1006
|
-
elapsed = time.perf_counter() - start_time
|
|
1007
|
-
self._record_server_success(target_server, elapsed)
|
|
1008
|
-
result.server_name = target_server
|
|
1009
|
-
|
|
1010
|
-
logger.info(f"Tool {tool_name} executed successfully on {target_server}")
|
|
1011
|
-
return result
|
|
1012
|
-
|
|
1013
|
-
except TimeoutError:
|
|
1014
|
-
logger.exception(f"Tool execution timeout for {tool_name}")
|
|
1015
|
-
self._record_server_failure(
|
|
1016
|
-
evaluated_server or "unknown", time.perf_counter() - start_time
|
|
1017
|
-
)
|
|
1018
|
-
raise TimeoutError
|
|
1019
|
-
except Exception as e:
|
|
1020
|
-
logger.exception(f"Tool execution failed for {tool_name}: {e}")
|
|
1021
|
-
self._record_server_failure(
|
|
1022
|
-
evaluated_server or "unknown", time.perf_counter() - start_time
|
|
1023
|
-
)
|
|
1024
|
-
raise
|
|
1025
|
-
|
|
1026
|
-
async def list_tools(self, server_name: str | None = None) -> list[Tool]:
|
|
1027
|
-
"""
|
|
1028
|
-
List available tools from MCP servers.
|
|
1029
|
-
|
|
1030
|
-
Args:
|
|
1031
|
-
server_name: Specific server to query (optional)
|
|
1032
|
-
|
|
1033
|
-
Returns:
|
|
1034
|
-
List of available tools
|
|
1035
|
-
"""
|
|
1036
|
-
await self._ensure_initialized()
|
|
1037
|
-
|
|
1038
|
-
all_tools = []
|
|
1039
|
-
|
|
1040
|
-
servers_to_query = [server_name] if server_name else list(self.connection_configs.keys())
|
|
1041
|
-
|
|
1042
|
-
for server in servers_to_query:
|
|
1043
|
-
try:
|
|
1044
|
-
tools = await self._get_tools_for_server(server)
|
|
1045
|
-
all_tools.extend(tools)
|
|
1046
|
-
except Exception as exc:
|
|
1047
|
-
logger.warning("Failed to list tools from %s: %s", server, exc)
|
|
1048
|
-
|
|
1049
|
-
return all_tools
|
|
1050
|
-
|
|
1051
|
-
async def _get_tools_for_server(
|
|
1052
|
-
self, server_name: str, force_refresh: bool = False
|
|
1053
|
-
) -> list[Tool]:
|
|
1054
|
-
if server_name not in self.connection_configs:
|
|
1055
|
-
raise ConfigurationError(f"Server {server_name} is not configured")
|
|
1056
|
-
|
|
1057
|
-
cache_entry = self._tool_cache.get(server_name)
|
|
1058
|
-
if cache_entry and not force_refresh and time.time() - cache_entry["timestamp"] < self._tool_cache_ttl:
|
|
1059
|
-
return cache_entry["tools"]
|
|
1060
|
-
|
|
1061
|
-
connection = self.connections.get(server_name)
|
|
1062
|
-
if not connection:
|
|
1063
|
-
config = self.connection_configs.get(server_name)
|
|
1064
|
-
if not config:
|
|
1065
|
-
raise ConnectionError(f"No connection config for server: {server_name}")
|
|
1066
|
-
await self._create_connection(server_name, config)
|
|
1067
|
-
connection = self.connections.get(server_name)
|
|
1068
|
-
|
|
1069
|
-
if not connection:
|
|
1070
|
-
raise ConnectionError(f"Unable to establish connection to server: {server_name}")
|
|
1071
|
-
|
|
1072
|
-
tools_result = await connection.client_session.list_tools()
|
|
1073
|
-
tools: list[Tool] = []
|
|
1074
|
-
for tool in tools_result.tools:
|
|
1075
|
-
tool_dict = tool.model_dump()
|
|
1076
|
-
tool_dict["server_name"] = server_name
|
|
1077
|
-
tools.append(Tool(**tool_dict))
|
|
1078
|
-
|
|
1079
|
-
self._tool_cache[server_name] = {
|
|
1080
|
-
"tools": tools,
|
|
1081
|
-
"timestamp": time.time(),
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
return tools
|
|
1085
|
-
|
|
1086
|
-
async def get_resource(self, uri: str, server_name: str | None = None) -> ReadResourceResult:
|
|
1087
|
-
"""
|
|
1088
|
-
Get a resource using proper MCP protocol.
|
|
1089
|
-
|
|
1090
|
-
Args:
|
|
1091
|
-
uri: Resource URI
|
|
1092
|
-
server_name: Specific server to query (optional)
|
|
1093
|
-
|
|
1094
|
-
Returns:
|
|
1095
|
-
ReadResourceResult from MCP protocol
|
|
1096
|
-
"""
|
|
1097
|
-
await self._ensure_initialized()
|
|
1098
|
-
|
|
1099
|
-
target_server = server_name or await self._find_server_for_resource(uri)
|
|
1100
|
-
|
|
1101
|
-
if not target_server:
|
|
1102
|
-
raise ToolExecutionError(f"No server available for resource: {uri}")
|
|
1103
|
-
|
|
1104
|
-
connection = self.connections.get(target_server)
|
|
1105
|
-
if not connection:
|
|
1106
|
-
await self._create_connection(target_server, self.connection_configs[target_server])
|
|
1107
|
-
connection = self.connections.get(target_server)
|
|
1108
|
-
if not connection:
|
|
1109
|
-
raise ConnectionError(f"No connection to server: {target_server}")
|
|
1110
|
-
|
|
1111
|
-
try:
|
|
1112
|
-
# Get resource using proper MCP protocol
|
|
1113
|
-
result = await connection.client_session.read_resource(uri)
|
|
1114
|
-
result.server_name = target_server
|
|
1115
|
-
return result
|
|
1116
|
-
|
|
1117
|
-
except Exception as e:
|
|
1118
|
-
logger.exception(f"Resource access failed for {uri}: {e}")
|
|
1119
|
-
raise
|
|
1120
|
-
|
|
1121
|
-
async def search_resources(
|
|
1122
|
-
self,
|
|
1123
|
-
query: str,
|
|
1124
|
-
resource_types: list[str] | None = None,
|
|
1125
|
-
limit: int = 50,
|
|
1126
|
-
) -> list[dict[str, Any]]:
|
|
1127
|
-
"""Perform a simple resource search across all configured servers."""
|
|
1128
|
-
|
|
1129
|
-
await self._ensure_initialized()
|
|
1130
|
-
|
|
1131
|
-
results: list[dict[str, Any]] = []
|
|
1132
|
-
normalized_query = (query or "").lower()
|
|
1133
|
-
type_filters = [rt.lower() for rt in (resource_types or [])]
|
|
1134
|
-
|
|
1135
|
-
for server_name in self.connection_configs:
|
|
1136
|
-
if len(results) >= limit:
|
|
1137
|
-
break
|
|
1138
|
-
|
|
1139
|
-
connection = self.connections.get(server_name)
|
|
1140
|
-
if not connection:
|
|
1141
|
-
await self._create_connection(server_name, self.connection_configs[server_name])
|
|
1142
|
-
connection = self.connections.get(server_name)
|
|
1143
|
-
|
|
1144
|
-
if not connection or not hasattr(connection.client_session, "list_resources"):
|
|
1145
|
-
continue
|
|
1146
|
-
|
|
1147
|
-
try:
|
|
1148
|
-
resources_result = await connection.client_session.list_resources()
|
|
1149
|
-
except Exception as exc: # pragma: no cover - diagnostic only
|
|
1150
|
-
logger.debug("Failed to list resources on %s: %s", server_name, exc)
|
|
1151
|
-
continue
|
|
1152
|
-
|
|
1153
|
-
for resource in getattr(resources_result, "resources", []):
|
|
1154
|
-
resource_dict = (
|
|
1155
|
-
resource.model_dump() if hasattr(resource, "model_dump") else resource
|
|
1156
|
-
)
|
|
1157
|
-
searchable = " ".join(
|
|
1158
|
-
str(resource_dict.get(field, "")) for field in ("uri", "name", "description")
|
|
1159
|
-
).lower()
|
|
1160
|
-
|
|
1161
|
-
if normalized_query and normalized_query not in searchable:
|
|
1162
|
-
continue
|
|
1163
|
-
|
|
1164
|
-
resource_type = (
|
|
1165
|
-
resource_dict.get("mimeType") or resource_dict.get("type") or ""
|
|
1166
|
-
).lower()
|
|
1167
|
-
if type_filters and resource_type not in type_filters:
|
|
1168
|
-
continue
|
|
1169
|
-
|
|
1170
|
-
resource_dict["server_name"] = server_name
|
|
1171
|
-
results.append(resource_dict)
|
|
1172
|
-
|
|
1173
|
-
if len(results) >= limit:
|
|
1174
|
-
break
|
|
1175
|
-
|
|
1176
|
-
return results
|
|
1177
|
-
|
|
1178
|
-
async def _find_server_for_tool(self, tool_name: str) -> str | None:
|
|
1179
|
-
"""Find a server that provides the specified tool."""
|
|
1180
|
-
candidates = self._capability_index.get(tool_name, [])
|
|
1181
|
-
for candidate in candidates:
|
|
1182
|
-
if candidate in self.connection_configs:
|
|
1183
|
-
return candidate
|
|
1184
|
-
|
|
1185
|
-
for server_name in self.connection_configs:
|
|
1186
|
-
try:
|
|
1187
|
-
tools = await self._get_tools_for_server(server_name)
|
|
1188
|
-
if any(tool.name == tool_name for tool in tools):
|
|
1189
|
-
self._capability_index.setdefault(tool_name, []).append(server_name)
|
|
1190
|
-
return server_name
|
|
1191
|
-
except Exception as exc:
|
|
1192
|
-
logger.debug("Failed to resolve tool %s on %s: %s", tool_name, server_name, exc)
|
|
1193
|
-
return None
|
|
1194
|
-
|
|
1195
|
-
async def _find_server_for_resource(self, uri: str) -> str | None:
|
|
1196
|
-
"""Find a server that provides the specified resource."""
|
|
1197
|
-
for server_name, connection in self.connections.items():
|
|
1198
|
-
try:
|
|
1199
|
-
# Try to read the resource
|
|
1200
|
-
await connection.client_session.read_resource(uri)
|
|
1201
|
-
return server_name
|
|
1202
|
-
except Exception:
|
|
1203
|
-
continue
|
|
1204
|
-
return None
|
|
1205
|
-
|
|
1206
|
-
async def get_server_capabilities(self, server_name: str) -> dict[str, Any]:
|
|
1207
|
-
"""Get capabilities from a specific server."""
|
|
1208
|
-
await self._ensure_initialized()
|
|
1209
|
-
|
|
1210
|
-
if server_name not in self.connection_configs:
|
|
1211
|
-
raise ConnectionError(f"No server named {server_name} is configured")
|
|
1212
|
-
|
|
1213
|
-
connection = self.connections.get(server_name)
|
|
1214
|
-
if not connection:
|
|
1215
|
-
await self._create_connection(server_name, self.connection_configs[server_name])
|
|
1216
|
-
connection = self.connections.get(server_name)
|
|
1217
|
-
|
|
1218
|
-
if not connection:
|
|
1219
|
-
raise ConnectionError(f"Unable to establish connection to server: {server_name}")
|
|
1220
|
-
|
|
1221
|
-
try:
|
|
1222
|
-
server_info = None
|
|
1223
|
-
if hasattr(connection.client_session, "get_server_info"):
|
|
1224
|
-
server_info = connection.client_session.get_server_info()
|
|
1225
|
-
|
|
1226
|
-
tools = await self._get_tools_for_server(server_name)
|
|
1227
|
-
|
|
1228
|
-
metadata = self.server_metadata.get(server_name)
|
|
1229
|
-
capabilities = [cap.__dict__ for cap in (metadata.capabilities if metadata else [])]
|
|
1230
|
-
|
|
1231
|
-
return {
|
|
1232
|
-
"server_info": server_info,
|
|
1233
|
-
"tools": [tool.model_dump() for tool in tools],
|
|
1234
|
-
"tool_count": len(tools),
|
|
1235
|
-
"metadata": metadata.raw if metadata else {},
|
|
1236
|
-
"capabilities": capabilities,
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
except Exception as e:
|
|
1240
|
-
logger.exception(f"Failed to get capabilities from {server_name}: {e}")
|
|
1241
|
-
return {"error": str(e)}
|
|
1242
|
-
|
|
1243
|
-
def list_servers(self, _status: str | None = None) -> list[str]:
|
|
1244
|
-
"""List configured MCP servers including internal services."""
|
|
1245
|
-
servers = list(self.connection_configs.keys())
|
|
1246
|
-
|
|
1247
|
-
# Include internal vds-memory-service
|
|
1248
|
-
if "vds-memory-service" not in servers:
|
|
1249
|
-
servers.append("vds-memory-service")
|
|
1250
|
-
|
|
1251
|
-
return servers
|
|
1252
|
-
|
|
1253
|
-
async def find_servers_for_tool(self, tool_name: str) -> list[str]:
|
|
1254
|
-
"""Return all servers that provide the requested tool."""
|
|
1255
|
-
await self._ensure_initialized()
|
|
1256
|
-
|
|
1257
|
-
# Check if this is an internal VDS Memory service tool
|
|
1258
|
-
if self._is_internal_memory_tool(tool_name):
|
|
1259
|
-
return ["vds-memory-service"]
|
|
1260
|
-
|
|
1261
|
-
servers = set(self._capability_index.get(tool_name, []))
|
|
1262
|
-
if servers:
|
|
1263
|
-
return list(servers)
|
|
1264
|
-
|
|
1265
|
-
for server_name in self.connection_configs:
|
|
1266
|
-
try:
|
|
1267
|
-
tools = await self._get_tools_for_server(server_name)
|
|
1268
|
-
if any(tool.name == tool_name for tool in tools):
|
|
1269
|
-
servers.add(server_name)
|
|
1270
|
-
except Exception:
|
|
1271
|
-
continue
|
|
1272
|
-
|
|
1273
|
-
if servers:
|
|
1274
|
-
self._capability_index[tool_name] = list(servers)
|
|
1275
|
-
|
|
1276
|
-
return list(servers)
|
|
1277
|
-
|
|
1278
|
-
async def register_server(
|
|
1279
|
-
self,
|
|
1280
|
-
metadata: MCPServerMetadata,
|
|
1281
|
-
config: MCPConnectionConfig,
|
|
1282
|
-
connect: bool = True,
|
|
1283
|
-
):
|
|
1284
|
-
"""Register a new MCP server at runtime."""
|
|
1285
|
-
self._register_configuration(metadata, config)
|
|
1286
|
-
self._tool_cache.pop(config.name, None)
|
|
1287
|
-
if self.initialized and connect:
|
|
1288
|
-
await self._create_connection(config.name, config)
|
|
1289
|
-
|
|
1290
|
-
async def unregister_server(self, server_name: str):
|
|
1291
|
-
"""Remove a server and close any active connections."""
|
|
1292
|
-
await self._close_connection(server_name)
|
|
1293
|
-
self.connection_configs.pop(server_name, None)
|
|
1294
|
-
self.server_metadata.pop(server_name, None)
|
|
1295
|
-
self._tool_cache.pop(server_name, None)
|
|
1296
|
-
self._server_stats.pop(server_name, None)
|
|
1297
|
-
for capability, servers in list(self._capability_index.items()):
|
|
1298
|
-
if server_name in servers:
|
|
1299
|
-
servers.remove(server_name)
|
|
1300
|
-
if not servers:
|
|
1301
|
-
self._capability_index.pop(capability, None)
|
|
1302
|
-
|
|
1303
|
-
async def reload(self, config_file: str | None = None):
|
|
1304
|
-
"""Reload configuration from scratch."""
|
|
1305
|
-
await self.initialize(
|
|
1306
|
-
config_file or (str(self._config_file) if self._config_file else None),
|
|
1307
|
-
force_reload=True,
|
|
1308
|
-
)
|
|
1309
|
-
|
|
1310
|
-
async def get_statistics(self) -> dict[str, Any]:
|
|
1311
|
-
"""Get MCP client statistics."""
|
|
1312
|
-
|
|
1313
|
-
# Include internal vds-memory-service in available servers
|
|
1314
|
-
available_servers = list(self.connection_configs.keys())
|
|
1315
|
-
internal_capabilities = 0
|
|
1316
|
-
|
|
1317
|
-
# Check if vds-memory-service should be listed as an internal server
|
|
1318
|
-
if "vds-memory-service" not in available_servers:
|
|
1319
|
-
available_servers.append("vds-memory-service")
|
|
1320
|
-
internal_capabilities = (
|
|
1321
|
-
4 # search_memory, create_memory, get_session_context, consolidate_memories
|
|
1322
|
-
)
|
|
1323
|
-
|
|
1324
|
-
# Ensure server_stats includes vds-memory-service
|
|
1325
|
-
server_stats = dict(self._server_stats)
|
|
1326
|
-
if "vds-memory-service" not in server_stats:
|
|
1327
|
-
server_stats["vds-memory-service"] = {
|
|
1328
|
-
"tool_calls": 0,
|
|
1329
|
-
"successful_tool_calls": 0,
|
|
1330
|
-
"failed_tool_calls": 0,
|
|
1331
|
-
"avg_execution_time": 0.0,
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
return {
|
|
1335
|
-
"initialized": self.initialized,
|
|
1336
|
-
"connection_stats": {
|
|
1337
|
-
"total_attempts": self._stats["connection_attempts"],
|
|
1338
|
-
"successful": self._stats["successful_connections"],
|
|
1339
|
-
"failed": self._stats["failed_connections"],
|
|
1340
|
-
"active_connections": len(self.connections),
|
|
1341
|
-
},
|
|
1342
|
-
"execution_stats": {
|
|
1343
|
-
"total_tool_calls": self._stats["tool_calls"],
|
|
1344
|
-
"successful_tool_calls": self._stats["successful_tool_calls"],
|
|
1345
|
-
"success_rate": (
|
|
1346
|
-
self._stats["successful_tool_calls"] / max(self._stats["tool_calls"], 1) * 100
|
|
1347
|
-
),
|
|
1348
|
-
},
|
|
1349
|
-
"server_count": len(self.connection_configs),
|
|
1350
|
-
"internal_capabilities": internal_capabilities,
|
|
1351
|
-
"available_servers": available_servers,
|
|
1352
|
-
"server_stats": server_stats,
|
|
1353
|
-
"vds_capabilities": [], # Will be populated with external server tools
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
def get_performance_metrics(self) -> dict[str, Any]:
|
|
1357
|
-
"""Return lightweight performance metrics for monitoring APIs."""
|
|
1358
|
-
|
|
1359
|
-
total_tool_calls = self._stats.get("tool_calls", 0)
|
|
1360
|
-
successful_tool_calls = self._stats.get("successful_tool_calls", 0)
|
|
1361
|
-
failed_tool_calls = max(total_tool_calls - successful_tool_calls, 0)
|
|
1362
|
-
|
|
1363
|
-
per_server: list[dict[str, Any]] = []
|
|
1364
|
-
for server_name, stats in self._server_stats.items():
|
|
1365
|
-
server_total = stats.get("tool_calls", 0)
|
|
1366
|
-
server_success = stats.get("successful_tool_calls", 0)
|
|
1367
|
-
per_server.append(
|
|
1368
|
-
{
|
|
1369
|
-
"server": server_name,
|
|
1370
|
-
"tool_calls": server_total,
|
|
1371
|
-
"successful_tool_calls": server_success,
|
|
1372
|
-
"failed_tool_calls": stats.get("failed_tool_calls", 0),
|
|
1373
|
-
"avg_execution_time": stats.get("avg_execution_time", 0.0),
|
|
1374
|
-
"success_rate": (server_success / max(server_total, 1)) * 100,
|
|
1375
|
-
"last_success_at": stats.get("last_success_at"),
|
|
1376
|
-
"last_failure_at": stats.get("last_failure_at"),
|
|
1377
|
-
}
|
|
1378
|
-
)
|
|
1379
|
-
|
|
1380
|
-
return {
|
|
1381
|
-
"initialized": self.initialized,
|
|
1382
|
-
"tool_calls": total_tool_calls,
|
|
1383
|
-
"successful_tool_calls": successful_tool_calls,
|
|
1384
|
-
"failed_tool_calls": failed_tool_calls,
|
|
1385
|
-
"success_rate": (successful_tool_calls / max(total_tool_calls, 1)) * 100,
|
|
1386
|
-
"connection_attempts": self._stats.get("connection_attempts", 0),
|
|
1387
|
-
"successful_connections": self._stats.get("successful_connections", 0),
|
|
1388
|
-
"failed_connections": self._stats.get("failed_connections", 0),
|
|
1389
|
-
"per_server": per_server,
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
async def close(self):
|
|
1393
|
-
"""Close all MCP connections."""
|
|
1394
|
-
for server_name in list(self.connections.keys()):
|
|
1395
|
-
await self._close_connection(server_name)
|
|
1396
|
-
|
|
1397
|
-
self.initialized = False
|
|
1398
|
-
self._tool_cache.clear()
|
|
1399
|
-
logger.info("All MCP connections closed")
|
|
1400
|
-
|
|
1401
|
-
async def _close_connection(self, server_name: str):
|
|
1402
|
-
connection = self.connections.pop(server_name, None)
|
|
1403
|
-
if not connection:
|
|
1404
|
-
return
|
|
1405
|
-
|
|
1406
|
-
try:
|
|
1407
|
-
await connection.client_session.close()
|
|
1408
|
-
except Exception as exc:
|
|
1409
|
-
logger.warning("Error closing client session for %s: %s", server_name, exc)
|
|
1410
|
-
|
|
1411
|
-
# Handle stdio context cleanup - properly exit the context manager
|
|
1412
|
-
if connection._stdio_context:
|
|
1413
|
-
try:
|
|
1414
|
-
await connection._stdio_context.__aexit__(None, None, None) # type: ignore[attr-defined]
|
|
1415
|
-
except Exception as cleanup_error:
|
|
1416
|
-
logger.warning(
|
|
1417
|
-
"Error cleaning up stdio context for %s: %s",
|
|
1418
|
-
server_name,
|
|
1419
|
-
cleanup_error,
|
|
1420
|
-
)
|
|
1421
|
-
|
|
1422
|
-
# Handle HTTP connection cleanup
|
|
1423
|
-
if connection._connection_client:
|
|
1424
|
-
try:
|
|
1425
|
-
await connection._connection_client.__aexit__(None, None, None) # type: ignore[attr-defined]
|
|
1426
|
-
except Exception as cleanup_error:
|
|
1427
|
-
logger.warning(
|
|
1428
|
-
"Error cleaning up connection client for %s: %s",
|
|
1429
|
-
server_name,
|
|
1430
|
-
cleanup_error,
|
|
1431
|
-
)
|
|
1432
|
-
|
|
1433
|
-
self._tool_cache.pop(server_name, None)
|
|
1434
|
-
logger.info("Closed connection to %s", server_name)
|
|
1435
|
-
|
|
1436
|
-
def _record_server_success(self, server_name: str, elapsed: float):
|
|
1437
|
-
stats = self._server_stats.setdefault(
|
|
1438
|
-
server_name,
|
|
1439
|
-
{
|
|
1440
|
-
"tool_calls": 0,
|
|
1441
|
-
"successful_tool_calls": 0,
|
|
1442
|
-
"failed_tool_calls": 0,
|
|
1443
|
-
"avg_execution_time": 0.0,
|
|
1444
|
-
},
|
|
1445
|
-
)
|
|
1446
|
-
|
|
1447
|
-
stats["tool_calls"] += 1
|
|
1448
|
-
stats["successful_tool_calls"] += 1
|
|
1449
|
-
success_count = stats["successful_tool_calls"]
|
|
1450
|
-
current_avg = stats.get("avg_execution_time", 0.0)
|
|
1451
|
-
stats["avg_execution_time"] = ((current_avg * (success_count - 1)) + elapsed) / max(
|
|
1452
|
-
success_count, 1
|
|
1453
|
-
)
|
|
1454
|
-
stats["last_success_at"] = time.time()
|
|
1455
|
-
|
|
1456
|
-
def _record_server_failure(self, server_name: str, _elapsed: float):
|
|
1457
|
-
stats = self._server_stats.setdefault(
|
|
1458
|
-
server_name,
|
|
1459
|
-
{
|
|
1460
|
-
"tool_calls": 0,
|
|
1461
|
-
"successful_tool_calls": 0,
|
|
1462
|
-
"failed_tool_calls": 0,
|
|
1463
|
-
"avg_execution_time": 0.0,
|
|
1464
|
-
},
|
|
1465
|
-
)
|
|
1466
|
-
|
|
1467
|
-
stats["tool_calls"] += 1
|
|
1468
|
-
stats["failed_tool_calls"] += 1
|
|
1469
|
-
stats["last_failure_at"] = time.time()
|
|
1470
|
-
|
|
1471
|
-
async def _ensure_initialized(self):
|
|
1472
|
-
if not self.initialized:
|
|
1473
|
-
config_path = str(self._config_file) if self._config_file else None
|
|
1474
|
-
await self.initialize(config_path)
|
|
1475
|
-
|
|
1476
|
-
def _is_internal_memory_tool(self, tool_name: str) -> bool:
|
|
1477
|
-
"""Check if this is an internal VDS Memory service tool."""
|
|
1478
|
-
internal_tools = {
|
|
1479
|
-
"search_memory",
|
|
1480
|
-
"create_memory",
|
|
1481
|
-
"get_session_context",
|
|
1482
|
-
"consolidate_memories",
|
|
1483
|
-
}
|
|
1484
|
-
return tool_name in internal_tools
|
|
1485
|
-
|
|
1486
|
-
async def _execute_internal_memory_tool(
|
|
1487
|
-
self, tool_name: str, arguments: dict[str, Any], _timeout: float = 30.0
|
|
1488
|
-
) -> CallToolResult:
|
|
1489
|
-
"""Execute internal VDS Memory service tool."""
|
|
1490
|
-
from ..models.ai_memory_models import (
|
|
1491
|
-
MemoryCreateRequest,
|
|
1492
|
-
MemorySearchRequest,
|
|
1493
|
-
SessionContextRequest,
|
|
1494
|
-
)
|
|
1495
|
-
from ..services.ai_memory_service import get_ai_memory_service
|
|
1496
|
-
|
|
1497
|
-
try:
|
|
1498
|
-
# Get the AI memory service instance
|
|
1499
|
-
ai_memory_service = await get_ai_memory_service()
|
|
1500
|
-
|
|
1501
|
-
# Map tool names to service methods with proper request objects
|
|
1502
|
-
if tool_name == "search_memory":
|
|
1503
|
-
request = MemorySearchRequest(
|
|
1504
|
-
query=arguments.get("query", ""),
|
|
1505
|
-
user_id=arguments.get("user_id", "default"),
|
|
1506
|
-
limit=arguments.get("limit", 10),
|
|
1507
|
-
session_id=arguments.get("session_id"),
|
|
1508
|
-
offset=arguments.get("offset", 0),
|
|
1509
|
-
)
|
|
1510
|
-
result = await ai_memory_service.search_memories(request=request)
|
|
1511
|
-
elif tool_name == "create_memory":
|
|
1512
|
-
request = MemoryCreateRequest(
|
|
1513
|
-
memory=arguments.get("memory", ""),
|
|
1514
|
-
user_id=arguments.get("user_id", "default"),
|
|
1515
|
-
metadata=arguments.get("metadata", {}),
|
|
1516
|
-
session_id=arguments.get("session_id"),
|
|
1517
|
-
category=arguments.get("category"),
|
|
1518
|
-
importance=arguments.get("importance"),
|
|
1519
|
-
)
|
|
1520
|
-
result = await ai_memory_service.create_memory(request=request)
|
|
1521
|
-
elif tool_name == "get_session_context":
|
|
1522
|
-
request = SessionContextRequest(
|
|
1523
|
-
session_id=arguments.get("session_id"),
|
|
1524
|
-
user_id=arguments.get("user_id", "default"),
|
|
1525
|
-
)
|
|
1526
|
-
result = await ai_memory_service.get_session_context(request=request)
|
|
1527
|
-
elif tool_name == "consolidate_memories":
|
|
1528
|
-
request = SessionConsolidationRequest(
|
|
1529
|
-
session_id=arguments.get("session_id"),
|
|
1530
|
-
user_id=arguments.get("user_id", "default"),
|
|
1531
|
-
)
|
|
1532
|
-
result = await ai_memory_service.consolidate_session(request=request)
|
|
1533
|
-
else:
|
|
1534
|
-
raise ToolExecutionError(f"Unknown internal tool: {tool_name}")
|
|
1535
|
-
|
|
1536
|
-
# Convert result to CallToolResult format
|
|
1537
|
-
return CallToolResult(
|
|
1538
|
-
content=[
|
|
1539
|
-
{
|
|
1540
|
-
"type": "text",
|
|
1541
|
-
"text": json.dumps(
|
|
1542
|
-
result.model_dump() if hasattr(result, "model_dump") else result,
|
|
1543
|
-
default=str,
|
|
1544
|
-
),
|
|
1545
|
-
}
|
|
1546
|
-
],
|
|
1547
|
-
isError=False,
|
|
1548
|
-
)
|
|
1549
|
-
|
|
1550
|
-
except Exception as e:
|
|
1551
|
-
logger.exception(f"Internal tool execution failed for {tool_name}: {e}")
|
|
1552
|
-
return CallToolResult(
|
|
1553
|
-
content=[{"type": "text", "text": json.dumps({"error": str(e)})}],
|
|
1554
|
-
isError=True,
|
|
1555
|
-
)
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
# Global official MCP client instance
|
|
1559
|
-
official_mcp_client = OfficialMCPClient()
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
@asynccontextmanager
|
|
1563
|
-
async def get_mcp_client():
|
|
1564
|
-
"""Context manager for getting MCP client with proper initialization."""
|
|
1565
|
-
try:
|
|
1566
|
-
if not official_mcp_client.initialized:
|
|
1567
|
-
await official_mcp_client.initialize()
|
|
1568
|
-
yield official_mcp_client
|
|
1569
|
-
except Exception as e:
|
|
1570
|
-
logger.exception(f"MCP client error: {e}")
|
|
1571
|
-
raise
|
|
1572
|
-
finally:
|
|
1573
|
-
# Don't close here - keep connections alive for reuse
|
|
1574
|
-
pass
|