@opengsd/gsd-path 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (578) hide show
  1. package/AGENTS.md +5 -2
  2. package/CHANGELOG.md +87 -0
  3. package/DOCS.md +73 -1
  4. package/FULL.md +3 -2
  5. package/HOOKS.md +18 -9
  6. package/QUICK.md +3 -4
  7. package/README.md +72 -5
  8. package/RUNTIME.md +9 -4
  9. package/UPDATE.md +56 -11
  10. package/WORKFLOW.md +5 -2
  11. package/package.json +9 -1
  12. package/platforms/claude/dispatch.md +4 -4
  13. package/platforms/copilot/dispatch.md +4 -4
  14. package/platforms/cursor/dispatch.md +5 -10
  15. package/platforms/grok/dispatch.md +4 -6
  16. package/platforms/kimi/dispatch.md +4 -4
  17. package/platforms/kiro/dispatch.md +4 -6
  18. package/platforms/opencode/dispatch.md +4 -4
  19. package/platforms/qwen/dispatch.md +4 -4
  20. package/platforms/shared-agents/dispatch.md +6 -19
  21. package/scripts/_common.py +5 -0
  22. package/scripts/archive_milestone.py +20 -6
  23. package/scripts/bootstrap_repository.py +8 -1
  24. package/scripts/build_recovery.py +5 -0
  25. package/scripts/build_state.py +2 -0
  26. package/scripts/check_docs_audit.py +2 -0
  27. package/scripts/check_handoffs.py +6 -0
  28. package/scripts/check_task_briefs.py +3 -0
  29. package/scripts/detect_project.py +11 -1
  30. package/scripts/discussion_records.py +3 -0
  31. package/scripts/discussion_validate.py +8 -3
  32. package/scripts/dispatch_driver.py +230 -21
  33. package/scripts/git_guard.py +12 -4
  34. package/scripts/guard_hook.py +11 -1
  35. package/scripts/install.mjs +74 -1448
  36. package/scripts/install.py +165 -201
  37. package/scripts/integration.py +28 -8
  38. package/scripts/isolation.py +15 -5
  39. package/scripts/jev_review.py +138 -0
  40. package/scripts/lean_verification.py +2 -0
  41. package/scripts/loop_run.py +2 -0
  42. package/scripts/model_policy.py +279 -0
  43. package/scripts/path_config.py +248 -0
  44. package/scripts/pipeline_diagnose.py +3 -0
  45. package/scripts/pipeline_git.py +3 -0
  46. package/scripts/pipeline_state.py +4 -1
  47. package/scripts/pipeline_undo.py +3 -0
  48. package/scripts/promote_lookahead.py +3 -0
  49. package/scripts/review_panel.py +11 -0
  50. package/scripts/roadmap.py +5 -0
  51. package/scripts/runtime_store.py +281 -0
  52. package/scripts/skill-resources.json +104 -4
  53. package/scripts/state_checkpoint.py +5 -0
  54. package/scripts/state_promote.py +5 -0
  55. package/scripts/status_runtime.py +92 -6
  56. package/scripts/wizard.mjs +8 -2
  57. package/scripts/workflow_run.py +12 -1
  58. package/scripts/worktree_paths.py +94 -0
  59. package/skills/gsd-path/BUILD.md +7 -0
  60. package/skills/gsd-path/DECIDE.md +2 -0
  61. package/skills/gsd-path/DEFINE.md +13 -7
  62. package/skills/gsd-path/DOCS-AUDIT.md +2 -0
  63. package/skills/gsd-path/INSPECT.md +2 -0
  64. package/skills/gsd-path/PLAN.md +4 -2
  65. package/skills/gsd-path/RESEARCH.md +2 -0
  66. package/skills/gsd-path/ROADMAP.md +2 -0
  67. package/skills/gsd-path/SHIP.md +24 -13
  68. package/skills/gsd-path/SKILL.md +23 -9
  69. package/skills/gsd-path/references/build-native.md +15 -7
  70. package/skills/gsd-path/references/config.md +57 -0
  71. package/skills/gsd-path/references/dispatch.md +6 -19
  72. package/skills/gsd-path/references/jev-review.md +82 -0
  73. package/skills/gsd-path/references/model-policy.md +139 -0
  74. package/skills/gsd-path/references/reviewer-panel.md +1 -1
  75. package/skills/gsd-path/references/reviewer.md +2 -0
  76. package/skills/gsd-path/references/runtime-selection.md +25 -0
  77. package/skills/gsd-path/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  78. package/skills/gsd-path/scripts/__pycache__/check_handoffs.cpython-312.pyc +0 -0
  79. package/skills/gsd-path/scripts/_common.py +5 -0
  80. package/skills/gsd-path/scripts/archive_milestone.py +20 -6
  81. package/skills/gsd-path/scripts/bootstrap_repository.py +8 -1
  82. package/skills/gsd-path/scripts/build_recovery.py +5 -0
  83. package/skills/gsd-path/scripts/build_state.py +2 -0
  84. package/skills/gsd-path/scripts/check_docs_audit.py +2 -0
  85. package/skills/gsd-path/scripts/check_handoffs.py +6 -0
  86. package/skills/gsd-path/scripts/check_task_briefs.py +3 -0
  87. package/skills/gsd-path/scripts/detect_project.py +11 -1
  88. package/skills/gsd-path/scripts/discussion_records.py +3 -0
  89. package/skills/gsd-path/scripts/discussion_validate.py +8 -3
  90. package/skills/gsd-path/scripts/dispatch_driver.py +230 -21
  91. package/skills/gsd-path/scripts/git_guard.py +768 -0
  92. package/skills/gsd-path/scripts/integration.py +28 -8
  93. package/skills/gsd-path/scripts/isolation.py +15 -5
  94. package/skills/gsd-path/scripts/jev_review.py +138 -0
  95. package/skills/gsd-path/scripts/lean_verification.py +2 -0
  96. package/skills/gsd-path/scripts/loop_run.py +2 -0
  97. package/skills/gsd-path/scripts/model_policy.py +279 -0
  98. package/skills/gsd-path/scripts/path_config.py +248 -0
  99. package/skills/gsd-path/scripts/pipeline_git.py +3 -0
  100. package/skills/gsd-path/scripts/pipeline_state.py +4 -1
  101. package/skills/gsd-path/scripts/promote_lookahead.py +3 -0
  102. package/skills/gsd-path/scripts/review_panel.py +11 -0
  103. package/skills/gsd-path/scripts/roadmap.py +5 -0
  104. package/skills/gsd-path/scripts/state_checkpoint.py +5 -0
  105. package/skills/gsd-path/scripts/state_promote.py +5 -0
  106. package/skills/gsd-path/scripts/status_runtime.py +208 -0
  107. package/skills/gsd-path/scripts/workflow_run.py +12 -1
  108. package/skills/gsd-path/scripts/worktree_paths.py +94 -0
  109. package/skills/gsd-path/templates/skeptic.md +1 -1
  110. package/skills/gsd-path/templates/task.md +2 -0
  111. package/skills/gsd-path/templates/wave-panel.md +1 -1
  112. package/skills/gsd-path-build/SKILL.md +7 -0
  113. package/skills/gsd-path-build/references/build-native.md +15 -7
  114. package/skills/gsd-path-build/references/dispatch.md +6 -19
  115. package/skills/gsd-path-build/references/jev-review.md +82 -0
  116. package/skills/gsd-path-build/references/model-policy.md +139 -0
  117. package/skills/gsd-path-build/references/reviewer-panel.md +1 -1
  118. package/skills/gsd-path-build/references/reviewer.md +2 -0
  119. package/skills/gsd-path-build/references/runtime-selection.md +25 -0
  120. package/skills/gsd-path-build/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  121. package/skills/gsd-path-build/scripts/__pycache__/check_handoffs.cpython-312.pyc +0 -0
  122. package/skills/gsd-path-build/scripts/_common.py +5 -0
  123. package/skills/gsd-path-build/scripts/archive_milestone.py +20 -6
  124. package/skills/gsd-path-build/scripts/build_recovery.py +5 -0
  125. package/skills/gsd-path-build/scripts/build_state.py +2 -0
  126. package/skills/gsd-path-build/scripts/check_handoffs.py +6 -0
  127. package/skills/gsd-path-build/scripts/check_task_briefs.py +3 -0
  128. package/skills/gsd-path-build/scripts/detect_project.py +11 -1
  129. package/skills/gsd-path-build/scripts/discussion_records.py +3 -0
  130. package/skills/gsd-path-build/scripts/discussion_validate.py +8 -3
  131. package/skills/gsd-path-build/scripts/dispatch_driver.py +230 -21
  132. package/skills/gsd-path-build/scripts/integration.py +28 -8
  133. package/skills/gsd-path-build/scripts/isolation.py +15 -5
  134. package/skills/gsd-path-build/scripts/jev_review.py +138 -0
  135. package/skills/gsd-path-build/scripts/loop_run.py +2 -0
  136. package/skills/gsd-path-build/scripts/model_policy.py +279 -0
  137. package/skills/gsd-path-build/scripts/path_config.py +248 -0
  138. package/skills/gsd-path-build/scripts/pipeline_git.py +3 -0
  139. package/skills/gsd-path-build/scripts/pipeline_state.py +4 -1
  140. package/skills/gsd-path-build/scripts/promote_lookahead.py +3 -0
  141. package/skills/gsd-path-build/scripts/review_panel.py +11 -0
  142. package/skills/gsd-path-build/scripts/roadmap.py +5 -0
  143. package/skills/gsd-path-build/scripts/state_checkpoint.py +5 -0
  144. package/skills/gsd-path-build/scripts/state_promote.py +5 -0
  145. package/skills/gsd-path-build/scripts/workflow_run.py +12 -1
  146. package/skills/gsd-path-build/scripts/worktree_paths.py +94 -0
  147. package/skills/gsd-path-build/templates/skeptic.md +1 -1
  148. package/skills/gsd-path-build/templates/task.md +2 -0
  149. package/skills/gsd-path-build/templates/wave-panel.md +1 -1
  150. package/skills/gsd-path-decide/SKILL.md +2 -0
  151. package/skills/gsd-path-decide/references/dispatch.md +6 -19
  152. package/skills/gsd-path-decide/references/model-policy.md +139 -0
  153. package/skills/gsd-path-decide/references/runtime-selection.md +25 -0
  154. package/skills/gsd-path-decide/scripts/_common.py +5 -0
  155. package/skills/gsd-path-decide/scripts/archive_milestone.py +20 -6
  156. package/skills/gsd-path-decide/scripts/build_recovery.py +5 -0
  157. package/skills/gsd-path-decide/scripts/check_handoffs.py +6 -0
  158. package/skills/gsd-path-decide/scripts/check_task_briefs.py +3 -0
  159. package/skills/gsd-path-decide/scripts/detect_project.py +11 -1
  160. package/skills/gsd-path-decide/scripts/discussion_records.py +3 -0
  161. package/skills/gsd-path-decide/scripts/discussion_validate.py +8 -3
  162. package/skills/gsd-path-decide/scripts/integration.py +28 -8
  163. package/skills/gsd-path-decide/scripts/isolation.py +15 -5
  164. package/skills/gsd-path-decide/scripts/loop_run.py +839 -0
  165. package/skills/gsd-path-decide/scripts/model_policy.py +279 -0
  166. package/skills/gsd-path-decide/scripts/path_config.py +248 -0
  167. package/skills/gsd-path-decide/scripts/pipeline_git.py +3 -0
  168. package/skills/gsd-path-decide/scripts/pipeline_state.py +4 -1
  169. package/skills/gsd-path-decide/scripts/promote_lookahead.py +3 -0
  170. package/skills/gsd-path-decide/scripts/review_panel.py +11 -0
  171. package/skills/gsd-path-decide/scripts/roadmap.py +5 -0
  172. package/skills/gsd-path-decide/scripts/state_checkpoint.py +5 -0
  173. package/skills/gsd-path-decide/scripts/state_promote.py +5 -0
  174. package/skills/gsd-path-decide/scripts/worktree_paths.py +94 -0
  175. package/skills/gsd-path-define/SKILL.md +13 -7
  176. package/skills/gsd-path-define/references/runtime-selection.md +25 -0
  177. package/skills/gsd-path-define/scripts/_common.py +5 -0
  178. package/skills/gsd-path-define/scripts/archive_milestone.py +20 -6
  179. package/skills/gsd-path-define/scripts/build_recovery.py +5 -0
  180. package/skills/gsd-path-define/scripts/check_handoffs.py +6 -0
  181. package/skills/gsd-path-define/scripts/check_task_briefs.py +3 -0
  182. package/skills/gsd-path-define/scripts/detect_project.py +11 -1
  183. package/skills/gsd-path-define/scripts/discussion_records.py +3 -0
  184. package/skills/gsd-path-define/scripts/discussion_validate.py +8 -3
  185. package/skills/gsd-path-define/scripts/integration.py +28 -8
  186. package/skills/gsd-path-define/scripts/isolation.py +15 -5
  187. package/skills/gsd-path-define/scripts/loop_run.py +839 -0
  188. package/skills/gsd-path-define/scripts/model_policy.py +279 -0
  189. package/skills/gsd-path-define/scripts/path_config.py +248 -0
  190. package/skills/gsd-path-define/scripts/pipeline_git.py +3 -0
  191. package/skills/gsd-path-define/scripts/pipeline_state.py +4 -1
  192. package/skills/gsd-path-define/scripts/promote_lookahead.py +3 -0
  193. package/skills/gsd-path-define/scripts/review_panel.py +11 -0
  194. package/skills/gsd-path-define/scripts/roadmap.py +5 -0
  195. package/skills/gsd-path-define/scripts/state_checkpoint.py +5 -0
  196. package/skills/gsd-path-define/scripts/state_promote.py +5 -0
  197. package/skills/gsd-path-define/scripts/worktree_paths.py +94 -0
  198. package/skills/gsd-path-discuss/SKILL.md +2 -0
  199. package/skills/gsd-path-discuss/references/runtime-selection.md +25 -0
  200. package/skills/gsd-path-discuss/scripts/_common.py +5 -0
  201. package/skills/gsd-path-discuss/scripts/discussion_records.py +3 -0
  202. package/skills/gsd-path-discuss/scripts/loop_run.py +839 -0
  203. package/skills/gsd-path-discuss/scripts/model_policy.py +279 -0
  204. package/skills/gsd-path-discuss/scripts/path_config.py +248 -0
  205. package/skills/gsd-path-discuss/scripts/review_panel.py +564 -0
  206. package/skills/gsd-path-discuss/scripts/worktree_paths.py +94 -0
  207. package/skills/gsd-path-docs-audit/SKILL.md +2 -0
  208. package/skills/gsd-path-docs-audit/references/dispatch.md +6 -19
  209. package/skills/gsd-path-docs-audit/references/model-policy.md +139 -0
  210. package/skills/gsd-path-docs-audit/references/runtime-selection.md +25 -0
  211. package/skills/gsd-path-docs-audit/scripts/_common.py +5 -0
  212. package/skills/gsd-path-docs-audit/scripts/archive_milestone.py +20 -6
  213. package/skills/gsd-path-docs-audit/scripts/build_recovery.py +5 -0
  214. package/skills/gsd-path-docs-audit/scripts/check_docs_audit.py +2 -0
  215. package/skills/gsd-path-docs-audit/scripts/check_handoffs.py +6 -0
  216. package/skills/gsd-path-docs-audit/scripts/check_task_briefs.py +3 -0
  217. package/skills/gsd-path-docs-audit/scripts/detect_project.py +11 -1
  218. package/skills/gsd-path-docs-audit/scripts/discussion_records.py +3 -0
  219. package/skills/gsd-path-docs-audit/scripts/discussion_validate.py +8 -3
  220. package/skills/gsd-path-docs-audit/scripts/integration.py +28 -8
  221. package/skills/gsd-path-docs-audit/scripts/isolation.py +15 -5
  222. package/skills/gsd-path-docs-audit/scripts/loop_run.py +839 -0
  223. package/skills/gsd-path-docs-audit/scripts/model_policy.py +279 -0
  224. package/skills/gsd-path-docs-audit/scripts/path_config.py +248 -0
  225. package/skills/gsd-path-docs-audit/scripts/pipeline_git.py +3 -0
  226. package/skills/gsd-path-docs-audit/scripts/pipeline_state.py +4 -1
  227. package/skills/gsd-path-docs-audit/scripts/promote_lookahead.py +3 -0
  228. package/skills/gsd-path-docs-audit/scripts/review_panel.py +11 -0
  229. package/skills/gsd-path-docs-audit/scripts/roadmap.py +5 -0
  230. package/skills/gsd-path-docs-audit/scripts/state_checkpoint.py +5 -0
  231. package/skills/gsd-path-docs-audit/scripts/state_promote.py +5 -0
  232. package/skills/gsd-path-docs-audit/scripts/worktree_paths.py +94 -0
  233. package/skills/gsd-path-forensics/SKILL.md +9 -5
  234. package/skills/gsd-path-forensics/references/runtime-selection.md +25 -0
  235. package/skills/gsd-path-forensics/scripts/_common.py +5 -0
  236. package/skills/gsd-path-forensics/scripts/discussion_records.py +3 -0
  237. package/skills/gsd-path-forensics/scripts/loop_run.py +839 -0
  238. package/skills/gsd-path-forensics/scripts/model_policy.py +279 -0
  239. package/skills/gsd-path-forensics/scripts/path_config.py +248 -0
  240. package/skills/gsd-path-forensics/scripts/pipeline_diagnose.py +3 -0
  241. package/skills/gsd-path-forensics/scripts/pipeline_undo.py +3 -0
  242. package/skills/gsd-path-forensics/scripts/review_panel.py +564 -0
  243. package/skills/gsd-path-forensics/scripts/worktree_paths.py +94 -0
  244. package/skills/gsd-path-inspect/SKILL.md +2 -0
  245. package/skills/gsd-path-inspect/references/dispatch.md +6 -19
  246. package/skills/gsd-path-inspect/references/model-policy.md +139 -0
  247. package/skills/gsd-path-inspect/references/runtime-selection.md +25 -0
  248. package/skills/gsd-path-inspect/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  249. package/skills/gsd-path-inspect/scripts/_common.py +5 -0
  250. package/skills/gsd-path-inspect/scripts/archive_milestone.py +20 -6
  251. package/skills/gsd-path-inspect/scripts/build_recovery.py +5 -0
  252. package/skills/gsd-path-inspect/scripts/check_docs_audit.py +2 -0
  253. package/skills/gsd-path-inspect/scripts/check_handoffs.py +6 -0
  254. package/skills/gsd-path-inspect/scripts/check_task_briefs.py +3 -0
  255. package/skills/gsd-path-inspect/scripts/detect_project.py +11 -1
  256. package/skills/gsd-path-inspect/scripts/discussion_records.py +3 -0
  257. package/skills/gsd-path-inspect/scripts/discussion_validate.py +8 -3
  258. package/skills/gsd-path-inspect/scripts/integration.py +28 -8
  259. package/skills/gsd-path-inspect/scripts/isolation.py +15 -5
  260. package/skills/gsd-path-inspect/scripts/loop_run.py +839 -0
  261. package/skills/gsd-path-inspect/scripts/model_policy.py +279 -0
  262. package/skills/gsd-path-inspect/scripts/path_config.py +248 -0
  263. package/skills/gsd-path-inspect/scripts/pipeline_git.py +3 -0
  264. package/skills/gsd-path-inspect/scripts/pipeline_state.py +4 -1
  265. package/skills/gsd-path-inspect/scripts/promote_lookahead.py +3 -0
  266. package/skills/gsd-path-inspect/scripts/review_panel.py +11 -0
  267. package/skills/gsd-path-inspect/scripts/roadmap.py +5 -0
  268. package/skills/gsd-path-inspect/scripts/state_checkpoint.py +5 -0
  269. package/skills/gsd-path-inspect/scripts/state_promote.py +5 -0
  270. package/skills/gsd-path-inspect/scripts/workflow_run.py +12 -1
  271. package/skills/gsd-path-inspect/scripts/worktree_paths.py +94 -0
  272. package/skills/gsd-path-loop/SKILL.md +2 -0
  273. package/skills/gsd-path-loop/references/runtime-selection.md +25 -0
  274. package/skills/gsd-path-loop/scripts/_common.py +5 -0
  275. package/skills/gsd-path-loop/scripts/discussion_records.py +3 -0
  276. package/skills/gsd-path-loop/scripts/loop_run.py +2 -0
  277. package/skills/gsd-path-loop/scripts/model_policy.py +279 -0
  278. package/skills/gsd-path-loop/scripts/path_config.py +248 -0
  279. package/skills/gsd-path-loop/scripts/review_panel.py +564 -0
  280. package/skills/gsd-path-loop/scripts/worktree_paths.py +94 -0
  281. package/skills/gsd-path-migrate/SKILL.md +2 -0
  282. package/skills/gsd-path-migrate/references/runtime-selection.md +25 -0
  283. package/skills/gsd-path-migrate/scripts/_common.py +185 -0
  284. package/skills/gsd-path-migrate/scripts/discussion_records.py +3 -0
  285. package/skills/gsd-path-migrate/scripts/loop_run.py +839 -0
  286. package/skills/gsd-path-migrate/scripts/model_policy.py +279 -0
  287. package/skills/gsd-path-migrate/scripts/path_config.py +248 -0
  288. package/skills/gsd-path-migrate/scripts/review_panel.py +564 -0
  289. package/skills/gsd-path-plan/SKILL.md +4 -2
  290. package/skills/gsd-path-plan/references/dispatch.md +6 -19
  291. package/skills/gsd-path-plan/references/model-policy.md +139 -0
  292. package/skills/gsd-path-plan/references/runtime-selection.md +25 -0
  293. package/skills/gsd-path-plan/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  294. package/skills/gsd-path-plan/scripts/_common.py +5 -0
  295. package/skills/gsd-path-plan/scripts/archive_milestone.py +20 -6
  296. package/skills/gsd-path-plan/scripts/build_recovery.py +5 -0
  297. package/skills/gsd-path-plan/scripts/check_handoffs.py +6 -0
  298. package/skills/gsd-path-plan/scripts/check_task_briefs.py +3 -0
  299. package/skills/gsd-path-plan/scripts/detect_project.py +11 -1
  300. package/skills/gsd-path-plan/scripts/discussion_records.py +3 -0
  301. package/skills/gsd-path-plan/scripts/discussion_validate.py +8 -3
  302. package/skills/gsd-path-plan/scripts/integration.py +28 -8
  303. package/skills/gsd-path-plan/scripts/isolation.py +15 -5
  304. package/skills/gsd-path-plan/scripts/loop_run.py +839 -0
  305. package/skills/gsd-path-plan/scripts/model_policy.py +279 -0
  306. package/skills/gsd-path-plan/scripts/path_config.py +248 -0
  307. package/skills/gsd-path-plan/scripts/pipeline_git.py +3 -0
  308. package/skills/gsd-path-plan/scripts/pipeline_state.py +4 -1
  309. package/skills/gsd-path-plan/scripts/promote_lookahead.py +3 -0
  310. package/skills/gsd-path-plan/scripts/review_panel.py +11 -0
  311. package/skills/gsd-path-plan/scripts/roadmap.py +5 -0
  312. package/skills/gsd-path-plan/scripts/state_checkpoint.py +5 -0
  313. package/skills/gsd-path-plan/scripts/state_promote.py +5 -0
  314. package/skills/gsd-path-plan/scripts/workflow_run.py +12 -1
  315. package/skills/gsd-path-plan/scripts/worktree_paths.py +94 -0
  316. package/skills/gsd-path-plan/templates/task.md +2 -0
  317. package/skills/gsd-path-research/SKILL.md +2 -0
  318. package/skills/gsd-path-research/references/dispatch.md +6 -19
  319. package/skills/gsd-path-research/references/model-policy.md +139 -0
  320. package/skills/gsd-path-research/references/runtime-selection.md +25 -0
  321. package/skills/gsd-path-research/scripts/_common.py +5 -0
  322. package/skills/gsd-path-research/scripts/archive_milestone.py +20 -6
  323. package/skills/gsd-path-research/scripts/build_recovery.py +5 -0
  324. package/skills/gsd-path-research/scripts/check_handoffs.py +6 -0
  325. package/skills/gsd-path-research/scripts/check_task_briefs.py +3 -0
  326. package/skills/gsd-path-research/scripts/detect_project.py +11 -1
  327. package/skills/gsd-path-research/scripts/discussion_records.py +3 -0
  328. package/skills/gsd-path-research/scripts/discussion_validate.py +8 -3
  329. package/skills/gsd-path-research/scripts/integration.py +28 -8
  330. package/skills/gsd-path-research/scripts/isolation.py +15 -5
  331. package/skills/gsd-path-research/scripts/loop_run.py +839 -0
  332. package/skills/gsd-path-research/scripts/model_policy.py +279 -0
  333. package/skills/gsd-path-research/scripts/path_config.py +248 -0
  334. package/skills/gsd-path-research/scripts/pipeline_git.py +3 -0
  335. package/skills/gsd-path-research/scripts/pipeline_state.py +4 -1
  336. package/skills/gsd-path-research/scripts/promote_lookahead.py +3 -0
  337. package/skills/gsd-path-research/scripts/review_panel.py +11 -0
  338. package/skills/gsd-path-research/scripts/roadmap.py +5 -0
  339. package/skills/gsd-path-research/scripts/state_checkpoint.py +5 -0
  340. package/skills/gsd-path-research/scripts/state_promote.py +5 -0
  341. package/skills/gsd-path-research/scripts/worktree_paths.py +94 -0
  342. package/skills/gsd-path-roadmap/SKILL.md +2 -0
  343. package/skills/gsd-path-roadmap/references/dispatch.md +6 -19
  344. package/skills/gsd-path-roadmap/references/model-policy.md +139 -0
  345. package/skills/gsd-path-roadmap/references/runtime-selection.md +25 -0
  346. package/skills/gsd-path-roadmap/scripts/_common.py +5 -0
  347. package/skills/gsd-path-roadmap/scripts/archive_milestone.py +20 -6
  348. package/skills/gsd-path-roadmap/scripts/build_recovery.py +5 -0
  349. package/skills/gsd-path-roadmap/scripts/check_handoffs.py +6 -0
  350. package/skills/gsd-path-roadmap/scripts/check_task_briefs.py +3 -0
  351. package/skills/gsd-path-roadmap/scripts/detect_project.py +11 -1
  352. package/skills/gsd-path-roadmap/scripts/discussion_records.py +3 -0
  353. package/skills/gsd-path-roadmap/scripts/discussion_validate.py +8 -3
  354. package/skills/gsd-path-roadmap/scripts/integration.py +28 -8
  355. package/skills/gsd-path-roadmap/scripts/isolation.py +15 -5
  356. package/skills/gsd-path-roadmap/scripts/loop_run.py +839 -0
  357. package/skills/gsd-path-roadmap/scripts/model_policy.py +279 -0
  358. package/skills/gsd-path-roadmap/scripts/path_config.py +248 -0
  359. package/skills/gsd-path-roadmap/scripts/pipeline_git.py +3 -0
  360. package/skills/gsd-path-roadmap/scripts/pipeline_state.py +4 -1
  361. package/skills/gsd-path-roadmap/scripts/promote_lookahead.py +3 -0
  362. package/skills/gsd-path-roadmap/scripts/review_panel.py +11 -0
  363. package/skills/gsd-path-roadmap/scripts/roadmap.py +5 -0
  364. package/skills/gsd-path-roadmap/scripts/state_checkpoint.py +5 -0
  365. package/skills/gsd-path-roadmap/scripts/state_promote.py +5 -0
  366. package/skills/gsd-path-roadmap/scripts/worktree_paths.py +94 -0
  367. package/skills/gsd-path-ship/SKILL.md +24 -13
  368. package/skills/gsd-path-ship/references/dispatch.md +6 -19
  369. package/skills/gsd-path-ship/references/jev-review.md +82 -0
  370. package/skills/gsd-path-ship/references/model-policy.md +139 -0
  371. package/skills/gsd-path-ship/references/reviewer-panel.md +1 -1
  372. package/skills/gsd-path-ship/references/reviewer.md +2 -0
  373. package/skills/gsd-path-ship/references/runtime-selection.md +25 -0
  374. package/skills/gsd-path-ship/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  375. package/skills/gsd-path-ship/scripts/_common.py +5 -0
  376. package/skills/gsd-path-ship/scripts/archive_milestone.py +20 -6
  377. package/skills/gsd-path-ship/scripts/build_recovery.py +5 -0
  378. package/skills/gsd-path-ship/scripts/build_state.py +2 -0
  379. package/skills/gsd-path-ship/scripts/check_handoffs.py +6 -0
  380. package/skills/gsd-path-ship/scripts/check_task_briefs.py +3 -0
  381. package/skills/gsd-path-ship/scripts/detect_project.py +11 -1
  382. package/skills/gsd-path-ship/scripts/discussion_records.py +3 -0
  383. package/skills/gsd-path-ship/scripts/discussion_validate.py +8 -3
  384. package/skills/gsd-path-ship/scripts/integration.py +28 -8
  385. package/skills/gsd-path-ship/scripts/isolation.py +15 -5
  386. package/skills/gsd-path-ship/scripts/jev_review.py +138 -0
  387. package/skills/gsd-path-ship/scripts/lean_verification.py +2 -0
  388. package/skills/gsd-path-ship/scripts/loop_run.py +839 -0
  389. package/skills/gsd-path-ship/scripts/model_policy.py +279 -0
  390. package/skills/gsd-path-ship/scripts/path_config.py +248 -0
  391. package/skills/gsd-path-ship/scripts/pipeline_git.py +3 -0
  392. package/skills/gsd-path-ship/scripts/pipeline_state.py +4 -1
  393. package/skills/gsd-path-ship/scripts/promote_lookahead.py +3 -0
  394. package/skills/gsd-path-ship/scripts/review_panel.py +11 -0
  395. package/skills/gsd-path-ship/scripts/roadmap.py +5 -0
  396. package/skills/gsd-path-ship/scripts/state_checkpoint.py +5 -0
  397. package/skills/gsd-path-ship/scripts/state_promote.py +5 -0
  398. package/skills/gsd-path-ship/scripts/workflow_run.py +12 -1
  399. package/skills/gsd-path-ship/scripts/worktree_paths.py +94 -0
  400. package/skills/gsd-path-undo/SKILL.md +2 -0
  401. package/skills/gsd-path-undo/references/runtime-selection.md +25 -0
  402. package/skills/gsd-path-undo/scripts/_common.py +5 -0
  403. package/skills/gsd-path-undo/scripts/discussion_records.py +3 -0
  404. package/skills/gsd-path-undo/scripts/loop_run.py +839 -0
  405. package/skills/gsd-path-undo/scripts/model_policy.py +279 -0
  406. package/skills/gsd-path-undo/scripts/path_config.py +248 -0
  407. package/skills/gsd-path-undo/scripts/pipeline_undo.py +3 -0
  408. package/skills/gsd-path-undo/scripts/review_panel.py +564 -0
  409. package/skills/gsd-path-undo/scripts/worktree_paths.py +94 -0
  410. package/skills/path/BUILD.md +7 -0
  411. package/skills/path/DECIDE.md +2 -0
  412. package/skills/path/DEFINE.md +13 -7
  413. package/skills/path/DOCS-AUDIT.md +2 -0
  414. package/skills/path/INSPECT.md +2 -0
  415. package/skills/path/PLAN.md +4 -2
  416. package/skills/path/RESEARCH.md +2 -0
  417. package/skills/path/ROADMAP.md +2 -0
  418. package/skills/path/SHIP.md +24 -13
  419. package/skills/path/SKILL.md +23 -9
  420. package/skills/path/references/build-native.md +15 -7
  421. package/skills/path/references/config.md +57 -0
  422. package/skills/path/references/dispatch.md +6 -19
  423. package/skills/path/references/jev-review.md +82 -0
  424. package/skills/path/references/model-policy.md +139 -0
  425. package/skills/path/references/reviewer-panel.md +1 -1
  426. package/skills/path/references/reviewer.md +2 -0
  427. package/skills/path/references/runtime-selection.md +25 -0
  428. package/skills/path/scripts/_common.py +5 -0
  429. package/skills/path/scripts/archive_milestone.py +20 -6
  430. package/skills/path/scripts/bootstrap_repository.py +8 -1
  431. package/skills/path/scripts/build_recovery.py +5 -0
  432. package/skills/path/scripts/build_state.py +2 -0
  433. package/skills/path/scripts/check_docs_audit.py +2 -0
  434. package/skills/path/scripts/check_handoffs.py +6 -0
  435. package/skills/path/scripts/check_task_briefs.py +3 -0
  436. package/skills/path/scripts/detect_project.py +11 -1
  437. package/skills/path/scripts/discussion_records.py +3 -0
  438. package/skills/path/scripts/discussion_validate.py +8 -3
  439. package/skills/path/scripts/dispatch_driver.py +230 -21
  440. package/skills/path/scripts/git_guard.py +768 -0
  441. package/skills/path/scripts/integration.py +28 -8
  442. package/skills/path/scripts/isolation.py +15 -5
  443. package/skills/path/scripts/jev_review.py +138 -0
  444. package/skills/path/scripts/lean_verification.py +2 -0
  445. package/skills/path/scripts/loop_run.py +2 -0
  446. package/skills/path/scripts/model_policy.py +279 -0
  447. package/skills/path/scripts/path_config.py +248 -0
  448. package/skills/path/scripts/pipeline_git.py +3 -0
  449. package/skills/path/scripts/pipeline_state.py +4 -1
  450. package/skills/path/scripts/promote_lookahead.py +3 -0
  451. package/skills/path/scripts/review_panel.py +11 -0
  452. package/skills/path/scripts/roadmap.py +5 -0
  453. package/skills/path/scripts/state_checkpoint.py +5 -0
  454. package/skills/path/scripts/state_promote.py +5 -0
  455. package/skills/path/scripts/status_runtime.py +208 -0
  456. package/skills/path/scripts/workflow_run.py +12 -1
  457. package/skills/path/scripts/worktree_paths.py +94 -0
  458. package/skills/path/templates/skeptic.md +1 -1
  459. package/skills/path/templates/task.md +2 -0
  460. package/skills/path/templates/wave-panel.md +1 -1
  461. package/skills/gsd-path/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  462. package/skills/gsd-path/scripts/__pycache__/build_recovery.cpython-312.pyc +0 -0
  463. package/skills/gsd-path/scripts/__pycache__/build_state.cpython-312.pyc +0 -0
  464. package/skills/gsd-path/scripts/__pycache__/check_task_briefs.cpython-312.pyc +0 -0
  465. package/skills/gsd-path/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  466. package/skills/gsd-path/scripts/__pycache__/discussion_records.cpython-312.pyc +0 -0
  467. package/skills/gsd-path/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  468. package/skills/gsd-path/scripts/__pycache__/integration.cpython-312.pyc +0 -0
  469. package/skills/gsd-path/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  470. package/skills/gsd-path/scripts/__pycache__/loop_run.cpython-312.pyc +0 -0
  471. package/skills/gsd-path/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  472. package/skills/gsd-path/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  473. package/skills/gsd-path/scripts/__pycache__/review_findings.cpython-312.pyc +0 -0
  474. package/skills/gsd-path/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  475. package/skills/gsd-path/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  476. package/skills/gsd-path/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  477. package/skills/gsd-path/scripts/__pycache__/task_context.cpython-312.pyc +0 -0
  478. package/skills/gsd-path/scripts/__pycache__/workflow_run.cpython-312.pyc +0 -0
  479. package/skills/gsd-path-build/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  480. package/skills/gsd-path-build/scripts/__pycache__/build_recovery.cpython-312.pyc +0 -0
  481. package/skills/gsd-path-build/scripts/__pycache__/build_state.cpython-312.pyc +0 -0
  482. package/skills/gsd-path-build/scripts/__pycache__/check_task_briefs.cpython-312.pyc +0 -0
  483. package/skills/gsd-path-build/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  484. package/skills/gsd-path-build/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  485. package/skills/gsd-path-build/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  486. package/skills/gsd-path-build/scripts/__pycache__/loop_run.cpython-312.pyc +0 -0
  487. package/skills/gsd-path-build/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  488. package/skills/gsd-path-build/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  489. package/skills/gsd-path-build/scripts/__pycache__/review_findings.cpython-312.pyc +0 -0
  490. package/skills/gsd-path-build/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  491. package/skills/gsd-path-build/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  492. package/skills/gsd-path-build/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  493. package/skills/gsd-path-build/scripts/__pycache__/task_context.cpython-312.pyc +0 -0
  494. package/skills/gsd-path-build/scripts/__pycache__/workflow_run.cpython-312.pyc +0 -0
  495. package/skills/gsd-path-decide/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  496. package/skills/gsd-path-decide/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  497. package/skills/gsd-path-decide/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  498. package/skills/gsd-path-decide/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  499. package/skills/gsd-path-decide/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  500. package/skills/gsd-path-decide/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  501. package/skills/gsd-path-decide/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  502. package/skills/gsd-path-decide/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  503. package/skills/gsd-path-decide/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  504. package/skills/gsd-path-decide/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  505. package/skills/gsd-path-define/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  506. package/skills/gsd-path-define/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  507. package/skills/gsd-path-define/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  508. package/skills/gsd-path-define/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  509. package/skills/gsd-path-define/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  510. package/skills/gsd-path-define/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  511. package/skills/gsd-path-define/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  512. package/skills/gsd-path-define/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  513. package/skills/gsd-path-define/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  514. package/skills/gsd-path-define/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  515. package/skills/gsd-path-docs-audit/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  516. package/skills/gsd-path-docs-audit/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  517. package/skills/gsd-path-docs-audit/scripts/__pycache__/build_recovery.cpython-312.pyc +0 -0
  518. package/skills/gsd-path-docs-audit/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  519. package/skills/gsd-path-docs-audit/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  520. package/skills/gsd-path-docs-audit/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  521. package/skills/gsd-path-docs-audit/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  522. package/skills/gsd-path-docs-audit/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  523. package/skills/gsd-path-docs-audit/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  524. package/skills/gsd-path-docs-audit/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  525. package/skills/gsd-path-docs-audit/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  526. package/skills/gsd-path-forensics/scripts/__pycache__/pipeline_undo.cpython-312.pyc +0 -0
  527. package/skills/gsd-path-inspect/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  528. package/skills/gsd-path-inspect/scripts/__pycache__/build_recovery.cpython-312.pyc +0 -0
  529. package/skills/gsd-path-inspect/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  530. package/skills/gsd-path-inspect/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  531. package/skills/gsd-path-inspect/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  532. package/skills/gsd-path-inspect/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  533. package/skills/gsd-path-inspect/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  534. package/skills/gsd-path-inspect/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  535. package/skills/gsd-path-inspect/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  536. package/skills/gsd-path-inspect/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  537. package/skills/gsd-path-plan/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  538. package/skills/gsd-path-plan/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  539. package/skills/gsd-path-plan/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  540. package/skills/gsd-path-plan/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  541. package/skills/gsd-path-plan/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  542. package/skills/gsd-path-plan/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  543. package/skills/gsd-path-plan/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  544. package/skills/gsd-path-plan/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  545. package/skills/gsd-path-plan/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  546. package/skills/gsd-path-research/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  547. package/skills/gsd-path-research/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  548. package/skills/gsd-path-research/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  549. package/skills/gsd-path-research/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  550. package/skills/gsd-path-research/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  551. package/skills/gsd-path-research/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  552. package/skills/gsd-path-research/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  553. package/skills/gsd-path-research/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  554. package/skills/gsd-path-research/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  555. package/skills/gsd-path-research/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  556. package/skills/gsd-path-roadmap/scripts/__pycache__/_common.cpython-312.pyc +0 -0
  557. package/skills/gsd-path-roadmap/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  558. package/skills/gsd-path-roadmap/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  559. package/skills/gsd-path-roadmap/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  560. package/skills/gsd-path-roadmap/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  561. package/skills/gsd-path-roadmap/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  562. package/skills/gsd-path-roadmap/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  563. package/skills/gsd-path-roadmap/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  564. package/skills/gsd-path-roadmap/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  565. package/skills/gsd-path-roadmap/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
  566. package/skills/gsd-path-ship/scripts/__pycache__/archive_milestone.cpython-312.pyc +0 -0
  567. package/skills/gsd-path-ship/scripts/__pycache__/build_recovery.cpython-312.pyc +0 -0
  568. package/skills/gsd-path-ship/scripts/__pycache__/build_state.cpython-312.pyc +0 -0
  569. package/skills/gsd-path-ship/scripts/__pycache__/check_handoffs.cpython-312.pyc +0 -0
  570. package/skills/gsd-path-ship/scripts/__pycache__/check_task_briefs.cpython-312.pyc +0 -0
  571. package/skills/gsd-path-ship/scripts/__pycache__/detect_project.cpython-312.pyc +0 -0
  572. package/skills/gsd-path-ship/scripts/__pycache__/discussion_validate.cpython-312.pyc +0 -0
  573. package/skills/gsd-path-ship/scripts/__pycache__/isolation.cpython-312.pyc +0 -0
  574. package/skills/gsd-path-ship/scripts/__pycache__/pipeline_git.cpython-312.pyc +0 -0
  575. package/skills/gsd-path-ship/scripts/__pycache__/pipeline_state.cpython-312.pyc +0 -0
  576. package/skills/gsd-path-ship/scripts/__pycache__/review_panel.cpython-312.pyc +0 -0
  577. package/skills/gsd-path-ship/scripts/__pycache__/roadmap.cpython-312.pyc +0 -0
  578. package/skills/gsd-path-ship/scripts/__pycache__/state_checkpoint.cpython-312.pyc +0 -0
@@ -3,6 +3,8 @@ name: gsd-path-define
3
3
  description: Define and approve project or milestone intent through an interview or milestone confirmation, writing .project/CHARTER.md or .project/intent/INTENT.md. Use only when the user explicitly invokes $gsd-path-define or an active $gsd-path router explicitly routes to this phase.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
6
8
  # GSD Path Define Phase
7
9
 
8
10
  Turn a project idea or approved roadmap entry into an approved intent artifact.
@@ -110,12 +112,13 @@ the charter instead of the single-milestone checklist:
110
112
  4. **Constraints** — program-level stack, budget, deadline, integrations.
111
113
  5. **Program success criteria** — observable when the last milestone ships.
112
114
  6. **Review panel** — optional durable default (`off` | `detected` | named
113
- families). Default `off`. This value persists on CHARTER.md; later
115
+ families). Use the configured future preference unless the user chooses
116
+ otherwise (see Output contract). This value persists on CHARTER.md; later
114
117
  milestone INTENT files copy it and may override.
115
118
 
116
119
  Read the local [charter template](templates/charter.md), write the approval
117
- draft to `.project/CHARTER.md` including `Review panel:` (default `off`;
118
- never invent `detected` or a named list), and run the same playback-approval
120
+ draft to `.project/CHARTER.md` including the configured or explicitly chosen
121
+ `Review panel:` value, and run the same playback-approval
119
122
  loop as the standard Process. On approval, retain the reviewed
120
123
  `Review panel:` value on CHARTER.md, run `pipeline_state.py transition` with
121
124
  expected `define/active`, milestone/branch/archive all at their exact current
@@ -144,7 +147,7 @@ State ownership. There is no re-interview of charter or roadmap scope:
144
147
  Risks and Open questions from the entry (tagged `RESEARCH`/`NEEDS-USER`),
145
148
  `Lane: milestone`, `Surfaces:` copied verbatim from the entry, and
146
149
  `Review panel:` copied from CHARTER.md (default
147
- `off` when CHARTER omits it). The confirmation may override the copied
150
+ the configured preference when CHARTER omits it). The confirmation may override the copied
148
151
  panel value; do not invent `detected` or a named list. When brownfield,
149
152
  fill `## Current state` from the map, record doc-vs-code rulings as in
150
153
  Brownfield mode, and add protected existing behavior under Scope out.
@@ -271,9 +274,12 @@ question. The rules change for every primary mode:
271
274
  ## Output contract
272
275
 
273
276
  At approval, retain the already reviewed `Lane:` value and its one-line reason.
274
- Retain `Review panel:` as reviewed: the CHARTER copy or the user's override
275
- in milestone/lookahead mode, the CHARTER value in program mode, or `off`
276
- when the user did not choose a panel and no CHARTER default exists.
277
+ Before presenting an approval draft without a CHARTER or explicit panel choice,
278
+ read `settings.review_panel.value` from the selected runtime's `path_config.py
279
+ show --repo <absolute-root>` (bundle for legacy projects; off for older selected
280
+ runtimes without config support). Include that preference in the draft.
281
+ Retain `Review panel:` as reviewed: the CHARTER copy, the explicit user choice,
282
+ or the configured future preference. Quick lane keeps the panel off.
277
283
 
278
284
  After approval, finalize `.project/intent/INTENT.md` and run
279
285
  `pipeline_state.py transition` with expected `define/active`, the exact
@@ -3,6 +3,8 @@ name: gsd-path-docs-audit
3
3
  description: Verify Markdown claims against the actual code, commands, and GSD Path artifacts. Use only when the user explicitly invokes $gsd-path-docs-audit or an active $gsd-path router explicitly routes to this phase.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
6
8
  # GSD Path Docs Audit
7
9
 
8
10
  Answer one question with evidence: **does the project do what its documents
@@ -3,6 +3,8 @@ name: gsd-path-inspect
3
3
  description: Inspect an existing codebase and its documentation to establish brownfield ground truth before intent is defined. Use only when the user explicitly invokes $gsd-path-inspect or an active $gsd-path router explicitly routes to this phase.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
6
8
  # GSD Path Inspect Phase
7
9
 
8
10
  Establish ground truth about an existing project before intent is defined.
@@ -3,6 +3,8 @@ name: gsd-path-plan
3
3
  description: Create and validate dependency-ordered GSD Path build waves and complete task contracts. Use only when the user explicitly invokes $gsd-path-plan or an active $gsd-path router explicitly routes to this phase.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
6
8
  # GSD Path Planning Phase
7
9
 
8
10
  Dispatch one planner, gate its artifacts, and obtain the single approval that
@@ -214,8 +216,8 @@ as stated in Lookahead mode.
214
216
  statuses do not load this template. For each selected family, spawn one independent child
215
217
  with logical task name `review_plan_panel_<family>`, the reviewer role
216
218
  in plan-panel mode, the plan-panel template, and the exact helper-returned
217
- model slug when the host advertises model selection. Never override the
218
- model on the planner. Each child stages its family file under a
219
+ model slug through the dispatch model-policy contract. Planner choices
220
+ use that same contract. Each child stages its family file under a
219
221
  disposable root; the parent validates and copies those files, removes
220
222
  any stale `<track>/review/PLAN-PANEL.skipped.json`, then runs
221
223
  `python3 <absolute review_panel.py> merge --kind plan --inputs <family
@@ -3,6 +3,8 @@ name: gsd-path-research
3
3
  description: Dispatch parallel researchers and collect cited GSD Path evidence about domain, stack, pitfalls, and comparable products. Use only when the user explicitly invokes $gsd-path-research or an active $gsd-path router explicitly routes to this phase.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
6
8
  # GSD Path Research Phase
7
9
 
8
10
  Dispatch independent researchers and gate their evidence. Keep synthesis out
@@ -3,6 +3,8 @@ name: gsd-path-roadmap
3
3
  description: Slice an approved GSD Path program charter into a dependency-ordered roadmap of independently shippable milestones. Use only when the user explicitly invokes $gsd-path-roadmap or an active $gsd-path router explicitly routes to this phase.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
6
8
  # GSD Path Roadmap Phase
7
9
 
8
10
  Dispatch one roadmapper, gate its roadmap, and obtain the single approval that
@@ -3,6 +3,8 @@ name: gsd-path-ship
3
3
  description: Verify a completed GSD Path milestone, manage evidence-backed patch decisions, request final shipping approval, and archive the validated result. Use only when the user explicitly invokes $gsd-path-ship or an active $gsd-path router or build orchestrator explicitly routes to this phase.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
6
8
  # GSD Path Ship Phase
7
9
 
8
10
  Reuse proven review scope; dispatch reviewers for remaining claims. They never fix
@@ -174,8 +176,9 @@ so the position is unchanged. Then:
174
176
 
175
177
  ## Archive transaction
176
178
 
177
- Resolve the project's guard-owned `.gsd-path/runtime/archive_milestone.py` and
178
- `.gsd-path/runtime/pipeline_state.py` to absolute paths for `prepare`,
179
+ Resolve the declared runtime with `python3 -B
180
+ <project>/.gsd-path/status_runtime.py --repo <project> --runtime-path`; use
181
+ `archive_milestone.py` and `pipeline_state.py` from that verified directory for `prepare`,
179
182
  `render-manifest`, `preflight`, `record-shipment`, `validate`, `integrate`, and
180
183
  `validate-integrated`. Invoke them with `python3`; the files need not be
181
184
  executable. Skill-bundle copies are not the guard's trust anchor, even when
@@ -364,27 +367,35 @@ Run this recovery setup from a separate checkout, outside the closed primary
364
367
  worktree's guard.
365
368
 
366
369
  1. Create separate disposable trust and validation checkouts from the same
367
- published origin and `STATE.branch`. This separation is required because a
368
- managed runtime refresh may dirty a checkout when `.gsd-path/` is tracked,
370
+ published origin and `STATE.branch`. This separation is required because an
371
+ explicit runtime upgrade changes the trust checkout's declaration and launcher,
369
372
  while archive validation requires a clean checkout. Never use the primary
370
373
  worktree for either role.
371
- 2. From the trusted fixed GSD Path checkout, preview and then refresh only the
374
+ 2. From the trusted fixed GSD Path checkout, preview and then explicitly upgrade only the
372
375
  disposable trust checkout's managed trust anchor:
373
376
 
374
377
  ```bash
375
- node <trusted-gsd-path>/scripts/install.mjs --hooks-refresh --dry-run --project <trust-root>
376
- node <trusted-gsd-path>/scripts/install.mjs --hooks-refresh --project <trust-root>
378
+ node <trusted-gsd-path>/scripts/install.mjs --runtime-upgrade --dry-run --project <trust-root>
379
+ node <trusted-gsd-path>/scripts/install.mjs --runtime-upgrade --project <trust-root>
380
+ ```
381
+
382
+ Confirm that the preview identifies the intended fixed version and digest.
383
+ Upgrade changes only the disposable trust project's declaration and compatible
384
+ launcher. For a legacy trust checkout with no declaration, use the explicit
385
+ `--runtime-migrate` preview and migration first. Resolve the upgraded runtime:
386
+
387
+ ```bash
388
+ python3 -B <trust-root>/.gsd-path/status_runtime.py --repo <trust-root> --runtime-path
377
389
  ```
378
390
 
379
- Continue only when the preview names managed `.gsd-path/` runtime or guard
380
- files and no `.project/` path. The installer owns the atomic refresh and
381
- refuses unmanaged or unsafe runtime entries.
382
- 3. Use only the refreshed project-local trust anchor to refresh publication
391
+ Use the returned absolute directory as `<verified-runtime>` below. Stop on any
392
+ error; do not substitute the validation checkout's older selected runtime.
393
+ 3. Use only this verified upgraded runtime to refresh publication
383
394
  refs in the clean validation checkout and validate its integrated milestone:
384
395
 
385
396
  ```bash
386
- python3 <trust-root>/.gsd-path/runtime/archive_milestone.py refresh-origin --repo <validation-root>
387
- python3 <trust-root>/.gsd-path/runtime/archive_milestone.py validate-integrated --repo <validation-root> --slug <STATE.milestone>
397
+ python3 -B <verified-runtime>/archive_milestone.py refresh-origin --repo <validation-root>
398
+ python3 -B <verified-runtime>/archive_milestone.py validate-integrated --repo <validation-root> --slug <STATE.milestone>
388
399
  ```
389
400
 
390
401
  4. A pass restores the normal shipped handoff without another commit or
@@ -1,8 +1,15 @@
1
1
  ---
2
2
  name: path
3
- description: Inspect .project/STATE.md, report GSD Path progress, and run the next valid phase. Use only when the user explicitly invokes $path or $gsd-path. The status argument reports state without advancing. Do not infer this skill from generic project, next-step, or resume requests.
3
+ description: Inspect .project/STATE.md, report GSD Path progress, and run the next valid phase. Use only when the user explicitly invokes $path or $gsd-path. The status argument reports state without advancing; config views or edits settings without advancing. Do not infer this skill from generic project, next-step, or resume requests.
4
4
  ---
5
5
 
6
+ Before executing project helpers, read [runtime selection](references/runtime-selection.md).
7
+
8
+ ## Configuration mode
9
+
10
+ When the first argument is `config`, read [Path settings](references/config.md)
11
+ and complete that request without initializing state or advancing a phase.
12
+
6
13
  # GSD Path Router
7
14
 
8
15
  Determine the current pipeline phase, report it briefly, and run the next valid
@@ -11,11 +18,13 @@ Any text the user is expected to send back verbatim (a ruling, an approval
11
18
  command, a reply) goes in its own fenced code block, never a blockquote or
12
19
  inline prose, so it pastes cleanly.
13
20
 
14
- When the project's `.gsd-path/runtime/` exists, resolve bundled helper paths
15
- for `pipeline_state.py`, `pipeline_git.py`, `archive_milestone.py`,
16
- `promote_lookahead.py`, `discussion_records.py`, and `pipeline_diagnose.py`
17
- to that runtime. It is the guard-approved location on a closed milestone.
18
- Use the skill bundle only when no project-local runtime exists.
21
+ When `.gsd-path/runtime.json` exists, run `python3 -B
22
+ <absolute-project>/.gsd-path/status_runtime.py --repo <absolute-project>
23
+ --runtime-path`. Use the returned verified directory for its bundled helpers.
24
+ A missing or invalid selected runtime stops execution with its explicit restore
25
+ action; never substitute the installed plugin's helpers. Legacy projects without
26
+ a declaration may use `.gsd-path/runtime/`, or the skill bundle when that directory
27
+ is absent. An explicit `--runtime-migrate` produces the reviewed migration diff.
19
28
 
20
29
  ## Status-only mode
21
30
 
@@ -66,7 +75,12 @@ GitHub repository and no owned `.project/STATE.md` is active for that request.
66
75
  Derive `gsd-path/M001` as the branch. The default checkout is
67
76
  `<resolved-workspace>/<repo-name>`; propose the distinct sibling
68
77
  `<resolved-workspace>/<repo-name>-gsd-path` as the linked worktree. When
69
- starting in an empty non-Git folder, propose that existing folder as the
78
+ the user prefers a managed primary, offer an explicit path below
79
+ `~/.gsd-path/projects/` (or `GSD_PATH_WORKTREE_ROOT`) instead. Pass the
80
+ approved absolute path through `--worktree`; its parent must already exist
81
+ for preview. Keep this choice separate from helper-owned task, verify, and
82
+ integration placement. Never relocate an existing primary.
83
+ When starting in an empty non-Git folder, propose that existing folder as the
70
84
  linked worktree with `--reuse-empty-worktree`, and a distinct absent default
71
85
  checkout beside it. Use the parent as workspace so the journal stays outside
72
86
  the worktree. Preserve the invocation folder and all its contents; never
@@ -151,8 +165,8 @@ selects a milestone branch.
151
165
 
152
166
  ## Integration choice
153
167
 
154
- New state starts with `integration_default: direct`, `integration: direct`, and
155
- `integration_source: default`.
168
+ New state uses the user shipping default (built-in: `direct`) for
169
+ `integration_default` and `integration`, with `integration_source: default`.
156
170
  When the user asks to change closeout behavior before build, use the state
157
171
  helper; never edit these fields by hand:
158
172
 
@@ -37,7 +37,9 @@ its sidecar, copies it to the canonical path, retires the sidecar, and only
37
37
  after every lens settles concludes: a passing cycle with no panel is
38
38
  checkpointed; with a panel configured (`panel_required: true`) run `panel
39
39
  --wave <N> --cycle <C> --advertised <slugs> [--parent-slug <slug>]
40
- --child-command '<owner command with {model}>'`, which resolves the panel,
40
+ --child-command '<owner command>'`, using the
41
+ [model-policy CLI contract](model-policy.md#cli-lifecycle). The panel command
42
+ resolves membership,
41
43
  persists a skipped receipt or runs one panelist per family in its own
42
44
  sidecar, merges the family files, and makes the single on-pass checkpoint;
43
45
  `blocked` returns the `review_findings.py collect` grouping; when its
@@ -53,7 +55,9 @@ The driver never writes a `verify-only` file (`status: not-applicable`);
53
55
  approved artifacts or the user, record it with `answer --task-id <id>
54
56
  --answer '<answer> — <citation>'`, and call `round` again, which redispatches
55
57
  the retained isolate; `blocked` names the task, reason, and output and leaves
56
- the isolate in place apply the recovery, retry, or plan-defect procedure in
58
+ an existing isolate in place. A model-selection rejection before launch creates
59
+ no isolate; follow the [model-policy contract](model-policy.md). For other
60
+ blocks, apply the recovery, retry, or plan-defect procedure in
57
61
  steps 1–2 by hand, then call `round` again. The driver counts dispatches per
58
62
  task per milestone and stops at `--max-attempts` (default 2: the first
59
63
  dispatch plus this contract's one logged redispatch); owner token limits, when
@@ -351,12 +355,16 @@ dispatch contract and perform steps 1–5 by hand.
351
355
  against that evidence and the diff; anything it cannot
352
356
  confirm from them is a finding, not a pass. Never spawn a review panel
353
357
  at `verify-only`.
354
- - After the canonical inherit reviewer (or orchestrator-written
358
+ - After the canonical reviewer (or orchestrator-written
355
359
  `verify-only` file) is collected, run the optional review panel only
356
360
  for `full` and `deep`. Inspect advertised model slugs and run
357
361
  `python3 <absolute review_panel.py> resolve --plan <absolute PLAN.md>
358
362
  --intent <absolute INTENT.md> --advertised <comma slugs>
359
- --parent-slug <current model slug when known>` and `--charter
363
+ --parent-slug <current model slug when known>
364
+ --exclude-family <known canonical-reviewer family>`; repeat
365
+ `--exclude-family` for every known parent and canonical-reviewer family,
366
+ including all deep review lenses, before persisting the roster. Omit
367
+ unknown identities. Also pass `--charter
360
368
  <absolute .project/CHARTER.md>` when that file exists. `status: off`
361
369
  continues with no current-cycle panel artifact. For `skipped`,
362
370
  persist the helper's exact JSON stdout as
@@ -368,16 +376,16 @@ dispatch contract and perform steps 1–5 by hand.
368
376
  the reviewer role in wave-panel mode, the wave-panel template, and the
369
377
  exact helper-returned model slug when the host advertises model
370
378
  selection. On `deep`, each panel brief is the adversarial lens only.
371
- Never override the model on the canonical reviewer. Each child stages
379
+ Resolve model choices through the dispatch model-policy contract. Each child stages
372
380
  its family file in its own verify sidecar from `isolate-verify`
373
381
  (`--name wave-<N>-cycle-<C>-panel-<family>`); the parent validates
374
382
  those files and runs `python3 <absolute review_panel.py> merge --kind
375
383
  wave --wave <N> --cycle <C> --inputs <family files> --output
376
384
  <absolute .project/review/wave-N.cycleC.panel.md> --mode
377
- <detected|named>`. The inherit reviewer remains the only Wave verdict.
385
+ <detected|named>`. The canonical reviewer remains the only Wave verdict.
378
386
  Do not average panel findings into that verdict or auto-create fix
379
387
  tasks from preference findings.
380
- - After the canonical inherit reviewer file (and each deep lens file) is
388
+ - After the canonical reviewer file (and each deep lens file) is
381
389
  on the primary path, run
382
390
  `python3 <absolute check_handoffs.py> wave --repo <absolute primary>
383
391
  --review <canonical wave-review path>`. A non-zero exit is a blocked
@@ -0,0 +1,57 @@
1
+ # Path settings
2
+
3
+ `$path config` (or `/path config`) is independent of phase routing. Resolve
4
+ `scripts/path_config.py` from the selected project runtime; without a declaration,
5
+ use the router skill's bundled helper (`gsd-path` or its `path` alias). Copies in
6
+ other phase skills support internal imports; they are not config CLI entry points.
7
+ An older selected runtime without this helper requires
8
+ an explicit runtime upgrade; never substitute it.
9
+
10
+ Run `python3 -B <absolute-helper> show --repo <absolute-root>` for an initialized
11
+ project. Without STATE.md use `show --scope user`. Show returned values, sources,
12
+ recorded review panel, current milestone shipping mode, and lock reasons.
13
+ Do not initialize state, bind a branch, dispatch a phase, approve, or commit.
14
+
15
+ For bare `config`, show settings and ask which scope and setting to change.
16
+ Offer user defaults and, when initialized, project settings. For explicit
17
+ arguments, pass the action to the same helper:
18
+
19
+ ```text
20
+ show --scope user
21
+ validate --scope project --repo <absolute-root>
22
+ set integration pull-request --scope project --repo <absolute-root>
23
+ set review_panel detected --scope user
24
+ set models.roles.coder.model inherit --scope project --repo <absolute-root>
25
+ set models.hosts.codex.plan.effort high --scope project --repo <absolute-root>
26
+ reset models.roles.coder.model --scope project --repo <absolute-root>
27
+ ```
28
+
29
+ Write only the user's explicit selection. Use exact host-advertised model/effort
30
+ values; unavailable values block dispatch. `inherit` clears a control override;
31
+ `reset` removes this scope's setting and exposes defaults. Project shipping needs
32
+ an explicit mode; milestone overrides use configure-integration. Report the
33
+ returned source and when it applies. Errors stop the request; never repair by hand.
34
+
35
+ ## Ownership and timing
36
+
37
+ - User defaults: `~/.gsd-path/config.json`. Shipping affects newly initialized
38
+ projects. Model choices affect new assignments; recorded assignments stay pinned.
39
+ - Project shipping: STATE.md, written by configure-integration. It locks when
40
+ build starts. Project-default changes preserve explicit milestone overrides.
41
+ - Project models: `.project/model-policy.json`. Precedence is user common roles,
42
+ user host roles, project common roles, project host roles, then task overrides,
43
+ independently for model and effort. Existing effort hints remain.
44
+ - Future review preference: `.project/config.json`, then user default, then off.
45
+ Define presents it in the approval draft when no CHARTER or explicit user choice
46
+ applies. Approved INTENT/PLAN values remain authoritative; quick lane keeps off.
47
+ - Project writes require the bound branch; ship and shipped projects are locked.
48
+ Config cannot advance phases or edit archives.
49
+
50
+ Config leaves project edits for the pipeline's next normal metadata checkpoint.
51
+ In-flight task landings preserve these edits. Project preferences persist outside
52
+ milestone archives so later milestones keep them.
53
+
54
+ Dashboard Path settings calls this same helper for watched projects, using their
55
+ selected runtime. Background monitoring stays read-only. Existing watched-folder
56
+ and appearance controls stay separate. No background writes or automatic pipeline
57
+ execution are authorized by this settings exception.
@@ -7,10 +7,7 @@ use exactly one matching branch:
7
7
  - A `spawn_agent` tool exposing `task_name`, `agent_type`, and `fork_turns` is
8
8
  Codex. Use `fork_turns: "none"`; coders use the built-in `worker` type and
9
9
  every other role uses `default`. Reuse a completed logical target with
10
- `followup_task`. For Codex reasoning effort, use `high` for the portable
11
- `heavy` tier and `low` for the portable `light` tier; leave reasoning effort
12
- unset for the session-default tier, and never pass `heavy` or `light` as a
13
- literal Codex value.
10
+ `followup_task`.
14
11
  - A `spawn_agent` tool without those Codex fields is Zed. Spawn one isolated,
15
12
  full-capability child per brief. Zed children are not resumable, so retries
16
13
  use a fresh child and a complete prompt.
@@ -26,7 +23,7 @@ use exactly one matching branch:
26
23
  the complete new prompt for later work. Wait for a colliding active child and
27
24
  collect results with `wait_commands_or_subagents`.
28
25
  - A `Task` tool advertising the custom `gsd-path` subagent is Cursor. Use that
29
- model-inheriting, full-capability child. Resume it by returned agent ID when
26
+ full-capability child. Resume it by returned agent ID when
30
27
  available; otherwise retry with a fresh child and a complete prompt.
31
28
  - A `Task` tool advertising the built-in `general` subagent is OpenCode. Use
32
29
  that child; if an installed OpenCode v2 host exposes the renamed `subagent`
@@ -65,20 +62,10 @@ For every branch:
65
62
  - Resolve the phase's linked role brief to an absolute path, include it in the
66
63
  prompt, and require the child to read it before acting. The role brief
67
64
  supplies the read-only boundary for auditors and reviewers.
68
- - Tier hints: use the portable `heavy` tier for `plan`, `plan_patch`, `decide`,
69
- and `roadmap`, the portable `light` tier for `inspect_docs` and `docs_audit`,
70
- and the session-default tier for every other role. Apply the Codex mapping
71
- above when its schema advertises reasoning-effort selection. On every other
72
- host, use only an exact native equivalent advertised by that host; otherwise
73
- do not override the model or reasoning effort. The only exception is a
74
- review-panel child: when the host advertises model selection, pass the exact
75
- slug returned by `scripts/review_panel.py resolve` for that family. Never
76
- override the model on the canonical reviewer, planner, coder, or any other
77
- role.
78
- Host isolation: none. The child's working directory is the exact absolute
79
- root GSD Path supplied; a host SHA checkout or extra worktree is a contract
80
- failure. Never ask the host to create a worktree. Give the child the exact
81
- repository or linked-worktree root supplied by GSD Path.
65
+ - Model selection: before every child launch or continuation, follow
66
+ [the model-policy contract](model-policy.md) and apply its recorded
67
+ native arguments. It owns defaults, project settings, task overrides,
68
+ capability failures, and reassignment. Host isolation: none. Use the exact GSD Path supplied root; create no extra checkout.
82
69
  - Send a self-contained prompt with absolute input, template, and output paths
83
70
  plus the child's bounded responsibility. Every brief also names the absolute
84
71
  `AGENTS.md` and `WORKFLOW.md` paths (or explicitly says they are absent), the
@@ -0,0 +1,82 @@
1
+ # Optional Jev evidence screening
2
+
3
+ Jev screens selected criterion/evidence pairs for a wave or final reviewer.
4
+ It is disabled by default. Normal Path review needs no account, API key, SDK,
5
+ or network access. This helper uses Python's standard library.
6
+
7
+ ## Enable or disable
8
+
9
+ Set these environment variables in the session that launches the reviewing
10
+ agent; child agents must inherit them to use Jev:
11
+
12
+ | Variable | Value |
13
+ | --- | --- |
14
+ | `GSD_PATH_JEV` | Exactly `1` enables screening. Unset it to disable. |
15
+ | `TYPESAFE_API_KEY` | Your TypeSafe API key, supplied through the environment. |
16
+ | `GSD_PATH_JEV_TIMEOUT_SECONDS` | Positive finite seconds chosen by the owner for the HTTP socket timeout. There is no default. |
17
+
18
+ Enabling this option permits the selected criterion and evidence text to be
19
+ sent to TypeSafe's hosted API. Supply only material authorized for that service.
20
+ Do not include credentials, environment dumps, or unrelated repository content.
21
+ Having a key alone does not enable Jev. Do not put keys in commands or artifacts.
22
+
23
+ ## Reviewer procedure
24
+
25
+ 1. Use only still-uncovered criteria from the assigned wave/final review and
26
+ the corresponding evidence already available in the supplied verify sidecar.
27
+ Keep existing rules for isolated evidence, command reuse, and provenance.
28
+ 2. Pass JSON through stdin to `python3 -B <absolute skill scripts/jev_review.py>`
29
+ from that sidecar. Resolve the helper as `../scripts/jev_review.py` relative
30
+ to this reference directory. Do not create another project report. The input
31
+ has exactly this shape; replace the illustrative revision and contents:
32
+
33
+ ```json
34
+ {
35
+ "reviewed_head": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
36
+ "items": [
37
+ {
38
+ "id": "T001-AC1",
39
+ "criterion": "Reject an empty name.",
40
+ "evidence": "Recorded isolated Verify: test_empty_name passed."
41
+ }
42
+ ]
43
+ }
44
+ ```
45
+
46
+ Use the full review SHA supplied by the orchestrator, unique nonempty item
47
+ IDs, verbatim criterion text, and selected evidence text. Empty evidence is
48
+ allowed. The SHA is caller-supplied context; the helper does not prove Git
49
+ ancestry or that the text actually came from that revision.
50
+ 3. Read the JSON status. `disabled` means ordinary review. `unavailable` means
51
+ ordinary review with the explicit reason recorded in the assigned artifact.
52
+ Neither is a failed criterion. The helper exits zero for these optional
53
+ outcomes and makes no automatic retries. Correct invalid input/configuration
54
+ before an explicit retry; keep a service failure visible and continue review.
55
+ 4. For `ok`, inspect per-item `supported`, `partial`, `unsupported`, or `unclear`
56
+ answers, their probabilities, and confidence. Independently examine suggested
57
+ gaps under the existing rubric. A Jev answer is neither executable evidence
58
+ nor an independent review verdict. It cannot satisfy or waive a criterion,
59
+ change a gate, select a route, or authorize publication.
60
+ 5. Keep the advisory JSON receipt in the assigned review artifact's notes or
61
+ evidence prose, outside fixed-format verdict fields. An `ok` receipt includes
62
+ the supplied revision, SHA-256 of the exact canonical request, versioned model,
63
+ item IDs and answers, and token usage. An `unavailable` receipt includes the
64
+ reason and, only after request construction, the revision and request hash;
65
+ it has no model, answers, or usage. A `disabled` receipt contains only the
66
+ status and advisory marker. Retain the selected input with that evidence if it
67
+ is not already reconstructible from cited sources. Keep all canonical verdicts and template
68
+ structure unchanged. Reuse the recorded advisory when its exact request and
69
+ review revision remain unchanged; skip screening for a reused proven review.
70
+
71
+ ## Service behavior
72
+
73
+ The helper calls only `https://api.typesafe.ai/v1/systemone` with the documented
74
+ version `jev-1.13.0`. It does not follow redirects, echo provider error bodies,
75
+ write files, or install packages. Missing keys/timeouts, HTTP and network errors,
76
+ and invalid input/responses return `unavailable`. There is no confidence cutoff:
77
+ the existing reviewer owns acceptance. Real model accuracy and savings must be
78
+ evaluated on chosen evidence before relying on this advisory signal.
79
+
80
+ Sources: [HTTP API](https://docs.typesafe.ai/api),
81
+ [models](https://docs.typesafe.ai/models),
82
+ [confidence](https://docs.typesafe.ai/confidence).
@@ -0,0 +1,139 @@
1
+ # Dispatch model policy
2
+
3
+ Before native dispatch, run the bundled `scripts/model_policy.py`. CLI dispatch
4
+ uses the same resolver inside `dispatch_driver.py`. The helper owns model and
5
+ effort decisions; apply its output instead of choosing again in prose.
6
+
7
+ ## Project choices
8
+
9
+ Use `<repo>/.project/model-policy.json`, including when the active track is
10
+ `.project/next`. This file owns project overrides. It is not phase status.
11
+ No file is required to retain existing behavior. `path config` can also set user
12
+ defaults in `~/.gsd-path/config.json` under `models`. Project common roles override
13
+ user host and common roles. Within each scope, host roles override common roles.
14
+ Task overrides still win, and recorded assignments stay pinned.
15
+
16
+ ```json
17
+ {
18
+ "roles": {"coder": {"model": "inherit"}},
19
+ "hosts": {"codex": {"plan": {"effort": "high"}}}
20
+ }
21
+ ```
22
+
23
+ Values are exact advertised model/effort strings or `inherit`. This example
24
+ illustrates configuration; it is not a cost-saving preset. Set concrete models
25
+ only from the current host's advertised choices. Host-specific role settings
26
+ override common role settings. Task settings override both, independently for
27
+ model and effort; omitted fields retain the next applicable value. Explicit
28
+ `inherit` removes that field's override. There are no automatic fallbacks.
29
+
30
+ Role keys are `coder`, `reviewer` (wave, final, and gap review), `review_panel`,
31
+ `skeptic`, `inspect_codebase`, `inspect_docs`, `docs_audit`, `research`, `decide`,
32
+ `roadmap`, `plan`, and `plan_patch`. Use the logical task name as the assignment,
33
+ not as the role. Keep each panel family and review lens a distinct assignment.
34
+
35
+ The helper retains heavy effort hints for plan, plan_patch, decide, and roadmap;
36
+ light hints for inspect_docs and docs_audit; otherwise effort inherits. Codex
37
+ maps these hints to high/low. Other hosts use only advertised equivalents.
38
+ Hints are conditional; unsupported explicit settings stop the affected child.
39
+
40
+ Coders may have scalar `model:` and `effort:` fields in their task frontmatter.
41
+ These are part of the approved task contract. Pass the task file with `--task`.
42
+ For other roles, pass assignment-specific `--model` or `--effort` when the owner
43
+ explicitly overrides the role choice. Coder settings do not affect reviewers.
44
+
45
+ ## Advertised capabilities
46
+
47
+ Capture the current child tool's schema and advertised choices in a JSON file
48
+ outside the product tree. For each supported control, provide its native field,
49
+ allowed values, and, for CLI dispatch, its documented argument template. Omit
50
+ unsupported controls. The values below are fixture examples, not a host catalog:
51
+
52
+ ```json
53
+ {
54
+ "host": "codex",
55
+ "model": {"field": "model", "values": ["example-model"],
56
+ "args": ["--model", "{value}"]},
57
+ "effort": {"field": "reasoning_effort", "values": ["low", "high"],
58
+ "args": ["-c", "model_reasoning_effort={value}"]}
59
+ }
60
+ ```
61
+
62
+ `effort_hints` may map heavy/light to exact advertised equivalents. Supply
63
+ `inherited_model` only when the host exposes its identity. Never infer models,
64
+ fields, or CLI flags from a host name. Every existing host uses this contract,
65
+ including hosts with no model or effort controls. Their explicit unsupported
66
+ settings block; their default inheritance remains usable.
67
+
68
+ ## Native lifecycle
69
+
70
+ Resolve the bundled helper to an absolute path. Use one record under the Git
71
+ common directory's `gsd-path/model-selection/` directory per assignment. Scope
72
+ the path and `--scope` to the milestone, active/lookahead track, and review cycle
73
+ where applicable; later work must not reuse an earlier record.
74
+
75
+ ```text
76
+ python3 -B <helper> resolve --repo <primary> --scope <milestone/track/cycle> --assignment <logical-name> --role <role> --record <absolute-record> --capabilities <advertised-json>
77
+ ```
78
+
79
+ Only `status: ready` authorizes launch. Apply `selection.native` exactly to
80
+ the advertised child tool, preserving the host adapter's other controls and
81
+ GSD Path task isolation. The recorded selection applies to a fresh child too.
82
+ If an existing child is still active, reattach or send its continuation;
83
+ resolving again does not authorize launching a second copy. When a host cannot
84
+ change model/effort on a resumed child, a changed selection requires a fresh
85
+ child after terminal completion of the earlier one.
86
+
87
+ After terminal completion, release the assignment with `release` using the
88
+ same identity arguments and `--terminal-result <host-completion-evidence>`.
89
+ To change the selection, use `reassign` with the same identity, current
90
+ capabilities, explicit model/effort changes, and `--ruling <verbatim-owner-ruling>`.
91
+ It requires an inactive assignment and preserves prior selection history.
92
+ Resolve again before starting the replacement. A project-policy edit alone
93
+ does not change an existing selection. Task-contract edits still require their
94
+ legal pipeline path.
95
+
96
+ For panel children, first resolve membership with `review_panel.py resolve`,
97
+ passing `--parent-slug` when known and repeating `--exclude-family` for every
98
+ known parent and canonical-reviewer family (including all deep review lenses).
99
+ Apply these exclusions before persisting membership. Detected membership skips
100
+ excluded families; explicitly named conflicts block. Pass its selected model through `--panel-model`, and pass `--panel-family` plus
101
+ `--exclude-family` for known parent and
102
+ canonical-reviewer families. Persist and reuse the panel roster. Policy cannot
103
+ waive family independence or change canonical review authority. A changed
104
+ panel roster requires a new legal review assignment.
105
+
106
+ Requested controls are durable evidence. When the host hides the inherited
107
+ model identity, exact effective-model continuity across fresh children remains
108
+ unproven; report that limitation rather than asserting an identity.
109
+
110
+ ## CLI lifecycle
111
+
112
+ Pass `--model-capabilities <advertised-json>` to the driver. Commands use whole
113
+ argument slots `{model_args}` and `{effort_args}`; the resolver expands these
114
+ to argument arrays. They are not shell substitutions. Remove fixed model and
115
+ effort flags when using these slots; conflicting controls block dispatch.
116
+ Commands with explicit policy choices must expose the corresponding slots,
117
+ including when an explicit choice is `inherit`. Unconfigured legacy commands
118
+ without a capability file retain their existing behavior.
119
+ An existing legacy assignment with no recorded selection keeps its saved
120
+ command across retries, even if project policy or capabilities are later added.
121
+ It cannot use `reassign-model`; model controls require a new explicit assignment.
122
+
123
+ Review and skeptic commands accept `--model` and `--effort` for that assignment.
124
+ For distinct panel families or review lenses, pass `--model-overrides <json>`:
125
+ a mapping from exact logical assignment names to model/effort objects. Each
126
+ entry applies only to its named assignment; conflicting explicit inputs block.
127
+ A common panel model must satisfy every selected family, so use these scoped
128
+ overrides when families need different models. Family checks remain mandatory.
129
+ Coders read their task overrides. Panels with capabilities use the argument
130
+ slots; legacy panel commands may retain their existing `{model}` placeholder.
131
+
132
+ The driver persists selection before launch and retains it on retry. Use
133
+ `dispatch_driver.py reassign-model --repo <primary> --task-id <logical-name>
134
+ --model-capabilities <advertised-json> --model <slug> --ruling <owner-ruling>`
135
+ for an inactive unfinished assignment. Finished work and pinned panel rosters
136
+ require a new legal assignment. Earlier attempt evidence is retained.
137
+
138
+ Compare total cost only with observed usage and outcomes, including retries.
139
+ These controls do not establish cost savings, pricing, or quality rankings.