@ngocsangairvds/vsaf 4.1.14 → 4.1.16

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 (136) hide show
  1. package/package.json +1 -1
  2. package/skills/vds-skill/runtime/AGENTS.md +10 -10
  3. package/skills/vds-skill/runtime/AGENTS.vi.md +6 -6
  4. package/skills/vds-skill/runtime/README.md +3 -3
  5. package/skills/vds-skill/runtime/bitbucket_orchestrator/BITBUCKET_API_PRACTICES.md +1 -1
  6. package/skills/vds-skill/runtime/bitbucket_orchestrator/FEATURES.md +75 -75
  7. package/skills/vds-skill/runtime/bitbucket_orchestrator/README.md +102 -102
  8. package/skills/vds-skill/runtime/brd_orchestrator/README.md +2 -2
  9. package/skills/vds-skill/runtime/confluence_orchestrator/README.md +97 -97
  10. package/skills/vds-skill/runtime/confluence_orchestrator/SYNC_SCRIPTS.md +12 -12
  11. package/skills/vds-skill/runtime/confluence_orchestrator/SYNC_STANDARDIZATION.md +6 -6
  12. package/skills/vds-skill/runtime/confluence_orchestrator/src/confluence_orchestrator/config.py +1 -1
  13. package/skills/vds-skill/runtime/diagram_generator/README.md +5 -5
  14. package/skills/vds-skill/runtime/docker/ROLLBACK.md +1 -1
  15. package/skills/vds-skill/runtime/docs/README.md +30 -30
  16. package/skills/vds-skill/runtime/docs/agents/explanation/runtime-verification-and-gap-reporting.md +4 -4
  17. package/skills/vds-skill/runtime/docs/agents/how-to/02-using-vds-ai-memory.md +1 -1
  18. package/skills/vds-skill/runtime/docs/agents/how-to/apply-phase3-migration.md +2 -2
  19. package/skills/vds-skill/runtime/docs/agents/how-to/first-audit-run.md +1 -1
  20. package/skills/vds-skill/runtime/docs/agents/how-to/install-and-bootstrap-who-scripts-and-skills.md +14 -14
  21. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/analytics-pipeline-workflow.md +9 -9
  22. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/code-quality-gate-workflow.md +5 -5
  23. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/confluence-bitbucket-sync-workflow.md +9 -9
  24. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/document-delivery-workflow.md +3 -3
  25. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/memory-progress-workflow.md +9 -9
  26. package/skills/vds-skill/runtime/docs/agents/how-to/orchestrator-workflows/research-spec-audit-workflow.md +8 -8
  27. package/skills/vds-skill/runtime/docs/agents/how-to/phase131-all-project-preparation.md +13 -13
  28. package/skills/vds-skill/runtime/docs/agents/how-to/phase131-bounded-parallel-analysis.md +6 -6
  29. package/skills/vds-skill/runtime/docs/agents/how-to/phase131-confluence-upload-recovery.md +4 -4
  30. package/skills/vds-skill/runtime/docs/agents/how-to/run-ecosystem-daily-report.md +8 -8
  31. package/skills/vds-skill/runtime/docs/agents/reference/audit-triage-playbook.md +10 -10
  32. package/skills/vds-skill/runtime/docs/agents/reference/cli-commands.md +34 -34
  33. package/skills/vds-skill/runtime/docs/agents/reference/cli-help-matrix.md +6 -6
  34. package/skills/vds-skill/runtime/docs/agents/reference/ecosystem-daily-report.md +3 -3
  35. package/skills/vds-skill/runtime/docs/agents/reference/portable-paths-and-config.md +0 -0
  36. package/skills/vds-skill/runtime/docs/agents/reference/portable-paths-validation-matrix.md +2 -2
  37. package/skills/vds-skill/runtime/docs/agents/reference/vds-ai-memory-api.md +1 -1
  38. package/skills/vds-skill/runtime/docs/agents/tutorials/who-skills-and-scripts-onboarding.md +4 -4
  39. package/skills/vds-skill/runtime/docs/agents/tutorials/zero-to-productive-developer.md +14 -14
  40. package/skills/vds-skill/runtime/docs/vi/agents/explanation/runtime-verification-and-gap-reporting.md +4 -4
  41. package/skills/vds-skill/runtime/docs/vi/agents/how-to/02-using-vds-ai-memory.md +1 -1
  42. package/skills/vds-skill/runtime/docs/vi/agents/how-to/first-audit-run.md +1 -1
  43. package/skills/vds-skill/runtime/docs/vi/agents/how-to/install-and-bootstrap-who-scripts-and-skills.md +10 -10
  44. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/analytics-pipeline-workflow.md +9 -9
  45. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/code-quality-gate-workflow.md +5 -5
  46. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/confluence-bitbucket-sync-workflow.md +9 -9
  47. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/document-delivery-workflow.md +3 -3
  48. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/memory-progress-workflow.md +9 -9
  49. package/skills/vds-skill/runtime/docs/vi/agents/how-to/orchestrator-workflows/research-spec-audit-workflow.md +8 -8
  50. package/skills/vds-skill/runtime/docs/vi/agents/how-to/phase131-all-project-preparation.md +13 -13
  51. package/skills/vds-skill/runtime/docs/vi/agents/how-to/phase131-bounded-parallel-analysis.md +6 -6
  52. package/skills/vds-skill/runtime/docs/vi/agents/how-to/phase131-confluence-upload-recovery.md +4 -4
  53. package/skills/vds-skill/runtime/docs/vi/agents/how-to/tips-and-tricks.md +1 -1
  54. package/skills/vds-skill/runtime/docs/vi/agents/reference/audit-triage-playbook.md +10 -10
  55. package/skills/vds-skill/runtime/docs/vi/agents/reference/cli-commands.md +34 -34
  56. package/skills/vds-skill/runtime/docs/vi/agents/reference/cli-help-matrix.md +6 -6
  57. package/skills/vds-skill/runtime/docs/vi/agents/reference/portable-paths-and-config.md +3 -3
  58. package/skills/vds-skill/runtime/docs/vi/agents/reference/portable-paths-validation-matrix.md +2 -2
  59. package/skills/vds-skill/runtime/docs/vi/agents/reference/vds-ai-memory-api.md +1 -1
  60. package/skills/vds-skill/runtime/docs/vi/agents/tutorials/who-skills-and-scripts-onboarding.md +4 -4
  61. package/skills/vds-skill/runtime/docs/vi/agents/tutorials/zero-to-productive-developer.md +4 -4
  62. package/skills/vds-skill/runtime/elastic_orchestrator/README.md +31 -31
  63. package/skills/vds-skill/runtime/elastic_orchestrator/src/vds_elastic_orchestrator/cli.py +2 -2
  64. package/skills/vds-skill/runtime/excel_orchestrator/README.md +22 -22
  65. package/skills/vds-skill/runtime/git_orchestrator/README.md +46 -46
  66. package/skills/vds-skill/runtime/google_sheets_orchestrator/README.md +15 -15
  67. package/skills/vds-skill/runtime/grafana_orchestrator/README.md +44 -44
  68. package/skills/vds-skill/runtime/grafana_orchestrator/src/vds_grafana_orchestrator/cli.py +2 -2
  69. package/skills/vds-skill/runtime/jira_orchestrator/README.md +119 -119
  70. package/skills/vds-skill/runtime/jira_viettelmoney_orchestrator/README.md +117 -117
  71. package/skills/vds-skill/runtime/markdown_orchestrator/README.md +9 -9
  72. package/skills/vds-skill/runtime/pdf_orchestrator/README.md +4 -4
  73. package/skills/vds-skill/runtime/scripts/README.md +2 -2
  74. package/skills/vds-skill/runtime/scripts/move_audit_artifact_pages.py +1 -1
  75. package/skills/vds-skill/runtime/scripts/move_audit_artifact_pages_rest.py +1 -1
  76. package/skills/vds-skill/runtime/scripts/move_wrong_dept_pages.py +1 -1
  77. package/skills/vds-skill/runtime/scripts/uv-workspace-alignment-verification-2026-03-25.md +1 -1
  78. package/skills/vds-skill/runtime/sonarqube_orchestrator/IMPLEMENTATION_AUDIT.md +1 -1
  79. package/skills/vds-skill/runtime/sonarqube_orchestrator/README.md +11 -11
  80. package/skills/vds-skill/runtime/sonarqube_orchestrator/src/vds_sonarqube_orchestrator/cli.py +3 -3
  81. package/skills/vds-skill/runtime/vds_agent_core/docs/embedding.md +3 -3
  82. package/skills/vds-skill/runtime/vds_cli/README.md +48 -48
  83. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/cli.py +1 -1
  84. package/skills/vds-skill/runtime/vds_cli/src/vds_cli/confluence_sync.py +3 -3
  85. package/skills/vds-skill/runtime/vds_cli/tests/unit/test_confluence_sync.py +1 -1
  86. package/skills/vds-skill/runtime/vds_cli_common/tests/test_env.py +0 -105
  87. package/skills/vds-skill/runtime/diagram_generator/ci_validate.sh +0 -16
  88. package/skills/vds-skill/runtime/pdf_orchestrator/scripts/setup_team.sh +0 -324
  89. package/skills/vds-skill/runtime/scripts/audit-cli-patterns.sh +0 -135
  90. package/skills/vds-skill/runtime/scripts/audit-dashboard.sh +0 -525
  91. package/skills/vds-skill/runtime/scripts/backup.sh +0 -123
  92. package/skills/vds-skill/runtime/scripts/bootstrap_uv.sh +0 -69
  93. package/skills/vds-skill/runtime/scripts/ci/assert_no_openspace_commits.sh +0 -37
  94. package/skills/vds-skill/runtime/scripts/ci/verify_branch_protection.sh +0 -64
  95. package/skills/vds-skill/runtime/scripts/closure/phase1_check.sh +0 -483
  96. package/skills/vds-skill/runtime/scripts/closure/phase2_check.sh +0 -500
  97. package/skills/vds-skill/runtime/scripts/deploy-bootstrap.sh +0 -201
  98. package/skills/vds-skill/runtime/scripts/deployment/load_docker_images_offline.sh +0 -90
  99. package/skills/vds-skill/runtime/scripts/dev/cli_smoke.sh +0 -259
  100. package/skills/vds-skill/runtime/scripts/init-pgbouncer-userlist.sh +0 -154
  101. package/skills/vds-skill/runtime/scripts/openspace_bootstrap.sh +0 -56
  102. package/skills/vds-skill/runtime/scripts/openspace_common.sh +0 -75
  103. package/skills/vds-skill/runtime/scripts/openspace_doctor.sh +0 -61
  104. package/skills/vds-skill/runtime/scripts/openspace_sync_shadow.sh +0 -65
  105. package/skills/vds-skill/runtime/scripts/phase7-baseline.sh +0 -77
  106. package/skills/vds-skill/runtime/scripts/preflight/env_check.sh +0 -102
  107. package/skills/vds-skill/runtime/scripts/repair_autopay_reports.sh +0 -173
  108. package/skills/vds-skill/runtime/scripts/rollback_drill.sh +0 -659
  109. package/skills/vds-skill/runtime/scripts/run-audit-in-tmux.sh +0 -286
  110. package/skills/vds-skill/runtime/scripts/run-department-audit.sh +0 -495
  111. package/skills/vds-skill/runtime/scripts/run-project-audit.sh +0 -267
  112. package/skills/vds-skill/runtime/scripts/smoke-test-deploy.sh +0 -137
  113. package/skills/vds-skill/runtime/scripts/target-state-automation/confluence_sync_coordinator.sh +0 -27
  114. package/skills/vds-skill/runtime/scripts/target-state-automation/coordination.sh +0 -114
  115. package/skills/vds-skill/runtime/scripts/target-state-automation/diagram_coordinator.sh +0 -25
  116. package/skills/vds-skill/runtime/scripts/target-state-automation/docs_root.sh +0 -22
  117. package/skills/vds-skill/runtime/scripts/target-state-automation/generate_diagrams.sh +0 -22
  118. package/skills/vds-skill/runtime/scripts/target-state-automation/markdown_coordinator.sh +0 -25
  119. package/skills/vds-skill/runtime/scripts/target-state-automation/progress_dashboard.sh +0 -17
  120. package/skills/vds-skill/runtime/scripts/target-state-automation/schema_coordinator.sh +0 -25
  121. package/skills/vds-skill/runtime/scripts/target-state-automation/sync_confluence.sh +0 -30
  122. package/skills/vds-skill/runtime/scripts/target-state-automation/update_dependencies.sh +0 -19
  123. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_links.sh +0 -86
  124. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_markdown.sh +0 -52
  125. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_schemas.sh +0 -26
  126. package/skills/vds-skill/runtime/scripts/target-state-automation/validate_structure.sh +0 -98
  127. package/skills/vds-skill/runtime/scripts/validate-cli-standardization.sh +0 -188
  128. package/skills/vds-skill/runtime/scripts/vds_sh_helpers.sh +0 -180
  129. package/skills/vds-skill/runtime/scripts/verification/phase2_portable_paths_ubuntu_docker.sh +0 -26
  130. package/skills/vds-skill/runtime/scripts/verify-memory-cli-e2e.sh +0 -598
  131. package/skills/vds-skill/runtime/scripts/verify-worktree-features.sh +0 -306
  132. package/skills/vds-skill/runtime/scripts/worktree-add.sh +0 -128
  133. package/skills/vds-skill/runtime/scripts/worktree-remove.sh +0 -112
  134. package/skills/vds-skill/runtime/scripts/worktree_compose.sh +0 -269
  135. package/skills/vds-skill/runtime/scripts/worktree_uv.sh +0 -77
  136. package/skills/vds-skill/runtime/sonarqube_orchestrator/scripts/ensure_symlink.sh +0 -38
@@ -6,7 +6,7 @@
6
6
 
7
7
  Use this guide when you want to prepare multiple projects for parent `workflow-projects` execution before or during bounded analysis.
8
8
  For shared env/config/cache path behavior and portable cache-root conventions, see `../reference/portable-paths-and-config.md`.
9
- When running from a dedicated `vds-scripts` worktree, prefer `./scripts/worktree_uv.sh run --project audit_orchestrator ...` over plain `uv run ...` so a different checkout's active `.venv` does not leak into the current worktree.
9
+ When running from a dedicated `vds-scripts` worktree, prefer `uv run --directory ~/.claude/vds-scripts --package audit_orchestrator ...` over plain `uv run ...` so a different checkout's active `.venv` does not leak into the current worktree.
10
10
 
11
11
  > **Note — interactive use vs. shell scripts**: The `uv run --project <path>` commands below are for interactive terminal or agent use from the repo root. When writing shell scripts, use `vds_uv_run_package <member>` from `scripts/vds_sh_helpers.sh` instead — see `scripts/README.md` for the canonical contract.
12
12
 
@@ -35,7 +35,7 @@ Do not treat these files as a replacement for centralized readiness, completenes
35
35
  Use `--registry-page` when the registry page should decide project scope.
36
36
 
37
37
  ```bash
38
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
38
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
39
39
  vds-cli audit workflow-projects \
40
40
  --registry-page <REGISTRY_PAGE_ID> \
41
41
  --prepare-materials \
@@ -52,11 +52,11 @@ Use `--project-storage-keys` when you already know the exact project page IDs.
52
52
 
53
53
  ```bash
54
54
  # If projects are new (Confluence-only), parse first:
55
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
55
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
56
56
  vds-cli audit parse-registry --registry-page <PARENT_PAGE_ID> --state-dsn env
57
57
 
58
58
  # Then run workflow-projects with explicit keys:
59
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
59
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
60
60
  vds-cli audit workflow-projects \
61
61
  --project-storage-keys 88727304,88718940 \
62
62
  --prepare-materials \
@@ -79,7 +79,7 @@ Pass `--checklist-page-id` to `workflow-projects` and it is forwarded to all chi
79
79
  # Payment department example — checklist page is at root, not under each project
80
80
  # Repo-page publication defaults to the canonical project page as the hierarchy anchor.
81
81
  # Omit --confluence-parent; the publisher creates the shared Project Audit node under each project page.
82
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
82
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
83
83
  vds-cli audit workflow-projects \
84
84
  --project-storage-keys 91334048,91335346 \
85
85
  --checklist-page-id 88722450 \
@@ -92,7 +92,7 @@ Pass `--checklist-page-id` to `workflow-projects` and it is forwarded to all chi
92
92
  The same flag works on `workflow-project` (single project):
93
93
 
94
94
  ```bash
95
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
95
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
96
96
  vds-cli audit workflow-project \
97
97
  --project-storage-key 91334048 \
98
98
  --thread-id <thread_id> \
@@ -102,7 +102,7 @@ The same flag works on `workflow-project` (single project):
102
102
  For repo-page publication on a single Payment project, omit `--confluence-parent` in the normal case. The project page is the default hierarchy anchor; `88716694` remains the department discovery page, not the upload parent:
103
103
 
104
104
  ```bash
105
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
105
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
106
106
  vds-cli audit workflow-project \
107
107
  --project-storage-key 91334048 \
108
108
  --thread-id <thread_id> \
@@ -129,7 +129,7 @@ That means each selected project is prepared before child project analysis is la
129
129
  Use `--skip-materials` only when the project set is already ready or when a resume-driven rerun should rely on current centralized state instead of re-preparing everything.
130
130
 
131
131
  ```bash
132
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
132
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
133
133
  vds-cli audit workflow-projects \
134
134
  --project-storage-keys 88727304,88718940 \
135
135
  --skip-materials \
@@ -142,7 +142,7 @@ Use `--skip-materials` only when the project set is already ready or when a resu
142
142
  Use `--require-all-materials` when any failed preparation/readiness result should block analysis launch for the selected scope.
143
143
 
144
144
  ```bash
145
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
145
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
146
146
  vds-cli audit workflow-projects \
147
147
  --registry-page <REGISTRY_PAGE_ID> \
148
148
  --prepare-materials \
@@ -193,16 +193,16 @@ Before a large run, it is still safer to verify:
193
193
  Recommended checks:
194
194
 
195
195
  ```bash
196
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
196
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
197
197
  vds-cli audit --json-only doctor profile-availability --mode active
198
198
 
199
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
199
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
200
200
  vds-cli audit --json-only state readiness --project 88727304
201
201
 
202
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
202
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
203
203
  vds-cli audit --json-only state completeness --project 88727304
204
204
 
205
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
205
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
206
206
  vds-cli audit query-checklist --checklist-page 88722450 --summary-only
207
207
  ```
208
208
 
@@ -5,7 +5,7 @@
5
5
  # Phase 131 Bounded Parallel Analysis
6
6
 
7
7
  Use this guide when running the landed `workflow-projects` parent command with explicit outer-project and inner child concurrency settings.
8
- When running from a dedicated `vds-scripts` worktree, prefer `./scripts/worktree_uv.sh run --project audit_orchestrator ...` over plain `uv run ...` so a different checkout's active `.venv` does not leak into the current worktree.
8
+ When running from a dedicated `vds-scripts` worktree, prefer `uv run --directory ~/.claude/vds-scripts --package audit_orchestrator ...` over plain `uv run ...` so a different checkout's active `.venv` does not leak into the current worktree.
9
9
 
10
10
  > **Note — interactive use vs. shell scripts**: The `uv run --project <path>` commands below are for interactive terminal or agent use from the repo root. When writing shell scripts, use `vds_uv_run_package <member>` from `scripts/vds_sh_helpers.sh` instead — see `scripts/README.md` for the canonical contract.
11
11
 
@@ -27,7 +27,7 @@ The parent runtime now surfaces pressure diagnostics in parent artifacts so oper
27
27
  For bounded verification, start conservatively:
28
28
 
29
29
  ```bash
30
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
30
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
31
31
  vds-cli audit workflow-projects \
32
32
  --registry-page <REGISTRY_PAGE_ID> \
33
33
  --prepare-materials \
@@ -48,7 +48,7 @@ Then increase only after checking:
48
48
  ### Small explicit slice
49
49
 
50
50
  ```bash
51
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
51
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
52
52
  vds-cli audit workflow-projects \
53
53
  --project-storage-keys 88727304,88718940 \
54
54
  --profiles zai-openai \
@@ -62,7 +62,7 @@ Then increase only after checking:
62
62
  ### Registry-driven bounded run
63
63
 
64
64
  ```bash
65
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
65
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
66
66
  vds-cli audit workflow-projects \
67
67
  --registry-page <REGISTRY_PAGE_ID> \
68
68
  --max-projects 3 \
@@ -104,7 +104,7 @@ Use resume when you want to continue from an existing parent manifest scope whil
104
104
  Use the effective VDS cache root for your environment as defined by the portable Phase 2 contract in `../reference/portable-paths-and-config.md`.
105
105
 
106
106
  ```bash
107
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
107
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
108
108
  vds-cli audit workflow-projects \
109
109
  --resume \
110
110
  --report-dir <cache-root>/audit_runs/workflow-projects/<thread_id>
@@ -113,7 +113,7 @@ Use the effective VDS cache root for your environment as defined by the portable
113
113
  Or explicitly:
114
114
 
115
115
  ```bash
116
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
116
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
117
117
  vds-cli audit workflow-projects \
118
118
  --resume-dispatch-manifest <cache-root>/audit_runs/workflow-projects/<thread_id>/dispatch-manifest.json
119
119
  ```
@@ -5,7 +5,7 @@
5
5
  # Phase 131 Confluence Upload and Recovery
6
6
 
7
7
  Use this guide when enabling Confluence publication through `workflow-projects`.
8
- When running from a dedicated `vds-scripts` worktree, prefer `./scripts/worktree_uv.sh run --project audit_orchestrator ...` over plain `uv run ...` so a different checkout's active `.venv` does not leak into the current worktree.
8
+ When running from a dedicated `vds-scripts` worktree, prefer `uv run --directory ~/.claude/vds-scripts --package audit_orchestrator ...` over plain `uv run ...` so a different checkout's active `.venv` does not leak into the current worktree.
9
9
 
10
10
  > **Note — interactive use vs. shell scripts**: The `uv run --project <path>` commands below are for interactive terminal or agent use from the repo root. When writing shell scripts, use `vds_uv_run_package <member>` from `scripts/vds_sh_helpers.sh` instead — see `scripts/README.md` for the canonical contract.
11
11
 
@@ -38,7 +38,7 @@ Default publication should still produce rich Confluence storage-format page bod
38
38
  Normal upload invocation (no explicit parent needed):
39
39
 
40
40
  ```bash
41
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
41
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
42
42
  vds-cli audit workflow-projects \
43
43
  --project-storage-keys 88727304,88718940 \
44
44
  --prepare-materials \
@@ -51,7 +51,7 @@ Normal upload invocation (no explicit parent needed):
51
51
  Use `--confluence-parent` only as a manual override when auto-resolution is insufficient (e.g., routing a project to a non-department parent page):
52
52
 
53
53
  ```bash
54
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
54
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
55
55
  vds-cli audit workflow-projects \
56
56
  --project-storage-keys 88727304 \
57
57
  --prepare-materials \
@@ -177,7 +177,7 @@ If a parent run produced the expected manifest, prefer resuming from it rather t
177
177
  Use the effective VDS cache root for your environment as defined by the portable Phase 2 contract in `../reference/portable-paths-and-config.md`.
178
178
 
179
179
  ```bash
180
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
180
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
181
181
  vds-cli audit workflow-projects \
182
182
  --resume-dispatch-manifest <cache-root>/audit_runs/workflow-projects/<thread_id>/dispatch-manifest.json
183
183
  ```
@@ -12,7 +12,7 @@ language: vi
12
12
  ## Shell tải nhanh từ thư mục làm việc
13
13
 
14
14
  ```bash
15
- ./scripts/worktree_uv.sh
15
+ uv run --directory ~/.claude/vds-scripts
16
16
  ```
17
17
 
18
18
  Chạy lệnh trong môi trường uv từ worktree hiện tại mà không cần cd.
@@ -19,13 +19,13 @@ Use the audit orchestrator as the authoritative triage entrypoint.
19
19
  Use `query-checklist` to inspect source checklist content directly before a rerun when the operator needs to confirm row ids, category placement, or checklist bootstrap behavior without launching workflow evaluation.
20
20
 
21
21
  ```bash
22
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
22
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
23
23
  vds-cli audit query-checklist --checklist-page 88722450 --summary-only
24
24
 
25
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
25
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
26
26
  vds-cli audit query-checklist --checklist-page 88722450 --target row-1
27
27
 
28
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
28
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
29
29
  vds-cli audit query-checklist --checklist-page 88722450 --target chk_1
30
30
  ```
31
31
 
@@ -38,7 +38,7 @@ Selector rule:
38
38
  If the checklist page should be inferred from centralized state instead of passed explicitly:
39
39
 
40
40
  ```bash
41
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
41
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
42
42
  vds-cli audit query-checklist \
43
43
  --project-storage-key 88727304 \
44
44
  --checklist-profile default \
@@ -48,7 +48,7 @@ If the checklist page should be inferred from centralized state instead of passe
48
48
  ## Targeted Rerun Commands
49
49
 
50
50
  > **Recommended for runs expected to take more than 5 minutes**: use `./scripts/run-audit-in-tmux.sh` to prevent session timeout orphaning. The parent process must stay alive while child workflow processes run — tmux ensures this. See [cli-commands.md](./cli-commands.md#persistent-execution) for the full pattern.
51
- > `run-audit-in-tmux.sh` inherits the shared-env bootstrap behavior of `worktree_uv.sh`, so normal runs should load `VDS_AUDIT_STATE_DSN` and other shared runtime keys from `~/.vds/.env` automatically. Explicit `--state-dsn` is still propagated to child workflow lanes after the parent resolves it.
51
+ > Normal runs load `VDS_AUDIT_STATE_DSN` and other shared runtime keys from `~/.vds/.env` automatically via `vds_cli_common.env`. Explicit `--state-dsn` is still propagated to child workflow lanes after the parent resolves it.
52
52
 
53
53
  Use the effective repo-cache root for your environment as defined by the portable Phase 2 cache-root model documented in `portable-paths-and-config.md`.
54
54
 
@@ -57,7 +57,7 @@ When calling from a shell script, use `vds_uv_run_package audit_orchestrator` in
57
57
  [`scripts/README.md`](../../scripts/README.md#uv-contract--canonical-usage).
58
58
 
59
59
  ```bash
60
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
60
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
61
61
  vds-cli audit workflow <repo-cache-root>/PAR-project/merchant-report \
62
62
  --profile zai-openai \
63
63
  --project-storage-key 88727304 \
@@ -125,15 +125,15 @@ mismatch explicitly instead of assuming convenience commands exist.
125
125
 
126
126
  ```bash
127
127
  # Credentials
128
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
128
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
129
129
  vds-cli audit --json-only doctor credentials --require-state-dsn
130
130
 
131
131
  # Profile / provider availability
132
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
132
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
133
133
  vds-cli audit --json-only doctor profile-availability --mode active
134
134
 
135
135
  # Project readiness
136
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
136
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
137
137
  vds-cli audit --json-only state readiness --project <PROJECT_PAGE_ID>
138
138
  ```
139
139
 
@@ -160,7 +160,7 @@ For the full runtime-discovery and gap-reporting contract, see
160
160
  For Payment department projects, the verified working command is:
161
161
 
162
162
  ```bash
163
- ./scripts/worktree_uv.sh run --project audit_orchestrator \
163
+ uv run --directory ~/.claude/vds-scripts --package audit_orchestrator \
164
164
  vds-cli audit workflow <repo-cache-root>/<PROJECT-KEY>-project/<repo> \
165
165
  --project-storage-key <PSK> \
166
166
  --checklist-page-id 88722450 \
@@ -5,8 +5,8 @@
5
5
  # CLI Commands
6
6
 
7
7
  Current command surface is WHO-owned and runs from `WHO-project/vds-scripts`.
8
- When operating from a dedicated `vds-scripts` worktree, prefer `./scripts/worktree_uv.sh ...` so a different checkout's active `.venv` does not leak into the current worktree.
9
- `worktree_uv.sh` also bootstraps missing shared runtime env from `~/.vds/.env` (or `VDS_ENV_FILE`) and re-roots execution to the owning repo, so detached shells and tmux sessions do not depend on manual `source ~/.vds/.env`.
8
+ When operating from a dedicated `vds-scripts` worktree, prefer `uv run --directory ~/.claude/vds-scripts ...` so a different checkout's active `.venv` does not leak into the current worktree.
9
+ The shared runtime env is bootstrapped from `~/.vds/.env` (or `VDS_ENV_FILE`) automatically by `vds_cli_common.env`, so detached shells and tmux sessions do not depend on manual `source ~/.vds/.env`.
10
10
 
11
11
  > **Interactive use vs. shell scripts**
12
12
  >
@@ -34,7 +34,7 @@ Use `scripts/run-audit-in-tmux.sh` to run any `vds-cli audit` command in a persi
34
34
  ./scripts/run-audit-in-tmux.sh --kill <name>
35
35
  ```
36
36
 
37
- The tmux runner delegates to `./scripts/worktree_uv.sh`, so shared env bootstrap follows the same precedence contract:
37
+ The tmux runner delegates to `uv run --directory ~/.claude/vds-scripts`, so shared env bootstrap follows the same precedence contract:
38
38
  - explicit CLI flags win over everything else;
39
39
  - explicitly exported shell env wins over shared env file values;
40
40
  - `VDS_ENV_FILE` overrides the default `~/.vds/.env` path;
@@ -111,13 +111,13 @@ The shell runners are operator convenience wrappers. `workflow-project` and `wor
111
111
 
112
112
  ## Key Commands
113
113
 
114
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli --help`
115
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli env status`
116
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --help`
117
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit query-checklist --help`
118
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli spec --help`
119
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli tasks --help`
120
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli progress --help`
114
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli --help`
115
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli env status`
116
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --help`
117
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit query-checklist --help`
118
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli spec --help`
119
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli tasks --help`
120
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli progress --help`
121
121
 
122
122
  ## Direct executable naming notes
123
123
 
@@ -161,20 +161,20 @@ Operational implications:
161
161
  Normal analysis should keep readiness enabled. Use this sequence:
162
162
 
163
163
  1. Discovery + persist to Postgres (requires `--state-dsn env`):
164
- `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit parse-registry --registry-page <PROJECT_OR_DEPARTMENT_OR_ROOT_PAGE> --state-dsn env`
164
+ `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit parse-registry --registry-page <PROJECT_OR_DEPARTMENT_OR_ROOT_PAGE> --state-dsn env`
165
165
 
166
166
  > **Critical**: Without `--state-dsn env`, `parse-registry` only outputs JSON and does NOT save discovered projects to the Postgres state backend. Omitting this flag means `prepare` and `state readiness` will not find the projects.
167
167
 
168
168
  2. Materials preparation:
169
- `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit prepare --project <PROJECT_PAGE_ID>`
169
+ `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit prepare --project <PROJECT_PAGE_ID>`
170
170
  3. Readiness proof:
171
- `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --json-only state readiness --project <PROJECT_PAGE_ID> [--repo <REPO_STORAGE_KEY_OR_SLUG>]`
171
+ `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --json-only state readiness --project <PROJECT_PAGE_ID> [--repo <REPO_STORAGE_KEY_OR_SLUG>]`
172
172
  4. Analysis:
173
- `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit workflow <REPO_PATH> --project-storage-key <PROJECT_PAGE_ID> --thread-id <THREAD_ID>`
173
+ `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit workflow <REPO_PATH> --project-storage-key <PROJECT_PAGE_ID> --thread-id <THREAD_ID>`
174
174
  (Full canonical 56-row evaluation is the default. Use `--target row-1` or another selector verified through `query-checklist` for specific rows. Use `--no-canonical-checklist` only to opt out — this produces incomplete reports.)
175
175
 
176
176
  When checklist auto-discovery fails (i.e. the checklist page is not a direct child of the project page), add `--checklist-page-id` to restore full canonical evaluation. For Payment department projects, the verified working command is:
177
- `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit workflow <REPO_PATH> --project-storage-key <PROJECT_PAGE_ID> --checklist-page-id 88722450 --thread-id <THREAD_ID>`
177
+ `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit workflow <REPO_PATH> --project-storage-key <PROJECT_PAGE_ID> --checklist-page-id 88722450 --thread-id <THREAD_ID>`
178
178
  Confirmed bootstrap signal: `canonical_checklist_bootstrap_preflight_passed: source=explicit_page_id`
179
179
 
180
180
  Guard rules:
@@ -184,8 +184,8 @@ Guard rules:
184
184
  - If you start from a department/root page, resolve child project pages first, then prepare and run analysis per project.
185
185
 
186
186
  Current provider launch-readiness commands:
187
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --json-only doctor profile-availability --mode active`
188
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --json-only doctor profile-availability --profiles zai-openai --mode active`
187
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --json-only doctor profile-availability --mode active`
188
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --json-only doctor profile-availability --profiles zai-openai --mode active`
189
189
 
190
190
  ## Live Debug Logging
191
191
 
@@ -198,8 +198,8 @@ Current provider launch-readiness commands:
198
198
  - Full payload trace logging remains a heavier mode and is auto-enabled only for `--trace`, `--debug-evidence-context`, or `--debug-batch-timing`.
199
199
 
200
200
  Current Confluence connectivity commands:
201
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit doctor check-confluence --json`
202
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli confluence search -s internal -q 'type=page' --limit 2 --json`
201
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit doctor check-confluence --json`
202
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli confluence search -s internal -q 'type=page' --limit 2 --json`
203
203
 
204
204
  Current Confluence operator notes:
205
205
  - Checklist-heavy reads default to the internal server because that is where the authoritative checklist pages live.
@@ -215,18 +215,18 @@ Current Confluence operator notes:
215
215
  - Probe failures stay in the structured doctor output and do not emit warning-level Confluence transport logs during the diagnostic command itself.
216
216
 
217
217
  Current checklist inspection command surface:
218
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit query-checklist --checklist-page 88722450 --summary-only`
219
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit query-checklist --checklist-page 88722450 --target row-1`
220
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit query-checklist --checklist-page 88722450 --target chk_1`
221
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit query-checklist --project-storage-key 88727304 --checklist-profile default --summary-only`
218
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit query-checklist --checklist-page 88722450 --summary-only`
219
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit query-checklist --checklist-page 88722450 --target row-1`
220
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit query-checklist --checklist-page 88722450 --target chk_1`
221
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit query-checklist --project-storage-key 88727304 --checklist-profile default --summary-only`
222
222
 
223
223
  Use `query-checklist` when you need to inspect source checklist rows directly without launching workflow evaluation. It accepts an explicit checklist page or can bootstrap from a project storage key plus checklist profile.
224
224
  For source-checklist pages, derive operator-facing `--target` selectors from `query-checklist` output itself. Prefer numeric row selectors (`1`) or row ids (`row-1`) for a unique row. Parser check ids (`chk_1`) are valid but may repeat across sections on the same checklist page. Do not copy `dispatch-manifest.json` internal `explicit:<page>:...` payloads into `workflow --target` or `query-checklist --target`; those are internal dispatch row-key bundles, not CLI selector forms.
225
225
 
226
226
  Current Phase 131 multi-project command surface (initial landed runtime):
227
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit workflow-projects --registry-page <REGISTRY_PAGE_ID> --prepare-materials --max-projects-prepare-concurrent 3 --max-projects-concurrent 3 --max-concurrent 16`
228
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit workflow-projects --project-storage-keys 88727304,88718940 --profiles zai-openai --profile-availability active --max-projects-concurrent 2 --max-concurrent 16`
229
- - With explicit checklist page for department-level projects where checklist auto-discovery fails: `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit workflow-projects --project-storage-keys 91334048,91335346 --checklist-page-id 88722450 --prepare-materials --max-projects-concurrent 2 --max-concurrent 4`
227
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit workflow-projects --registry-page <REGISTRY_PAGE_ID> --prepare-materials --max-projects-prepare-concurrent 3 --max-projects-concurrent 3 --max-concurrent 16`
228
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit workflow-projects --project-storage-keys 88727304,88718940 --profiles zai-openai --profile-availability active --max-projects-concurrent 2 --max-concurrent 16`
229
+ - With explicit checklist page for department-level projects where checklist auto-discovery fails: `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit workflow-projects --project-storage-keys 91334048,91335346 --checklist-page-id 88722450 --prepare-materials --max-projects-concurrent 2 --max-concurrent 4`
230
230
 
231
231
  > **`--checklist-page-id` is required when running from department or registry pages**: When `workflow-project` or `workflow-projects` is invoked against a project whose checklist page is not a direct child of that project page, auto-discovery fails and evaluation falls back to targeted mode (1-3 rows) instead of the full canonical 56-row run. Pass `--checklist-page-id <CHECKLIST_PAGE_ID>` explicitly to restore full canonical evaluation. For Payment department projects, the checklist page is `88722450` — it lives at the root level, not under each child project.
232
232
 
@@ -249,20 +249,20 @@ Phase 131 current runtime guidance:
249
249
 
250
250
  ## Phase 124 Closure Pack
251
251
 
252
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli spec validate audit-orchestrator`
253
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli spec check-alignment audit-orchestrator`
254
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli spec consolidate audit-orchestrator`
255
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli spec validate-sync audit-orchestrator --agents-file AGENTS.md --agents-label "Audit orchestrator" --json-only`
252
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli spec validate audit-orchestrator`
253
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli spec check-alignment audit-orchestrator`
254
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli spec consolidate audit-orchestrator`
255
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli spec validate-sync audit-orchestrator --agents-file AGENTS.md --agents-label "Audit orchestrator" --json-only`
256
256
  - `python3 WHO-project/vds-scripts/audit_orchestrator/scripts/verify_phase124_handoff.py --output-json reports/verification/phase124/command-pack.json`
257
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit publish-system-doc --help`
257
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit publish-system-doc --help`
258
258
 
259
259
  The audit-orchestrator package still exposes `validate-spec-sync` for compatibility, but the shared `vds-cli spec validate-sync` gate is the preferred sync command after the WHO migration.
260
260
 
261
261
  ## Targeted Workflow Reruns
262
262
 
263
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --profile zai-openai workflow <repo-cache-root>/PAR-project/merchant-report --project-storage-key 88727304 --thread-id phase124-row2-par-mr-zai --target row-2`
264
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit workflow-project --project-storage-key 88727304 --thread-id <thread_id>`
265
- - With explicit checklist page (required when checklist auto-discovery fails from a department/project page): `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit workflow-project --project-storage-key 88727304 --thread-id <thread_id> --checklist-page-id 88722450`
263
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --profile zai-openai workflow <repo-cache-root>/PAR-project/merchant-report --project-storage-key 88727304 --thread-id phase124-row2-par-mr-zai --target row-2`
264
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit workflow-project --project-storage-key 88727304 --thread-id <thread_id>`
265
+ - With explicit checklist page (required when checklist auto-discovery fails from a department/project page): `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit workflow-project --project-storage-key 88727304 --thread-id <thread_id> --checklist-page-id 88722450`
266
266
 
267
267
  Current Phase 130 live verification also validated a narrow control-aware security preflight exception for `CL-014`, `CL-042`, `CL-051`, `CL-052`, and `CL-053` when code anchors are present but current indexed docs do not provide document anchors. The machine-readable preflight payload records this as `code_anchor_exception_applied=true`.
268
268
 
@@ -12,7 +12,7 @@ củA package chỉ là chi tiết triển khai router nội bộ, không đư
12
12
  2. **Không bao giờ** gọI trực tiếp các executable package (`vds-audit`, `vds-spec`, v.v.) —
13
13
  đây là nội bộ của router.
14
14
  3. Sử dụng `--help` làm bề mặt phát hiện chính thống trước khi giả định tên lệnh.
15
- 4. Trong worktree `vds-scripts` riêng, ưu tiên `./scripts/worktree_uv.sh ...`
15
+ 4. Trong worktree `vds-scripts` riêng, ưu tiên `uv run --directory ~/.claude/vds-scripts ...`
16
16
  cho lệnh `uv` để tránh rò rỉ trạng thái `VIRTUAL_ENV` cha vào worktree sai.
17
17
 
18
18
  ## Routed command families
@@ -56,11 +56,11 @@ củA package chỉ là chi tiết triển khai router nội bộ, không đư
56
56
 
57
57
  > Tất cả ví dụ **phải** dùng `vds-cli` routing — các executable trực tiếp chỉ dùng nội bộ.
58
58
 
59
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli --help`
60
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --help`
61
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli spec --help`
62
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli tasks --help`
63
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli schema --help`
59
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli --help`
60
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --help`
61
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli spec --help`
62
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli tasks --help`
63
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli schema --help`
64
64
 
65
65
  ## Ghi chú nguồn
66
66
 
@@ -114,9 +114,9 @@ Maintained runtime surfaces in Phase 2 use a friendly portable-path contract.
114
114
 
115
115
  ## Practical checks
116
116
 
117
- - Show current env/bootstrap status: `./scripts/worktree_uv.sh run --project vds_cli vds-cli env status`
118
- - Confirm CLI health: `./scripts/worktree_uv.sh run --project vds_cli vds-cli status`
119
- - Diagnose config/auth issues: `./scripts/worktree_uv.sh run --project vds_cli vds-cli doctor`
117
+ - Show current env/bootstrap status: `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli env status`
118
+ - Confirm CLI health: `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli status`
119
+ - Diagnose config/auth issues: `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli doctor`
120
120
  - Review the verification lanes and evidence posture in `portable-paths-validation-matrix.md`
121
121
  - Run Docker-based Ubuntu verification when Docker is available: `./scripts/verification/phase2_portable_paths_ubuntu_docker.sh`
122
122
 
@@ -38,8 +38,8 @@ Run on the active development host.
38
38
 
39
39
  Recommended checks:
40
40
  - `uv run --project vds_cli_common pytest vds_cli_common/tests/test_paths.py vds_cli_common/tests/test_env.py`
41
- - `PYTHONPATH=audit_orchestrator/src:vds_cli_common/src:bitbucket_orchestrator/src:confluence_orchestrator/src:sonarqube_orchestrator/src:google_sheets_orchestrator/src:excel_orchestrator/src:git_orchestrator/src:vds_cli/src:spec_orchestrator/src ./scripts/worktree_uv.sh run --project audit_orchestrator pytest audit_orchestrator/tests/test_paths_config_phase2.py audit_orchestrator/tests/test_cli_paths_phase2.py audit_orchestrator/tests/unit/scripts/test_verify_phase124_handoff.py`
42
- - optional smoke: `./scripts/worktree_uv.sh run --project vds_cli vds-cli env status`
41
+ - `PYTHONPATH=audit_orchestrator/src:vds_cli_common/src:bitbucket_orchestrator/src:confluence_orchestrator/src:sonarqube_orchestrator/src:google_sheets_orchestrator/src:excel_orchestrator/src:git_orchestrator/src:vds_cli/src:spec_orchestrator/src uv run --directory ~/.claude/vds-scripts --package audit_orchestrator pytest audit_orchestrator/tests/test_paths_config_phase2.py audit_orchestrator/tests/test_cli_paths_phase2.py audit_orchestrator/tests/unit/scripts/test_verify_phase124_handoff.py`
42
+ - optional smoke: `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli env status`
43
43
 
44
44
  Expected evidence:
45
45
  - shared helper tests pass
@@ -25,7 +25,7 @@ vds-cli memory health
25
25
  vds-cli memory --json-only stats
26
26
  ```
27
27
 
28
- Use the routed form for normal execution. Place global flags like `--json-only` before the subcommand. For detailed subcommand help, use `./scripts/worktree_uv.sh run --project memory_orchestrator vds-memory --help`.
28
+ Use the routed form for normal execution. Place global flags like `--json-only` before the subcommand. For detailed subcommand help, use `uv run --directory ~/.claude/vds-scripts --package memory_orchestrator vds-memory --help`.
29
29
 
30
30
  ## REST API (curl fallback)
31
31
 
@@ -25,10 +25,10 @@ Before deeper task routing, follow `../how-to/install-and-bootstrap-who-scripts-
25
25
 
26
26
  If you are inside a dedicated `vds-scripts` worktree, prefer the worktree-safe wrapper:
27
27
 
28
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli --help`
29
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli env status`
30
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --help`
31
- - `./scripts/worktree_uv.sh run --project vds_cli vds-cli spec --help`
28
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli --help`
29
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli env status`
30
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --help`
31
+ - `uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli spec --help`
32
32
 
33
33
  ## 5. Edit only canonical sources
34
34
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  ```bash
14
14
  cd WHO-project/vds-scripts
15
- ./scripts/worktree_uv.sh sync --all-packages
15
+ uv sync --directory ~/.claude/vds-scripts --all-packages
16
16
  cp .env.example ~/.vds/.env
17
17
  # Chỉnh sửa ~/.vds/.env với thông tin xác thực của bạn
18
18
  ```
@@ -24,7 +24,7 @@ cp .env.example ~/.vds/.env
24
24
  **Mục tiêu**: Hiểu công cụ chẩn đoán và khắc phục lỗi cơ bản.
25
25
 
26
26
  ```bash
27
- ./scripts/worktree_uv.sh run --project vds_cli vds-cli doctor
27
+ uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli doctor
28
28
  ```
29
29
 
30
30
  Đọc từng phần của output:
@@ -37,8 +37,8 @@ cp .env.example ~/.vds/.env
37
37
  **Mục tiêu**: Hiểu luồng audit cơ bản.
38
38
 
39
39
  ```bash
40
- ./scripts/worktree_uv.sh run --project vds_cli vds-cli audit --help
41
- ./scripts/worktree_uv.sh run --project vds_cli vds-cli audit run --dry-run
40
+ uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit --help
41
+ uv run --directory ~/.claude/vds-scripts --package vds_cli vds-cli audit run --dry-run
42
42
  ```
43
43
 
44
44
  **Ghi chú**: Audit khô (`--dry-run`) không ghi vào cơ sở dữ liệu. An toàn để thử.