@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,300 @@
1
+ """Unit tests for vds_platform_core.alembic.runtime (WP-5.2 / ADR-INF-12).
2
+
3
+ All tests are fully synthetic — no real Postgres, no real Alembic runner.
4
+ alembic.context and SQLAlchemy are mocked at the boundary so the helper
5
+ module's logic is exercised in isolation.
6
+
7
+ TDD discipline:
8
+ - These tests were written BEFORE runtime.py existed (RED step).
9
+ - They must fail until runtime.py is implemented (GREEN step).
10
+
11
+ Coverage targets:
12
+ - resolve_database_url: single env var lookup; RuntimeError on missing.
13
+ (v2.15.12: removed force_psycopg_v3 + fallback-list semantics — no-fallback
14
+ directive; per-stanza connect_query in pgbouncer.ini handles search_path.)
15
+ - run_migrations_offline: version_table_schema defaulting; explicit "sched"
16
+ override; include_name plumbing; correct configure kwargs; no SET search_path.
17
+ - run_migrations_online: same defaulting/override; engine_from_config called;
18
+ context.configure called with connection kwarg; no text("SET search_path")
19
+ executed on the connection.
20
+ """
21
+
22
+ from __future__ import annotations
23
+
24
+ from typing import Any
25
+ from unittest.mock import MagicMock, patch
26
+
27
+ # ---------------------------------------------------------------------------
28
+ # Helpers
29
+ # ---------------------------------------------------------------------------
30
+
31
+
32
+ def _make_include_name():
33
+ """Return a trivial include_name callable for wiring tests."""
34
+
35
+ def _fn(name: str | None, type_: str, parent_names: dict[str, Any]) -> bool:
36
+ return True
37
+
38
+ return _fn
39
+
40
+
41
+ # ---------------------------------------------------------------------------
42
+ # resolve_database_url
43
+ # ---------------------------------------------------------------------------
44
+
45
+
46
+ class TestResolveDatabaseUrl:
47
+ """Tests for resolve_database_url (v2.15.12 single-var, no-fallback)."""
48
+
49
+ def test_returns_value_when_env_var_set(self, monkeypatch):
50
+ """The env var's value is returned when set."""
51
+ monkeypatch.setenv("MY_DSN", "postgresql://host/db")
52
+ from vds_platform_core.alembic.runtime import resolve_database_url
53
+
54
+ result = resolve_database_url(env_var="MY_DSN")
55
+ assert result == "postgresql://host/db"
56
+
57
+ def test_raises_runtime_error_when_unset(self, monkeypatch):
58
+ """RuntimeError raised when env var is unset."""
59
+ monkeypatch.delenv("MY_DSN", raising=False)
60
+ import pytest
61
+ from vds_platform_core.alembic.runtime import resolve_database_url
62
+
63
+ with pytest.raises(RuntimeError, match="MY_DSN"):
64
+ resolve_database_url(env_var="MY_DSN")
65
+
66
+ def test_raises_runtime_error_when_empty_string(self, monkeypatch):
67
+ """RuntimeError raised when env var is set to empty string."""
68
+ monkeypatch.setenv("MY_DSN", "")
69
+ import pytest
70
+ from vds_platform_core.alembic.runtime import resolve_database_url
71
+
72
+ with pytest.raises(RuntimeError, match="MY_DSN"):
73
+ resolve_database_url(env_var="MY_DSN")
74
+
75
+ def test_value_returned_verbatim_no_rewriting(self, monkeypatch):
76
+ """v2.15.12: no URL rewriting (force_psycopg_v3 removed); returned as-is."""
77
+ url = "postgresql+asyncpg://host/db"
78
+ monkeypatch.setenv("MY_DSN", url)
79
+ from vds_platform_core.alembic.runtime import resolve_database_url
80
+
81
+ result = resolve_database_url(env_var="MY_DSN")
82
+ assert result == url
83
+
84
+
85
+ # ---------------------------------------------------------------------------
86
+ # run_migrations_offline
87
+ # ---------------------------------------------------------------------------
88
+
89
+
90
+ class TestRunMigrationsOffline:
91
+ """Tests for run_migrations_offline."""
92
+
93
+ def _run(self, mock_context, *, schema, version_table_schema=None, **extra):
94
+ """Helper: patch alembic.context and call run_migrations_offline."""
95
+ from sqlalchemy import MetaData
96
+ from vds_platform_core.alembic.runtime import run_migrations_offline
97
+
98
+ include_name = _make_include_name()
99
+ kwargs = {
100
+ "target_metadata": MetaData(),
101
+ "schema": schema,
102
+ "url": "postgresql+psycopg://host/db",
103
+ "include_name": include_name,
104
+ }
105
+ if version_table_schema is not None:
106
+ kwargs["version_table_schema"] = version_table_schema
107
+ kwargs.update(extra)
108
+ run_migrations_offline(**kwargs)
109
+
110
+ def test_version_table_schema_defaults_to_schema(self):
111
+ """When version_table_schema omitted, it defaults to the schema argument."""
112
+ with patch("vds_platform_core.alembic.runtime.context") as mock_ctx:
113
+ mock_ctx.begin_transaction.return_value.__enter__ = MagicMock(return_value=None)
114
+ mock_ctx.begin_transaction.return_value.__exit__ = MagicMock(return_value=False)
115
+ self._run(mock_ctx, schema="memory")
116
+ configure_call = mock_ctx.configure.call_args
117
+ assert configure_call.kwargs["version_table_schema"] == "memory"
118
+
119
+ def test_explicit_version_table_schema_sched_preserved(self):
120
+ """Explicit version_table_schema='sched' overrides the default."""
121
+ with patch("vds_platform_core.alembic.runtime.context") as mock_ctx:
122
+ mock_ctx.begin_transaction.return_value.__enter__ = MagicMock(return_value=None)
123
+ mock_ctx.begin_transaction.return_value.__exit__ = MagicMock(return_value=False)
124
+ self._run(mock_ctx, schema="sched", version_table_schema="sched")
125
+ configure_call = mock_ctx.configure.call_args
126
+ assert configure_call.kwargs["version_table_schema"] == "sched"
127
+
128
+ def test_include_name_callable_wired(self):
129
+ """The include_name callable is passed through to context.configure."""
130
+ with patch("vds_platform_core.alembic.runtime.context") as mock_ctx:
131
+ mock_ctx.begin_transaction.return_value.__enter__ = MagicMock(return_value=None)
132
+ mock_ctx.begin_transaction.return_value.__exit__ = MagicMock(return_value=False)
133
+ from sqlalchemy import MetaData
134
+
135
+ fn = _make_include_name()
136
+ from vds_platform_core.alembic.runtime import run_migrations_offline
137
+
138
+ run_migrations_offline(
139
+ target_metadata=MetaData(),
140
+ schema="audit_state",
141
+ url="postgresql+psycopg://host/db",
142
+ include_name=fn,
143
+ )
144
+ configure_call = mock_ctx.configure.call_args
145
+ assert configure_call.kwargs["include_name"] is fn
146
+
147
+ def test_offline_configure_receives_url_and_literal_binds(self):
148
+ """context.configure receives url= and literal_binds=True for offline mode."""
149
+ with patch("vds_platform_core.alembic.runtime.context") as mock_ctx:
150
+ mock_ctx.begin_transaction.return_value.__enter__ = MagicMock(return_value=None)
151
+ mock_ctx.begin_transaction.return_value.__exit__ = MagicMock(return_value=False)
152
+ self._run(mock_ctx, schema="progress")
153
+ configure_kwargs = mock_ctx.configure.call_args.kwargs
154
+ assert configure_kwargs["url"] == "postgresql+psycopg://host/db"
155
+ assert configure_kwargs["literal_binds"] is True
156
+ assert configure_kwargs["include_schemas"] is True
157
+
158
+ def test_run_migrations_called_inside_transaction(self):
159
+ """context.run_migrations() is called inside begin_transaction context."""
160
+ with patch("vds_platform_core.alembic.runtime.context") as mock_ctx:
161
+ tx_ctx = MagicMock()
162
+ tx_ctx.__enter__ = MagicMock(return_value=None)
163
+ tx_ctx.__exit__ = MagicMock(return_value=False)
164
+ mock_ctx.begin_transaction.return_value = tx_ctx
165
+ self._run(mock_ctx, schema="memory")
166
+ mock_ctx.begin_transaction.assert_called_once()
167
+ mock_ctx.run_migrations.assert_called_once()
168
+
169
+
170
+ # ---------------------------------------------------------------------------
171
+ # run_migrations_online
172
+ # ---------------------------------------------------------------------------
173
+
174
+
175
+ class TestRunMigrationsOnline:
176
+ """Tests for run_migrations_online."""
177
+
178
+ def _build_alembic_config(self):
179
+ """Build a minimal mock alembic config."""
180
+ cfg = MagicMock()
181
+ cfg.get_section.return_value = {}
182
+ cfg.config_ini_section = "alembic"
183
+ return cfg
184
+
185
+ def _run(self, mock_context, mock_engine_from_config, *, schema, version_table_schema=None):
186
+ """Helper: patch context + engine_from_config and call run_migrations_online."""
187
+ from sqlalchemy import MetaData
188
+ from vds_platform_core.alembic.runtime import run_migrations_online
189
+
190
+ mock_conn = MagicMock()
191
+ mock_conn.__enter__ = MagicMock(return_value=mock_conn)
192
+ mock_conn.__exit__ = MagicMock(return_value=False)
193
+ mock_engine = MagicMock()
194
+ mock_engine.connect.return_value = mock_conn
195
+ mock_engine_from_config.return_value = mock_engine
196
+
197
+ mock_tx = MagicMock()
198
+ mock_tx.__enter__ = MagicMock(return_value=None)
199
+ mock_tx.__exit__ = MagicMock(return_value=False)
200
+ mock_context.begin_transaction.return_value = mock_tx
201
+
202
+ alembic_cfg = self._build_alembic_config()
203
+
204
+ include_name = _make_include_name()
205
+ kwargs = {
206
+ "target_metadata": MetaData(),
207
+ "schema": schema,
208
+ "url": "postgresql+psycopg://host/db",
209
+ "include_name": include_name,
210
+ "alembic_config": alembic_cfg,
211
+ }
212
+ if version_table_schema is not None:
213
+ kwargs["version_table_schema"] = version_table_schema
214
+ run_migrations_online(**kwargs)
215
+ return mock_conn, mock_engine
216
+
217
+ def test_version_table_schema_defaults_to_schema_online(self):
218
+ """version_table_schema defaults to schema when not provided (online mode)."""
219
+ with (
220
+ patch("vds_platform_core.alembic.runtime.context") as mock_ctx,
221
+ patch("vds_platform_core.alembic.runtime.engine_from_config") as mock_efc,
222
+ ):
223
+ self._run(mock_ctx, mock_efc, schema="memory")
224
+ configure_kwargs = mock_ctx.configure.call_args.kwargs
225
+ assert configure_kwargs["version_table_schema"] == "memory"
226
+
227
+ def test_explicit_sched_version_table_schema_preserved_online(self):
228
+ """version_table_schema='sched' preserved from caller (WP-5.1 contract)."""
229
+ with (
230
+ patch("vds_platform_core.alembic.runtime.context") as mock_ctx,
231
+ patch("vds_platform_core.alembic.runtime.engine_from_config") as mock_efc,
232
+ ):
233
+ self._run(mock_ctx, mock_efc, schema="sched", version_table_schema="sched")
234
+ configure_kwargs = mock_ctx.configure.call_args.kwargs
235
+ assert configure_kwargs["version_table_schema"] == "sched"
236
+
237
+ def test_engine_from_config_called_with_url(self):
238
+ """engine_from_config is called with sqlalchemy.url injected."""
239
+ with (
240
+ patch("vds_platform_core.alembic.runtime.context") as mock_ctx,
241
+ patch("vds_platform_core.alembic.runtime.engine_from_config") as mock_efc,
242
+ ):
243
+ self._run(mock_ctx, mock_efc, schema="audit_state")
244
+ assert mock_efc.called
245
+ call_kwargs = mock_efc.call_args
246
+ # First positional arg is the config dict
247
+ config_dict = call_kwargs.args[0] if call_kwargs.args else call_kwargs.kwargs.get("configuration", {})
248
+ assert config_dict.get("sqlalchemy.url") == "postgresql+psycopg://host/db"
249
+
250
+ def test_context_configure_receives_connection(self):
251
+ """context.configure must receive connection= (not url=) in online mode."""
252
+ with (
253
+ patch("vds_platform_core.alembic.runtime.context") as mock_ctx,
254
+ patch("vds_platform_core.alembic.runtime.engine_from_config") as mock_efc,
255
+ ):
256
+ _conn, _ = self._run(mock_ctx, mock_efc, schema="progress")
257
+ configure_kwargs = mock_ctx.configure.call_args.kwargs
258
+ assert "connection" in configure_kwargs
259
+ assert "url" not in configure_kwargs
260
+
261
+ def test_no_set_search_path_executed_on_connection(self):
262
+ """connection.execute must NEVER be called with SET search_path.
263
+
264
+ ADR-INF-11 §SA2.0 Implicit-TX Gotcha: executing SET search_path outside
265
+ a transaction silently breaks the alembic_version CREATE/INSERT.
266
+ The helper must NEVER call connection.execute with any SET statement.
267
+ """
268
+ with (
269
+ patch("vds_platform_core.alembic.runtime.context") as mock_ctx,
270
+ patch("vds_platform_core.alembic.runtime.engine_from_config") as mock_efc,
271
+ ):
272
+ conn, _ = self._run(mock_ctx, mock_efc, schema="memory")
273
+ # Verify connection.execute was never called with SET search_path
274
+ for call_args in conn.execute.call_args_list:
275
+ args = call_args.args
276
+ if args:
277
+ stmt = str(args[0])
278
+ assert "SET search_path" not in stmt, (
279
+ f"connection.execute called with SET search_path: {stmt!r}. "
280
+ "ADR-INF-11 §SA2.0 Implicit-TX Gotcha forbids this."
281
+ )
282
+
283
+ def test_include_schemas_true_in_online_configure(self):
284
+ """include_schemas=True must be in context.configure kwargs."""
285
+ with (
286
+ patch("vds_platform_core.alembic.runtime.context") as mock_ctx,
287
+ patch("vds_platform_core.alembic.runtime.engine_from_config") as mock_efc,
288
+ ):
289
+ self._run(mock_ctx, mock_efc, schema="audit_state")
290
+ configure_kwargs = mock_ctx.configure.call_args.kwargs
291
+ assert configure_kwargs.get("include_schemas") is True
292
+
293
+ def test_run_migrations_called_in_online_mode(self):
294
+ """context.run_migrations() called inside begin_transaction in online mode."""
295
+ with (
296
+ patch("vds_platform_core.alembic.runtime.context") as mock_ctx,
297
+ patch("vds_platform_core.alembic.runtime.engine_from_config") as mock_efc,
298
+ ):
299
+ self._run(mock_ctx, mock_efc, schema="sched")
300
+ mock_ctx.run_migrations.assert_called_once()
@@ -0,0 +1,84 @@
1
+ """Tests for vds_platform_core.http.auth — TSK-7.3b."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import asyncio
6
+ from typing import Any
7
+
8
+ from vds_platform_core.http.auth import with_auth
9
+ from vds_platform_core.protocols import HTTPClient
10
+
11
+
12
+ class _StubClient:
13
+ def __init__(self) -> None:
14
+ self.last_get_kw: dict[str, Any] = {}
15
+ self.last_post_kw: dict[str, Any] = {}
16
+ self.closed = False
17
+
18
+ async def get(self, url: str, **kw: Any) -> dict[str, Any]:
19
+ self.last_get_kw = kw
20
+ return {}
21
+
22
+ async def post(self, url: str, **kw: Any) -> dict[str, Any]:
23
+ self.last_post_kw = kw
24
+ return {}
25
+
26
+ async def aclose(self) -> None:
27
+ self.closed = True
28
+
29
+
30
+ class _TokenResolver:
31
+ def __init__(self, token: str | None) -> None:
32
+ self._token = token
33
+
34
+ def resolve(self) -> str | None:
35
+ return self._token
36
+
37
+
38
+ def test_with_auth_returns_http_client() -> None:
39
+ """with_auth result satisfies the HTTPClient protocol."""
40
+ assert isinstance(with_auth(_StubClient(), _TokenResolver("tok")), HTTPClient)
41
+
42
+
43
+ def test_with_auth_injects_default_authorization_header() -> None:
44
+ """Token injected into Authorization header on GET by default."""
45
+ stub = _StubClient()
46
+ asyncio.run(with_auth(stub, _TokenResolver("Bearer abc")).get("https://x.com"))
47
+ assert stub.last_get_kw["headers"]["Authorization"] == "Bearer abc"
48
+
49
+
50
+ def test_with_auth_uses_custom_header_name() -> None:
51
+ """custom header_name is used instead of Authorization."""
52
+ stub = _StubClient()
53
+ asyncio.run(with_auth(stub, _TokenResolver("tok"), header_name="X-API-Key").get("https://x.com"))
54
+ assert stub.last_get_kw["headers"]["X-API-Key"] == "tok"
55
+
56
+
57
+ def test_with_auth_none_resolver_skips_injection() -> None:
58
+ """When resolver returns None, no header is injected."""
59
+ stub = _StubClient()
60
+ asyncio.run(with_auth(stub, _TokenResolver(None)).get("https://x.com"))
61
+ assert "Authorization" not in stub.last_get_kw.get("headers", {})
62
+
63
+
64
+ def test_with_auth_does_not_overwrite_existing_header() -> None:
65
+ """User-supplied Authorization header is preserved (setdefault semantics)."""
66
+ stub = _StubClient()
67
+ asyncio.run(
68
+ with_auth(stub, _TokenResolver("server-token")).get("https://x.com", headers={"Authorization": "user-token"})
69
+ )
70
+ assert stub.last_get_kw["headers"]["Authorization"] == "user-token"
71
+
72
+
73
+ def test_with_auth_delegates_aclose() -> None:
74
+ """aclose() is forwarded to the underlying client."""
75
+ stub = _StubClient()
76
+ asyncio.run(with_auth(stub, _TokenResolver("tok")).aclose())
77
+ assert stub.closed is True
78
+
79
+
80
+ def test_with_auth_injects_on_post() -> None:
81
+ """Header is also injected on POST requests."""
82
+ stub = _StubClient()
83
+ asyncio.run(with_auth(stub, _TokenResolver("tok")).post("https://x.com", json={"a": 1}))
84
+ assert stub.last_post_kw["headers"]["Authorization"] == "tok"
@@ -0,0 +1,83 @@
1
+ """Tests for vds_platform_core.config."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from pathlib import Path
6
+
7
+ from pydantic_settings import BaseSettings, SettingsConfigDict
8
+ from pydantic_settings.sources import DotEnvSettingsSource
9
+ from vds_platform_core.config import VDS_BASE_SETTINGS_CONFIG, vds_settings_customise_sources
10
+
11
+
12
+ class _DemoSettings(BaseSettings):
13
+ model_config = SettingsConfigDict(env_prefix="DEMO__")
14
+ value: str = "default"
15
+
16
+
17
+ class TestVDSBaseSettingsConfig:
18
+ def test_has_required_keys(self) -> None:
19
+ assert VDS_BASE_SETTINGS_CONFIG["env_file"] == "~/.vds/.env"
20
+ assert VDS_BASE_SETTINGS_CONFIG["dotenv_filtering"] == "match_prefix"
21
+ assert VDS_BASE_SETTINGS_CONFIG["env_nested_delimiter"] == "__"
22
+
23
+ def test_case_insensitive_flag(self) -> None:
24
+ """TSK-7.12a: case_sensitive=False must be present."""
25
+ assert VDS_BASE_SETTINGS_CONFIG["case_sensitive"] is False
26
+
27
+ def test_populate_by_name_flag(self) -> None:
28
+ """TSK-7.12a: populate_by_name=True must be present."""
29
+ assert VDS_BASE_SETTINGS_CONFIG["populate_by_name"] is True
30
+
31
+
32
+ class TestSettingsCustomiseSources:
33
+ def test_returns_tuple_with_init_and_env_sources_first(self, tmp_path: Path) -> None:
34
+ env_file = tmp_path / ".env"
35
+ env_file.write_text("DEMO__VALUE=from-env\n", encoding="utf-8")
36
+
37
+ init_settings = object()
38
+ env_settings = object()
39
+ sources = vds_settings_customise_sources(
40
+ _DemoSettings,
41
+ init_settings, # type: ignore[arg-type]
42
+ env_settings, # type: ignore[arg-type]
43
+ object(), # type: ignore[arg-type]
44
+ object(), # type: ignore[arg-type]
45
+ env_paths=(env_file,),
46
+ )
47
+
48
+ assert isinstance(sources, tuple)
49
+ assert sources[0] is init_settings
50
+ assert sources[1] is env_settings
51
+
52
+ def test_custom_env_paths_add_dotenv_sources(self, tmp_path: Path) -> None:
53
+ env_file = tmp_path / "custom.env"
54
+ env_file.write_text("DEMO__VALUE=custom\n", encoding="utf-8")
55
+
56
+ sources = vds_settings_customise_sources(
57
+ _DemoSettings,
58
+ object(), # type: ignore[arg-type]
59
+ object(), # type: ignore[arg-type]
60
+ object(), # type: ignore[arg-type]
61
+ object(), # type: ignore[arg-type]
62
+ env_paths=(env_file,),
63
+ )
64
+ dotenv_sources = [source for source in sources if isinstance(source, DotEnvSettingsSource)]
65
+ assert len(dotenv_sources) == 1
66
+ assert Path(dotenv_sources[0].env_file) == env_file
67
+
68
+ def test_missing_env_paths_are_skipped(self, tmp_path: Path) -> None:
69
+ existing = tmp_path / "existing.env"
70
+ existing.write_text("DEMO__VALUE=ok\n", encoding="utf-8")
71
+ missing = tmp_path / "missing.env"
72
+
73
+ sources = vds_settings_customise_sources(
74
+ _DemoSettings,
75
+ object(), # type: ignore[arg-type]
76
+ object(), # type: ignore[arg-type]
77
+ object(), # type: ignore[arg-type]
78
+ object(), # type: ignore[arg-type]
79
+ env_paths=(missing, existing),
80
+ )
81
+ dotenv_sources = [source for source in sources if isinstance(source, DotEnvSettingsSource)]
82
+ assert len(dotenv_sources) == 1
83
+ assert Path(dotenv_sources[0].env_file) == existing
@@ -0,0 +1,73 @@
1
+ """Tests for vds_platform_core.credentials — TSK-7.2."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import TYPE_CHECKING
6
+
7
+ from pydantic import SecretStr
8
+ from vds_platform_core.credentials import HeaderAuthResolver, resolve_secret
9
+
10
+ if TYPE_CHECKING:
11
+ import pytest
12
+
13
+ # ---------------------------------------------------------------------------
14
+ # resolve_secret — 5 tests
15
+ # ---------------------------------------------------------------------------
16
+
17
+
18
+ def test_resolve_secret_secretstr() -> None:
19
+ """SecretStr is unwrapped to its plain string value."""
20
+ assert resolve_secret(SecretStr("abc")) == "abc"
21
+
22
+
23
+ def test_resolve_secret_plain_str() -> None:
24
+ """Plain str passes through unchanged."""
25
+ assert resolve_secret("abc") == "abc"
26
+
27
+
28
+ def test_resolve_secret_none() -> None:
29
+ """None returns None."""
30
+ assert resolve_secret(None) is None
31
+
32
+
33
+ def test_resolve_secret_empty_str() -> None:
34
+ """Empty string is treated as absent and returns None."""
35
+ assert resolve_secret("") is None
36
+
37
+
38
+ def test_resolve_secret_idempotent() -> None:
39
+ """resolve_secret applied twice is identical to applying it once."""
40
+ once = resolve_secret(SecretStr("x"))
41
+ twice = resolve_secret(once)
42
+ assert once == twice == "x"
43
+ # Nested-call form confirms idempotency in one expression:
44
+ assert resolve_secret(resolve_secret(SecretStr("x"))) == resolve_secret(SecretStr("x")) == "x"
45
+
46
+
47
+ # ---------------------------------------------------------------------------
48
+ # HeaderAuthResolver — 3 tests
49
+ # ---------------------------------------------------------------------------
50
+
51
+
52
+ def test_header_auth_resolver_attributes() -> None:
53
+ """Constructor stores token_field and header_name."""
54
+ resolver = HeaderAuthResolver(token_field="X-Token", header_name="Authorization")
55
+ assert resolver.token_field == "X-Token"
56
+ assert resolver.header_name == "Authorization"
57
+
58
+
59
+ def test_header_auth_resolver_resolve_from_env(monkeypatch: pytest.MonkeyPatch) -> None:
60
+ """resolve() returns the token value found in environment."""
61
+ monkeypatch.setenv("VDS_TEST_TOKEN", "bearer-abc")
62
+ resolver = HeaderAuthResolver(token_field="VDS_TEST_TOKEN", header_name="Authorization")
63
+ assert resolver.resolve() == "bearer-abc"
64
+
65
+
66
+ def test_header_auth_resolver_resolve_missing_env(monkeypatch: pytest.MonkeyPatch) -> None:
67
+ """resolve() returns None when the env var is not set."""
68
+ monkeypatch.delenv("VDS_MISSING_TOKEN_XYZ", raising=False)
69
+ resolver = HeaderAuthResolver(
70
+ token_field="VDS_MISSING_TOKEN_XYZ",
71
+ header_name="X-Api-Key",
72
+ )
73
+ assert resolver.resolve() is None
@@ -0,0 +1,56 @@
1
+ """Tests for vds_platform_core.env — TSK-7.12b."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from pathlib import Path
6
+ from typing import TYPE_CHECKING
7
+
8
+ import vds_platform_core.env as _env_mod
9
+ from vds_platform_core.env import DEFAULT_ENV_PATHS
10
+
11
+ if TYPE_CHECKING:
12
+ import pytest
13
+
14
+
15
+ def test_default_env_paths_is_tuple() -> None:
16
+ """DEFAULT_ENV_PATHS is a non-empty tuple of Path objects."""
17
+ assert isinstance(DEFAULT_ENV_PATHS, tuple)
18
+ assert len(DEFAULT_ENV_PATHS) == 1
19
+ assert isinstance(DEFAULT_ENV_PATHS[0], Path)
20
+
21
+
22
+ def test_default_env_paths_default_is_vds_dot_env() -> None:
23
+ """Without env overrides, path is ~/.vds/.env."""
24
+ path = (
25
+ _env_mod._vds_env_path.__wrapped__()
26
+ if hasattr(_env_mod._vds_env_path, "__wrapped__")
27
+ else _env_mod._vds_env_path()
28
+ )
29
+ assert path == Path.home() / ".vds" / ".env"
30
+
31
+
32
+ def test_vds_env_file_override(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
33
+ """VDS_ENV_FILE env var is honoured."""
34
+ custom = tmp_path / "custom.env"
35
+ monkeypatch.setenv("VDS_ENV_FILE", str(custom))
36
+ assert _env_mod._vds_env_path() == custom.resolve()
37
+
38
+
39
+ def test_vds_config_dir_override(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
40
+ """VDS_CONFIG_DIR env var shifts the root directory."""
41
+ monkeypatch.delenv("VDS_ENV_FILE", raising=False)
42
+ monkeypatch.setenv("VDS_CONFIG_DIR", str(tmp_path))
43
+ assert _env_mod._vds_env_path() == tmp_path.resolve() / ".env"
44
+
45
+
46
+ def test_vds_env_file_takes_precedence_over_config_dir(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
47
+ """VDS_ENV_FILE wins over VDS_CONFIG_DIR when both are set."""
48
+ custom = tmp_path / "direct.env"
49
+ monkeypatch.setenv("VDS_ENV_FILE", str(custom))
50
+ monkeypatch.setenv("VDS_CONFIG_DIR", str(tmp_path / "other"))
51
+ assert _env_mod._vds_env_path() == custom.resolve()
52
+
53
+
54
+ def test_default_env_paths_exported_in_all() -> None:
55
+ """DEFAULT_ENV_PATHS is listed in __all__."""
56
+ assert "DEFAULT_ENV_PATHS" in _env_mod.__all__