@skrr-ai/cli 0.1.150 → 0.1.151

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 (389) hide show
  1. package/README.md +20 -20
  2. package/dist/base-command.d.ts +6 -6
  3. package/dist/base-command.js +26 -26
  4. package/dist/commands/agenda/trigger/list.d.ts +1 -1
  5. package/dist/commands/agenda/trigger/list.js +6 -6
  6. package/dist/commands/agents/always-on/disable.js +10 -3
  7. package/dist/commands/agents/always-on/enable.js +1 -1
  8. package/dist/commands/agents/always-on/reconcile.js +1 -1
  9. package/dist/commands/agents/always-on/status.js +31 -8
  10. package/dist/commands/agents/create.d.ts +2 -2
  11. package/dist/commands/agents/create.js +12 -12
  12. package/dist/commands/agents/egress.js +1 -1
  13. package/dist/commands/agents/list.d.ts +1 -1
  14. package/dist/commands/agents/list.js +1 -1
  15. package/dist/commands/agents/roles/capture.d.ts +1 -1
  16. package/dist/commands/agents/roles/capture.js +2 -2
  17. package/dist/commands/agents/roles/install.js +1 -1
  18. package/dist/commands/agents/spawn.js +38 -38
  19. package/dist/commands/agents/update.d.ts +1 -1
  20. package/dist/commands/agents/update.js +3 -3
  21. package/dist/commands/code/jobs/show.js +1 -1
  22. package/dist/commands/compass/archive.d.ts +1 -1
  23. package/dist/commands/compass/archive.js +1 -1
  24. package/dist/commands/compass/create.js +1 -1
  25. package/dist/commands/compass/{commitments.d.ts → duties.d.ts} +5 -5
  26. package/dist/commands/compass/{commitments.js → duties.js} +14 -14
  27. package/dist/commands/compass/trace.d.ts +1 -1
  28. package/dist/commands/compass/trace.js +2 -2
  29. package/dist/commands/convos/messages.js +2 -1
  30. package/dist/commands/doctor.d.ts +1 -1
  31. package/dist/commands/doctor.js +1 -1
  32. package/dist/commands/{commitments → duties}/accounting.d.ts +7 -7
  33. package/dist/commands/{commitments → duties}/accounting.js +13 -13
  34. package/dist/commands/{commitments → duties}/action-history.d.ts +3 -3
  35. package/dist/commands/{commitments → duties}/action-history.js +12 -12
  36. package/dist/commands/{commitments → duties}/action-proposal.d.ts +2 -2
  37. package/dist/commands/{commitments → duties}/action-proposal.js +6 -6
  38. package/dist/commands/{commitments → duties}/action-proposals/decide.d.ts +2 -2
  39. package/dist/commands/{commitments → duties}/action-proposals/decide.js +8 -8
  40. package/dist/commands/{commitments → duties}/action-proposals/execute.d.ts +2 -2
  41. package/dist/commands/{commitments → duties}/action-proposals/execute.js +7 -7
  42. package/dist/commands/{commitments → duties}/action-proposals/propose.d.ts +4 -4
  43. package/dist/commands/{commitments → duties}/action-proposals/propose.js +15 -15
  44. package/dist/commands/{commitments → duties}/action-proposals.d.ts +1 -1
  45. package/dist/commands/{commitments → duties}/action-proposals.js +6 -6
  46. package/dist/commands/{commitments → duties}/analytics/detail.d.ts +5 -5
  47. package/dist/commands/{commitments → duties}/analytics/detail.js +13 -13
  48. package/dist/commands/{commitments → duties}/analytics/index.d.ts +5 -5
  49. package/dist/commands/{commitments → duties}/analytics/index.js +30 -30
  50. package/dist/commands/{commitments → duties}/analytics/replay.d.ts +3 -3
  51. package/dist/commands/{commitments → duties}/analytics/replay.js +11 -11
  52. package/dist/commands/{commitments → duties}/attach.d.ts +3 -3
  53. package/dist/commands/{commitments → duties}/attach.js +21 -21
  54. package/dist/commands/{commitments → duties}/bundle.d.ts +1 -1
  55. package/dist/commands/{commitments → duties}/bundle.js +7 -7
  56. package/dist/commands/{commitments → duties}/cadence-decisions.d.ts +3 -3
  57. package/dist/commands/duties/cadence-decisions.js +41 -0
  58. package/dist/commands/{commitments → duties}/cadence-requests/decide.d.ts +4 -4
  59. package/dist/commands/{commitments → duties}/cadence-requests/decide.js +11 -11
  60. package/dist/commands/{commitments → duties}/case.d.ts +2 -2
  61. package/dist/commands/{commitments → duties}/case.js +8 -8
  62. package/dist/commands/{commitments → duties}/cases.d.ts +2 -2
  63. package/dist/commands/{commitments → duties}/cases.js +9 -9
  64. package/dist/commands/{commitments → duties}/check-now.d.ts +6 -6
  65. package/dist/commands/{commitments → duties}/check-now.js +29 -29
  66. package/dist/commands/{commitments → duties}/checks.d.ts +3 -3
  67. package/dist/commands/{commitments → duties}/checks.js +13 -13
  68. package/dist/commands/{commitments → duties}/complete.d.ts +2 -2
  69. package/dist/commands/duties/complete.js +40 -0
  70. package/dist/commands/{commitments → duties}/control/apply.d.ts +1 -1
  71. package/dist/commands/{commitments → duties}/control/apply.js +7 -7
  72. package/dist/commands/{commitments → duties}/control/preview.d.ts +1 -1
  73. package/dist/commands/{commitments → duties}/control/preview.js +8 -8
  74. package/dist/commands/{commitments → duties}/control/show.d.ts +1 -1
  75. package/dist/commands/{commitments → duties}/control/show.js +6 -6
  76. package/dist/commands/{commitments → duties}/cost.d.ts +6 -6
  77. package/dist/commands/{commitments → duties}/cost.js +14 -14
  78. package/dist/commands/{commitments → duties}/create.d.ts +8 -8
  79. package/dist/commands/{commitments → duties}/create.js +92 -92
  80. package/dist/commands/{commitments → duties}/cycles.d.ts +2 -2
  81. package/dist/commands/{commitments → duties}/cycles.js +11 -11
  82. package/dist/commands/{commitments → duties}/decide-remediation.d.ts +2 -2
  83. package/dist/commands/{commitments → duties}/decide-remediation.js +6 -6
  84. package/dist/commands/{commitments → duties}/delete.d.ts +4 -4
  85. package/dist/commands/{commitments → duties}/delete.js +24 -24
  86. package/dist/commands/{commitments → duties}/delivery.d.ts +1 -1
  87. package/dist/commands/{commitments → duties}/delivery.js +15 -15
  88. package/dist/commands/{commitments → duties}/detach.d.ts +3 -3
  89. package/dist/commands/{commitments → duties}/detach.js +20 -20
  90. package/dist/commands/{commitments → duties}/doctor.d.ts +4 -4
  91. package/dist/commands/{commitments → duties}/doctor.js +21 -21
  92. package/dist/commands/{commitments → duties}/effective-policy.d.ts +3 -3
  93. package/dist/commands/{commitments → duties}/effective-policy.js +24 -24
  94. package/dist/commands/{commitments → duties}/endpoints/connect.d.ts +2 -2
  95. package/dist/commands/{commitments → duties}/endpoints/connect.js +10 -10
  96. package/dist/commands/{commitments → duties}/endpoints/create.d.ts +3 -3
  97. package/dist/commands/{commitments → duties}/endpoints/create.js +16 -16
  98. package/dist/commands/{commitments → duties}/endpoints/delete.d.ts +3 -3
  99. package/dist/commands/{commitments → duties}/endpoints/delete.js +11 -11
  100. package/dist/commands/{commitments → duties}/endpoints/health.d.ts +2 -2
  101. package/dist/commands/{commitments → duties}/endpoints/health.js +10 -10
  102. package/dist/commands/{commitments → duties}/endpoints/list.d.ts +3 -3
  103. package/dist/commands/{commitments → duties}/endpoints/list.js +11 -11
  104. package/dist/commands/{commitments → duties}/endpoints/revoke.d.ts +4 -4
  105. package/dist/commands/{commitments → duties}/endpoints/revoke.js +13 -13
  106. package/dist/commands/{commitments → duties}/evaluations.d.ts +2 -2
  107. package/dist/commands/{commitments → duties}/evaluations.js +8 -8
  108. package/dist/commands/{commitments → duties}/execute-remediation.d.ts +2 -2
  109. package/dist/commands/{commitments → duties}/execute-remediation.js +7 -7
  110. package/dist/commands/{commitments → duties}/explain.d.ts +2 -2
  111. package/dist/commands/{commitments → duties}/explain.js +13 -13
  112. package/dist/commands/{commitments → duties}/export.d.ts +3 -3
  113. package/dist/commands/{commitments → duties}/export.js +15 -15
  114. package/dist/commands/{commitments → duties}/feedback.d.ts +4 -4
  115. package/dist/commands/{commitments → duties}/feedback.js +13 -13
  116. package/dist/commands/{commitments → duties}/fork.d.ts +3 -3
  117. package/dist/commands/{commitments → duties}/fork.js +11 -11
  118. package/dist/commands/{commitments → duties}/goals/link.d.ts +6 -6
  119. package/dist/commands/duties/goals/link.js +41 -0
  120. package/dist/commands/{commitments → duties}/goals/unlink.d.ts +4 -4
  121. package/dist/commands/duties/goals/unlink.js +37 -0
  122. package/dist/commands/{commitments → duties}/handover.d.ts +5 -5
  123. package/dist/commands/{commitments → duties}/handover.js +21 -21
  124. package/dist/commands/{commitments → duties}/hypotheses.d.ts +3 -3
  125. package/dist/commands/{commitments → duties}/hypotheses.js +13 -13
  126. package/dist/commands/{commitments → duties}/import.d.ts +2 -2
  127. package/dist/commands/{commitments → duties}/import.js +10 -10
  128. package/dist/commands/{commitments → duties}/ledger.d.ts +4 -4
  129. package/dist/commands/{commitments → duties}/ledger.js +12 -12
  130. package/dist/commands/{commitments → duties}/lineage.d.ts +5 -5
  131. package/dist/commands/duties/lineage.js +43 -0
  132. package/dist/commands/{commitments → duties}/links/create.d.ts +2 -2
  133. package/dist/commands/{commitments → duties}/links/create.js +9 -9
  134. package/dist/commands/{commitments → duties}/links/detach.d.ts +2 -2
  135. package/dist/commands/{commitments → duties}/links/detach.js +7 -7
  136. package/dist/commands/{commitments → duties}/links/list.d.ts +2 -2
  137. package/dist/commands/{commitments → duties}/links/list.js +9 -9
  138. package/dist/commands/{commitments → duties}/links/update.d.ts +2 -2
  139. package/dist/commands/{commitments → duties}/links/update.js +7 -7
  140. package/dist/commands/{commitments → duties}/list.d.ts +3 -3
  141. package/dist/commands/{commitments → duties}/list.js +17 -17
  142. package/dist/commands/{commitments → duties}/liveness.d.ts +6 -6
  143. package/dist/commands/{commitments → duties}/liveness.js +13 -13
  144. package/dist/commands/{commitments → duties}/metrics.d.ts +3 -3
  145. package/dist/commands/{commitments → duties}/metrics.js +12 -12
  146. package/dist/commands/{commitments → duties}/next-tick.d.ts +7 -7
  147. package/dist/commands/{commitments → duties}/next-tick.js +14 -14
  148. package/dist/commands/{commitments → duties}/observation/probe.d.ts +1 -1
  149. package/dist/commands/{commitments → duties}/observation/probe.js +12 -12
  150. package/dist/commands/{commitments → duties}/observation/summary.d.ts +1 -1
  151. package/dist/commands/{commitments → duties}/observation/summary.js +5 -5
  152. package/dist/commands/{commitments → duties}/observations.d.ts +4 -4
  153. package/dist/commands/{commitments → duties}/observations.js +18 -18
  154. package/dist/commands/{commitments → duties}/open.d.ts +1 -1
  155. package/dist/commands/{commitments → duties}/open.js +13 -13
  156. package/dist/commands/{commitments → duties}/operating-review.d.ts +5 -5
  157. package/dist/commands/{commitments → duties}/operating-review.js +21 -21
  158. package/dist/commands/{commitments → duties}/pack/activate.d.ts +1 -1
  159. package/dist/commands/{commitments → duties}/pack/activate.js +6 -6
  160. package/dist/commands/{commitments → duties}/pack/bind.d.ts +4 -4
  161. package/dist/commands/{commitments → duties}/pack/bind.js +19 -19
  162. package/dist/commands/{commitments → duties}/pack/list.d.ts +2 -2
  163. package/dist/commands/{commitments → duties}/pack/list.js +10 -10
  164. package/dist/commands/{commitments → duties}/pack/plan.d.ts +3 -3
  165. package/dist/commands/{commitments → duties}/pack/plan.js +12 -12
  166. package/dist/commands/{commitments → duties}/pack/preflight.d.ts +3 -3
  167. package/dist/commands/{commitments → duties}/pack/preflight.js +10 -10
  168. package/dist/commands/{commitments → duties}/patch.d.ts +1 -1
  169. package/dist/commands/{commitments → duties}/patch.js +7 -7
  170. package/dist/commands/{commitments → duties}/pause.d.ts +2 -2
  171. package/dist/commands/{commitments → duties}/pause.js +16 -16
  172. package/dist/commands/{commitments → duties}/plan.d.ts +4 -4
  173. package/dist/commands/{commitments → duties}/plan.js +20 -20
  174. package/dist/commands/{commitments → duties}/preflight.d.ts +8 -8
  175. package/dist/commands/{commitments → duties}/preflight.js +32 -32
  176. package/dist/commands/{commitments → duties}/propose-remediation.d.ts +2 -2
  177. package/dist/commands/{commitments → duties}/propose-remediation.js +6 -6
  178. package/dist/commands/{commitments → duties}/readiness/show.d.ts +1 -1
  179. package/dist/commands/{commitments → duties}/readiness/show.js +6 -6
  180. package/dist/commands/{commitments → duties}/readiness/verify.d.ts +1 -1
  181. package/dist/commands/{commitments → duties}/readiness/verify.js +7 -7
  182. package/dist/commands/{commitments → duties}/receipt-metrics.d.ts +4 -4
  183. package/dist/commands/{commitments → duties}/receipt-metrics.js +16 -16
  184. package/dist/commands/{commitments → duties}/receipt.d.ts +1 -1
  185. package/dist/commands/{commitments → duties}/receipt.js +10 -10
  186. package/dist/commands/{commitments → duties}/reflect.d.ts +4 -4
  187. package/dist/commands/{commitments → duties}/reflect.js +12 -12
  188. package/dist/commands/{commitments → duties}/reflection-decision.d.ts +2 -2
  189. package/dist/commands/{commitments → duties}/reflection-decision.js +7 -7
  190. package/dist/commands/{commitments → duties}/reflection.d.ts +2 -2
  191. package/dist/commands/{commitments → duties}/reflection.js +9 -9
  192. package/dist/commands/{commitments → duties}/remediate.d.ts +5 -5
  193. package/dist/commands/{commitments → duties}/remediate.js +14 -14
  194. package/dist/commands/{commitments → duties}/remediation-proposal.d.ts +2 -2
  195. package/dist/commands/{commitments → duties}/remediation-proposal.js +7 -7
  196. package/dist/commands/{commitments → duties}/remediation-proposals.d.ts +2 -2
  197. package/dist/commands/{commitments → duties}/remediation-proposals.js +8 -8
  198. package/dist/commands/{commitments → duties}/reports.d.ts +5 -5
  199. package/dist/commands/{commitments → duties}/reports.js +35 -35
  200. package/dist/commands/{commitments → duties}/restore.d.ts +2 -2
  201. package/dist/commands/duties/restore.js +46 -0
  202. package/dist/commands/{commitments → duties}/resume.d.ts +2 -2
  203. package/dist/commands/duties/resume.js +37 -0
  204. package/dist/commands/{commitments → duties}/roster.d.ts +2 -2
  205. package/dist/commands/duties/roster.js +39 -0
  206. package/dist/commands/{commitments → duties}/show.d.ts +7 -7
  207. package/dist/commands/{commitments → duties}/show.js +40 -40
  208. package/dist/commands/{commitments → duties}/status.d.ts +3 -3
  209. package/dist/commands/duties/status.js +41 -0
  210. package/dist/commands/{commitments → duties}/subject.d.ts +4 -4
  211. package/dist/commands/{commitments → duties}/subject.js +29 -29
  212. package/dist/commands/{commitments → duties}/trace.d.ts +3 -3
  213. package/dist/commands/{commitments → duties}/trace.js +12 -12
  214. package/dist/commands/{commitments → duties}/trigger-status.d.ts +6 -6
  215. package/dist/commands/{commitments → duties}/trigger-status.js +19 -19
  216. package/dist/commands/{commitments → duties}/update.d.ts +5 -5
  217. package/dist/commands/{commitments → duties}/update.js +64 -64
  218. package/dist/commands/{commitments → duties}/wake-capabilities.d.ts +6 -6
  219. package/dist/commands/{commitments → duties}/wake-capabilities.js +22 -22
  220. package/dist/commands/{commitments → duties}/work-plan.d.ts +1 -1
  221. package/dist/commands/{commitments → duties}/work-plan.js +6 -6
  222. package/dist/commands/goals/key-results/show.js +2 -1
  223. package/dist/commands/goals/plan-now.js +2 -2
  224. package/dist/commands/goals/planner-compare.d.ts +1 -1
  225. package/dist/commands/goals/planner-compare.js +2 -2
  226. package/dist/commands/grants/create.d.ts +1 -1
  227. package/dist/commands/grants/create.js +9 -9
  228. package/dist/commands/grants/list.d.ts +1 -1
  229. package/dist/commands/grants/list.js +2 -2
  230. package/dist/commands/initiatives/list.d.ts +1 -1
  231. package/dist/commands/initiatives/list.js +1 -1
  232. package/dist/commands/measures/create.d.ts +2 -2
  233. package/dist/commands/measures/create.js +4 -4
  234. package/dist/commands/measures/list.d.ts +1 -1
  235. package/dist/commands/measures/list.js +2 -2
  236. package/dist/commands/northstars/create.js +4 -4
  237. package/dist/commands/northstars/delete.d.ts +3 -3
  238. package/dist/commands/northstars/delete.js +8 -8
  239. package/dist/commands/northstars/governance/configure.js +15 -15
  240. package/dist/commands/northstars/intents/decide.d.ts +1 -1
  241. package/dist/commands/northstars/intents/decide.js +1 -1
  242. package/dist/commands/northstars/link.d.ts +4 -4
  243. package/dist/commands/northstars/link.js +8 -8
  244. package/dist/commands/northstars/list.d.ts +2 -2
  245. package/dist/commands/northstars/list.js +3 -3
  246. package/dist/commands/northstars/recommendations/apply.d.ts +1 -1
  247. package/dist/commands/northstars/recommendations/apply.js +2 -2
  248. package/dist/commands/northstars/review-now.js +2 -2
  249. package/dist/commands/northstars/show.d.ts +3 -3
  250. package/dist/commands/northstars/show.js +5 -5
  251. package/dist/commands/northstars/unlink.d.ts +3 -3
  252. package/dist/commands/northstars/unlink.js +6 -6
  253. package/dist/commands/northstars/update.js +3 -3
  254. package/dist/commands/proposals/list.d.ts +3 -3
  255. package/dist/commands/proposals/list.js +7 -7
  256. package/dist/commands/spaces/auto-executor/compare.js +1 -1
  257. package/dist/commands/spaces/auto-executor/runs.js +1 -1
  258. package/dist/commands/spaces/heartbeats/list.js +2 -2
  259. package/dist/commands/spaces/index.js +2 -2
  260. package/dist/commands/spaces/list.d.ts +1 -1
  261. package/dist/commands/spaces/list.js +1 -1
  262. package/dist/commands/spaces/loops/migrate.d.ts +1 -1
  263. package/dist/commands/spaces/loops/migrate.js +1 -1
  264. package/dist/commands/spaces/loops/release.d.ts +1 -1
  265. package/dist/commands/spaces/loops/release.js +10 -10
  266. package/dist/commands/spaces/notebook.d.ts +2 -2
  267. package/dist/commands/spaces/notebook.js +2 -2
  268. package/dist/commands/spaces/proposals/discard.js +1 -1
  269. package/dist/commands/spaces/proposals/keep.js +1 -1
  270. package/dist/commands/spaces/triggers/show.js +3 -3
  271. package/dist/commands/spaces/write-policy/set.js +1 -1
  272. package/dist/commands/store/uninstall.js +2 -2
  273. package/dist/commands/subscriptions/health.d.ts +2 -2
  274. package/dist/commands/subscriptions/health.js +2 -2
  275. package/dist/commands/subscriptions/status.js +2 -2
  276. package/dist/commands/subscriptions/subscribe.js +4 -4
  277. package/dist/commands/tasks/create.d.ts +20 -1
  278. package/dist/commands/tasks/create.js +44 -3
  279. package/dist/commands/tasks/list.d.ts +7 -1
  280. package/dist/commands/tasks/list.js +2 -1
  281. package/dist/generated/agent-guides.json +496 -496
  282. package/dist/generated/managed-instruction-guides.json +2 -2
  283. package/dist/hooks/command-not-found.d.ts +1 -1
  284. package/dist/hooks/command-not-found.js +1 -1
  285. package/dist/lib/agent-chat-start.js +2 -1
  286. package/dist/lib/agent-trigger-listing.d.ts +4 -4
  287. package/dist/lib/agent-trigger-listing.js +7 -7
  288. package/dist/lib/always-on-command-result.d.ts +8 -1
  289. package/dist/lib/always-on-command-result.js +11 -2
  290. package/dist/lib/auth-failure.js +1 -1
  291. package/dist/lib/capability-matrix.d.ts +3 -3
  292. package/dist/lib/capability-matrix.js +9 -9
  293. package/dist/lib/command-hygiene.js +6 -6
  294. package/dist/lib/command-miss.js +1 -1
  295. package/dist/lib/compass-refusals.d.ts +1 -1
  296. package/dist/lib/compass-refusals.js +1 -1
  297. package/dist/lib/compasses.d.ts +5 -5
  298. package/dist/lib/compasses.js +15 -15
  299. package/dist/lib/dedicated-machines.js +2 -1
  300. package/dist/lib/dedicated-power.js +2 -0
  301. package/dist/lib/{commitments.d.ts → duties.d.ts} +198 -198
  302. package/dist/lib/{commitments.js → duties.js} +282 -282
  303. package/dist/lib/{commitment-analytics.d.ts → duty-analytics.d.ts} +18 -18
  304. package/dist/lib/{commitment-analytics.js → duty-analytics.js} +12 -12
  305. package/dist/lib/{commitment-attention-copy.d.ts → duty-attention-copy.d.ts} +6 -6
  306. package/dist/lib/{commitment-attention-copy.js → duty-attention-copy.js} +8 -8
  307. package/dist/lib/{commitment-endpoints.d.ts → duty-endpoints.d.ts} +6 -6
  308. package/dist/lib/{commitment-endpoints.js → duty-endpoints.js} +10 -10
  309. package/dist/lib/{commitment-event-wakes.d.ts → duty-event-wakes.d.ts} +2 -2
  310. package/dist/lib/{commitment-event-wakes.js → duty-event-wakes.js} +2 -2
  311. package/dist/lib/{commitment-ledgers.js → duty-ledgers.js} +3 -3
  312. package/dist/lib/{commitment-loop-status.d.ts → duty-loop-status.d.ts} +11 -11
  313. package/dist/lib/{commitment-loop-status.js → duty-loop-status.js} +22 -22
  314. package/dist/lib/{commitment-product.d.ts → duty-product.d.ts} +6 -6
  315. package/dist/lib/{commitment-product.js → duty-product.js} +5 -5
  316. package/dist/lib/{commitment-terms.d.ts → duty-terms.d.ts} +9 -9
  317. package/dist/lib/{commitment-terms.js → duty-terms.js} +21 -21
  318. package/dist/lib/entity-open.d.ts +1 -1
  319. package/dist/lib/entity-open.js +1 -1
  320. package/dist/lib/format.d.ts +1 -1
  321. package/dist/lib/grants.d.ts +3 -3
  322. package/dist/lib/grants.js +2 -2
  323. package/dist/lib/initiatives.js +4 -4
  324. package/dist/lib/node-adapter.js +1 -1
  325. package/dist/lib/northstars.d.ts +13 -13
  326. package/dist/lib/northstars.js +56 -56
  327. package/dist/lib/open-target.js +1 -1
  328. package/dist/lib/preflight-copy.js +5 -5
  329. package/dist/lib/proactiveApi.d.ts +4 -4
  330. package/dist/lib/proposals.js +16 -16
  331. package/dist/lib/responsibility-controls.d.ts +1 -1
  332. package/dist/lib/responsibility-controls.js +6 -6
  333. package/dist/lib/roles.d.ts +1 -1
  334. package/dist/lib/schedule.d.ts +5 -5
  335. package/dist/lib/schedule.js +1 -1
  336. package/dist/lib/session-task-write.d.ts +1 -1
  337. package/dist/lib/session-task-write.js +2 -2
  338. package/dist/lib/space-loop-migration.js +6 -6
  339. package/dist/lib/space-notebook.js +2 -2
  340. package/dist/lib/space-write-policy.js +2 -2
  341. package/dist/lib/stewardship-output.js +2 -2
  342. package/dist/lib/task-spec-verification.js +1 -1
  343. package/dist/lib/tasks.d.ts +1 -1
  344. package/dist/lib/tasks.js +8 -8
  345. package/dist/lib/triggers.d.ts +3 -3
  346. package/dist/lib/triggers.js +11 -10
  347. package/dist/lib/usage-discovery.js +2 -4
  348. package/dist/lib/web-url.d.ts +6 -6
  349. package/dist/lib/web-url.js +13 -13
  350. package/dist/lib/workspaces.d.ts +4 -4
  351. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/{commitmentExecutionContract.d.ts → dutyExecutionContract.d.ts} +7 -7
  352. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/{commitmentExecutionContract.js → dutyExecutionContract.js} +22 -22
  353. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/executorStopReceipt.js +1 -1
  354. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/executorStopReceiptV2.js +1 -1
  355. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/sessionPermissionAuthority.d.ts +9 -9
  356. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/sessionPermissionAuthority.js +5 -5
  357. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/sessionRevocation.d.ts +2 -2
  358. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/sessionRevocation.js +4 -4
  359. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/types.d.ts +1 -1
  360. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/types.js +1 -1
  361. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/workspaceIsolationProbeWire.d.ts +1 -1
  362. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/{commitmentExecutionContract.d.ts → dutyExecutionContract.d.ts} +7 -7
  363. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/{commitmentExecutionContract.js → dutyExecutionContract.js} +16 -16
  364. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/executorStopReceipt.js +1 -1
  365. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/executorStopReceiptV2.js +1 -1
  366. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/profilePorts.js +1 -1
  367. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/sessionPermissionAuthority.d.ts +9 -9
  368. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/sessionPermissionAuthority.js +8 -8
  369. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/sessionRevocation.d.ts +2 -2
  370. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/sessionRevocation.js +6 -6
  371. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/types.d.ts +1 -1
  372. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/types.js +1 -1
  373. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/workspaceIsolationProbeWire.d.ts +1 -1
  374. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/workspaceIsolationProbeWire.js +1 -1
  375. package/dist/node_modules/@skrr-ai/auth-core/package.json +6 -6
  376. package/dist/node_modules/@skrr-ai/data-provider/index.js +8150 -8140
  377. package/docs/v1/lookback-plans.md +1 -1
  378. package/oclif.manifest.json +5337 -5337
  379. package/package.json +16 -16
  380. package/dist/commands/commitments/cadence-decisions.js +0 -41
  381. package/dist/commands/commitments/complete.js +0 -40
  382. package/dist/commands/commitments/goals/link.js +0 -41
  383. package/dist/commands/commitments/goals/unlink.js +0 -37
  384. package/dist/commands/commitments/lineage.js +0 -43
  385. package/dist/commands/commitments/restore.js +0 -46
  386. package/dist/commands/commitments/resume.js +0 -37
  387. package/dist/commands/commitments/roster.js +0 -39
  388. package/dist/commands/commitments/status.js +0 -41
  389. /package/dist/lib/{commitment-ledgers.d.ts → duty-ledgers.d.ts} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { BaseCommand } from '../../base-command';
2
2
  /**
3
- * `skrr northstars link <northstar-id> <commitment-id>` — put a commitment into
3
+ * `skrr northstars link <northstar-id> <duty-id>` — put a duty into
4
4
  * a portfolio.
5
5
  *
6
- * By default the commitment INHERITS the northstar's priority and its
6
+ * By default the duty INHERITS the northstar's priority and its
7
7
  * `priority.source` becomes `northstar`, which is what makes portfolio-level
8
- * reprioritization meaningful later. Pass `--keep-priority` when the commitment
8
+ * reprioritization meaningful later. Pass `--keep-priority` when the duty
9
9
  * should belong to the portfolio while keeping a priority you set by hand.
10
10
  */
11
11
  export default class NorthstarsLink extends BaseCommand {
@@ -13,7 +13,7 @@ export default class NorthstarsLink extends BaseCommand {
13
13
  static examples: string[];
14
14
  static args: {
15
15
  northstarId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
16
- commitmentId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
16
+ dutyId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
17
17
  };
18
18
  static flags: {
19
19
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -4,28 +4,28 @@ const core_1 = require("@oclif/core");
4
4
  const base_command_1 = require("../../base-command");
5
5
  const northstars_1 = require("../../lib/northstars");
6
6
  /**
7
- * `skrr northstars link <northstar-id> <commitment-id>` — put a commitment into
7
+ * `skrr northstars link <northstar-id> <duty-id>` — put a duty into
8
8
  * a portfolio.
9
9
  *
10
- * By default the commitment INHERITS the northstar's priority and its
10
+ * By default the duty INHERITS the northstar's priority and its
11
11
  * `priority.source` becomes `northstar`, which is what makes portfolio-level
12
- * reprioritization meaningful later. Pass `--keep-priority` when the commitment
12
+ * reprioritization meaningful later. Pass `--keep-priority` when the duty
13
13
  * should belong to the portfolio while keeping a priority you set by hand.
14
14
  */
15
15
  class NorthstarsLink extends base_command_1.BaseCommand {
16
- static description = 'Link a commitment into a northstar portfolio';
16
+ static description = 'Link a duty into a northstar portfolio';
17
17
  static examples = [
18
18
  '<%= config.bin %> northstars link nst_abc123 cmt_xyz789',
19
19
  '<%= config.bin %> northstars link nst_abc123 cmt_xyz789 --keep-priority',
20
20
  ];
21
21
  static args = {
22
22
  northstarId: core_1.Args.string({ ignoreStdin: true, description: 'Northstar ID', required: true }),
23
- commitmentId: core_1.Args.string({ ignoreStdin: true, description: 'Commitment ID', required: true }),
23
+ dutyId: core_1.Args.string({ ignoreStdin: true, description: 'Duty ID', required: true }),
24
24
  };
25
25
  static flags = {
26
26
  json: core_1.Flags.boolean({ description: 'Output as JSON' }),
27
27
  'keep-priority': core_1.Flags.boolean({
28
- description: "Do not overwrite the commitment's priority with the northstar's",
28
+ description: "Do not overwrite the duty's priority with the northstar's",
29
29
  }),
30
30
  };
31
31
  async run() {
@@ -34,7 +34,7 @@ class NorthstarsLink extends base_command_1.BaseCommand {
34
34
  let result;
35
35
  try {
36
36
  result = await northstars_1.northstarApi.link(args.northstarId, {
37
- commitmentId: args.commitmentId,
37
+ dutyId: args.dutyId,
38
38
  inheritPriority: !flags['keep-priority'],
39
39
  });
40
40
  }
@@ -45,7 +45,7 @@ class NorthstarsLink extends base_command_1.BaseCommand {
45
45
  this.log(JSON.stringify(result, null, 2));
46
46
  return;
47
47
  }
48
- this.log(`Linked ${args.commitmentId} → ${args.northstarId}.`);
48
+ this.log(`Linked ${args.dutyId} → ${args.northstarId}.`);
49
49
  if (!flags['keep-priority']) {
50
50
  this.log('Priority now inherits from the northstar (priority.source = northstar).');
51
51
  }
@@ -1,9 +1,9 @@
1
1
  import { BaseCommand } from '../../base-command';
2
2
  /**
3
- * `skrr northstars list` — the strategic portfolio layer above commitments.
3
+ * `skrr northstars list` — the strategic portfolio layer above duties.
4
4
  *
5
5
  * A Northstar is not a goal and not a unit of work: it groups and prioritizes a
6
- * SET of commitments, allocates attention and compute across them, and reviews
6
+ * SET of duties, allocates attention and compute across them, and reviews
7
7
  * their health on a cadence.
8
8
  */
9
9
  export default class NorthstarsList extends BaseCommand {
@@ -5,14 +5,14 @@ const core_1 = require("@oclif/core");
5
5
  const base_command_1 = require("../../base-command");
6
6
  const northstars_1 = require("../../lib/northstars");
7
7
  /**
8
- * `skrr northstars list` — the strategic portfolio layer above commitments.
8
+ * `skrr northstars list` — the strategic portfolio layer above duties.
9
9
  *
10
10
  * A Northstar is not a goal and not a unit of work: it groups and prioritizes a
11
- * SET of commitments, allocates attention and compute across them, and reviews
11
+ * SET of duties, allocates attention and compute across them, and reviews
12
12
  * their health on a cadence.
13
13
  */
14
14
  class NorthstarsList extends base_command_1.BaseCommand {
15
- static description = `List northstars (the portfolio layer above commitments)\n\nThe WORKSPACE column is a shortened workspace id (--json has the full workspaceId) or "personal". ${northstars_1.NORTHSTAR_WORKSPACE_READ_HELP}`;
15
+ static description = `List northstars (the portfolio layer above duties)\n\nThe WORKSPACE column is a shortened workspace id (--json has the full workspaceId) or "personal". ${northstars_1.NORTHSTAR_WORKSPACE_READ_HELP}`;
16
16
  static examples = [
17
17
  '<%= config.bin %> northstars list',
18
18
  '<%= config.bin %> northstars list --status active',
@@ -3,7 +3,7 @@ import { BaseCommand } from '../../../base-command';
3
3
  * `skrr northstars recommendations apply <id> <rec-id>` — act on one
4
4
  * deterministic recommendation.
5
5
  *
6
- * `create_commitment` and `reassign_commitment` are acknowledged but NOT
6
+ * `create_duty` and `reassign_duty` are acknowledged but NOT
7
7
  * executed: both mint or move an obligation, and the server keeps that a human
8
8
  * action. The command says so rather than letting you assume work happened.
9
9
  */
@@ -7,12 +7,12 @@ const northstars_1 = require("../../../lib/northstars");
7
7
  * `skrr northstars recommendations apply <id> <rec-id>` — act on one
8
8
  * deterministic recommendation.
9
9
  *
10
- * `create_commitment` and `reassign_commitment` are acknowledged but NOT
10
+ * `create_duty` and `reassign_duty` are acknowledged but NOT
11
11
  * executed: both mint or move an obligation, and the server keeps that a human
12
12
  * action. The command says so rather than letting you assume work happened.
13
13
  */
14
14
  class NorthstarsRecommendationsApply extends base_command_1.BaseCommand {
15
- static description = 'Apply a northstar recommendation through CommitmentControl';
15
+ static description = 'Apply a northstar recommendation through DutyControl';
16
16
  static examples = [
17
17
  '<%= config.bin %> northstars recommendations apply nst_abc123 a1b2c3d4',
18
18
  ];
@@ -46,8 +46,8 @@ class NorthstarsReviewNow extends base_command_1.BaseCommand {
46
46
  this.log(`Review ${String(review.id)} (${String(review.status)})`);
47
47
  }
48
48
  this.log((0, northstars_1.describeReviewAllocations)(result));
49
- // The allocation above gives each commitment at least 1/day; when the budget is smaller than
50
- // the number of active commitments that adds up to more than the budget (OSK-21334).
49
+ // The allocation above gives each duty at least 1/day; when the budget is smaller than
50
+ // the number of active duties that adds up to more than the budget (OSK-21334).
51
51
  const floorNote = (0, northstars_1.runBudgetFloorNote)(result.runBudgetFloor);
52
52
  if (floorNote)
53
53
  this.log(` ! ${floorNote}`);
@@ -1,6 +1,6 @@
1
1
  import { BaseCommand } from '../../base-command';
2
2
  /**
3
- * The API envelopes the portfolio as `{ northstar, commitments }`, while
3
+ * The API envelopes the portfolio as `{ northstar, duties }`, while
4
4
  * create/list return a Northstar resource directly. Keep the portfolio data
5
5
  * but make the CLI JSON chainable through the standard top-level `id`.
6
6
  */
@@ -8,8 +8,8 @@ export declare function normalizeNorthstarShowResponse(status: unknown): Record<
8
8
  /**
9
9
  * `skrr northstars show <id>` — the northstar plus the portfolio it holds.
10
10
  *
11
- * The endpoint returns `{northstar, commitments}`, and both halves matter: a
12
- * northstar read without its commitments cannot answer the only question worth
11
+ * The endpoint returns `{northstar, duties}`, and both halves matter: a
12
+ * northstar read without its duties cannot answer the only question worth
13
13
  * asking of a portfolio, which is what is actually in it.
14
14
  */
15
15
  export default class NorthstarsShow extends BaseCommand {
@@ -5,7 +5,7 @@ const core_1 = require("@oclif/core");
5
5
  const base_command_1 = require("../../base-command");
6
6
  const northstars_1 = require("../../lib/northstars");
7
7
  /**
8
- * The API envelopes the portfolio as `{ northstar, commitments }`, while
8
+ * The API envelopes the portfolio as `{ northstar, duties }`, while
9
9
  * create/list return a Northstar resource directly. Keep the portfolio data
10
10
  * but make the CLI JSON chainable through the standard top-level `id`.
11
11
  */
@@ -14,7 +14,7 @@ function normalizeNorthstarShowResponse(status) {
14
14
  if (envelope?.northstar && typeof envelope.northstar === 'object') {
15
15
  return {
16
16
  ...envelope.northstar,
17
- commitments: Array.isArray(envelope.commitments) ? envelope.commitments : [],
17
+ duties: Array.isArray(envelope.duties) ? envelope.duties : [],
18
18
  };
19
19
  }
20
20
  return status && typeof status === 'object' ? status : {};
@@ -22,12 +22,12 @@ function normalizeNorthstarShowResponse(status) {
22
22
  /**
23
23
  * `skrr northstars show <id>` — the northstar plus the portfolio it holds.
24
24
  *
25
- * The endpoint returns `{northstar, commitments}`, and both halves matter: a
26
- * northstar read without its commitments cannot answer the only question worth
25
+ * The endpoint returns `{northstar, duties}`, and both halves matter: a
26
+ * northstar read without its duties cannot answer the only question worth
27
27
  * asking of a portfolio, which is what is actually in it.
28
28
  */
29
29
  class NorthstarsShow extends base_command_1.BaseCommand {
30
- static description = `Show a northstar, its linked commitments, and open recommendations\n\nThe Workspace line is the full workspace id, or "personal". ${northstars_1.NORTHSTAR_WORKSPACE_READ_HELP}`;
30
+ static description = `Show a northstar, its linked duties, and open recommendations\n\nThe Workspace line is the full workspace id, or "personal". ${northstars_1.NORTHSTAR_WORKSPACE_READ_HELP}`;
31
31
  static examples = [
32
32
  '<%= config.bin %> northstars show nst_abc123',
33
33
  '<%= config.bin %> northstars show nst_abc123 --json',
@@ -1,9 +1,9 @@
1
1
  import { BaseCommand } from '../../base-command';
2
2
  /**
3
- * `skrr northstars unlink <northstar-id> <commitment-id>` — take a commitment
3
+ * `skrr northstars unlink <northstar-id> <duty-id>` — take a duty
4
4
  * out of a portfolio.
5
5
  *
6
- * The commitment keeps running; only the strategy link drops, and its priority
6
+ * The duty keeps running; only the strategy link drops, and its priority
7
7
  * source reverts to `manual`. Any pending management intent that targeted it is
8
8
  * INVALIDATED at apply time — a portfolio may not steer work it no longer holds.
9
9
  */
@@ -12,7 +12,7 @@ export default class NorthstarsUnlink extends BaseCommand {
12
12
  static examples: string[];
13
13
  static args: {
14
14
  northstarId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
15
- commitmentId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
15
+ dutyId: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
16
16
  };
17
17
  static flags: {
18
18
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -4,19 +4,19 @@ const core_1 = require("@oclif/core");
4
4
  const base_command_1 = require("../../base-command");
5
5
  const northstars_1 = require("../../lib/northstars");
6
6
  /**
7
- * `skrr northstars unlink <northstar-id> <commitment-id>` — take a commitment
7
+ * `skrr northstars unlink <northstar-id> <duty-id>` — take a duty
8
8
  * out of a portfolio.
9
9
  *
10
- * The commitment keeps running; only the strategy link drops, and its priority
10
+ * The duty keeps running; only the strategy link drops, and its priority
11
11
  * source reverts to `manual`. Any pending management intent that targeted it is
12
12
  * INVALIDATED at apply time — a portfolio may not steer work it no longer holds.
13
13
  */
14
14
  class NorthstarsUnlink extends base_command_1.BaseCommand {
15
- static description = 'Unlink a commitment from a northstar portfolio';
15
+ static description = 'Unlink a duty from a northstar portfolio';
16
16
  static examples = ['<%= config.bin %> northstars unlink nst_abc123 cmt_xyz789'];
17
17
  static args = {
18
18
  northstarId: core_1.Args.string({ ignoreStdin: true, description: 'Northstar ID', required: true }),
19
- commitmentId: core_1.Args.string({ ignoreStdin: true, description: 'Commitment ID', required: true }),
19
+ dutyId: core_1.Args.string({ ignoreStdin: true, description: 'Duty ID', required: true }),
20
20
  };
21
21
  static flags = { json: core_1.Flags.boolean({ description: 'Output as JSON' }) };
22
22
  async run() {
@@ -24,7 +24,7 @@ class NorthstarsUnlink extends base_command_1.BaseCommand {
24
24
  const { args, flags } = await this.parse(NorthstarsUnlink);
25
25
  let result;
26
26
  try {
27
- result = await northstars_1.northstarApi.unlink(args.northstarId, { commitmentId: args.commitmentId });
27
+ result = await northstars_1.northstarApi.unlink(args.northstarId, { dutyId: args.dutyId });
28
28
  }
29
29
  catch (err) {
30
30
  this.handleApiError(err);
@@ -33,7 +33,7 @@ class NorthstarsUnlink extends base_command_1.BaseCommand {
33
33
  this.log(JSON.stringify(result, null, 2));
34
34
  return;
35
35
  }
36
- this.log(`Unlinked ${args.commitmentId}. It keeps running; priority is manual again.`);
36
+ this.log(`Unlinked ${args.dutyId}. It keeps running; priority is manual again.`);
37
37
  }
38
38
  }
39
39
  exports.default = NorthstarsUnlink;
@@ -33,7 +33,7 @@ class NorthstarsUpdate extends base_command_1.BaseCommand {
33
33
  weight: core_1.Flags.integer({ description: 'Priority weight (0..100)', min: 0, max: 100 }),
34
34
  'total-weight': core_1.Flags.integer({ description: 'Attention budget total weight', min: 0 }),
35
35
  'max-active': core_1.Flags.integer({
36
- description: 'Soft cap on active commitments (0 = no cap)',
36
+ description: 'Soft cap on active duties (0 = no cap)',
37
37
  min: 0,
38
38
  }),
39
39
  goal: core_1.Flags.string({ description: 'Goal ID (repeatable; replaces the list)', multiple: true }),
@@ -74,7 +74,7 @@ class NorthstarsUpdate extends base_command_1.BaseCommand {
74
74
  if (flags['total-weight'] !== undefined || flags['max-active'] !== undefined) {
75
75
  body.attentionBudget = {
76
76
  ...(flags['total-weight'] !== undefined ? { totalWeight: flags['total-weight'] } : {}),
77
- ...(flags['max-active'] !== undefined ? { maxActiveCommitments: flags['max-active'] } : {}),
77
+ ...(flags['max-active'] !== undefined ? { maxActiveDuties: flags['max-active'] } : {}),
78
78
  };
79
79
  }
80
80
  if (flags.goal)
@@ -114,7 +114,7 @@ class NorthstarsUpdate extends base_command_1.BaseCommand {
114
114
  this.log(`Updated ${northstar.id} — ${northstar.title} (${northstar.status}, v${northstar.version})`);
115
115
  // 0 is stored, and a review treats it as "no cap": say so here, not only in `show` (OSK-21252).
116
116
  if (flags['max-active'] !== undefined) {
117
- this.log(`Attention max active ${(0, northstars_1.describeMaxActive)(northstar.attentionBudget?.maxActiveCommitments ?? flags['max-active'])}`);
117
+ this.log(`Attention max active ${(0, northstars_1.describeMaxActive)(northstar.attentionBudget?.maxActiveDuties ?? flags['max-active'])}`);
118
118
  }
119
119
  }
120
120
  }
@@ -2,13 +2,13 @@ import type { ProposalView } from '@skrr-ai/data-provider';
2
2
  import { BaseCommand } from '../../base-command';
3
3
  /**
4
4
  * What an empty page means. With a filter AND a next cursor it does NOT mean "none": the inbox reads a
5
- * bounded page of each source and applies some filters (the Commitment, the kind of row) afterwards,
5
+ * bounded page of each source and applies some filters (the Duty, the kind of row) afterwards,
6
6
  * so an unmatched id pages through every page of an 864-row inbox before the cursor ends (OSK-15369).
7
7
  * Without a cursor the inbox is exhausted and "none" is true.
8
8
  */
9
9
  export declare function emptyPageLines(narrowed: boolean, nextCursor: string | null | undefined): string[];
10
10
  /**
11
- * What the row is ABOUT: the Commitment and the Agent behind it, in the order the web inbox shows them. 51 distinct titles covered 747 decidable
11
+ * What the row is ABOUT: the Duty and the Agent behind it, in the order the web inbox shows them. 51 distinct titles covered 747 decidable
12
12
  * initiatives, so the title alone could not tell two rows apart (OSK-15378). A dash is "not named" (an id the
13
13
  * server could not read for this viewer is in `--json`), never "none".
14
14
  */
@@ -19,7 +19,7 @@ export default class ProposalsList extends BaseCommand {
19
19
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
20
20
  kind: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
21
  disposition: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
- 'commitment-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
22
+ 'duty-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
23
  'agent-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
24
24
  limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
25
25
  cursor: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -10,7 +10,7 @@ const proposals_1 = require("../../lib/proposals");
10
10
  const format_1 = require("../../lib/format");
11
11
  /**
12
12
  * What an empty page means. With a filter AND a next cursor it does NOT mean "none": the inbox reads a
13
- * bounded page of each source and applies some filters (the Commitment, the kind of row) afterwards,
13
+ * bounded page of each source and applies some filters (the Duty, the kind of row) afterwards,
14
14
  * so an unmatched id pages through every page of an 864-row inbox before the cursor ends (OSK-15369).
15
15
  * Without a cursor the inbox is exhausted and "none" is true.
16
16
  */
@@ -26,15 +26,15 @@ function emptyPageLines(narrowed, nextCursor) {
26
26
  : ['No proposals on this page; the cursor below continues.'];
27
27
  }
28
28
  /**
29
- * What the row is ABOUT: the Commitment and the Agent behind it, in the order the web inbox shows them. 51 distinct titles covered 747 decidable
29
+ * What the row is ABOUT: the Duty and the Agent behind it, in the order the web inbox shows them. 51 distinct titles covered 747 decidable
30
30
  * initiatives, so the title alone could not tell two rows apart (OSK-15378). A dash is "not named" (an id the
31
31
  * server could not read for this viewer is in `--json`), never "none".
32
32
  */
33
33
  function aboutFor(row) {
34
- const named = [row.commitmentTitle, row.agent?.name].filter(Boolean).join(' · ');
34
+ const named = [row.dutyTitle, row.agent?.name].filter(Boolean).join(' · ');
35
35
  if (named)
36
36
  return named;
37
- // A Northstar intent that targets no commitment (a proposal to start one) is about its northstar.
37
+ // A Northstar intent that targets no duty (a proposal to start one) is about its northstar.
38
38
  const northstarId = row.decisionContext?.northstarId;
39
39
  return northstarId ? `northstar ${northstarId}` : '—';
40
40
  }
@@ -56,7 +56,7 @@ class ProposalsList extends base_command_1.BaseCommand {
56
56
  json: core_1.Flags.boolean(),
57
57
  kind: core_1.Flags.string({ options: [...data_provider_1.PROPOSAL_KINDS] }),
58
58
  disposition: core_1.Flags.string({ options: [...data_provider_1.PROPOSAL_DISPOSITIONS] }),
59
- 'commitment-id': core_1.Flags.string(),
59
+ 'duty-id': core_1.Flags.string(),
60
60
  'agent-id': core_1.Flags.string(),
61
61
  limit: core_1.Flags.integer({ min: 1, max: 100, default: 50 }),
62
62
  cursor: core_1.Flags.string(),
@@ -74,7 +74,7 @@ class ProposalsList extends base_command_1.BaseCommand {
74
74
  result = await proposals_1.proposalApi.list({
75
75
  kind: flags.kind,
76
76
  disposition: flags.disposition,
77
- commitmentId: flags['commitment-id'],
77
+ dutyId: flags['duty-id'],
78
78
  agentId: flags['agent-id'],
79
79
  limit: flags.limit,
80
80
  cursor: flags.cursor,
@@ -89,7 +89,7 @@ class ProposalsList extends base_command_1.BaseCommand {
89
89
  return;
90
90
  }
91
91
  if (!result.data.length) {
92
- const narrowed = Boolean(flags.kind || flags.disposition || flags['commitment-id'] || flags['agent-id']);
92
+ const narrowed = Boolean(flags.kind || flags.disposition || flags['duty-id'] || flags['agent-id']);
93
93
  for (const line of emptyPageLines(narrowed, result.nextCursor))
94
94
  this.log(line);
95
95
  }
@@ -25,7 +25,7 @@ function holderNowLabel(current) {
25
25
  if (current.holder === 'leader')
26
26
  return 'the Leader';
27
27
  if (current.holder === 'space_loop') {
28
- return `the space_orchestration loop ${current.commitmentId ?? ''}`.trim();
28
+ return `the space_orchestration loop ${current.dutyId ?? ''}`.trim();
29
29
  }
30
30
  return 'unknown (could not be read)';
31
31
  }
@@ -14,7 +14,7 @@ function judgmentTurnLabel(turn) {
14
14
  if (turn.holder === 'leader')
15
15
  return ' turn: Leader';
16
16
  if (turn.holder === 'space_loop') {
17
- return ` turn: loop ${turn.commitmentId ?? ''}${turn.inFlightRunId ? ' (waiting for its turn to end)' : ''}`;
17
+ return ` turn: loop ${turn.dutyId ?? ''}${turn.inFlightRunId ? ' (waiting for its turn to end)' : ''}`;
18
18
  }
19
19
  return ' turn: unreadable, Leader stood down';
20
20
  }
@@ -30,9 +30,9 @@ const space_output_1 = require("../../../lib/space-output");
30
30
  */
31
31
  function loopCell(loop) {
32
32
  const pointer = loop;
33
- if (!pointer?.commitmentId)
33
+ if (!pointer?.dutyId)
34
34
  return '-';
35
- return `${(0, format_1.formatCell)(pointer.state)} -> ${(0, format_1.formatCell)(pointer.commitmentId)}`;
35
+ return `${(0, format_1.formatCell)(pointer.state)} -> ${(0, format_1.formatCell)(pointer.dutyId)}`;
36
36
  }
37
37
  function heartbeatRow(h) {
38
38
  const schedule = h.schedule;
@@ -51,9 +51,9 @@ const PERSPECTIVES = [
51
51
  purpose: "The Space's standing loops (weekly review, curator, goal advance). No command lists them: read their cycles from the notebook",
52
52
  commands: [
53
53
  'spaces notebook <space-id> --kinds loop_cycle',
54
- 'commitments pack plan --pack space_review --space <space-id>',
54
+ 'duties pack plan --pack space_review --space <space-id>',
55
55
  'spaces loops migrate <space-id> --from heartbeats',
56
- 'spaces loops release <space-id> --commitment <id>',
56
+ 'spaces loops release <space-id> --duty <id>',
57
57
  ],
58
58
  url: '/spaces/<space-id>/loops',
59
59
  },
@@ -7,7 +7,7 @@ export declare function noSpacesMatchedMessage(q: string, bin?: string, mode?: s
7
7
  * A bare `No spaces.` on a fresh account is technically true and operationally
8
8
  * useless: it names no next step, so the user reading `GETTING_STARTED.md`
9
9
  * step 3 hits three of these in a row and concludes the product is inert.
10
- * `commitments/list.ts` learned this the hard way and left the reasoning in a
10
+ * `duties/list.ts` learned this the hard way and left the reasoning in a
11
11
  * comment; the fix is to follow the same pattern here — one line naming the
12
12
  * command that fixes it.
13
13
  *
@@ -25,7 +25,7 @@ function noSpacesMatchedMessage(q, bin = 'skrr', mode = 'fuzzy') {
25
25
  * A bare `No spaces.` on a fresh account is technically true and operationally
26
26
  * useless: it names no next step, so the user reading `GETTING_STARTED.md`
27
27
  * step 3 hits three of these in a row and concludes the product is inert.
28
- * `commitments/list.ts` learned this the hard way and left the reasoning in a
28
+ * `duties/list.ts` learned this the hard way and left the reasoning in a
29
29
  * comment; the fix is to follow the same pattern here — one line naming the
30
30
  * command that fixes it.
31
31
  *
@@ -9,7 +9,7 @@ import { BaseCommand } from '../../../base-command';
9
9
  *
10
10
  * Without `--apply` it prints the plan, a pure read: every entry, what it
11
11
  * becomes (the Space's loop when its owner is the Space's execution principal,
12
- * otherwise its owner's own Commitment), its cadence before and after (never
12
+ * otherwise its owner's own Duty), its cadence before and after (never
13
13
  * rounded silently), what the loop does differently, the entries it cannot
14
14
  * convert and why, and who may apply each. With `--apply --plan-digest <digest>`
15
15
  * it converts the entries the caller may, acting only on the plan that digest
@@ -14,7 +14,7 @@ const space_loop_migration_1 = require("../../../lib/space-loop-migration");
14
14
  *
15
15
  * Without `--apply` it prints the plan, a pure read: every entry, what it
16
16
  * becomes (the Space's loop when its owner is the Space's execution principal,
17
- * otherwise its owner's own Commitment), its cadence before and after (never
17
+ * otherwise its owner's own Duty), its cadence before and after (never
18
18
  * rounded silently), what the loop does differently, the entries it cannot
19
19
  * convert and why, and who may apply each. With `--apply --plan-digest <digest>`
20
20
  * it converts the entries the caller may, acting only on the plan that digest
@@ -6,7 +6,7 @@ export default class SpacesLoopsRelease extends BaseCommand {
6
6
  id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
7
7
  };
8
8
  static flags: {
9
- commitment: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
+ duty: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
10
  link: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
11
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
12
  };
@@ -6,14 +6,14 @@ const base_command_1 = require("../../../base-command");
6
6
  class SpacesLoopsRelease extends base_command_1.BaseCommand {
7
7
  static description = 'Pause a loop and release its Space and Goals to built-in planners (requires Space SHARE permission)';
8
8
  static examples = [
9
- '<%= config.bin %> spaces loops release <space-id> --commitment <commitment-id>',
10
- '<%= config.bin %> spaces loops release "Growth lab" --commitment <commitment-id> --json',
9
+ '<%= config.bin %> spaces loops release <space-id> --duty <duty-id>',
10
+ '<%= config.bin %> spaces loops release "Growth lab" --duty <duty-id> --json',
11
11
  ];
12
12
  static args = {
13
13
  id: core_1.Args.string({ description: 'Space ID, or a title to resolve', required: true, ignoreStdin: true }),
14
14
  };
15
15
  static flags = {
16
- commitment: core_1.Flags.string({ description: 'The loop Commitment to pause and release', required: true }),
16
+ duty: core_1.Flags.string({ description: 'The loop Duty to pause and release', required: true }),
17
17
  link: core_1.Flags.string({ description: 'Pin the reviewed home link ID; otherwise resolve the current active home link once' }),
18
18
  json: core_1.Flags.boolean({ description: 'Output the release receipt as JSON' }),
19
19
  };
@@ -25,28 +25,28 @@ class SpacesLoopsRelease extends base_command_1.BaseCommand {
25
25
  try {
26
26
  let linkId = flags.link;
27
27
  if (!linkId) {
28
- const links = await data_provider_1.dataService.listCommitmentWorkLinksForTarget({ targetType: 'space', targetId: spaceId });
29
- const homes = links.data.filter((link) => link.commitmentId === flags.commitment && link.status === 'active' && link.roles.includes('home'));
28
+ const links = await data_provider_1.dataService.listDutyWorkLinksForTarget({ targetType: 'space', targetId: spaceId });
29
+ const homes = links.data.filter((link) => link.dutyId === flags.duty && link.status === 'active' && link.roles.includes('home'));
30
30
  if (homes.length !== 1) {
31
31
  this.error('No unique active home link found. Supply --link <home-link-id> to release a reviewed link or retry its receipt.', { exit: 2 });
32
32
  }
33
33
  linkId = homes[0].id;
34
34
  }
35
- receipt = await data_provider_1.dataService.releaseSpaceLoop(spaceId, flags.commitment, { linkId });
35
+ receipt = await data_provider_1.dataService.releaseSpaceLoop(spaceId, flags.duty, { linkId });
36
36
  }
37
37
  catch (err) {
38
- this.handleApiError(err, { subject: `loop ${flags.commitment} in space ${args.id}` });
38
+ this.handleApiError(err, { subject: `loop ${flags.duty} in space ${args.id}` });
39
39
  }
40
40
  if (flags.json) {
41
41
  this.printJsonResult(receipt);
42
42
  return;
43
43
  }
44
44
  this.log(receipt.outcome === 'already_released'
45
- ? `Loop ${receipt.commitmentId} was already released from this Space.`
46
- : `Loop ${receipt.commitmentId} is paused and released from this Space.`);
45
+ ? `Loop ${receipt.dutyId} was already released from this Space.`
46
+ : `Loop ${receipt.dutyId} is paused and released from this Space.`);
47
47
  this.log(`Home link: ${receipt.linkId}`);
48
48
  this.log(receipt.outcome === 'released'
49
- ? 'Its Space and Goal planning turns are released after current turns finish. The owner may explicitly resume the Commitment personally.'
49
+ ? 'Its Space and Goal planning turns are released after current turns finish. The owner may explicitly resume the Duty personally.'
50
50
  : 'This receipt refers to the previously released home link. Current planning may have changed.');
51
51
  if (receipt.teardown?.status === 'degraded') {
52
52
  this.log('Some running work could not be stopped. Review the teardown receipt before assuming all work has ended.');
@@ -5,8 +5,8 @@ import { BaseCommand } from '../../base-command';
5
5
  * pages, newest first. A view over records that already exist: each row is a
6
6
  * summary and a link, and the body is read from the record itself. VIEW on
7
7
  * the Space. A loop's Cycles are shared with the Space's members while its
8
- * rules hold; a Commitment that only watches the Space, and every hypothesis
9
- * verdict, show only to people who can open the Commitment. Each loop row says
8
+ * rules hold; a Duty that only watches the Space, and every hypothesis
9
+ * verdict, show only to people who can open the Duty. Each loop row says
10
10
  * which.
11
11
  */
12
12
  export default class SpacesNotebook extends BaseCommand {
@@ -11,8 +11,8 @@ const web_url_1 = require("../../lib/web-url");
11
11
  * pages, newest first. A view over records that already exist: each row is a
12
12
  * summary and a link, and the body is read from the record itself. VIEW on
13
13
  * the Space. A loop's Cycles are shared with the Space's members while its
14
- * rules hold; a Commitment that only watches the Space, and every hypothesis
15
- * verdict, show only to people who can open the Commitment. Each loop row says
14
+ * rules hold; a Duty that only watches the Space, and every hypothesis
15
+ * verdict, show only to people who can open the Duty. Each loop row says
16
16
  * which.
17
17
  */
18
18
  class SpacesNotebook extends base_command_1.BaseCommand {
@@ -5,7 +5,7 @@ const space_proposal_decision_command_1 = require("../../../lib/space-proposal-d
5
5
  class SpacesProposalsDiscard extends space_proposal_decision_command_1.SpaceProposalDecisionCommand {
6
6
  static description = "Discard (reject) one item in a space's proposals inbox, through the item's own decision endpoint";
7
7
  static examples = [
8
- `<%= config.bin %> spaces proposals discard <space-id> commitment_action_proposal:cap_123 --expected '{"snapshotDigest":"…","bundleVersion":2}' --reason-code not_worth_it`,
8
+ `<%= config.bin %> spaces proposals discard <space-id> duty_action_proposal:cap_123 --expected '{"snapshotDigest":"…","bundleVersion":2}' --reason-code not_worth_it`,
9
9
  '<%= config.bin %> spaces proposals discard <space-id> memory_proposal:<uuid> --reason "Not true any more"',
10
10
  '<%= config.bin %> spaces proposals discard <space-id> space_lesson:<uuid> --reason-code incorrect --reason "Step 2 is the old flow"',
11
11
  ];
@@ -5,7 +5,7 @@ const space_proposal_decision_command_1 = require("../../../lib/space-proposal-d
5
5
  class SpacesProposalsKeep extends space_proposal_decision_command_1.SpaceProposalDecisionCommand {
6
6
  static description = "Keep (approve) one item in a space's proposals inbox, through the item's own decision endpoint";
7
7
  static examples = [
8
- `<%= config.bin %> spaces proposals keep <space-id> commitment_action_proposal:cap_123 --expected '{"snapshotDigest":"…","bundleVersion":2}'`,
8
+ `<%= config.bin %> spaces proposals keep <space-id> duty_action_proposal:cap_123 --expected '{"snapshotDigest":"…","bundleVersion":2}'`,
9
9
  '<%= config.bin %> spaces proposals keep <space-id> memory_proposal:<uuid>',
10
10
  '<%= config.bin %> spaces proposals keep <space-id> space_lesson:<uuid>',
11
11
  ];
@@ -39,10 +39,10 @@ class SpacesTriggersShow extends base_command_1.BaseCommand {
39
39
  this.log(`On event: ${formatLane(triggers.onEvent)}`);
40
40
  this.log(`On schedule:${formatLane(triggers.onSchedule)}`);
41
41
  const loop = assistant.loop;
42
- if (loop?.commitmentId) {
42
+ if (loop?.dutyId) {
43
43
  this.log(loop.state === 'retired'
44
- ? `Loop: converted into loop ${loop.commitmentId}, which replaced its scheduled turns; read-only`
45
- : `Loop: being converted into loop ${loop.commitmentId}; read-only, and it keeps running until the loop is active`);
44
+ ? `Loop: converted into loop ${loop.dutyId}, which replaced its scheduled turns; read-only`
45
+ : `Loop: being converted into loop ${loop.dutyId}; read-only, and it keeps running until the loop is active`);
46
46
  }
47
47
  }
48
48
  }
@@ -39,7 +39,7 @@ class SpacesWritePolicySet extends base_command_1.BaseCommand {
39
39
  options: MODE_OPTIONS,
40
40
  }),
41
41
  'member-automation': core_1.Flags.string({
42
- description: "Mode for other members' agents writing unattended (for example their Commitment runs); " +
42
+ description: "Mode for other members' agents writing unattended (for example their Duty runs); " +
43
43
  '`default` resets it',
44
44
  options: MODE_OPTIONS,
45
45
  }),