@ours.network/fleet 1.2.0-nightly.6 → 1.2.0-nightly.61

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 +287 -65
  2. package/dist/account-origin.d.ts +2 -0
  3. package/dist/account-origin.js +6 -0
  4. package/dist/agent-ours/bridge.js +35 -9
  5. package/dist/agent-ours/correspondence.d.ts +10 -0
  6. package/dist/agent-ours/correspondence.js +1 -0
  7. package/dist/agent-ours/file-rpc.d.ts +12 -0
  8. package/dist/agent-ours/file-rpc.js +18 -4
  9. package/dist/agent-ours/harness.js +9 -1
  10. package/dist/agent-ours/mcp-endpoint.d.ts +4 -0
  11. package/dist/agent-ours/mcp-endpoint.js +5 -0
  12. package/dist/agent-ours/runtime.d.ts +9 -1
  13. package/dist/agent-ours/runtime.js +50 -2
  14. package/dist/agent-ours/service.d.ts +21 -1
  15. package/dist/agent-ours/service.js +94 -14
  16. package/dist/application/codex-models.d.ts +15 -0
  17. package/dist/application/codex-models.js +56 -0
  18. package/dist/application/conversation-history.d.ts +27 -0
  19. package/dist/application/conversation-history.js +212 -0
  20. package/dist/application/fleet-query-service.d.ts +1 -1
  21. package/dist/application/fleet-query-service.js +2 -2
  22. package/dist/application/legacy-supervisor-identity.d.ts +7 -0
  23. package/dist/application/legacy-supervisor-identity.js +43 -0
  24. package/dist/application/log-service.js +8 -8
  25. package/dist/application/model-catalog.d.ts +1 -1
  26. package/dist/application/model-catalog.js +5 -2
  27. package/dist/application/preset-provenance.d.ts +19 -0
  28. package/dist/application/preset-provenance.js +59 -0
  29. package/dist/application/role-creation-service.js +3 -2
  30. package/dist/application/role-removal-service.js +9 -1
  31. package/dist/application/role-repository.js +19 -2
  32. package/dist/application/room-layout-definitions.d.ts +45 -0
  33. package/dist/application/room-layout-definitions.js +130 -0
  34. package/dist/application/session-control.d.ts +30 -0
  35. package/dist/application/session-control.js +72 -3
  36. package/dist/application/supervisor-ours-tools.d.ts +159 -0
  37. package/dist/application/supervisor-ours-tools.js +115 -0
  38. package/dist/application/task-layouts.d.ts +91 -0
  39. package/dist/application/task-layouts.js +259 -0
  40. package/dist/application/task-room-service.d.ts +99 -3
  41. package/dist/application/task-room-service.js +285 -32
  42. package/dist/application/types.d.ts +2 -0
  43. package/dist/atomic-file.d.ts +5 -0
  44. package/dist/atomic-file.js +62 -1
  45. package/dist/briefing.d.ts +3 -1
  46. package/dist/briefing.js +70 -30
  47. package/dist/build-info.json +7 -4
  48. package/dist/capabilities.d.ts +6 -1
  49. package/dist/capabilities.js +8 -0
  50. package/dist/cli.js +407 -37
  51. package/dist/client-profile.d.ts +5 -17
  52. package/dist/client-profile.js +4 -127
  53. package/dist/config.d.ts +45 -0
  54. package/dist/config.js +57 -6
  55. package/dist/creation.d.ts +1 -1
  56. package/dist/creation.js +4 -4
  57. package/dist/daemon-recovery.d.ts +1 -8
  58. package/dist/daemon-recovery.js +8 -113
  59. package/dist/docs.d.ts +1 -1
  60. package/dist/docs.js +123 -19
  61. package/dist/doctor.d.ts +1 -1
  62. package/dist/doctor.js +55 -60
  63. package/dist/erased-resources.d.ts +9 -0
  64. package/dist/erased-resources.js +87 -0
  65. package/dist/file-delivery/reader.d.ts +15 -0
  66. package/dist/file-delivery/reader.js +63 -0
  67. package/dist/file-delivery/store.d.ts +15 -0
  68. package/dist/file-delivery/store.js +124 -0
  69. package/dist/file-delivery/types.d.ts +19 -0
  70. package/dist/file-delivery/types.js +1 -0
  71. package/dist/fleet-command-audit.d.ts +7 -0
  72. package/dist/fleet-command-audit.js +26 -9
  73. package/dist/harness/agent-session.d.ts +2 -0
  74. package/dist/harness/claude-code-session.js +1 -1
  75. package/dist/harness/claude-code.js +20 -11
  76. package/dist/harness/claude-runtime.d.ts +12 -0
  77. package/dist/harness/claude-runtime.js +43 -0
  78. package/dist/harness/codex-app-server-proxy.d.ts +4 -1
  79. package/dist/harness/codex-app-server-proxy.js +41 -5
  80. package/dist/harness/codex-reasoning.d.ts +5 -0
  81. package/dist/harness/codex-reasoning.js +12 -0
  82. package/dist/harness/codex-runtime.d.ts +11 -1
  83. package/dist/harness/codex-runtime.js +31 -4
  84. package/dist/harness/codex-session.js +2 -2
  85. package/dist/harness/codex.js +23 -12
  86. package/dist/init-wizard.d.ts +2 -0
  87. package/dist/init-wizard.js +38 -19
  88. package/dist/isolation/policy.js +6 -1
  89. package/dist/isolation/types.d.ts +5 -0
  90. package/dist/managed-cli.d.ts +253 -0
  91. package/dist/managed-cli.js +923 -0
  92. package/dist/managed-recovery.d.ts +13 -0
  93. package/dist/managed-recovery.js +31 -0
  94. package/dist/minimal-setup.d.ts +2 -0
  95. package/dist/minimal-setup.js +44 -0
  96. package/dist/monitor.d.ts +8 -34
  97. package/dist/monitor.js +89 -152
  98. package/dist/notifications/fleet-producer.d.ts +19 -0
  99. package/dist/notifications/fleet-producer.js +208 -0
  100. package/dist/notifications/outbox.d.ts +46 -0
  101. package/dist/notifications/outbox.js +158 -0
  102. package/dist/notifications/target-cleanup.d.ts +8 -0
  103. package/dist/notifications/target-cleanup.js +41 -0
  104. package/dist/notifications/task-producer.d.ts +18 -0
  105. package/dist/notifications/task-producer.js +67 -0
  106. package/dist/ops.d.ts +2 -0
  107. package/dist/ops.js +20 -3
  108. package/dist/owner-channel/channel.js +17 -6
  109. package/dist/owner-channel/commands.d.ts +4 -0
  110. package/dist/owner-channel/commands.js +8 -0
  111. package/dist/owner-channel/lifecycle-outbox.js +4 -3
  112. package/dist/owner-channel/ours-client.js +2 -17
  113. package/dist/paths.d.ts +2 -0
  114. package/dist/paths.js +2 -0
  115. package/dist/preset-migration.js +25 -0
  116. package/dist/resolved-plan.js +1 -0
  117. package/dist/rooms-tasks/add-member.d.ts +48 -0
  118. package/dist/rooms-tasks/add-member.js +83 -0
  119. package/dist/rooms-tasks/archived-absence.d.ts +8 -0
  120. package/dist/rooms-tasks/archived-absence.js +48 -0
  121. package/dist/rooms-tasks/cli.js +65 -5
  122. package/dist/rooms-tasks/close.d.ts +6 -2
  123. package/dist/rooms-tasks/close.js +246 -37
  124. package/dist/rooms-tasks/config.d.ts +1 -1
  125. package/dist/rooms-tasks/config.js +11 -4
  126. package/dist/rooms-tasks/cowork-adapter.d.ts +2 -4
  127. package/dist/rooms-tasks/cowork-adapter.js +7 -121
  128. package/dist/rooms-tasks/cowork-http.js +29 -1
  129. package/dist/rooms-tasks/deletion.d.ts +1 -1
  130. package/dist/rooms-tasks/deletion.js +84 -5
  131. package/dist/rooms-tasks/erasure.d.ts +6 -0
  132. package/dist/rooms-tasks/erasure.js +173 -0
  133. package/dist/rooms-tasks/external-worker.d.ts +1 -1
  134. package/dist/rooms-tasks/external-worker.js +3 -4
  135. package/dist/rooms-tasks/layout-binding-client.d.ts +11 -0
  136. package/dist/rooms-tasks/layout-binding-client.js +56 -0
  137. package/dist/rooms-tasks/layout-binding-grants.d.ts +21 -0
  138. package/dist/rooms-tasks/layout-binding-grants.js +128 -0
  139. package/dist/rooms-tasks/layout-cli.d.ts +4 -0
  140. package/dist/rooms-tasks/layout-cli.js +107 -0
  141. package/dist/rooms-tasks/layout-config.d.ts +11 -0
  142. package/dist/rooms-tasks/layout-config.js +89 -0
  143. package/dist/rooms-tasks/layout-control.d.ts +21 -0
  144. package/dist/rooms-tasks/layout-control.js +52 -0
  145. package/dist/rooms-tasks/layout-member-retirement.d.ts +10 -0
  146. package/dist/rooms-tasks/layout-member-retirement.js +90 -0
  147. package/dist/rooms-tasks/layout-service.d.ts +43 -0
  148. package/dist/rooms-tasks/layout-service.js +203 -0
  149. package/dist/rooms-tasks/layout.d.ts +121 -0
  150. package/dist/rooms-tasks/layout.js +285 -0
  151. package/dist/rooms-tasks/legacy-task-member.d.ts +19 -0
  152. package/dist/rooms-tasks/legacy-task-member.js +116 -0
  153. package/dist/rooms-tasks/live-readiness.d.ts +18 -0
  154. package/dist/rooms-tasks/live-readiness.js +85 -0
  155. package/dist/rooms-tasks/member-ownership.d.ts +5 -0
  156. package/dist/rooms-tasks/member-ownership.js +40 -0
  157. package/dist/rooms-tasks/member-startup.d.ts +1 -0
  158. package/dist/rooms-tasks/member-startup.js +2 -0
  159. package/dist/rooms-tasks/provision.d.ts +3 -0
  160. package/dist/rooms-tasks/provision.js +101 -49
  161. package/dist/rooms-tasks/recovery.d.ts +19 -0
  162. package/dist/rooms-tasks/recovery.js +110 -0
  163. package/dist/rooms-tasks/room-state.d.ts +4 -2
  164. package/dist/rooms-tasks/room-state.js +47 -8
  165. package/dist/rooms-tasks/task-service-retirement.d.ts +11 -0
  166. package/dist/rooms-tasks/task-service-retirement.js +21 -0
  167. package/dist/rooms-tasks/task-state.d.ts +51 -8
  168. package/dist/rooms-tasks/task-state.js +245 -25
  169. package/dist/rooms-tasks/types.d.ts +40 -0
  170. package/dist/rooms-tasks/workspace-artifacts.d.ts +6 -0
  171. package/dist/rooms-tasks/workspace-artifacts.js +93 -0
  172. package/dist/rooms-tasks/workspace.d.ts +35 -0
  173. package/dist/rooms-tasks/workspace.js +325 -0
  174. package/dist/runner.d.ts +25 -3
  175. package/dist/runner.js +291 -49
  176. package/dist/session/acp.d.ts +53 -1
  177. package/dist/session/acp.js +216 -40
  178. package/dist/session/arbiter.d.ts +11 -0
  179. package/dist/session/arbiter.js +43 -2
  180. package/dist/session/codex-app-server.d.ts +32 -0
  181. package/dist/session/codex-app-server.js +137 -23
  182. package/dist/session/control.d.ts +12 -1
  183. package/dist/session/control.js +68 -3
  184. package/dist/session/conversation-normalizer.d.ts +2 -1
  185. package/dist/session/conversation-normalizer.js +1 -1
  186. package/dist/session/conversation-store.d.ts +1 -1
  187. package/dist/session/conversation-store.js +7 -11
  188. package/dist/session/conversation-types.d.ts +28 -3
  189. package/dist/session/prompt-batch.d.ts +63 -0
  190. package/dist/session/prompt-batch.js +86 -0
  191. package/dist/session/task-notice.d.ts +14 -0
  192. package/dist/session/task-notice.js +13 -0
  193. package/dist/session/types.d.ts +14 -0
  194. package/dist/setup-tunnel-preflight.d.ts +34 -0
  195. package/dist/setup-tunnel-preflight.js +62 -0
  196. package/dist/socket-path.d.ts +2 -0
  197. package/dist/socket-path.js +22 -0
  198. package/dist/spawn.d.ts +5 -1
  199. package/dist/spawn.js +40 -4
  200. package/dist/startup-prompt.d.ts +4 -0
  201. package/dist/startup-prompt.js +36 -0
  202. package/dist/startup-readiness.d.ts +13 -0
  203. package/dist/startup-readiness.js +38 -0
  204. package/dist/startup-telemetry.d.ts +16 -0
  205. package/dist/startup-telemetry.js +46 -0
  206. package/dist/subscriptions/cli.d.ts +91 -0
  207. package/dist/subscriptions/cli.js +223 -0
  208. package/dist/subscriptions/launch.d.ts +37 -0
  209. package/dist/subscriptions/launch.js +93 -0
  210. package/dist/subscriptions/login.d.ts +75 -0
  211. package/dist/subscriptions/login.js +182 -0
  212. package/dist/subscriptions/observed.d.ts +7 -0
  213. package/dist/subscriptions/observed.js +44 -0
  214. package/dist/subscriptions/probe.d.ts +10 -0
  215. package/dist/subscriptions/probe.js +73 -0
  216. package/dist/subscriptions/service.d.ts +102 -0
  217. package/dist/subscriptions/service.js +364 -0
  218. package/dist/subscriptions/store.d.ts +71 -0
  219. package/dist/subscriptions/store.js +140 -0
  220. package/dist/supervisor/adoption.d.ts +8 -0
  221. package/dist/supervisor/adoption.js +78 -0
  222. package/dist/supervisor/catalog.d.ts +62 -0
  223. package/dist/supervisor/catalog.js +254 -0
  224. package/dist/supervisor/fleet.d.ts +8 -0
  225. package/dist/supervisor/fleet.js +89 -0
  226. package/dist/supervisor/index.js +3 -6
  227. package/dist/supervisor/launchd.d.ts +1 -1
  228. package/dist/supervisor/launchd.js +26 -13
  229. package/dist/supervisor/legacy.d.ts +35 -0
  230. package/dist/supervisor/legacy.js +524 -0
  231. package/dist/supervisor/manager.d.ts +15 -0
  232. package/dist/supervisor/manager.js +270 -0
  233. package/dist/supervisor/scope.d.ts +4 -0
  234. package/dist/supervisor/scope.js +10 -0
  235. package/dist/supervisor/systemd.d.ts +2 -2
  236. package/dist/supervisor/systemd.js +19 -33
  237. package/dist/task-supervision.d.ts +9 -0
  238. package/dist/task-supervision.js +145 -0
  239. package/dist/temp-idle.d.ts +17 -0
  240. package/dist/temp-idle.js +42 -0
  241. package/dist/temp-lifecycle.d.ts +23 -8
  242. package/dist/temp-lifecycle.js +113 -65
  243. package/dist/temp-supervisor-recovery.d.ts +1 -1
  244. package/dist/temp-supervisor-recovery.js +2 -2
  245. package/dist/tunnel-setup-completion.d.ts +7 -0
  246. package/dist/tunnel-setup-completion.js +13 -0
  247. package/dist/tunnel-setup-input.d.ts +19 -0
  248. package/dist/tunnel-setup-input.js +124 -0
  249. package/dist/web/agent-attachments.d.ts +29 -0
  250. package/dist/web/agent-attachments.js +162 -0
  251. package/dist/web/auth.d.ts +63 -2
  252. package/dist/web/auth.js +191 -10
  253. package/dist/web/available-port.d.ts +2 -0
  254. package/dist/web/available-port.js +23 -0
  255. package/dist/web/control.d.ts +3 -3
  256. package/dist/web/control.js +10 -8
  257. package/dist/web/fleet-config-service.d.ts +4 -1
  258. package/dist/web/fleet-config-service.js +46 -15
  259. package/dist/web/prefix-gateway.d.ts +32 -0
  260. package/dist/web/prefix-gateway.js +238 -0
  261. package/dist/web/runtime.d.ts +3 -1
  262. package/dist/web/runtime.js +116 -31
  263. package/dist/web/server.d.ts +16 -0
  264. package/dist/web/server.js +654 -55
  265. package/dist/web/service.d.ts +11 -2
  266. package/dist/web/service.js +30 -4
  267. package/dist/web/workspace-devices.d.ts +107 -0
  268. package/dist/web/workspace-devices.js +277 -0
  269. package/dist/web/workspace-tunnel.d.ts +1 -0
  270. package/dist/web/workspace-tunnel.js +34 -0
  271. package/dist/workspace-enrollment.d.ts +82 -0
  272. package/dist/workspace-enrollment.js +566 -0
  273. package/dist/workspace-replacement.d.ts +66 -0
  274. package/dist/workspace-replacement.js +220 -0
  275. package/docs/acp-files.md +146 -0
  276. package/docs/fleet-migration.md +54 -0
  277. package/docs/live-voice.md +13 -0
  278. package/docs/room-layouts.md +227 -0
  279. package/docs/task-workspaces.md +225 -0
  280. package/docs/validation/managed-cli-permissions.md +421 -0
  281. package/examples/room-layouts/fresh.yaml +27 -0
  282. package/examples/room-layouts/scoped.yaml +21 -0
  283. package/examples/room-layouts/shared.yaml +19 -0
  284. package/package.json +20 -19
  285. package/presets/README.md +78 -0
  286. package/presets/brain-catalog.json +8 -2
  287. package/presets/fleet/agent_templates/Critic.yaml +1 -1
  288. package/presets/fleet/agent_templates/Developer.yaml +1 -1
  289. package/presets/fleet/agent_templates/Engineer.yaml +5 -0
  290. package/presets/fleet/agent_templates/LocalCoordinator.yaml +1 -1
  291. package/presets/fleet/agents/FleetCoordinator.yaml +1 -1
  292. package/presets/fleet/brains/claude-fable-5-1-high.yaml +5 -0
  293. package/presets/fleet/brains/claude-fable-5-1-low.yaml +5 -0
  294. package/presets/fleet/brains/claude-fable-5-1-max.yaml +5 -0
  295. package/presets/fleet/brains/claude-fable-5-1-medium.yaml +5 -0
  296. package/presets/fleet/brains/claude-fable-5-1-xhigh.yaml +5 -0
  297. package/presets/fleet/brains/claude-fable-5-high.yaml +1 -1
  298. package/presets/fleet/brains/claude-fable-5-low.yaml +1 -1
  299. package/presets/fleet/brains/claude-fable-5-max.yaml +1 -1
  300. package/presets/fleet/brains/claude-fable-5-medium.yaml +1 -1
  301. package/presets/fleet/brains/claude-fable-5-xhigh.yaml +1 -1
  302. package/presets/fleet/brains/claude-haiku-4-5-20251001-default.yaml +4 -0
  303. package/presets/fleet/brains/claude-opus-5-5-high.yaml +5 -0
  304. package/presets/fleet/brains/claude-opus-5-5-low.yaml +5 -0
  305. package/presets/fleet/brains/claude-opus-5-5-max.yaml +5 -0
  306. package/presets/fleet/brains/claude-opus-5-5-medium.yaml +5 -0
  307. package/presets/fleet/brains/claude-opus-5-5-xhigh.yaml +5 -0
  308. package/presets/fleet/brains/claude-opus-5-high.yaml +1 -1
  309. package/presets/fleet/brains/claude-opus-5-low.yaml +1 -1
  310. package/presets/fleet/brains/claude-opus-5-max.yaml +1 -1
  311. package/presets/fleet/brains/claude-opus-5-medium.yaml +1 -1
  312. package/presets/fleet/brains/claude-opus-5-xhigh.yaml +1 -1
  313. package/presets/fleet/brains/claude-sonnet-5-high.yaml +1 -1
  314. package/presets/fleet/brains/claude-sonnet-5-low.yaml +1 -1
  315. package/presets/fleet/brains/claude-sonnet-5-max.yaml +1 -1
  316. package/presets/fleet/brains/claude-sonnet-5-medium.yaml +1 -1
  317. package/presets/fleet/brains/claude-sonnet-5-xhigh.yaml +1 -1
  318. package/presets/fleet/brains/codex-gpt-5-3-codex-spark-high.yaml +1 -1
  319. package/presets/fleet/brains/codex-gpt-5-3-codex-spark-low.yaml +1 -1
  320. package/presets/fleet/brains/codex-gpt-5-3-codex-spark-medium.yaml +1 -1
  321. package/presets/fleet/brains/codex-gpt-5-3-codex-spark-xhigh.yaml +1 -1
  322. package/presets/fleet/brains/codex-gpt-5-4-high.yaml +1 -1
  323. package/presets/fleet/brains/codex-gpt-5-4-low.yaml +1 -1
  324. package/presets/fleet/brains/codex-gpt-5-4-medium.yaml +1 -1
  325. package/presets/fleet/brains/codex-gpt-5-4-mini-high.yaml +1 -1
  326. package/presets/fleet/brains/codex-gpt-5-4-mini-low.yaml +1 -1
  327. package/presets/fleet/brains/codex-gpt-5-4-mini-medium.yaml +1 -1
  328. package/presets/fleet/brains/codex-gpt-5-4-mini-xhigh.yaml +1 -1
  329. package/presets/fleet/brains/codex-gpt-5-4-xhigh.yaml +1 -1
  330. package/presets/fleet/brains/codex-gpt-5-5-high.yaml +1 -1
  331. package/presets/fleet/brains/codex-gpt-5-5-low.yaml +1 -1
  332. package/presets/fleet/brains/codex-gpt-5-5-medium.yaml +1 -1
  333. package/presets/fleet/brains/codex-gpt-5-5-xhigh.yaml +1 -1
  334. package/presets/fleet/brains/codex-gpt-5-6-luna-high.yaml +1 -1
  335. package/presets/fleet/brains/codex-gpt-5-6-luna-low.yaml +1 -1
  336. package/presets/fleet/brains/codex-gpt-5-6-luna-max.yaml +1 -1
  337. package/presets/fleet/brains/codex-gpt-5-6-luna-medium.yaml +1 -1
  338. package/presets/fleet/brains/codex-gpt-5-6-luna-xhigh.yaml +1 -1
  339. package/presets/fleet/brains/codex-gpt-5-6-sol-high.yaml +1 -1
  340. package/presets/fleet/brains/codex-gpt-5-6-sol-low.yaml +1 -1
  341. package/presets/fleet/brains/codex-gpt-5-6-sol-max.yaml +1 -1
  342. package/presets/fleet/brains/codex-gpt-5-6-sol-medium.yaml +1 -1
  343. package/presets/fleet/brains/codex-gpt-5-6-sol-ultra.yaml +1 -1
  344. package/presets/fleet/brains/codex-gpt-5-6-sol-xhigh.yaml +1 -1
  345. package/presets/fleet/brains/codex-gpt-5-6-terra-high.yaml +1 -1
  346. package/presets/fleet/brains/codex-gpt-5-6-terra-low.yaml +1 -1
  347. package/presets/fleet/brains/codex-gpt-5-6-terra-max.yaml +1 -1
  348. package/presets/fleet/brains/codex-gpt-5-6-terra-medium.yaml +1 -1
  349. package/presets/fleet/brains/codex-gpt-5-6-terra-ultra.yaml +1 -1
  350. package/presets/fleet/brains/codex-gpt-5-6-terra-xhigh.yaml +1 -1
  351. package/presets/fleet/brains/codex-gpt-6-1-sol-high.yaml +5 -0
  352. package/presets/fleet/brains/codex-gpt-6-1-sol-low.yaml +5 -0
  353. package/presets/fleet/brains/codex-gpt-6-1-sol-max.yaml +5 -0
  354. package/presets/fleet/brains/codex-gpt-6-1-sol-medium.yaml +5 -0
  355. package/presets/fleet/brains/codex-gpt-6-1-sol-ultra.yaml +5 -0
  356. package/presets/fleet/brains/codex-gpt-6-1-sol-xhigh.yaml +5 -0
  357. package/presets/fleet/brains/codex-gpt-6-astra-high.yaml +1 -1
  358. package/presets/fleet/brains/codex-gpt-6-astra-low.yaml +1 -1
  359. package/presets/fleet/brains/codex-gpt-6-astra-max.yaml +1 -1
  360. package/presets/fleet/brains/codex-gpt-6-astra-medium.yaml +1 -1
  361. package/presets/fleet/brains/codex-gpt-6-astra-ultra.yaml +1 -1
  362. package/presets/fleet/brains/codex-gpt-6-astra-xhigh.yaml +1 -1
  363. package/presets/fleet/brains/codex-gpt-6-luna-high.yaml +5 -0
  364. package/presets/fleet/brains/codex-gpt-6-luna-low.yaml +5 -0
  365. package/presets/fleet/brains/codex-gpt-6-luna-max.yaml +5 -0
  366. package/presets/fleet/brains/codex-gpt-6-luna-medium.yaml +5 -0
  367. package/presets/fleet/brains/codex-gpt-6-luna-xhigh.yaml +5 -0
  368. package/presets/fleet/brains/codex-gpt-6-sol-high.yaml +5 -0
  369. package/presets/fleet/brains/codex-gpt-6-sol-low.yaml +5 -0
  370. package/presets/fleet/brains/codex-gpt-6-sol-max.yaml +5 -0
  371. package/presets/fleet/brains/codex-gpt-6-sol-medium.yaml +5 -0
  372. package/presets/fleet/brains/codex-gpt-6-sol-ultra.yaml +5 -0
  373. package/presets/fleet/brains/codex-gpt-6-sol-xhigh.yaml +5 -0
  374. package/presets/fleet/roles/Coordinator.yaml +34 -11
  375. package/presets/fleet/roles/Engineer.yaml +40 -0
  376. package/presets/fleet/room_layouts/engineering.yaml +25 -0
  377. package/presets/fleet/room_layouts/pair.yaml +24 -0
  378. package/presets/fleet/room_layouts/single.yaml +17 -0
  379. package/presets/fleet/room_layouts/team.yaml +30 -0
  380. package/presets/fleet/room_templates/engineering.yaml +19 -0
  381. package/presets/manifest.json +2 -2
  382. package/dist/web-app/assets/index-59GF-gsZ.css +0 -1
  383. package/dist/web-app/assets/index-C0h3ALvs.js +0 -10
  384. package/dist/web-app/icons/ours-fleet-maskable.svg +0 -4
  385. package/dist/web-app/icons/ours-fleet.svg +0 -4
  386. package/dist/web-app/index.html +0 -17
  387. package/dist/web-app/manifest.webmanifest +0 -15
  388. package/dist/web-app/offline.html +0 -18
  389. package/dist/web-app/sw.js +0 -51
@@ -0,0 +1,227 @@
1
+ # YAML Room Layouts
2
+
3
+ Room Layout describes room goals, participants and their shared or independent
4
+ sessions. Rooms and agents have independent lifecycles.
5
+
6
+ Place a layout at `fleet/room_layouts/<name>.yaml` beside the split configuration
7
+ for `fleet.yaml`. Agent Templates remain in `fleet/agent_templates/`.
8
+
9
+ ```yaml
10
+ version: 1
11
+ participants:
12
+ product: {agent_template: Product}
13
+ developer: {agent_template: Developer}
14
+ qa: {agent_template: QA}
15
+ rooms:
16
+ discovery:
17
+ goal: Clarify the problem and acceptance criteria
18
+ members: [product, developer, qa]
19
+ design:
20
+ goal: Review implementation choices
21
+ members: [developer, qa]
22
+ amigos:
23
+ goal: Resolve a concrete acceptance question
24
+ members: [product, developer, qa]
25
+ roles: {product: product, developer: developer, qa: qa}
26
+ ```
27
+
28
+ Participant `instance_scope` controls instance reuse:
29
+
30
+ - `layout` (default): repeating a participant key reuses its exact running instance
31
+ and session within this layout run.
32
+ - `room`: each room using the key gets its own identity and session, lazily created
33
+ when that room opens. Repeated opens of the same active room reuse that instance.
34
+
35
+ For example, one shared process doctor and one independent critic per room:
36
+
37
+ ```yaml
38
+ version: 1
39
+ participants:
40
+ doctor: {agent_template: ProcessDoctor, instance_scope: layout}
41
+ critic: {agent_template: Critic, instance_scope: room}
42
+ rooms:
43
+ discovery:
44
+ goal: Agree on the problem
45
+ members: [doctor, critic]
46
+ design:
47
+ goal: Review the design
48
+ members: [doctor, critic]
49
+ ```
50
+
51
+ Different keys using the same Agent Template still create independent instances.
52
+ See the [shared](../examples/room-layouts/shared.yaml) and
53
+ [fresh](../examples/room-layouts/fresh.yaml) examples, and the mixed
54
+ [scoped](../examples/room-layouts/scoped.yaml) example. All choices can coexist.
55
+ Fresh agents receive their room context. Supply relevant evidence through ordinary
56
+ room messages or existing project documents when needed.
57
+
58
+ A participant without `agent_template` requires a binding. `layout instance`
59
+ returns a local exact reference (supervisor, agent, launch, CID and session).
60
+ Pass participant-to-reference YAML to `create --bindings`. A stopped or replaced instance is rejected. Cross-Fleet bindings require
61
+ an explicit owner grant, as described below.
62
+ Room-scoped participants require `agent_template`; an explicit binding for them
63
+ is rejected before creating resources. Bindings for layout-scoped participants
64
+ keep their existing behavior.
65
+
66
+ ```sh
67
+ ours-fleet layout validate work
68
+ ours-fleet layout create work --id example
69
+ ours-fleet layout open example design
70
+ ours-fleet layout open example discovery
71
+ ours-fleet layout open example amigos
72
+ ours-fleet layout close-room example amigos
73
+ ours-fleet layout status example
74
+ ours-fleet layout close example
75
+ ```
76
+
77
+ Any declared room may open first. `create` only saves the definition and resolved
78
+ Agent Templates; `open` lazily starts missing participants and admits all members
79
+ before sending their room context. The membership notification is informational. Existing room rules govern when
80
+ an agent contributes. Each room opens through an explicit command.
81
+
82
+ `close-room` archives a room and keeps agents available to other rooms. `close`
83
+ archives opened rooms and stops only temporary participants created by this layout
84
+ instance. Explicitly bound participants survive. Cleanup processes existing resources. A 3-Amigos room is an ordinary room with
85
+ complementary members.
86
+ Room-scoped instances follow the same cleanup rules: closing a room does not
87
+ retire them, and a closed room cannot reopen. A new layout run creates new instances.
88
+
89
+ Private state keeps the authorable definition unchanged. Its `participants` map
90
+ uses the original key for shared instances and `<room>:<participant>` for
91
+ room-scoped instances, with `participant` and `room` metadata. Declared but unopened
92
+ rooms have no running instance. Status and task read models distinguish these
93
+ entries and resolve their original Agent Template. Existing snapshots without
94
+ `instance_scope` retain their original keys and require no migration. Snapshots
95
+ using `room` require a Fleet version that supports this field; they are not a
96
+ downgrade format for older Fleet versions.
97
+
98
+ Supported room fields: `goal`, `members`, optional `roles`, `contract`,
99
+ `quiet_membership`, `anonymous`. `contract` is briefing text.
100
+ Top-level fields: `version: 1`, optional `description`, `participants`, `rooms`.
101
+ Participant fields: optional `agent_template`, `instance_scope: layout|room`.
102
+ Unknown fields, ambiguous YAML and invalid member references are rejected.
103
+ Existing templates and tasks keep their behavior.
104
+
105
+ Local Fleet control uses the existing authenticated control socket,
106
+ agent runtime, `spawnTemp` and session queue. Cross-Fleet bindings delegate
107
+ membership operations to their owning Fleet as described below. Private state
108
+ snapshots template definitions; public status hides their environment values.
109
+ Existing owner settings apply; owner CID/invite fingerprint are pinned. Unknown
110
+ mutation outcomes stop new work for inspection rather than blindly replaying a
111
+ spawn or room creation. `close` and `close-room` can still clean known resources.
112
+ Cleanup continues after individual errors and does not stop replacement or borrowed
113
+ instances. Confirmed stopped workers need no live control socket. An unknown
114
+ original outcome remains recorded, and cleanup reports incomplete until inspected;
115
+ it never claims that unknown resources were found or removed. Retrying cleanup
116
+ checks known resources and skips completed cleanup. Reopening an active layout room
117
+ checks its native state, CID and required seats and reports drift without repairing it.
118
+
119
+
120
+ Shared sessions retain available conversation context, not guaranteed perfect
121
+ recall or isolation between rooms. Compaction and model judgment still matter.
122
+ Rooms keep their existing turn scheduling.
123
+
124
+ Each layout instance creates distinct native room names, so several instances can
125
+ open the same declared room key. Participant roles must differ from the attached
126
+ owner role; a collision is rejected before creating resources.
127
+
128
+ Definitions are loaded for authoring commands. Retained instances use their saved
129
+ layout and Agent Templates. Status and cleanup operate on saved resources even
130
+ when the source YAML is broken or removed. New agent launches continue to use
131
+ Fleet's normal configuration and launch checks.
132
+
133
+ ## Borrowing an instance from another Fleet on the same host
134
+
135
+ Fleet A can open rooms using standalone temporary or persistent agents supervised
136
+ by Fleet B under another OS user. Both must select the same daemon instance and
137
+ Cowork gateway. An agent's original Fleet keeps its session, identity and lifecycle
138
+ control. This extends layout bindings; it does not add bindings to legacy
139
+ `room create` / RoomTemplate provisioning.
140
+
141
+ On the agent owner's Fleet B, use its existing web server and grant access to an
142
+ exact live standalone instance:
143
+
144
+ ```sh
145
+ ours-fleet web serve --port 49272 --no-open
146
+ # In another terminal belonging to Fleet B's owner:
147
+ ours-fleet layout share Architect --temporary --participant architect \
148
+ --server-url http://127.0.0.1:49272 --output ./architect.binding.yaml
149
+ ```
150
+
151
+ The command prints the grant ID and output path. It creates a binding YAML and
152
+ an adjacent `.token` file, both owner-only. The private owner record stores a
153
+ SHA-256 token digest, not the token. `share` never overwrites an existing export.
154
+ Transfer both files explicitly to Fleet A's user through your existing secure
155
+ file-transfer method, keeping the receiving credential file owned by that user
156
+ with mode `0600`. Do not share Fleet B's console session, client profile, daemon
157
+ credential, private state directory or supervisor socket. This feature creates
158
+ no additional server; Fleet B's existing web server must remain available.
159
+
160
+ Export each specialist under its logical layout participant key, then merge the
161
+ YAML mappings into one bindings document. Keep every adjacent token filename
162
+ unique. Relative credential paths resolve against the bindings file's directory.
163
+ The reusable layout contains participant factories or empty participant mappings,
164
+ never concrete credentials or running-instance references:
165
+
166
+ ```yaml
167
+ version: 1
168
+ participants:
169
+ architect: {}
170
+ developer: {}
171
+ doctor: {}
172
+ rooms:
173
+ product: {goal: Scope, members: [architect, doctor]}
174
+ design: {goal: Design, members: [architect, developer, doctor]}
175
+ delivery: {goal: Delivery, members: [developer, doctor]}
176
+ ```
177
+
178
+ On Fleet A:
179
+
180
+ ```sh
181
+ ours-fleet layout create project --id project-run --bindings ./bindings.yaml
182
+ ours-fleet layout open project-run product
183
+ ours-fleet layout open project-run design
184
+ ours-fleet layout open project-run delivery
185
+ ours-fleet layout close-room project-run product
186
+ ours-fleet layout close project-run
187
+ ```
188
+
189
+ The exact CID, launch and harness session are reused. Reopening an active room
190
+ checks existing membership without delivering duplicate context. Closing rooms
191
+ archives Cowork history and never stops borrowed instances. After acceptance,
192
+ the original Fleet B owner explicitly retires its standalone temporary specialists
193
+ using the existing lifecycle commands. Persistent specialists keep their ordinary
194
+ lifecycle. Mixed local-created and borrowed participants are supported.
195
+
196
+ An exported reference adds `remote` to the existing instance reference:
197
+
198
+ ```yaml
199
+ remote:
200
+ url: http://127.0.0.1:49272
201
+ grant_id: 11111111-1111-4111-8111-111111111111
202
+ credential_file: architect.binding.yaml.token
203
+ daemon_instance_id: 22222222-2222-4222-8222-222222222222
204
+ ```
205
+
206
+ The grant authorizes only `verify`, `join`, and `assign` for that exact instance.
207
+ Room admission validates the requested room ID and CID against shared Cowork and
208
+ uses an invite issued by Cowork on the owner side; caller-supplied contact invites
209
+ are rejected before contact mutation. Context delivery also requires its active seat, expected room CID and role in
210
+ Cowork. It cannot inspect inventory, spawn, stop, reconfigure, export identities,
211
+ or authenticate browser console routes. It grants the holder room admission and
212
+ room-context delivery, so transfer it only to the intended room creator.
213
+
214
+ Owner-side revocation does not stop the agent or remove existing memberships:
215
+
216
+ ```sh
217
+ ours-fleet layout revoke-binding <grant-id>
218
+ ```
219
+
220
+ Stopped/replaced sessions, a different daemon, revoked grants or unavailable
221
+ owner transport produce errors; no replacement is spawned. A lost response to a
222
+ membership/context mutation retains the existing layout `uncertain` marker.
223
+ Inspect the native room and owning Fleet before retrying; no mutation is blindly
224
+ replayed. Only direct loopback HTTP origins (`127.0.0.1`) are supported;
225
+ redirects, external hosts and forwarded requests are rejected. No cross-host
226
+ support, discovery protocol, mission service, or room conversation limits are
227
+ introduced.
@@ -0,0 +1,225 @@
1
+ # Task workspaces and artifact retention
2
+
3
+ New Tasks allocate a private workspace at
4
+ `$OURS_FLEET_HOME/.ours-fleet/workspaces/tasks/<task-id>` (the user's home is the
5
+ default for `OURS_FLEET_HOME`). New standalone Rooms use
6
+ `.ours-fleet/workspaces/rooms/<room-id>`. A linked Room shares its Task's workspace.
7
+ The absolute path, owner kind/ID and random ownership token are stored in the
8
+ record before directory allocation; `.fleet-workspace.json` proves ownership.
9
+ The path is visible in Task/Room JSON from both CLI and API. A folder of the same
10
+ name without the matching marker is never adopted.
11
+
12
+ Every newly managed member starts at that exact workspace, including retries.
13
+ An explicit template/member `cwd` remains in the sealed input execution plan as
14
+ source context, but the owned workspace overrides the effective launch cwd.
15
+ Copy or clone required source into the workspace; Fleet does not move or delete
16
+ the configured source directory. Briefings explain this rule. Use separate
17
+ per-agent branches/directories inside the workspace for concurrent edits.
18
+
19
+ All execution artifacts, dependency checkouts and worktrees belong inside the
20
+ workspace. Clone each repository there first, then use `git worktree add` with
21
+ destinations inside the same workspace. Git's native worktree registry is the
22
+ registry of record. Fleet audits `.git`, `commondir` and reverse `gitdir` links
23
+ before deletion; both the common repository and all registered worktrees must
24
+ be inside the workspace. An external repository's worktree inside the workspace,
25
+ or an internal repository's worktree outside it, blocks deletion. No broad
26
+ `git worktree prune`, branch deletion, reset or modification of unrelated Git
27
+ metadata is performed. Removing the owned repositories also removes their
28
+ complete internal worktree registries, including dirty and stale owned entries.
29
+
30
+ | Operation | Workspace and execution artifacts | Member runtime evidence |
31
+ | --- | --- | --- |
32
+ | Complete, fail, cancel | Retained while Task is recorded | Retained in Fleet recovery archives |
33
+ | Linked Room retirement or deletion | Task workspace retained | Retained |
34
+ | Internal standalone Room retirement | Room workspace retained | Retained |
35
+ | Explicit Task deletion | Removed after member retirement | All proven owned retired launches removed |
36
+ | Explicit standalone Room deletion | Removed after member retirement | All proven owned retired launches removed |
37
+
38
+ Internal room close means retirement, not destructive Task deletion.
39
+ The existing CLI `room close ID ID` remains a deprecated alias for explicit
40
+ `room delete ID ID`: it deletes standalone room-owned artifacts, but always
41
+ retains a linked Task workspace. Its repeated-ID confirmation is unchanged. To remove a Task's
42
+ artifacts, explicitly delete the Task. Cancellation is not deletion. Automatic
43
+ compatibility cleanup of legacy closed Rooms skips records with owned workspaces.
44
+ These choices reconcile close/remove wording with the requirement that completed,
45
+ recorded Tasks retain all artifacts.
46
+
47
+ Fleet's active member state (briefings, logs, session state and WORKLOG) remains
48
+ under `.ours-fleet/tmp` while supervisors run, then in
49
+ `.ours-fleet/recovery/temporary`. The launch stores the workspace descriptor.
50
+ Explicit deletion first proves managed agents retired, then identifies all
51
+ matching archived launches, including failed and replaced attempts, using the
52
+ workspace descriptor plus role and termination/launch evidence. It preflights
53
+ these archives and atomically transfers them to `.fleet-retired-agents` in the
54
+ workspace before removal. Unrelated archives are not adopted by a name prefix.
55
+ Explicit deletion also erases legacy archives with exact launch/action or room
56
+ provenance, matching private supervisor journals and admission/launch descriptors,
57
+ and the exact retired-launch rows in the global termination journal. It never
58
+ infers ownership from an Agent's shared `cwd`. Artifact removal uses a durable
59
+ manifest, ownership fingerprints and per-entry rename/removal checkpoints, so
60
+ an interrupted deletion can resume without deleting a replacement at the old path.
61
+ Task deletion acceptance receipts exist only during cleanup and are erased after
62
+ settlement (including retry after a crash between Task unlink and receipt cleanup).
63
+ Shared Fleet command audit and lifecycle delivery ledgers have exactly attributed
64
+ target labels, configuration and command arguments removed; unrelated entries are
65
+ preserved. Delivery/deduplication metadata and a content-free erased-resource ID
66
+ registry remain so a running writer cannot resurrect erased content. Infrastructure
67
+ logs without structured ownership, backups, and copies already delivered to other
68
+ identities are external retention boundaries; this is not a claim to erase every
69
+ external copy.
70
+
71
+ Provisioning serializes Task operation then Room close locks, including bounded
72
+ seat waits, so concurrent retries cannot publish competing members and deletion
73
+ cannot race a member launch. Local published Rooms are reused if the Task link
74
+ write was interrupted. Workspace allocation publishes a marked staging directory;
75
+ restart reuses the durable token. Deletion renames the validated workspace to a
76
+ token-specific sibling tombstone before removal. A crash during removal resumes
77
+ that exact tombstone; the Task record is unlinked last. Before collecting archives,
78
+ Task deletion durably checkpoints verified retirement evidence. Retries verify
79
+ any remaining original archive and still refuse replacement live member state
80
+ or a recreated identity even after the archive has been consumed. Failed deletion
81
+ remains retryable with its recorded error.
82
+
83
+ Explicit deletion restores missing owner read/write/traversal bits on real
84
+ directories inside a proven owned workspace or retired archive before the Git
85
+ audit and removal. This handles restrictive artifacts left by tests even when
86
+ they belong to the same Unix user. It adds no group/other access, follows no
87
+ artifact symlinks, crosses no mounted device boundary, and never changes the
88
+ owner. Only Git pointer files that the audit must read may gain owner-read;
89
+ hardlinked unreadable pointers are refused to avoid changing an outside alias.
90
+ Permission changes target a verified open inode. Readable foreign-UID directories
91
+ may be traversed unchanged; missing owner access is never repaired for another
92
+ UID. On Linux, traversal and Git pointer reads use pinned directory/file
93
+ descriptors, and a detected pathname replacement stops cleanup before descending.
94
+ Unreadable entries
95
+ use an `O_PATH` descriptor through `/proc/self/fd`; other platforms retain the
96
+ error if they cannot open the entry safely. A restricted workspace root is
97
+ temporarily accessible to verify its exact ownership marker; failed marker
98
+ verification restores its original mode. Partial token-derived deletion
99
+ tombstones resume directory cleanup without re-reading already-removed Git
100
+ metadata. List, show, and ordinary Git audit do not repair permissions.
101
+
102
+ An accepted deletion is hidden from ordinary task lists while cleanup settles.
103
+ Use `ours-fleet task list --include-deleting --json` (or the API's
104
+ `includeDeleting=true`) to include retained cleanup intents, and `task show ID`
105
+ to see pending/error/retry information. Disappearance from the ordinary list is
106
+ not proof of completed deletion; successful deletion removes the task record
107
+ after workspace and member cleanup.
108
+ Cowork HTTP transport failures record the RPC method, failing stage and a
109
+ bounded error category in the cleanup intent. Credential rejection remains an
110
+ explicit `unauthorized` protocol error. Transport diagnostics do not include
111
+ request bodies, credentials, URLs or raw exception text, and failed mutations
112
+ are never automatically replayed.
113
+
114
+ Deletion rejects traversal, foreign recorded paths, changed markers and symlinked
115
+ workspace ancestors. Ordinary artifact symlinks are unlinked without following
116
+ their targets. Git control symlinks and foreign pointers are refused. As with
117
+ Fleet's other filesystem lifecycle operations, a hostile same-UID process that
118
+ mutates paths during validation requires OS isolation; application checks are
119
+ not a security boundary against that process. Fleet enforces launch cwd and
120
+ safe deletion; unrestricted agents can still write outside cwd, so the artifact
121
+ placement rule also requires agent compliance and/or filesystem isolation.
122
+
123
+ ## Compatibility and limits
124
+
125
+ Records from before this feature without `workspace` remain unmanaged. Existing
126
+ agents retain their cwd and exact briefing/fingerprint so restart matching works.
127
+ Fleet never claims an old cwd, an outcome artifact path, or a legacy recovery
128
+ archive as owned merely because it was mentioned by a Task. Create a new managed
129
+ Task and explicitly copy desired artifacts to migrate; deleting a legacy Task
130
+ continues its previous lifecycle and does not delete arbitrary old files.
131
+
132
+ Changing `OURS_FLEET_HOME` does not silently rebase recorded absolute ownership
133
+ paths. Restore the original state root or explicitly migrate records and files
134
+ with the supervisors stopped; mismatched paths fail closed. Archive transfer
135
+ uses same-filesystem rename and reports a recoverable failure across mounts.
136
+
137
+ Cowork's remote create operation has no idempotency key in this interface. A crash
138
+ after remote creation but before local Room publication is an existing uncertain
139
+ remote result; this change deduplicates locally recorded rooms and does not claim
140
+ to solve that remote transaction window. Inspect remote room ownership before
141
+ retrying ambiguous remote creation. No services or installed Fleet code are
142
+ changed by building or testing this feature.
143
+
144
+
145
+ ## Broken provisioning and deletion recovery
146
+
147
+ Deletion accepts every lifecycle state. Missing temporary directories, identities,
148
+ remote rooms and already-erased artifacts are settled outcomes. Retry the same
149
+ explicit delete after an interruption. A missing local member CID is recovered
150
+ only from a matching authenticated seat in the pinned room (exact invite and
151
+ role, uniquely matched), or a supervisor journal tied to the selected daemon,
152
+ temporary instance and recorded creation action. These sources must agree.
153
+ The recovered CID is persisted before retirement consumes the evidence.
154
+
155
+ A contradictory CID, replacement launch, ambiguous seat, unreadable/corrupt
156
+ record, or unreachable authority is not evidence of absence. Cleanup retains its
157
+ cursor and reports the conflict instead of deleting an unrelated resource or
158
+ claiming complete erasure. An identity with no recoverable authenticated binding
159
+ requires restoring its actual ownership evidence; a name-only force removal is
160
+ not supported. Room deletion removes the linked Task's dead room/member links and preserves its workspace; use explicit
161
+ Task deletion when the request includes the associated Task and its artifacts.
162
+
163
+
164
+ ## Retained task agents
165
+
166
+ Task agents use the common Fleet service and existing runners while remaining
167
+ outside the standalone agent roster. Recovery retains their original identity,
168
+ private runtime owner, launch, working directory, admitted room and supported
169
+ backend conversation. `ours-fleet task recover-members TASK_ID` resumes proven
170
+ stopped members or resets their held restart circuit; it never creates identities
171
+ or invitations. See [upgrade and rollback](fleet-migration.md) for legacy tasks.
172
+
173
+ Recovery delivers an undispatched assignment once, continues interrupted work,
174
+ and sends no readiness/work prompt to a completed idle conversation. An uncertain
175
+ dispatch gets a continuation instead of replaying the assignment. First-session
176
+ retry requires proof that no readiness/work was submitted; established session
177
+ loss requires restoration of the original context. Task agents require a resumable
178
+ harness. Missing ownership, workspace or room evidence keeps recovery held.
179
+
180
+ Parent shutdown suspends task agents. Explicit member stop terminally releases
181
+ the exact saved owner and archives its launch; it does not complete the task.
182
+ Finish/cancel/review retain their existing semantics. Task deletion stops and
183
+ unregisters only owned members, verifies identity absence and retries cleanup
184
+ before erasing task/room/workspace resources. Permanent siblings remain intact.
185
+ Standalone CLI/web removal refuses `TASK_MEMBER_IS_TASK_OWNED`; use the owning
186
+ task lifecycle. Lost/corrupt task or launch records require restoring original
187
+ backup evidence or explicit ownership reconciliation before deletion can finish.
188
+
189
+ ## Owner lifecycle notifications
190
+
191
+ A task mutation commits its notification event in the same atomic task record as
192
+ its effective status. Creation, backlog, provisioning, active, review, done,
193
+ cancelled and failed are covered; block/unblock and deletion are effective changes
194
+ as well. Editing a description, list, block reason or saga checkpoint is not a
195
+ status transition. Each event freezes the task identity, title, old/new status and
196
+ navigation route at commit time, so several transitions between delivery polls
197
+ remain separate. Legacy records begin emitting on their next actual change and
198
+ are not retroactively announced as newly created.
199
+
200
+ The Fleet manager drains committed task events without requiring the web console
201
+ or restarting agents. Its notification producer uses the installation's existing
202
+ owner-scoped credential; it grants no agent arbitrary-send capability. Missing
203
+ configuration or service failure retains the events. Delivery acknowledgement
204
+ runs under the task lock and removes only the accepted event, preserving newer
205
+ changes. A corrupt/unreadable task record is isolated with a safe warning, so
206
+ other tasks continue. Bounded rotating batches prevent one rejected task from
207
+ blocking the entire sender. The built-in `default` task list is unchanged.
208
+
209
+ Deleting is announced only after its intent commits. Before unlink, settlement
210
+ prepares retained pending events plus a stable deleted event outside the task-owned
211
+ workspace. The sender admits that retained copy only when the original task record
212
+ is absent; an interrupted or failed unlink cannot announce deletion. The final
213
+ event opens the task list and includes the removed task's identity. Earlier events
214
+ keep their immutable detail routes, which may be absent after explicit deletion.
215
+
216
+ A service restart or producer crash after acceptance may replay an event; the
217
+ Notifications service must retain its acceptance receipts across read/delete to
218
+ make that replay harmless. Upgrade Notifications alongside Fleet to obtain this
219
+ stronger guarantee. The service's authenticated delivery diagnostics distinguish
220
+ provider acceptance, retry, expired subscription and foreground suppression.
221
+ Provider acceptance is not evidence of actual phone receipt. iPhone Web Push
222
+ requires a supported Home Screen installation and granted device/browser permission;
223
+ reopen the workspace to reconcile an expired subscription and explicitly re-enable
224
+ permission if it was revoked. Every received push must display a notification to
225
+ honor Safari's user-visible push requirement.