@wildo-ai/wildo-cli 1.1.13 → 1.1.15

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 (589) hide show
  1. package/dist/src/commands/build/approve.command.d.ts +4 -0
  2. package/dist/src/commands/build/approve.command.d.ts.map +1 -1
  3. package/dist/src/commands/build/approve.command.js +14 -3
  4. package/dist/src/commands/build/approve.command.js.map +1 -1
  5. package/dist/src/commands/build/close.command.d.ts +4 -0
  6. package/dist/src/commands/build/close.command.d.ts.map +1 -1
  7. package/dist/src/commands/build/close.command.js +17 -3
  8. package/dist/src/commands/build/close.command.js.map +1 -1
  9. package/dist/src/commands/config/sync.command.d.ts.map +1 -1
  10. package/dist/src/commands/config/sync.command.js +21 -1
  11. package/dist/src/commands/config/sync.command.js.map +1 -1
  12. package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
  13. package/dist/src/commands/creation/feed.command.js +6 -3
  14. package/dist/src/commands/creation/feed.command.js.map +1 -1
  15. package/dist/src/commands/fwk/publish-all.command.d.ts +13 -0
  16. package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
  17. package/dist/src/commands/fwk/publish-all.command.js +57 -3
  18. package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
  19. package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
  20. package/dist/src/commands/fwk/publish-docker.command.js +16 -1
  21. package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
  22. package/dist/src/commands/fwk/registry-host.command.d.ts +19 -1
  23. package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
  24. package/dist/src/commands/fwk/registry-host.command.js +78 -3
  25. package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
  26. package/dist/src/commands/generate/email-command.utils.d.ts +2 -0
  27. package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
  28. package/dist/src/commands/generate/email-command.utils.js +5 -0
  29. package/dist/src/commands/generate/email-command.utils.js.map +1 -1
  30. package/dist/src/commands/init.command.d.ts +14 -0
  31. package/dist/src/commands/init.command.d.ts.map +1 -1
  32. package/dist/src/commands/init.command.js +36 -5
  33. package/dist/src/commands/init.command.js.map +1 -1
  34. package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
  35. package/dist/src/commands/local/deregister.command.js +4 -0
  36. package/dist/src/commands/local/deregister.command.js.map +1 -1
  37. package/dist/src/commands/local/dev.command.d.ts +6 -0
  38. package/dist/src/commands/local/dev.command.d.ts.map +1 -1
  39. package/dist/src/commands/local/dev.command.js +72 -0
  40. package/dist/src/commands/local/dev.command.js.map +1 -1
  41. package/dist/src/commands/local/jobs-command.utils.d.ts +24 -0
  42. package/dist/src/commands/local/jobs-command.utils.d.ts.map +1 -0
  43. package/dist/src/commands/local/jobs-command.utils.js +44 -0
  44. package/dist/src/commands/local/jobs-command.utils.js.map +1 -0
  45. package/dist/src/commands/local/jobs-run.command.d.ts +7 -0
  46. package/dist/src/commands/local/jobs-run.command.d.ts.map +1 -0
  47. package/dist/src/commands/local/jobs-run.command.js +92 -0
  48. package/dist/src/commands/local/jobs-run.command.js.map +1 -0
  49. package/dist/src/commands/local/jobs.command.d.ts +7 -0
  50. package/dist/src/commands/local/jobs.command.d.ts.map +1 -0
  51. package/dist/src/commands/local/jobs.command.js +59 -0
  52. package/dist/src/commands/local/jobs.command.js.map +1 -0
  53. package/dist/src/commands/local/tunnel.command.d.ts +84 -0
  54. package/dist/src/commands/local/tunnel.command.d.ts.map +1 -0
  55. package/dist/src/commands/local/tunnel.command.js +274 -0
  56. package/dist/src/commands/local/tunnel.command.js.map +1 -0
  57. package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
  58. package/dist/src/commands/registry/repair-lockfile.command.js +1 -0
  59. package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
  60. package/dist/src/commands/registry/update.command.d.ts.map +1 -1
  61. package/dist/src/commands/registry/update.command.js +1 -0
  62. package/dist/src/commands/registry/update.command.js.map +1 -1
  63. package/dist/src/commands/seal/verify.command.d.ts +18 -0
  64. package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
  65. package/dist/src/commands/seal/verify.command.js +62 -1
  66. package/dist/src/commands/seal/verify.command.js.map +1 -1
  67. package/dist/src/services/application/app-bootstrap.service.d.ts +41 -1
  68. package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
  69. package/dist/src/services/application/app-bootstrap.service.js +49 -3
  70. package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
  71. package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
  72. package/dist/src/services/application/app-runtime-targets.service.js +9 -1
  73. package/dist/src/services/application/app-runtime-targets.service.js.map +1 -1
  74. package/dist/src/services/application/application-dependency-alignment.service.d.ts +20 -0
  75. package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
  76. package/dist/src/services/application/application-dependency-alignment.service.js +32 -2
  77. package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
  78. package/dist/src/services/application/local-tunnel.service.d.ts +153 -0
  79. package/dist/src/services/application/local-tunnel.service.d.ts.map +1 -0
  80. package/dist/src/services/application/local-tunnel.service.js +294 -0
  81. package/dist/src/services/application/local-tunnel.service.js.map +1 -0
  82. package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
  83. package/dist/src/services/application/provider-runtime-sync.service.js +29 -1
  84. package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
  85. package/dist/src/services/application/saas-skeleton.service.d.ts +7 -0
  86. package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
  87. package/dist/src/services/application/saas-skeleton.service.js +26 -2
  88. package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
  89. package/dist/src/services/catalog/service-address-resolver.service.d.ts +7 -1
  90. package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
  91. package/dist/src/services/catalog/service-address-resolver.service.js +6 -3
  92. package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
  93. package/dist/src/services/companion/build-console.service.d.ts +39 -2
  94. package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
  95. package/dist/src/services/companion/build-console.service.js +54 -4
  96. package/dist/src/services/companion/build-console.service.js.map +1 -1
  97. package/dist/src/services/companion/creation-console.service.d.ts +6 -1
  98. package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
  99. package/dist/src/services/companion/creation-console.service.js +14 -2
  100. package/dist/src/services/companion/creation-console.service.js.map +1 -1
  101. package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -1
  102. package/dist/src/services/companion/creation-drive.service.js +5 -2
  103. package/dist/src/services/companion/creation-drive.service.js.map +1 -1
  104. package/dist/src/services/credentials/application-secrets.service.d.ts +6 -0
  105. package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -1
  106. package/dist/src/services/credentials/application-secrets.service.js +1 -1
  107. package/dist/src/services/credentials/application-secrets.service.js.map +1 -1
  108. package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
  109. package/dist/src/services/credentials/composed-provider-catalogue.js +14 -2
  110. package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
  111. package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
  112. package/dist/src/services/credentials/provider-env-vars.utils.js +3 -1
  113. package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
  114. package/dist/src/services/credentials/secret-requirements.service.d.ts +2 -1
  115. package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
  116. package/dist/src/services/credentials/secret-requirements.service.js +17 -1
  117. package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
  118. package/dist/src/services/credentials/secrets-writer.service.d.ts +11 -2
  119. package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
  120. package/dist/src/services/credentials/secrets-writer.service.js +12 -3
  121. package/dist/src/services/credentials/secrets-writer.service.js.map +1 -1
  122. package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -1
  123. package/dist/src/services/deployment/application-runtime-environment.js +3 -13
  124. package/dist/src/services/deployment/application-runtime-environment.js.map +1 -1
  125. package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
  126. package/dist/src/services/deployment/ci-deploy-generator.service.js +3 -3
  127. package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
  128. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +3 -3
  129. package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
  130. package/dist/src/services/deployment/docker/docker-compose-generator.service.js +24 -14
  131. package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
  132. package/dist/src/services/deployment/framework-pod-network-membership.d.ts +6 -0
  133. package/dist/src/services/deployment/framework-pod-network-membership.d.ts.map +1 -1
  134. package/dist/src/services/deployment/framework-pod-network-membership.js +12 -3
  135. package/dist/src/services/deployment/framework-pod-network-membership.js.map +1 -1
  136. package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +1 -1
  137. package/dist/src/services/deployment/host-toolchain-readiness.service.js +1 -1
  138. package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
  139. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +4 -1
  140. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
  141. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +20 -8
  142. package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
  143. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +7 -0
  144. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
  145. package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
  146. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
  147. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +15 -9
  148. package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
  149. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts +43 -0
  150. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.d.ts.map +1 -0
  151. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js +12 -0
  152. package/dist/src/services/deployment/k8s/kind-pod-host-gateway.js.map +1 -0
  153. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts +3 -1
  154. package/dist/src/services/deployment/k8s/off-cluster-backing-services.d.ts.map +1 -1
  155. package/dist/src/services/deployment/k8s/off-cluster-backing-services.js.map +1 -1
  156. package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts +124 -0
  157. package/dist/src/services/deployment/local-dev-late-workspace-members.service.d.ts.map +1 -0
  158. package/dist/src/services/deployment/local-dev-late-workspace-members.service.js +249 -0
  159. package/dist/src/services/deployment/local-dev-late-workspace-members.service.js.map +1 -0
  160. package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
  161. package/dist/src/services/deployment/local-precondition-checks.service.js +4 -2
  162. package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
  163. package/dist/src/services/environment/authored-infra-config.utils.d.ts +9 -0
  164. package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
  165. package/dist/src/services/environment/authored-infra-config.utils.js +20 -1
  166. package/dist/src/services/environment/authored-infra-config.utils.js.map +1 -1
  167. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts +6 -0
  168. package/dist/src/services/environment/container-host-gateway-listen-host.d.ts.map +1 -1
  169. package/dist/src/services/environment/container-host-gateway-listen-host.js +6 -0
  170. package/dist/src/services/environment/container-host-gateway-listen-host.js.map +1 -1
  171. package/dist/src/services/environment/env-configuration-generator.service.d.ts +12 -0
  172. package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
  173. package/dist/src/services/environment/env-configuration-generator.service.js +45 -8
  174. package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
  175. package/dist/src/services/environment/env-vars-builder.service.d.ts +2 -1
  176. package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
  177. package/dist/src/services/environment/env-vars-builder.service.js +47 -32
  178. package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
  179. package/dist/src/services/environment/environment-lifecycle.service.d.ts +7 -4
  180. package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
  181. package/dist/src/services/environment/environment-lifecycle.service.js +14 -18
  182. package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
  183. package/dist/src/services/environment/environment-service-profile.utils.d.ts +8 -1
  184. package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -1
  185. package/dist/src/services/environment/environment-service-profile.utils.js +14 -1
  186. package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -1
  187. package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
  188. package/dist/src/services/environment/environment-setup.service.js +17 -6
  189. package/dist/src/services/environment/environment-setup.service.js.map +1 -1
  190. package/dist/src/services/environment/environment.service.d.ts +4 -3
  191. package/dist/src/services/environment/environment.service.d.ts.map +1 -1
  192. package/dist/src/services/environment/environment.service.js +0 -1
  193. package/dist/src/services/environment/environment.service.js.map +1 -1
  194. package/dist/src/services/framework/framework-docker-publish.service.d.ts +129 -0
  195. package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
  196. package/dist/src/services/framework/framework-docker-publish.service.js +271 -19
  197. package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
  198. package/dist/src/services/framework/github-actions-annotation.d.ts +19 -0
  199. package/dist/src/services/framework/github-actions-annotation.d.ts.map +1 -0
  200. package/dist/src/services/framework/github-actions-annotation.js +25 -0
  201. package/dist/src/services/framework/github-actions-annotation.js.map +1 -0
  202. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts +43 -0
  203. package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts.map +1 -0
  204. package/dist/src/services/framework/registry-host/registry-host-upgrade.js +117 -0
  205. package/dist/src/services/framework/registry-host/registry-host-upgrade.js.map +1 -0
  206. package/dist/src/services/framework/registry-host/registry-host.service.d.ts +1 -1
  207. package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
  208. package/dist/src/services/framework/registry-host/registry-host.service.js +2 -0
  209. package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
  210. package/dist/src/services/registry/installed-file-state.utils.d.ts +8 -0
  211. package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
  212. package/dist/src/services/registry/installed-file-state.utils.js +9 -1
  213. package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
  214. package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
  215. package/dist/src/services/registry/module-install.service.js +1 -0
  216. package/dist/src/services/registry/module-install.service.js.map +1 -1
  217. package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
  218. package/dist/src/services/registry/provider-module-scaffold.service.js +4 -0
  219. package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
  220. package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
  221. package/dist/src/services/security/csp-sync.service.js +21 -2
  222. package/dist/src/services/security/csp-sync.service.js.map +1 -1
  223. package/dist/tsconfig.build.tsbuildinfo +1 -1
  224. package/framework-root-package.json +3 -3
  225. package/package.json +23 -23
  226. package/scripts/app-dependency-alignment/propagated-engine-overrides.json +1 -1
  227. package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +31 -9
  228. package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -0
  229. package/templates/infra/registry-host/docker-compose.yml +9 -2
  230. package/templates/infra/registry-host/upgrade-image.sh +108 -0
  231. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.fr.ts +22 -0
  232. package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.fr.ts +23 -0
  233. package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.fr.ts +23 -0
  234. package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.fr.ts +23 -0
  235. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.ts +28 -0
  236. package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.ts +28 -0
  237. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +2 -1
  238. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +2 -1
  239. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
  240. package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
  241. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.en.ts +40 -0
  242. package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.fr.ts +40 -0
  243. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -1
  244. package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -1
  245. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +2 -1
  246. package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +2 -1
  247. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +2 -1
  248. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +2 -1
  249. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +3 -1
  250. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +3 -1
  251. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
  252. package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
  253. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +3 -1
  254. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +4 -2
  255. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +18 -1
  256. package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +18 -1
  257. package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +10 -82
  258. package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +0 -72
  259. package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -33
  260. package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -33
  261. package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +0 -108
  262. package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +0 -108
  263. package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +8 -24
  264. package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +10 -26
  265. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +0 -12
  266. package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +0 -12
  267. package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -74
  268. package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +0 -66
  269. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +3 -21
  270. package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +0 -18
  271. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +3 -33
  272. package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +0 -30
  273. package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +13 -55
  274. package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +0 -42
  275. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +8 -24
  276. package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +8 -24
  277. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +0 -27
  278. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +0 -27
  279. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +13 -43
  280. package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +0 -30
  281. package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +2 -70
  282. package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +2 -70
  283. package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +41 -94
  284. package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +41 -94
  285. package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +2 -22
  286. package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +2 -22
  287. package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +0 -24
  288. package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +0 -24
  289. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +25 -160
  290. package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +25 -160
  291. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -28
  292. package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -30
  293. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +92 -23
  294. package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +95 -26
  295. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -25
  296. package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +4 -28
  297. package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +0 -18
  298. package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -18
  299. package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +2 -58
  300. package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +2 -58
  301. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.en.ts +168 -0
  302. package/templates/saas/i18n/engine/resources/applicationProviderCredentials.fr.ts +168 -0
  303. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +0 -30
  304. package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +0 -30
  305. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +3 -42
  306. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +5 -44
  307. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -30
  308. package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +0 -27
  309. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +0 -24
  310. package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +0 -24
  311. package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +113 -61
  312. package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +113 -61
  313. package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +0 -138
  314. package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +0 -138
  315. package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +3 -27
  316. package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +0 -24
  317. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +5 -54
  318. package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +5 -54
  319. package/templates/saas/i18n/engine/resources/applications.en.ts +39 -2177
  320. package/templates/saas/i18n/engine/resources/applications.fr.ts +39 -2177
  321. package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +38 -31
  322. package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +38 -31
  323. package/templates/saas/i18n/engine/resources/auditLogs.en.ts +78 -111
  324. package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +78 -111
  325. package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +2 -4
  326. package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +2 -4
  327. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +8 -6
  328. package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +8 -6
  329. package/templates/saas/i18n/engine/resources/chatConversations.en.ts +0 -18
  330. package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +0 -18
  331. package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +0 -44
  332. package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +0 -44
  333. package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +4 -43
  334. package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +4 -43
  335. package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +16 -27
  336. package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +16 -27
  337. package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +0 -27
  338. package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +0 -27
  339. package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +0 -27
  340. package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +0 -27
  341. package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +22 -17
  342. package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +22 -17
  343. package/templates/saas/i18n/engine/resources/dataSubjectRequests.en.ts +410 -0
  344. package/templates/saas/i18n/engine/resources/dataSubjectRequests.fr.ts +410 -0
  345. package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +128 -146
  346. package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +0 -18
  347. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +13 -43
  348. package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +0 -30
  349. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +0 -12
  350. package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +0 -12
  351. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +0 -21
  352. package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +0 -21
  353. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +24 -45
  354. package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +0 -21
  355. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +0 -24
  356. package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +0 -24
  357. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +0 -21
  358. package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +0 -21
  359. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -14
  360. package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +0 -6
  361. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +0 -24
  362. package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +0 -24
  363. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +150 -174
  364. package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +0 -24
  365. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +12 -33
  366. package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +0 -21
  367. package/templates/saas/i18n/engine/resources/externalEffectReservations.en.ts +147 -0
  368. package/templates/saas/i18n/engine/resources/externalEffectReservations.fr.ts +147 -0
  369. package/templates/saas/i18n/engine/resources/files.en.ts +0 -39
  370. package/templates/saas/i18n/engine/resources/files.fr.ts +0 -39
  371. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +0 -18
  372. package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +0 -18
  373. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.en.ts +115 -0
  374. package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.fr.ts +115 -0
  375. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +0 -27
  376. package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +0 -27
  377. package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +3 -30
  378. package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +0 -27
  379. package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +0 -27
  380. package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +0 -27
  381. package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +11 -25
  382. package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +11 -25
  383. package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +3 -30
  384. package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +0 -27
  385. package/templates/saas/i18n/engine/resources/legalHolds.en.ts +0 -88
  386. package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +0 -88
  387. package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -40
  388. package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +0 -24
  389. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +13 -37
  390. package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +0 -24
  391. package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +10 -40
  392. package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +0 -30
  393. package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +120 -60
  394. package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +120 -60
  395. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +3 -21
  396. package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +0 -18
  397. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +3 -33
  398. package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +0 -30
  399. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +0 -27
  400. package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +0 -27
  401. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +0 -27
  402. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +0 -27
  403. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +13 -43
  404. package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +0 -30
  405. package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +2 -79
  406. package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -79
  407. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +0 -549
  408. package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +0 -549
  409. package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +0 -27
  410. package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +0 -27
  411. package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +13 -18
  412. package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +13 -18
  413. package/templates/saas/i18n/engine/resources/organizationCustomDomains.en.ts +195 -0
  414. package/templates/saas/i18n/engine/resources/organizationCustomDomains.fr.ts +195 -0
  415. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.en.ts +153 -0
  416. package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.fr.ts +153 -0
  417. package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +0 -39
  418. package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +0 -39
  419. package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -34
  420. package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -34
  421. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +25 -160
  422. package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +25 -160
  423. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -28
  424. package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -30
  425. package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +3 -18
  426. package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +0 -15
  427. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +95 -26
  428. package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +95 -26
  429. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +14 -45
  430. package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +14 -45
  431. package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +1 -17
  432. package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -17
  433. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +2 -26
  434. package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +4 -28
  435. package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +2 -95
  436. package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +2 -95
  437. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +0 -27
  438. package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +0 -27
  439. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +3 -36
  440. package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +0 -33
  441. package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +0 -12
  442. package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -12
  443. package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +2 -67
  444. package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -67
  445. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -9
  446. package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -9
  447. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +0 -27
  448. package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +0 -27
  449. package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +0 -37
  450. package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -37
  451. package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +0 -37
  452. package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -37
  453. package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +1 -17
  454. package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -17
  455. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +0 -58
  456. package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +0 -58
  457. package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +0 -128
  458. package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +0 -128
  459. package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +0 -83
  460. package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +0 -83
  461. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +0 -43
  462. package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +0 -43
  463. package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +5 -76
  464. package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +5 -76
  465. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +4 -43
  466. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +6 -45
  467. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -30
  468. package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +0 -27
  469. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +0 -37
  470. package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +0 -37
  471. package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +113 -74
  472. package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +113 -74
  473. package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +0 -148
  474. package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +0 -148
  475. package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +40 -78
  476. package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +42 -80
  477. package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -50
  478. package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +2 -50
  479. package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +0 -49
  480. package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +0 -49
  481. package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +13 -37
  482. package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +13 -37
  483. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +5 -67
  484. package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +5 -67
  485. package/templates/saas/i18n/engine/resources/organizations.en.ts +34 -637
  486. package/templates/saas/i18n/engine/resources/organizations.fr.ts +32 -635
  487. package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +0 -91
  488. package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +0 -91
  489. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +0 -24
  490. package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +0 -24
  491. package/templates/saas/i18n/engine/resources/prices.en.ts +47 -108
  492. package/templates/saas/i18n/engine/resources/prices.fr.ts +48 -109
  493. package/templates/saas/i18n/engine/resources/products.en.ts +24 -68
  494. package/templates/saas/i18n/engine/resources/products.fr.ts +24 -68
  495. package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +0 -87
  496. package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +0 -87
  497. package/templates/saas/i18n/engine/resources/promotions.en.ts +4 -56
  498. package/templates/saas/i18n/engine/resources/promotions.fr.ts +6 -58
  499. package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +77 -101
  500. package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +0 -24
  501. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +2 -25
  502. package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +2 -25
  503. package/templates/saas/i18n/engine/resources/referrals.en.ts +21 -18
  504. package/templates/saas/i18n/engine/resources/referrals.fr.ts +21 -18
  505. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +0 -80
  506. package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +0 -80
  507. package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +0 -89
  508. package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +0 -89
  509. package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +0 -27
  510. package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +0 -27
  511. package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +108 -112
  512. package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +108 -112
  513. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -21
  514. package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -21
  515. package/templates/saas/i18n/engine/resources/signatureRequestSigners.en.ts +141 -0
  516. package/templates/saas/i18n/engine/resources/signatureRequestSigners.fr.ts +141 -0
  517. package/templates/saas/i18n/engine/resources/signatureRequests.en.ts +205 -0
  518. package/templates/saas/i18n/engine/resources/signatureRequests.fr.ts +205 -0
  519. package/templates/saas/i18n/engine/resources/smsNumberAssignments.en.ts +101 -0
  520. package/templates/saas/i18n/engine/resources/smsNumberAssignments.fr.ts +101 -0
  521. package/templates/saas/i18n/engine/resources/smsOptOuts.en.ts +166 -0
  522. package/templates/saas/i18n/engine/resources/smsOptOuts.fr.ts +166 -0
  523. package/templates/saas/i18n/engine/resources/smsProviderEvents.en.ts +195 -0
  524. package/templates/saas/i18n/engine/resources/smsProviderEvents.fr.ts +195 -0
  525. package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +0 -27
  526. package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +0 -27
  527. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +3 -39
  528. package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +0 -36
  529. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +0 -3
  530. package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +0 -3
  531. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +0 -6
  532. package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +0 -6
  533. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +3 -21
  534. package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +0 -18
  535. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +3 -33
  536. package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +0 -30
  537. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +0 -27
  538. package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +0 -27
  539. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +13 -43
  540. package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +0 -30
  541. package/templates/saas/i18n/engine/resources/userCredentials.en.ts +3 -87
  542. package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +0 -84
  543. package/templates/saas/i18n/engine/resources/userFeatures.en.ts +0 -12
  544. package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +0 -12
  545. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +25 -160
  546. package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +25 -160
  547. package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -28
  548. package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -30
  549. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +13 -18
  550. package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +13 -18
  551. package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +3 -18
  552. package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +0 -15
  553. package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +13 -40
  554. package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +0 -27
  555. package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +0 -15
  556. package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +0 -15
  557. package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +3 -36
  558. package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +0 -33
  559. package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -60
  560. package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -60
  561. package/templates/saas/i18n/engine/resources/userProfiles.en.ts +5 -56
  562. package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +0 -51
  563. package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +1 -17
  564. package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -17
  565. package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +0 -52
  566. package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +0 -52
  567. package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -56
  568. package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -56
  569. package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +5 -61
  570. package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +0 -56
  571. package/templates/saas/i18n/engine/resources/user_self.en.ts +37 -214
  572. package/templates/saas/i18n/engine/resources/user_self.fr.ts +37 -214
  573. package/templates/saas/i18n/engine/resources/users.en.ts +53 -180
  574. package/templates/saas/i18n/engine/resources/users.fr.ts +53 -180
  575. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +4 -1
  576. package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +9 -1
  577. package/templates/saas/scenarios/add-website/files/website/Dockerfile +4 -1
  578. package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -0
  579. package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
  580. package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +3 -1
  581. package/templates/saas/skeleton/.wildo-saas/wildo-dev-companion/scripts/dev-supervised.sh +18 -4
  582. package/templates/saas/skeleton/backend-api/Dockerfile +5 -2
  583. package/templates/saas/skeleton/frontend/Dockerfile +4 -1
  584. package/templates/saas/skeleton/frontend/nginx-config/default.conf.hbs +1 -1
  585. package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +4 -4
  586. package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +10 -1
  587. package/templates/saas/skeleton/frontend/vite.config.ts.hbs +14 -3
  588. package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +2 -0
  589. package/wildo-framework.info.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"creation-console.service.js","sourceRoot":"","sources":["../../../../src/services/companion/creation-console.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,8BAA8B,EAU9B,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,iCAAiC,EAA6B,8BAA8B,EAAE,MAAM,sC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ason,\n CreationConsoleAnswerAction,\n CreationConsoleAnswerSurface,\n CreationConsoleQuestionKind,\n parseCreationConsoleQuestionId,\n type CreationConsole_AnswerOutcome,\n type CreationConsole_AnswerRequest,\n type CreationConsole_Feed,\n type CreationConsole_FeedLine,\n type CreationConsole_ProposalRequest,\n type CreationConsole_ProposalResponse,\n type CreationConsole_Pulse,\n type CreationConsole_Question,\n type CreationConsole_QuestionQueue,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationHomeSection,\n} from '@wildo-ai/platform-core-shared';\n\nimport { MetaWorkflow_ElicitationNonAnswer, ApplicationInterviewDepth, MetaWorkflow_EvaluationVerdict } from '@wildo-ai/saas-models/meta-workflows';\nimport { ApplicationCreatorInputAnswerStanding, playbookInstanceId } from '@wildo-ai/saas-specifications/application-creation';\nimport { INTERVIEW_ANSWER_PROPOSER_REF } from '@wildo-ai/application-creation-runtime';\nimport { getFrameworkKnowledgePlaybook } from '@wildo-ai/framework-knowledge';\n\nimport { CompanionClient, CompanionRefusalError, CompanionRequestTimeoutError } from './companion-client.service';\nimport { PulseFailure, describePulseFailure } from './console-fast-path';\nimport type { CreationRunReport } from './creation-run-report.models';\nimport type { ConsoleAcceptOutcome } from './build-console.service';\nimport { GitHelper } from './git-helper.service';\nimport { CompanionRequestRetryPolicy, type CompanionClientOptions } from './companion.schemas';\n\n/** What `POST /brand/logo` answers: the panel's winner, what was promoted into the specification, and its warnings. */\nexport interface ConsoleBrandLogoOutcome {\n readonly redrawn: boolean;\n readonly deliberation: { readonly recordPath: string; readonly staged: { readonly winnerRef: string }; readonly warnings: readonly string[] };\n readonly accept: { readonly promotedFiles: readonly string[]; readonly resolvedAssetsModulePath: string; readonly warnings: readonly string[] };\n}\n\n/**\n * The CREATION CONSOLE on the CLI side — how a coding-agent session (or a person at a terminal)\n * follows what the companion did and answers what it asks.\n *\n * The companion is the master of creation; the console drives it and the workbench shows its state.\n * Everything here reads the companion's `/api/companion/creation/*` routes, which serve the SAME\n * creation-plane rows the workbench renders and answer through the SAME services — so this module\n * holds transport and wording only, never a fact of its own.\n */\nexport const CreationConsoleClient = {\n readFeed: (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n CompanionClient.get<CreationConsole_Feed>('/api/companion/creation/feed', options),\n\n /**\n * The feed and the pulse in ONE attempt each (#1657): a background watcher and a session-start hook\n * must learn at once that the companion is down, not after the safe-read retries a person's command\n * gets. A refusal and a failed connection both throw, as `get` does.\n */\n readFeedOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n readJsonOnce<CreationConsole_Feed>('/api/companion/creation/feed', options),\n readPulseOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Pulse> =>\n readJsonOnce<CreationConsole_Pulse>('/api/companion/creation/pulse', options),\n\n /** The eligibility board, as {@link PlaybookStanding} rows — what `wildo creation why` explains an unrun playbook from. */\n readPlaybookBoard: (options: CompanionClientOptions): Promise<{ readonly playbooks: readonly PlaybookStanding[] }> =>\n CompanionClient.get<{ readonly playbooks: readonly PlaybookStanding[] }>('/api/companion/playbooks', options),\n\n readQuestions: (options: CompanionClientOptions): Promise<CreationConsole_QuestionQueue> =>\n CompanionClient.get<CreationConsole_QuestionQueue>('/api/companion/creation/questions', options),\n\n answer: (options: CompanionClientOptions, request: CreationConsole_AnswerRequest): Promise<CreationConsole_AnswerOutcome> =>\n CompanionClient.post<CreationConsole_AnswerOutcome>('/api/companion/creation/questions/answer', request, options),\n\n /* Interview depth and proposed answers (#2129). Proposing writes nothing; depth is a dossier write. */\n setInterviewDepth: (options: CompanionClientOptions, interviewDepth: ApplicationInterviewDepth) =>\n CompanionClient.post<{ readonly interviewDepth: string; readonly packageRelativePath: string }>('/api/companion/creation/interview/depth', { interviewDepth }, options),\n proposeInterviewAnswers: (options: CompanionClientOptions, request: CreationConsole_ProposalRequest): Promise<CreationConsole_ProposalResponse> =>\n CompanionClient.post<CreationConsole_ProposalResponse>('/api/companion/creation/interview/proposals', request, options),\n\n /* The write register (#1652): what each playbook run wrote, its diff, revert and accept. */\n writes: (options: CompanionClientOptions) =>\n CompanionClient.get<ConsoleRunWrites>('/api/companion/runs/writes', options),\n diff: (options: CompanionClientOptions, runId: string) =>\n CompanionClient.get<{ readonly runId: string; readonly playbookRef: string; readonly at: string; readonly files: ReadonlyArray<{ readonly path: string; readonly diverged: boolean; readonly diff: string }> }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/diff`, options),\n revert: (options: CompanionClientOptions, runId: string, force: boolean) =>\n // `refusedLaterRun` (#1614, #1666): files a LATER run landed on, never reverted — not even under force.\n // Both refusal lists OPTIONAL: a companion older than a field omits it, and the renderer reads it so.\n CompanionClient.post<{\n readonly reverted: readonly string[];\n readonly refusedDiverged?: readonly string[];\n readonly refusedLaterRun?: ReadonlyArray<{ readonly path: string; readonly runId: string }>;\n // #3264: binary files whose pre-image was never committed, so nothing can give it back, not even force.\n readonly refusedWithoutPreImage?: readonly string[];\n }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/revert`, force ? { force: true } : {}, options),\n /* The run report and the intervention ledger (#2231): read-only, plus the one thing it asks — a reason. */\n report: (options: CompanionClientOptions): Promise<CreationRunReport> =>\n CompanionClient.get<CreationRunReport>('/api/companion/creation/report', options),\n stateInterventionReason: (options: CompanionClientOptions, interventionId: string, reason: string) =>\n CompanionClient.post<{ readonly interventionId: string; readonly statedAt: string }>(\n `/api/companion/creation/interventions/${encodeURIComponent(interventionId)}/reason`, { reason }, options),\n loop: (options: CompanionClientOptions, request: { readonly goal: string; readonly maximumIterations: number; readonly fanOut?: number; readonly skipPreflight?: boolean }) =>\n CompanionClient.post<ConsoleLoopResult>('/api/companion/playbooks/loop', request, options),\n /* Reviewer charters and deliberations (#1656): the console door to what `journey-run` taught as raw routes. */\n derivePersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/derive', { roleRef }, options),\n acceptPersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/accept', { roleRef }, options),\n deliberate: (options: CompanionClientOptions, request: Record<string, unknown>) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/deliberations/run', request, options),\n /* The logo (#2411): deliberate then accept in one call; refused over an accepted mark unless `redraw`. */\n brandLogo: (options: CompanionClientOptions, redraw: boolean) =>\n CompanionClient.post<ConsoleBrandLogoOutcome>('/api/companion/brand/logo', redraw ? { redraw: true } : {}, options),\n acceptRun: (options: CompanionClientOptions, runId: string, force: boolean) =>\n CompanionClient.post<ConsoleAcceptOutcome>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/accept`, force ? { force: true } : {}, options),\n /* The creator's recorded answers, committed on their own (#2332). */\n acceptDossier: (options: CompanionClientOptions) =>\n CompanionClient.post<ConsoleAcceptOutcome>('/api/companion/creation/dossier/accept', {}, options),\n};\n\n/**\n * What `GET /api/companion/runs/writes` answers (#1652): each playbook run's writes, newest first. `landingFailed` and\n * `remedies` mark a run that FAILED after writing (#3265), so a half-applied composition is never listed like a landing;\n * `binary` marks a file its record names by hash (#3264). All three optional: a companion older than them omits them.\n */\nexport interface ConsoleRunWrites {\n readonly runs: ReadonlyArray<{\n readonly runId: string;\n readonly playbookRef: string;\n readonly at: string;\n readonly files: ReadonlyArray<{ readonly path: string; readonly existedBefore: boolean; readonly binary?: boolean }>;\n readonly acceptedCommitSha?: string;\n readonly landingFailed?: boolean;\n readonly remedies?: { readonly accept: string; readonly revert: string };\n }>;\n}\n\n/**\n * Whether a feed line is the one a console REFERENCE names — a question id, a line id, a run id, a\n * build task or a playbook. Every identifier the console prints resolves through this one predicate,\n * so `wildo creation why` and `wildo workbench open` accept exactly the same references.\n */\nexport function feedLineNamesReference(line: CreationConsole_FeedLine, reference: string): boolean {\n return line.questionId === reference || line.lineId === reference || line.targetResourceId === reference\n || line.target?.runId === reference || line.taskRef === reference || line.playbookRef === reference;\n}\n\n/** One playbook's row on the eligibility board (`GET /playbooks`) — only the fields `wildo creation why` reads. */\nexport interface PlaybookStanding {\n readonly playbookRef: string;\n readonly eligible: boolean;\n readonly unmet: readonly string[];\n /** The interview questions the dossier does not answer yet. Absent from a companion older than the dossier. */\n readonly unansweredQuestionRefs?: readonly string[];\n /** Output families that already have content, whoever wrote them. */\n readonly wouldReplace?: readonly string[];\n /** Whose recorded run left each of them as it is (#3241). Absent when the companion keeps no landing history. */\n readonly familyLandings?: readonly { readonly family: string; readonly landedByOwnRefs: readonly string[]; readonly writerRefs: readonly string[] }[];\n}\n\n/**\n * Where a playbook's unanswered interview questions stand in the companion's question queue: asked NOW, or not\n * asked until the playbook can run.\n *\n * Read from the queue, never inferred from the board: the dossier asks a question while ANY step reading it can\n * run, so a question a held playbook shares with a runnable one (`sameDecisionAs`) is already asked, under the\n * owning step's name. The share is resolved through this CLI's compiled catalog, the one map from a playbook's\n * own question ref to the decision it shares. Interview items of an opened instance are not the playbook's own\n * and are not matched.\n */\nexport interface InterviewQueueStanding {\n /** In `wildo creation questions` now, as `<ref>` or `<ref> (asked as <owner>#<ownerRef>)`. */\n readonly askedNow: readonly string[];\n /** Asked of no one until the playbook itself can run. */\n readonly notAskedYet: readonly string[];\n}\n\nexport function locateInterviewInQueue(\n playbookRef: string,\n unansweredQuestionRefs: readonly string[],\n queue: Pick<CreationConsole_QuestionQueue, 'questions'>,\n): InterviewQueueStanding {\n const compiled = getFrameworkKnowledgePlaybook(playbookRef)?.playbook as\n | { method?: { elicitation?: { questions?: readonly { ref: string; sameDecisionAs?: { playbookRef: string; questionRef: string } }[] } } }\n | undefined;\n const sharedByRef = new Map((compiled?.method?.elicitation?.questions ?? [])\n .filter((question) => question.sameDecisionAs !== undefined)\n .map((question) => [question.ref, question.sameDecisionAs!]));\n const asked = new Set(queue.questions\n .filter((question) => question.kind === CreationConsoleQuestionKind.INTERVIEW && question.instanceKey === null && question.playbookRef !== null)\n .flatMap((question) => question.fields.map((field) => `${question.playbookRef}#${field.ref}`)));\n const askedNow: string[] = [];\n const notAskedYet: string[] = [];\n for (const ref of unansweredQuestionRefs) {\n const shared = sharedByRef.get(ref);\n if (asked.has(`${playbookRef}#${ref}`)) askedNow.push(ref);\n else if (shared && asked.has(`${shared.playbookRef}#${shared.questionRef}`)) askedNow.push(`${ref} (asked as ${shared.playbookRef}#${shared.questionRef})`);\n else notAskedYet.push(ref);\n }\n return { askedNow, notAskedYet };\n}\n\n/**\n * Where a playbook stands NOW: what holds it (from the board), and where each unanswered interview question\n * stands (from the queue, see {@link locateInterviewInQueue}).\n *\n * The unmet preconditions lead when it cannot run. Saying its questions waited on the person sent them to\n * `wildo creation answer`, which refuses a question the queue is not asking (app-creation-test-005,\n * 2026-10-03). `interview` absent means the queue could not be read: the questions are then named without a\n * claim about whether they are asked.\n */\nexport function describePlaybookStanding(standing: PlaybookStanding, hasRecentRun: boolean, interview: InterviewQueueStanding | undefined): string[] {\n const unanswered = standing.unansweredQuestionRefs ?? [];\n // On record means THIS playbook's own run landed it, not that a family it shares exists (#3241).\n const onRecord = standing.familyLandings === undefined\n ? standing.wouldReplace ?? []\n : standing.familyLandings.filter((landing) => landing.landedByOwnRefs.length > 0).map((landing) => landing.family);\n const others = (standing.familyLandings ?? [])\n .filter((landing) => landing.landedByOwnRefs.length === 0)\n .map((landing) => `${landing.family} written by ${landing.writerRefs.length > 0 ? landing.writerRefs.join(', ') : 'no recorded run'}`);\n const othersNote = others.length > 0 ? `; ${others.join('; ')}` : '';\n const history = hasRecentRun ? '' : onRecord.length > 0 ? `, no recent run (on record: ${onRecord.join(', ')}${othersNote})` : `, no recent run and nothing on record${othersNote}`;\n const askedNow = interview?.askedNow ?? [];\n const state = !standing.eligible ? 'blocked' : unanswered.length > 0 ? 'waiting for you' : 'eligible: nothing holds it';\n const out = [`playbook ${standing.playbookRef} — ${state}${history}`];\n if (!standing.eligible) {\n for (const reason of standing.unmet.length > 0 ? standing.unmet : ['not eligible, and the board gave no reason']) out.push(` unmet: ${reason}`);\n }\n if (unanswered.length === 0) return out;\n out.push(` its interview: ${unanswered.length} question(s) unanswered — ${unanswered.join(', ')}`);\n if (interview === undefined) {\n out.push(' could not read the question queue, so whether they are asked now is not known: wildo creation questions');\n return out;\n }\n if (askedNow.length > 0) out.push(` asked now: ${askedNow.join(', ')} → wildo creation questions`);\n if (interview.notAskedYet.length > 0) {\n out.push(standing.eligible\n // Eligible and still not queued is a disagreement this command cannot explain; it says so rather than guess.\n ? ` not in the question queue, although it can run: ${interview.notAskedYet.join(', ')}`\n : ` not asked yet: ${interview.notAskedYet.join(', ')} — the queue asks ${interview.notAskedYet.length === 1 ? 'it' : 'them'} once nothing above holds this playbook`);\n }\n return out;\n}\n\n/** What `POST /playbooks/loop` answers — only the fields the console prints; `--json` prints the rest. */\nexport interface ConsoleLoopResult {\n readonly stoppedBecause: string;\n readonly steps: ReadonlyArray<{\n readonly iteration: number;\n readonly lanes: ReadonlyArray<{ readonly playbookRef: string; readonly rationale: string; readonly landed?: readonly string[]; readonly failure?: string }>;\n readonly droppedLanes: ReadonlyArray<{ readonly playbookRef: string; readonly reason: string }>;\n readonly stopRationale?: string;\n }>;\n}\n\n/** One round of a playbook loop in words: what ran and what it landed or hit, what was refused, or why it stopped. */\nexport function describeLoopStep(step: ConsoleLoopResult['steps'][number]): string[] {\n const lines = [`round ${step.iteration}${step.stopRationale ? ` — stopped: ${step.stopRationale}` : ''}`];\n for (const lane of step.lanes) {\n lines.push(` ${lane.playbookRef} — ${lane.failure ? `failed: ${lane.failure}` : `landed ${lane.landed?.join(', ') || 'nothing'}`}`);\n lines.push(` why this one: ${lane.rationale}`);\n }\n for (const dropped of step.droppedLanes) lines.push(` not run: ${dropped.playbookRef} — ${dropped.reason}`);\n return lines;\n}\n\nasync function readJsonOnce<T>(path: string, options: CompanionClientOptions): Promise<T> {\n const response = await CompanionClient.request(path, { method: 'GET' }, options, CompanionRequestRetryPolicy.NO_RETRY);\n // Typed, so a caller can tell \"it answered no\" from \"nothing is there\" without reading the message.\n if (!response.ok) throw new CompanionRefusalError(`Companion API ${path}: ${response.status} ${response.statusText}`, response.status);\n return await response.json() as T;\n}\n\n/**\n * One feed line as ONE line of text — what the background watcher prints, because each line it prints\n * becomes one notification in the session (#1657). The same words as {@link describeFeedLine}, joined.\n */\nexport function describeFeedLineCompact(line: CreationConsole_FeedLine): string {\n return describeFeedLine(line).map((text) => text.trim()).join(' · ');\n}\n\n/**\n * The console's PUSH loop (#1657), behind `wildo creation watch` — separated from the command so its\n * behaviour is pinned without a companion or a clock.\n *\n * Polls the pulse; reads the feed when the pulse moved or `feedFallbackMs` passed; says ONE line per new\n * event. The first successful feed read only establishes what already happened (the session-start brief\n * reported it). A companion that cannot be reached is said once, and its return once. Runs until\n * `shouldStop` answers true (the command passes a function that never does).\n *\n * \"Cannot be reached\" has three meanings, and only one of them may say \"start it\" (#2394). Nothing\n * listening means the companion is not running. A request that TIMES OUT means a process accepted the\n * connection and did not answer in time: running and busy. An HTTP error status means it answered and\n * said no, while starting or in diagnostics: running too. Telling a person or a supervisor to start a\n * running companion ended in a restart that killed the runs it was busy with. On app-creation-test-005\n * the monitor flipped to \"not reachable\" every one to two minutes through a build wave, on one live pid.\n * The wording is the pulse's (`describePulseFailure`), so `wildo creation pulse` says the same thing.\n */\nexport async function watchCreationEvents(port: {\n readonly readPulse: () => Promise<CreationConsole_Pulse>;\n readonly readFeed: () => Promise<CreationConsole_Feed>;\n readonly say: (text: string) => void;\n readonly sleep: (ms: number) => Promise<void>;\n readonly now: () => number;\n readonly shouldStop: () => boolean;\n readonly pulseIntervalMs: number;\n readonly feedFallbackMs: number;\n}): Promise<void> {\n let seen: Set<string> | null = null;\n let lastPulseKey: string | null = null;\n let lastFeedAt = Number.NEGATIVE_INFINITY;\n /** Why the last pulse failed, or `null` while the companion answers. */\n let failure: PulseFailure | null = null;\n while (!port.shouldStop()) {\n let pulseKey: string | null = null;\n try {\n const pulse = await port.readPulse();\n pulseKey = `${pulse.sequence}:${pulse.runsInFlight}`;\n if (failure !== null) {\n port.say(failure === PulseFailure.UNREACHABLE ? 'Dev companion is back.' : 'Dev companion is answering again.');\n failure = null;\n lastPulseKey = null;\n }\n } catch (error) {\n const next = classifyCompanionRequestFailure(error);\n // Said once per state: a companion going from busy to stopped (or back) is news, the same one twice is not.\n if (next !== failure) port.say(`Dev companion ${describePulseFailure(next)} Waiting for it.`);\n failure = next;\n }\n if (pulseKey !== null && (pulseKey !== lastPulseKey || port.now() - lastFeedAt >= port.feedFallbackMs)) {\n try {\n const feed = await port.readFeed();\n lastFeedAt = port.now();\n if (seen === null) {\n seen = new Set(feed.lines.map(feedLineSignature));\n } else {\n for (const line of newFollowedLines(feed.lines, seen)) {\n seen.add(feedLineSignature(line));\n port.say(describeFeedLineCompact(line));\n }\n }\n lastPulseKey = pulseKey;\n } catch {\n /* The pulse answered and the feed did not: try again next tick without announcing anything. */\n }\n }\n await port.sleep(port.pulseIntervalMs);\n }\n}\n\n/**\n * Why a request to the companion failed, in the pulse's vocabulary, so the watcher and `wildo creation\n * pulse` give the same advice (#2394 review L1). A timeout — including one that fires while the body is\n * read, after the headers — means a process is there and busy; an HTTP error status, or a body that does\n * not parse, means it is there and answered something unusable; anything else (a refused or reset\n * connection, no endpoint, no token) means nothing is listening.\n */\nexport function classifyCompanionRequestFailure(error: unknown): PulseFailure {\n if (error instanceof CompanionRequestTimeoutError) return PulseFailure.SLOW;\n if (error instanceof Error && (error.name === 'TimeoutError' || error.name === 'AbortError')) return PulseFailure.SLOW;\n if (error instanceof CompanionRefusalError) return PulseFailure.REFUSED;\n // `response.json()` on a body that is not JSON: it answered, so it is running.\n if (error instanceof SyntaxError) return PulseFailure.REFUSED;\n return PulseFailure.UNREACHABLE;\n}\n\n/** The Home sections whose lines are EVENTS a follower waits for; suggestions move with every edit and are not. */\nconst FOLLOWED_SECTIONS: ReadonlySet<string> = new Set([WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeSection.ASKED]);\n\n/**\n * A line's SIGNATURE — what makes it \"the same line\" to a follower. A line whose facts changed (a\n * dispatch that became acceptable, a run that failed) is news again; the attached row is excluded,\n * because its timestamps move on every read without anything having happened.\n */\nexport function feedLineSignature(line: CreationConsole_FeedLine): string {\n return JSON.stringify([line.lineId, line.at, line.failed, line.acceptable, line.needsAnswers, line.stuckReason, line.questionId]);\n}\n\n/**\n * The followed lines that are NEW since `seen` — the one comparison `--follow` makes. `seen` is the\n * set of signatures already printed, so a line printed once is never printed twice, however often\n * the feed is read.\n */\nexport function newFollowedLines(lines: readonly CreationConsole_FeedLine[], seen: ReadonlySet<string>): CreationConsole_FeedLine[] {\n return lines.filter((line) => FOLLOWED_SECTIONS.has(line.section) && !seen.has(feedLineSignature(line)));\n}\n\nfunction stringField(row: Record<string, unknown> | null, field: string): string | null {\n const value = row?.[field];\n return typeof value === 'string' && value.length > 0 ? value : null;\n}\n\n/**\n * One feed line in words. The kind vocabulary is the companion's (`WorkbenchCreationHomeLineKind`);\n * an unknown kind is printed as its raw value rather than guessed at, so a newer companion's line is\n * visibly unfamiliar instead of quietly misdescribed.\n */\nexport function describeFeedLine(line: CreationConsole_FeedLine): string[] {\n const subject = line.playbookRef ?? line.taskRef ?? line.subject ?? line.targetResourceId;\n const when = line.at ? ` (${line.at})` : '';\n const out: string[] = [];\n switch (line.kind) {\n case WorkbenchCreationHomeLineKind.RUN_COMPLETED: {\n out.push(`${line.failed ? 'REFUSED' : 'completed'} playbook ${subject}${when}`);\n const verdict = stringField(line.target, 'judgeOverall');\n if (verdict) out.push(` judge: ${verdict}`);\n /* The criteria that did not pass are what a console acts on; a PASS needs no rationale read out. */\n const criteria = line.target?.judgeCriteria;\n if (Array.isArray(criteria)) {\n for (const criterion of criteria as { criterionRef?: unknown; verdict?: unknown; rationale?: unknown }[]) {\n if (criterion.verdict === MetaWorkflow_EvaluationVerdict.PASS || typeof criterion.criterionRef !== 'string') continue;\n out.push(` ${String(criterion.verdict)} ${criterion.criterionRef}: ${String(criterion.rationale ?? '')}`);\n }\n }\n const skipped = stringField(line.target, 'judgeSkipped');\n if (skipped) out.push(` judge did not run: ${skipped}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.REPAIR_FAILED_LANDING_STANDS:\n // #3213: non-fatal — the re-run failed, its family's earlier landing stands, and the lane went on with it.\n out.push(`repair did not land (non-fatal) playbook ${subject}${when} — its earlier result stands and is still used`);\n if (line.subject) out.push(` ${line.subject}`);\n break;\n case WorkbenchCreationHomeLineKind.RUN_INTERRUPTED:\n out.push(`interrupted playbook ${subject}${when} — running it again resumes it`);\n break;\n case WorkbenchCreationHomeLineKind.DISPATCH_SETTLED: {\n const objective = stringField(line.target, 'objective');\n out.push(`${line.failed ? 'FAILED' : 'finished'} build task ${subject}${when}${objective ? ` — ${objective}` : ''}`);\n if (line.acceptable) out.push(` its writes wait to be committed → wildo build accept ${line.taskRef ?? subject}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.CODING_AGENT_USAGE_LIMITED:\n // `subject` is when the build resumes; the task is the one whose run met the limit (#2388).\n out.push(`PAUSED coding agent usage limit reached — resumes at ${line.subject ?? 'its reset'}${when}`);\n out.push(` met by build task ${line.taskRef ?? line.targetResourceId}; no attempt is counted, and the build continues on its own`);\n break;\n case WorkbenchCreationHomeLineKind.CODING_AGENT_ACCOUNT_REFUSED:\n // #3204: `subject` is the refusal (which account, why, its words); a person adds credits or raises the limit.\n out.push(`HELD the coding agent's provider account refused to work${when}`);\n out.push(` ${line.subject ?? 'the provider refused'}`);\n out.push(` met by build task ${line.taskRef ?? line.targetResourceId}; no attempt is counted, and the account is asked again every 30 minutes`);\n break;\n case WorkbenchCreationHomeLineKind.VERIFICATION_TOOL_UNAVAILABLE: {\n // #3423, #3432: the build's checks cannot be asked for a host cause; `subject` is the cause and its remedy.\n const task = line.taskRef ?? line.targetResourceId;\n out.push(`WAITING the build's checks cannot run${when} — no coding turn starts: ${line.subject ?? 'a command the checks run is unavailable.'}`);\n out.push(` met by build task ${task}; no attempt is counted. If the cause is gone and this does not clear: wildo build rearm ${task} --reason environment`);\n break;\n }\n case WorkbenchCreationHomeLineKind.CODING_AGENT_CONNECTIVITY_LOST: {\n // #3236, #3262: no coding turn is admitted until the agent's API answers along its own route (`subject`).\n const task = line.taskRef ?? line.targetResourceId;\n out.push(line.subject\n ? `WAITING the coding agent lost the network${when} — no coding turn starts until ${line.subject} answers`\n : `WAITING the coding agent lost the network${when} — its next coding turn checks whether it is back`);\n out.push(` met by build task ${task}; no attempt is counted. If the network is back and this does not clear: wildo build rearm ${task} --reason environment`);\n break;\n }\n case WorkbenchCreationHomeLineKind.BUILD_TASK_CLOSED:\n // #3224, #3227: a person's closure; the subject is their reason, and the task's record says how it was closed.\n out.push(`closed build task ${line.taskRef ?? subject}${when} by you${line.subject ? ` — ${line.subject}` : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.CLARIFICATION:\n out.push(`ASKED playbook ${subject} stopped on questions only you can answer${when}`);\n break;\n case WorkbenchCreationHomeLineKind.PARKED_QUESTION:\n out.push(`ASKED the coding run for ${subject} is parked on a question${when}`);\n break;\n case WorkbenchCreationHomeLineKind.INTERVIEW_DATES_NEXT_WORK:\n // #3361: the subject is the steps the unattended round holds until the interview is answered.\n out.push(`ASKED playbook ${line.playbookRef ?? subject}'s interview waits on you, and ${line.subject ?? 'work'} would be derived again if run before you answer: wildo creation questions`);\n break;\n case WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT:\n out.push(`ASKED governed document ${subject} still needs facts (answered in the workbench only: wildo workbench open ${line.lineId})`);\n break;\n case WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN:\n out.push(`ASKED the build plan is stuck at ${subject}: ${line.stuckReason ?? 'no reason recorded'}`);\n break;\n case WorkbenchCreationHomeLineKind.SPECIFICATION_FAULT_HOLDS_THE_PLAN:\n out.push(`ASKED the build plan cannot run and is not finished: specifications module ${subject} does not evaluate`);\n break;\n case WorkbenchCreationHomeLineKind.CONTINUE_THE_PLAN:\n out.push(`next build task ${line.taskRef ?? subject}${line.subject ? ` — ${line.subject}` : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.FOLLOW_UP_LANDED_WITH_GAP:\n // #2583: advisory. The follow-up landed and its run still reports a gap; running it again is a choice.\n out.push(`advisory follow-up ${line.taskRef ?? subject} landed but still reports: ${line.subject ?? 'a requirement unmet'}`);\n out.push(` to work it again: wildo build run ${line.taskRef ?? subject} --despite-landed --reason ${BuildTaskRearmReason.OPERATOR_JUDGEMENT} --note \"<why>\"`);\n break;\n case WorkbenchCreationHomeLineKind.RUN_LEFTOVER_UNCOMMITTED: {\n // #3267: files the task's runs left that no automatic door will commit (a stuck task's declared product aside, #3204). Both doors are the person's.\n const task = line.taskRef ?? subject;\n out.push(`ASKED build task ${task} left files uncommitted that nothing will commit on its own: ${line.subject ?? 'see wildo build tasks'}`);\n out.push(` commit them under those runs: wildo build accept ${task} --leftovers (add --force for a file already dirty when its run began)`);\n out.push(' or discard one: the command wildo build tasks prints beside it');\n break;\n }\n case WorkbenchCreationHomeLineKind.LANDED_WITH_ADVISORY:\n // #3285: advisory. The task landed and something its landing does not cover is unfinished; nothing stops.\n out.push(`advisory build task ${line.taskRef ?? subject} landed but is not in use until this is set: ${line.subject ?? 'see wildo build tasks'}`);\n out.push(` what it needs first: wildo build tasks`);\n break;\n case WorkbenchCreationHomeLineKind.PRODUCE_MISSING:\n out.push(`next playbook ${subject} would produce a missing artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.REFRESH_STALE:\n out.push(`next playbook ${subject} would refresh a stale artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n default:\n out.push(`${line.kind} ${subject}${when}`);\n }\n if (line.questionId) out.push(` question: ${line.questionId} → wildo creation questions`);\n return out;\n}\n\n/**\n * The command that answers a question, for a reader to copy: `wildo creation answer` for a console item, and\n * `wildo workbench open` for one only the workbench answers (#3242). An agent copies these, so a workbench-only\n * item never shows an answer command: on app-creation-test-007 every one sent for a governed-document fact was\n * refused, and the feed kept asking.\n */\nexport function describeAnswerCommand(question: CreationConsole_Question): string[] {\n /*\n * Answering without a value (#3437) is offered wherever the item admits it, a workbench-only fact included. `?? []`:\n * a companion older than this field sends none, which reads as \"admits none\".\n */\n const admitted = question.admittedNonAnswers ?? [];\n const withoutValue = [\n ...(admitted.includes(MetaWorkflow_ElicitationNonAnswer.NOT_APPLICABLE)\n ? [`wildo creation answer ${question.questionId} --person --not-applicable \"<why it does not concern this application>\"`] : []),\n ...(admitted.includes(MetaWorkflow_ElicitationNonAnswer.DEFERRED)\n ? [`wildo creation answer ${question.questionId} --person --later \"<why it is not decided yet>\"`] : []),\n ];\n if (question.answerableFrom === CreationConsoleAnswerSurface.WORKBENCH) {\n return [`wildo workbench open ${question.questionId} (answered in the workbench only)`, ...withoutValue];\n }\n if (question.actions.length === 0) return [];\n const revision = question.revision !== null ? ` --revision ${question.revision}` : '';\n const commands: string[] = [];\n if (question.actions.includes(CreationConsoleAnswerAction.ANSWER)) {\n commands.push(question.fields.length === 1\n /*\n * `--person` in the hint: the command is copied by agents as often as by people, and from inside an\n * agent session an unattributed answer is refused (#1658). For a person at a terminal it names what\n * the default would have been anyway.\n */\n ? `wildo creation answer ${question.questionId}${revision} --person \"<answer>\"`\n : `wildo creation answer ${question.questionId}${revision} --person --answer ${question.fields.map((field) => `${field.ref}=\"<answer>\"`).join(' ')}`);\n }\n /* An interview question the person does not know (#2129): have it proposed, then keep the proposal as an assumption. */\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW && question.proposable === true && question.assumedAnswer === null && question.playbookRef !== null) {\n commands.push(`wildo creation propose ${question.playbookRef}${question.instanceKey ? ` --instance ${question.instanceKey}` : ''} --question ${question.fields[0]!.ref}`);\n }\n commands.push(...withoutValue);\n if (question.actions.includes(CreationConsoleAnswerAction.DECLINE)) commands.push(`wildo creation answer ${question.questionId}${revision} --decline`);\n if (question.actions.includes(CreationConsoleAnswerAction.CANCEL)) commands.push(`wildo creation answer ${question.questionId}${revision} --cancel`);\n return commands;\n}\n\nconst QUESTION_KIND_WORDS: Readonly<Record<CreationConsoleQuestionKind, string>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: 'a playbook run stopped to ask',\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: 'a coding run is parked on a question',\n [CreationConsoleQuestionKind.INTERVIEW]: 'a step can run once this is answered',\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: 'a drafted governed document needs this fact — answer it in the workbench, or defer it here',\n};\n\n/** One queued question in words, followed by the command(s) that answer it. */\nexport function describeQuestion(question: CreationConsole_Question): string[] {\n const step = question.playbookRef === null ? null : playbookInstanceId(question.playbookRef, question.instanceKey ?? undefined);\n const about = step ?? question.taskRef ?? question.definitionRef ?? '';\n const out: string[] = [`${question.questionId} — ${QUESTION_KIND_WORDS[question.kind]}${about ? ` (${about})` : ''}`];\n if (question.producingFamily) out.push(` producing: ${question.producingFamily}`);\n if (question.dryRun === true) out.push(' dry run: answering writes nothing');\n if (question.routedToUserId) out.push(' asked of the person who started its run: only they may answer it — in the workbench, signed in as them');\n if (question.resumable === false) out.push(' the run cannot re-enter its session: answering starts a new one that restates the task');\n if (question.affectsFamilies.length > 0) out.push(` an answer reaches: ${question.affectsFamilies.join(', ')}`);\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW) {\n /* #2129: whether a simple interview asks it, and whether a proposal can stand in when the person does not know. */\n if (question.askedInSimpleInterview === false) out.push(' detail: a simple interview proposes it instead of asking');\n if (question.proposable === false) out.push(' only the person can answer it: it is never proposed');\n if (question.regulatedDomain === true) {\n // Only ever assumed on review (an unattended round never assumes one), so a kept one is named when revisited.\n out.push(question.assumedAnswer !== null\n ? ' regulated domain: kept on review — name it to the person when revisiting it'\n : ' regulated domain: name any proposed answer to the person before keeping it');\n }\n if (question.assumedAnswer !== null) out.push(` assumed (to revisit): ${question.assumedAnswer} — answering records the person's own answer in its place`);\n if (question.assumptionRationale) out.push(` because: ${question.assumptionRationale}`);\n }\n /* Answered without a value (#3437): listed to revisit, with the person's reason. */\n if (question.nonAnswer !== null && question.nonAnswer !== undefined) {\n out.push(` ${question.nonAnswer === MetaWorkflow_ElicitationNonAnswer.NOT_APPLICABLE ? 'does not apply' : 'not decided yet (later)'}: ${question.nonAnswerReason ?? ''} — answering records the answer in its place`);\n }\n for (const field of question.fields) {\n out.push(` [${field.ref}] ${field.question}`);\n if (field.why) out.push(` why: ${field.why}`);\n if (field.options.length > 0 && field.optionDetails !== undefined) {\n // A computed option is a summary; what it summarizes is printed under it, so it is never chosen blind (#2337).\n out.push(' options:');\n field.options.forEach((option, index) => {\n out.push(` - ${option}`);\n const detail = field.optionDetails?.[index];\n if (detail) out.push(` ${detail}`);\n });\n } else if (field.options.length > 0) {\n out.push(` options: ${field.options.join(' | ')}`);\n }\n }\n for (const command of describeAnswerCommand(question)) out.push(` → ${command}`);\n return out;\n}\n\n/**\n * Build the answer request from the CLI's inputs. Throws a sentence when the inputs do not make one\n * request — the companion refuses the same things, but a refusal before the round trip names the\n * flag to change.\n *\n * `value` is the positional answer, for a question with ONE field; `pairs` are `--answer ref=value`.\n */\n/** Parse `ref=value` tokens; `flag` names the flag in the error. */\nfunction parseAnswerPairs(pairs: readonly string[], flag: string): { ref: string; value: string }[] {\n return pairs.map((pair) => {\n const separator = pair.indexOf('=');\n if (separator <= 0) {\n /* The flags are variadic: an answer typed AFTER one is taken as one more pair — the likelier cause of a pair with no ref. */\n throw new Error(`\"${pair}\" is not ref=value. \\`${flag}\\` takes every token after it, so give a positional answer BEFORE \\`${flag}\\`, `\n + `or answer every question with \\`${flag} ref=value\\`.`);\n }\n return { ref: pair.slice(0, separator), value: pair.slice(separator + 1) };\n });\n}\n\n/**\n * The only author an agent may record for an answer it DERIVED itself. A derived answer is by\n * definition not the person's, so the prefix is enforced rather than trusted.\n */\nexport const AGENT_ANSWER_AUTHOR_PREFIX = 'agent:';\n\nexport function buildAnswerRequest(input: {\n readonly questionId: string;\n readonly revision?: string;\n readonly value?: string;\n /** `--answer ref=value`: answers the PERSON gave (authored by `answeredByRef`). */\n readonly pairs: readonly string[];\n /** `--derived ref=value`: answers an AGENT derived on its own (authored by `derivedByRef`). */\n readonly derivedPairs?: readonly string[];\n readonly derivedByRef?: string;\n /**\n * The positional answer is a PROPOSAL the person let stand because they did not know (#2129): recorded as\n * ASSUMED, authored by the companion's proposer, with the proposer's reason. Interview questions only.\n */\n readonly assumed?: boolean;\n readonly assumptionRationale?: string;\n /**\n * Answer WITHOUT a value (#3437), with the person's reason: `notApplicable` (the question does not concern this\n * application) or `later` (it does, and is not decided yet). One field only; the person's say, never a proposal.\n */\n readonly notApplicable?: string;\n readonly later?: string;\n readonly decline: boolean;\n readonly cancel: boolean;\n /** The author of the person's answers — and the request's default author. */\n readonly answeredByRef?: string;\n /** The question as the queue serves it, to resolve a positional answer's field ref. */\n readonly question: CreationConsole_Question | null;\n}): CreationConsole_AnswerRequest {\n const parsed = parseCreationConsoleQuestionId(input.questionId);\n if (!parsed) throw new Error(`\"${input.questionId}\" is not a question id — copy one from \\`wildo creation questions\\`.`);\n if (input.decline && input.cancel) throw new Error('Pass --decline or --cancel, not both.');\n const base = {\n questionId: input.questionId,\n ...(input.revision ? { revision: input.revision } : {}),\n ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}),\n };\n const personAnswers = parseAnswerPairs(input.pairs, '--answer');\n const derived = parseAnswerPairs(input.derivedPairs ?? [], '--derived');\n if (derived.length > 0) {\n if (!input.derivedByRef?.startsWith(AGENT_ANSWER_AUTHOR_PREFIX) || input.derivedByRef.length === AGENT_ANSWER_AUTHOR_PREFIX.length) {\n throw new Error(`A derived answer names the agent that derived it: --derived-by ${AGENT_ANSWER_AUTHOR_PREFIX}<name>.`);\n }\n }\n if (input.assumptionRationale !== undefined && input.assumed !== true) throw new Error('--rationale explains an assumption: pass it with --assumed.');\n if (input.assumed === true) {\n if (parsed.kind !== CreationConsoleQuestionKind.INTERVIEW) {\n throw new Error('--assumed records a proposed interview answer; only interview questions take one. A playbook round takes --decline to let the run decide.');\n }\n if (input.value === undefined || personAnswers.length > 0 || derived.length > 0 || input.decline || input.cancel) {\n throw new Error('--assumed takes the proposed answer positionally, and nothing else: wildo creation answer <questionId> --assumed \"<value>\" --rationale \"<why>\".');\n }\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n return {\n ...base,\n action: CreationConsoleAnswerAction.ANSWER,\n answers: [{\n ref: input.question.fields[0]!.ref,\n value: input.value,\n /* The proposer is the author: the person let it stand, they did not decide it. */\n answeredByRef: INTERVIEW_ANSWER_PROPOSER_REF,\n standing: ApplicationCreatorInputAnswerStanding.ASSUMED,\n ...(input.assumptionRationale !== undefined ? { assumptionRationale: input.assumptionRationale } : {}),\n }],\n };\n }\n if (input.notApplicable !== undefined || input.later !== undefined) {\n if (input.notApplicable !== undefined && input.later !== undefined) throw new Error('Pass --not-applicable or --later, not both.');\n if (input.value !== undefined || personAnswers.length > 0 || derived.length > 0 || input.decline || input.cancel) {\n throw new Error('--not-applicable and --later take the reason, and nothing else: wildo creation answer <questionId> --later \"<why>\".');\n }\n const reason = (input.notApplicable ?? input.later ?? '').trim();\n if (reason.length === 0) throw new Error('Say why: the reason is what is revisited later.');\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n const nonAnswer = input.notApplicable !== undefined ? MetaWorkflow_ElicitationNonAnswer.NOT_APPLICABLE : MetaWorkflow_ElicitationNonAnswer.DEFERRED;\n const admitted = input.question.admittedNonAnswers ?? [];\n if (!admitted.includes(nonAnswer)) {\n throw new Error(admitted.length === 0\n ? `\"${input.questionId}\" cannot be answered without a value (or the companion predates #3437: update it).`\n : `\"${input.questionId}\" admits only ${admitted.map((kind) => (kind === MetaWorkflow_ElicitationNonAnswer.DEFERRED ? '--later' : '--not-applicable')).join(' or ')}.`);\n }\n if (input.question.fields.length !== 1) throw new Error(`\"${input.questionId}\" asks ${input.question.fields.length} questions; a non-answer is given one question at a time.`);\n return {\n ...base,\n action: CreationConsoleAnswerAction.ANSWER,\n answers: [{ ref: input.question.fields[0]!.ref, nonAnswer, reason, ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}) }],\n };\n }\n if (input.cancel) {\n if (input.value !== undefined || personAnswers.length > 0 || derived.length > 0) throw new Error('--cancel carries no answer.');\n return { ...base, action: CreationConsoleAnswerAction.CANCEL };\n }\n if (input.value !== undefined) {\n if (personAnswers.length > 0 || derived.length > 0) throw new Error('Give the answer either positionally or with --answer / --derived, not both.');\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n if (input.question.fields.length !== 1) {\n throw new Error(`\"${input.questionId}\" asks ${input.question.fields.length} questions; answer each with --answer ${input.question.fields.map((field) => `${field.ref}=…`).join(' ')}.`);\n }\n personAnswers.push({ ref: input.question.fields[0]!.ref, value: input.value });\n }\n /* Each answer carries its author, so a round an agent and the person answered together records both (#1658). */\n const answers = [\n ...personAnswers.map((answer) => ({ ...answer, ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}) })),\n ...derived.map((answer) => ({ ...answer, answeredByRef: input.derivedByRef! })),\n ];\n if (answers.some((answer) => answer.value.trim().length === 0)) throw new Error('An answer cannot be empty.');\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) throw new Error('Each question is answered once.');\n if (input.decline) {\n /* \"These I answered, decide the rest\" — the run decides only what is left unanswered. */\n return { ...base, action: CreationConsoleAnswerAction.DECLINE, ...(answers.length > 0 ? { answers } : {}) };\n }\n if (answers.length === 0) throw new Error('No answer given: pass it positionally, with --answer / --derived ref=value, or use --decline / --cancel.');\n return { ...base, action: CreationConsoleAnswerAction.ANSWER, answers };\n}\n\n/**\n * Whether this process was started by a coding agent (Claude Code sets `CLAUDECODE=1`; agents following\n * the emerging cross-agent convention set `AI_AGENT`). Used for ONE decision: an answer sent from inside\n * an agent session must say whose it is, because there the git identity is the person's and the typist\n * is the agent — defaulting would record the agent's derivation as the person's decision (#1658).\n */\nexport function isRunningInsideCodingAgent(env: NodeJS.ProcessEnv = process.env): boolean {\n return env.CLAUDECODE === '1' || (typeof env.AI_AGENT === 'string' && env.AI_AGENT.trim().length > 0);\n}\n\n/**\n * Who answers, when the caller does not say: the workspace's git identity — the author of the commit\n * that will accept the answer, which is the provenance this repository already trusts for an\n * acceptance (`one-source-of-truth.md` rule 7). `null` when git has none configured.\n *\n * PREFIXED `git:`, like the `agent:<name>` an agent answering on its own sends, because the same\n * `answeredByRef` field also holds the workbench's signed-in user ids: a reader of the dossier can then\n * tell which door an answer came through and what kind of identity it names.\n */\nexport async function readGitIdentity(repositoryRoot: string): Promise<string | null> {\n try {\n const { stdout } = await GitHelper.runGit(repositoryRoot, ['config', 'user.email']);\n const email = stdout.trim();\n return email.length > 0 ? `git:${email}` : null;\n } catch {\n return null;\n }\n}\n\n/**\n * A proposal response in words (#2129): each proposed answer, why, and the command that keeps it as an\n * assumption. What could not be proposed is named, for the person to answer.\n */\nexport function describeInterviewProposals(response: CreationConsole_ProposalResponse): string[] {\n const out: string[] = [];\n if (response.proposals.length === 0 && response.unproposed.length === 0) {\n return [`Nothing to propose for ${response.playbookRef}: every question it would propose is answered, or no interview depth is chosen yet (wildo creation depth).`];\n }\n for (const proposal of response.proposals) {\n out.push(`[${proposal.questionRef}] ${proposal.question}${proposal.regulatedDomain ? ' (REGULATED DOMAIN — name it to the person before keeping it)' : ''}`, ` proposed: ${proposal.value}`, ` because: ${proposal.rationale}`);\n if (proposal.questionId !== null) {\n out.push(` → keep it: wildo creation answer ${proposal.questionId} --assumed ${JSON.stringify(proposal.value)} --rationale ${JSON.stringify(proposal.rationale)}`);\n }\n }\n for (const missing of response.unproposed) out.push(`[${missing.questionRef}] could not be proposed (${missing.reason}) — ask the person.`);\n return out;\n}\n"]}
1
+ {"version":3,"file":"creation-console.service.js","sourceRoot":"","sources":["../../../../src/services/companion/creation-console.service.ts"],"names":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AAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,CAAC,0BAA0B,QAAQ,CAAC,WAAW,4GAA4G,CAAC,CAAC;IACtK,CAAC;IACD,KAAK,MAAM,QAAQ,IAAI,QAAQ,CAAC,SAAS,EAAE,CAAC;QAC1C,GAAG,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAC,WAAW,KAAK,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,gEAAgE,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,QAAQ,CAAC,KAAK,EAAE,EAAE,cAAc,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC;QACnO,IAAI,QAAQ,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;YACjC,GAAG,CAAC,IAAI,CAAC,sCAAsC,QAAQ,CAAC,UAAU,cAAc,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,gBAAgB,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;QACtK,CAAC;IACH,CAAC;IACD,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,UAAU;QAAE,GAAG,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,WAAW,4BAA4B,OAAO,CAAC,MAAM,qBAAqB,CAAC,CAAC;IAC5I,OAAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["import {\n BuildTaskRearmReason,\n CreationConsoleAnswerAction,\n CreationConsoleAnswerSurface,\n CreationConsoleQuestionKind,\n parseCreationConsoleQuestionId,\n type CreationConsole_AnswerOutcome,\n type CreationConsole_AnswerRequest,\n type CreationConsole_Feed,\n type CreationConsole_FeedLine,\n type CreationConsole_ProposalRequest,\n type CreationConsole_ProposalResponse,\n type CreationConsole_Pulse,\n type CreationConsole_Question,\n type CreationConsole_QuestionQueue,\n WorkbenchCreationHomeLineKind,\n WorkbenchCreationHomeSection,\n} from '@wildo-ai/platform-core-shared';\n\nimport { MetaWorkflow_ElicitationNonAnswer, ApplicationInterviewDepth, MetaWorkflow_EvaluationVerdict } from '@wildo-ai/saas-models/meta-workflows';\nimport { ApplicationCreatorInputAnswerStanding, playbookInstanceId } from '@wildo-ai/saas-specifications/application-creation';\nimport { INTERVIEW_ANSWER_PROPOSER_REF } from '@wildo-ai/application-creation-runtime';\nimport { getFrameworkKnowledgePlaybook } from '@wildo-ai/framework-knowledge';\n\nimport { CompanionClient, CompanionRefusalError, CompanionRequestTimeoutError } from './companion-client.service';\nimport { PulseFailure, describePulseFailure } from './console-fast-path';\nimport type { CreationRunReport } from './creation-run-report.models';\nimport type { ConsoleAcceptOutcome } from './build-console.service';\nimport { GitHelper } from './git-helper.service';\nimport { CompanionRequestRetryPolicy, type CompanionClientOptions } from './companion.schemas';\n\n/** What `POST /brand/logo` answers: the panel's winner, what was promoted into the specification, and its warnings. */\nexport interface ConsoleBrandLogoOutcome {\n readonly redrawn: boolean;\n readonly deliberation: { readonly recordPath: string; readonly staged: { readonly winnerRef: string }; readonly warnings: readonly string[] };\n readonly accept: { readonly promotedFiles: readonly string[]; readonly resolvedAssetsModulePath: string; readonly warnings: readonly string[] };\n}\n\n/**\n * The CREATION CONSOLE on the CLI side — how a coding-agent session (or a person at a terminal)\n * follows what the companion did and answers what it asks.\n *\n * The companion is the master of creation; the console drives it and the workbench shows its state.\n * Everything here reads the companion's `/api/companion/creation/*` routes, which serve the SAME\n * creation-plane rows the workbench renders and answer through the SAME services — so this module\n * holds transport and wording only, never a fact of its own.\n */\nexport const CreationConsoleClient = {\n readFeed: (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n CompanionClient.get<CreationConsole_Feed>('/api/companion/creation/feed', options),\n\n /**\n * The feed and the pulse in ONE attempt each (#1657): a background watcher and a session-start hook\n * must learn at once that the companion is down, not after the safe-read retries a person's command\n * gets. A refusal and a failed connection both throw, as `get` does.\n */\n readFeedOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Feed> =>\n readJsonOnce<CreationConsole_Feed>('/api/companion/creation/feed', options),\n readPulseOnce: async (options: CompanionClientOptions): Promise<CreationConsole_Pulse> =>\n readJsonOnce<CreationConsole_Pulse>('/api/companion/creation/pulse', options),\n\n /** The eligibility board, as {@link PlaybookStanding} rows — what `wildo creation why` explains an unrun playbook from. */\n readPlaybookBoard: (options: CompanionClientOptions): Promise<{ readonly playbooks: readonly PlaybookStanding[] }> =>\n CompanionClient.get<{ readonly playbooks: readonly PlaybookStanding[] }>('/api/companion/playbooks', options),\n\n readQuestions: (options: CompanionClientOptions): Promise<CreationConsole_QuestionQueue> =>\n CompanionClient.get<CreationConsole_QuestionQueue>('/api/companion/creation/questions', options),\n\n answer: (options: CompanionClientOptions, request: CreationConsole_AnswerRequest): Promise<CreationConsole_AnswerOutcome> =>\n CompanionClient.post<CreationConsole_AnswerOutcome>('/api/companion/creation/questions/answer', request, options),\n\n /* Interview depth and proposed answers (#2129). Proposing writes nothing; depth is a dossier write. */\n setInterviewDepth: (options: CompanionClientOptions, interviewDepth: ApplicationInterviewDepth) =>\n CompanionClient.post<{ readonly interviewDepth: string; readonly packageRelativePath: string }>('/api/companion/creation/interview/depth', { interviewDepth }, options),\n proposeInterviewAnswers: (options: CompanionClientOptions, request: CreationConsole_ProposalRequest): Promise<CreationConsole_ProposalResponse> =>\n CompanionClient.post<CreationConsole_ProposalResponse>('/api/companion/creation/interview/proposals', request, options),\n\n /* The write register (#1652): what each playbook run wrote, its diff, revert and accept. */\n writes: (options: CompanionClientOptions) =>\n CompanionClient.get<ConsoleRunWrites>('/api/companion/runs/writes', options),\n diff: (options: CompanionClientOptions, runId: string) =>\n CompanionClient.get<{ readonly runId: string; readonly playbookRef: string; readonly at: string; readonly files: ReadonlyArray<{ readonly path: string; readonly diverged: boolean; readonly diff: string }> }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/diff`, options),\n revert: (options: CompanionClientOptions, runId: string, force: boolean) =>\n // `refusedLaterRun` (#1614, #1666): files a LATER run landed on, never reverted — not even under force.\n // Both refusal lists OPTIONAL: a companion older than a field omits it, and the renderer reads it so.\n CompanionClient.post<{\n readonly reverted: readonly string[];\n readonly refusedDiverged?: readonly string[];\n readonly refusedLaterRun?: ReadonlyArray<{ readonly path: string; readonly runId: string }>;\n // #3264: binary files whose pre-image was never committed, so nothing can give it back, not even force.\n readonly refusedWithoutPreImage?: readonly string[];\n }>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/revert`, force ? { force: true } : {}, options),\n /* The run report and the intervention ledger (#2231): read-only, plus the one thing it asks — a reason. */\n report: (options: CompanionClientOptions): Promise<CreationRunReport> =>\n CompanionClient.get<CreationRunReport>('/api/companion/creation/report', options),\n stateInterventionReason: (options: CompanionClientOptions, interventionId: string, reason: string) =>\n CompanionClient.post<{ readonly interventionId: string; readonly statedAt: string }>(\n `/api/companion/creation/interventions/${encodeURIComponent(interventionId)}/reason`, { reason }, options),\n loop: (options: CompanionClientOptions, request: { readonly goal: string; readonly maximumIterations: number; readonly fanOut?: number; readonly skipPreflight?: boolean }) =>\n CompanionClient.post<ConsoleLoopResult>('/api/companion/playbooks/loop', request, options),\n /* Reviewer charters and deliberations (#1656): the console door to what `journey-run` taught as raw routes. */\n derivePersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/derive', { roleRef }, options),\n acceptPersona: (options: CompanionClientOptions, roleRef: string) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/expert-personas/accept', { roleRef }, options),\n deliberate: (options: CompanionClientOptions, request: Record<string, unknown>) =>\n CompanionClient.post<Record<string, unknown>>('/api/companion/deliberations/run', request, options),\n /* The logo (#2411): deliberate then accept in one call; refused over an accepted mark unless `redraw`. */\n brandLogo: (options: CompanionClientOptions, redraw: boolean) =>\n CompanionClient.post<ConsoleBrandLogoOutcome>('/api/companion/brand/logo', redraw ? { redraw: true } : {}, options),\n acceptRun: (options: CompanionClientOptions, runId: string, force: boolean) =>\n CompanionClient.post<ConsoleAcceptOutcome>(`/api/companion/runs/writes/${encodeURIComponent(runId)}/accept`, force ? { force: true } : {}, options),\n /* The creator's recorded answers, committed on their own (#2332). */\n acceptDossier: (options: CompanionClientOptions) =>\n CompanionClient.post<ConsoleAcceptOutcome>('/api/companion/creation/dossier/accept', {}, options),\n};\n\n/**\n * What `GET /api/companion/runs/writes` answers (#1652): each playbook run's writes, newest first. `landingFailed` and\n * `remedies` mark a run that FAILED after writing (#3265), so a half-applied composition is never listed like a landing;\n * `binary` marks a file its record names by hash (#3264). All three optional: a companion older than them omits them.\n */\nexport interface ConsoleRunWrites {\n readonly runs: ReadonlyArray<{\n readonly runId: string;\n readonly playbookRef: string;\n readonly at: string;\n readonly files: ReadonlyArray<{ readonly path: string; readonly existedBefore: boolean; readonly binary?: boolean }>;\n readonly acceptedCommitSha?: string;\n readonly landingFailed?: boolean;\n readonly remedies?: { readonly accept: string; readonly revert: string };\n }>;\n}\n\n/**\n * Whether a feed line is the one a console REFERENCE names — a question id, a line id, a run id, a\n * build task or a playbook. Every identifier the console prints resolves through this one predicate,\n * so `wildo creation why` and `wildo workbench open` accept exactly the same references.\n */\nexport function feedLineNamesReference(line: CreationConsole_FeedLine, reference: string): boolean {\n return line.questionId === reference || line.lineId === reference || line.targetResourceId === reference\n || line.target?.runId === reference || line.taskRef === reference || line.playbookRef === reference;\n}\n\n/** One playbook's row on the eligibility board (`GET /playbooks`) — only the fields `wildo creation why` reads. */\nexport interface PlaybookStanding {\n readonly playbookRef: string;\n readonly eligible: boolean;\n readonly unmet: readonly string[];\n /** The interview questions the dossier does not answer yet. Absent from a companion older than the dossier. */\n readonly unansweredQuestionRefs?: readonly string[];\n /** Output families that already have content, whoever wrote them. */\n readonly wouldReplace?: readonly string[];\n /** Whose recorded run left each of them as it is (#3241). Absent when the companion keeps no landing history. */\n readonly familyLandings?: readonly { readonly family: string; readonly landedByOwnRefs: readonly string[]; readonly writerRefs: readonly string[] }[];\n}\n\n/**\n * Where a playbook's unanswered interview questions stand in the companion's question queue: asked NOW, or not\n * asked until the playbook can run.\n *\n * Read from the queue, never inferred from the board: the dossier asks a question while ANY step reading it can\n * run, so a question a held playbook shares with a runnable one (`sameDecisionAs`) is already asked, under the\n * owning step's name. The share is resolved through this CLI's compiled catalog, the one map from a playbook's\n * own question ref to the decision it shares. Interview items of an opened instance are not the playbook's own\n * and are not matched.\n */\nexport interface InterviewQueueStanding {\n /** In `wildo creation questions` now, as `<ref>` or `<ref> (asked as <owner>#<ownerRef>)`. */\n readonly askedNow: readonly string[];\n /** Asked of no one until the playbook itself can run. */\n readonly notAskedYet: readonly string[];\n}\n\nexport function locateInterviewInQueue(\n playbookRef: string,\n unansweredQuestionRefs: readonly string[],\n queue: Pick<CreationConsole_QuestionQueue, 'questions'>,\n): InterviewQueueStanding {\n const compiled = getFrameworkKnowledgePlaybook(playbookRef)?.playbook as\n | { method?: { elicitation?: { questions?: readonly { ref: string; sameDecisionAs?: { playbookRef: string; questionRef: string } }[] } } }\n | undefined;\n const sharedByRef = new Map((compiled?.method?.elicitation?.questions ?? [])\n .filter((question) => question.sameDecisionAs !== undefined)\n .map((question) => [question.ref, question.sameDecisionAs!]));\n const asked = new Set(queue.questions\n .filter((question) => question.kind === CreationConsoleQuestionKind.INTERVIEW && question.instanceKey === null && question.playbookRef !== null)\n .flatMap((question) => question.fields.map((field) => `${question.playbookRef}#${field.ref}`)));\n const askedNow: string[] = [];\n const notAskedYet: string[] = [];\n for (const ref of unansweredQuestionRefs) {\n const shared = sharedByRef.get(ref);\n if (asked.has(`${playbookRef}#${ref}`)) askedNow.push(ref);\n else if (shared && asked.has(`${shared.playbookRef}#${shared.questionRef}`)) askedNow.push(`${ref} (asked as ${shared.playbookRef}#${shared.questionRef})`);\n else notAskedYet.push(ref);\n }\n return { askedNow, notAskedYet };\n}\n\n/**\n * Where a playbook stands NOW: what holds it (from the board), and where each unanswered interview question\n * stands (from the queue, see {@link locateInterviewInQueue}).\n *\n * The unmet preconditions lead when it cannot run. Saying its questions waited on the person sent them to\n * `wildo creation answer`, which refuses a question the queue is not asking (app-creation-test-005,\n * 2026-10-03). `interview` absent means the queue could not be read: the questions are then named without a\n * claim about whether they are asked.\n */\nexport function describePlaybookStanding(standing: PlaybookStanding, hasRecentRun: boolean, interview: InterviewQueueStanding | undefined): string[] {\n const unanswered = standing.unansweredQuestionRefs ?? [];\n // On record means THIS playbook's own run landed it, not that a family it shares exists (#3241).\n const onRecord = standing.familyLandings === undefined\n ? standing.wouldReplace ?? []\n : standing.familyLandings.filter((landing) => landing.landedByOwnRefs.length > 0).map((landing) => landing.family);\n const others = (standing.familyLandings ?? [])\n .filter((landing) => landing.landedByOwnRefs.length === 0)\n .map((landing) => `${landing.family} written by ${landing.writerRefs.length > 0 ? landing.writerRefs.join(', ') : 'no recorded run'}`);\n const othersNote = others.length > 0 ? `; ${others.join('; ')}` : '';\n const history = hasRecentRun ? '' : onRecord.length > 0 ? `, no recent run (on record: ${onRecord.join(', ')}${othersNote})` : `, no recent run and nothing on record${othersNote}`;\n const askedNow = interview?.askedNow ?? [];\n const state = !standing.eligible ? 'blocked' : unanswered.length > 0 ? 'waiting for you' : 'eligible: nothing holds it';\n const out = [`playbook ${standing.playbookRef} — ${state}${history}`];\n if (!standing.eligible) {\n for (const reason of standing.unmet.length > 0 ? standing.unmet : ['not eligible, and the board gave no reason']) out.push(` unmet: ${reason}`);\n }\n if (unanswered.length === 0) return out;\n out.push(` its interview: ${unanswered.length} question(s) unanswered — ${unanswered.join(', ')}`);\n if (interview === undefined) {\n out.push(' could not read the question queue, so whether they are asked now is not known: wildo creation questions');\n return out;\n }\n if (askedNow.length > 0) out.push(` asked now: ${askedNow.join(', ')} → wildo creation questions`);\n if (interview.notAskedYet.length > 0) {\n out.push(standing.eligible\n // Eligible and still not queued is a disagreement this command cannot explain; it says so rather than guess.\n ? ` not in the question queue, although it can run: ${interview.notAskedYet.join(', ')}`\n : ` not asked yet: ${interview.notAskedYet.join(', ')} — the queue asks ${interview.notAskedYet.length === 1 ? 'it' : 'them'} once nothing above holds this playbook`);\n }\n return out;\n}\n\n/** What `POST /playbooks/loop` answers — only the fields the console prints; `--json` prints the rest. */\nexport interface ConsoleLoopResult {\n readonly stoppedBecause: string;\n /** The iteration whose step stopped the loop, when one did (#3848): steps settle out of order. */\n readonly stoppedAtIteration?: number;\n readonly steps: ReadonlyArray<{\n readonly iteration: number;\n readonly lanes: ReadonlyArray<{ readonly playbookRef: string; readonly rationale: string; readonly landed?: readonly string[]; readonly failure?: string }>;\n readonly droppedLanes: ReadonlyArray<{ readonly playbookRef: string; readonly reason: string }>;\n readonly stopRationale?: string;\n /** The selector chose nothing new while lanes ran (#3848): the loop waited for one to settle, then asked again. */\n readonly waitRationale?: string;\n readonly waitedForRunningRefs?: readonly string[];\n }>;\n}\n\n/** One round of a playbook loop in words: what ran and what it landed or hit, what was refused, why it waited or stopped. */\nexport function describeLoopStep(step: ConsoleLoopResult['steps'][number]): string[] {\n const waited = step.waitRationale !== undefined\n ? ` — waited for ${step.waitedForRunningRefs?.join(', ') || 'the running lanes'}: ${step.waitRationale}`\n : '';\n const lines = [`round ${step.iteration}${step.stopRationale ? ` — stopped: ${step.stopRationale}` : waited}`];\n for (const lane of step.lanes) {\n lines.push(` ${lane.playbookRef} — ${lane.failure ? `failed: ${lane.failure}` : `landed ${lane.landed?.join(', ') || 'nothing'}`}`);\n lines.push(` why this one: ${lane.rationale}`);\n }\n for (const dropped of step.droppedLanes) lines.push(` not run: ${dropped.playbookRef} — ${dropped.reason}`);\n return lines;\n}\n\nasync function readJsonOnce<T>(path: string, options: CompanionClientOptions): Promise<T> {\n const response = await CompanionClient.request(path, { method: 'GET' }, options, CompanionRequestRetryPolicy.NO_RETRY);\n // Typed, so a caller can tell \"it answered no\" from \"nothing is there\" without reading the message.\n if (!response.ok) throw new CompanionRefusalError(`Companion API ${path}: ${response.status} ${response.statusText}`, response.status);\n return await response.json() as T;\n}\n\n/**\n * One feed line as ONE line of text — what the background watcher prints, because each line it prints\n * becomes one notification in the session (#1657). The same words as {@link describeFeedLine}, joined.\n */\nexport function describeFeedLineCompact(line: CreationConsole_FeedLine): string {\n return describeFeedLine(line).map((text) => text.trim()).join(' · ');\n}\n\n/**\n * The console's PUSH loop (#1657), behind `wildo creation watch` — separated from the command so its\n * behaviour is pinned without a companion or a clock.\n *\n * Polls the pulse; reads the feed when the pulse moved or `feedFallbackMs` passed; says ONE line per new\n * event. The first successful feed read only establishes what already happened (the session-start brief\n * reported it). A companion that cannot be reached is said once, and its return once. Runs until\n * `shouldStop` answers true (the command passes a function that never does).\n *\n * \"Cannot be reached\" has three meanings, and only one of them may say \"start it\" (#2394). Nothing\n * listening means the companion is not running. A request that TIMES OUT means a process accepted the\n * connection and did not answer in time: running and busy. An HTTP error status means it answered and\n * said no, while starting or in diagnostics: running too. Telling a person or a supervisor to start a\n * running companion ended in a restart that killed the runs it was busy with. On app-creation-test-005\n * the monitor flipped to \"not reachable\" every one to two minutes through a build wave, on one live pid.\n * The wording is the pulse's (`describePulseFailure`), so `wildo creation pulse` says the same thing.\n */\nexport async function watchCreationEvents(port: {\n readonly readPulse: () => Promise<CreationConsole_Pulse>;\n readonly readFeed: () => Promise<CreationConsole_Feed>;\n readonly say: (text: string) => void;\n readonly sleep: (ms: number) => Promise<void>;\n readonly now: () => number;\n readonly shouldStop: () => boolean;\n readonly pulseIntervalMs: number;\n readonly feedFallbackMs: number;\n}): Promise<void> {\n let seen: Set<string> | null = null;\n let lastPulseKey: string | null = null;\n let lastFeedAt = Number.NEGATIVE_INFINITY;\n /** Why the last pulse failed, or `null` while the companion answers. */\n let failure: PulseFailure | null = null;\n while (!port.shouldStop()) {\n let pulseKey: string | null = null;\n try {\n const pulse = await port.readPulse();\n pulseKey = `${pulse.sequence}:${pulse.runsInFlight}`;\n if (failure !== null) {\n port.say(failure === PulseFailure.UNREACHABLE ? 'Dev companion is back.' : 'Dev companion is answering again.');\n failure = null;\n lastPulseKey = null;\n }\n } catch (error) {\n const next = classifyCompanionRequestFailure(error);\n // Said once per state: a companion going from busy to stopped (or back) is news, the same one twice is not.\n if (next !== failure) port.say(`Dev companion ${describePulseFailure(next)} Waiting for it.`);\n failure = next;\n }\n if (pulseKey !== null && (pulseKey !== lastPulseKey || port.now() - lastFeedAt >= port.feedFallbackMs)) {\n try {\n const feed = await port.readFeed();\n lastFeedAt = port.now();\n if (seen === null) {\n seen = new Set(feed.lines.map(feedLineSignature));\n } else {\n for (const line of newFollowedLines(feed.lines, seen)) {\n seen.add(feedLineSignature(line));\n port.say(describeFeedLineCompact(line));\n }\n }\n lastPulseKey = pulseKey;\n } catch {\n /* The pulse answered and the feed did not: try again next tick without announcing anything. */\n }\n }\n await port.sleep(port.pulseIntervalMs);\n }\n}\n\n/**\n * Why a request to the companion failed, in the pulse's vocabulary, so the watcher and `wildo creation\n * pulse` give the same advice (#2394 review L1). A timeout — including one that fires while the body is\n * read, after the headers — means a process is there and busy; an HTTP error status, or a body that does\n * not parse, means it is there and answered something unusable; anything else (a refused or reset\n * connection, no endpoint, no token) means nothing is listening.\n */\nexport function classifyCompanionRequestFailure(error: unknown): PulseFailure {\n if (error instanceof CompanionRequestTimeoutError) return PulseFailure.SLOW;\n if (error instanceof Error && (error.name === 'TimeoutError' || error.name === 'AbortError')) return PulseFailure.SLOW;\n if (error instanceof CompanionRefusalError) return PulseFailure.REFUSED;\n // `response.json()` on a body that is not JSON: it answered, so it is running.\n if (error instanceof SyntaxError) return PulseFailure.REFUSED;\n return PulseFailure.UNREACHABLE;\n}\n\n/** The Home sections whose lines are EVENTS a follower waits for; suggestions move with every edit and are not. */\nconst FOLLOWED_SECTIONS: ReadonlySet<string> = new Set([WorkbenchCreationHomeSection.SINCE, WorkbenchCreationHomeSection.ASKED]);\n\n/**\n * A line's SIGNATURE — what makes it \"the same line\" to a follower. A line whose facts changed (a\n * dispatch that became acceptable, a run that failed) is news again; the attached row is excluded,\n * because its timestamps move on every read without anything having happened.\n */\nexport function feedLineSignature(line: CreationConsole_FeedLine): string {\n return JSON.stringify([line.lineId, line.at, line.failed, line.acceptable, line.needsAnswers, line.stuckReason, line.questionId]);\n}\n\n/**\n * The followed lines that are NEW since `seen` — the one comparison `--follow` makes. `seen` is the\n * set of signatures already printed, so a line printed once is never printed twice, however often\n * the feed is read.\n */\nexport function newFollowedLines(lines: readonly CreationConsole_FeedLine[], seen: ReadonlySet<string>): CreationConsole_FeedLine[] {\n return lines.filter((line) => FOLLOWED_SECTIONS.has(line.section) && !seen.has(feedLineSignature(line)));\n}\n\nfunction stringField(row: Record<string, unknown> | null, field: string): string | null {\n const value = row?.[field];\n return typeof value === 'string' && value.length > 0 ? value : null;\n}\n\n/**\n * One feed line in words. The kind vocabulary is the companion's (`WorkbenchCreationHomeLineKind`);\n * an unknown kind is printed as its raw value rather than guessed at, so a newer companion's line is\n * visibly unfamiliar instead of quietly misdescribed.\n */\nexport function describeFeedLine(line: CreationConsole_FeedLine): string[] {\n const subject = line.playbookRef ?? line.taskRef ?? line.subject ?? line.targetResourceId;\n const when = line.at ? ` (${line.at})` : '';\n const out: string[] = [];\n switch (line.kind) {\n case WorkbenchCreationHomeLineKind.RUN_COMPLETED: {\n out.push(`${line.failed ? 'REFUSED' : 'completed'} playbook ${subject}${when}`);\n const verdict = stringField(line.target, 'judgeOverall');\n if (verdict) out.push(` judge: ${verdict}`);\n /* The criteria that did not pass are what a console acts on; a PASS needs no rationale read out. */\n const criteria = line.target?.judgeCriteria;\n if (Array.isArray(criteria)) {\n for (const criterion of criteria as { criterionRef?: unknown; verdict?: unknown; rationale?: unknown }[]) {\n if (criterion.verdict === MetaWorkflow_EvaluationVerdict.PASS || typeof criterion.criterionRef !== 'string') continue;\n out.push(` ${String(criterion.verdict)} ${criterion.criterionRef}: ${String(criterion.rationale ?? '')}`);\n }\n }\n const skipped = stringField(line.target, 'judgeSkipped');\n if (skipped) out.push(` judge did not run: ${skipped}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.REPAIR_FAILED_LANDING_STANDS:\n // #3213: non-fatal — the re-run failed, its family's earlier landing stands, and the lane went on with it.\n out.push(`repair did not land (non-fatal) playbook ${subject}${when} — its earlier result stands and is still used`);\n if (line.subject) out.push(` ${line.subject}`);\n break;\n case WorkbenchCreationHomeLineKind.RUN_INTERRUPTED:\n out.push(`interrupted playbook ${subject}${when} — running it again resumes it`);\n break;\n case WorkbenchCreationHomeLineKind.DISPATCH_SETTLED: {\n const objective = stringField(line.target, 'objective');\n out.push(`${line.failed ? 'FAILED' : 'finished'} build task ${subject}${when}${objective ? ` — ${objective}` : ''}`);\n if (line.acceptable) out.push(` its writes wait to be committed → wildo build accept ${line.taskRef ?? subject}`);\n const error = stringField(line.target, 'error');\n if (error) out.push(` ${error}`);\n break;\n }\n case WorkbenchCreationHomeLineKind.CODING_AGENT_USAGE_LIMITED:\n // `subject` is when the build resumes; the task is the one whose run met the limit (#2388).\n out.push(`PAUSED coding agent usage limit reached — resumes at ${line.subject ?? 'its reset'}${when}`);\n out.push(` met by build task ${line.taskRef ?? line.targetResourceId}; no attempt is counted, and the build continues on its own`);\n break;\n case WorkbenchCreationHomeLineKind.CODING_AGENT_ACCOUNT_REFUSED:\n // #3204: `subject` is the refusal (which account, why, its words); a person adds credits or raises the limit.\n out.push(`HELD the coding agent's provider account refused to work${when}`);\n out.push(` ${line.subject ?? 'the provider refused'}`);\n out.push(` met by build task ${line.taskRef ?? line.targetResourceId}; no attempt is counted, and the account is asked again every 30 minutes`);\n break;\n case WorkbenchCreationHomeLineKind.VERIFICATION_TOOL_UNAVAILABLE: {\n // #3423, #3432: the build's checks cannot be asked for a host cause; `subject` is the cause and its remedy.\n const task = line.taskRef ?? line.targetResourceId;\n out.push(`WAITING the build's checks cannot run${when} — no coding turn starts: ${line.subject ?? 'a command the checks run is unavailable.'}`);\n out.push(` met by build task ${task}; no attempt is counted. If the cause is gone and this does not clear: wildo build rearm ${task} --reason environment`);\n break;\n }\n case WorkbenchCreationHomeLineKind.CODING_AGENT_CONNECTIVITY_LOST: {\n // #3236, #3262: no coding turn is admitted until the agent's API answers along its own route (`subject`).\n const task = line.taskRef ?? line.targetResourceId;\n out.push(line.subject\n ? `WAITING the coding agent lost the network${when} — no coding turn starts until ${line.subject} answers`\n : `WAITING the coding agent lost the network${when} — its next coding turn checks whether it is back`);\n out.push(` met by build task ${task}; no attempt is counted. If the network is back and this does not clear: wildo build rearm ${task} --reason environment`);\n break;\n }\n case WorkbenchCreationHomeLineKind.BUILD_TASK_CLOSED:\n // #3224, #3227: a person's closure; the subject is their reason, and the task's record says how it was closed.\n out.push(`closed build task ${line.taskRef ?? subject}${when} by you${line.subject ? ` — ${line.subject}` : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.CLARIFICATION:\n out.push(`ASKED playbook ${subject} stopped on questions only you can answer${when}`);\n break;\n case WorkbenchCreationHomeLineKind.PARKED_QUESTION:\n out.push(`ASKED the coding run for ${subject} is parked on a question${when}`);\n break;\n case WorkbenchCreationHomeLineKind.INTERVIEW_DATES_NEXT_WORK:\n // #3361: the subject is the steps the unattended round holds until the interview is answered.\n out.push(`ASKED playbook ${line.playbookRef ?? subject}'s interview waits on you, and ${line.subject ?? 'work'} would be derived again if run before you answer: wildo creation questions`);\n break;\n case WorkbenchCreationHomeLineKind.GOVERNANCE_DOCUMENT:\n out.push(`ASKED governed document ${subject} still needs facts (answered in the workbench only: wildo workbench open ${line.lineId})`);\n break;\n case WorkbenchCreationHomeLineKind.UNBLOCK_THE_PLAN:\n out.push(`ASKED the build plan is stuck at ${subject}: ${line.stuckReason ?? 'no reason recorded'}`);\n break;\n case WorkbenchCreationHomeLineKind.SPECIFICATION_FAULT_HOLDS_THE_PLAN:\n out.push(`ASKED the build plan cannot run and is not finished: specifications module ${subject} does not evaluate`);\n break;\n case WorkbenchCreationHomeLineKind.CONTINUE_THE_PLAN:\n out.push(`next build task ${line.taskRef ?? subject}${line.subject ? ` — ${line.subject}` : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.FOLLOW_UP_LANDED_WITH_GAP:\n // #2583: advisory. The follow-up landed and its run still reports a gap; running it again is a choice.\n out.push(`advisory follow-up ${line.taskRef ?? subject} landed but still reports: ${line.subject ?? 'a requirement unmet'}`);\n out.push(` to work it again: wildo build run ${line.taskRef ?? subject} --despite-landed --reason ${BuildTaskRearmReason.OPERATOR_JUDGEMENT} --note \"<why>\"`);\n break;\n case WorkbenchCreationHomeLineKind.RUN_LEFTOVER_UNCOMMITTED: {\n // #3267: files the task's runs left that no automatic door will commit (a stuck task's declared product aside, #3204). Both doors are the person's.\n const task = line.taskRef ?? subject;\n out.push(`ASKED build task ${task} left files uncommitted that nothing will commit on its own: ${line.subject ?? 'see wildo build tasks'}`);\n out.push(` commit them under those runs: wildo build accept ${task} --leftovers (add --force for a file already dirty when its run began)`);\n out.push(' or discard one: the command wildo build tasks prints beside it');\n break;\n }\n case WorkbenchCreationHomeLineKind.GAP_AWAITS_DECISION: {\n // #3886: no coding task can close it; the person decides, then the reporting task runs again.\n const task = line.taskRef ?? subject;\n out.push(`ASKED build task ${task} reported a gap only your decision can close: ${line.subject ?? 'see wildo build tasks'}`);\n out.push(' decide it where the application declares it, then run the task again:');\n out.push(` landed: wildo build run ${task} --despite-landed --reason ${BuildTaskRearmReason.OPERATOR_JUDGEMENT} --note \"<what you decided>\"`);\n out.push(` not landed: wildo build rearm ${task} --reason ${BuildTaskRearmReason.OPERATOR_JUDGEMENT} --note \"<what you decided>\"`);\n break;\n }\n case WorkbenchCreationHomeLineKind.LANDED_WITH_ADVISORY:\n // #3285: advisory. The task landed and something its landing does not cover is unfinished; nothing stops.\n out.push(`advisory build task ${line.taskRef ?? subject} landed but is not in use until this is set: ${line.subject ?? 'see wildo build tasks'}`);\n out.push(` what it needs first: wildo build tasks`);\n break;\n case WorkbenchCreationHomeLineKind.PRODUCE_MISSING:\n out.push(`next playbook ${subject} would produce a missing artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n case WorkbenchCreationHomeLineKind.REFRESH_STALE:\n out.push(`next playbook ${subject} would refresh a stale artifact${line.needsAnswers ? ' (it has questions for you first)' : ''}`);\n break;\n default:\n out.push(`${line.kind} ${subject}${when}`);\n }\n if (line.questionId) out.push(` question: ${line.questionId} → wildo creation questions`);\n return out;\n}\n\n/**\n * The command that answers a question, for a reader to copy: `wildo creation answer` for a console item, and\n * `wildo workbench open` for one only the workbench answers (#3242). An agent copies these, so a workbench-only\n * item never shows an answer command: on app-creation-test-007 every one sent for a governed-document fact was\n * refused, and the feed kept asking.\n */\nexport function describeAnswerCommand(question: CreationConsole_Question): string[] {\n /*\n * Answering without a value (#3437) is offered wherever the item admits it, a workbench-only fact included. `?? []`:\n * a companion older than this field sends none, which reads as \"admits none\".\n */\n const admitted = question.admittedNonAnswers ?? [];\n const withoutValue = [\n ...(admitted.includes(MetaWorkflow_ElicitationNonAnswer.NOT_APPLICABLE)\n ? [`wildo creation answer ${question.questionId} --person --not-applicable \"<why it does not concern this application>\"`] : []),\n ...(admitted.includes(MetaWorkflow_ElicitationNonAnswer.DEFERRED)\n ? [`wildo creation answer ${question.questionId} --person --later \"<why it is not decided yet>\"`] : []),\n ];\n if (question.answerableFrom === CreationConsoleAnswerSurface.WORKBENCH) {\n return [`wildo workbench open ${question.questionId} (answered in the workbench only)`, ...withoutValue];\n }\n if (question.actions.length === 0) return [];\n const revision = question.revision !== null ? ` --revision ${question.revision}` : '';\n const commands: string[] = [];\n if (question.actions.includes(CreationConsoleAnswerAction.ANSWER)) {\n commands.push(question.fields.length === 1\n /*\n * `--person` in the hint: the command is copied by agents as often as by people, and from inside an\n * agent session an unattributed answer is refused (#1658). For a person at a terminal it names what\n * the default would have been anyway.\n */\n ? `wildo creation answer ${question.questionId}${revision} --person \"<answer>\"`\n : `wildo creation answer ${question.questionId}${revision} --person --answer ${question.fields.map((field) => `${field.ref}=\"<answer>\"`).join(' ')}`);\n }\n /* An interview question the person does not know (#2129): have it proposed, then keep the proposal as an assumption. */\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW && question.proposable === true && question.assumedAnswer === null && question.playbookRef !== null) {\n commands.push(`wildo creation propose ${question.playbookRef}${question.instanceKey ? ` --instance ${question.instanceKey}` : ''} --question ${question.fields[0]!.ref}`);\n }\n commands.push(...withoutValue);\n if (question.actions.includes(CreationConsoleAnswerAction.DECLINE)) commands.push(`wildo creation answer ${question.questionId}${revision} --decline`);\n if (question.actions.includes(CreationConsoleAnswerAction.CANCEL)) commands.push(`wildo creation answer ${question.questionId}${revision} --cancel`);\n return commands;\n}\n\nconst QUESTION_KIND_WORDS: Readonly<Record<CreationConsoleQuestionKind, string>> = {\n [CreationConsoleQuestionKind.CLARIFICATION]: 'a playbook run stopped to ask',\n [CreationConsoleQuestionKind.PARKED_CODING_QUESTION]: 'a coding run is parked on a question',\n [CreationConsoleQuestionKind.INTERVIEW]: 'a step can run once this is answered',\n [CreationConsoleQuestionKind.GOVERNANCE_FACT]: 'a drafted governed document needs this fact — answer it in the workbench, or defer it here',\n};\n\n/** One queued question in words, followed by the command(s) that answer it. */\nexport function describeQuestion(question: CreationConsole_Question): string[] {\n const step = question.playbookRef === null ? null : playbookInstanceId(question.playbookRef, question.instanceKey ?? undefined);\n const about = step ?? question.taskRef ?? question.definitionRef ?? '';\n const out: string[] = [`${question.questionId} — ${QUESTION_KIND_WORDS[question.kind]}${about ? ` (${about})` : ''}`];\n if (question.producingFamily) out.push(` producing: ${question.producingFamily}`);\n if (question.dryRun === true) out.push(' dry run: answering writes nothing');\n if (question.routedToUserId) out.push(' asked of the person who started its run: only they may answer it — in the workbench, signed in as them');\n if (question.resumable === false) out.push(' the run cannot re-enter its session: answering starts a new one that restates the task');\n if (question.affectsFamilies.length > 0) out.push(` an answer reaches: ${question.affectsFamilies.join(', ')}`);\n if (question.kind === CreationConsoleQuestionKind.INTERVIEW) {\n /* #2129: whether a simple interview asks it, and whether a proposal can stand in when the person does not know. */\n if (question.askedInSimpleInterview === false) out.push(' detail: a simple interview proposes it instead of asking');\n if (question.proposable === false) out.push(' only the person can answer it: it is never proposed');\n if (question.regulatedDomain === true) {\n // Only ever assumed on review (an unattended round never assumes one), so a kept one is named when revisited.\n out.push(question.assumedAnswer !== null\n ? ' regulated domain: kept on review — name it to the person when revisiting it'\n : ' regulated domain: name any proposed answer to the person before keeping it');\n }\n if (question.assumedAnswer !== null) out.push(` assumed (to revisit): ${question.assumedAnswer} — answering records the person's own answer in its place`);\n if (question.assumptionRationale) out.push(` because: ${question.assumptionRationale}`);\n }\n /* Answered without a value (#3437): listed to revisit, with the person's reason. */\n if (question.nonAnswer !== null && question.nonAnswer !== undefined) {\n out.push(` ${question.nonAnswer === MetaWorkflow_ElicitationNonAnswer.NOT_APPLICABLE ? 'does not apply' : 'not decided yet (later)'}: ${question.nonAnswerReason ?? ''} — answering records the answer in its place`);\n }\n for (const field of question.fields) {\n out.push(` [${field.ref}] ${field.question}`);\n if (field.why) out.push(` why: ${field.why}`);\n if (field.options.length > 0 && field.optionDetails !== undefined) {\n // A computed option is a summary; what it summarizes is printed under it, so it is never chosen blind (#2337).\n out.push(' options:');\n field.options.forEach((option, index) => {\n out.push(` - ${option}`);\n const detail = field.optionDetails?.[index];\n if (detail) out.push(` ${detail}`);\n });\n } else if (field.options.length > 0) {\n out.push(` options: ${field.options.join(' | ')}`);\n }\n }\n for (const command of describeAnswerCommand(question)) out.push(` → ${command}`);\n return out;\n}\n\n/**\n * Build the answer request from the CLI's inputs. Throws a sentence when the inputs do not make one\n * request — the companion refuses the same things, but a refusal before the round trip names the\n * flag to change.\n *\n * `value` is the positional answer, for a question with ONE field; `pairs` are `--answer ref=value`.\n */\n/** Parse `ref=value` tokens; `flag` names the flag in the error. */\nfunction parseAnswerPairs(pairs: readonly string[], flag: string): { ref: string; value: string }[] {\n return pairs.map((pair) => {\n const separator = pair.indexOf('=');\n if (separator <= 0) {\n /* The flags are variadic: an answer typed AFTER one is taken as one more pair — the likelier cause of a pair with no ref. */\n throw new Error(`\"${pair}\" is not ref=value. \\`${flag}\\` takes every token after it, so give a positional answer BEFORE \\`${flag}\\`, `\n + `or answer every question with \\`${flag} ref=value\\`.`);\n }\n return { ref: pair.slice(0, separator), value: pair.slice(separator + 1) };\n });\n}\n\n/**\n * The only author an agent may record for an answer it DERIVED itself. A derived answer is by\n * definition not the person's, so the prefix is enforced rather than trusted.\n */\nexport const AGENT_ANSWER_AUTHOR_PREFIX = 'agent:';\n\nexport function buildAnswerRequest(input: {\n readonly questionId: string;\n readonly revision?: string;\n readonly value?: string;\n /** `--answer ref=value`: answers the PERSON gave (authored by `answeredByRef`). */\n readonly pairs: readonly string[];\n /** `--derived ref=value`: answers an AGENT derived on its own (authored by `derivedByRef`). */\n readonly derivedPairs?: readonly string[];\n readonly derivedByRef?: string;\n /**\n * The positional answer is a PROPOSAL the person let stand because they did not know (#2129): recorded as\n * ASSUMED, authored by the companion's proposer, with the proposer's reason. Interview questions only.\n */\n readonly assumed?: boolean;\n readonly assumptionRationale?: string;\n /**\n * Answer WITHOUT a value (#3437), with the person's reason: `notApplicable` (the question does not concern this\n * application) or `later` (it does, and is not decided yet). One field only; the person's say, never a proposal.\n */\n readonly notApplicable?: string;\n readonly later?: string;\n readonly decline: boolean;\n readonly cancel: boolean;\n /** The author of the person's answers — and the request's default author. */\n readonly answeredByRef?: string;\n /** The question as the queue serves it, to resolve a positional answer's field ref. */\n readonly question: CreationConsole_Question | null;\n}): CreationConsole_AnswerRequest {\n const parsed = parseCreationConsoleQuestionId(input.questionId);\n if (!parsed) throw new Error(`\"${input.questionId}\" is not a question id — copy one from \\`wildo creation questions\\`.`);\n if (input.decline && input.cancel) throw new Error('Pass --decline or --cancel, not both.');\n const base = {\n questionId: input.questionId,\n ...(input.revision ? { revision: input.revision } : {}),\n ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}),\n };\n const personAnswers = parseAnswerPairs(input.pairs, '--answer');\n const derived = parseAnswerPairs(input.derivedPairs ?? [], '--derived');\n if (derived.length > 0) {\n if (!input.derivedByRef?.startsWith(AGENT_ANSWER_AUTHOR_PREFIX) || input.derivedByRef.length === AGENT_ANSWER_AUTHOR_PREFIX.length) {\n throw new Error(`A derived answer names the agent that derived it: --derived-by ${AGENT_ANSWER_AUTHOR_PREFIX}<name>.`);\n }\n }\n if (input.assumptionRationale !== undefined && input.assumed !== true) throw new Error('--rationale explains an assumption: pass it with --assumed.');\n if (input.assumed === true) {\n if (parsed.kind !== CreationConsoleQuestionKind.INTERVIEW) {\n throw new Error('--assumed records a proposed interview answer; only interview questions take one. A playbook round takes --decline to let the run decide.');\n }\n if (input.value === undefined || personAnswers.length > 0 || derived.length > 0 || input.decline || input.cancel) {\n throw new Error('--assumed takes the proposed answer positionally, and nothing else: wildo creation answer <questionId> --assumed \"<value>\" --rationale \"<why>\".');\n }\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n return {\n ...base,\n action: CreationConsoleAnswerAction.ANSWER,\n answers: [{\n ref: input.question.fields[0]!.ref,\n value: input.value,\n /* The proposer is the author: the person let it stand, they did not decide it. */\n answeredByRef: INTERVIEW_ANSWER_PROPOSER_REF,\n standing: ApplicationCreatorInputAnswerStanding.ASSUMED,\n ...(input.assumptionRationale !== undefined ? { assumptionRationale: input.assumptionRationale } : {}),\n }],\n };\n }\n if (input.notApplicable !== undefined || input.later !== undefined) {\n if (input.notApplicable !== undefined && input.later !== undefined) throw new Error('Pass --not-applicable or --later, not both.');\n if (input.value !== undefined || personAnswers.length > 0 || derived.length > 0 || input.decline || input.cancel) {\n throw new Error('--not-applicable and --later take the reason, and nothing else: wildo creation answer <questionId> --later \"<why>\".');\n }\n const reason = (input.notApplicable ?? input.later ?? '').trim();\n if (reason.length === 0) throw new Error('Say why: the reason is what is revisited later.');\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n const nonAnswer = input.notApplicable !== undefined ? MetaWorkflow_ElicitationNonAnswer.NOT_APPLICABLE : MetaWorkflow_ElicitationNonAnswer.DEFERRED;\n const admitted = input.question.admittedNonAnswers ?? [];\n if (!admitted.includes(nonAnswer)) {\n throw new Error(admitted.length === 0\n ? `\"${input.questionId}\" cannot be answered without a value (or the companion predates #3437: update it).`\n : `\"${input.questionId}\" admits only ${admitted.map((kind) => (kind === MetaWorkflow_ElicitationNonAnswer.DEFERRED ? '--later' : '--not-applicable')).join(' or ')}.`);\n }\n if (input.question.fields.length !== 1) throw new Error(`\"${input.questionId}\" asks ${input.question.fields.length} questions; a non-answer is given one question at a time.`);\n return {\n ...base,\n action: CreationConsoleAnswerAction.ANSWER,\n answers: [{ ref: input.question.fields[0]!.ref, nonAnswer, reason, ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}) }],\n };\n }\n if (input.cancel) {\n if (input.value !== undefined || personAnswers.length > 0 || derived.length > 0) throw new Error('--cancel carries no answer.');\n return { ...base, action: CreationConsoleAnswerAction.CANCEL };\n }\n if (input.value !== undefined) {\n if (personAnswers.length > 0 || derived.length > 0) throw new Error('Give the answer either positionally or with --answer / --derived, not both.');\n if (!input.question) throw new Error(`Nothing waits under \"${input.questionId}\" now — read \\`wildo creation questions\\` again.`);\n if (input.question.fields.length !== 1) {\n throw new Error(`\"${input.questionId}\" asks ${input.question.fields.length} questions; answer each with --answer ${input.question.fields.map((field) => `${field.ref}=…`).join(' ')}.`);\n }\n personAnswers.push({ ref: input.question.fields[0]!.ref, value: input.value });\n }\n /* Each answer carries its author, so a round an agent and the person answered together records both (#1658). */\n const answers = [\n ...personAnswers.map((answer) => ({ ...answer, ...(input.answeredByRef ? { answeredByRef: input.answeredByRef } : {}) })),\n ...derived.map((answer) => ({ ...answer, answeredByRef: input.derivedByRef! })),\n ];\n if (answers.some((answer) => answer.value.trim().length === 0)) throw new Error('An answer cannot be empty.');\n if (new Set(answers.map((answer) => answer.ref)).size !== answers.length) throw new Error('Each question is answered once.');\n if (input.decline) {\n /* \"These I answered, decide the rest\" — the run decides only what is left unanswered. */\n return { ...base, action: CreationConsoleAnswerAction.DECLINE, ...(answers.length > 0 ? { answers } : {}) };\n }\n if (answers.length === 0) throw new Error('No answer given: pass it positionally, with --answer / --derived ref=value, or use --decline / --cancel.');\n return { ...base, action: CreationConsoleAnswerAction.ANSWER, answers };\n}\n\n/**\n * Whether this process was started by a coding agent (Claude Code sets `CLAUDECODE=1`; agents following\n * the emerging cross-agent convention set `AI_AGENT`). Used for ONE decision: an answer sent from inside\n * an agent session must say whose it is, because there the git identity is the person's and the typist\n * is the agent — defaulting would record the agent's derivation as the person's decision (#1658).\n */\nexport function isRunningInsideCodingAgent(env: NodeJS.ProcessEnv = process.env): boolean {\n return env.CLAUDECODE === '1' || (typeof env.AI_AGENT === 'string' && env.AI_AGENT.trim().length > 0);\n}\n\n/**\n * Who answers, when the caller does not say: the workspace's git identity — the author of the commit\n * that will accept the answer, which is the provenance this repository already trusts for an\n * acceptance (`one-source-of-truth.md` rule 7). `null` when git has none configured.\n *\n * PREFIXED `git:`, like the `agent:<name>` an agent answering on its own sends, because the same\n * `answeredByRef` field also holds the workbench's signed-in user ids: a reader of the dossier can then\n * tell which door an answer came through and what kind of identity it names.\n */\nexport async function readGitIdentity(repositoryRoot: string): Promise<string | null> {\n try {\n const { stdout } = await GitHelper.runGit(repositoryRoot, ['config', 'user.email']);\n const email = stdout.trim();\n return email.length > 0 ? `git:${email}` : null;\n } catch {\n return null;\n }\n}\n\n/**\n * A proposal response in words (#2129): each proposed answer, why, and the command that keeps it as an\n * assumption. What could not be proposed is named, for the person to answer.\n */\nexport function describeInterviewProposals(response: CreationConsole_ProposalResponse): string[] {\n const out: string[] = [];\n if (response.proposals.length === 0 && response.unproposed.length === 0) {\n return [`Nothing to propose for ${response.playbookRef}: every question it would propose is answered, or no interview depth is chosen yet (wildo creation depth).`];\n }\n for (const proposal of response.proposals) {\n out.push(`[${proposal.questionRef}] ${proposal.question}${proposal.regulatedDomain ? ' (REGULATED DOMAIN — name it to the person before keeping it)' : ''}`, ` proposed: ${proposal.value}`, ` because: ${proposal.rationale}`);\n if (proposal.questionId !== null) {\n out.push(` → keep it: wildo creation answer ${proposal.questionId} --assumed ${JSON.stringify(proposal.value)} --rationale ${JSON.stringify(proposal.rationale)}`);\n }\n }\n for (const missing of response.unproposed) out.push(`[${missing.questionRef}] could not be proposed (${missing.reason}) — ask the person.`);\n return out;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"creation-drive.service.d.ts","sourceRoot":"","sources":["../../../../src/services/companion/creation-drive.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,EAIL,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,oBAAoB,EAC1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAuC,KAAK,2BAA2B,EAAuB,MAAM,uBAAuB,CAAC;AAEnI,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,mGAAmG;AACnG,oBAAY,kBAAkB;IAC5B,KAAK,UAAU;CAChB;AAED,0GAA0G;AAC1G,oBAAY,qBAAqB;IAC/B;;;OAGG;IACH,YAAY,iBAAiB;IAC7B;;;;;OAKG;IACH,iBAAiB,sBAAsB;IACvC;;;OAGG;IACH,eAAe,oBAAoB;IACnC,kEAAkE;IAClE,YAAY,iBAAiB;IAC7B;;;OAGG;IACH,kBAAkB,uBAAuB;IACzC,0HAA0H;IAC1H,YAAY,iBAAiB;IAC7B,oFAAoF;IACpF,uBAAuB,4BAA4B;IACnD,6FAA6F;IAC7F,UAAU,eAAe;IACzB,6GAA6G;IAC7G,YAAY,iBAAiB;IAC7B,yGAAyG;IACzG,YAAY,iBAAiB;IAC7B,2FAA2F;IAC3F,0BAA0B,+BAA+B;IACzD,oFAAoF;IACpF,gBAAgB,qBAAqB;IACrC,uCAAuC;IACvC,kBAAkB,uBAAuB;IACzC,kCAAkC;IA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;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE;IACvE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;CAClC,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAqL/B"}
@@ -469,7 +469,8 @@ export async function runCreationDrive(port, options) {
469
469
  return refusedByProviderAccount(accountRefusal);
470
470
  return finish(CreationDriveStopRule.LOOP_REFUSED, describeCaughtError(error));
471
471
  }
472
- rounds += result.steps.length;
472
+ // A wait while lanes ran is not a round of work (#3848): it started nothing.
473
+ rounds += result.steps.filter((step) => step.waitRationale === undefined).length;
473
474
  lastLoop = { stoppedBecause: result.stoppedBecause, waitedSince: false, ...(result.steps.at(-1)?.stopRationale ? { stopRationale: result.steps.at(-1).stopRationale } : {}) };
474
475
  port.progress(`Loop ${loops} ran ${result.steps.length} round(s) and stopped: ${result.stoppedBecause}`);
475
476
  // A provider account's refusal (#3204) keeps its own rule even where the posture leaves acceptance to a person: it is stopped on at once, since the next loop is refused identically.
@@ -481,7 +482,9 @@ export async function runCreationDrive(port, options) {
481
482
  if (await acceptPending())
482
483
  return finish(CreationDriveStopRule.ACCEPTANCE_HELD_FOR_PERSON, ACCEPTANCE_IS_YOURS);
483
484
  if (result.stoppedBecause === LOOP_ALL_LANES_FAILED) {
484
- const failures = result.steps.at(-1)?.lanes.filter((lane) => lane.failure).map((lane) => `${lane.playbookRef}: ${lane.failure}`) ?? [];
485
+ // The step that stopped it, named by the loop (#3848): steps settle out of order, so the last one may be another.
486
+ const failedStep = result.stoppedAtIteration !== undefined ? result.steps.find((step) => step.iteration === result.stoppedAtIteration) : result.steps.at(-1);
487
+ const failures = failedStep?.lanes.filter((lane) => lane.failure).map((lane) => `${lane.playbookRef}: ${lane.failure}`) ?? [];
485
488
  return finish(CreationDriveStopRule.LANES_FAILED, failures.join('; ') || 'every lane of the last round failed');
486
489
  }
487
490
  if (result.stoppedBecause === LOOP_INTERRUPTED_BY_ENVIRONMENT) {