@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
@@ -42,7 +42,7 @@ function parseReceipt(body) {
42
42
  : null;
43
43
  }
44
44
  class StoreUninstall extends base_command_1.BaseCommand {
45
- static description = 'Uninstall is reversible: reinstalling restores the Agent copy. --erase permanently removes its Memory and ends commitments; the Agent, purchase, and delivered tasks remain.';
45
+ static description = 'Uninstall is reversible: reinstalling restores the Agent copy. --erase permanently removes its Memory and ends duties; the Agent, purchase, and delivered tasks remain.';
46
46
  static examples = [
47
47
  '<%= config.bin %> store uninstall agent_abc123',
48
48
  '<%= config.bin %> store uninstall agent_abc123 --erase',
@@ -58,7 +58,7 @@ class StoreUninstall extends base_command_1.BaseCommand {
58
58
  static flags = {
59
59
  json: core_1.Flags.boolean({ description: 'Output as JSON' }),
60
60
  erase: core_1.Flags.boolean({
61
- description: "Also erase the copy's memory and end its commitments. Works on a copy you already uninstalled.",
61
+ description: "Also erase the copy's memory and end its duties. Works on a copy you already uninstalled.",
62
62
  }),
63
63
  yes: core_1.Flags.boolean({ char: 'y', description: 'Skip the confirmation prompt for --erase' }),
64
64
  };
@@ -4,7 +4,7 @@ import { BaseCommand } from '../../base-command';
4
4
  * Has this service actually delivered?
5
5
  *
6
6
  * The question every recurring charge has to answer, and the reason a
7
- * subscription is modelled as a Commitment rather than a billing schedule.
7
+ * subscription is modelled as a Duty rather than a billing schedule.
8
8
  *
9
9
  * `unverified` — the work is done and nobody has looked — is counted as
10
10
  * DELIVERED and reported separately as "waiting on you". It is not a failure:
@@ -26,7 +26,7 @@ export default class SubscriptionsHealth extends BaseCommand {
26
26
  /**
27
27
  * What the service owes, as bought. Four answers that must never print alike:
28
28
  * the list itself; a service that declared nothing; a subscription whose
29
- * Commitment does not exist yet, so nothing holds the service to what was
29
+ * Duty does not exist yet, so nothing holds the service to what was
30
30
  * bought (NOT "declared nothing" — the release may declare plenty); and a
31
31
  * contract that could not be read. `undefined` is an older server that does not
32
32
  * report it, so nothing is said.
@@ -8,7 +8,7 @@ const base_command_1 = require("../../base-command");
8
8
  * Has this service actually delivered?
9
9
  *
10
10
  * The question every recurring charge has to answer, and the reason a
11
- * subscription is modelled as a Commitment rather than a billing schedule.
11
+ * subscription is modelled as a Duty rather than a billing schedule.
12
12
  *
13
13
  * `unverified` — the work is done and nobody has looked — is counted as
14
14
  * DELIVERED and reported separately as "waiting on you". It is not a failure:
@@ -75,7 +75,7 @@ exports.default = SubscriptionsHealth;
75
75
  /**
76
76
  * What the service owes, as bought. Four answers that must never print alike:
77
77
  * the list itself; a service that declared nothing; a subscription whose
78
- * Commitment does not exist yet, so nothing holds the service to what was
78
+ * Duty does not exist yet, so nothing holds the service to what was
79
79
  * bought (NOT "declared nothing" — the release may declare plenty); and a
80
80
  * contract that could not be read. `undefined` is an older server that does not
81
81
  * report it, so nothing is said.
@@ -51,8 +51,8 @@ class SubscriptionsStatus extends base_command_1.BaseCommand {
51
51
  if (response.billingIssueCode) {
52
52
  this.log(`Last charge failed with: ${response.billingIssueCode}`);
53
53
  }
54
- if (response.commitmentId) {
55
- this.log(`Obligation: ${response.commitmentId}`);
54
+ if (response.dutyId) {
55
+ this.log(`Obligation: ${response.dutyId}`);
56
56
  }
57
57
  }
58
58
  }
@@ -105,12 +105,12 @@ class SubscriptionsSubscribe extends base_command_1.BaseCommand {
105
105
  this.log(`Paid through: ${response.expiresAt}`);
106
106
  }
107
107
  this.log(`Compute paid by: ${(0, data_provider_1.describeStoreComputePayer)(response?.computePayer)}`);
108
- if (response?.commitmentId) {
109
- // The commitment is the thing you can hold the service to — surface it,
108
+ if (response?.dutyId) {
109
+ // The duty is the thing you can hold the service to — surface it,
110
110
  // because "is it working" is answered there and nowhere else.
111
- this.log(`Obligation: ${response.commitmentId}`);
111
+ this.log(`Obligation: ${response.dutyId}`);
112
112
  }
113
- if (response?.degraded === 'commitment_pending') {
113
+ if (response?.degraded === 'duty_pending') {
114
114
  this.log('');
115
115
  this.log('Note: the subscription is live but its obligation has not been created yet. It is resumable and refundable; retry to finish opening it.');
116
116
  }
@@ -1,5 +1,7 @@
1
1
  import { BaseCommand } from '../../base-command';
2
2
  import { type TaskRecord } from '../../lib/tasks';
3
+ import { resolveListWorkspace } from './list';
4
+ import type { ListWorkspaceScope } from './list';
3
5
  /**
4
6
  * Whether the estimate we asked for survived the write. (S3 dogfood finding)
5
7
  *
@@ -34,6 +36,23 @@ export declare function droppedEstimateWarning(requested: number | undefined, wr
34
36
  /** A create may have committed before any of these response failures surfaced. */
35
37
  export declare function taskCreateMayHaveCommitted(error: unknown): boolean;
36
38
  export declare function taskMatchesCreateIdentity(task: TaskRecord, payload: TaskRecord): boolean;
39
+ /**
40
+ * Which workspace a new task is stamped with when the person named none (OSK-22516).
41
+ *
42
+ * `tasks list` reads the signed-in person's DEFAULT workspace when no workspace is selected, but
43
+ * `tasks create` sent no workspace at all, so a task made from a plain CLI session had none. The
44
+ * workspace-scoped list returns only tasks in that workspace's Spaces or stamped with its id, so
45
+ * the person's own new task never showed in their own default list while the briefing, which counts
46
+ * everything they authored, still counted it: 220 review tasks and 66 active ones on production
47
+ * (briefing 2,867 against a list of 2,647).
48
+ *
49
+ * The rule is the list's, not a copy of it: a task that names a Space, project, parent or goal
50
+ * takes its scope from that, a selected workspace (`--workspace`, `skrr workspaces use`) stands, an
51
+ * autonomous Agent session stays personal, and a failed lookup changes nothing.
52
+ */
53
+ export declare function resolveCreateWorkspace(scoped: boolean, env: NodeJS.ProcessEnv, lookupDefault: Parameters<typeof resolveListWorkspace>[2]): Promise<Extract<ListWorkspaceScope, {
54
+ source: 'default';
55
+ }> | undefined>;
37
56
  export default class TasksCreate extends BaseCommand {
38
57
  static description: string;
39
58
  static examples: string[];
@@ -54,7 +73,7 @@ export default class TasksCreate extends BaseCommand {
54
73
  'spawn-reason': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
55
74
  space: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
56
75
  goal: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
57
- commitment: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
76
+ duty: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
58
77
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
59
78
  cycle: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
60
79
  'source-conversation': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -4,6 +4,7 @@ exports.taskTagLabelWarning = taskTagLabelWarning;
4
4
  exports.droppedEstimateWarning = droppedEstimateWarning;
5
5
  exports.taskCreateMayHaveCommitted = taskCreateMayHaveCommitted;
6
6
  exports.taskMatchesCreateIdentity = taskMatchesCreateIdentity;
7
+ exports.resolveCreateWorkspace = resolveCreateWorkspace;
7
8
  const core_1 = require("@oclif/core");
8
9
  const task_economics_1 = require("../../lib/task-economics");
9
10
  const data_provider_1 = require("@skrr-ai/data-provider");
@@ -12,6 +13,7 @@ const label_ref_1 = require("../../lib/label-ref");
12
13
  const prompt_1 = require("../../lib/prompt");
13
14
  const tasks_1 = require("../../lib/tasks");
14
15
  const task_instruction_offer_1 = require("../../lib/task-instruction-offer");
16
+ const list_1 = require("./list");
15
17
  const web_url_1 = require("../../lib/web-url");
16
18
  const TASK_CREATE_MAY_HAVE_COMMITTED_RE = /fetch failed|socket hang up|timed? ?out/i;
17
19
  /**
@@ -104,7 +106,7 @@ function taskMatchesCreateIdentity(task, payload) {
104
106
  'goalId',
105
107
  'projectId',
106
108
  'parentId',
107
- 'commitmentId',
109
+ 'dutyId',
108
110
  'executionMode',
109
111
  ]) {
110
112
  const requested = payload[field];
@@ -125,6 +127,26 @@ function taskMatchesCreateIdentity(task, payload) {
125
127
  }
126
128
  return true;
127
129
  }
130
+ /**
131
+ * Which workspace a new task is stamped with when the person named none (OSK-22516).
132
+ *
133
+ * `tasks list` reads the signed-in person's DEFAULT workspace when no workspace is selected, but
134
+ * `tasks create` sent no workspace at all, so a task made from a plain CLI session had none. The
135
+ * workspace-scoped list returns only tasks in that workspace's Spaces or stamped with its id, so
136
+ * the person's own new task never showed in their own default list while the briefing, which counts
137
+ * everything they authored, still counted it: 220 review tasks and 66 active ones on production
138
+ * (briefing 2,867 against a list of 2,647).
139
+ *
140
+ * The rule is the list's, not a copy of it: a task that names a Space, project, parent or goal
141
+ * takes its scope from that, a selected workspace (`--workspace`, `skrr workspaces use`) stands, an
142
+ * autonomous Agent session stays personal, and a failed lookup changes nothing.
143
+ */
144
+ async function resolveCreateWorkspace(scoped, env, lookupDefault) {
145
+ if (scoped)
146
+ return undefined;
147
+ const scope = await (0, list_1.resolveListWorkspace)({}, env, lookupDefault);
148
+ return scope?.source === 'default' ? scope : undefined;
149
+ }
128
150
  class TasksCreate extends base_command_1.BaseCommand {
129
151
  static description = 'Create a new task';
130
152
  static examples = [
@@ -187,8 +209,8 @@ class TasksCreate extends base_command_1.BaseCommand {
187
209
  }),
188
210
  space: core_1.Flags.string({ description: 'Space ID' }),
189
211
  goal: core_1.Flags.string({ description: 'Goal ID' }),
190
- commitment: core_1.Flags.string({
191
- description: 'Commitment ID that owns this task. Use for work created directly from a commitment without a linked goal.',
212
+ duty: core_1.Flags.string({
213
+ description: 'Duty ID that owns this task. Use for work created directly from a duty without a linked goal.',
192
214
  }),
193
215
  project: core_1.Flags.string({
194
216
  description: 'Project to attach the task to: its `id` (uuid; a pasted `_id` is accepted and rewritten ' +
@@ -333,6 +355,25 @@ class TasksCreate extends base_command_1.BaseCommand {
333
355
  retryable: false,
334
356
  });
335
357
  }
358
+ // Stamp the person's default workspace on a task that names no scope of its own, the way
359
+ // `tasks list` reads it, so the task they create is one their default list shows (OSK-22516).
360
+ // Applied as `--workspace` is: the request header follows OVERSKY_WORKSPACE_ID for this process.
361
+ const namesAScope = Boolean(flags.space ||
362
+ flags.project ||
363
+ flags.parent ||
364
+ flags.goal ||
365
+ body.spaceId ||
366
+ body.projectId ||
367
+ body.parentId ||
368
+ body.goalId);
369
+ const defaultWorkspace = await resolveCreateWorkspace(namesAScope, process.env, list_1.lookupDefaultWorkspace);
370
+ if (defaultWorkspace) {
371
+ process.env.OVERSKY_WORKSPACE_ID = defaultWorkspace.workspaceId;
372
+ if (!flags.json && defaultWorkspace.workspaceCount > 1) {
373
+ this.logToStderr(`Workspace: ${defaultWorkspace.workspaceName ? `"${defaultWorkspace.workspaceName}"` : defaultWorkspace.workspaceId} ` +
374
+ `(your default). To create it in another: ${this.config.bin} tasks create ... --workspace <id>`);
375
+ }
376
+ }
336
377
  // Resolve --expect BEFORE any write. A bad spec must fail here rather than
337
378
  // reaching the server as a silently-dropped field: a declaration that did
338
379
  // not stick is worse than none, because the board then shows a contract
@@ -36,6 +36,12 @@ export declare function resolveListWorkspace(flags: {
36
36
  name?: string;
37
37
  count: number;
38
38
  } | null>): Promise<ListWorkspaceScope | undefined>;
39
+ /** The default workspace the signed-in person's `skrr workspaces list` reports. */
40
+ export declare function lookupDefaultWorkspace(): Promise<{
41
+ id: string;
42
+ name?: string;
43
+ count: number;
44
+ } | null>;
39
45
  /**
40
46
  * E12: inside an agent session an unfiltered `tasks list --json` returned the
41
47
  * first page of EVERYTHING, which in practice was cancelled test tasks. When the
@@ -54,7 +60,7 @@ export declare function agentSessionOpenDefault(flags: ListFlags, env?: NodeJS.P
54
60
  * What the zero-row case is allowed to say. The bare `No tasks.` was step 3
55
61
  * of `GETTING_STARTED.md` and named no next step; a new user reading it hit
56
62
  * three of these in a row and concluded the product was empty. Follow the
57
- * `commitments/list.ts` pattern: name the command that fixes THIS empty state,
63
+ * `duties/list.ts` pattern: name the command that fixes THIS empty state,
58
64
  * with the specific `--status in_progress` hint kept because a reaped run
59
65
  * genuinely hides here (a real bug, not a first-run scenario).
60
66
  *
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveListWorkspace = resolveListWorkspace;
4
+ exports.lookupDefaultWorkspace = lookupDefaultWorkspace;
4
5
  exports.agentSessionOpenDefault = agentSessionOpenDefault;
5
6
  exports.emptyTasksMessage = emptyTasksMessage;
6
7
  exports.externalKeyPrefixWarnings = externalKeyPrefixWarnings;
@@ -148,7 +149,7 @@ function agentSessionOpenDefault(flags, env = process.env) {
148
149
  * What the zero-row case is allowed to say. The bare `No tasks.` was step 3
149
150
  * of `GETTING_STARTED.md` and named no next step; a new user reading it hit
150
151
  * three of these in a row and concluded the product was empty. Follow the
151
- * `commitments/list.ts` pattern: name the command that fixes THIS empty state,
152
+ * `duties/list.ts` pattern: name the command that fixes THIS empty state,
152
153
  * with the specific `--status in_progress` hint kept because a reaped run
153
154
  * genuinely hides here (a real bug, not a first-run scenario).
154
155
  *