@ngocsangairvds/vsaf 4.1.9 → 4.1.10

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.
Files changed (1053) hide show
  1. package/package.json +1 -1
  2. package/packages/cli/dist/commands/install.d.ts +1 -1
  3. package/packages/cli/dist/commands/install.d.ts.map +1 -1
  4. package/packages/cli/dist/commands/install.js +25 -13
  5. package/packages/cli/dist/commands/install.js.map +1 -1
  6. package/packages/cli/dist/commands/skill.d.ts.map +1 -1
  7. package/packages/cli/dist/commands/skill.js +5 -1
  8. package/packages/cli/dist/commands/skill.js.map +1 -1
  9. package/skills/vds-skill/install-deps.mjs +238 -0
  10. package/skills/vds-skill/pack.yaml +8 -0
  11. package/skills/vds-skill/runtime/.claude/phase7-CLOSURE.md +100 -0
  12. package/skills/vds-skill/runtime/.dockerignore +62 -0
  13. package/skills/vds-skill/runtime/.github/ISSUE_TEMPLATE/cli-change.md +92 -0
  14. package/skills/vds-skill/runtime/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +48 -0
  15. package/skills/vds-skill/runtime/.github/workflows/chaos-smoke.yml +266 -0
  16. package/skills/vds-skill/runtime/.github/workflows/confluence-sync.yml +44 -0
  17. package/skills/vds-skill/runtime/.github/workflows/docs-confluence-evidence.yml +170 -0
  18. package/skills/vds-skill/runtime/.github/workflows/docs-quality.yml +59 -0
  19. package/skills/vds-skill/runtime/.github/workflows/lint-and-test.yml +90 -0
  20. package/skills/vds-skill/runtime/.github/workflows/scheduler-load-smoke.yml +104 -0
  21. package/skills/vds-skill/runtime/.github/workflows/telegram-bridge-ci.yml +131 -0
  22. package/skills/vds-skill/runtime/.graphifyignore +29 -0
  23. package/skills/vds-skill/runtime/.importlinter +86 -0
  24. package/skills/vds-skill/runtime/.mcp.json +11 -0
  25. package/skills/vds-skill/runtime/.pre-commit-config.yaml +62 -0
  26. package/skills/vds-skill/runtime/.ruffignore +3 -0
  27. package/skills/vds-skill/runtime/AGENTS.md +250 -0
  28. package/skills/vds-skill/runtime/AGENTS.vi.md +92 -0
  29. package/skills/vds-skill/runtime/ECOSYSTEM-CHANGELOG.md +52 -0
  30. package/skills/vds-skill/runtime/ECOSYSTEM-DOCS.md +602 -0
  31. package/skills/vds-skill/runtime/ECOSYSTEM_ALIGNMENT.md +133 -0
  32. package/skills/vds-skill/runtime/Makefile +119 -0
  33. package/skills/vds-skill/runtime/README.md +103 -0
  34. package/skills/vds-skill/runtime/bitbucket_manifest_mapping.toml +34 -0
  35. package/skills/vds-skill/runtime/bitbucket_orchestrator/ARCHITECTURE_ANALYSIS.md +258 -0
  36. package/skills/vds-skill/runtime/bitbucket_orchestrator/BITBUCKET_API_PRACTICES.md +393 -0
  37. package/skills/vds-skill/runtime/bitbucket_orchestrator/EVALUATION_REPORT.md +61 -0
  38. package/skills/vds-skill/runtime/bitbucket_orchestrator/FEATURES.md +908 -0
  39. package/skills/vds-skill/runtime/bitbucket_orchestrator/README.md +817 -0
  40. package/skills/vds-skill/runtime/bitbucket_orchestrator/pyproject.toml +49 -0
  41. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/__init__.py +50 -0
  42. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/async_client.py +641 -0
  43. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/cli.py +2271 -0
  44. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/client.py +2693 -0
  45. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/config.py +186 -0
  46. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/errors.py +34 -0
  47. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/factory.py +185 -0
  48. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/parsers.py +113 -0
  49. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/protocols.py +244 -0
  50. package/skills/vds-skill/runtime/bitbucket_orchestrator/src/vds_bitbucket_orchestrator/repo_ops.py +325 -0
  51. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/__init__.py +8 -0
  52. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/conftest.py +65 -0
  53. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_advanced_search.py +155 -0
  54. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_async_client.py +505 -0
  55. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_branch_permissions.py +172 -0
  56. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_cli.py +113 -0
  57. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_cli_archive.py +122 -0
  58. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_cli_clone.py +131 -0
  59. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client.py +207 -0
  60. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_archive.py +73 -0
  61. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_branch_conditions.py +101 -0
  62. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_code_advanced.py +180 -0
  63. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_code_file.py +33 -0
  64. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_deployment_environments.py +193 -0
  65. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_issues.py +163 -0
  66. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_pipelines_advanced.py +171 -0
  67. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_pr_blockers.py +118 -0
  68. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_client_repository_variables.py +155 -0
  69. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_code.py +98 -0
  70. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_code_advanced.py +279 -0
  71. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_code_insights.py +334 -0
  72. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_conditions.py +149 -0
  73. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_config.py +297 -0
  74. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_deployment_env.py +352 -0
  75. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_errors.py +67 -0
  76. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_factory.py +352 -0
  77. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_fork_operations.py +203 -0
  78. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_issue_cli.py +262 -0
  79. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_pipeline_advanced.py +265 -0
  80. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_pr_blocker.py +206 -0
  81. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_protocols.py +336 -0
  82. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_repo_ops_archive.py +169 -0
  83. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_repo_ops_clone.py +115 -0
  84. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_repo_ops_parsing.py +149 -0
  85. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_repo_settings.py +336 -0
  86. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_repo_variables.py +266 -0
  87. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_webhooks.py +188 -0
  88. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/test_workspace.py +234 -0
  89. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/unit/__init__.py +0 -0
  90. package/skills/vds-skill/runtime/bitbucket_orchestrator/tests/unit/test_parsers.py +254 -0
  91. package/skills/vds-skill/runtime/brd_orchestrator/README.md +29 -0
  92. package/skills/vds-skill/runtime/brd_orchestrator/pyproject.toml +63 -0
  93. package/skills/vds-skill/runtime/brd_orchestrator/src/vds_brd_orchestrator/__init__.py +17 -0
  94. package/skills/vds-skill/runtime/brd_orchestrator/src/vds_brd_orchestrator/cli.py +187 -0
  95. package/skills/vds-skill/runtime/brd_orchestrator/src/vds_brd_orchestrator/validator.py +121 -0
  96. package/skills/vds-skill/runtime/brd_orchestrator/tests/__init__.py +0 -0
  97. package/skills/vds-skill/runtime/brd_orchestrator/tests/test_cli.py +62 -0
  98. package/skills/vds-skill/runtime/brd_orchestrator/tests/test_validator.py +33 -0
  99. package/skills/vds-skill/runtime/code/code_evidence_pack.json +435 -0
  100. package/skills/vds-skill/runtime/confluence_orchestrator/Dockerfile +19 -0
  101. package/skills/vds-skill/runtime/confluence_orchestrator/README.md +479 -0
  102. package/skills/vds-skill/runtime/confluence_orchestrator/SYNC_SCRIPTS.md +127 -0
  103. package/skills/vds-skill/runtime/confluence_orchestrator/SYNC_STANDARDIZATION.md +108 -0
  104. package/skills/vds-skill/runtime/confluence_orchestrator/pyproject.toml +50 -0
  105. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/__init__.py +56 -0
  106. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/async_client.py +100 -0
  107. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/cli.py +3160 -0
  108. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/config.py +215 -0
  109. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/content.py +368 -0
  110. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/content_v2.py +144 -0
  111. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/crawl_tree.py +1833 -0
  112. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/errors.py +44 -0
  113. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/eventing.py +111 -0
  114. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/http.py +1850 -0
  115. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/orchestration.py +166 -0
  116. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/protocols.py +61 -0
  117. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/reporting.py +78 -0
  118. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/tree.py +122 -0
  119. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/tree_copier.py +431 -0
  120. package/skills/vds-skill/runtime/confluence_orchestrator/sync_pdfs_from_markdown.py +203 -0
  121. package/skills/vds-skill/runtime/confluence_orchestrator/sync_pdfs_to_confluence.py +299 -0
  122. package/skills/vds-skill/runtime/confluence_orchestrator/sync_png_attachments.py +299 -0
  123. package/skills/vds-skill/runtime/confluence_orchestrator/tests/conftest.py +46 -0
  124. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_advanced_content.py +252 -0
  125. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_advanced_search.py +193 -0
  126. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_async_client.py +104 -0
  127. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_cache_management.py +246 -0
  128. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_cli.py +716 -0
  129. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_config.py +130 -0
  130. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_content.py +192 -0
  131. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_content_flags.py +27 -0
  132. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_content_labels.py +94 -0
  133. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_crawl_tree.py +2252 -0
  134. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_degraded_write_safety.py +176 -0
  135. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_draft_management.py +225 -0
  136. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_errors.py +75 -0
  137. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_eventing.py +73 -0
  138. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_eventing_chaos.py +37 -0
  139. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_eventing_rate_limit.py +44 -0
  140. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_eventing_timeout.py +49 -0
  141. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_export.py +231 -0
  142. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_history.py +217 -0
  143. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_http.py +375 -0
  144. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_orchestration.py +93 -0
  145. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_reporting.py +24 -0
  146. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_search_cql.py +36 -0
  147. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_space_management.py +236 -0
  148. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_space_permissions.py +384 -0
  149. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_tree_copier.py +644 -0
  150. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_tree_copier_remap.py +289 -0
  151. package/skills/vds-skill/runtime/confluence_orchestrator/tests/test_user_group_management.py +387 -0
  152. package/skills/vds-skill/runtime/diagram_generator/README.md +663 -0
  153. package/skills/vds-skill/runtime/diagram_generator/ci_validate.sh +16 -0
  154. package/skills/vds-skill/runtime/diagram_generator/docs-nttc/projects/INSURANCE/analysis/current-state/insurance-claim-business/insurance-claim-business-component.png +0 -0
  155. package/skills/vds-skill/runtime/diagram_generator/docs-nttc/projects/INSURANCE/analysis/current-state/insurance-claim-business/insurance-claim-business-component.puml +23 -0
  156. package/skills/vds-skill/runtime/diagram_generator/docs-nttc/projects/INSURANCE/analysis/current-state/insurance-claim-business/insurance-claim-business-sequence.png +0 -0
  157. package/skills/vds-skill/runtime/diagram_generator/docs-nttc/projects/INSURANCE/analysis/current-state/insurance-claim-business/insurance-claim-business-sequence.puml +21 -0
  158. package/skills/vds-skill/runtime/diagram_generator/docs-nttc/projects/INSURANCE/analysis/current-state/insurance-claim-business/insurance-claim-business-usecase.png +0 -0
  159. package/skills/vds-skill/runtime/diagram_generator/docs-nttc/projects/INSURANCE/analysis/current-state/insurance-claim-business/insurance-claim-business-usecase.puml +14 -0
  160. package/skills/vds-skill/runtime/diagram_generator/examples/github-actions-validate.yml +39 -0
  161. package/skills/vds-skill/runtime/diagram_generator/generate_all_diagrams.py +827 -0
  162. package/skills/vds-skill/runtime/diagram_generator/generate_insurance_c4_diagrams.py +261 -0
  163. package/skills/vds-skill/runtime/diagram_generator/generate_insurance_c4_quick.py +486 -0
  164. package/skills/vds-skill/runtime/diagram_generator/pyproject.toml +28 -0
  165. package/skills/vds-skill/runtime/diagram_generator/render_png.py +59 -0
  166. package/skills/vds-skill/runtime/diagram_generator/src/vds_diagram_generator/__init__.py +3 -0
  167. package/skills/vds-skill/runtime/diagram_generator/src/vds_diagram_generator/cli.py +50 -0
  168. package/skills/vds-skill/runtime/diagram_generator/test_c4_hierarchical.py +142 -0
  169. package/skills/vds-skill/runtime/diagram_generator/test_c4_quick.py +131 -0
  170. package/skills/vds-skill/runtime/diagram_generator/tests/__init__.py +0 -0
  171. package/skills/vds-skill/runtime/diagram_generator/tests/test_analyzer_completeness.py +260 -0
  172. package/skills/vds-skill/runtime/diagram_generator/tests/test_c4_syntax_correctness.py +138 -0
  173. package/skills/vds-skill/runtime/diagram_generator/tests/test_component_coverage.py +182 -0
  174. package/skills/vds-skill/runtime/diagram_generator/tests/test_mermaid_output.py +80 -0
  175. package/skills/vds-skill/runtime/diagram_generator/tests/test_png_generation.py +112 -0
  176. package/skills/vds-skill/runtime/diagram_generator/tests/test_scenario_templates.py +15 -0
  177. package/skills/vds-skill/runtime/diagram_generator/tests/test_sequence_accuracy.py +93 -0
  178. package/skills/vds-skill/runtime/diagram_generator/tests/test_structurizr_export.py +177 -0
  179. package/skills/vds-skill/runtime/diagram_generator/tests/test_style_consistency.py +174 -0
  180. package/skills/vds-skill/runtime/diagram_generator/tests/test_usecase_generator.py +201 -0
  181. package/skills/vds-skill/runtime/diagram_generator/tests/test_usecase_integration.py +124 -0
  182. package/skills/vds-skill/runtime/docker/.dockerignore +38 -0
  183. package/skills/vds-skill/runtime/docker/ADR.md +392 -0
  184. package/skills/vds-skill/runtime/docker/Dockerfile +68 -0
  185. package/skills/vds-skill/runtime/docker/MIGRATION.md +453 -0
  186. package/skills/vds-skill/runtime/docker/README.md +347 -0
  187. package/skills/vds-skill/runtime/docker/ROLLBACK.md +596 -0
  188. package/skills/vds-skill/runtime/docker/compose.phase2-verification.yml +31 -0
  189. package/skills/vds-skill/runtime/docker/docker-compose.cli.yml +206 -0
  190. package/skills/vds-skill/runtime/docker/docker-compose.infra.yml +276 -0
  191. package/skills/vds-skill/runtime/docker/docker-compose.services.yml +425 -0
  192. package/skills/vds-skill/runtime/docker/infrastructure/init-schemas.sql +177 -0
  193. package/skills/vds-skill/runtime/docker/infrastructure/pgbouncer/pgbouncer.ini +75 -0
  194. package/skills/vds-skill/runtime/docker/infrastructure/pgbouncer/userlist.txt +50 -0
  195. package/skills/vds-skill/runtime/docker/infrastructure/pgbouncer/userlist.txt.template +36 -0
  196. package/skills/vds-skill/runtime/docs/.confluence-evidence/.gitkeep +0 -0
  197. package/skills/vds-skill/runtime/docs/.confluence-evidence/PREFLIGHT.md +132 -0
  198. package/skills/vds-skill/runtime/docs/.confluence-evidence/README.md +84 -0
  199. package/skills/vds-skill/runtime/docs/.confluence.yaml +157 -0
  200. package/skills/vds-skill/runtime/docs/.freshness.yaml +54 -0
  201. package/skills/vds-skill/runtime/docs/README.md +235 -0
  202. package/skills/vds-skill/runtime/docs/agents/README.md +33 -0
  203. package/skills/vds-skill/runtime/docs/agents/explanation/data-flow.md +132 -0
  204. package/skills/vds-skill/runtime/docs/agents/explanation/development-roadmap.md +49 -0
  205. package/skills/vds-skill/runtime/docs/agents/explanation/features-overview.md +62 -0
  206. package/skills/vds-skill/runtime/docs/agents/explanation/index.md +36 -0
  207. package/skills/vds-skill/runtime/docs/agents/explanation/runtime-verification-and-gap-reporting.md +127 -0
  208. package/skills/vds-skill/runtime/docs/agents/explanation/system-architecture.md +139 -0
  209. package/skills/vds-skill/runtime/docs/agents/explanation/whats-new.md +75 -0
  210. package/skills/vds-skill/runtime/docs/agents/explanation/who-ecosystem-introduction.md +65 -0
  211. package/skills/vds-skill/runtime/docs/agents/explanation/who-ecosystem-model.md +41 -0
  212. package/skills/vds-skill/runtime/docs/agents/how-to/02-using-vds-ai-memory.md +98 -0
  213. package/skills/vds-skill/runtime/docs/agents/how-to/03-memory-cross-agent.md +241 -0
  214. package/skills/vds-skill/runtime/docs/agents/how-to/04-using-progress-reports.md +240 -0
  215. package/skills/vds-skill/runtime/docs/agents/how-to/08-semantic-search.md +46 -0
  216. package/skills/vds-skill/runtime/docs/agents/how-to/apply-phase3-migration.md +148 -0
  217. package/skills/vds-skill/runtime/docs/agents/how-to/choose-the-right-command-or-skill.md +34 -0
  218. package/skills/vds-skill/runtime/docs/agents/how-to/contribute-new-orchestrator.md +149 -0
  219. package/skills/vds-skill/runtime/docs/agents/how-to/decision-tree.md +63 -0
  220. package/skills/vds-skill/runtime/docs/agents/how-to/first-audit-run.md +83 -0
  221. package/skills/vds-skill/runtime/docs/agents/how-to/index.md +49 -0
  222. package/skills/vds-skill/runtime/docs/agents/how-to/install-and-bootstrap-who-scripts-and-skills.md +314 -0
  223. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/analytics-pipeline-workflow.md +165 -0
  224. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/code-quality-gate-workflow.md +138 -0
  225. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/confluence-bitbucket-sync-workflow.md +130 -0
  226. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/document-delivery-workflow.md +142 -0
  227. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/memory-progress-workflow.md +140 -0
  228. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/research-spec-audit-workflow.md +135 -0
  229. package/skills/vds-skill/runtime/docs/agents/how-to/phase131-all-project-preparation.md +211 -0
  230. package/skills/vds-skill/runtime/docs/agents/how-to/phase131-bounded-parallel-analysis.md +123 -0
  231. package/skills/vds-skill/runtime/docs/agents/how-to/phase131-confluence-upload-recovery.md +204 -0
  232. package/skills/vds-skill/runtime/docs/agents/how-to/phase132-department-preparation.md +144 -0
  233. package/skills/vds-skill/runtime/docs/agents/how-to/run-ecosystem-daily-report.md +213 -0
  234. package/skills/vds-skill/runtime/docs/agents/how-to/tips-and-tricks.md +138 -0
  235. package/skills/vds-skill/runtime/docs/agents/how-to/troubleshooting-guide.md +221 -0
  236. package/skills/vds-skill/runtime/docs/agents/reference/agent-operational-contract.md +162 -0
  237. package/skills/vds-skill/runtime/docs/agents/reference/alignment-phase179-report.md +144 -0
  238. package/skills/vds-skill/runtime/docs/agents/reference/audit-triage-playbook.md +256 -0
  239. package/skills/vds-skill/runtime/docs/agents/reference/backup-restore.md +132 -0
  240. package/skills/vds-skill/runtime/docs/agents/reference/bitbucket-orchestrator.md +56 -0
  241. package/skills/vds-skill/runtime/docs/agents/reference/brd-orchestrator.md +52 -0
  242. package/skills/vds-skill/runtime/docs/agents/reference/capability-coverage-review.md +51 -0
  243. package/skills/vds-skill/runtime/docs/agents/reference/ci-workflows.md +98 -0
  244. package/skills/vds-skill/runtime/docs/agents/reference/circular-dependency-orchestrator.md +55 -0
  245. package/skills/vds-skill/runtime/docs/agents/reference/cli-commands.md +583 -0
  246. package/skills/vds-skill/runtime/docs/agents/reference/cli-development-standards.md +41 -0
  247. package/skills/vds-skill/runtime/docs/agents/reference/cli-help-matrix.md +84 -0
  248. package/skills/vds-skill/runtime/docs/agents/reference/common-errors.md +126 -0
  249. package/skills/vds-skill/runtime/docs/agents/reference/configuration-reference.md +128 -0
  250. package/skills/vds-skill/runtime/docs/agents/reference/confluence-orchestrator.md +56 -0
  251. package/skills/vds-skill/runtime/docs/agents/reference/confluence-sync-target.md +111 -0
  252. package/skills/vds-skill/runtime/docs/agents/reference/confluence-sync.md +46 -0
  253. package/skills/vds-skill/runtime/docs/agents/reference/db-query-orchestrator.md +93 -0
  254. package/skills/vds-skill/runtime/docs/agents/reference/diagrams-orchestrator.md +52 -0
  255. package/skills/vds-skill/runtime/docs/agents/reference/ecosystem-daily-report.md +229 -0
  256. package/skills/vds-skill/runtime/docs/agents/reference/elastic-orchestrator.md +57 -0
  257. package/skills/vds-skill/runtime/docs/agents/reference/env-git-helper.md +216 -0
  258. package/skills/vds-skill/runtime/docs/agents/reference/evolution-orchestrator.md +113 -0
  259. package/skills/vds-skill/runtime/docs/agents/reference/excel-orchestrator.md +51 -0
  260. package/skills/vds-skill/runtime/docs/agents/reference/git-orchestrator.md +62 -0
  261. package/skills/vds-skill/runtime/docs/agents/reference/google-sheets-orchestrator.md +51 -0
  262. package/skills/vds-skill/runtime/docs/agents/reference/grafana-orchestrator.md +52 -0
  263. package/skills/vds-skill/runtime/docs/agents/reference/hexagonal-orchestrator.md +64 -0
  264. package/skills/vds-skill/runtime/docs/agents/reference/index.md +36 -0
  265. package/skills/vds-skill/runtime/docs/agents/reference/infrastructure-v2.15.md +67 -0
  266. package/skills/vds-skill/runtime/docs/agents/reference/intellij-orchestrator.md +50 -0
  267. package/skills/vds-skill/runtime/docs/agents/reference/jira-orchestrator.md +60 -0
  268. package/skills/vds-skill/runtime/docs/agents/reference/links-orchestrator.md +57 -0
  269. package/skills/vds-skill/runtime/docs/agents/reference/lint-cli.md +99 -0
  270. package/skills/vds-skill/runtime/docs/agents/reference/lsp-orchestrator.md +51 -0
  271. package/skills/vds-skill/runtime/docs/agents/reference/markdown-orchestrator.md +53 -0
  272. package/skills/vds-skill/runtime/docs/agents/reference/mcp-orchestrator.md +88 -0
  273. package/skills/vds-skill/runtime/docs/agents/reference/memory-orchestrator.md +53 -0
  274. package/skills/vds-skill/runtime/docs/agents/reference/metabase-orchestrator.md +51 -0
  275. package/skills/vds-skill/runtime/docs/agents/reference/migration-playbook.md +71 -0
  276. package/skills/vds-skill/runtime/docs/agents/reference/multi-agent-orchestrator.md +52 -0
  277. package/skills/vds-skill/runtime/docs/agents/reference/openapi-orchestrator.md +57 -0
  278. package/skills/vds-skill/runtime/docs/agents/reference/orchestrator-architecture.md +194 -0
  279. package/skills/vds-skill/runtime/docs/agents/reference/orchestrator-comparison-matrix.md +79 -0
  280. package/skills/vds-skill/runtime/docs/agents/reference/orchestrator-index.md +73 -0
  281. package/skills/vds-skill/runtime/docs/agents/reference/pdf-orchestrator.md +57 -0
  282. package/skills/vds-skill/runtime/docs/agents/reference/portable-paths-and-config.md +0 -0
  283. package/skills/vds-skill/runtime/docs/agents/reference/portable-paths-validation-matrix.md +129 -0
  284. package/skills/vds-skill/runtime/docs/agents/reference/progress-orchestrator.md +51 -0
  285. package/skills/vds-skill/runtime/docs/agents/reference/progress-report-cli.md +215 -0
  286. package/skills/vds-skill/runtime/docs/agents/reference/public-interface-orchestrator.md +73 -0
  287. package/skills/vds-skill/runtime/docs/agents/reference/research-orchestrator.md +53 -0
  288. package/skills/vds-skill/runtime/docs/agents/reference/schema-orchestrator.md +57 -0
  289. package/skills/vds-skill/runtime/docs/agents/reference/search-tools.md +34 -0
  290. package/skills/vds-skill/runtime/docs/agents/reference/skills-commands.md +256 -0
  291. package/skills/vds-skill/runtime/docs/agents/reference/skills-reference.md +32 -0
  292. package/skills/vds-skill/runtime/docs/agents/reference/sonarqube-orchestrator.md +62 -0
  293. package/skills/vds-skill/runtime/docs/agents/reference/spec-orchestrator.md +56 -0
  294. package/skills/vds-skill/runtime/docs/agents/reference/structure-orchestrator.md +69 -0
  295. package/skills/vds-skill/runtime/docs/agents/reference/system-requirements.md +76 -0
  296. package/skills/vds-skill/runtime/docs/agents/reference/tasks-orchestrator.md +53 -0
  297. package/skills/vds-skill/runtime/docs/agents/reference/validation-and-sync-notes.md +54 -0
  298. package/skills/vds-skill/runtime/docs/agents/reference/vds-ai-memory-api.md +51 -0
  299. package/skills/vds-skill/runtime/docs/agents/reference/vds-cli-reference.md +34 -0
  300. package/skills/vds-skill/runtime/docs/agents/reference/who-capability-inventory.md +96 -0
  301. package/skills/vds-skill/runtime/docs/agents/reference/who-capability-routing-matrix.md +14 -0
  302. package/skills/vds-skill/runtime/docs/agents/tutorials/feature-progression-guide.md +112 -0
  303. package/skills/vds-skill/runtime/docs/agents/tutorials/index.md +36 -0
  304. package/skills/vds-skill/runtime/docs/agents/tutorials/quick-start.md +50 -0
  305. package/skills/vds-skill/runtime/docs/agents/tutorials/who-skills-and-scripts-onboarding.md +47 -0
  306. package/skills/vds-skill/runtime/docs/agents/tutorials/zero-to-productive-developer.md +339 -0
  307. package/skills/vds-skill/runtime/docs/confluence/IMPLEMENTATION-SUMMARY.md +78 -0
  308. package/skills/vds-skill/runtime/docs/confluence/SYNC-GUIDE.md +47 -0
  309. package/skills/vds-skill/runtime/docs/deployment/offline-docker-image-load.md +59 -0
  310. package/skills/vds-skill/runtime/docs/evolution-auto-run-rollout.md +325 -0
  311. package/skills/vds-skill/runtime/docs/evolution-loop-deep-integration.md +496 -0
  312. package/skills/vds-skill/runtime/docs/evolution-loop-integration-guide.md +359 -0
  313. package/skills/vds-skill/runtime/docs/openspace-schema-snapshot.md +73 -0
  314. package/skills/vds-skill/runtime/docs/operations/sla-mttr-policy.md +44 -0
  315. package/skills/vds-skill/runtime/docs/p0-closure-evidence/SUMMARY.md +58 -0
  316. package/skills/vds-skill/runtime/docs/p4-closure-evidence/.gitkeep +0 -0
  317. package/skills/vds-skill/runtime/docs/p4-closure-evidence/smoke-20260427T024137Z-b95b586b.json +15 -0
  318. package/skills/vds-skill/runtime/docs/p8-preflight-evidence/alembic-and-runtime-advisory-locks.md +45 -0
  319. package/skills/vds-skill/runtime/docs/p8-preflight-evidence/dbos-listen-notify.md +54 -0
  320. package/skills/vds-skill/runtime/docs/p8-preflight-evidence/pgbouncer-search-path-empirical.md +110 -0
  321. package/skills/vds-skill/runtime/docs/p8-preflight-evidence/pgvector-set-local-audit.md +51 -0
  322. package/skills/vds-skill/runtime/docs/p8-preflight-evidence/topology-decision-session-mode.md +57 -0
  323. package/skills/vds-skill/runtime/docs/phases/CHANGELOG.md +103 -0
  324. package/skills/vds-skill/runtime/docs/phases/PHASE_125_COMPLETION_AND_MERGE.md +212 -0
  325. package/skills/vds-skill/runtime/docs/phases/phase125/IMPLEMENTATION_REPORT.md +227 -0
  326. package/skills/vds-skill/runtime/docs/phases/phase125/TSK-125.10-11-implementation-summary.md +196 -0
  327. package/skills/vds-skill/runtime/docs/phases/phase125/profile-patch-ollama-local-anthropic.md +122 -0
  328. package/skills/vds-skill/runtime/docs/phases/phase125_completion_summary.md +369 -0
  329. package/skills/vds-skill/runtime/docs/phases/phase125_llm_analysis_skill.md +164 -0
  330. package/skills/vds-skill/runtime/docs/phases/phase125_merge_complete.md +147 -0
  331. package/skills/vds-skill/runtime/docs/phases/phase125_skill_runtime_closure_20260321.md +91 -0
  332. package/skills/vds-skill/runtime/docs/phases/phase2-portable-paths/closure-handoff-summary-2026-03-23.md +290 -0
  333. package/skills/vds-skill/runtime/docs/phases/phase2-portable-paths/remaining-risk-register-2026-03-25.md +143 -0
  334. package/skills/vds-skill/runtime/docs/phases/phase2-portable-paths/verification-evidence-2026-03-23.md +135 -0
  335. package/skills/vds-skill/runtime/docs/v0-sunset-known-issues.md +88 -0
  336. package/skills/vds-skill/runtime/docs/vi/TRANSLATION-BACKLOG.md +72 -0
  337. package/skills/vds-skill/runtime/docs/vi/agents/README.md +41 -0
  338. package/skills/vds-skill/runtime/docs/vi/agents/explanation/features-overview.md +29 -0
  339. package/skills/vds-skill/runtime/docs/vi/agents/explanation/index.md +14 -0
  340. package/skills/vds-skill/runtime/docs/vi/agents/explanation/runtime-verification-and-gap-reporting.md +129 -0
  341. package/skills/vds-skill/runtime/docs/vi/agents/explanation/whats-new.md +37 -0
  342. package/skills/vds-skill/runtime/docs/vi/agents/explanation/who-ecosystem-introduction.md +21 -0
  343. package/skills/vds-skill/runtime/docs/vi/agents/explanation/who-ecosystem-model.md +36 -0
  344. package/skills/vds-skill/runtime/docs/vi/agents/how-to/02-using-vds-ai-memory.md +100 -0
  345. package/skills/vds-skill/runtime/docs/vi/agents/how-to/03-memory-cross-agent.md +243 -0
  346. package/skills/vds-skill/runtime/docs/vi/agents/how-to/04-using-progress-reports.md +242 -0
  347. package/skills/vds-skill/runtime/docs/vi/agents/how-to/08-semantic-search.md +16 -0
  348. package/skills/vds-skill/runtime/docs/vi/agents/how-to/choose-the-right-command-or-skill.md +36 -0
  349. package/skills/vds-skill/runtime/docs/vi/agents/how-to/decision-tree.md +77 -0
  350. package/skills/vds-skill/runtime/docs/vi/agents/how-to/first-audit-run.md +85 -0
  351. package/skills/vds-skill/runtime/docs/vi/agents/how-to/index.md +21 -0
  352. package/skills/vds-skill/runtime/docs/vi/agents/how-to/install-and-bootstrap-who-scripts-and-skills.md +156 -0
  353. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/analytics-pipeline-workflow.md +174 -0
  354. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/code-quality-gate-workflow.md +147 -0
  355. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/confluence-bitbucket-sync-workflow.md +139 -0
  356. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/document-delivery-workflow.md +151 -0
  357. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/memory-progress-workflow.md +149 -0
  358. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/research-spec-audit-workflow.md +144 -0
  359. package/skills/vds-skill/runtime/docs/vi/agents/how-to/phase131-all-project-preparation.md +213 -0
  360. package/skills/vds-skill/runtime/docs/vi/agents/how-to/phase131-bounded-parallel-analysis.md +125 -0
  361. package/skills/vds-skill/runtime/docs/vi/agents/how-to/phase131-confluence-upload-recovery.md +206 -0
  362. package/skills/vds-skill/runtime/docs/vi/agents/how-to/phase132-department-preparation.md +146 -0
  363. package/skills/vds-skill/runtime/docs/vi/agents/how-to/tips-and-tricks.md +34 -0
  364. package/skills/vds-skill/runtime/docs/vi/agents/how-to/troubleshooting-guide.md +36 -0
  365. package/skills/vds-skill/runtime/docs/vi/agents/reference/agent-operational-contract.md +98 -0
  366. package/skills/vds-skill/runtime/docs/vi/agents/reference/audit-triage-playbook.md +258 -0
  367. package/skills/vds-skill/runtime/docs/vi/agents/reference/bitbucket-orchestrator.md +30 -0
  368. package/skills/vds-skill/runtime/docs/vi/agents/reference/brd-orchestrator.md +29 -0
  369. package/skills/vds-skill/runtime/docs/vi/agents/reference/capability-coverage-review.md +46 -0
  370. package/skills/vds-skill/runtime/docs/vi/agents/reference/circular-dependency-orchestrator.md +29 -0
  371. package/skills/vds-skill/runtime/docs/vi/agents/reference/cli-commands.md +409 -0
  372. package/skills/vds-skill/runtime/docs/vi/agents/reference/cli-development-standards.md +19 -0
  373. package/skills/vds-skill/runtime/docs/vi/agents/reference/cli-help-matrix.md +71 -0
  374. package/skills/vds-skill/runtime/docs/vi/agents/reference/common-errors.md +133 -0
  375. package/skills/vds-skill/runtime/docs/vi/agents/reference/configuration-reference.md +25 -0
  376. package/skills/vds-skill/runtime/docs/vi/agents/reference/confluence-orchestrator.md +30 -0
  377. package/skills/vds-skill/runtime/docs/vi/agents/reference/db-query-orchestrator.md +34 -0
  378. package/skills/vds-skill/runtime/docs/vi/agents/reference/diagrams-orchestrator.md +31 -0
  379. package/skills/vds-skill/runtime/docs/vi/agents/reference/elastic-orchestrator.md +30 -0
  380. package/skills/vds-skill/runtime/docs/vi/agents/reference/evolution-orchestrator.md +31 -0
  381. package/skills/vds-skill/runtime/docs/vi/agents/reference/excel-orchestrator.md +60 -0
  382. package/skills/vds-skill/runtime/docs/vi/agents/reference/git-orchestrator.md +31 -0
  383. package/skills/vds-skill/runtime/docs/vi/agents/reference/google-sheets-orchestrator.md +60 -0
  384. package/skills/vds-skill/runtime/docs/vi/agents/reference/grafana-orchestrator.md +30 -0
  385. package/skills/vds-skill/runtime/docs/vi/agents/reference/hexagonal-orchestrator.md +73 -0
  386. package/skills/vds-skill/runtime/docs/vi/agents/reference/index.md +25 -0
  387. package/skills/vds-skill/runtime/docs/vi/agents/reference/intellij-orchestrator.md +59 -0
  388. package/skills/vds-skill/runtime/docs/vi/agents/reference/jira-orchestrator.md +32 -0
  389. package/skills/vds-skill/runtime/docs/vi/agents/reference/links-orchestrator.md +66 -0
  390. package/skills/vds-skill/runtime/docs/vi/agents/reference/lsp-orchestrator.md +60 -0
  391. package/skills/vds-skill/runtime/docs/vi/agents/reference/markdown-orchestrator.md +62 -0
  392. package/skills/vds-skill/runtime/docs/vi/agents/reference/mcp-orchestrator.md +34 -0
  393. package/skills/vds-skill/runtime/docs/vi/agents/reference/memory-orchestrator.md +45 -0
  394. package/skills/vds-skill/runtime/docs/vi/agents/reference/metabase-orchestrator.md +30 -0
  395. package/skills/vds-skill/runtime/docs/vi/agents/reference/multi-agent-orchestrator.md +61 -0
  396. package/skills/vds-skill/runtime/docs/vi/agents/reference/openapi-orchestrator.md +66 -0
  397. package/skills/vds-skill/runtime/docs/vi/agents/reference/orchestrator-architecture.md +24 -0
  398. package/skills/vds-skill/runtime/docs/vi/agents/reference/orchestrator-index.md +73 -0
  399. package/skills/vds-skill/runtime/docs/vi/agents/reference/pdf-orchestrator.md +30 -0
  400. package/skills/vds-skill/runtime/docs/vi/agents/reference/portable-paths-and-config.md +123 -0
  401. package/skills/vds-skill/runtime/docs/vi/agents/reference/portable-paths-validation-matrix.md +131 -0
  402. package/skills/vds-skill/runtime/docs/vi/agents/reference/progress-orchestrator.md +43 -0
  403. package/skills/vds-skill/runtime/docs/vi/agents/reference/progress-report-cli.md +217 -0
  404. package/skills/vds-skill/runtime/docs/vi/agents/reference/public-interface-orchestrator.md +82 -0
  405. package/skills/vds-skill/runtime/docs/vi/agents/reference/research-orchestrator.md +45 -0
  406. package/skills/vds-skill/runtime/docs/vi/agents/reference/schema-orchestrator.md +66 -0
  407. package/skills/vds-skill/runtime/docs/vi/agents/reference/search-tools.md +19 -0
  408. package/skills/vds-skill/runtime/docs/vi/agents/reference/skills-reference.md +27 -0
  409. package/skills/vds-skill/runtime/docs/vi/agents/reference/sonarqube-orchestrator.md +71 -0
  410. package/skills/vds-skill/runtime/docs/vi/agents/reference/spec-orchestrator.md +56 -0
  411. package/skills/vds-skill/runtime/docs/vi/agents/reference/structure-orchestrator.md +78 -0
  412. package/skills/vds-skill/runtime/docs/vi/agents/reference/system-requirements.md +30 -0
  413. package/skills/vds-skill/runtime/docs/vi/agents/reference/tasks-orchestrator.md +45 -0
  414. package/skills/vds-skill/runtime/docs/vi/agents/reference/validation-and-sync-notes.md +26 -0
  415. package/skills/vds-skill/runtime/docs/vi/agents/reference/vds-ai-memory-api.md +53 -0
  416. package/skills/vds-skill/runtime/docs/vi/agents/reference/vds-cli-reference.md +34 -0
  417. package/skills/vds-skill/runtime/docs/vi/agents/reference/who-capability-inventory.md +98 -0
  418. package/skills/vds-skill/runtime/docs/vi/agents/reference/who-capability-routing-matrix.md +16 -0
  419. package/skills/vds-skill/runtime/docs/vi/agents/tutorials/feature-progression-guide.md +124 -0
  420. package/skills/vds-skill/runtime/docs/vi/agents/tutorials/index.md +13 -0
  421. package/skills/vds-skill/runtime/docs/vi/agents/tutorials/quick-start.md +30 -0
  422. package/skills/vds-skill/runtime/docs/vi/agents/tutorials/who-skills-and-scripts-onboarding.md +42 -0
  423. package/skills/vds-skill/runtime/docs/vi/agents/tutorials/zero-to-productive-developer.md +137 -0
  424. package/skills/vds-skill/runtime/elastic_orchestrator/README.md +450 -0
  425. package/skills/vds-skill/runtime/elastic_orchestrator/pyproject.toml +97 -0
  426. package/skills/vds-skill/runtime/elastic_orchestrator/src/vds_elastic_orchestrator/__init__.py +81 -0
  427. package/skills/vds-skill/runtime/elastic_orchestrator/src/vds_elastic_orchestrator/cli.py +652 -0
  428. package/skills/vds-skill/runtime/elastic_orchestrator/src/vds_elastic_orchestrator/client.py +743 -0
  429. package/skills/vds-skill/runtime/elastic_orchestrator/src/vds_elastic_orchestrator/config.py +208 -0
  430. package/skills/vds-skill/runtime/elastic_orchestrator/src/vds_elastic_orchestrator/errors.py +34 -0
  431. package/skills/vds-skill/runtime/elastic_orchestrator/src/vds_elastic_orchestrator/py.typed +0 -0
  432. package/skills/vds-skill/runtime/elastic_orchestrator/tests/__init__.py +0 -0
  433. package/skills/vds-skill/runtime/elastic_orchestrator/tests/conftest.py +227 -0
  434. package/skills/vds-skill/runtime/elastic_orchestrator/tests/test_client.py +990 -0
  435. package/skills/vds-skill/runtime/elastic_orchestrator/tests/test_config.py +268 -0
  436. package/skills/vds-skill/runtime/elastic_orchestrator/tests/test_e2e_verification.py +272 -0
  437. package/skills/vds-skill/runtime/elastic_orchestrator/tests/test_errors.py +78 -0
  438. package/skills/vds-skill/runtime/excel_orchestrator/README.md +288 -0
  439. package/skills/vds-skill/runtime/excel_orchestrator/RESEARCH_BASED_UPDATES_REPORT.md +261 -0
  440. package/skills/vds-skill/runtime/excel_orchestrator/add_essential_missing_effort.py +255 -0
  441. package/skills/vds-skill/runtime/excel_orchestrator/adjust_effort_complexity.py +184 -0
  442. package/skills/vds-skill/runtime/excel_orchestrator/brd_analysis_and_task_breakdown.py +632 -0
  443. package/skills/vds-skill/runtime/excel_orchestrator/brd_analysis_comprehensive.py +1029 -0
  444. package/skills/vds-skill/runtime/excel_orchestrator/check_overlaps_and_brd_coverage.py +570 -0
  445. package/skills/vds-skill/runtime/excel_orchestrator/clean_remarks_column.py +127 -0
  446. package/skills/vds-skill/runtime/excel_orchestrator/comprehensive_brd_check.py +322 -0
  447. package/skills/vds-skill/runtime/excel_orchestrator/create_buffered_summary.py +119 -0
  448. package/skills/vds-skill/runtime/excel_orchestrator/create_service_totals_sheet.py +118 -0
  449. package/skills/vds-skill/runtime/excel_orchestrator/examples/basic_operations.py +85 -0
  450. package/skills/vds-skill/runtime/excel_orchestrator/expand_all_tasks.py +341 -0
  451. package/skills/vds-skill/runtime/excel_orchestrator/expand_tasks.py +304 -0
  452. package/skills/vds-skill/runtime/excel_orchestrator/fill_brd_references.py +347 -0
  453. package/skills/vds-skill/runtime/excel_orchestrator/fill_remarks_and_colors.py +132 -0
  454. package/skills/vds-skill/runtime/excel_orchestrator/finalize_brd_and_cleanup.py +295 -0
  455. package/skills/vds-skill/runtime/excel_orchestrator/finalize_brd_coverage.py +327 -0
  456. package/skills/vds-skill/runtime/excel_orchestrator/fix_all_formulas.py +99 -0
  457. package/skills/vds-skill/runtime/excel_orchestrator/fix_detail_presentation.py +113 -0
  458. package/skills/vds-skill/runtime/excel_orchestrator/fix_presentation_and_effort.py +116 -0
  459. package/skills/vds-skill/runtime/excel_orchestrator/fix_presentation_consistency.py +231 -0
  460. package/skills/vds-skill/runtime/excel_orchestrator/fix_remarks_matching.py +179 -0
  461. package/skills/vds-skill/runtime/excel_orchestrator/group_tasks_by_service_id.py +210 -0
  462. package/skills/vds-skill/runtime/excel_orchestrator/increase_brd_coverage.py +497 -0
  463. package/skills/vds-skill/runtime/excel_orchestrator/increase_effort_complexity.py +155 -0
  464. package/skills/vds-skill/runtime/excel_orchestrator/organize_and_deduplicate.py +273 -0
  465. package/skills/vds-skill/runtime/excel_orchestrator/pyproject.toml +64 -0
  466. package/skills/vds-skill/runtime/excel_orchestrator/rebuild_all_formulas.py +146 -0
  467. package/skills/vds-skill/runtime/excel_orchestrator/remove_base_multiplier_and_check_duplicates.py +310 -0
  468. package/skills/vds-skill/runtime/excel_orchestrator/remove_duplicate_brd_tasks.py +137 -0
  469. package/skills/vds-skill/runtime/excel_orchestrator/research_based_updates.py +457 -0
  470. package/skills/vds-skill/runtime/excel_orchestrator/restore_e_values.py +172 -0
  471. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/__init__.py +5 -0
  472. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/cli.py +746 -0
  473. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/config.py +74 -0
  474. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/converters.py +226 -0
  475. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/errors.py +88 -0
  476. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/excel_client.py +443 -0
  477. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/formatters.py +211 -0
  478. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/logging.py +57 -0
  479. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/source_contract.py +29 -0
  480. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/target_state_status.py +837 -0
  481. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/ulnc_alignment.py +1291 -0
  482. package/skills/vds-skill/runtime/excel_orchestrator/src/vds_excel_orchestrator/validators.py +164 -0
  483. package/skills/vds-skill/runtime/excel_orchestrator/sync_detail_and_total_sheets.py +211 -0
  484. package/skills/vds-skill/runtime/excel_orchestrator/tests/__init__.py +1 -0
  485. package/skills/vds-skill/runtime/excel_orchestrator/tests/conftest.py +36 -0
  486. package/skills/vds-skill/runtime/excel_orchestrator/tests/test_cli.py +383 -0
  487. package/skills/vds-skill/runtime/excel_orchestrator/tests/test_excel_client.py +129 -0
  488. package/skills/vds-skill/runtime/excel_orchestrator/tests/test_ulnc_alignment.py +373 -0
  489. package/skills/vds-skill/runtime/excel_orchestrator/tests/test_validators.py +64 -0
  490. package/skills/vds-skill/runtime/excel_orchestrator/update_api_database_effort.py +261 -0
  491. package/skills/vds-skill/runtime/excel_orchestrator/update_buffers_inline.py +115 -0
  492. package/skills/vds-skill/runtime/excel_orchestrator/update_complex_services_and_add_new.py +336 -0
  493. package/skills/vds-skill/runtime/excel_orchestrator/update_responsibility_and_fix_rows.py +208 -0
  494. package/skills/vds-skill/runtime/excel_orchestrator/update_task_breakdown_vietnamese.py +309 -0
  495. package/skills/vds-skill/runtime/excel_orchestrator/update_vietnamese_and_responsibility.py +415 -0
  496. package/skills/vds-skill/runtime/excel_orchestrator/verify_brd_coverage_comprehensive.py +401 -0
  497. package/skills/vds-skill/runtime/git_orchestrator/ENHANCEMENT_SUMMARY.md +119 -0
  498. package/skills/vds-skill/runtime/git_orchestrator/README.md +286 -0
  499. package/skills/vds-skill/runtime/git_orchestrator/VERIFICATION_REPORT.md +152 -0
  500. package/skills/vds-skill/runtime/git_orchestrator/pyproject.toml +37 -0
  501. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/__init__.py +30 -0
  502. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/__main__.py +4 -0
  503. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/branch_probe.py +271 -0
  504. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/cli.py +892 -0
  505. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/logging_config.py +63 -0
  506. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/manifest.py +249 -0
  507. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/orchestrator.py +1647 -0
  508. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/protocols.py +35 -0
  509. package/skills/vds-skill/runtime/git_orchestrator/src/vds_git_orchestrator/reporting.py +55 -0
  510. package/skills/vds-skill/runtime/git_orchestrator/tests/__init__.py +0 -0
  511. package/skills/vds-skill/runtime/git_orchestrator/tests/test_cli_settings.py +19 -0
  512. package/skills/vds-skill/runtime/git_orchestrator/tests/test_integration.py +79 -0
  513. package/skills/vds-skill/runtime/git_orchestrator/tests/test_manifest.py +79 -0
  514. package/skills/vds-skill/runtime/git_orchestrator/tests/test_orchestrator.py +207 -0
  515. package/skills/vds-skill/runtime/git_orchestrator/tests/test_public_api.py +235 -0
  516. package/skills/vds-skill/runtime/git_orchestrator/tests/test_resilience.py +343 -0
  517. package/skills/vds-skill/runtime/git_orchestrator/tests/unit/__init__.py +0 -0
  518. package/skills/vds-skill/runtime/git_orchestrator/tests/unit/test_branch_probe.py +327 -0
  519. package/skills/vds-skill/runtime/git_orchestrator/tests/unit/test_protocols.py +132 -0
  520. package/skills/vds-skill/runtime/google_sheets_orchestrator/README.md +241 -0
  521. package/skills/vds-skill/runtime/google_sheets_orchestrator/pyproject.toml +45 -0
  522. package/skills/vds-skill/runtime/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/__init__.py +69 -0
  523. package/skills/vds-skill/runtime/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/cli.py +568 -0
  524. package/skills/vds-skill/runtime/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/client.py +186 -0
  525. package/skills/vds-skill/runtime/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/config.py +46 -0
  526. package/skills/vds-skill/runtime/google_sheets_orchestrator/src/vds_google_sheets_orchestrator/errors.py +41 -0
  527. package/skills/vds-skill/runtime/google_sheets_orchestrator/tests/__init__.py +1 -0
  528. package/skills/vds-skill/runtime/google_sheets_orchestrator/tests/conftest.py +1 -0
  529. package/skills/vds-skill/runtime/google_sheets_orchestrator/tests/unit/__init__.py +1 -0
  530. package/skills/vds-skill/runtime/google_sheets_orchestrator/tests/unit/test_cli.py +212 -0
  531. package/skills/vds-skill/runtime/google_sheets_orchestrator/tests/unit/test_client.py +24 -0
  532. package/skills/vds-skill/runtime/google_sheets_orchestrator/tests/unit/test_config.py +16 -0
  533. package/skills/vds-skill/runtime/grafana_orchestrator/README.md +572 -0
  534. package/skills/vds-skill/runtime/grafana_orchestrator/pyproject.toml +102 -0
  535. package/skills/vds-skill/runtime/grafana_orchestrator/src/vds_grafana_orchestrator/__init__.py +78 -0
  536. package/skills/vds-skill/runtime/grafana_orchestrator/src/vds_grafana_orchestrator/cli.py +455 -0
  537. package/skills/vds-skill/runtime/grafana_orchestrator/src/vds_grafana_orchestrator/client.py +700 -0
  538. package/skills/vds-skill/runtime/grafana_orchestrator/src/vds_grafana_orchestrator/config.py +243 -0
  539. package/skills/vds-skill/runtime/grafana_orchestrator/src/vds_grafana_orchestrator/errors.py +34 -0
  540. package/skills/vds-skill/runtime/grafana_orchestrator/src/vds_grafana_orchestrator/py.typed +1 -0
  541. package/skills/vds-skill/runtime/grafana_orchestrator/tests/__init__.py +1 -0
  542. package/skills/vds-skill/runtime/grafana_orchestrator/tests/conftest.py +308 -0
  543. package/skills/vds-skill/runtime/grafana_orchestrator/tests/test_client.py +458 -0
  544. package/skills/vds-skill/runtime/grafana_orchestrator/tests/test_config.py +203 -0
  545. package/skills/vds-skill/runtime/grafana_orchestrator/tests/test_errors.py +78 -0
  546. package/skills/vds-skill/runtime/jira_orchestrator/README.md +864 -0
  547. package/skills/vds-skill/runtime/jira_orchestrator/pyproject.toml +43 -0
  548. package/skills/vds-skill/runtime/jira_orchestrator/src/vds_jira_orchestrator/__init__.py +65 -0
  549. package/skills/vds-skill/runtime/jira_orchestrator/src/vds_jira_orchestrator/adapter.py +1685 -0
  550. package/skills/vds-skill/runtime/jira_orchestrator/src/vds_jira_orchestrator/cli.py +2806 -0
  551. package/skills/vds-skill/runtime/jira_orchestrator/src/vds_jira_orchestrator/config.py +168 -0
  552. package/skills/vds-skill/runtime/jira_orchestrator/src/vds_jira_orchestrator/errors.py +34 -0
  553. package/skills/vds-skill/runtime/jira_orchestrator/src/vds_jira_orchestrator/reporting.py +66 -0
  554. package/skills/vds-skill/runtime/jira_orchestrator/tests/__init__.py +1 -0
  555. package/skills/vds-skill/runtime/jira_orchestrator/tests/conftest.py +86 -0
  556. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_agile_list_payloads.py +54 -0
  557. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_bulk_operations.py +91 -0
  558. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_components.py +56 -0
  559. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_createmeta.py +45 -0
  560. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_dashboard.py +119 -0
  561. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_issue_properties.py +53 -0
  562. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_permissions_compat.py +41 -0
  563. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_reindex.py +42 -0
  564. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_remote_links.py +75 -0
  565. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_transitions.py +90 -0
  566. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_user_management.py +116 -0
  567. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_version_management.py +181 -0
  568. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_adapter_watchers.py +43 -0
  569. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_advanced_search.py +179 -0
  570. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_agile.py +304 -0
  571. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_application_properties.py +243 -0
  572. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_backlog.py +91 -0
  573. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_bulk_operations.py +403 -0
  574. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_cli.py +108 -0
  575. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_components.py +119 -0
  576. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_config.py +166 -0
  577. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_dashboard.py +122 -0
  578. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_discover_fields.py +207 -0
  579. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_errors.py +72 -0
  580. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_filter_management.py +411 -0
  581. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_issue_archiving.py +179 -0
  582. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_issue_links.py +257 -0
  583. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_issue_properties.py +189 -0
  584. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_link_types.py +407 -0
  585. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_parse_set.py +37 -0
  586. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_permissions.py +343 -0
  587. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_reindex.py +81 -0
  588. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_remote_links.py +269 -0
  589. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_security_schemes.py +202 -0
  590. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_transitions_changelog.py +109 -0
  591. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_user_management.py +246 -0
  592. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_version_management.py +503 -0
  593. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_watchers.py +116 -0
  594. package/skills/vds-skill/runtime/jira_orchestrator/tests/test_worklog.py +243 -0
  595. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/README.md +864 -0
  596. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/pyproject.toml +43 -0
  597. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/__init__.py +65 -0
  598. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/adapter.py +1689 -0
  599. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/cli.py +2799 -0
  600. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/config.py +137 -0
  601. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/errors.py +34 -0
  602. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/src/vds_jira_viettelmoney_orchestrator/reporting.py +65 -0
  603. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/__init__.py +1 -0
  604. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/conftest.py +86 -0
  605. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_agile_list_payloads.py +54 -0
  606. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_bulk_operations.py +101 -0
  607. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_components.py +64 -0
  608. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_createmeta.py +45 -0
  609. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_dashboard.py +135 -0
  610. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_issue_properties.py +63 -0
  611. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_permissions_compat.py +42 -0
  612. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_reindex.py +42 -0
  613. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_remote_links.py +89 -0
  614. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_transitions.py +91 -0
  615. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_user_management.py +130 -0
  616. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_version_management.py +189 -0
  617. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_adapter_watchers.py +49 -0
  618. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_advanced_search.py +213 -0
  619. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_agile.py +334 -0
  620. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_application_properties.py +261 -0
  621. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_backlog.py +91 -0
  622. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_bulk_operations.py +443 -0
  623. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_cli.py +106 -0
  624. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_components.py +133 -0
  625. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_config.py +166 -0
  626. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_dashboard.py +130 -0
  627. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_discover_fields.py +207 -0
  628. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_errors.py +61 -0
  629. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_filter_management.py +478 -0
  630. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_issue_archiving.py +181 -0
  631. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_issue_links.py +257 -0
  632. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_issue_properties.py +203 -0
  633. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_link_types.py +426 -0
  634. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_parse_set.py +37 -0
  635. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_permissions.py +358 -0
  636. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_reindex.py +81 -0
  637. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_remote_links.py +292 -0
  638. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_security_schemes.py +218 -0
  639. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_transitions_changelog.py +121 -0
  640. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_user_management.py +283 -0
  641. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_version_management.py +561 -0
  642. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_watchers.py +128 -0
  643. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/tests/test_worklog.py +265 -0
  644. package/skills/vds-skill/runtime/llms.txt +159 -0
  645. package/skills/vds-skill/runtime/markdown_orchestrator/README.md +72 -0
  646. package/skills/vds-skill/runtime/markdown_orchestrator/pyproject.toml +39 -0
  647. package/skills/vds-skill/runtime/markdown_orchestrator/src/vds_markdown_orchestrator/__init__.py +5 -0
  648. package/skills/vds-skill/runtime/markdown_orchestrator/src/vds_markdown_orchestrator/cli.py +102 -0
  649. package/skills/vds-skill/runtime/mcp_server/Dockerfile +63 -0
  650. package/skills/vds-skill/runtime/mcp_server/README.md +140 -0
  651. package/skills/vds-skill/runtime/mcp_server/pyproject.toml +41 -0
  652. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/__init__.py +3 -0
  653. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/config.py +36 -0
  654. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/server.py +111 -0
  655. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/tools/__init__.py +15 -0
  656. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/tools/bitbucket_tools.py +47 -0
  657. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/tools/confluence_tools.py +53 -0
  658. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/tools/git_tools.py +71 -0
  659. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/tools/jira_tools.py +63 -0
  660. package/skills/vds-skill/runtime/mcp_server/src/vds_mcp_server/tools/vidp_tools.py +64 -0
  661. package/skills/vds-skill/runtime/mcp_server/tests/__init__.py +1 -0
  662. package/skills/vds-skill/runtime/mcp_server/tests/conftest.py +31 -0
  663. package/skills/vds-skill/runtime/mcp_server/tests/unit/__init__.py +1 -0
  664. package/skills/vds-skill/runtime/mcp_server/tests/unit/test_bitbucket_tools.py +28 -0
  665. package/skills/vds-skill/runtime/mcp_server/tests/unit/test_confluence_tools.py +28 -0
  666. package/skills/vds-skill/runtime/mcp_server/tests/unit/test_git_tools.py +35 -0
  667. package/skills/vds-skill/runtime/mcp_server/tests/unit/test_jira_tools.py +35 -0
  668. package/skills/vds-skill/runtime/mcp_server/tests/verification/__init__.py +6 -0
  669. package/skills/vds-skill/runtime/mcp_server/tests/verification/conftest.py +51 -0
  670. package/skills/vds-skill/runtime/mcp_server/tests/verification/test_mcp_confluence_tools.py +40 -0
  671. package/skills/vds-skill/runtime/mcp_server/tests/verification/test_mcp_jira_tools.py +39 -0
  672. package/skills/vds-skill/runtime/mcp_server/tests/verification/test_mcp_tool_registration.py +50 -0
  673. package/skills/vds-skill/runtime/pdf_orchestrator/.dockerignore +93 -0
  674. package/skills/vds-skill/runtime/pdf_orchestrator/.env.example +40 -0
  675. package/skills/vds-skill/runtime/pdf_orchestrator/.ruff_rules.py +350 -0
  676. package/skills/vds-skill/runtime/pdf_orchestrator/.yamllint.yml +43 -0
  677. package/skills/vds-skill/runtime/pdf_orchestrator/DEVELOPMENT_PLAN.md +80 -0
  678. package/skills/vds-skill/runtime/pdf_orchestrator/Dockerfile +87 -0
  679. package/skills/vds-skill/runtime/pdf_orchestrator/README.md +608 -0
  680. package/skills/vds-skill/runtime/pdf_orchestrator/cli_verification_test/test.md +6 -0
  681. package/skills/vds-skill/runtime/pdf_orchestrator/cli_verification_test/test.pdf +0 -0
  682. package/skills/vds-skill/runtime/pdf_orchestrator/config/alertmanager.yml +83 -0
  683. package/skills/vds-skill/runtime/pdf_orchestrator/config/prometheus.prod.yml +98 -0
  684. package/skills/vds-skill/runtime/pdf_orchestrator/config/prometheus.yml +40 -0
  685. package/skills/vds-skill/runtime/pdf_orchestrator/config/redis.conf +78 -0
  686. package/skills/vds-skill/runtime/pdf_orchestrator/docs/COMPETITIVE_ANALYSIS_REPORT.md +309 -0
  687. package/skills/vds-skill/runtime/pdf_orchestrator/docs/FEATURES_GUIDE.md +518 -0
  688. package/skills/vds-skill/runtime/pdf_orchestrator/docs/MULTI_USER_DEPLOYMENT_GUIDE.md +615 -0
  689. package/skills/vds-skill/runtime/pdf_orchestrator/docs/USER_GUIDE.md +829 -0
  690. package/skills/vds-skill/runtime/pdf_orchestrator/pyproject.toml +87 -0
  691. package/skills/vds-skill/runtime/pdf_orchestrator/pytest.ini +71 -0
  692. package/skills/vds-skill/runtime/pdf_orchestrator/ruff.toml +6 -0
  693. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/debug_security_report.py +59 -0
  694. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/demo_library_selector.py +109 -0
  695. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/generate_project_stats.py +52 -0
  696. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/generate_styled_pdf.py +95 -0
  697. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/migrate_render_pdfs.py +285 -0
  698. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/setup_team.bat +283 -0
  699. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/setup_team.sh +324 -0
  700. package/skills/vds-skill/runtime/pdf_orchestrator/src/vds_pdf_orchestrator/__init__.py +5 -0
  701. package/skills/vds-skill/runtime/pdf_orchestrator/src/vds_pdf_orchestrator/cli.py +542 -0
  702. package/skills/vds-skill/runtime/pdf_orchestrator/src/vds_pdf_orchestrator/config.py +33 -0
  703. package/skills/vds-skill/runtime/pdf_orchestrator/tests/README.md +650 -0
  704. package/skills/vds-skill/runtime/pdf_orchestrator/tests/__init__.py +0 -0
  705. package/skills/vds-skill/runtime/pdf_orchestrator/tests/conftest.py +520 -0
  706. package/skills/vds-skill/runtime/pdf_orchestrator/tests/requirements.txt +51 -0
  707. package/skills/vds-skill/runtime/pdf_orchestrator/tests/run_tests.py +659 -0
  708. package/skills/vds-skill/runtime/pdf_orchestrator/tests/test_config.py +36 -0
  709. package/skills/vds-skill/runtime/platform_core/pyproject.toml +49 -0
  710. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/__init__.py +16 -0
  711. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/alembic/__init__.py +18 -0
  712. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/alembic/runtime.py +139 -0
  713. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/config.py +88 -0
  714. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/credentials.py +40 -0
  715. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/env.py +24 -0
  716. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/errors.py +127 -0
  717. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/http/__init__.py +18 -0
  718. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/http/auth.py +32 -0
  719. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/http/errors.py +47 -0
  720. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/http/pagination.py +65 -0
  721. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/http/retry.py +62 -0
  722. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/http/stack.py +61 -0
  723. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/logging.py +132 -0
  724. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/protocols.py +77 -0
  725. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/serialization.py +80 -0
  726. package/skills/vds-skill/runtime/platform_core/src/vds_platform_core/severity.py +175 -0
  727. package/skills/vds-skill/runtime/platform_core/tests/__init__.py +0 -0
  728. package/skills/vds-skill/runtime/platform_core/tests/conftest.py +1 -0
  729. package/skills/vds-skill/runtime/platform_core/tests/test_alembic_runtime.py +300 -0
  730. package/skills/vds-skill/runtime/platform_core/tests/test_auth.py +84 -0
  731. package/skills/vds-skill/runtime/platform_core/tests/test_config.py +83 -0
  732. package/skills/vds-skill/runtime/platform_core/tests/test_credentials.py +73 -0
  733. package/skills/vds-skill/runtime/platform_core/tests/test_env.py +56 -0
  734. package/skills/vds-skill/runtime/platform_core/tests/test_errors.py +201 -0
  735. package/skills/vds-skill/runtime/platform_core/tests/test_errors_http.py +74 -0
  736. package/skills/vds-skill/runtime/platform_core/tests/test_http_settings.py +116 -0
  737. package/skills/vds-skill/runtime/platform_core/tests/test_logging.py +148 -0
  738. package/skills/vds-skill/runtime/platform_core/tests/test_pagination.py +153 -0
  739. package/skills/vds-skill/runtime/platform_core/tests/test_protocols.py +132 -0
  740. package/skills/vds-skill/runtime/platform_core/tests/test_retry.py +151 -0
  741. package/skills/vds-skill/runtime/platform_core/tests/test_serialization.py +92 -0
  742. package/skills/vds-skill/runtime/platform_core/tests/test_severity.py +178 -0
  743. package/skills/vds-skill/runtime/platform_core/tests/test_stack.py +130 -0
  744. package/skills/vds-skill/runtime/platform_core/uv.lock +341 -0
  745. package/skills/vds-skill/runtime/pyproject.toml +145 -0
  746. package/skills/vds-skill/runtime/pyrightconfig.json +82 -0
  747. package/skills/vds-skill/runtime/repo-manifest.yaml +380 -0
  748. package/skills/vds-skill/runtime/repo-manifest.yaml.example +25 -0
  749. package/skills/vds-skill/runtime/ruff.toml +100 -0
  750. package/skills/vds-skill/runtime/scripts/BRD-Validation-API.postman_collection.json +706 -0
  751. package/skills/vds-skill/runtime/scripts/BRD-Validation-README.md +308 -0
  752. package/skills/vds-skill/runtime/scripts/README.md +271 -0
  753. package/skills/vds-skill/runtime/scripts/_validate_alias_phase2.py +137 -0
  754. package/skills/vds-skill/runtime/scripts/audit-cli-patterns.sh +135 -0
  755. package/skills/vds-skill/runtime/scripts/audit-dashboard.sh +525 -0
  756. package/skills/vds-skill/runtime/scripts/backup.sh +123 -0
  757. package/skills/vds-skill/runtime/scripts/bootstrap_uv.sh +69 -0
  758. package/skills/vds-skill/runtime/scripts/brd-validation-environment.json +51 -0
  759. package/skills/vds-skill/runtime/scripts/brd-validation-test-results.json +13023 -0
  760. package/skills/vds-skill/runtime/scripts/brd_coverage_report.json +276 -0
  761. package/skills/vds-skill/runtime/scripts/check-future-annotations.py +22 -0
  762. package/skills/vds-skill/runtime/scripts/check-invalid-symlinks.py +183 -0
  763. package/skills/vds-skill/runtime/scripts/check-no-debug-markers.py +21 -0
  764. package/skills/vds-skill/runtime/scripts/check-no-unittest.py +21 -0
  765. package/skills/vds-skill/runtime/scripts/ci/assert_no_openspace_commits.sh +37 -0
  766. package/skills/vds-skill/runtime/scripts/ci/verify_branch_protection.sh +64 -0
  767. package/skills/vds-skill/runtime/scripts/closure/phase1_check.sh +483 -0
  768. package/skills/vds-skill/runtime/scripts/closure/phase2_check.sh +500 -0
  769. package/skills/vds-skill/runtime/scripts/create_memory_session.py +36 -0
  770. package/skills/vds-skill/runtime/scripts/deploy-bootstrap.sh +201 -0
  771. package/skills/vds-skill/runtime/scripts/deployment/load_docker_images_offline.sh +90 -0
  772. package/skills/vds-skill/runtime/scripts/dev/cli_smoke.sh +259 -0
  773. package/skills/vds-skill/runtime/scripts/final_completion_report.md +139 -0
  774. package/skills/vds-skill/runtime/scripts/folder_structure_report.json +321 -0
  775. package/skills/vds-skill/runtime/scripts/generate_completion_report.py +132 -0
  776. package/skills/vds-skill/runtime/scripts/generate_intellij_modules.py +154 -0
  777. package/skills/vds-skill/runtime/scripts/init-pgbouncer-userlist.sh +154 -0
  778. package/skills/vds-skill/runtime/scripts/link_integrity_report.json +807 -0
  779. package/skills/vds-skill/runtime/scripts/move_audit_artifact_pages.py +252 -0
  780. package/skills/vds-skill/runtime/scripts/move_audit_artifact_pages_rest.py +165 -0
  781. package/skills/vds-skill/runtime/scripts/move_wrong_dept_pages.py +235 -0
  782. package/skills/vds-skill/runtime/scripts/openspace_bootstrap.sh +56 -0
  783. package/skills/vds-skill/runtime/scripts/openspace_common.sh +75 -0
  784. package/skills/vds-skill/runtime/scripts/openspace_doctor.sh +61 -0
  785. package/skills/vds-skill/runtime/scripts/openspace_sync_shadow.sh +65 -0
  786. package/skills/vds-skill/runtime/scripts/phase7-baseline.sh +77 -0
  787. package/skills/vds-skill/runtime/scripts/preflight/env_check.sh +102 -0
  788. package/skills/vds-skill/runtime/scripts/repair_autopay_reports.sh +173 -0
  789. package/skills/vds-skill/runtime/scripts/rollback_drill.sh +659 -0
  790. package/skills/vds-skill/runtime/scripts/run-audit-in-tmux.sh +286 -0
  791. package/skills/vds-skill/runtime/scripts/run-department-audit.sh +495 -0
  792. package/skills/vds-skill/runtime/scripts/run-project-audit.sh +267 -0
  793. package/skills/vds-skill/runtime/scripts/save_intellij_memories.py +112 -0
  794. package/skills/vds-skill/runtime/scripts/save_memories_to_vds_ai.py +81 -0
  795. package/skills/vds-skill/runtime/scripts/save_memories_vds_style.py +133 -0
  796. package/skills/vds-skill/runtime/scripts/search_intellij_memories.py +48 -0
  797. package/skills/vds-skill/runtime/scripts/setup_intellij_workspace.py +71 -0
  798. package/skills/vds-skill/runtime/scripts/smoke-test-deploy.sh +137 -0
  799. package/skills/vds-skill/runtime/scripts/smoke_deploy_lib.py +205 -0
  800. package/skills/vds-skill/runtime/scripts/target-state-automation/README.md +89 -0
  801. package/skills/vds-skill/runtime/scripts/target-state-automation/confluence_sync_coordinator.sh +27 -0
  802. package/skills/vds-skill/runtime/scripts/target-state-automation/coordination.sh +114 -0
  803. package/skills/vds-skill/runtime/scripts/target-state-automation/diagram_coordinator.sh +25 -0
  804. package/skills/vds-skill/runtime/scripts/target-state-automation/docs_root.sh +22 -0
  805. package/skills/vds-skill/runtime/scripts/target-state-automation/generate_diagrams.sh +22 -0
  806. package/skills/vds-skill/runtime/scripts/target-state-automation/markdown_coordinator.sh +25 -0
  807. package/skills/vds-skill/runtime/scripts/target-state-automation/progress_dashboard.sh +17 -0
  808. package/skills/vds-skill/runtime/scripts/target-state-automation/schema_coordinator.sh +25 -0
  809. package/skills/vds-skill/runtime/scripts/target-state-automation/sync_confluence.sh +30 -0
  810. package/skills/vds-skill/runtime/scripts/target-state-automation/update_dependencies.sh +19 -0
  811. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_links.sh +86 -0
  812. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_markdown.sh +52 -0
  813. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_schemas.sh +26 -0
  814. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_structure.sh +98 -0
  815. package/skills/vds-skill/runtime/scripts/tests/__init__.py +1 -0
  816. package/skills/vds-skill/runtime/scripts/tests/test_dockerfile_correctness.py +815 -0
  817. package/skills/vds-skill/runtime/scripts/tests/test_makefile_loadouts.py +560 -0
  818. package/skills/vds-skill/runtime/scripts/tests/test_smoke_deploy.py +313 -0
  819. package/skills/vds-skill/runtime/scripts/tests/test_verify_alembic.py +581 -0
  820. package/skills/vds-skill/runtime/scripts/tests/test_verify_infra_topology.py +254 -0
  821. package/skills/vds-skill/runtime/scripts/update_modules_xml.py +194 -0
  822. package/skills/vds-skill/runtime/scripts/uv-workspace-alignment-verification-2026-03-25.md +128 -0
  823. package/skills/vds-skill/runtime/scripts/uv-workspace-alignment-verification-2026-04-18.md +100 -0
  824. package/skills/vds-skill/runtime/scripts/validate-cli-standardization.sh +188 -0
  825. package/skills/vds-skill/runtime/scripts/validate_brd_coverage.py +197 -0
  826. package/skills/vds-skill/runtime/scripts/validate_folder_structure.py +234 -0
  827. package/skills/vds-skill/runtime/scripts/validate_link_integrity.py +274 -0
  828. package/skills/vds-skill/runtime/scripts/vami017-caller-compat-report.md +62 -0
  829. package/skills/vds-skill/runtime/scripts/vami017-phase-b-scaffold-notes.md +79 -0
  830. package/skills/vds-skill/runtime/scripts/vds_sh_helpers.sh +180 -0
  831. package/skills/vds-skill/runtime/scripts/verification/phase2_portable_paths_ubuntu_docker.sh +26 -0
  832. package/skills/vds-skill/runtime/scripts/verify-infra-topology.py +868 -0
  833. package/skills/vds-skill/runtime/scripts/verify-memory-cli-e2e.sh +598 -0
  834. package/skills/vds-skill/runtime/scripts/verify-worktree-features.sh +306 -0
  835. package/skills/vds-skill/runtime/scripts/worktree-add.sh +128 -0
  836. package/skills/vds-skill/runtime/scripts/worktree-remove.sh +112 -0
  837. package/skills/vds-skill/runtime/scripts/worktree_compose.sh +269 -0
  838. package/skills/vds-skill/runtime/scripts/worktree_uv.sh +77 -0
  839. package/skills/vds-skill/runtime/sonarqube_orchestrator/IMPLEMENTATION_AUDIT.md +376 -0
  840. package/skills/vds-skill/runtime/sonarqube_orchestrator/README.md +507 -0
  841. package/skills/vds-skill/runtime/sonarqube_orchestrator/pyproject.toml +106 -0
  842. package/skills/vds-skill/runtime/sonarqube_orchestrator/scripts/ensure_symlink.sh +38 -0
  843. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/__init__.py +164 -0
  844. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/batch.py +212 -0
  845. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/cli.py +1407 -0
  846. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/client.py +608 -0
  847. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/config.py +260 -0
  848. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/diff.py +220 -0
  849. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/errors.py +34 -0
  850. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/external_sca.py +932 -0
  851. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/portfolio.py +225 -0
  852. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/pr.py +505 -0
  853. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/reports.py +342 -0
  854. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/scanner.py +351 -0
  855. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/webhooks.py +269 -0
  856. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/__init__.py +0 -0
  857. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/conftest.py +134 -0
  858. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/test_batch.py +419 -0
  859. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/test_config.py +145 -0
  860. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/test_errors.py +78 -0
  861. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/test_external_sca.py +466 -0
  862. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/test_pr.py +471 -0
  863. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/test_reports.py +511 -0
  864. package/skills/vds-skill/runtime/sonarqube_orchestrator/tests/test_webhooks.py +660 -0
  865. package/skills/vds-skill/runtime/uv.lock +5046 -0
  866. package/skills/vds-skill/runtime/vds_agent_core/CHANGELOG.md +36 -0
  867. package/skills/vds-skill/runtime/vds_agent_core/README.md +453 -0
  868. package/skills/vds-skill/runtime/vds_agent_core/docs/PHASE9A_ASSESSMENT.md +50 -0
  869. package/skills/vds-skill/runtime/vds_agent_core/docs/embedding.md +468 -0
  870. package/skills/vds-skill/runtime/vds_agent_core/pyproject.toml +51 -0
  871. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/__init__.py +29 -0
  872. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/agents/__init__.py +26 -0
  873. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/agents/hooks.py +119 -0
  874. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/agents/loop.py +864 -0
  875. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/agents/tools.py +41 -0
  876. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/config.py +252 -0
  877. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/llm/__init__.py +55 -0
  878. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/llm/_cascade.py +143 -0
  879. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/llm/budget.py +353 -0
  880. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/llm/cache.py +373 -0
  881. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/llm/embedding.py +815 -0
  882. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/llm/provider.py +173 -0
  883. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/llm/schemas.py +45 -0
  884. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/observability/__init__.py +77 -0
  885. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/observability/decorators.py +258 -0
  886. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/observability/jsonl_exporter.py +236 -0
  887. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/observability/tracer.py +497 -0
  888. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/profiles.py +2015 -0
  889. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/runtime/__init__.py +0 -0
  890. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/runtime/agent_id.py +60 -0
  891. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/security/__init__.py +13 -0
  892. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/security/credentials.py +106 -0
  893. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/skills/__init__.py +1 -0
  894. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/skills/executor.py +238 -0
  895. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/skills/manager.py +381 -0
  896. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/skills/policy.py +568 -0
  897. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/workflows/__init__.py +19 -0
  898. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/workflows/langgraph_runner.py +102 -0
  899. package/skills/vds-skill/runtime/vds_agent_core/src/vds_agent_core/workflows/protocols.py +81 -0
  900. package/skills/vds-skill/runtime/vds_agent_core/tests/__init__.py +0 -0
  901. package/skills/vds-skill/runtime/vds_agent_core/tests/conftest.py +62 -0
  902. package/skills/vds-skill/runtime/vds_agent_core/tests/integration/__init__.py +0 -0
  903. package/skills/vds-skill/runtime/vds_agent_core/tests/integration/test_audit_loop_hooks_integration.py +135 -0
  904. package/skills/vds-skill/runtime/vds_agent_core/tests/integration/test_audit_observability_integration.py +246 -0
  905. package/skills/vds-skill/runtime/vds_agent_core/tests/integration/test_public_api_stability.py +91 -0
  906. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/__init__.py +0 -0
  907. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/__init__.py +0 -0
  908. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_call_site_parallelism.py +30 -0
  909. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_dimension_guardrail.py +25 -0
  910. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_drop_in_provider_extensibility.py +76 -0
  911. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_embedding.py +393 -0
  912. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_embedding_cache.py +302 -0
  913. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_embedding_extra.py +696 -0
  914. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_embedding_subclass.py +49 -0
  915. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_no_provider_leakage_in_env.py +34 -0
  916. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_provider_auto_route.py +48 -0
  917. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_runtime_log_clean.py +111 -0
  918. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/llm/test_w7_logic_fixes.py +219 -0
  919. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/profiles/__init__.py +0 -0
  920. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/profiles/test_embedding_block_parser.py +194 -0
  921. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/profiles/test_env_resolver_allowlist.py +141 -0
  922. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/profiles/test_profile_authorization.py +158 -0
  923. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/profiles/test_profiles_w3_extra.py +547 -0
  924. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/profiles/test_real_audit_profile_compat.py +129 -0
  925. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/runtime/__init__.py +0 -0
  926. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/runtime/test_for_agent.py +322 -0
  927. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/runtime/test_w9_cascade_edges.py +369 -0
  928. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/security/__init__.py +0 -0
  929. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/security/test_credentials.py +132 -0
  930. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_agent_loop.py +663 -0
  931. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_agent_loop_coverage.py +429 -0
  932. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_agents_hooks_defaults.py +22 -0
  933. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_budget.py +155 -0
  934. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_budget_coverage.py +264 -0
  935. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_budget_tracking_only.py +71 -0
  936. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_cache.py +251 -0
  937. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_cache_context.py +62 -0
  938. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_config.py +155 -0
  939. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_langgraph_runner.py +45 -0
  940. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_langgraph_runner_coverage.py +98 -0
  941. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_llm_cache_deep.py +113 -0
  942. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_observability_decorators.py +697 -0
  943. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_observability_hooks.py +217 -0
  944. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_observability_jsonl_exporter.py +542 -0
  945. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_observability_jsonl_wiring.py +313 -0
  946. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_observability_tracer.py +896 -0
  947. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_profiles.py +1571 -0
  948. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_profiles_coverage.py +444 -0
  949. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_provider.py +316 -0
  950. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_schemas.py +63 -0
  951. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_skill_executor.py +297 -0
  952. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_skill_manager.py +370 -0
  953. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_skill_manager_coverage.py +364 -0
  954. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_skill_policy.py +402 -0
  955. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_skill_rubric.py +47 -0
  956. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_tools.py +51 -0
  957. package/skills/vds-skill/runtime/vds_agent_core/tests/unit/test_workflow_protocols.py +136 -0
  958. package/skills/vds-skill/runtime/vds_cli/README.md +201 -0
  959. package/skills/vds-skill/runtime/vds_cli/VERIFICATION_REPORT.md +41 -0
  960. package/skills/vds-skill/runtime/vds_cli/pyproject.toml +50 -0
  961. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/__init__.py +3 -0
  962. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/assets/git-credential-helper.py +235 -0
  963. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/cli.py +1126 -0
  964. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/commands/__init__.py +1 -0
  965. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/commands/lint_cli.py +389 -0
  966. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/confluence_sync.py +846 -0
  967. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs/consumption/__init__.py +7 -0
  968. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs/consumption/funnel.py +105 -0
  969. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs/consumption/scanner.py +211 -0
  970. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs/freshness/report.py +90 -0
  971. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs/types.py +27 -0
  972. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs_cmd.py +672 -0
  973. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs_metrics.py +75 -0
  974. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/docs_sync.py +1171 -0
  975. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/ecosystem/__init__.py +39 -0
  976. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/ecosystem/report.py +439 -0
  977. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/ecosystem_docs.py +164 -0
  978. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/env.py +111 -0
  979. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/env_git_helper.py +281 -0
  980. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/google_sheets_orchestrator/__init__.py +3 -0
  981. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/google_sheets_orchestrator/google_sheets_orchestrator.py +173 -0
  982. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/router.py +232 -0
  983. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/skills_cmd.py +274 -0
  984. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/sync_api.py +613 -0
  985. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/sync_service.py +283 -0
  986. package/skills/vds-skill/runtime/vds_cli/tests/conftest.py +62 -0
  987. package/skills/vds-skill/runtime/vds_cli/tests/test_env_git_helper_lifecycle.py +261 -0
  988. package/skills/vds-skill/runtime/vds_cli/tests/test_git_credential_helper.py +240 -0
  989. package/skills/vds-skill/runtime/vds_cli/tests/test_router_help_proxy.py +43 -0
  990. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_cli.py +241 -0
  991. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_cli_DOC004.py +110 -0
  992. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_confluence_sync.py +315 -0
  993. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_confluence_sync_wave7.py +375 -0
  994. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_consumption_funnel.py +106 -0
  995. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_consumption_scanner.py +144 -0
  996. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_docs_cmd.py +89 -0
  997. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_docs_cmd_wave8.py +161 -0
  998. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_docs_metrics.py +16 -0
  999. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_docs_quality_score.py +61 -0
  1000. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_docs_sync.py +417 -0
  1001. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_ecosystem_cli_dashboard.py +667 -0
  1002. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_ecosystem_cli_dashboard_rendering.py +143 -0
  1003. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_ecosystem_docs.py +63 -0
  1004. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_env.py +85 -0
  1005. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_freshness_report.py +125 -0
  1006. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_lint_cli.py +224 -0
  1007. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_router.py +101 -0
  1008. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_skills_cmd.py +419 -0
  1009. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_sync_api.py +357 -0
  1010. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_sync_service.py +170 -0
  1011. package/skills/vds-skill/runtime/vds_cli/tests/verification/conftest.py +51 -0
  1012. package/skills/vds-skill/runtime/vds_cli/tests/verification/test_bitbucket_real.py +32 -0
  1013. package/skills/vds-skill/runtime/vds_cli/tests/verification/test_confluence_real.py +32 -0
  1014. package/skills/vds-skill/runtime/vds_cli/tests/verification/test_jira_real.py +40 -0
  1015. package/skills/vds-skill/runtime/vds_cli_common/README.md +190 -0
  1016. package/skills/vds-skill/runtime/vds_cli_common/pyproject.toml +96 -0
  1017. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/__init__.py +36 -0
  1018. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/app.py +55 -0
  1019. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/completers.py +139 -0
  1020. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/context.py +201 -0
  1021. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/env.py +163 -0
  1022. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/errors.py +440 -0
  1023. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/output.py +284 -0
  1024. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/paths.py +78 -0
  1025. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/testing.py +211 -0
  1026. package/skills/vds-skill/runtime/vds_cli_common/src/vds_cli_common/version.py +85 -0
  1027. package/skills/vds-skill/runtime/vds_cli_common/tests/__init__.py +0 -0
  1028. package/skills/vds-skill/runtime/vds_cli_common/tests/test_app.py +126 -0
  1029. package/skills/vds-skill/runtime/vds_cli_common/tests/test_completers.py +148 -0
  1030. package/skills/vds-skill/runtime/vds_cli_common/tests/test_context.py +192 -0
  1031. package/skills/vds-skill/runtime/vds_cli_common/tests/test_env.py +235 -0
  1032. package/skills/vds-skill/runtime/vds_cli_common/tests/test_errors.py +275 -0
  1033. package/skills/vds-skill/runtime/vds_cli_common/tests/test_output.py +229 -0
  1034. package/skills/vds-skill/runtime/vds_cli_common/tests/test_paths.py +61 -0
  1035. package/skills/vds-skill/runtime/vds_cli_common/tests/test_testing.py +138 -0
  1036. package/skills/vds-skill/runtime/vds_cli_common/tests/test_version.py +64 -0
  1037. package/skills/vds-skill/runtime/vidp_orchestrator/README.md +31 -0
  1038. package/skills/vds-skill/runtime/vidp_orchestrator/pyproject.toml +50 -0
  1039. package/skills/vds-skill/runtime/vidp_orchestrator/src/vds_vidp_orchestrator/__init__.py +26 -0
  1040. package/skills/vds-skill/runtime/vidp_orchestrator/src/vds_vidp_orchestrator/cli.py +246 -0
  1041. package/skills/vds-skill/runtime/vidp_orchestrator/src/vds_vidp_orchestrator/client.py +104 -0
  1042. package/skills/vds-skill/runtime/vidp_orchestrator/src/vds_vidp_orchestrator/config.py +82 -0
  1043. package/skills/vds-skill/runtime/vidp_orchestrator/src/vds_vidp_orchestrator/workflows.json +3 -0
  1044. package/skills/vds-skill/runtime/vidp_orchestrator/src/vds_vidp_orchestrator/workflows.py +130 -0
  1045. package/skills/vds-skill/vds-scripts-skill/SKILL.md +129 -0
  1046. package/skills/vds-skill/vds-scripts-skill/references/audit-commands.md +171 -0
  1047. package/skills/vds-skill/vds-scripts-skill/references/capability-index.md +34 -0
  1048. package/skills/vds-skill/vds-scripts-skill/references/development-commands.md +12 -0
  1049. package/skills/vds-skill/vds-scripts-skill/references/google-sheets.md +71 -0
  1050. package/skills/vds-skill/vds-scripts-skill/references/integration-commands.md +17 -0
  1051. package/skills/vds-skill/vds-scripts-skill/references/platform-bootstrap.md +25 -0
  1052. package/skills/vds-skill/vds-scripts-skill/references/specialist-routing.md +14 -0
  1053. package/skills/vds-skill/vds-scripts-skill/references/validation-commands.md +15 -0
@@ -0,0 +1,596 @@
1
+ # VDS Infrastructure Rollback Guide
2
+
3
+ > **Current spec**: `ecosystem-infrastructure-evolution` v2.15.20 at vds-scripts master `afb95f70`. The historical version references in this document (v2.15.3, v2.15.6, v2.15.9, v2.15.10, v2.15.12) are intentional — they document phase-specific rollback scenarios. v2.15.17–v2.15.20 introduced: `vds_scheduler_reports:/opt/reports` named volume (v2.15.19); `mcp_server` Typer wrap with `serve` sub-command (v2.15.19); `EcosystemReportRun.id` ORM-layer `Mapped[Optional[str]]` for server-default UUID generation (v2.15.20). See `ADR.md` for the current architectural state.
4
+
5
+ ## Overview
6
+
7
+ This document describes rollback procedures for Phases P0–P6 (ecosystem-infrastructure-evolution, post-P7 alignment 2026-04-27). Rollback may be needed if:
8
+ - Critical services fail to start after migration
9
+ - Data integrity issues are discovered
10
+ - Performance degradation exceeds acceptable thresholds
11
+
12
+ ## Pre-Migration Safety
13
+
14
+ Before running P0 migration:
15
+ 1. Take `pg_dump` snapshots of production databases
16
+ 2. Document current working configuration
17
+ 3. Schedule maintenance window
18
+
19
+ ## Container Cycling Conventions (v2.15.9+)
20
+
21
+ **Compose-managed paths are canonical. Direct `docker` commands bypass compose state and create invisible drift.**
22
+
23
+ | Operation | Canonical (use this) | Avoid (creates drift) |
24
+ |---|---|---|
25
+ | Restart a service | `docker compose -f docker-compose.infra.yml -f docker-compose.services.yml -f docker-compose.cli.yml --profile <p> restart <service>` | `docker restart <container_name>` |
26
+ | Re-create after config change | `docker compose ... up -d --force-recreate <service>` | `docker stop <name> && docker start <name>` |
27
+ | Stop a service cleanly | `docker compose ... stop <service>` | `docker stop <name>` |
28
+ | Remove a service | `docker compose ... rm -f <service>` | `docker rm -f <name>` |
29
+ | Postgres DDL fix-up (e.g. `ALTER DATABASE ... RESET search_path`) | Encode in `docker/infrastructure/init-schemas.sql` so fresh deploys pick it up | `docker exec vds-postgres psql -c 'ALTER ...'` |
30
+ | One-shot DB migration | `docker compose ... run --rm --no-deps <orchestrator-service> /opt/venv/bin/alembic -c /app/<svc>_orchestrator/alembic.ini upgrade head` (v2.15.10+ canonical; uses the existing service container, no separate migrate service block) | Ad-hoc `docker exec ... alembic upgrade head`; persistent `*-migrate` service blocks (Sub-shape 3B retired in v2.15.10) |
31
+ | PgBouncer admin runtime commands (RELOAD, RECONNECT, PAUSE, RESUME) | `docker exec` IS acceptable — these are transient runtime state, not config | n/a |
32
+ | Read-only diagnostics (`SHOW POOLS`, `pg_tables`, log tails) | `docker exec` IS acceptable — read-only | n/a |
33
+
34
+ **Why this matters:**
35
+ - `docker restart <name>` doesn't update compose's notion of when the service was last cycled. A `docker compose ps` shows confusing state.
36
+ - `docker exec ... ALTER DATABASE` mutations are invisible to a fresh redeploy. Operators who reprovision from clean compose state lose the fix-up. Validators (verify-infra-topology) can't see the gap.
37
+ - `docker rm -f` orphans named volumes if the operator was relying on compose to clean them up.
38
+
39
+ **Service-name rule:** compose commands use service-key names (e.g., `pgbouncer`, `memory-api`). `docker` commands use container_name labels (e.g., `vds-pgbouncer`, `vds-memory-api`). Mixing them produces "service depends on undefined service" errors. See `docker-compose.infra.yml:154` for the canonical mapping (`pgbouncer:` service-key, `container_name: vds-pgbouncer`).
40
+
41
+ **P8-related rollback case:**
42
+ - `ALTER DATABASE vds_platform RESET search_path` (F20 fix from v2.15.6) is now encoded in `docker/infrastructure/init-schemas.sql` (v2.15.9). Operators rebuilding from clean compose state automatically get the fix; no manual `docker exec` step needed.
43
+
44
+ ## Phase Coverage Map
45
+
46
+ The §Overview claims rollback procedures for Phases P0–P6. Coverage is structured as:
47
+
48
+ | Phase | Section | Notes |
49
+ |---|---|---|
50
+ | P0 — Shared infra + audit/memory/pdf migration | §Scenario 1 (Full Rollback) | The only phase with destructive infra changes; full rollback via legacy compose restore + `pg_restore`. |
51
+ | P1 — scheduler + multi-agent containers | §Scenario 2 (Partial Rollback) | Additive only; rollback = stop the new containers, no data restore needed. |
52
+ | P2 — progress + db-query optional services | §Scenario 2 (Partial Rollback) | Additive only; same as P1. |
53
+ | P3 — Compose cleanup + Makefile + skill | No-op-with-rationale | Documentation/structural cleanup only; no runtime artifacts to roll back. Re-add of legacy compose files is covered under §Scenario 1. |
54
+ | P4 — Alembic + Legacy Retirement | §Phase P4 — Alembic Migration Standardization Rollback | Explicit alembic version revert procedures. |
55
+ | P5 — Infrastructure Consistency & Migration Standardization | §Phase P5 — Infrastructure Consistency & Migration Standardization Rollback | Helper-module backout + per-service env.py revert. |
56
+ | P6 — Validation Hardening | §Phase P6 — Validation Hardening Rollback | Test-only phase; rollback = revert pytest suites if regression detected. |
57
+ | P7 — Doc Alignment & ADR Mirror Closure | No-op-with-rationale | Docs-only phase (docker/ADR.md → routing manifest, SKILL.md cleanup, ROLLBACK §P4–P6 added, MIGRATION.md/.env.template `REDIS_TOOL_DISCOVERY_DB=9`). No runtime artifacts to roll back; revert via `git revert` of the merge commit if needed. |
58
+ | P8 — Connection Pool Hardening | §Phase P8 — Connection Pool Hardening Rollback (v2.15.3 session-mode) | Tier 1.5 PgBouncer container; env-flip + container removal (no Postgres restart since max_connections stays at 500). |
59
+
60
+ P0–P3 do not have dedicated `## Phase P<N> Rollback` headers because their rollback content is structurally subsumed by Scenarios 1/2; the table above is the authoritative routing.
61
+
62
+ ## Rollback Scenarios
63
+
64
+ ### Scenario 1: Full Rollback (Pre-Migration State)
65
+
66
+ Use this when rolling back the entire P0 migration.
67
+
68
+ #### Steps
69
+
70
+ 1. **Stop all new services**
71
+ ```bash
72
+ # Stop P0 services
73
+ docker compose -f docker/docker-compose.infra.yml down
74
+ docker compose -f docker/docker-compose.services.yml down
75
+ # CLI containers (docker-compose.cli.yml) have restart: "no" and exit on their
76
+ # own; a separate `down` is only needed if a CLI invocation is still running.
77
+ ```
78
+
79
+ 2. **Restore legacy compose files from git history** (v2.15.12+: `docker/legacy/`
80
+ directory removed per no-fallback directive — recover from git instead)
81
+ ```bash
82
+ # Find the last commit that contained the legacy compose files (just before
83
+ # v2.15.12 removal):
84
+ git log --diff-filter=D --name-only --pretty=format: -- 'docker/legacy/*' | head -5
85
+
86
+ # Checkout the legacy compose files from that SHA into a scratch dir:
87
+ LEGACY_SHA="<paste-sha-from-above>"
88
+ git show "${LEGACY_SHA}:docker/legacy/audit_orchestrator-docker-compose.yml" \
89
+ > audit_orchestrator/docker-compose.yml
90
+ git show "${LEGACY_SHA}:docker/legacy/memory_orchestrator-compose.yaml" \
91
+ > memory_orchestrator/compose.yaml
92
+ git show "${LEGACY_SHA}:docker/legacy/memory_orchestrator-compose.prod.yaml" \
93
+ > memory_orchestrator/compose.prod.yaml
94
+ git show "${LEGACY_SHA}:docker/legacy/pdf_orchestrator-docker-compose.yml" \
95
+ > pdf_orchestrator/docker-compose.yml
96
+ ```
97
+
98
+ 3. **Restart legacy infrastructure**
99
+ ```bash
100
+ # Start legacy services
101
+ cd audit_orchestrator && docker compose up -d postgres
102
+ cd ../memory_orchestrator && docker compose up -d postgres redis
103
+ cd ../pdf_orchestrator && docker compose up -d redis
104
+ ```
105
+
106
+ 4. **Restore database from snapshots**
107
+ ```bash
108
+ # Restore audit state
109
+ docker exec -i vds-audit-postgres pg_restore -U vds_audit -d vds_audit_checkpoints < backups/pre-p0-audit.dump
110
+
111
+ # Restore memory
112
+ docker exec -i vds-ai-memory-postgres-1 pg_restore -U vds_user -d vds_memory < backups/pre-p0-memory.dump
113
+ ```
114
+
115
+ 5. **Verify rollback**
116
+ ```bash
117
+ # Check services are running
118
+ docker ps
119
+
120
+ # Test connectivity
121
+ psql -h localhost -p 5434 -U vds_audit -d vds_audit_checkpoints -c "SELECT 1"
122
+ psql -h localhost -p 5432 -U vds_user -d vds_memory -c "SELECT 1"
123
+ ```
124
+
125
+ ### Scenario 2: Partial Rollback (Individual Orchestrator)
126
+
127
+ Use this when only one orchestrator fails and others are healthy.
128
+
129
+ #### Audit Orchestrator Rollback
130
+
131
+ ```bash
132
+ # 1. Stop audit orchestrator
133
+ docker compose -f docker/docker-compose.services.yml stop audit-orchestrator
134
+
135
+ # 2. Restore audit compose from git history (v2.15.12+: docker/legacy/ removed)
136
+ LEGACY_SHA="$(git log --diff-filter=D --name-only --pretty=format:%H -- 'docker/legacy/*' | head -1)"
137
+ git show "${LEGACY_SHA}:docker/legacy/audit_orchestrator-docker-compose.yml" > audit_orchestrator/docker-compose.yml
138
+
139
+ # 3. Start legacy audit infrastructure
140
+ cd audit_orchestrator
141
+ docker compose up -d audit-postgres
142
+
143
+ # 4. Start audit orchestrator
144
+ docker compose up -d
145
+
146
+ # 5. Verify
147
+ curl localhost:5434/health || docker logs vds-audit-postgres
148
+ ```
149
+
150
+ #### Memory Orchestrator Rollback
151
+
152
+ ```bash
153
+ # 1. Stop memory services
154
+ docker compose -f docker/docker-compose.services.yml stop memory-api memory-worker
155
+
156
+ # 2. Restore memory compose from git history (v2.15.12+: docker/legacy/ removed)
157
+ LEGACY_SHA="$(git log --diff-filter=D --name-only --pretty=format:%H -- 'docker/legacy/*' | head -1)"
158
+ git show "${LEGACY_SHA}:docker/legacy/memory_orchestrator-compose.yaml" > memory_orchestrator/compose.yaml
159
+ git show "${LEGACY_SHA}:docker/legacy/memory_orchestrator-compose.prod.yaml" > memory_orchestrator/compose.prod.yaml
160
+
161
+ # 3. Start legacy memory infrastructure
162
+ cd memory_orchestrator
163
+ docker compose up -d postgres redis
164
+
165
+ # 4. Verify database connection
166
+ docker exec vds-memory-postgres psql -U vds_user -d vds_memory -c "SELECT 1"
167
+ ```
168
+
169
+ #### PDF Orchestrator Rollback
170
+
171
+ ```bash
172
+ # 1. Stop pdf orchestrator
173
+ docker compose -f docker/docker-compose.services.yml stop pdf-orchestrator
174
+
175
+ # 2. Restore pdf compose
176
+ git checkout HEAD~1 -- pdf_orchestrator/docker-compose.yml
177
+ git checkout HEAD~1 -- pdf_orchestrator/docker-compose.prod.yml
178
+
179
+ # 3. Start legacy pdf infrastructure
180
+ cd pdf_orchestrator
181
+ docker compose up -d redis
182
+
183
+ # 4. Start pdf orchestrator
184
+ docker compose up -d
185
+ ```
186
+
187
+ ## Downtime Estimation
188
+
189
+ | Operation | Estimated Downtime |
190
+ |-----------|------------------|
191
+ | Shared infra startup | 30-60 seconds |
192
+ | Schema migration | 2-5 minutes |
193
+ | Orchestrator restart | 1-2 minutes per service |
194
+ | **Total (full rollback)** | **15-30 minutes** |
195
+ | **Total (single orchestrator)** | **5-10 minutes** |
196
+
197
+ ## Data Safety
198
+
199
+ ### Backup Verification
200
+
201
+ Before migration, verify backups are valid:
202
+
203
+ ```bash
204
+ # Test audit backup
205
+ docker exec -i vds-audit-postgres pg_restore -U vds_audit -d vds_audit_checkpoints --list < backups/pre-p0-audit.dump | head -20
206
+
207
+ # Test memory backup
208
+ docker exec -i vds-memory-postgres pg_restore -U vds_user -d vds_memory --list < backups/pre-p0-memory.dump | head -20
209
+ ```
210
+
211
+ ### Point-in-Time Recovery
212
+
213
+ If data corruption occurs after migration:
214
+
215
+ ```bash
216
+ # Stop writing to databases
217
+ docker compose stop
218
+
219
+ # Restore from backup
220
+ docker exec -i vds-postgres psql -U postgres -d vds_platform < backups/pre-p0-audit.sql
221
+ ```
222
+
223
+ ## Monitoring During Rollback
224
+
225
+ Watch these indicators:
226
+
227
+ ```bash
228
+ # Service health
229
+ watch docker ps
230
+
231
+ # Database connections
232
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "SELECT count(*) FROM pg_stat_activity"
233
+
234
+ # Error logs
235
+ docker logs -f vds-audit-orchestrator
236
+ docker logs -f vds-memory-api
237
+ ```
238
+
239
+ ## Emergency Contacts
240
+
241
+ | Service | Contact |
242
+ |---------|---------|
243
+ | Audit Orchestrator | Platform Team |
244
+ | Memory Orchestrator | Platform Team |
245
+ | PDF Orchestrator | Platform Team |
246
+ | PostgreSQL (Shared) | Platform Team |
247
+ | Redis (Shared) | Platform Team |
248
+
249
+ ## Post-Rollback Actions
250
+
251
+ 1. **Document the incident**
252
+ - Create incident report
253
+ - Note time of rollback
254
+ - Document root cause
255
+
256
+ 2. **Notify stakeholders**
257
+ - Alert affected teams
258
+ - Provide ETA for resolution
259
+
260
+ 3. **Plan fix**
261
+ - Identify root cause
262
+ - Create fix in isolated branch
263
+ - Test thoroughly before redeployment
264
+
265
+ ## Phase P4 — Alembic Migration Standardization Rollback
266
+
267
+ Use this when rolling back P4 schema standardization and Alembic adoption.
268
+
269
+ ### Steps
270
+
271
+ 1. **Stop affected services**
272
+ ```bash
273
+ # Stop orchestrators that use alembic
274
+ docker compose -f docker/docker-compose.services.yml stop audit-orchestrator progress-report-orchestrator scheduler-orchestrator
275
+ docker compose -f docker/docker-compose.services.yml stop memory-api memory-worker
276
+ ```
277
+
278
+ 2. **Alembic schema rollback**
279
+ ```bash
280
+ # v2.15.10+: migrate containers retired; use the orchestrator service via `docker compose run --rm`
281
+ COMPOSE_FILES="-f docker/docker-compose.infra.yml -f docker/docker-compose.services.yml -f docker/docker-compose.cli.yml"
282
+
283
+ # Downgrade audit schema to base (pre-P4 state). audit + progress images have
284
+ # ENTRYPOINT — use --entrypoint override; memory image has no ENTRYPOINT.
285
+ docker compose $COMPOSE_FILES --profile audit run --rm --no-deps \
286
+ --entrypoint /opt/venv/bin/alembic audit-orchestrator \
287
+ -c /app/audit_orchestrator/alembic.ini downgrade base
288
+
289
+ # Downgrade progress schema to base
290
+ docker compose $COMPOSE_FILES --profile progress run --rm --no-deps \
291
+ --entrypoint /opt/venv/bin/alembic progress-report-orchestrator \
292
+ -c /app/progress_report_orchestrator/alembic.ini downgrade base
293
+
294
+ # Downgrade scheduler schema to base (scheduler runs migrations in entrypoint;
295
+ # downgrade still requires explicit alembic invocation if needed)
296
+ docker compose $COMPOSE_FILES --profile full run --rm --no-deps \
297
+ --entrypoint /opt/venv/bin/alembic scheduler-orchestrator \
298
+ -c /app/scheduler_orchestrator/alembic.ini downgrade base
299
+
300
+ # WARNING: WP-5.1 schema-drop-safe caveat applies here.
301
+ # Pre-P5 versions had 0001.downgrade() with "DROP SCHEMA CASCADE"
302
+ # If rolling back to pre-P5 commits, transaction may abort with error:
303
+ # "ERROR: cannot drop schema sched because other objects in same schema
304
+ # depend on it (alembic_version)"
305
+ # See ADR-INF-11 in design.md for the full pattern explanation.
306
+ ```
307
+
308
+ 3. **Manual schema teardown (full rollback only)**
309
+ ```bash
310
+ # If alembic downgrade failed due to schema-drop-safe pattern:
311
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "DROP SCHEMA audit_state CASCADE;"
312
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "DROP SCHEMA progress CASCADE;"
313
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "DROP SCHEMA sched CASCADE;"
314
+
315
+ # Re-init schemas (creates schema + role + DBOS grants only, no tables)
316
+ docker cp docker/init-schemas.sql vds-postgres:/tmp/
317
+ docker exec vds-postgres psql -U postgres -d vds_platform -f /tmp/init-schemas.sql
318
+ ```
319
+
320
+ 4. **Revert P4 commits**
321
+ ```bash
322
+ # P4 merge commit and follow-on commits
323
+ git revert -m 1 de362279 # P4 merge
324
+ git revert 29463e47 # P4 live-deploy follow-up
325
+ git revert c1a3585d # ADR-INF-11 simplification
326
+ git revert 7e86db0c # Additional P4 follow-ups
327
+ git revert 6d1035e4 # Additional P4 follow-ups
328
+ ```
329
+
330
+ 5. **Restore from pg_dump snapshots**
331
+ ```bash
332
+ # Restore pre-P0 database snapshots (if available in docker/backups/)
333
+ docker exec -i vds-postgres pg_restore -U postgres -d vds_platform < docker/backups/pre-p0-audit.dump
334
+ docker exec -i vds-postgres pg_restore -U postgres -d vds_platform < docker/backups/pre-p0-progress.dump
335
+
336
+ # Verify schemas restored
337
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "\dn" | grep -E "audit_state|progress"
338
+ ```
339
+
340
+ 6. **Verify rollback**
341
+ ```bash
342
+ # Check services are running
343
+ docker ps | grep -E "audit-orchestrator|progress|memory"
344
+
345
+ # Test audit connectivity
346
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "SELECT COUNT(*) FROM audit_state.checkpoints;"
347
+
348
+ # Verify alembic_version tables are gone
349
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "SELECT version_num FROM audit_state.alembic_version;" 2>&1 | grep -i "does not exist"
350
+ ```
351
+
352
+ ## Phase P5 — Infrastructure Consistency & Migration Standardization Rollback
353
+
354
+ Use this when rolling back P5's env.py DRY refactor, migrate-tier relocation, and validator hardening.
355
+
356
+ ### Steps
357
+
358
+ 1. **Stop affected services**
359
+ ```bash
360
+ # Stop all services that depend on the refactored env.py files
361
+ docker compose -f docker/docker-compose.services.yml stop \
362
+ audit-orchestrator progress-report-orchestrator scheduler-orchestrator \
363
+ memory-api memory-worker
364
+ ```
365
+
366
+ 2. **Revert env.py inline boilerplate**
367
+ ```bash
368
+ # Restore inline env.py from pre-P5 state (before helper-import refactor)
369
+ git checkout 2f8ec72c^ -- \
370
+ memory_orchestrator/alembic/env.py \
371
+ audit_orchestrator/alembic/env.py \
372
+ progress_report_orchestrator/alembic/env.py \
373
+ scheduler_orchestrator/alembic/env.py
374
+ ```
375
+
376
+ 3. **Revert migrate-tier relocation**
377
+ ```bash
378
+ # Move memory-migrate service back to services.yml (from cli.yml)
379
+ git checkout 7f9751b4^ -- \
380
+ docker/docker-compose.services.yml \
381
+ docker/docker-compose.cli.yml \
382
+ Makefile \
383
+ docker/ADR.md
384
+ ```
385
+
386
+ 4. **Revert workspace dependency** (optional; `vds-platform-core` can remain)
387
+ ```bash
388
+ # If removing the helper module entirely
389
+ git checkout 2f8ec72c^ -- */pyproject.toml
390
+ ```
391
+
392
+ 5. **Revert sanity validator extensions**
393
+ ```bash
394
+ # Restore pre-P5 validator scripts (drops 4 new sanity checks)
395
+ git checkout 7b2afcde^ -- \
396
+ scripts/verify-infra-topology.py \
397
+ .gpt-5.4/specs/ecosystem-infrastructure-evolution/scripts/verify-spec-sanity.py
398
+ ```
399
+
400
+ 6. **Full P5 merge revert** (alternative to steps 2-5)
401
+ ```bash
402
+ # Single-shot revert of P5 merge commit
403
+ git revert -m 1 b95b586b
404
+
405
+ # Also revert post-merge follow-up fixups
406
+ git revert e8de66d2
407
+ git revert 921c95a9
408
+ ```
409
+
410
+ 7. **Database schema considerations**
411
+ ```bash
412
+ # CRITICAL: Do NOT run "alembic downgrade base" against scheduler post-P5-revert
413
+ # Reason: pre-P5 0001.downgrade() contains "DROP SCHEMA sched CASCADE"
414
+ # while alembic_version lives in the sched schema → transaction abort
415
+ #
416
+ # Instead, use one of:
417
+ # a) Restore from pg_dump snapshot (safest)
418
+ docker exec -i vds-postgres pg_restore -U postgres -d vds_platform < docker/backups/pre-p5-scheduler.dump
419
+
420
+ # b) Manual schema drop + re-init
421
+ docker exec vds-postgres psql -U postgres -d vds_platform -c "DROP SCHEMA sched CASCADE;"
422
+ docker cp docker/init-schemas.sql vds-postgres:/tmp/
423
+ docker exec vds-postgres psql -U postgres -d vds_platform -f /tmp/init-schemas.sql
424
+ ```
425
+
426
+ 8. **Verify rollback**
427
+ ```bash
428
+ # Check services restart cleanly
429
+ docker compose -f docker/docker-compose.services.yml up -d
430
+ docker ps | grep -E "orchestrator|memory"
431
+
432
+ # Verify env.py is no longer importing from vds_platform_core
433
+ grep -l "vds_platform_core.alembic.runtime" */alembic/env.py 2>/dev/null | wc -l
434
+ # Expected output: 0
435
+
436
+ # Check migrate-tier service location
437
+ docker compose -f docker/docker-compose.services.yml config | grep -A5 "memory-migrate"
438
+ ```
439
+
440
+ ## Phase P6 — Validation Hardening Rollback
441
+
442
+ Use this when rolling back P6's preventive tests, operator documentation, and skill updates.
443
+
444
+ ### Steps
445
+
446
+ 1. **Revert P6 test additions** (low risk; no production code)
447
+ ```bash
448
+ # P6 added prevention tests only; reverting removes test coverage but no functional code
449
+ git revert -m 1 8d7bed32
450
+
451
+ # Post-merge follow-up fixups
452
+ git revert 1569c1a9 # Audit Dockerfile vds_cli wiring
453
+ git revert 8ab4d5b9 # Smoke deploy RUNBOOK_STEPS sync
454
+ ```
455
+
456
+ 2. **Revert skill v1.7.17** (if needed)
457
+ ```bash
458
+ # In WHO-project/vds-skills repo:
459
+ cd WHO-project/vds-skills
460
+ git revert 92fcc7b # infrastructure-evolution-skill v1.7.1 commit
461
+
462
+ # Re-sync skill catalog
463
+ ./scripts/worktree_uv.sh run --project vds_cli vds-cli skills sync --agent claude
464
+ ```
465
+
466
+ 3. **Verify rollback**
467
+ ```bash
468
+ # Run test suite to confirm no P5 regressions from test removal
469
+ cd WHO-project/vds-scripts
470
+ make test
471
+
472
+ # Verify test files removed
473
+ find . -name "test_dockerfile_correctness.py" -o -name "test_makefile_loadouts.py" 2>/dev/null | wc -l
474
+ # Expected output: 0
475
+
476
+ # Confirm DEPLOYMENT-RUNBOOK.md no longer has "Common Deploy Gotchas"
477
+ grep -n "Common Deploy Gotchas" docker/DEPLOYMENT-RUNBOOK.md | wc -l
478
+ # Expected output: 0
479
+ ```
480
+
481
+ 4. **Restart services** (P6 changed no runtime code)
482
+ ```bash
483
+ # Services should restart without issues
484
+ docker compose -f docker/docker-compose.services.yml restart
485
+
486
+ # Verify topology is still valid (P5 validators unaffected)
487
+ make verify
488
+ # Expected: 35/35 PASS (pre-P6 count)
489
+ ```
490
+
491
+ ### P6 Rollback Notes
492
+
493
+ - **Low risk**: P6 contains only tests, documentation, and skill metadata. No orchestrator runtime code changed.
494
+ - **No database migration needed**: P6 did not add or modify any schema migrations.
495
+ - **Skill sync**: If you reverted the skill in vds-skills, re-run skills sync to propagate the older version to local catalog.
496
+ - **Test coverage**: Reverting P6 tests removes prevention guards for deploy-time bugs (Dockerfile correctness, Makefile loadouts, scheduler downgrade). Document the decision to rollback.
497
+
498
+ ## Phase P8 — Connection Pool Hardening Rollback (v2.15.3 session-mode topology)
499
+
500
+ P8 introduces the Tier 1.5 PgBouncer container (`vds-pgbouncer`) with `pool_mode=session` global default and per-database stanzas (`vds_audit`, `vds_memory`, `vds_progress`, `vds_sched`). All services route through it via single `VDS_<SVC>_DSN` env vars. **`max_connections` stays at 500** (session mode is 1:1 client:backend; multiplexing not claimed).
501
+
502
+ ### P8 First-Time Deploy Prerequisites (MUST run before first `up -d`)
503
+
504
+ The PgBouncer container requires `docker/infrastructure/pgbouncer/userlist.txt` to exist as a regular file (a stub is committed; replace with real password hashes BEFORE first `up -d`). Without this step, Docker's bind-mount semantics auto-create the source path as a directory, breaking PgBouncer with `auth_file: not a regular file`.
505
+
506
+ **Recommended (single-command path)**: run the helper script:
507
+ ```bash
508
+ bash scripts/init-pgbouncer-userlist.sh
509
+ ```
510
+ The script handles all of steps 0a–0e below (env validation, role creation, userlist generation, line-count sanity check, skip-worktree mark). Then jump straight to step 0f.
511
+
512
+ **Manual path (operator preference)**:
513
+
514
+ ```bash
515
+ # 0a. Set PGBOUNCER_ADMIN_PASSWORD in ~/.vds/.env (replace the placeholder default
516
+ # PGBOUNCER_ADMIN_PASSWORD=pgbouncer_admin_secret_change_me with a real value).
517
+
518
+ # 0b. Create the 3 PgBouncer-level users in Postgres (one-time, idempotent):
519
+ docker exec vds-postgres psql -U postgres -v pw="$PGBOUNCER_ADMIN_PASSWORD" -c "
520
+ DO \$\$ BEGIN
521
+ CREATE USER pgbouncer_admin WITH PASSWORD :'pw';
522
+ CREATE USER pgbouncer_stats WITH PASSWORD :'pw';
523
+ CREATE USER pgbouncer_auth WITH PASSWORD :'pw';
524
+ GRANT pg_read_all_settings TO pgbouncer_stats;
525
+ EXCEPTION WHEN duplicate_object THEN NULL; END \$\$;
526
+ "
527
+
528
+ # 0c. Generate the real userlist.txt from pg_shadow:
529
+ docker exec vds-postgres psql -U postgres -t -A -c "
530
+ SELECT '\"' || usename || '\" \"' || passwd || '\"'
531
+ FROM pg_shadow
532
+ WHERE usename IN ('postgres','pgbouncer_admin','pgbouncer_stats','pgbouncer_auth')
533
+ AND passwd IS NOT NULL
534
+ " > docker/infrastructure/pgbouncer/userlist.txt
535
+
536
+ # 0d. Verify the file is non-empty + has 4 lines:
537
+ wc -l docker/infrastructure/pgbouncer/userlist.txt # expected: 4
538
+
539
+ # 0e. Mark the file as locally-skipped so future modifications stay out of git:
540
+ git update-index --skip-worktree docker/infrastructure/pgbouncer/userlist.txt
541
+
542
+ # 0f. Now bring up vds-pgbouncer:
543
+ docker compose -f docker/docker-compose.infra.yml --profile infra up -d vds-pgbouncer
544
+
545
+ # 0g. Confirm healthcheck passes:
546
+ docker compose -f docker/docker-compose.infra.yml exec vds-pgbouncer \
547
+ psql -h 127.0.0.1 -p 5432 -U pgbouncer_admin -d pgbouncer -tAc 'SHOW VERSION;'
548
+ ```
549
+
550
+ Once these prerequisites are in place, services can be restarted to route through the pooler.
551
+
552
+ ### Rollback Steps
553
+
554
+ Because `max_connections` is unchanged, P8 rollback does **not** require a Postgres restart and is a low-risk procedure.
555
+
556
+ ```bash
557
+ # 1. Bulk-flip service DSNs from PgBouncer back to direct Postgres in ~/.vds/.env:
558
+ # VDS_<SVC>_DSN=postgresql://...@vds-pgbouncer:6432/vds_<svc>
559
+ # →
560
+ # VDS_<SVC>_DSN=postgresql://...@vds-postgres:5432/vds_platform?options=-c%20search_path%3D<schema>%2Cpublic
561
+ #
562
+ # Restore the original P0–P7 DSN format with vds-postgres:5432 host
563
+ # + ?options=search_path query parameter for schema pinning.
564
+
565
+ # 2. Restart all services with new env values (no postgres restart needed).
566
+ # IMPORTANT: Compose service names are HYPHENATED (audit-orchestrator, NOT
567
+ # audit_orchestrator). Verify the active set via `docker compose ... config --services`.
568
+ docker compose -f docker/docker-compose.infra.yml \
569
+ -f docker/docker-compose.services.yml \
570
+ -f docker/docker-compose.cli.yml \
571
+ --profile full up -d --no-deps \
572
+ audit-orchestrator memory-api memory-worker \
573
+ progress-report-orchestrator scheduler-orchestrator
574
+
575
+ # 3. Confirm services are connected to direct Postgres (not PgBouncer):
576
+ docker exec vds-memory-api env | grep VDS_MEMORY_DB_DSN
577
+ # Expected: vds-postgres:5432, NOT vds-pgbouncer:6432
578
+
579
+ # 4. Remove the PgBouncer container:
580
+ docker compose -f docker/docker-compose.infra.yml stop vds-pgbouncer
581
+ docker compose -f docker/docker-compose.infra.yml rm -f vds-pgbouncer
582
+ # Then remove the `vds-pgbouncer` service block from docker-compose.infra.yml
583
+ # (or keep the block + revert env files; the unused container won't hurt).
584
+
585
+ # 5. Verify infra:
586
+ make verify
587
+ # Expected: 35/35 PASS (pre-P8 count; the 6 P8 checks become irrelevant)
588
+ ```
589
+
590
+ ### P8 Rollback Notes
591
+
592
+ - **No `max_connections` change to revert**: v2.15.3 keeps `max_connections=500`. No Postgres restart needed during rollback. Compare to the v2.15.2 transaction-mode plan (deleted) which would have required ordered max_connections-restart-then-env-flip-then-pooler-removal.
593
+ - **No `_postmaster` GUC changes**: v2.15.3 doesn't touch `max_connections`, `shared_buffers`, or any other postmaster-level GUC. Just env values + container removal.
594
+ - **No service code rollback**: v2.15.3 introduced **zero service code changes** (only env values changed). DBOS config, asyncpg config, helper module, alembic env.py — all unchanged from P0–P7.
595
+ - **Userlist + pgbouncer.ini cleanup** (optional): if rolling back permanently, also remove `docker/infrastructure/pgbouncer/` directory and the `.gitignore` entry for `userlist.txt`.
596
+ - **Skill catalog rollback** (optional): the v1.7.17 (infrastructure-evolution), v1.0.6 (scheduler), v2.9.0 (mem0-deploy), v23.1.0 (audit-orchestrator) skill bumps are docs-only. Revert via `git revert` of the skill commits in vds-skills repo if desired.
@@ -0,0 +1,31 @@
1
+ services:
2
+ phase2-ubuntu-verifier:
3
+ image: ghcr.io/astral-sh/uv:python3.14-bookworm
4
+ working_dir: /workspace
5
+ volumes:
6
+ - ..:/workspace
7
+ - phase2-uv-cache:/tmp/phase2-uv-cache
8
+ environment:
9
+ VDS_CONFIG_DIR: /workspace/.phase2-linux/config
10
+ VDS_CACHE_DIR: /workspace/.phase2-linux/cache
11
+ VDS_LOG_DIR: /workspace/.phase2-linux/logs
12
+ VDS_ENV_FILE: /workspace/.phase2-linux/config/.env
13
+ UV_PROJECT_ENVIRONMENT: /tmp/phase2-uv-env
14
+ UV_CACHE_DIR: /tmp/phase2-uv-cache
15
+ UV_HTTP_TIMEOUT: "120"
16
+ UV_LINK_MODE: copy
17
+ command: >-
18
+ bash -lc '
19
+ set -euo pipefail
20
+ mkdir -p /workspace/.phase2-linux/config /workspace/.phase2-linux/cache /workspace/.phase2-linux/logs /tmp/phase2-uv-cache
21
+ uv run --frozen --verbose --project vds_cli_common pytest vds_cli_common/tests/test_paths.py vds_cli_common/tests/test_env.py
22
+ PYTHONPATH=audit_orchestrator/src:vds_cli_common/src \
23
+ uv run --no-project --with pytest --with pydantic --with pydantic-settings --with structlog --with platformdirs --with typer --with rich \
24
+ pytest --noconftest audit_orchestrator/tests/test_paths_config_phase2.py audit_orchestrator/tests/unit/scripts/test_verify_phase124_handoff.py -q
25
+ PYTHONPATH=audit_orchestrator/src:vds_cli_common/src:bitbucket_orchestrator/src:confluence_orchestrator/src:sonarqube_orchestrator/src:google_sheets_orchestrator/src:excel_orchestrator/src:git_orchestrator/src:vds_cli/src:spec_orchestrator/src \
26
+ uv run --no-project --with pytest --with pydantic --with pydantic-settings --with structlog --with platformdirs --with typer --with rich --with httpx --with pyyaml --with filelock --with markdown-it-py --with beautifulsoup4 --with openpyxl --with pandas --with requests --with atlassian-python-api --with pydantic-ai --with "psycopg[binary]" --with text-unidecode --with python-sonarqube-api --with dspy-ai --with PyGithub --with langgraph --with langgraph-checkpoint --with langgraph-checkpoint-postgres \
27
+ pytest --noconftest audit_orchestrator/tests/test_cli_paths_phase2.py -q
28
+ '
29
+
30
+ volumes:
31
+ phase2-uv-cache: