@deftai/directive-runtime 0.126.0-beta.2 → 0.127.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 (345) hide show
  1. package/.agents/skills/deft-directive-release/SKILL.md +428 -7
  2. package/Taskfile.yml +1 -1
  3. package/UPGRADING.md +4 -3
  4. package/commands.md +9 -6
  5. package/contracts/design-critique.md +39 -1
  6. package/dist/contract-entry.js +2 -4
  7. package/dist/dispatch.js +1 -6
  8. package/dist/doctor-diagnose.d.ts +1 -1
  9. package/dist/doctor-diagnose.js +38 -9
  10. package/dist/doctor.js +1 -1
  11. package/dist/hook-dispatch.d.ts +1 -1
  12. package/dist/hook-dispatch.js +1 -1
  13. package/dist/install-cli/coverage-map.d.ts +1 -5
  14. package/dist/install-cli/coverage-map.js +28 -22
  15. package/dist/installer-output-inventory.js +1 -4
  16. package/dist/lifecycle-cli/coverage-map.js +37 -35
  17. package/dist/migrate.js +12 -7
  18. package/dist/removal-steps/index.d.ts +2 -2
  19. package/dist/removal-steps/steps.js +6 -9
  20. package/dist/removal-steps/strategies.js +1 -1
  21. package/dist/session-start.js +28 -1
  22. package/dist/setup-wiring.d.ts +4 -0
  23. package/dist/setup-wiring.js +6 -7
  24. package/dist/setup.js +12 -14
  25. package/dist/uninstall.js +1 -1
  26. package/dist/vbrief-preflight-fixtures.js +1 -1
  27. package/dist/verify-intent-constraint.d.ts +2 -0
  28. package/dist/verify-intent-constraint.js +24 -0
  29. package/dist/verify-observable-scope.d.ts +2 -0
  30. package/dist/verify-observable-scope.js +24 -0
  31. package/dist/verify-review-monitor.d.ts +7 -0
  32. package/dist/verify-review-monitor.js +21 -0
  33. package/docs/getting-started.md +13 -1
  34. package/docs/intent-constraint.md +7 -1
  35. package/docs/observable-scope.md +6 -0
  36. package/package.json +1 -1
  37. package/packs/skills/skills-pack-0.1.json +7 -7
  38. package/packs/strategies/strategies-pack-0.1.json +32 -19
  39. package/scm/github.md +1 -0
  40. package/skills/deft-directive-article-review/SKILL.md +104 -24
  41. package/skills/deft-directive-design-critique/SKILL.md +10 -9
  42. package/skills/deft-directive-pre-pr/SKILL.md +14 -0
  43. package/skills/deft-directive-release/SKILL.md +4 -4
  44. package/skills/deft-directive-review-cycle/SKILL.md +19 -2
  45. package/skills/deft-directive-setup/SKILL.md +6 -0
  46. package/skills/deft-directive-swarm/references/host-cursor.md +18 -1
  47. package/skills/deft-directive-swarm/references/host-grok-build.md +4 -4
  48. package/skills/deft-directive-sync/SKILL.md +2 -2
  49. package/strategies/README.md +1 -0
  50. package/strategies/artifact-guards.md +2 -2
  51. package/strategies/design-thinking.md +182 -0
  52. package/strategies/discuss.md +2 -0
  53. package/strategies/interview.md +76 -23
  54. package/strategies/rapid.md +22 -12
  55. package/tasks/engine.yml +11 -4
  56. package/templates/agents-entry.md +5 -3
  57. package/templates/design-critique-brief.md +5 -1
  58. package/tutorial/beats.json +2 -2
  59. package/vendor/directive-content/.agents/skills/deft-directive-release/SKILL.md +428 -7
  60. package/vendor/directive-content/Taskfile.yml +1 -1
  61. package/vendor/directive-content/UPGRADING.md +4 -3
  62. package/vendor/directive-content/commands.md +9 -6
  63. package/vendor/directive-content/contracts/design-critique.md +39 -1
  64. package/vendor/directive-content/docs/getting-started.md +13 -1
  65. package/vendor/directive-content/docs/intent-constraint.md +7 -1
  66. package/vendor/directive-content/docs/observable-scope.md +6 -0
  67. package/vendor/directive-content/packs/skills/skills-pack-0.1.json +7 -7
  68. package/vendor/directive-content/packs/strategies/strategies-pack-0.1.json +32 -19
  69. package/vendor/directive-content/scm/github.md +1 -0
  70. package/vendor/directive-content/skills/deft-directive-article-review/SKILL.md +104 -24
  71. package/vendor/directive-content/skills/deft-directive-design-critique/SKILL.md +10 -9
  72. package/vendor/directive-content/skills/deft-directive-pre-pr/SKILL.md +14 -0
  73. package/vendor/directive-content/skills/deft-directive-release/SKILL.md +4 -4
  74. package/vendor/directive-content/skills/deft-directive-review-cycle/SKILL.md +19 -2
  75. package/vendor/directive-content/skills/deft-directive-setup/SKILL.md +6 -0
  76. package/vendor/directive-content/skills/deft-directive-swarm/references/host-cursor.md +18 -1
  77. package/vendor/directive-content/skills/deft-directive-swarm/references/host-grok-build.md +4 -4
  78. package/vendor/directive-content/skills/deft-directive-sync/SKILL.md +2 -2
  79. package/vendor/directive-content/strategies/README.md +1 -0
  80. package/vendor/directive-content/strategies/artifact-guards.md +2 -2
  81. package/vendor/directive-content/strategies/design-thinking.md +182 -0
  82. package/vendor/directive-content/strategies/discuss.md +2 -0
  83. package/vendor/directive-content/strategies/interview.md +76 -23
  84. package/vendor/directive-content/strategies/rapid.md +22 -12
  85. package/vendor/directive-content/tasks/engine.yml +11 -4
  86. package/vendor/directive-content/templates/agents-entry.md +5 -3
  87. package/vendor/directive-content/templates/design-critique-brief.md +5 -1
  88. package/vendor/directive-content/tutorial/beats.json +2 -2
  89. package/vendor/directive-core/dist/.tsbuildinfo +1 -1
  90. package/vendor/directive-core/dist/consumer-check-contract/evaluate.d.ts +3 -2
  91. package/vendor/directive-core/dist/consumer-check-contract/evaluate.d.ts.map +1 -1
  92. package/vendor/directive-core/dist/consumer-check-contract/evaluate.js +7 -6
  93. package/vendor/directive-core/dist/consumer-check-contract/evaluate.js.map +1 -1
  94. package/vendor/directive-core/dist/content-contracts/skills/greptile-detector.d.ts +6 -0
  95. package/vendor/directive-core/dist/content-contracts/skills/greptile-detector.d.ts.map +1 -1
  96. package/vendor/directive-core/dist/content-contracts/skills/greptile-detector.js +97 -3
  97. package/vendor/directive-core/dist/content-contracts/skills/greptile-detector.js.map +1 -1
  98. package/vendor/directive-core/dist/content-contracts/skills/helpers.d.ts +11 -1
  99. package/vendor/directive-core/dist/content-contracts/skills/helpers.d.ts.map +1 -1
  100. package/vendor/directive-core/dist/content-contracts/skills/helpers.js +18 -5
  101. package/vendor/directive-core/dist/content-contracts/skills/helpers.js.map +1 -1
  102. package/vendor/directive-core/dist/coverage-applicability/evaluate.d.ts.map +1 -1
  103. package/vendor/directive-core/dist/coverage-applicability/evaluate.js +406 -11
  104. package/vendor/directive-core/dist/coverage-applicability/evaluate.js.map +1 -1
  105. package/vendor/directive-core/dist/deposit/live-procedure-targets.d.ts.map +1 -1
  106. package/vendor/directive-core/dist/deposit/live-procedure-targets.js.map +1 -1
  107. package/vendor/directive-core/dist/deposit/python-free.d.ts +2 -0
  108. package/vendor/directive-core/dist/deposit/python-free.d.ts.map +1 -1
  109. package/vendor/directive-core/dist/deposit/python-free.js +5 -1
  110. package/vendor/directive-core/dist/deposit/python-free.js.map +1 -1
  111. package/vendor/directive-core/dist/design-critique/auto-stamp-path1.d.ts +40 -0
  112. package/vendor/directive-core/dist/design-critique/auto-stamp-path1.d.ts.map +1 -1
  113. package/vendor/directive-core/dist/design-critique/auto-stamp-path1.js +116 -0
  114. package/vendor/directive-core/dist/design-critique/auto-stamp-path1.js.map +1 -1
  115. package/vendor/directive-core/dist/design-critique/citation-grammar.d.ts +36 -0
  116. package/vendor/directive-core/dist/design-critique/citation-grammar.d.ts.map +1 -1
  117. package/vendor/directive-core/dist/design-critique/citation-grammar.js +60 -3
  118. package/vendor/directive-core/dist/design-critique/citation-grammar.js.map +1 -1
  119. package/vendor/directive-core/dist/design-critique/completed-arc-record.d.ts +103 -3
  120. package/vendor/directive-core/dist/design-critique/completed-arc-record.d.ts.map +1 -1
  121. package/vendor/directive-core/dist/design-critique/completed-arc-record.js +127 -5
  122. package/vendor/directive-core/dist/design-critique/completed-arc-record.js.map +1 -1
  123. package/vendor/directive-core/dist/design-critique/ingest-posture.d.ts +27 -0
  124. package/vendor/directive-core/dist/design-critique/ingest-posture.d.ts.map +1 -0
  125. package/vendor/directive-core/dist/design-critique/ingest-posture.js +66 -0
  126. package/vendor/directive-core/dist/design-critique/ingest-posture.js.map +1 -0
  127. package/vendor/directive-core/dist/design-critique/panel-handback-acceptance.d.ts +106 -7
  128. package/vendor/directive-core/dist/design-critique/panel-handback-acceptance.d.ts.map +1 -1
  129. package/vendor/directive-core/dist/design-critique/panel-handback-acceptance.js +284 -17
  130. package/vendor/directive-core/dist/design-critique/panel-handback-acceptance.js.map +1 -1
  131. package/vendor/directive-core/dist/docs/docs-impact.d.ts +13 -0
  132. package/vendor/directive-core/dist/docs/docs-impact.d.ts.map +1 -1
  133. package/vendor/directive-core/dist/docs/docs-impact.js +49 -4
  134. package/vendor/directive-core/dist/docs/docs-impact.js.map +1 -1
  135. package/vendor/directive-core/dist/doctor/checks.d.ts.map +1 -1
  136. package/vendor/directive-core/dist/doctor/checks.js +3 -7
  137. package/vendor/directive-core/dist/doctor/checks.js.map +1 -1
  138. package/vendor/directive-core/dist/doctor/main.d.ts +48 -0
  139. package/vendor/directive-core/dist/doctor/main.d.ts.map +1 -1
  140. package/vendor/directive-core/dist/doctor/main.js +227 -4
  141. package/vendor/directive-core/dist/doctor/main.js.map +1 -1
  142. package/vendor/directive-core/dist/doctor/manifest.d.ts.map +1 -1
  143. package/vendor/directive-core/dist/doctor/manifest.js +3 -2
  144. package/vendor/directive-core/dist/doctor/manifest.js.map +1 -1
  145. package/vendor/directive-core/dist/doctor/paths.d.ts.map +1 -1
  146. package/vendor/directive-core/dist/doctor/paths.js +11 -0
  147. package/vendor/directive-core/dist/doctor/paths.js.map +1 -1
  148. package/vendor/directive-core/dist/engine-version.d.ts.map +1 -1
  149. package/vendor/directive-core/dist/engine-version.js +1 -4
  150. package/vendor/directive-core/dist/engine-version.js.map +1 -1
  151. package/vendor/directive-core/dist/hooks/dispatcher.d.ts +2 -0
  152. package/vendor/directive-core/dist/hooks/dispatcher.d.ts.map +1 -1
  153. package/vendor/directive-core/dist/hooks/dispatcher.js +156 -14
  154. package/vendor/directive-core/dist/hooks/dispatcher.js.map +1 -1
  155. package/vendor/directive-core/dist/init-deposit/agent-hooks.d.ts +4 -0
  156. package/vendor/directive-core/dist/init-deposit/agent-hooks.d.ts.map +1 -1
  157. package/vendor/directive-core/dist/init-deposit/agent-hooks.js +25 -4
  158. package/vendor/directive-core/dist/init-deposit/agent-hooks.js.map +1 -1
  159. package/vendor/directive-core/dist/init-deposit/scaffold.d.ts +4 -0
  160. package/vendor/directive-core/dist/init-deposit/scaffold.d.ts.map +1 -1
  161. package/vendor/directive-core/dist/init-deposit/scaffold.js +4 -2
  162. package/vendor/directive-core/dist/init-deposit/scaffold.js.map +1 -1
  163. package/vendor/directive-core/dist/install-contract/constants.d.ts.map +1 -1
  164. package/vendor/directive-core/dist/install-contract/constants.js +9 -1
  165. package/vendor/directive-core/dist/install-contract/constants.js.map +1 -1
  166. package/vendor/directive-core/dist/install-contract/data-status.d.ts.map +1 -1
  167. package/vendor/directive-core/dist/install-contract/data-status.js.map +1 -1
  168. package/vendor/directive-core/dist/install-contract/index.d.ts +1 -1
  169. package/vendor/directive-core/dist/install-contract/index.d.ts.map +1 -1
  170. package/vendor/directive-core/dist/install-contract/index.js.map +1 -1
  171. package/vendor/directive-core/dist/install-contract/package-meta.d.ts.map +1 -1
  172. package/vendor/directive-core/dist/install-contract/package-meta.js.map +1 -1
  173. package/vendor/directive-core/dist/install-health/cheap.d.ts.map +1 -1
  174. package/vendor/directive-core/dist/install-health/cheap.js +2 -6
  175. package/vendor/directive-core/dist/install-health/cheap.js.map +1 -1
  176. package/vendor/directive-core/dist/install-health/in-sync.d.ts.map +1 -1
  177. package/vendor/directive-core/dist/install-health/in-sync.js.map +1 -1
  178. package/vendor/directive-core/dist/install-health/index.d.ts +6 -6
  179. package/vendor/directive-core/dist/install-health/index.d.ts.map +1 -1
  180. package/vendor/directive-core/dist/install-health/index.js +3 -3
  181. package/vendor/directive-core/dist/install-health/index.js.map +1 -1
  182. package/vendor/directive-core/dist/install-health/ownership.d.ts.map +1 -1
  183. package/vendor/directive-core/dist/install-health/ownership.js +2 -6
  184. package/vendor/directive-core/dist/install-health/ownership.js.map +1 -1
  185. package/vendor/directive-core/dist/install-health/readers.d.ts.map +1 -1
  186. package/vendor/directive-core/dist/install-health/readers.js.map +1 -1
  187. package/vendor/directive-core/dist/install-health/wiring.d.ts.map +1 -1
  188. package/vendor/directive-core/dist/install-health/wiring.js +2 -3
  189. package/vendor/directive-core/dist/install-health/wiring.js.map +1 -1
  190. package/vendor/directive-core/dist/intake/issue-ingest.d.ts +2 -0
  191. package/vendor/directive-core/dist/intake/issue-ingest.d.ts.map +1 -1
  192. package/vendor/directive-core/dist/intake/issue-ingest.js +26 -1
  193. package/vendor/directive-core/dist/intake/issue-ingest.js.map +1 -1
  194. package/vendor/directive-core/dist/intent-constraint/evaluate.d.ts +7 -0
  195. package/vendor/directive-core/dist/intent-constraint/evaluate.d.ts.map +1 -1
  196. package/vendor/directive-core/dist/intent-constraint/evaluate.js +26 -5
  197. package/vendor/directive-core/dist/intent-constraint/evaluate.js.map +1 -1
  198. package/vendor/directive-core/dist/intent-constraint/plan-id-adopter.d.ts +76 -0
  199. package/vendor/directive-core/dist/intent-constraint/plan-id-adopter.d.ts.map +1 -0
  200. package/vendor/directive-core/dist/intent-constraint/plan-id-adopter.js +239 -0
  201. package/vendor/directive-core/dist/intent-constraint/plan-id-adopter.js.map +1 -0
  202. package/vendor/directive-core/dist/observable-scope/evaluate.d.ts +7 -0
  203. package/vendor/directive-core/dist/observable-scope/evaluate.d.ts.map +1 -1
  204. package/vendor/directive-core/dist/observable-scope/evaluate.js +51 -7
  205. package/vendor/directive-core/dist/observable-scope/evaluate.js.map +1 -1
  206. package/vendor/directive-core/dist/pr-closing-keywords/detect.d.ts.map +1 -1
  207. package/vendor/directive-core/dist/pr-closing-keywords/detect.js +52 -7
  208. package/vendor/directive-core/dist/pr-closing-keywords/detect.js.map +1 -1
  209. package/vendor/directive-core/dist/pr-closing-keywords/main.d.ts +2 -0
  210. package/vendor/directive-core/dist/pr-closing-keywords/main.d.ts.map +1 -1
  211. package/vendor/directive-core/dist/pr-closing-keywords/main.js +6 -2
  212. package/vendor/directive-core/dist/pr-closing-keywords/main.js.map +1 -1
  213. package/vendor/directive-core/dist/pr-watch/main.d.ts +5 -0
  214. package/vendor/directive-core/dist/pr-watch/main.d.ts.map +1 -1
  215. package/vendor/directive-core/dist/pr-watch/main.js.map +1 -1
  216. package/vendor/directive-core/dist/pr-watch/watch.d.ts.map +1 -1
  217. package/vendor/directive-core/dist/pr-watch/watch.js +5 -0
  218. package/vendor/directive-core/dist/pr-watch/watch.js.map +1 -1
  219. package/vendor/directive-core/dist/presentation-ceiling/evaluate.d.ts.map +1 -1
  220. package/vendor/directive-core/dist/presentation-ceiling/evaluate.js +3 -1
  221. package/vendor/directive-core/dist/presentation-ceiling/evaluate.js.map +1 -1
  222. package/vendor/directive-core/dist/release/auto-hatch.d.ts +6 -0
  223. package/vendor/directive-core/dist/release/auto-hatch.d.ts.map +1 -1
  224. package/vendor/directive-core/dist/release/auto-hatch.js +13 -4
  225. package/vendor/directive-core/dist/release/auto-hatch.js.map +1 -1
  226. package/vendor/directive-core/dist/release/cli-drift-report.d.ts +4 -4
  227. package/vendor/directive-core/dist/release/cli-drift-report.d.ts.map +1 -1
  228. package/vendor/directive-core/dist/release/cli-drift-report.js +6 -11
  229. package/vendor/directive-core/dist/release/cli-drift-report.js.map +1 -1
  230. package/vendor/directive-core/dist/release-e2e/constants.d.ts +4 -3
  231. package/vendor/directive-core/dist/release-e2e/constants.d.ts.map +1 -1
  232. package/vendor/directive-core/dist/release-e2e/constants.js +4 -3
  233. package/vendor/directive-core/dist/release-e2e/constants.js.map +1 -1
  234. package/vendor/directive-core/dist/release-e2e/greenfield-python-free-smoke.d.ts.map +1 -1
  235. package/vendor/directive-core/dist/release-e2e/greenfield-python-free-smoke.js +87 -28
  236. package/vendor/directive-core/dist/release-e2e/greenfield-python-free-smoke.js.map +1 -1
  237. package/vendor/directive-core/dist/release-e2e/legacy-bridge-leg.d.ts.map +1 -1
  238. package/vendor/directive-core/dist/release-e2e/legacy-bridge-leg.js +13 -2
  239. package/vendor/directive-core/dist/release-e2e/legacy-bridge-leg.js.map +1 -1
  240. package/vendor/directive-core/dist/release-e2e/main.js +1 -1
  241. package/vendor/directive-core/dist/release-e2e/npm-ops.d.ts +11 -5
  242. package/vendor/directive-core/dist/release-e2e/npm-ops.d.ts.map +1 -1
  243. package/vendor/directive-core/dist/release-e2e/npm-ops.js +90 -45
  244. package/vendor/directive-core/dist/release-e2e/npm-ops.js.map +1 -1
  245. package/vendor/directive-core/dist/resolution/engine-resolve.d.ts.map +1 -1
  246. package/vendor/directive-core/dist/resolution/engine-resolve.js.map +1 -1
  247. package/vendor/directive-core/dist/resolution/pin.d.ts +11 -5
  248. package/vendor/directive-core/dist/resolution/pin.d.ts.map +1 -1
  249. package/vendor/directive-core/dist/resolution/pin.js +20 -11
  250. package/vendor/directive-core/dist/resolution/pin.js.map +1 -1
  251. package/vendor/directive-core/dist/resolution/plan.d.ts.map +1 -1
  252. package/vendor/directive-core/dist/resolution/plan.js +5 -3
  253. package/vendor/directive-core/dist/resolution/plan.js.map +1 -1
  254. package/vendor/directive-core/dist/review-monitor/bounded-pr-watch-deny.d.ts +54 -3
  255. package/vendor/directive-core/dist/review-monitor/bounded-pr-watch-deny.d.ts.map +1 -1
  256. package/vendor/directive-core/dist/review-monitor/bounded-pr-watch-deny.js +142 -0
  257. package/vendor/directive-core/dist/review-monitor/bounded-pr-watch-deny.js.map +1 -1
  258. package/vendor/directive-core/dist/review-monitor/record.d.ts +11 -0
  259. package/vendor/directive-core/dist/review-monitor/record.d.ts.map +1 -1
  260. package/vendor/directive-core/dist/review-monitor/record.js +23 -0
  261. package/vendor/directive-core/dist/review-monitor/record.js.map +1 -1
  262. package/vendor/directive-core/dist/run-summary/emit.d.ts +2 -1
  263. package/vendor/directive-core/dist/run-summary/emit.d.ts.map +1 -1
  264. package/vendor/directive-core/dist/run-summary/emit.js +3 -0
  265. package/vendor/directive-core/dist/run-summary/emit.js.map +1 -1
  266. package/vendor/directive-core/dist/run-summary/index.d.ts +1 -1
  267. package/vendor/directive-core/dist/run-summary/index.d.ts.map +1 -1
  268. package/vendor/directive-core/dist/run-summary/index.js.map +1 -1
  269. package/vendor/directive-core/dist/run-summary/types.d.ts +8 -2
  270. package/vendor/directive-core/dist/run-summary/types.d.ts.map +1 -1
  271. package/vendor/directive-core/dist/run-summary/types.js +1 -0
  272. package/vendor/directive-core/dist/run-summary/types.js.map +1 -1
  273. package/vendor/directive-core/dist/scope/delivery-evidence.d.ts +11 -0
  274. package/vendor/directive-core/dist/scope/delivery-evidence.d.ts.map +1 -1
  275. package/vendor/directive-core/dist/scope/delivery-evidence.js +34 -0
  276. package/vendor/directive-core/dist/scope/delivery-evidence.js.map +1 -1
  277. package/vendor/directive-core/dist/session/occupancy.d.ts +101 -0
  278. package/vendor/directive-core/dist/session/occupancy.d.ts.map +1 -1
  279. package/vendor/directive-core/dist/session/occupancy.js +276 -1
  280. package/vendor/directive-core/dist/session/occupancy.js.map +1 -1
  281. package/vendor/directive-core/dist/session/spawn-occupancy.d.ts +7 -0
  282. package/vendor/directive-core/dist/session/spawn-occupancy.d.ts.map +1 -1
  283. package/vendor/directive-core/dist/session/spawn-occupancy.js +28 -0
  284. package/vendor/directive-core/dist/session/spawn-occupancy.js.map +1 -1
  285. package/vendor/directive-core/dist/staleness-tickler/run.d.ts.map +1 -1
  286. package/vendor/directive-core/dist/staleness-tickler/run.js.map +1 -1
  287. package/vendor/directive-core/dist/swarm/approach1-babysitter.d.ts +19 -6
  288. package/vendor/directive-core/dist/swarm/approach1-babysitter.d.ts.map +1 -1
  289. package/vendor/directive-core/dist/swarm/approach1-babysitter.js +69 -9
  290. package/vendor/directive-core/dist/swarm/approach1-babysitter.js.map +1 -1
  291. package/vendor/directive-core/dist/swarm/cohort-review-monitors-cli.d.ts.map +1 -1
  292. package/vendor/directive-core/dist/swarm/cohort-review-monitors-cli.js +5 -1
  293. package/vendor/directive-core/dist/swarm/cohort-review-monitors-cli.js.map +1 -1
  294. package/vendor/directive-core/dist/swarm/cohort-review-monitors.d.ts +71 -0
  295. package/vendor/directive-core/dist/swarm/cohort-review-monitors.d.ts.map +1 -1
  296. package/vendor/directive-core/dist/swarm/cohort-review-monitors.js +125 -2
  297. package/vendor/directive-core/dist/swarm/cohort-review-monitors.js.map +1 -1
  298. package/vendor/directive-core/dist/swarm/dest-place.d.ts +1 -1
  299. package/vendor/directive-core/dist/swarm/dest-place.d.ts.map +1 -1
  300. package/vendor/directive-core/dist/swarm/dest-place.js +1 -1
  301. package/vendor/directive-core/dist/swarm/dest-place.js.map +1 -1
  302. package/vendor/directive-core/dist/swarm/worktree-pm-install.d.ts +5 -0
  303. package/vendor/directive-core/dist/swarm/worktree-pm-install.d.ts.map +1 -1
  304. package/vendor/directive-core/dist/swarm/worktree-pm-install.js +16 -6
  305. package/vendor/directive-core/dist/swarm/worktree-pm-install.js.map +1 -1
  306. package/vendor/directive-core/dist/swarm/worktrees.d.ts.map +1 -1
  307. package/vendor/directive-core/dist/swarm/worktrees.js.map +1 -1
  308. package/vendor/directive-core/dist/telemetry-coverage/fake-trial.d.ts.map +1 -1
  309. package/vendor/directive-core/dist/telemetry-coverage/fake-trial.js +9 -0
  310. package/vendor/directive-core/dist/telemetry-coverage/fake-trial.js.map +1 -1
  311. package/vendor/directive-core/dist/telemetry-coverage/kinds.d.ts.map +1 -1
  312. package/vendor/directive-core/dist/telemetry-coverage/kinds.js +2 -0
  313. package/vendor/directive-core/dist/telemetry-coverage/kinds.js.map +1 -1
  314. package/vendor/directive-core/dist/text/redos-safe.d.ts.map +1 -1
  315. package/vendor/directive-core/dist/text/redos-safe.js +2 -1
  316. package/vendor/directive-core/dist/text/redos-safe.js.map +1 -1
  317. package/vendor/directive-core/dist/triage/evaluate/worktrees.d.ts.map +1 -1
  318. package/vendor/directive-core/dist/triage/evaluate/worktrees.js +6 -6
  319. package/vendor/directive-core/dist/triage/evaluate/worktrees.js.map +1 -1
  320. package/vendor/directive-core/dist/value/feedback-file.d.ts +49 -6
  321. package/vendor/directive-core/dist/value/feedback-file.d.ts.map +1 -1
  322. package/vendor/directive-core/dist/value/feedback-file.js +446 -41
  323. package/vendor/directive-core/dist/value/feedback-file.js.map +1 -1
  324. package/vendor/directive-core/dist/vbrief-validate/conformance.d.ts.map +1 -1
  325. package/vendor/directive-core/dist/vbrief-validate/conformance.js +5 -0
  326. package/vendor/directive-core/dist/vbrief-validate/conformance.js.map +1 -1
  327. package/vendor/directive-core/dist/verify-env/agent-hooks-live-probe.js +1 -1
  328. package/vendor/directive-core/dist/verify-env/agent-hooks-live-probe.js.map +1 -1
  329. package/vendor/directive-core/dist/xbrief/paths.d.ts.map +1 -1
  330. package/vendor/directive-core/dist/xbrief/paths.js +15 -12
  331. package/vendor/directive-core/dist/xbrief/paths.js.map +1 -1
  332. package/vendor/directive-core/dist/xbrief-migrate/constants.d.ts +7 -0
  333. package/vendor/directive-core/dist/xbrief-migrate/constants.d.ts.map +1 -1
  334. package/vendor/directive-core/dist/xbrief-migrate/constants.js +7 -0
  335. package/vendor/directive-core/dist/xbrief-migrate/constants.js.map +1 -1
  336. package/vendor/directive-core/dist/xbrief-migrate/detect.d.ts +9 -1
  337. package/vendor/directive-core/dist/xbrief-migrate/detect.d.ts.map +1 -1
  338. package/vendor/directive-core/dist/xbrief-migrate/detect.js +14 -7
  339. package/vendor/directive-core/dist/xbrief-migrate/detect.js.map +1 -1
  340. package/vendor/directive-core/dist/xbrief-migrate/migrate-project.d.ts.map +1 -1
  341. package/vendor/directive-core/dist/xbrief-migrate/migrate-project.js +118 -57
  342. package/vendor/directive-core/dist/xbrief-migrate/migrate-project.js.map +1 -1
  343. package/vendor/directive-core/dist/xbrief-migrate/transforms.d.ts.map +1 -1
  344. package/vendor/directive-core/dist/xbrief-migrate/transforms.js +8 -1
  345. package/vendor/directive-core/dist/xbrief-migrate/transforms.js.map +1 -1
@@ -46,6 +46,28 @@ export function parseArgs(argv) {
46
46
  else if (arg?.startsWith("--plan-id=")) {
47
47
  parsed.planId = arg.slice("--plan-id=".length);
48
48
  }
49
+ else if (arg === "--pr") {
50
+ const value = argv[i + 1];
51
+ if (value === undefined) {
52
+ return { ...parsed, error: "argument --pr: expected one argument" };
53
+ }
54
+ parsed.pr = value;
55
+ i += 1;
56
+ }
57
+ else if (arg?.startsWith("--pr=")) {
58
+ parsed.pr = arg.slice("--pr=".length);
59
+ }
60
+ else if (arg === "--repo") {
61
+ const value = argv[i + 1];
62
+ if (value === undefined) {
63
+ return { ...parsed, error: "argument --repo: expected one argument" };
64
+ }
65
+ parsed.repo = value;
66
+ i += 1;
67
+ }
68
+ else if (arg?.startsWith("--repo=")) {
69
+ parsed.repo = arg.slice("--repo=".length);
70
+ }
49
71
  else if (arg === "--base-ref") {
50
72
  return {
51
73
  ...parsed,
@@ -71,6 +93,8 @@ export function run(argv) {
71
93
  staged: args.staged,
72
94
  quiet: args.quiet,
73
95
  planId: args.planId,
96
+ pr: args.pr,
97
+ repo: args.repo,
74
98
  });
75
99
  if (result.message.length > 0) {
76
100
  if (result.stream === "stdout")
@@ -13,6 +13,13 @@ interface ParsedArgs {
13
13
  mergePathArm: boolean;
14
14
  liveWait: boolean;
15
15
  explicitFinish: boolean;
16
+ /**
17
+ * Product mint-gate BLOCKED — refuse --explicit-finish write (#5690).
18
+ * Pass-through to writeMergePathExplicitFinishAttestation.mintGateBlocked.
19
+ */
20
+ mintGateBlocked: boolean;
21
+ /** Optional attestation reason; mint markers also refuse the write (#5690). */
22
+ reason: string | null;
16
23
  stickyLease: boolean;
17
24
  /** DeliveryAttemptRecord.startedAt for Approach 1 arm-startup halt (#5278 P3). */
18
25
  dispatchStartedAt: string | null;
@@ -24,6 +24,8 @@ export function parseVerifyReviewMonitorArgs(argv) {
24
24
  mergePathArm: false,
25
25
  liveWait: false,
26
26
  explicitFinish: false,
27
+ mintGateBlocked: false,
28
+ reason: null,
27
29
  stickyLease: false,
28
30
  dispatchStartedAt: null,
29
31
  help: false,
@@ -45,6 +47,20 @@ export function parseVerifyReviewMonitorArgs(argv) {
45
47
  else if (arg === "--explicit-finish") {
46
48
  acc.explicitFinish = true;
47
49
  }
50
+ else if (arg === "--mint-gate-blocked") {
51
+ acc.mintGateBlocked = true;
52
+ }
53
+ else if (arg === "--reason") {
54
+ const value = argv[i + 1];
55
+ if (value === undefined) {
56
+ return { ...acc, error: "argument --reason: expected one argument" };
57
+ }
58
+ acc.reason = value;
59
+ i += 1;
60
+ }
61
+ else if (arg?.startsWith("--reason=")) {
62
+ acc.reason = arg.slice("--reason=".length);
63
+ }
48
64
  else if (arg === "--sticky-lease") {
49
65
  acc.stickyLease = true;
50
66
  }
@@ -159,6 +175,9 @@ export function run(argv) {
159
175
  " pr:watch CLEAN attestation — #5219;\n" +
160
176
  " parent-shell pr:watch (parent_id=pr-watch) does not arm.\n" +
161
177
  " --explicit-finish Attest option-C BLOCKED/FAILED finish for this PR\n" +
178
+ " --mint-gate-blocked Refuse --explicit-finish write for product mint-gate\n" +
179
+ " BLOCKED (non-option-C; #5690)\n" +
180
+ " --reason TEXT Attestation reason; mint markers also refuse write (#5690)\n" +
162
181
  " --sticky-lease Attest a fresh sticky lease (not sufficient alone)\n" +
163
182
  " --dispatch-started-at DeliveryAttemptRecord.startedAt ISO for Approach 1\n" +
164
183
  " arm-startup halt (#5278); when merge-path-arm stays\n" +
@@ -202,6 +221,8 @@ export function run(argv) {
202
221
  else {
203
222
  const written = writeMergePathExplicitFinishAttestation(resolve(args.projectRoot), args.pr, {
204
223
  source: "verify:review-monitor --explicit-finish",
224
+ reason: args.reason ?? undefined,
225
+ mintGateBlocked: args.mintGateBlocked,
205
226
  });
206
227
  if (!written.ok) {
207
228
  process.stderr.write(`verify_review_monitor: ${written.reason}
@@ -1,6 +1,6 @@
1
1
  # Getting Started with Deft Directive
2
2
 
3
- Deft Directive is a Taskfile-first framework for AI-assisted software work. It combines agent guidance, deterministic gates, xBRIEF lifecycle metadata, installer/doctor handoff, and cache-backed backlog workflows. This guide is the **first-project long form**: one path from install through a green Directive check.
3
+ Deft Directive is a CLI-native framework for AI-assisted software work (`directive` / `deft` primary; Taskfile optional parallel). It combines agent guidance, deterministic gates, xBRIEF lifecycle metadata, installer/doctor handoff, and cache-backed backlog workflows. This guide is the **first-project long form**: one path from install through a green Directive check.
4
4
 
5
5
  > **Note**: For a single-picture mental model of how Directive turns an idea into shipped work, see [the Directive lifecycle](./directive-lifecycle.md). For command behavior, see [commands.md](../commands.md). Agent detect-state and recovery live in [QUICK-START.md](../QUICK-START.md). This page is that path's long form, not a second install sequence.
6
6
 
@@ -8,6 +8,18 @@ Deft Directive is a Taskfile-first framework for AI-assisted software work. It c
8
8
 
9
9
  Directive is two connected phases that repeat: an **inception** phase (Concept → Strategy Analysis → Specification + Artifacts) that feeds a recurring **per-session** phase (Session Start → Triage/Refine → Slice → Swarm → Review/Fix → Ship). Shipping surfaces new issues that flow back into the queue. The stage-to-command mapping lives in [the Directive lifecycle overview](./directive-lifecycle.md).
10
10
 
11
+ ## Process-use reporting (#4229)
12
+
13
+ Claiming used-Directive for product work must name the relevant scope path, lifecycle progress (proposed through completed), and delivery evidence — not deposit or init alone.
14
+
15
+ **You have not used Directive if:**
16
+
17
+ 1. Only PROJECT-DEFINITION exists and lifecycle folders are empty.
18
+ 2. Specs live only under docs/ outside the xBRIEF lifecycle.
19
+ 3. There was no promote/activate/session/implement against an active scope for the claimed work.
20
+
21
+ Lawful idle / empty-active after real history is not failure. ARC-before-ingest posture is owned by open #5716 — do not treat ARC always-on as shipped here.
22
+
11
23
  ## Deft & Directive (naming)
12
24
 
13
25
  **Deft is the company; Directive is the product.** *Deft* names the organization and the on-disk footprint (`.deft/`, `@deftai/*` npm scope, user config under `~/.config/deft/`). *Directive* names the framework you install and run: the npm package is `@deftai/directive`, and the primary CLI is `directive` (`deft` is an alias). The Go installer (`deft-install`) is deleted — use the global launcher + `directive install` / `directive upgrade` path only.
@@ -11,7 +11,13 @@ First ship is a merge-base snapshot of throw/reject/abort sites and new numeric
11
11
  3. Numeric-const peel is a while-unwrap of `AsExpression` (any asserted type), `SatisfiesExpression`, unary `+`/`-`, `ParenthesizedExpression`, and angle-bracket `TypeAssertion` until `NumericLiteral`. Do not `forEachChild`-harvest `NumericLiteral` (`Number(1024)`, `{ max: 1024 }`). Do not treat a numeric literal anywhere in an if-condition as a hard constraint.
12
12
  4. Same-file helper extract of a posted throw plus same-file const is in the snapshot. Cross-file composition is a recorded first-ship miss.
13
13
  5. Leftover is skip/filter/return-error that add neither a new numeric-const nor a throw/reject/abort site. Skip plus a new numeric const is not leftover.
14
- 6. Durable authority is still the merge-base JSON under `.deft/intent-constraint/<plan-id>.json` with `humanApproval` (`isHumanApprovalStamp`). Author `plan["x-directive/intentConstraint"]` when `value` / `unit` / `rejectionScope` already exist, before the implementation PR that introduces the facts -- not at record-approved-scope. File-scope can be named at allocation. Throw values usually cannot. Authority read is `git show <merge-base>` only. Same-PR rewrite fails. Multiple merge-base mints require `--plan-id`, `DEFT_ACTIVE_SCOPE`, or dest unique running xBRIEF. Each mint row covers at most one new numeric-const of that value and at most one new throw/reject/abort site. Do not invent a second snapshot or fill speculative value/unit/rejectionScope so a mint succeeds at park. Chat text is never the evaluate input.
14
+ 6. Durable authority is still the merge-base JSON under `.deft/intent-constraint/<plan-id>.json` with `humanApproval` (`isHumanApprovalStamp`). Author `plan["x-directive/intentConstraint"]` when `value` / `unit` / `rejectionScope` already exist, before the implementation PR that introduces the facts -- not at record-approved-scope. File-scope can be named at allocation. Throw values usually cannot. Authority read is `git show <merge-base>` only. Same-PR rewrite fails. Multiple merge-base mints require `--plan-id`, `DEFT_ACTIVE_SCOPE`, dest unique running xBRIEF, or demand-site PR `deft-story: N` adoption (#5782). Each mint row covers at most one new numeric-const of that value and at most one new throw/reject/abort site. Do not invent a second snapshot or fill speculative value/unit/rejectionScope so a mint succeeds at park. Chat text is never the evaluate input.
15
+
16
+ ### PR deft-story plan-id adoption (#5782)
17
+
18
+ On multi-running or multi-mint tips, when plan-id is unresolved, the gate may adopt the running brief `plan.id` owned by a sole distinct `deft-story: N` mark on the PR body (`GITHUB_PR_NUMBER` or `--pr`, plus `GITHUB_REPOSITORY` / `--repo`). Empty or non-digit PR env is no-PR-context (master push / local check keep dest-unique-running). REST null is config/exit 2. Sole means exactly one distinct issue number after dedupe (duplicate identical lines are sole). Unparseable mark values (including plan-id shaped strings) refuse. Explicit `--plan-id` and a valid `DEFT_ACTIVE_SCOPE` still win.
19
+
20
+ A `deft-story: N` mark asserts #4864 delivery bind (`metadata.productPullRequest` must equal this PR before leftover finalize). Satisfying that bind closes the whole story at cohort finalize (stamp path is mark-independent). Only put the mark on the PR that is the delivery for #N. Adoption is a multi-active tiebreak; it does not alter finalize-cohort bind semantics and is not an override of sole-running.
15
21
  7. Collection UX (#5010 / #5574 Prefer-A): classify the condition, not the API name. Expected operational deny → returned-failure / filter (free). Invariant / corruption / impossible-if-healthy → fail-fast throw (or language-equivalent) + attended mint; rewrite solely to clear the gate is forbidden. Attended harness → detect the hard fact and ask the human in the parent chat; on yes the **human** lands the same merge-base record on a real TTY with `mintedVia: in-harness-ask` (attestation is not an agent-shell bypass). Commit that record on the delivery-branch merge base first, then rebase the implementation branch onto it — same-PR working-tree-only records are not authoritative. Unattended / C1 / operator-gone → operational may rewrite or park; invariant requiring a new hard fact must park pending a human mint — do not ask an empty room and do not treat leave-harness TTY `scope:record-intent-constraint` as the primary path. The legacy verb may remain for repair when a human is on a real TTY. Parent-agent auto-approve is out of scope. Agent/CI markers still refuse. Numeric-const and the four `FACT_KINDS` stay on the human decision / park path; a free rewrite introduces none of them. Language-equivalent fail-fast guidance does not imply new panic/assert extraction beyond production TS/JS.
16
22
  8. Site ids are compact statement text, not source offsets. Inserting unrelated text above an existing site does not mint a new fact.
17
23
  9. P2 (literal acceptance preservation) is not this first ship. The verb is not `semantic-*`.
@@ -30,3 +30,9 @@ One remediation: restore the baseline markup structure, or ask in the parent cha
30
30
  The verb is composed on `task check` (`FRAMEWORK_CHECK_GATES`, `CONSUMER_CHECK_GATES`, and required consumer enforcement). Missing, stale, invalid, or changed provider material fails; there is no generic fallback. Dependency delta versus master is two pure parser packages (`parse5` and `entities`). The JSX path trades a bundled pinned parser for one resolved from the consumer project, recorded per artifact and never compared against the mint. Truncated or incomplete HTML is refused (parse5 onParseError into anomalies). jsdom is not a dependency.
31
31
 
32
32
  Three-state exit: `0` skip, warn-findings, or pass / `1` missing mint or unlisted delta / `2` invalid configuration.
33
+
34
+ ### PR deft-story plan-id adoption (#5782)
35
+
36
+ Same demand-site adopter as `verify:intent-constraint`: on multi-running or multi-mint tips with unresolved plan-id, adopt the unique running `plan.id` for a sole distinct `deft-story: N` on the PR body. Explicit `--plan-id` and a valid `DEFT_ACTIVE_SCOPE` win. Empty/non-digit PR env is no-PR-context. When `DEFT_ACTIVE_SCOPE` is set but not a running xBRIEF **and** PR context is present, adoption is suppressed with a named refuse (pass `--plan-id` or clear the pin) — without PR context the tip fall-through is unchanged. REST null is config/exit 2. No YAML planId pre-export.
37
+
38
+ A `deft-story: N` mark asserts #4864 delivery bind and whole-story close at cohort finalize — only use it on the PR that is the delivery for #N. Adoption does not change finalize bind semantics.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deftai/directive-runtime",
3
- "version": "0.126.0-beta.2",
3
+ "version": "0.127.0",
4
4
  "description": "Directive runtime — pinned product commands, hooks, content, and engine.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://deftai.github.io/directive/",