@ngocsangairvds/vsaf 3.2.16 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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,1406 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
ecosystem_report.py — Daily ecosystem activity report workflow.
|
|
3
|
-
|
|
4
|
-
Generates a comprehensive daily report analyzing:
|
|
5
|
-
- Git activity across all orchestrator repos (commits, branches, merges)
|
|
6
|
-
- Scheduler health (schedules, workflows, queue depths)
|
|
7
|
-
- Event bus activity (outbox volume, subscription health)
|
|
8
|
-
- Cross-orchestrator metrics and anomalies
|
|
9
|
-
|
|
10
|
-
The report is written as a dated Markdown file to the canonical reports
|
|
11
|
-
directory (``reports/ecosystem/YYYY-MM-DD-ecosystem-report.md``).
|
|
12
|
-
|
|
13
|
-
Schedule
|
|
14
|
-
alias: ecosystem.daily.report
|
|
15
|
-
cron: 0 6 * * * (06:00 UTC daily)
|
|
16
|
-
queue: ops-default (no LLM cost; DB queries + git + filesystem I/O)
|
|
17
|
-
overlap: skip (skip if previous day's report is still running)
|
|
18
|
-
|
|
19
|
-
Architecture
|
|
20
|
-
────────────
|
|
21
|
-
ecosystem_daily_report_workflow(@DBOS.workflow)
|
|
22
|
-
├─ _collect_git_activity(@DBOS.step) → git log --since=yesterday
|
|
23
|
-
├─ _collect_scheduler_status(@DBOS.step) → sched.schedules + dbos.workflow_status
|
|
24
|
-
├─ _collect_event_bus_metrics(@DBOS.step) → sched.events_outbox + subscriptions
|
|
25
|
-
├─ _collect_queue_metrics(@DBOS.step) → dbos.workflow_status ENQUEUED/PENDING counts
|
|
26
|
-
├─ _load_previous_run(@DBOS.step) → sched.ecosystem_report_runs yesterday (TSK-3.1)
|
|
27
|
-
├─ _compute_deltas(pure) → day-over-day delta bucketing (TSK-3.2)
|
|
28
|
-
├─ _generate_and_write_report(@DBOS.step) → markdown → reports/ecosystem/ (+ delta section TSK-3.3)
|
|
29
|
-
├─ format_exec_summary(pure) → ≤20-line exec summary for notifications (TSK-3.4)
|
|
30
|
-
├─ _persist_report_run(@DBOS.step) → upsert sched.ecosystem_report_runs (TSK-2.3)
|
|
31
|
-
├─ _publish_completion_event(@DBOS.step) → ecosystem.daily.completed event (+ exec_summary) (TSK-2.4)
|
|
32
|
-
└─ _publish_failure_event(@DBOS.step) → ecosystem.daily.failed event on error (TSK-3.5)
|
|
33
|
-
|
|
34
|
-
check_missed_run(plain function) → detect missing report past expected hour (TSK-3.5)
|
|
35
|
-
|
|
36
|
-
Bootstrap
|
|
37
|
-
Call bootstrap_ecosystem_report_schedule() from app.py lifespan AFTER DBOS.launch().
|
|
38
|
-
Idempotent — DuplicateScheduleError / DuplicateAliasError silenced.
|
|
39
|
-
|
|
40
|
-
Acceptance criteria:
|
|
41
|
-
- Workflow is @DBOS.workflow decorated; each collector is a @DBOS.step.
|
|
42
|
-
- Report file created at ``reports/ecosystem/YYYY-MM-DD-ecosystem-report.md``.
|
|
43
|
-
- Report contains: git summary, schedule list, workflow counts by status,
|
|
44
|
-
event outbox count (24h), queue depth snapshot, anomaly flags.
|
|
45
|
-
- Safe to re-run (idempotent file write with overwrite).
|
|
46
|
-
"""
|
|
47
|
-
|
|
48
|
-
from __future__ import annotations
|
|
49
|
-
|
|
50
|
-
import asyncio
|
|
51
|
-
from datetime import UTC, date, datetime, timedelta
|
|
52
|
-
from typing import Any
|
|
53
|
-
|
|
54
|
-
import structlog
|
|
55
|
-
from dbos import DBOS
|
|
56
|
-
from sqlalchemy import func, select, text
|
|
57
|
-
from sqlalchemy.exc import SQLAlchemyError
|
|
58
|
-
|
|
59
|
-
from vds_scheduler_orchestrator.config import get_config, get_ecosystem_config
|
|
60
|
-
from vds_scheduler_orchestrator.db.models import (
|
|
61
|
-
EcosystemReportRun,
|
|
62
|
-
EventsOutbox,
|
|
63
|
-
Schedule,
|
|
64
|
-
Subscription,
|
|
65
|
-
WorkflowRegistry,
|
|
66
|
-
)
|
|
67
|
-
from vds_scheduler_orchestrator.scheduler.schedules import (
|
|
68
|
-
DuplicateScheduleError,
|
|
69
|
-
)
|
|
70
|
-
from vds_scheduler_orchestrator.scheduler.schedules import (
|
|
71
|
-
create as create_schedule,
|
|
72
|
-
)
|
|
73
|
-
from vds_scheduler_orchestrator.workflows.collectors.protocol import CollectorResult
|
|
74
|
-
from vds_scheduler_orchestrator.workflows.registry import (
|
|
75
|
-
DuplicateAliasError,
|
|
76
|
-
_make_session,
|
|
77
|
-
register_workflows,
|
|
78
|
-
)
|
|
79
|
-
|
|
80
|
-
logger = structlog.get_logger(__name__)
|
|
81
|
-
|
|
82
|
-
# ── Constants ─────────────────────────────────────────────────────────────────
|
|
83
|
-
|
|
84
|
-
_REPORT_ALIAS = "ecosystem.daily.report"
|
|
85
|
-
_REPORT_SCHEDULE_NAME = "ecosystem-daily-report"
|
|
86
|
-
_REPORT_CRON = "0 6 * * *" # 06:00 UTC daily
|
|
87
|
-
_REPORT_QUEUE = "ops-default"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
# ── DBOS steps: data collection ───────────────────────────────────────────────
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
94
|
-
async def _collect_git_activity() -> dict[str, Any]:
|
|
95
|
-
"""
|
|
96
|
-
Collect git activity summary for all tracked repos since 00:00 UTC yesterday.
|
|
97
|
-
|
|
98
|
-
Returns:
|
|
99
|
-
{
|
|
100
|
-
"repos": {
|
|
101
|
-
"vds-scripts": {
|
|
102
|
-
"commits": int,
|
|
103
|
-
"authors": [str],
|
|
104
|
-
"branches_changed": [str],
|
|
105
|
-
"merge_commits": int,
|
|
106
|
-
},
|
|
107
|
-
...
|
|
108
|
-
},
|
|
109
|
-
"since": "YYYY-MM-DDT00:00:00+00:00",
|
|
110
|
-
}
|
|
111
|
-
"""
|
|
112
|
-
since = (datetime.now(UTC) - timedelta(days=1)).replace(hour=0, minute=0, second=0, microsecond=0)
|
|
113
|
-
since_iso = since.isoformat()
|
|
114
|
-
|
|
115
|
-
cfg = get_ecosystem_config()
|
|
116
|
-
repos_data: dict[str, Any] = {}
|
|
117
|
-
base = cfg.monorepo_root
|
|
118
|
-
|
|
119
|
-
for repo_rel in cfg.git_repos:
|
|
120
|
-
repo_path = base / repo_rel
|
|
121
|
-
if not (repo_path / ".git").exists():
|
|
122
|
-
logger.warning("git_activity.skip_no_git", repo=str(repo_path))
|
|
123
|
-
continue
|
|
124
|
-
|
|
125
|
-
# Commits since yesterday 00:00 UTC
|
|
126
|
-
proc_commits = await asyncio.create_subprocess_exec(
|
|
127
|
-
"git",
|
|
128
|
-
"-C",
|
|
129
|
-
str(repo_path),
|
|
130
|
-
"log",
|
|
131
|
-
f"--since={since_iso}",
|
|
132
|
-
"--pretty=format:%H|%an|%s",
|
|
133
|
-
stdout=asyncio.subprocess.PIPE,
|
|
134
|
-
stderr=asyncio.subprocess.PIPE,
|
|
135
|
-
)
|
|
136
|
-
stdout_bytes, _ = await proc_commits.communicate()
|
|
137
|
-
commits_stdout = stdout_bytes.decode()
|
|
138
|
-
commits = [line for line in commits_stdout.strip().split("\n") if line]
|
|
139
|
-
|
|
140
|
-
authors = sorted({line.split("|")[1] for line in commits if "|" in line})
|
|
141
|
-
merge_commits = sum(1 for line in commits if line.split("|")[-1].startswith("Merge"))
|
|
142
|
-
proc_branches = await asyncio.create_subprocess_exec(
|
|
143
|
-
"git",
|
|
144
|
-
"-C",
|
|
145
|
-
str(repo_path),
|
|
146
|
-
"branch",
|
|
147
|
-
"-a",
|
|
148
|
-
"--contains",
|
|
149
|
-
"HEAD",
|
|
150
|
-
"--format=%(refname:short)",
|
|
151
|
-
stdout=asyncio.subprocess.PIPE,
|
|
152
|
-
stderr=asyncio.subprocess.PIPE,
|
|
153
|
-
)
|
|
154
|
-
branches_bytes, _ = await proc_branches.communicate()
|
|
155
|
-
branches_stdout = branches_bytes.decode()
|
|
156
|
-
branches = sorted({b for b in branches_stdout.strip().split("\n") if b})
|
|
157
|
-
|
|
158
|
-
repos_data[repo_rel] = {
|
|
159
|
-
"commits": len(commits),
|
|
160
|
-
"authors": authors,
|
|
161
|
-
"branches_changed": branches,
|
|
162
|
-
"merge_commits": merge_commits,
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
return {"repos": repos_data, "since": since_iso}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
169
|
-
async def _collect_scheduler_status() -> dict[str, Any]:
|
|
170
|
-
"""
|
|
171
|
-
Collect scheduler domain status from sched.* tables.
|
|
172
|
-
|
|
173
|
-
Returns:
|
|
174
|
-
{
|
|
175
|
-
"schedules": {"total": int, "paused": int, "active": int, "by_orchestrator": {str: int}},
|
|
176
|
-
"aliases": {"total": int, "by_orchestrator": {str: int}},
|
|
177
|
-
"chains": {"total": int},
|
|
178
|
-
}
|
|
179
|
-
"""
|
|
180
|
-
from vds_scheduler_orchestrator.db.models import ChainDefinition
|
|
181
|
-
from vds_scheduler_orchestrator.workflows.registry import _make_session
|
|
182
|
-
|
|
183
|
-
session = _make_session()
|
|
184
|
-
try:
|
|
185
|
-
total_schedules = session.scalar(select(func.count()).select_from(Schedule)) or 0
|
|
186
|
-
paused_schedules = (
|
|
187
|
-
session.scalar(select(func.count()).select_from(Schedule).where(Schedule.paused.is_(True))) or 0
|
|
188
|
-
)
|
|
189
|
-
active_schedules = total_schedules - paused_schedules
|
|
190
|
-
|
|
191
|
-
orch_counts = dict(
|
|
192
|
-
session.execute(
|
|
193
|
-
select(Schedule.owner_orchestrator, func.count()).group_by(Schedule.owner_orchestrator)
|
|
194
|
-
).all()
|
|
195
|
-
)
|
|
196
|
-
|
|
197
|
-
total_aliases = session.scalar(select(func.count()).select_from(WorkflowRegistry)) or 0
|
|
198
|
-
alias_counts = dict(
|
|
199
|
-
session.execute(
|
|
200
|
-
select(WorkflowRegistry.owner_orchestrator, func.count()).group_by(WorkflowRegistry.owner_orchestrator)
|
|
201
|
-
).all()
|
|
202
|
-
)
|
|
203
|
-
|
|
204
|
-
total_chains = session.scalar(select(func.count()).select_from(ChainDefinition)) or 0
|
|
205
|
-
|
|
206
|
-
return {
|
|
207
|
-
"schedules": {
|
|
208
|
-
"total": total_schedules,
|
|
209
|
-
"paused": paused_schedules,
|
|
210
|
-
"active": active_schedules,
|
|
211
|
-
"by_orchestrator": orch_counts,
|
|
212
|
-
},
|
|
213
|
-
"aliases": {
|
|
214
|
-
"total": total_aliases,
|
|
215
|
-
"by_orchestrator": alias_counts,
|
|
216
|
-
},
|
|
217
|
-
"chains": {"total": total_chains},
|
|
218
|
-
}
|
|
219
|
-
finally:
|
|
220
|
-
session.close()
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
224
|
-
async def _collect_event_bus_metrics() -> dict[str, Any]:
|
|
225
|
-
"""
|
|
226
|
-
Collect event bus metrics for the last 24 hours.
|
|
227
|
-
|
|
228
|
-
Returns:
|
|
229
|
-
{
|
|
230
|
-
"outbox_24h": int,
|
|
231
|
-
"subscriptions": {"total": int, "by_topic": {str: int}},
|
|
232
|
-
"latest_event_at": str | None,
|
|
233
|
-
}
|
|
234
|
-
"""
|
|
235
|
-
from vds_scheduler_orchestrator.workflows.registry import _make_session
|
|
236
|
-
|
|
237
|
-
session = _make_session()
|
|
238
|
-
try:
|
|
239
|
-
since = datetime.now(UTC) - timedelta(hours=24)
|
|
240
|
-
outbox_24h = (
|
|
241
|
-
session.scalar(select(func.count()).select_from(EventsOutbox).where(EventsOutbox.committed_at >= since))
|
|
242
|
-
or 0
|
|
243
|
-
)
|
|
244
|
-
|
|
245
|
-
total_subs = session.scalar(select(func.count()).select_from(Subscription)) or 0
|
|
246
|
-
topic_counts = dict(
|
|
247
|
-
session.execute(select(Subscription.topic_pattern, func.count()).group_by(Subscription.topic_pattern)).all()
|
|
248
|
-
)
|
|
249
|
-
|
|
250
|
-
latest = session.scalar(select(EventsOutbox.committed_at).order_by(EventsOutbox.committed_at.desc()).limit(1))
|
|
251
|
-
|
|
252
|
-
return {
|
|
253
|
-
"outbox_24h": outbox_24h,
|
|
254
|
-
"subscriptions": {
|
|
255
|
-
"total": total_subs,
|
|
256
|
-
"by_topic": topic_counts,
|
|
257
|
-
},
|
|
258
|
-
"latest_event_at": latest.isoformat() if latest else None,
|
|
259
|
-
}
|
|
260
|
-
finally:
|
|
261
|
-
session.close()
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
265
|
-
async def _collect_queue_metrics() -> dict[str, Any]:
|
|
266
|
-
"""
|
|
267
|
-
Collect DBOS queue/workflow status metrics.
|
|
268
|
-
|
|
269
|
-
Returns:
|
|
270
|
-
{
|
|
271
|
-
"workflows_by_status": {str: int},
|
|
272
|
-
"enqueued_depth": int,
|
|
273
|
-
"pending_depth": int,
|
|
274
|
-
"success_24h": int,
|
|
275
|
-
"error_24h": int,
|
|
276
|
-
}
|
|
277
|
-
"""
|
|
278
|
-
from vds_scheduler_orchestrator.workflows.registry import _make_session
|
|
279
|
-
|
|
280
|
-
session = _make_session()
|
|
281
|
-
try:
|
|
282
|
-
# DBOS workflow_status table lives in the dbos schema
|
|
283
|
-
status_counts = dict(
|
|
284
|
-
session.execute(
|
|
285
|
-
text("""
|
|
286
|
-
SELECT status, COUNT(*)
|
|
287
|
-
FROM dbos.workflow_status
|
|
288
|
-
GROUP BY status
|
|
289
|
-
""")
|
|
290
|
-
).all()
|
|
291
|
-
)
|
|
292
|
-
|
|
293
|
-
enqueued = status_counts.get("ENQUEUED", 0)
|
|
294
|
-
pending = status_counts.get("PENDING", 0)
|
|
295
|
-
|
|
296
|
-
# updated_at is bigint (epoch-ms); bind as int to avoid
|
|
297
|
-
# "operator does not exist: bigint >= timestamp with time zone" error.
|
|
298
|
-
since_ms = int((datetime.now(UTC) - timedelta(hours=24)).timestamp() * 1000)
|
|
299
|
-
success_24h = (
|
|
300
|
-
session.scalar(
|
|
301
|
-
text("""
|
|
302
|
-
SELECT COUNT(*) FROM dbos.workflow_status
|
|
303
|
-
WHERE status = 'SUCCESS' AND updated_at >= :since_ms
|
|
304
|
-
"""),
|
|
305
|
-
{"since_ms": since_ms},
|
|
306
|
-
)
|
|
307
|
-
or 0
|
|
308
|
-
)
|
|
309
|
-
|
|
310
|
-
error_24h = (
|
|
311
|
-
session.scalar(
|
|
312
|
-
text("""
|
|
313
|
-
SELECT COUNT(*) FROM dbos.workflow_status
|
|
314
|
-
WHERE status = 'ERROR' AND updated_at >= :since_ms
|
|
315
|
-
"""),
|
|
316
|
-
{"since_ms": since_ms},
|
|
317
|
-
)
|
|
318
|
-
or 0
|
|
319
|
-
)
|
|
320
|
-
|
|
321
|
-
return {
|
|
322
|
-
"workflows_by_status": status_counts,
|
|
323
|
-
"enqueued_depth": enqueued,
|
|
324
|
-
"pending_depth": pending,
|
|
325
|
-
"success_24h": success_24h,
|
|
326
|
-
"error_24h": error_24h,
|
|
327
|
-
}
|
|
328
|
-
finally:
|
|
329
|
-
session.close()
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
333
|
-
async def _load_previous_run(report_date: date) -> dict[str, Any] | None:
|
|
334
|
-
"""Load yesterday's report run from sched.ecosystem_report_runs. Returns None if no prior run."""
|
|
335
|
-
yesterday = report_date - timedelta(days=1)
|
|
336
|
-
session = _make_session()
|
|
337
|
-
try:
|
|
338
|
-
row = session.query(EcosystemReportRun).filter_by(report_date=yesterday).first()
|
|
339
|
-
if row is None:
|
|
340
|
-
logger.info("ecosystem_report.no_previous_run", yesterday=str(yesterday))
|
|
341
|
-
return None
|
|
342
|
-
return {
|
|
343
|
-
"report_date": str(row.report_date),
|
|
344
|
-
"error_24h": row.error_24h,
|
|
345
|
-
"success_24h": row.success_24h,
|
|
346
|
-
"pending_depth": row.pending_depth,
|
|
347
|
-
"enqueued_depth": row.enqueued_depth,
|
|
348
|
-
"health_score": row.health_score,
|
|
349
|
-
"anomalies": row.anomalies,
|
|
350
|
-
"git_summary": row.git_summary,
|
|
351
|
-
}
|
|
352
|
-
finally:
|
|
353
|
-
session.close()
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
def _compute_deltas(
|
|
357
|
-
current: dict[str, Any],
|
|
358
|
-
previous: dict[str, Any] | None,
|
|
359
|
-
) -> dict[str, Any] | None:
|
|
360
|
-
"""Compute day-over-day deltas with regression bucketing.
|
|
361
|
-
|
|
362
|
-
Bucketing (aligned with progress-report-skill pattern):
|
|
363
|
-
critical: delta <= -15
|
|
364
|
-
minor: delta <= -5
|
|
365
|
-
noise: -5 < delta < 5
|
|
366
|
-
improvement: delta >= 5
|
|
367
|
-
major: delta >= 15
|
|
368
|
-
"""
|
|
369
|
-
if previous is None:
|
|
370
|
-
return None
|
|
371
|
-
|
|
372
|
-
def _bucket(delta: int, lower_is_better: bool = False) -> str:
|
|
373
|
-
"""Classify a numeric delta into a severity bucket.
|
|
374
|
-
|
|
375
|
-
For 'lower is better' metrics (errors, pending), a negative delta
|
|
376
|
-
is improvement. For 'higher is better' metrics (success), a positive
|
|
377
|
-
delta is improvement.
|
|
378
|
-
"""
|
|
379
|
-
# Normalize: positive = good direction, negative = bad direction
|
|
380
|
-
effective = -delta if lower_is_better else delta
|
|
381
|
-
if effective >= 15:
|
|
382
|
-
return "major"
|
|
383
|
-
if effective >= 5:
|
|
384
|
-
return "improvement"
|
|
385
|
-
if effective <= -15:
|
|
386
|
-
return "critical"
|
|
387
|
-
if effective <= -5:
|
|
388
|
-
return "minor"
|
|
389
|
-
return "noise"
|
|
390
|
-
|
|
391
|
-
def _arrow(delta: int) -> str:
|
|
392
|
-
"""Return a Unicode arrow indicating delta direction."""
|
|
393
|
-
if delta > 0:
|
|
394
|
-
return "↑"
|
|
395
|
-
if delta < 0:
|
|
396
|
-
return "↓"
|
|
397
|
-
return "→"
|
|
398
|
-
|
|
399
|
-
error_delta = current.get("error_24h", 0) - previous.get("error_24h", 0)
|
|
400
|
-
success_delta = current.get("success_24h", 0) - previous.get("success_24h", 0)
|
|
401
|
-
pending_delta = current.get("pending_depth", 0) - previous.get("pending_depth", 0)
|
|
402
|
-
enqueued_delta = current.get("enqueued_depth", 0) - previous.get("enqueued_depth", 0)
|
|
403
|
-
|
|
404
|
-
return {
|
|
405
|
-
"error": {
|
|
406
|
-
"delta": error_delta,
|
|
407
|
-
"arrow": _arrow(error_delta),
|
|
408
|
-
"bucket": _bucket(error_delta, lower_is_better=True),
|
|
409
|
-
},
|
|
410
|
-
"success": {
|
|
411
|
-
"delta": success_delta,
|
|
412
|
-
"arrow": _arrow(success_delta),
|
|
413
|
-
"bucket": _bucket(success_delta, lower_is_better=False),
|
|
414
|
-
},
|
|
415
|
-
"pending": {
|
|
416
|
-
"delta": pending_delta,
|
|
417
|
-
"arrow": _arrow(pending_delta),
|
|
418
|
-
"bucket": _bucket(pending_delta, lower_is_better=True),
|
|
419
|
-
},
|
|
420
|
-
"enqueued": {
|
|
421
|
-
"delta": enqueued_delta,
|
|
422
|
-
"arrow": _arrow(enqueued_delta),
|
|
423
|
-
"bucket": _bucket(enqueued_delta, lower_is_better=True),
|
|
424
|
-
},
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
# ── Anomaly aggregation (Wave 8 F1: persist alignment) ───────────────────────
|
|
429
|
-
#
|
|
430
|
-
# Cap on how many anomaly strings we will persist into the JSONB column. The
|
|
431
|
-
# DB column itself is unbounded JSONB, but very long lists slow down downstream
|
|
432
|
-
# alert consumers (``WHERE jsonb_array_length(anomalies) > 0`` is fine; any
|
|
433
|
-
# fan-out that loads the full list is not). 50 is generous: the largest
|
|
434
|
-
# observed live run had 7 anomalies; even a multi-collector outage tops out
|
|
435
|
-
# around 20. If we hit the cap, we append a sentinel marker so operators can
|
|
436
|
-
# tell a truncation happened from the JSONB alone (no need to cross-reference
|
|
437
|
-
# the markdown).
|
|
438
|
-
_MAX_PERSISTED_ANOMALIES = 50
|
|
439
|
-
_TRUNCATION_SENTINEL_PREFIX = "[truncated:"
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
def _aggregate_anomalies(
|
|
443
|
-
results: list[CollectorResult],
|
|
444
|
-
threshold_anomalies: list[str] | None = None,
|
|
445
|
-
) -> list[str]:
|
|
446
|
-
"""Return the canonical anomaly list for persistence.
|
|
447
|
-
|
|
448
|
-
The persisted JSONB column MUST match the v2 markdown's anomaly section
|
|
449
|
-
so downstream consumers (Slack alerting, dashboards, ``WHERE
|
|
450
|
-
jsonb_array_length(anomalies) > 0`` queries) fire on the same evidence
|
|
451
|
-
operators see in the rendered report. The v2 formatter's
|
|
452
|
-
``_collect_anomalies(results)`` is the source of truth — this helper
|
|
453
|
-
mirrors that logic exactly, then appends the legacy threshold-based
|
|
454
|
-
anomalies (high error count, queue backlog, etc.) so the persisted blob
|
|
455
|
-
is a strict superset of both renderings.
|
|
456
|
-
|
|
457
|
-
Pipeline (each step idempotent):
|
|
458
|
-
1. Walk ``results`` in collector order, ``r.anomalies`` in emission
|
|
459
|
-
order — preserving ordering matters for operator scanning of the
|
|
460
|
-
JSONB output.
|
|
461
|
-
2. Append ``threshold_anomalies`` (legacy heuristic detections from
|
|
462
|
-
``_generate_and_write_report``).
|
|
463
|
-
3. Sanitize every entry via ``report_formatter.sanitize_anomaly`` —
|
|
464
|
-
strips newlines, redacts SELECT…FROM… SQL leaks, length-bounds to
|
|
465
|
-
200 chars. Same rules the markdown uses.
|
|
466
|
-
4. Drop empty strings (``None`` / ``""`` from sanitization).
|
|
467
|
-
5. Truncate at ``_MAX_PERSISTED_ANOMALIES`` and append a sentinel
|
|
468
|
-
``"[truncated: N of M]"`` row when the cap was hit.
|
|
469
|
-
|
|
470
|
-
Returns
|
|
471
|
-
-------
|
|
472
|
-
list[str]
|
|
473
|
-
Aggregated, sanitized, ordering-preserved anomaly strings. Safe to
|
|
474
|
-
pass directly to the JSONB column.
|
|
475
|
-
"""
|
|
476
|
-
# Local import — keeps this module's cold-import cost flat and avoids
|
|
477
|
-
# any circular path through report_formatter's collector-protocol use.
|
|
478
|
-
from vds_scheduler_orchestrator.workflows.report_formatter import sanitize_anomaly
|
|
479
|
-
|
|
480
|
-
raw: list[str] = []
|
|
481
|
-
for r in results:
|
|
482
|
-
raw.extend(r.anomalies)
|
|
483
|
-
if threshold_anomalies:
|
|
484
|
-
raw.extend(threshold_anomalies)
|
|
485
|
-
|
|
486
|
-
cleaned: list[str] = []
|
|
487
|
-
for entry in raw:
|
|
488
|
-
sanitized = sanitize_anomaly(entry)
|
|
489
|
-
if sanitized:
|
|
490
|
-
cleaned.append(sanitized)
|
|
491
|
-
|
|
492
|
-
total = len(cleaned)
|
|
493
|
-
if total > _MAX_PERSISTED_ANOMALIES:
|
|
494
|
-
head = cleaned[:_MAX_PERSISTED_ANOMALIES]
|
|
495
|
-
head.append(f"{_TRUNCATION_SENTINEL_PREFIX} {_MAX_PERSISTED_ANOMALIES} of {total}]")
|
|
496
|
-
return head
|
|
497
|
-
return cleaned
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
def _merge_golden_signals(results: list[CollectorResult]) -> dict[str, Any]:
|
|
501
|
-
"""Merge golden signals from all collector results into a single dict for persistence."""
|
|
502
|
-
out = {"errors": [], "latency": [], "saturation": [], "traffic": []}
|
|
503
|
-
for r in results:
|
|
504
|
-
gs = r.golden_signals
|
|
505
|
-
for entry in gs.errors:
|
|
506
|
-
out["errors"].append(
|
|
507
|
-
{
|
|
508
|
-
"label": entry.label,
|
|
509
|
-
"value": entry.value,
|
|
510
|
-
"display": entry.display,
|
|
511
|
-
"threshold": entry.threshold,
|
|
512
|
-
"polarity": entry.polarity,
|
|
513
|
-
}
|
|
514
|
-
)
|
|
515
|
-
for entry in gs.latency:
|
|
516
|
-
out["latency"].append(
|
|
517
|
-
{
|
|
518
|
-
"label": entry.label,
|
|
519
|
-
"value": entry.value,
|
|
520
|
-
"display": entry.display,
|
|
521
|
-
"threshold": entry.threshold,
|
|
522
|
-
"polarity": entry.polarity,
|
|
523
|
-
}
|
|
524
|
-
)
|
|
525
|
-
for entry in gs.saturation:
|
|
526
|
-
out["saturation"].append(
|
|
527
|
-
{
|
|
528
|
-
"label": entry.label,
|
|
529
|
-
"value": entry.value,
|
|
530
|
-
"display": entry.display,
|
|
531
|
-
"threshold": entry.threshold,
|
|
532
|
-
"polarity": entry.polarity,
|
|
533
|
-
}
|
|
534
|
-
)
|
|
535
|
-
for entry in gs.traffic:
|
|
536
|
-
out["traffic"].append(
|
|
537
|
-
{
|
|
538
|
-
"label": entry.label,
|
|
539
|
-
"value": entry.value,
|
|
540
|
-
"display": entry.display,
|
|
541
|
-
"threshold": entry.threshold,
|
|
542
|
-
"polarity": entry.polarity,
|
|
543
|
-
}
|
|
544
|
-
)
|
|
545
|
-
return out
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
def _compute_legacy_threshold_anomalies(
|
|
549
|
-
git_data: dict[str, Any],
|
|
550
|
-
scheduler_data: dict[str, Any],
|
|
551
|
-
event_data: dict[str, Any],
|
|
552
|
-
queue_data: dict[str, Any],
|
|
553
|
-
cfg: Any,
|
|
554
|
-
) -> list[str]:
|
|
555
|
-
"""Compute the threshold-based anomalies (high error count / queue backlog
|
|
556
|
-
/ zero-outbox / high commit volume).
|
|
557
|
-
|
|
558
|
-
Extracted from ``_generate_and_write_report`` (Wave 8 Lane Upsilon Fix 2)
|
|
559
|
-
so the canonical workflow body can compute these heuristics WITHOUT
|
|
560
|
-
invoking the legacy short-report writer. The legacy writer was producing
|
|
561
|
-
a duplicate user-facing markdown file whose anomaly text contradicted
|
|
562
|
-
the full collector-aware report; only the full report is now emitted as
|
|
563
|
-
``<date>-ecosystem-report.md``.
|
|
564
|
-
"""
|
|
565
|
-
anomalies: list[str] = []
|
|
566
|
-
|
|
567
|
-
if queue_data["error_24h"] > cfg.error_threshold:
|
|
568
|
-
anomalies.append(f"High error count: {queue_data['error_24h']} workflows failed in last 24h")
|
|
569
|
-
if queue_data["pending_depth"] > cfg.pending_threshold:
|
|
570
|
-
anomalies.append(f"Queue backlog: {queue_data['pending_depth']} PENDING workflows")
|
|
571
|
-
if cfg.zero_outbox_alert and event_data["outbox_24h"] == 0 and scheduler_data["schedules"]["total"] > 0:
|
|
572
|
-
anomalies.append("Zero events in outbox last 24h despite active schedules")
|
|
573
|
-
for repo_name, repo_info in git_data.get("repos", {}).items():
|
|
574
|
-
if repo_info["commits"] > cfg.commit_threshold:
|
|
575
|
-
anomalies.append(f"High commit volume in {repo_name}: {repo_info['commits']} commits")
|
|
576
|
-
|
|
577
|
-
return anomalies
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
581
|
-
async def _generate_and_write_report(
|
|
582
|
-
git_data: dict[str, Any],
|
|
583
|
-
scheduler_data: dict[str, Any],
|
|
584
|
-
event_data: dict[str, Any],
|
|
585
|
-
queue_data: dict[str, Any],
|
|
586
|
-
deltas: dict[str, Any] | None = None,
|
|
587
|
-
) -> dict[str, Any]:
|
|
588
|
-
"""
|
|
589
|
-
Generate the daily ecosystem report Markdown and write to disk.
|
|
590
|
-
|
|
591
|
-
Returns:
|
|
592
|
-
{"report_path": str, "anomalies": [str]}
|
|
593
|
-
|
|
594
|
-
Note (Wave 8 Lane Upsilon Fix 2): the workflow body no longer calls this
|
|
595
|
-
step — the v2 (collector-aware) full report is now the sole user-facing
|
|
596
|
-
markdown file. This step is preserved for backward-compatible callers
|
|
597
|
-
and the existing TSK-2.x test suite that exercises its anomaly
|
|
598
|
-
heuristics and markdown rendering surface.
|
|
599
|
-
"""
|
|
600
|
-
cfg = get_ecosystem_config()
|
|
601
|
-
today = date.today().isoformat()
|
|
602
|
-
report_dir = cfg.resolved_report_dir
|
|
603
|
-
report_path = report_dir / f"{today}-ecosystem-report.md"
|
|
604
|
-
report_dir.mkdir(parents=True, exist_ok=True)
|
|
605
|
-
|
|
606
|
-
anomalies = _compute_legacy_threshold_anomalies(
|
|
607
|
-
git_data, scheduler_data, event_data, queue_data, cfg
|
|
608
|
-
)
|
|
609
|
-
|
|
610
|
-
lines: list[str] = []
|
|
611
|
-
lines.append(f"# Ecosystem Daily Report — {today}")
|
|
612
|
-
lines.append("")
|
|
613
|
-
lines.append(f"_Generated at {datetime.now(UTC).isoformat()} UTC_")
|
|
614
|
-
lines.append("")
|
|
615
|
-
|
|
616
|
-
# ── Executive Summary ────────────────────────────────────────────────────
|
|
617
|
-
lines.append("## Executive Summary")
|
|
618
|
-
lines.append("")
|
|
619
|
-
if anomalies:
|
|
620
|
-
lines.append("**⚠️ Anomalies Detected:**")
|
|
621
|
-
for a in anomalies:
|
|
622
|
-
lines.append(f"- {a}")
|
|
623
|
-
else:
|
|
624
|
-
lines.append("✅ No anomalies detected.")
|
|
625
|
-
lines.append("")
|
|
626
|
-
lines.append(
|
|
627
|
-
f"- **Schedules**: {scheduler_data['schedules']['active']} active / {scheduler_data['schedules']['paused']} paused"
|
|
628
|
-
)
|
|
629
|
-
|
|
630
|
-
# Workflows line with optional delta indicators
|
|
631
|
-
wf_line = f"- **Workflows (24h)**: {queue_data['success_24h']} success"
|
|
632
|
-
if deltas:
|
|
633
|
-
sd = deltas["success"]["delta"]
|
|
634
|
-
wf_line += f" ({deltas['success']['arrow']}{sd:+d} vs yesterday)"
|
|
635
|
-
wf_line += f" / {queue_data['error_24h']} error"
|
|
636
|
-
if deltas:
|
|
637
|
-
ed = deltas["error"]["delta"]
|
|
638
|
-
wf_line += f" ({deltas['error']['arrow']}{ed:+d} vs yesterday)"
|
|
639
|
-
lines.append(wf_line)
|
|
640
|
-
|
|
641
|
-
# Queue depth line with optional delta indicators
|
|
642
|
-
qd_line = f"- **Queue Depth**: {queue_data['enqueued_depth']} ENQUEUED"
|
|
643
|
-
if deltas:
|
|
644
|
-
eqd = deltas["enqueued"]["delta"]
|
|
645
|
-
qd_line += f" ({deltas['enqueued']['arrow']}{eqd:+d})"
|
|
646
|
-
qd_line += f" / {queue_data['pending_depth']} PENDING"
|
|
647
|
-
if deltas:
|
|
648
|
-
pd = deltas["pending"]["delta"]
|
|
649
|
-
qd_line += f" ({deltas['pending']['arrow']}{pd:+d})"
|
|
650
|
-
lines.append(qd_line)
|
|
651
|
-
|
|
652
|
-
lines.append(f"- **Events (24h)**: {event_data['outbox_24h']} outbox entries")
|
|
653
|
-
lines.append("")
|
|
654
|
-
|
|
655
|
-
# ── Day-over-Day Delta (TSK-3.3) ─────────────────────────────────────────
|
|
656
|
-
if deltas:
|
|
657
|
-
lines.append("## Day-over-Day Delta")
|
|
658
|
-
lines.append("")
|
|
659
|
-
lines.append("| Metric | Today | Yesterday | Delta | Trend |")
|
|
660
|
-
lines.append("|--------|-------|-----------|-------|-------|")
|
|
661
|
-
|
|
662
|
-
err_today = queue_data["error_24h"]
|
|
663
|
-
err_yest = err_today - deltas["error"]["delta"]
|
|
664
|
-
lines.append(
|
|
665
|
-
f"| Errors (24h) | {err_today} | {err_yest} "
|
|
666
|
-
f"| {deltas['error']['delta']:+d} | {deltas['error']['arrow']} {deltas['error']['bucket']} |"
|
|
667
|
-
)
|
|
668
|
-
|
|
669
|
-
suc_today = queue_data["success_24h"]
|
|
670
|
-
suc_yest = suc_today - deltas["success"]["delta"]
|
|
671
|
-
lines.append(
|
|
672
|
-
f"| Success (24h) | {suc_today} | {suc_yest} "
|
|
673
|
-
f"| {deltas['success']['delta']:+d} | {deltas['success']['arrow']} {deltas['success']['bucket']} |"
|
|
674
|
-
)
|
|
675
|
-
|
|
676
|
-
pen_today = queue_data["pending_depth"]
|
|
677
|
-
pen_yest = pen_today - deltas["pending"]["delta"]
|
|
678
|
-
lines.append(
|
|
679
|
-
f"| Pending depth | {pen_today} | {pen_yest} "
|
|
680
|
-
f"| {deltas['pending']['delta']:+d} | {deltas['pending']['arrow']} {deltas['pending']['bucket']} |"
|
|
681
|
-
)
|
|
682
|
-
|
|
683
|
-
enq_today = queue_data["enqueued_depth"]
|
|
684
|
-
enq_yest = enq_today - deltas["enqueued"]["delta"]
|
|
685
|
-
lines.append(
|
|
686
|
-
f"| Enqueued depth | {enq_today} | {enq_yest} "
|
|
687
|
-
f"| {deltas['enqueued']['delta']:+d} | {deltas['enqueued']['arrow']} {deltas['enqueued']['bucket']} |"
|
|
688
|
-
)
|
|
689
|
-
lines.append("")
|
|
690
|
-
|
|
691
|
-
# ── Git Activity ─────────────────────────────────────────────────────────
|
|
692
|
-
lines.append("## Git Activity (since 00:00 UTC yesterday)")
|
|
693
|
-
lines.append("")
|
|
694
|
-
for repo_name, repo_info in git_data.get("repos", {}).items():
|
|
695
|
-
lines.append(f"### {repo_name}")
|
|
696
|
-
lines.append(f"- Commits: **{repo_info['commits']}** (merges: {repo_info['merge_commits']})")
|
|
697
|
-
lines.append(f"- Authors: {', '.join(repo_info['authors']) or '—'}")
|
|
698
|
-
lines.append(f"- Branches: {', '.join(repo_info['branches_changed']) or '—'}")
|
|
699
|
-
lines.append("")
|
|
700
|
-
|
|
701
|
-
# ── Scheduler Status ─────────────────────────────────────────────────────
|
|
702
|
-
lines.append("## Scheduler Status")
|
|
703
|
-
lines.append("")
|
|
704
|
-
lines.append("### Schedules by Orchestrator")
|
|
705
|
-
for orch, count in sorted(scheduler_data["schedules"]["by_orchestrator"].items()):
|
|
706
|
-
lines.append(f"- `{orch}`: {count}")
|
|
707
|
-
lines.append("")
|
|
708
|
-
lines.append("### Workflow Aliases by Orchestrator")
|
|
709
|
-
for orch, count in sorted(scheduler_data["aliases"]["by_orchestrator"].items()):
|
|
710
|
-
lines.append(f"- `{orch}`: {count}")
|
|
711
|
-
lines.append("")
|
|
712
|
-
lines.append(f"### Chain Definitions: {scheduler_data['chains']['total']}")
|
|
713
|
-
lines.append("")
|
|
714
|
-
|
|
715
|
-
# ── Event Bus ────────────────────────────────────────────────────────────
|
|
716
|
-
lines.append("## Event Bus (24h)")
|
|
717
|
-
lines.append("")
|
|
718
|
-
lines.append(f"- Outbox entries: **{event_data['outbox_24h']}**")
|
|
719
|
-
lines.append(f"- Latest event: {event_data['latest_event_at'] or '—'}")
|
|
720
|
-
lines.append("- Subscriptions by topic:")
|
|
721
|
-
for topic, count in sorted(event_data["subscriptions"]["by_topic"].items()):
|
|
722
|
-
lines.append(f" - `{topic}`: {count}")
|
|
723
|
-
lines.append("")
|
|
724
|
-
|
|
725
|
-
# ── Workflow Queue Health ────────────────────────────────────────────────
|
|
726
|
-
lines.append("## Workflow Queue Health")
|
|
727
|
-
lines.append("")
|
|
728
|
-
lines.append("### Status Distribution")
|
|
729
|
-
for status, count in sorted(queue_data["workflows_by_status"].items()):
|
|
730
|
-
lines.append(f"- `{status}`: {count}")
|
|
731
|
-
lines.append("")
|
|
732
|
-
lines.append(f"- **ENQUEUED depth**: {queue_data['enqueued_depth']}")
|
|
733
|
-
lines.append(f"- **PENDING depth**: {queue_data['pending_depth']}")
|
|
734
|
-
lines.append("")
|
|
735
|
-
|
|
736
|
-
# ── Footer ───────────────────────────────────────────────────────────────
|
|
737
|
-
lines.append("---")
|
|
738
|
-
lines.append("_Report generated by `ecosystem.daily.report` DBOS workflow_")
|
|
739
|
-
lines.append("")
|
|
740
|
-
|
|
741
|
-
report_path.write_text("\n".join(lines), encoding="utf-8")
|
|
742
|
-
logger.info("ecosystem_report.written", path=str(report_path), anomalies=len(anomalies))
|
|
743
|
-
|
|
744
|
-
return {"report_path": str(report_path), "anomalies": anomalies}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
# ── DBOS steps: persist & publish (TSK-2.3, TSK-2.4) ─────────────────────────
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
751
|
-
async def _persist_report_run(
|
|
752
|
-
report_date: date,
|
|
753
|
-
report_path: str,
|
|
754
|
-
anomalies: list[str],
|
|
755
|
-
git_data: dict[str, Any],
|
|
756
|
-
scheduler_data: dict[str, Any],
|
|
757
|
-
event_data: dict[str, Any],
|
|
758
|
-
queue_data: dict[str, Any],
|
|
759
|
-
health_score: int | None = None,
|
|
760
|
-
golden_signals: dict[str, Any] | None = None,
|
|
761
|
-
prometheus_summary: dict[str, Any] | None = None,
|
|
762
|
-
infra_summary: dict[str, Any] | None = None,
|
|
763
|
-
test_summary: dict[str, Any] | None = None,
|
|
764
|
-
worktree_summary: dict[str, Any] | None = None,
|
|
765
|
-
spec_summary: dict[str, Any] | None = None,
|
|
766
|
-
memory_summary: dict[str, Any] | None = None,
|
|
767
|
-
llm_summary: dict[str, Any] | None = None,
|
|
768
|
-
dora_summary: dict[str, Any] | None = None,
|
|
769
|
-
trend_summary: dict[str, Any] | None = None,
|
|
770
|
-
security_summary: dict[str, Any] | None = None,
|
|
771
|
-
slack_delivered: bool = False,
|
|
772
|
-
slack_delivered_at: datetime | None = None,
|
|
773
|
-
generation_duration_ms: int | None = None,
|
|
774
|
-
) -> str | None:
|
|
775
|
-
"""Persist report metadata to sched.ecosystem_report_runs. Upsert on report_date.
|
|
776
|
-
|
|
777
|
-
Resilience contract (post-Phase-3, mirrors Pi's TrendForecast READ-path
|
|
778
|
-
fix in commit ``9bf51bdb``): the ORM model declares Phase 3 columns
|
|
779
|
-
(``dora_summary``, ``trend_summary``, ``security_summary``,
|
|
780
|
-
``slack_delivered``, ``slack_delivered_at``) which are added by alembic
|
|
781
|
-
migration ``b2c3d4e5f8a9``. If that migration has NOT been applied to
|
|
782
|
-
the live database, SQLAlchemy will emit ``INSERT`` / ``UPDATE`` statements
|
|
783
|
-
that reference the new columns and the driver raises
|
|
784
|
-
``psycopg2.errors.UndefinedColumn`` (surfaced as ``SQLAlchemyError`` here).
|
|
785
|
-
|
|
786
|
-
Rather than crashing the whole daily-report workflow on schema drift, we
|
|
787
|
-
catch ``SQLAlchemyError``, roll back, log a clean one-line warning that
|
|
788
|
-
points to the alembic upgrade as remediation, and return ``None``.
|
|
789
|
-
Once the migration is applied, persistence resumes normally on the next
|
|
790
|
-
run.
|
|
791
|
-
|
|
792
|
-
Returns
|
|
793
|
-
-------
|
|
794
|
-
str | None
|
|
795
|
-
The persisted ``run_id`` (UUID-as-text) on success, or ``None`` if
|
|
796
|
-
persistence was skipped due to schema drift. Other infrastructure
|
|
797
|
-
errors (non-SQLAlchemy ``RuntimeError``, network failures inside the
|
|
798
|
-
session manager, etc.) still propagate so DBOS retry logic can react.
|
|
799
|
-
"""
|
|
800
|
-
session = _make_session()
|
|
801
|
-
try:
|
|
802
|
-
try:
|
|
803
|
-
existing = session.query(EcosystemReportRun).filter_by(report_date=report_date).first()
|
|
804
|
-
if existing:
|
|
805
|
-
existing.generated_at = datetime.now(UTC)
|
|
806
|
-
existing.report_path = report_path
|
|
807
|
-
existing.anomalies = anomalies
|
|
808
|
-
existing.git_summary = git_data
|
|
809
|
-
existing.scheduler_summary = scheduler_data
|
|
810
|
-
existing.event_bus_summary = event_data
|
|
811
|
-
existing.queue_summary = queue_data
|
|
812
|
-
existing.error_24h = queue_data.get("error_24h", 0)
|
|
813
|
-
existing.success_24h = queue_data.get("success_24h", 0)
|
|
814
|
-
existing.pending_depth = queue_data.get("pending_depth", 0)
|
|
815
|
-
existing.enqueued_depth = queue_data.get("enqueued_depth", 0)
|
|
816
|
-
existing.health_score = health_score
|
|
817
|
-
existing.golden_signals = golden_signals or {}
|
|
818
|
-
existing.prometheus_summary = prometheus_summary or {}
|
|
819
|
-
existing.infra_summary = infra_summary or {}
|
|
820
|
-
existing.test_summary = test_summary or {}
|
|
821
|
-
existing.worktree_summary = worktree_summary or {}
|
|
822
|
-
existing.spec_summary = spec_summary or {}
|
|
823
|
-
existing.memory_summary = memory_summary or {}
|
|
824
|
-
existing.llm_summary = llm_summary or {}
|
|
825
|
-
existing.dora_summary = dora_summary or {}
|
|
826
|
-
existing.trend_summary = trend_summary or {}
|
|
827
|
-
existing.security_summary = security_summary or {}
|
|
828
|
-
existing.slack_delivered = slack_delivered
|
|
829
|
-
existing.slack_delivered_at = slack_delivered_at
|
|
830
|
-
existing.generation_duration_ms = generation_duration_ms
|
|
831
|
-
run_id = existing.id
|
|
832
|
-
else:
|
|
833
|
-
run = EcosystemReportRun(
|
|
834
|
-
report_date=report_date,
|
|
835
|
-
generated_at=datetime.now(UTC),
|
|
836
|
-
report_path=report_path,
|
|
837
|
-
anomalies=anomalies,
|
|
838
|
-
git_summary=git_data,
|
|
839
|
-
scheduler_summary=scheduler_data,
|
|
840
|
-
event_bus_summary=event_data,
|
|
841
|
-
queue_summary=queue_data,
|
|
842
|
-
error_24h=queue_data.get("error_24h", 0),
|
|
843
|
-
success_24h=queue_data.get("success_24h", 0),
|
|
844
|
-
pending_depth=queue_data.get("pending_depth", 0),
|
|
845
|
-
enqueued_depth=queue_data.get("enqueued_depth", 0),
|
|
846
|
-
health_score=health_score,
|
|
847
|
-
golden_signals=golden_signals or {},
|
|
848
|
-
prometheus_summary=prometheus_summary or {},
|
|
849
|
-
infra_summary=infra_summary or {},
|
|
850
|
-
test_summary=test_summary or {},
|
|
851
|
-
worktree_summary=worktree_summary or {},
|
|
852
|
-
spec_summary=spec_summary or {},
|
|
853
|
-
memory_summary=memory_summary or {},
|
|
854
|
-
llm_summary=llm_summary or {},
|
|
855
|
-
dora_summary=dora_summary or {},
|
|
856
|
-
trend_summary=trend_summary or {},
|
|
857
|
-
security_summary=security_summary or {},
|
|
858
|
-
slack_delivered=slack_delivered,
|
|
859
|
-
slack_delivered_at=slack_delivered_at,
|
|
860
|
-
generation_duration_ms=generation_duration_ms,
|
|
861
|
-
)
|
|
862
|
-
session.add(run)
|
|
863
|
-
session.flush() # populate server-default id
|
|
864
|
-
run_id = run.id
|
|
865
|
-
session.commit()
|
|
866
|
-
logger.info("ecosystem_report.persisted", run_id=run_id, report_date=str(report_date))
|
|
867
|
-
return run_id
|
|
868
|
-
except SQLAlchemyError as exc:
|
|
869
|
-
# Schema drift (e.g. Phase 3 columns referenced by ORM but missing
|
|
870
|
-
# from live DB because alembic upgrade has not been applied) lands
|
|
871
|
-
# here as ``UndefinedColumn`` wrapped in ``SQLAlchemyError``. Roll
|
|
872
|
-
# back the transaction, log a clean single-line warning, and
|
|
873
|
-
# return ``None`` so the workflow continues without persisting.
|
|
874
|
-
try:
|
|
875
|
-
session.rollback()
|
|
876
|
-
except SQLAlchemyError:
|
|
877
|
-
# Rollback itself can fail on a torn connection; we have
|
|
878
|
-
# already decided to skip persistence, so swallow this too.
|
|
879
|
-
logger.debug("ecosystem_report.rollback_failed_post_persist_error")
|
|
880
|
-
logger.warning(
|
|
881
|
-
"ecosystem_report.persist_unavailable",
|
|
882
|
-
error=str(exc),
|
|
883
|
-
hint="alembic migration not applied — run 'alembic upgrade head' on scheduler DB to enable persistence",
|
|
884
|
-
)
|
|
885
|
-
return None
|
|
886
|
-
finally:
|
|
887
|
-
session.close()
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
@DBOS.step(retries_allowed=True, max_attempts=3)
|
|
891
|
-
async def _publish_completion_event(
|
|
892
|
-
report_date: date,
|
|
893
|
-
report_path: str,
|
|
894
|
-
anomaly_count: int,
|
|
895
|
-
error_24h: int,
|
|
896
|
-
success_24h: int,
|
|
897
|
-
health_score: int,
|
|
898
|
-
workflow_id: str,
|
|
899
|
-
exec_summary: str = "",
|
|
900
|
-
) -> None:
|
|
901
|
-
"""Publish ecosystem.daily.completed event to the event bus.
|
|
902
|
-
|
|
903
|
-
Per spec FR-2.3 the payload MUST carry the integer ``health_score``
|
|
904
|
-
(0–100) and the DBOS ``workflow_id`` so downstream subscribers can
|
|
905
|
-
correlate the event with the originating workflow run and surface the
|
|
906
|
-
health score without a re-query into ``sched.ecosystem_report_runs``.
|
|
907
|
-
"""
|
|
908
|
-
from vds_scheduler_orchestrator.events.bus import publish
|
|
909
|
-
|
|
910
|
-
await publish(
|
|
911
|
-
topic="ecosystem.daily.completed",
|
|
912
|
-
payload={
|
|
913
|
-
"report_date": str(report_date),
|
|
914
|
-
"report_path": report_path,
|
|
915
|
-
"anomaly_count": anomaly_count,
|
|
916
|
-
"error_24h": error_24h,
|
|
917
|
-
"success_24h": success_24h,
|
|
918
|
-
"health_score": health_score,
|
|
919
|
-
"workflow_id": workflow_id,
|
|
920
|
-
"exec_summary": exec_summary,
|
|
921
|
-
},
|
|
922
|
-
trace_id=f"edr-{report_date}",
|
|
923
|
-
)
|
|
924
|
-
logger.info("ecosystem_report.event_published", topic="ecosystem.daily.completed")
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
@DBOS.step(retries_allowed=True, max_attempts=2)
|
|
928
|
-
async def _publish_failure_event(error_msg: str, report_date: date) -> None:
|
|
929
|
-
"""Publish ecosystem.daily.failed event when the workflow errors."""
|
|
930
|
-
from vds_scheduler_orchestrator.events.bus import publish
|
|
931
|
-
|
|
932
|
-
await publish(
|
|
933
|
-
topic="ecosystem.daily.failed",
|
|
934
|
-
payload={"report_date": str(report_date), "error": error_msg},
|
|
935
|
-
trace_id=f"edr-fail-{report_date}",
|
|
936
|
-
)
|
|
937
|
-
logger.error("ecosystem_report.failed_event_published", error=error_msg)
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
# ── DBOS step: Slack notification delivery (TSK-P3-1.2, FR-4.2) ───────────────
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
# Slack incoming-webhook backoff schedule: 1s, 2s, 4s (3 retries total).
|
|
944
|
-
# The function implements its own retry loop so DBOS retries are disabled
|
|
945
|
-
# (``retries_allowed=False``) — we don't want DBOS to layer additional retries
|
|
946
|
-
# on top of our exponential-backoff schedule.
|
|
947
|
-
_SLACK_RETRY_BACKOFF_S: tuple[float, float, float] = (1.0, 2.0, 4.0)
|
|
948
|
-
_SLACK_REQUEST_TIMEOUT_S: float = 10.0
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
@DBOS.step(retries_allowed=False)
|
|
952
|
-
async def _deliver_slack_notification(
|
|
953
|
-
webhook_url: str,
|
|
954
|
-
blocks: list[dict[str, Any]],
|
|
955
|
-
) -> bool:
|
|
956
|
-
"""POST a Block Kit message to a Slack incoming webhook.
|
|
957
|
-
|
|
958
|
-
Slack incoming-webhook contract (host ``hooks.slack.com``, NOT
|
|
959
|
-
``api.slack.com``): the JSON body MUST be an object that wraps the
|
|
960
|
-
block list — ``{"blocks": [...]}``. A bare list is rejected by the
|
|
961
|
-
webhook receiver.
|
|
962
|
-
|
|
963
|
-
Retry policy
|
|
964
|
-
------------
|
|
965
|
-
- 200 → success (return True).
|
|
966
|
-
- 429 / 5xx → retry with exponential backoff (1s, 2s, 4s) up to 3 attempts.
|
|
967
|
-
- Other 4xx → log and give up (return False) — these are caller errors
|
|
968
|
-
(malformed body, bad webhook URL) and retrying will not help.
|
|
969
|
-
- Network / transport error → retry on the same schedule.
|
|
970
|
-
|
|
971
|
-
The delivery step NEVER raises to the caller — failures return ``False``
|
|
972
|
-
so the workflow's per-call ``try/except`` can keep the outer pipeline
|
|
973
|
-
alive (NFR-6: never block report generation on Slack failure).
|
|
974
|
-
|
|
975
|
-
Parameters
|
|
976
|
-
----------
|
|
977
|
-
webhook_url:
|
|
978
|
-
Slack incoming-webhook URL. The full URL is operator-provided
|
|
979
|
-
(caller is responsible for not passing a non-Slack URL — this
|
|
980
|
-
function does not validate the host).
|
|
981
|
-
blocks:
|
|
982
|
-
The Block Kit block list returned by ``_build_slack_blocks``.
|
|
983
|
-
Wrapped here as ``{"blocks": blocks}`` for the actual POST body.
|
|
984
|
-
|
|
985
|
-
Returns
|
|
986
|
-
-------
|
|
987
|
-
bool
|
|
988
|
-
``True`` on HTTP 200, ``False`` on every other terminal outcome.
|
|
989
|
-
"""
|
|
990
|
-
import httpx
|
|
991
|
-
|
|
992
|
-
# MUST wrap the list in an object — Slack rejects a bare JSON list.
|
|
993
|
-
payload: dict[str, Any] = {"blocks": blocks}
|
|
994
|
-
|
|
995
|
-
last_status: int | None = None
|
|
996
|
-
last_error: str | None = None
|
|
997
|
-
|
|
998
|
-
async with httpx.AsyncClient(timeout=_SLACK_REQUEST_TIMEOUT_S) as client:
|
|
999
|
-
for attempt, backoff in enumerate(_SLACK_RETRY_BACKOFF_S, start=1):
|
|
1000
|
-
try:
|
|
1001
|
-
response = await client.post(webhook_url, json=payload)
|
|
1002
|
-
except httpx.HTTPError as exc:
|
|
1003
|
-
last_error = str(exc)
|
|
1004
|
-
logger.warning(
|
|
1005
|
-
"slack.delivery_transport_error",
|
|
1006
|
-
attempt=attempt,
|
|
1007
|
-
error=last_error,
|
|
1008
|
-
)
|
|
1009
|
-
# Transport failure — retry unless this was the last attempt.
|
|
1010
|
-
if attempt < len(_SLACK_RETRY_BACKOFF_S):
|
|
1011
|
-
await asyncio.sleep(backoff)
|
|
1012
|
-
continue
|
|
1013
|
-
return False
|
|
1014
|
-
|
|
1015
|
-
last_status = response.status_code
|
|
1016
|
-
if response.status_code == 200:
|
|
1017
|
-
logger.info("slack.delivery_succeeded", attempt=attempt)
|
|
1018
|
-
return True
|
|
1019
|
-
|
|
1020
|
-
# 429 (rate limit) and 5xx are retriable per FR-4.2.
|
|
1021
|
-
if response.status_code == 429 or 500 <= response.status_code < 600:
|
|
1022
|
-
logger.warning(
|
|
1023
|
-
"slack.delivery_retriable_status",
|
|
1024
|
-
attempt=attempt,
|
|
1025
|
-
status=response.status_code,
|
|
1026
|
-
)
|
|
1027
|
-
if attempt < len(_SLACK_RETRY_BACKOFF_S):
|
|
1028
|
-
await asyncio.sleep(backoff)
|
|
1029
|
-
continue
|
|
1030
|
-
return False
|
|
1031
|
-
|
|
1032
|
-
# Other 4xx — caller error; no retry.
|
|
1033
|
-
logger.warning(
|
|
1034
|
-
"slack.delivery_giving_up_4xx",
|
|
1035
|
-
status=response.status_code,
|
|
1036
|
-
body=response.text[:500],
|
|
1037
|
-
)
|
|
1038
|
-
return False
|
|
1039
|
-
|
|
1040
|
-
# Unreachable — loop exits via return inside the body. Defensive only.
|
|
1041
|
-
logger.warning(
|
|
1042
|
-
"slack.delivery_exhausted",
|
|
1043
|
-
last_status=last_status,
|
|
1044
|
-
last_error=last_error,
|
|
1045
|
-
)
|
|
1046
|
-
return False
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
# ── DBOS workflow ─────────────────────────────────────────────────────────────
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
@DBOS.workflow()
|
|
1053
|
-
async def ecosystem_daily_report_workflow(
|
|
1054
|
-
scheduled_time: datetime,
|
|
1055
|
-
context: Any,
|
|
1056
|
-
) -> dict[str, Any]:
|
|
1057
|
-
"""
|
|
1058
|
-
Daily ecosystem report workflow.
|
|
1059
|
-
|
|
1060
|
-
Triggered at 06:00 UTC by the ``ecosystem.daily.report`` cron schedule.
|
|
1061
|
-
Collects git, scheduler, event bus, and queue metrics; generates a
|
|
1062
|
-
Markdown report; writes it to ``reports/ecosystem/``.
|
|
1063
|
-
|
|
1064
|
-
On any unhandled exception, publishes ``ecosystem.daily.failed`` before
|
|
1065
|
-
re-raising so downstream alerting consumers are notified (TSK-3.5).
|
|
1066
|
-
"""
|
|
1067
|
-
today = date.today()
|
|
1068
|
-
logger.info("ecosystem_report.start", scheduled_at=scheduled_time.isoformat())
|
|
1069
|
-
|
|
1070
|
-
try:
|
|
1071
|
-
# ── Phase 2: use collector protocol ──────────────────────────────────
|
|
1072
|
-
import time
|
|
1073
|
-
|
|
1074
|
-
pipeline_start = time.monotonic()
|
|
1075
|
-
cfg = get_ecosystem_config()
|
|
1076
|
-
from vds_scheduler_orchestrator.workflows.collector_registry import (
|
|
1077
|
-
get_enabled_collectors,
|
|
1078
|
-
)
|
|
1079
|
-
from vds_scheduler_orchestrator.workflows.health_score import (
|
|
1080
|
-
compute_health_score_detail,
|
|
1081
|
-
health_score_to_dict,
|
|
1082
|
-
)
|
|
1083
|
-
from vds_scheduler_orchestrator.workflows.report_formatter import (
|
|
1084
|
-
format_adaptive_report,
|
|
1085
|
-
)
|
|
1086
|
-
|
|
1087
|
-
collectors = get_enabled_collectors(cfg)
|
|
1088
|
-
|
|
1089
|
-
async def _run_collector(collector: Any) -> CollectorResult:
|
|
1090
|
-
timeout_s: float = getattr(collector, "timeout_s", cfg.collector_timeout_s)
|
|
1091
|
-
try:
|
|
1092
|
-
return await asyncio.wait_for(
|
|
1093
|
-
collector.collect(), timeout=timeout_s
|
|
1094
|
-
)
|
|
1095
|
-
except TimeoutError:
|
|
1096
|
-
logger.warning(
|
|
1097
|
-
"collector.timed_out",
|
|
1098
|
-
section=collector.section,
|
|
1099
|
-
timeout_s=timeout_s,
|
|
1100
|
-
)
|
|
1101
|
-
return CollectorResult(
|
|
1102
|
-
section=collector.section,
|
|
1103
|
-
anomalies=[
|
|
1104
|
-
f"[unavailable] {collector.section}: "
|
|
1105
|
-
f"timed out after {timeout_s}s"
|
|
1106
|
-
],
|
|
1107
|
-
health_deductions=5,
|
|
1108
|
-
)
|
|
1109
|
-
except Exception as exc:
|
|
1110
|
-
error_text = str(exc) or type(exc).__name__
|
|
1111
|
-
logger.exception(
|
|
1112
|
-
"collector.failed",
|
|
1113
|
-
section=collector.section,
|
|
1114
|
-
error=error_text,
|
|
1115
|
-
)
|
|
1116
|
-
return CollectorResult(
|
|
1117
|
-
section=collector.section,
|
|
1118
|
-
anomalies=[
|
|
1119
|
-
f"[unavailable] {collector.section}: {error_text}"
|
|
1120
|
-
],
|
|
1121
|
-
health_deductions=5,
|
|
1122
|
-
)
|
|
1123
|
-
|
|
1124
|
-
# Phase 2 collectors are intentionally parallelized; per-collector
|
|
1125
|
-
# wait_for keeps a slow source from consuming the full report budget.
|
|
1126
|
-
results = list(await asyncio.gather(*(_run_collector(c) for c in collectors)))
|
|
1127
|
-
generation_duration_ms = int((time.monotonic() - pipeline_start) * 1000)
|
|
1128
|
-
|
|
1129
|
-
# Build backward-compatible Phase 1 data dicts for existing persist/formatter
|
|
1130
|
-
git_data = next(
|
|
1131
|
-
(r.metrics for r in results if r.section == "Git Activity"),
|
|
1132
|
-
{"repos": {}},
|
|
1133
|
-
)
|
|
1134
|
-
scheduler_data = next(
|
|
1135
|
-
(r.metrics for r in results if r.section == "Scheduler Status"),
|
|
1136
|
-
{
|
|
1137
|
-
"schedules": {"total": 0, "active": 0, "paused": 0, "by_orchestrator": {}},
|
|
1138
|
-
"aliases": {"total": 0, "by_orchestrator": {}},
|
|
1139
|
-
"chains": {"total": 0},
|
|
1140
|
-
},
|
|
1141
|
-
)
|
|
1142
|
-
event_data = next(
|
|
1143
|
-
(r.metrics for r in results if r.section == "Event Bus"),
|
|
1144
|
-
{"outbox_24h": 0, "subscriptions": {"total": 0, "by_topic": {}}, "latest_event_at": None},
|
|
1145
|
-
)
|
|
1146
|
-
queue_data = next(
|
|
1147
|
-
(r.metrics for r in results if r.section == "Queue Metrics"),
|
|
1148
|
-
{"workflows_by_status": {}, "enqueued_depth": 0, "pending_depth": 0, "success_24h": 0, "error_24h": 0},
|
|
1149
|
-
)
|
|
1150
|
-
|
|
1151
|
-
# TSK-3.1: load yesterday's run for delta comparison
|
|
1152
|
-
previous_run = await _load_previous_run(today)
|
|
1153
|
-
|
|
1154
|
-
# TSK-3.2: compute day-over-day deltas and Phase 2 health trend.
|
|
1155
|
-
deltas = _compute_deltas(queue_data, previous_run)
|
|
1156
|
-
previous_health = previous_run.get("health_score") if previous_run else None
|
|
1157
|
-
health_detail = compute_health_score_detail(results, previous_health)
|
|
1158
|
-
health_score = health_detail.score
|
|
1159
|
-
|
|
1160
|
-
# Wave 8 Lane Upsilon Fix 2: produce a SINGLE user-facing report
|
|
1161
|
-
# file. The legacy ``_generate_and_write_report`` writer (Phase 1
|
|
1162
|
-
# short summary) was emitting a second contradictory markdown
|
|
1163
|
-
# alongside the v2 (collector-aware) full report — the legacy file
|
|
1164
|
-
# said "✅ No anomalies detected" while the v2 file flagged real
|
|
1165
|
-
# collector anomalies, because legacy used only threshold
|
|
1166
|
-
# heuristics. We now compute the threshold heuristics inline (so
|
|
1167
|
-
# persistence / event count still see them) and write only the
|
|
1168
|
-
# full report to the canonical ``<date>-ecosystem-report.md``
|
|
1169
|
-
# filename (no ``-v2`` suffix).
|
|
1170
|
-
cfg = get_ecosystem_config()
|
|
1171
|
-
legacy_threshold_anomalies = _compute_legacy_threshold_anomalies(
|
|
1172
|
-
git_data, scheduler_data, event_data, queue_data, cfg
|
|
1173
|
-
)
|
|
1174
|
-
|
|
1175
|
-
# Phase 2: generate golden-signals full report (the only markdown
|
|
1176
|
-
# we now write to disk).
|
|
1177
|
-
report_text = format_adaptive_report(
|
|
1178
|
-
results,
|
|
1179
|
-
health_score,
|
|
1180
|
-
"full",
|
|
1181
|
-
today,
|
|
1182
|
-
deltas=deltas,
|
|
1183
|
-
)
|
|
1184
|
-
|
|
1185
|
-
report_dir = cfg.resolved_report_dir
|
|
1186
|
-
report_dir.mkdir(parents=True, exist_ok=True)
|
|
1187
|
-
report_path = report_dir / f"{today.isoformat()}-ecosystem-report.md"
|
|
1188
|
-
report_path.write_text(report_text, encoding="utf-8")
|
|
1189
|
-
report_path_str = str(report_path)
|
|
1190
|
-
logger.info("ecosystem_report.written", path=report_path_str)
|
|
1191
|
-
|
|
1192
|
-
# Wave 8 F1: aggregate anomalies from ALL CollectorResult.anomalies
|
|
1193
|
-
# lists (the same source the markdown formatter renders) PLUS the
|
|
1194
|
-
# legacy threshold-based detections. Persisting only the legacy
|
|
1195
|
-
# list left the JSONB column empty even when collectors had
|
|
1196
|
-
# emitted anomalies — a silent alerting blind spot for any
|
|
1197
|
-
# consumer querying ``jsonb_array_length(anomalies) > 0``. We
|
|
1198
|
-
# compute it once, here, and reuse for persistence + completion
|
|
1199
|
-
# event count so the JSONB row, the published anomaly_count, and
|
|
1200
|
-
# the markdown all stay in sync.
|
|
1201
|
-
persisted_anomalies = _aggregate_anomalies(results, legacy_threshold_anomalies)
|
|
1202
|
-
|
|
1203
|
-
# TSK-3.4: generate exec summary for notification consumers (Phase 1 style)
|
|
1204
|
-
from vds_scheduler_orchestrator.workflows.report_formatter import format_exec_summary
|
|
1205
|
-
|
|
1206
|
-
exec_summary = format_exec_summary(
|
|
1207
|
-
report_date=today,
|
|
1208
|
-
queue_data=queue_data,
|
|
1209
|
-
scheduler_data=scheduler_data,
|
|
1210
|
-
event_data=event_data,
|
|
1211
|
-
anomalies=persisted_anomalies,
|
|
1212
|
-
deltas=deltas,
|
|
1213
|
-
)
|
|
1214
|
-
|
|
1215
|
-
# Phase 2: persist with health_score and golden signals
|
|
1216
|
-
run_id = await _persist_report_run(
|
|
1217
|
-
report_date=today,
|
|
1218
|
-
report_path=report_path_str,
|
|
1219
|
-
anomalies=persisted_anomalies,
|
|
1220
|
-
git_data=git_data,
|
|
1221
|
-
scheduler_data=scheduler_data,
|
|
1222
|
-
event_data=event_data,
|
|
1223
|
-
queue_data=queue_data,
|
|
1224
|
-
health_score=health_score,
|
|
1225
|
-
golden_signals={
|
|
1226
|
-
**_merge_golden_signals(results),
|
|
1227
|
-
"health": health_score_to_dict(health_detail),
|
|
1228
|
-
},
|
|
1229
|
-
prometheus_summary=next((r.metrics for r in results if r.section == "Prometheus"), {}),
|
|
1230
|
-
infra_summary=next((r.metrics for r in results if r.section == "Infrastructure Health"), {}),
|
|
1231
|
-
test_summary=next((r.metrics for r in results if r.section == "Test Suite"), {}),
|
|
1232
|
-
worktree_summary=next((r.metrics for r in results if r.section == "Worktree Hygiene"), {}),
|
|
1233
|
-
spec_summary=next((r.metrics for r in results if r.section == "Spec Progress"), {}),
|
|
1234
|
-
memory_summary=next((r.metrics for r in results if r.section == "Memory Health"), {}),
|
|
1235
|
-
llm_summary=next((r.metrics for r in results if r.section == "LLM Usage"), {}),
|
|
1236
|
-
# ── Phase 3 collectors (FR-3.x): DORA, trend, security ────────────
|
|
1237
|
-
# Slack delivery state is initialised to False/None — the actual
|
|
1238
|
-
# delivery happens in the next step (``_deliver_slack_notification``)
|
|
1239
|
-
# and is recorded for the next run via the upsert path.
|
|
1240
|
-
dora_summary=next((r.metrics for r in results if r.section == "DORA Metrics"), {}),
|
|
1241
|
-
trend_summary=next((r.metrics for r in results if r.section == "Trend Forecast"), {}),
|
|
1242
|
-
security_summary=next((r.metrics for r in results if r.section == "Security Advisory"), {}),
|
|
1243
|
-
slack_delivered=False,
|
|
1244
|
-
slack_delivered_at=None,
|
|
1245
|
-
generation_duration_ms=generation_duration_ms,
|
|
1246
|
-
)
|
|
1247
|
-
|
|
1248
|
-
# TSK-P3-1.4: deliver Slack notification (FR-4.2). MUST NEVER BLOCK
|
|
1249
|
-
# the workflow — wrap in try/except, log + continue. Skip entirely if
|
|
1250
|
-
# the webhook URL is unset (default).
|
|
1251
|
-
try:
|
|
1252
|
-
if cfg.slack_webhook_url:
|
|
1253
|
-
from vds_scheduler_orchestrator.workflows.slack_formatter import (
|
|
1254
|
-
_build_slack_blocks,
|
|
1255
|
-
)
|
|
1256
|
-
|
|
1257
|
-
slack_blocks = _build_slack_blocks(
|
|
1258
|
-
health_score=health_score,
|
|
1259
|
-
exec_summary=exec_summary,
|
|
1260
|
-
anomalies=persisted_anomalies,
|
|
1261
|
-
)
|
|
1262
|
-
await _deliver_slack_notification(cfg.slack_webhook_url, slack_blocks)
|
|
1263
|
-
except Exception as slack_exc:
|
|
1264
|
-
logger.warning("slack_delivery_failed", error=str(slack_exc))
|
|
1265
|
-
|
|
1266
|
-
# TSK-2.4 + Wave 8 Lane Upsilon Fix 1: publish completion event to
|
|
1267
|
-
# the event bus. Per spec FR-2.3 the payload now also carries the
|
|
1268
|
-
# integer ``health_score`` and the DBOS ``workflow_id`` so
|
|
1269
|
-
# downstream subscribers can correlate the event with the run row
|
|
1270
|
-
# (``sched.ecosystem_report_runs``) and surface the score without
|
|
1271
|
-
# a round-trip query. ``DBOS.workflow_id`` is the canonical
|
|
1272
|
-
# accessor (mirrors ``envelope.py:103``); we coerce ``None`` →
|
|
1273
|
-
# ``""`` for the rare unit-test path that exercises the step
|
|
1274
|
-
# outside a workflow context.
|
|
1275
|
-
await _publish_completion_event(
|
|
1276
|
-
report_date=today,
|
|
1277
|
-
report_path=report_path_str,
|
|
1278
|
-
anomaly_count=len(persisted_anomalies),
|
|
1279
|
-
error_24h=queue_data.get("error_24h", 0),
|
|
1280
|
-
success_24h=queue_data.get("success_24h", 0),
|
|
1281
|
-
health_score=health_score,
|
|
1282
|
-
workflow_id=DBOS.workflow_id or "",
|
|
1283
|
-
exec_summary=exec_summary,
|
|
1284
|
-
)
|
|
1285
|
-
|
|
1286
|
-
logger.info(
|
|
1287
|
-
"ecosystem_report.complete",
|
|
1288
|
-
path=report_path_str,
|
|
1289
|
-
anomalies=len(persisted_anomalies),
|
|
1290
|
-
run_id=run_id,
|
|
1291
|
-
health_score=health_score,
|
|
1292
|
-
)
|
|
1293
|
-
|
|
1294
|
-
return {
|
|
1295
|
-
"report_path": report_path_str,
|
|
1296
|
-
"anomalies": persisted_anomalies,
|
|
1297
|
-
"run_id": run_id,
|
|
1298
|
-
"exec_summary": exec_summary,
|
|
1299
|
-
"git_repos_scanned": len(git_data.get("repos", {})),
|
|
1300
|
-
"schedules_active": scheduler_data["schedules"]["active"],
|
|
1301
|
-
"workflows_success_24h": queue_data.get("success_24h", 0),
|
|
1302
|
-
"workflows_error_24h": queue_data.get("error_24h", 0),
|
|
1303
|
-
"health_score": health_score,
|
|
1304
|
-
"collectors_run": len(results),
|
|
1305
|
-
}
|
|
1306
|
-
except Exception as exc:
|
|
1307
|
-
await _publish_failure_event(str(exc), today)
|
|
1308
|
-
raise
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
# ── Self-monitoring (TSK-3.5) ─────────────────────────────────────────────────
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
def check_missed_run(expected_hour: int = 6, grace_minutes: int = 30) -> dict[str, Any]:
|
|
1315
|
-
"""Check if today's report is missing past the expected time + grace period.
|
|
1316
|
-
|
|
1317
|
-
Callable externally (e.g. from a health-check endpoint or cron watchdog).
|
|
1318
|
-
Not a DBOS step — intentionally plain so it can be invoked outside a
|
|
1319
|
-
workflow context.
|
|
1320
|
-
|
|
1321
|
-
Returns
|
|
1322
|
-
-------
|
|
1323
|
-
dict
|
|
1324
|
-
``{"missed": bool, "report_date": str, "expected_by": str, "now": str}``
|
|
1325
|
-
"""
|
|
1326
|
-
now = datetime.now(UTC)
|
|
1327
|
-
today = now.date()
|
|
1328
|
-
expected_by = datetime(
|
|
1329
|
-
today.year,
|
|
1330
|
-
today.month,
|
|
1331
|
-
today.day,
|
|
1332
|
-
expected_hour,
|
|
1333
|
-
grace_minutes,
|
|
1334
|
-
tzinfo=UTC,
|
|
1335
|
-
)
|
|
1336
|
-
|
|
1337
|
-
if now < expected_by:
|
|
1338
|
-
return {
|
|
1339
|
-
"missed": False,
|
|
1340
|
-
"report_date": str(today),
|
|
1341
|
-
"expected_by": expected_by.isoformat(),
|
|
1342
|
-
"now": now.isoformat(),
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
session = _make_session()
|
|
1346
|
-
try:
|
|
1347
|
-
row = session.query(EcosystemReportRun).filter_by(report_date=today).first()
|
|
1348
|
-
return {
|
|
1349
|
-
"missed": row is None,
|
|
1350
|
-
"report_date": str(today),
|
|
1351
|
-
"expected_by": expected_by.isoformat(),
|
|
1352
|
-
"now": now.isoformat(),
|
|
1353
|
-
}
|
|
1354
|
-
finally:
|
|
1355
|
-
session.close()
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
# ── Bootstrap ─────────────────────────────────────────────────────────────────
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
# Published event topics (subscription catalog for future consumers):
|
|
1362
|
-
# - ecosystem.daily.completed
|
|
1363
|
-
# payload: {report_date, report_path, anomaly_count, error_24h,
|
|
1364
|
-
# success_24h, exec_summary}
|
|
1365
|
-
# - ecosystem.daily.failed
|
|
1366
|
-
# payload: {report_date, error}
|
|
1367
|
-
_PUBLISHED_TOPICS = (
|
|
1368
|
-
"ecosystem.daily.completed",
|
|
1369
|
-
"ecosystem.daily.failed",
|
|
1370
|
-
)
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
def bootstrap_ecosystem_report_schedule() -> None:
|
|
1374
|
-
"""
|
|
1375
|
-
Register the ecosystem daily report alias + schedule idempotently.
|
|
1376
|
-
|
|
1377
|
-
Also registers published event topics in the subscription catalog so
|
|
1378
|
-
future consumers can discover them (TSK-3.8).
|
|
1379
|
-
|
|
1380
|
-
Call from app.py lifespan AFTER DBOS.launch().
|
|
1381
|
-
"""
|
|
1382
|
-
cfg = get_config()
|
|
1383
|
-
try:
|
|
1384
|
-
register_workflows(
|
|
1385
|
-
{_REPORT_ALIAS: "vds_scheduler_orchestrator.workflows.ecosystem_report.ecosystem_daily_report_workflow"},
|
|
1386
|
-
orchestrator="scheduler_orchestrator",
|
|
1387
|
-
version=cfg.dbos_app_version,
|
|
1388
|
-
)
|
|
1389
|
-
except DuplicateAliasError:
|
|
1390
|
-
logger.debug("ecosystem_report.alias_already_registered")
|
|
1391
|
-
|
|
1392
|
-
try:
|
|
1393
|
-
create_schedule(
|
|
1394
|
-
_REPORT_SCHEDULE_NAME,
|
|
1395
|
-
owner_orchestrator="scheduler_orchestrator",
|
|
1396
|
-
workflow_alias=_REPORT_ALIAS,
|
|
1397
|
-
cron_expr=_REPORT_CRON,
|
|
1398
|
-
queue_name=_REPORT_QUEUE,
|
|
1399
|
-
)
|
|
1400
|
-
except DuplicateScheduleError:
|
|
1401
|
-
logger.debug("ecosystem_report.schedule_already_exists")
|
|
1402
|
-
|
|
1403
|
-
logger.info(
|
|
1404
|
-
"ecosystem_report.topics_registered",
|
|
1405
|
-
topics=list(_PUBLISHED_TOPICS),
|
|
1406
|
-
)
|