@wildo-ai/dev-companion 1.1.13 → 1.1.14

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 (256) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +21 -0
  3. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  4. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +37 -4
  5. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  6. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  7. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +9 -2
  8. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  9. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +66 -0
  10. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  11. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +183 -7
  12. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  13. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +6 -2
  14. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  15. package/dist/esm/claude-cli/services/git-change-set.companion.service.js +16 -39
  16. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  17. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +31 -2
  18. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  19. package/dist/esm/companion-api/companion-api.schemas.d.ts +2 -0
  20. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  21. package/dist/esm/companion-api/companion-api.schemas.js +8 -0
  22. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  23. package/dist/esm/companion-api/controllers/companion.controller.d.ts +7 -0
  24. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  25. package/dist/esm/companion-api/controllers/companion.controller.js +26 -12
  26. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  27. package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts +17 -0
  28. package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts.map +1 -0
  29. package/dist/esm/companion-api/controllers/long-held-request.companion.js +33 -0
  30. package/dist/esm/companion-api/controllers/long-held-request.companion.js.map +1 -0
  31. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +9 -0
  32. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  33. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +12 -0
  34. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  35. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  36. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +7 -1
  37. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  38. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +8 -20
  39. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  40. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +37 -142
  41. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  42. package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts +64 -0
  43. package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts.map +1 -0
  44. package/dist/esm/core/introspection/services/introspection-source-walk.worker.js +304 -0
  45. package/dist/esm/core/introspection/services/introspection-source-walk.worker.js.map +1 -0
  46. package/dist/esm/core/runtime/companion-language-model-route.d.ts +16 -1
  47. package/dist/esm/core/runtime/companion-language-model-route.d.ts.map +1 -1
  48. package/dist/esm/core/runtime/companion-language-model-route.js +23 -1
  49. package/dist/esm/core/runtime/companion-language-model-route.js.map +1 -1
  50. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  51. package/dist/esm/core/runtime/services/start-companion-application.service.js +3 -2
  52. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  53. package/dist/esm/core/utils/git-read-broker.companion.d.ts +62 -0
  54. package/dist/esm/core/utils/git-read-broker.companion.d.ts.map +1 -0
  55. package/dist/esm/core/utils/git-read-broker.companion.js +282 -0
  56. package/dist/esm/core/utils/git-read-broker.companion.js.map +1 -0
  57. package/dist/esm/core/utils/local-write-recording.companion.d.ts +8 -1
  58. package/dist/esm/core/utils/local-write-recording.companion.d.ts.map +1 -1
  59. package/dist/esm/core/utils/local-write-recording.companion.js +7 -23
  60. package/dist/esm/core/utils/local-write-recording.companion.js.map +1 -1
  61. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts +29 -0
  62. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts.map +1 -0
  63. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js +29 -0
  64. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js.map +1 -0
  65. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts +29 -0
  66. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts.map +1 -0
  67. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js +29 -0
  68. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js.map +1 -0
  69. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +1 -0
  70. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  71. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +2 -1
  72. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  73. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts +1 -0
  74. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts.map +1 -1
  75. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js +2 -1
  76. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js.map +1 -1
  77. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts +5 -2
  78. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts.map +1 -1
  79. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js +5 -2
  80. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js.map +1 -1
  81. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts +5 -2
  82. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts.map +1 -1
  83. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js +5 -2
  84. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js.map +1 -1
  85. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts +41 -0
  86. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts.map +1 -0
  87. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js +41 -0
  88. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js.map +1 -0
  89. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts +41 -0
  90. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts.map +1 -0
  91. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js +41 -0
  92. package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js.map +1 -0
  93. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +1 -0
  94. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  95. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +2 -1
  96. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  97. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts +1 -0
  98. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts.map +1 -1
  99. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js +2 -1
  100. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js.map +1 -1
  101. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +1 -0
  102. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  103. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js +2 -1
  104. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  105. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts +1 -0
  106. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts.map +1 -1
  107. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js +2 -1
  108. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js.map +1 -1
  109. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +1 -0
  110. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  111. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +2 -1
  112. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  113. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts +1 -0
  114. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts.map +1 -1
  115. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js +2 -1
  116. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js.map +1 -1
  117. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +2 -0
  118. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  119. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +3 -1
  120. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  121. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts +2 -0
  122. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts.map +1 -1
  123. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js +3 -1
  124. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js.map +1 -1
  125. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +1 -1
  126. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +1 -1
  127. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  128. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts +1 -1
  129. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js +1 -1
  130. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js.map +1 -1
  131. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +2 -0
  132. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  133. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +3 -1
  134. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  135. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts +3 -1
  136. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts.map +1 -1
  137. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js +4 -2
  138. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js.map +1 -1
  139. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +17 -0
  140. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  141. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +18 -1
  142. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  143. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts +17 -0
  144. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts.map +1 -1
  145. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js +18 -1
  146. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js.map +1 -1
  147. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts +206 -195
  148. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts.map +1 -1
  149. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js +206 -195
  150. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js.map +1 -1
  151. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts +10 -0
  152. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts.map +1 -1
  153. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js +12 -2
  154. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js.map +1 -1
  155. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts +70 -0
  156. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts.map +1 -1
  157. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js +70 -0
  158. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js.map +1 -1
  159. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts +12 -2
  160. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts.map +1 -1
  161. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js +12 -2
  162. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js.map +1 -1
  163. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts +10 -0
  164. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts.map +1 -1
  165. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js +10 -0
  166. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js.map +1 -1
  167. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts +25 -20
  168. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts.map +1 -1
  169. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js +25 -20
  170. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js.map +1 -1
  171. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts +32 -32
  172. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js +32 -32
  173. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js.map +1 -1
  174. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts +65 -65
  175. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js +65 -65
  176. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js.map +1 -1
  177. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts +20 -0
  178. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts.map +1 -1
  179. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js +20 -0
  180. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js.map +1 -1
  181. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts +12 -0
  182. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts.map +1 -1
  183. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js +13 -1
  184. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js.map +1 -1
  185. package/dist/esm/i18n/system_enums/application-creation.fr.d.ts +170 -170
  186. package/dist/esm/i18n/system_enums/application-creation.fr.js +170 -170
  187. package/dist/esm/i18n/system_enums/application-creation.fr.js.map +1 -1
  188. package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts +22 -22
  189. package/dist/esm/i18n/system_enums/flows-actors.fr.js +22 -22
  190. package/dist/esm/i18n/system_enums/flows-actors.fr.js.map +1 -1
  191. package/dist/esm/i18n/system_enums/run-records.fr.d.ts +21 -21
  192. package/dist/esm/i18n/system_enums/run-records.fr.js +21 -21
  193. package/dist/esm/i18n/system_enums/run-records.fr.js.map +1 -1
  194. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +1 -0
  195. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  196. package/dist/esm/i18n/system_enums/workbench-build.en.js +1 -0
  197. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  198. package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts +37 -33
  199. package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts.map +1 -1
  200. package/dist/esm/i18n/system_enums/workbench-build.fr.js +37 -33
  201. package/dist/esm/i18n/system_enums/workbench-build.fr.js.map +1 -1
  202. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
  203. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  204. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +1 -0
  205. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  206. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts +18 -17
  207. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts.map +1 -1
  208. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js +18 -17
  209. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js.map +1 -1
  210. package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts +7 -5
  211. package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts.map +1 -1
  212. package/dist/esm/i18n/system_enums/workbench-dossier.fr.js +8 -6
  213. package/dist/esm/i18n/system_enums/workbench-dossier.fr.js.map +1 -1
  214. package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts +12 -12
  215. package/dist/esm/i18n/system_enums/workbench-secrets.fr.js +12 -12
  216. package/dist/esm/i18n/system_enums/workbench-secrets.fr.js.map +1 -1
  217. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts +1 -0
  218. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts.map +1 -1
  219. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js +2 -1
  220. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js.map +1 -1
  221. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  222. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +3 -4
  223. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  224. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +11 -0
  225. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  226. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +21 -0
  227. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  228. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +120 -16
  229. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  230. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +875 -191
  231. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  232. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts +102 -13
  233. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts.map +1 -1
  234. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js +243 -57
  235. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js.map +1 -1
  236. package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.d.ts +3 -3
  237. package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js +3 -3
  238. package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js.map +1 -1
  239. package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts +9 -0
  240. package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts.map +1 -1
  241. package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js +19 -0
  242. package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js.map +1 -1
  243. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
  244. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +4 -5
  245. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
  246. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  247. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +6 -3
  248. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  249. package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.d.ts.map +1 -1
  250. package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js +3 -5
  251. package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js.map +1 -1
  252. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +1 -1
  253. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  254. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +38 -21
  255. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  256. package/package.json +18 -18
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-run-write-register-window.companion.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-run-write-register-window.companion.ts"],"names":[],"mappings":"AAyCA;;;GAGG;AACH,eAAO,MAAM,6BAA6B,QAAkB,CAAC;AAQ7D,wBAAgB,2BAA2B,CAAC,uBAAuB,EAAE,MAAM,GAAG,OAAO,CAEpF;AAED,kHAAkH;AAClH,oBAAY,uBAAuB;IACjC,4GAA4G;IAC5G,SAAS,cAAc;CACxB;AAED,iGAAiG;AACjG,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,IAAI,GAAG,uBAAuB,CAAC;AAE7E,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,2GAA2G;IAC3G,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;OAGG;IACH,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,sBAAsB,GAAG,MAAM,CAAC,CAAC;IAC/E,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B;AAED,uEAAuE;AACvE,MAAM,W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H,wBAAsB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB,GAAG,OAAO,CAAC,SAAS,mBAAmB,EAAE,CAAC,CA2BzI;AAED;;;;GAIG;AACH,wBAAsB,kCAAkC,CACtD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,wBAAwB,EACrC,cAAc,EAAE,SAAS,MAAM,EAAE,GAChC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAgB9B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAGzD"}
1
+ {"version":3,"file":"playbook-run-write-register-window.companion.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-run-write-register-window.companion.ts"],"names":[],"mappings":"AAuCA;;;GAGG;AACH,eAAO,MAAM,6BAA6B,QAAkB,CAAC;AAQ7D,wBAAgB,2BAA2B,CAAC,uBAAuB,EAAE,MAAM,GAAG,OAAO,CAEpF;AAED,kHAAkH;AAClH,oBAAY,uBAAuB;IACjC,4GAA4G;IAC5G,SAAS,cAAc;CACxB;AAED,iGAAiG;AACjG,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,IAAI,GAAG,uBAAuB,CAAC;AAE7E,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,2GAA2G;IAC3G,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;OAGG;IACH,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,sBAAsB,GAAG,MAAM,CAAC,CAAC;IAC/E,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B;AAED,uEAAuE;AACvE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,6DAA6D;IAC7D,QAAQ,CAAC,MAAM,EAAE,MAAM,GA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AAC,CA2BzI;AAED;;;;GAIG;AACH,wBAAsB,kCAAkC,CACtD,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,wBAAwB,EACrC,cAAc,EAAE,SAAS,MAAM,EAAE,GAChC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAgB9B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAGzD"}
@@ -28,12 +28,10 @@
28
28
  * one with `--no-optional-locks`, so a window never writes the index the dev watchers and other sessions read (the DD-8 carve-out the change-set capture
29
29
  * documents in `git-change-set.companion.service.ts`).
30
30
  */
31
- import { execFile } from 'node:child_process';
32
31
  import { createHash } from 'node:crypto';
33
32
  import { readFile, stat } from 'node:fs/promises';
34
33
  import * as path from 'node:path';
35
- import { promisify } from 'node:util';
36
- const execFileAsync = promisify(execFile);
34
+ import { gitReadBroker } from '../../core/utils/git-read-broker.companion.js';
37
35
  const GIT_MAX_BUFFER_BYTES = 128 * 1024 * 1024;
38
36
  const GIT_TIMEOUT_MS = 60_000;
39
37
  /**
@@ -60,10 +58,10 @@ export function sha256Hex(content) {
60
58
  }
61
59
  async function git(saasRoot, args, acceptFailure = false) {
62
60
  try {
63
- const { stdout } = await execFileAsync('git', ['-C', saasRoot, '--no-optional-locks', ...args], {
61
+ // Through the git read helper (#3204): forking `git` from the companion's 2 GB process blocked its event loop.
62
+ const { stdout } = await gitReadBroker.execGitBuffer(['-C', saasRoot, '--no-optional-locks', ...args], {
64
63
  maxBuffer: GIT_MAX_BUFFER_BYTES,
65
64
  timeout: GIT_TIMEOUT_MS,
66
- encoding: 'buffer',
67
65
  });
68
66
  return { ok: true, stdout };
69
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-run-write-register-window.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-run-write-register-window.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH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MAAM,SAAS,GAAG,MAAM,iBAAiB,CAAC,QAAQ,EAAE,WAAW,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;YACpF,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,GAAG,6BAA6B,CAAC,CAAC,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACrJ,CAAC;QACD,IAAI,OAAO,KAAK,QAAQ;YAAE,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAAe;IAC9C,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IACtC,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACvE,CAAC","sourcesContent":["/**\n * The LANDING WINDOW of a playbook run: what the application tree held the moment the run began to write, and what\n * changed in it since (#3237, #3222, #3221).\n *\n * ## Why a window, and not a list of paths each writer reports\n *\n * Generation landings know exactly which files they write (the family file, its diagram, its decision record, the\n * export wiring) and record them one by one. The DETERMINISTIC executors do not: `bottom_up.foundation` writes\n * through the composition engine, the configuration editors, the access-posture and identity declarations and the\n * brand propagation, and the next executor will write through something else again. A write record they had to\n * assemble by hand, pre-images and all, was never written at all (app-creation-test-007, F8a: foundation and\n * capability-composition had no record, so `wildo creation diff` answered `400 No write record`, their aggregator\n * edits refused five later accepts as `edited_since_the_run`, and the loop re-ran them as FIRST RUN every iteration).\n * So the record is computed in ONE place around the executor dispatch: the window holds the pre-images, the executor\n * names the paths it wrote, and an executor added tomorrow inherits the record by being dispatched there.\n *\n * ## What the window can and cannot attribute\n *\n * A window sees every change in the application tree, including one a coding agent made in the same seconds. So it\n * never decides alone whose a change is (#3237 review): the record holds only what the executor declares it wrote,\n * minus what another writer is KNOWN to own (another run's record holding the current bytes, a coding run's claim\n * still in flight). What remains ambiguous is a file the executor wrote AND a coding agent wrote in the same seconds\n * without claiming it: the record then holds both changes, and its cost is an attribution, never a lost write.\n *\n * ## Read-only git\n *\n * Only `rev-parse`, `status`, `diff --name-only` and `cat-file` are run (a binary revert's blob read included), every\n * one with `--no-optional-locks`, so a window never writes the index the dev watchers and other sessions read (the DD-8 carve-out the change-set capture\n * documents in `git-change-set.companion.service.ts`).\n */\nimport { execFile } from 'node:child_process';\nimport { createHash } from 'node:crypto';\nimport { readFile, stat } from 'node:fs/promises';\nimport * as path from 'node:path';\nimport { promisify } from 'node:util';\n\nconst execFileAsync = promisify(execFile);\n\nconst GIT_MAX_BUFFER_BYTES = 128 * 1024 * 1024;\nconst GIT_TIMEOUT_MS = 60_000;\n\n/**\n * Above this size a file's bytes are not held in a window. A specification, a module file or a configuration is a few\n * kilobytes; a file this large is an asset or a generated bundle, never something a run's record can revert as text.\n */\nexport const LANDING_WINDOW_MAX_FILE_BYTES = 4 * 1024 * 1024;\n\n/**\n * App-root-relative prefixes a window never attributes to a run. `.wildo-saas/` is the companion's own state (the\n * register itself, the journals, the delivered dist): writing it is how a run is recorded, not what it landed.\n */\nconst LANDING_WINDOW_EXCLUDED_ROOTS: readonly string[] = ['.wildo-saas'];\n\nexport function isExcludedFromLandingWindow(applicationRelativePath: string): boolean {\n return LANDING_WINDOW_EXCLUDED_ROOTS.some((root) => applicationRelativePath === root || applicationRelativePath.startsWith(`${root}/`));\n}\n\n/** A file a window does not hold the bytes of. Its own vocabulary, so the marker is never mistaken for a hash. */\nexport enum LandingWindowUnheldFile {\n /** Larger than {@link LANDING_WINDOW_MAX_FILE_BYTES}: an asset or a bundle, never text a record carries. */\n OVERSIZED = 'oversized',\n}\n\n/** What a path held when the window opened: its bytes, absent (`null`), or too large to hold. */\nexport type LandingWindowFileState = Buffer | null | LandingWindowUnheldFile;\n\n/** The tree as the window found it. Paths are application-root-relative, POSIX. */\nexport interface LandingWindowBaseline {\n readonly openedAt: string;\n /** HEAD when the window opened; `null` on an unborn branch. A path clean at baseline held HEAD's bytes. */\n readonly headSha: string | null;\n /**\n * Every path git reported as differing from HEAD when the window opened (modified, added, untracked, deleted), with\n * its bytes when `keepContent` was asked for, else its sha256 (`null`: absent). A path NOT here held HEAD's bytes.\n */\n readonly changedFromHead: ReadonlyMap<string, LandingWindowFileState | string>;\n readonly keptContent: boolean;\n}\n\n/** One path the window saw change, with its bytes before and after. */\nexport interface LandingWindowChange {\n readonly path: string;\n /** `null`: the path did not exist when the window opened. */\n readonly before: Buffer | null;\n /** `null`: the path does not exist now. */\n readonly after: Buffer | null;\n /**\n * The path changed, or may have, but one side's bytes were not held (#3237 review E): too large to hold, or a path the\n * window held only by hash (`keepContentOf`). `before` and `after` are then `null` and carry nothing; no text record\n * can carry the change, and the landing reports it rather than letting it vanish.\n */\n readonly unheld?: true;\n}\n\n/** The fingerprint a cross-process reader compares against: hashes only, no bytes. */\nexport interface LandingWindowFingerprint {\n readonly headSha: string | null;\n /**\n * Path → sha256 of what it held (`null`: absent; {@link LandingWindowUnheldFile.OVERSIZED}: too large to hash). A path\n * not here held HEAD's bytes at `headSha`.\n */\n readonly changedFromHead: Readonly<Record<string, string | null>>;\n}\n\nexport function sha256Hex(content: Buffer | string): string {\n return createHash('sha256').update(content).digest('hex');\n}\n\nasync function git(saasRoot: string, args: readonly string[], acceptFailure = false): Promise<{ readonly ok: boolean; readonly stdout: Buffer }> {\n try {\n const { stdout } = await execFileAsync('git', ['-C', saasRoot, '--no-optional-locks', ...args], {\n maxBuffer: GIT_MAX_BUFFER_BYTES,\n timeout: GIT_TIMEOUT_MS,\n encoding: 'buffer',\n });\n return { ok: true, stdout };\n } catch (error) {\n if (acceptFailure) return { ok: false, stdout: Buffer.alloc(0) };\n throw error;\n }\n}\n\nasync function resolveHeadSha(saasRoot: string): Promise<string | null> {\n const head = await git(saasRoot, ['rev-parse', '--verify', '--quiet', 'HEAD'], true);\n const sha = head.stdout.toString('utf8').trim();\n return head.ok && sha.length > 0 ? sha : null;\n}\n\n/**\n * Every application-relative path that differs from HEAD now. `git status -z` prints paths relative to the\n * REPOSITORY root whatever `-C` says, so the application's own prefix is stripped (the trap\n * `GitChangeSetCompanionService.resolveApplicationRelativePathMapper` records).\n */\nasync function listPathsChangedFromHead(saasRoot: string): Promise<readonly string[]> {\n const prefix = (await git(saasRoot, ['rev-parse', '--show-prefix'])).stdout.toString('utf8').replace(/\\r?\\n$/u, '');\n const status = await git(saasRoot, ['status', '--porcelain=v1', '-z', '--untracked-files=all', '--', '.']);\n const tokens = status.stdout.toString('utf8').split('\\0');\n const paths = new Set<string>();\n const toApplicationPath = (repositoryPath: string): string => (prefix && repositoryPath.startsWith(prefix) ? repositoryPath.slice(prefix.length) : repositoryPath);\n for (let index = 0; index < tokens.length; index += 1) {\n const entry = tokens[index]!;\n if (entry.length < 4) continue;\n paths.add(toApplicationPath(entry.slice(3)));\n // A rename or copy is `XY new\\0old`: the ORIGINAL path is its own token, and it changed too.\n if (entry[0] === 'R' || entry[0] === 'C' || entry[1] === 'R' || entry[1] === 'C') {\n index += 1;\n if (tokens[index]) paths.add(toApplicationPath(tokens[index]!));\n }\n }\n return [...paths].filter((candidate) => !isExcludedFromLandingWindow(candidate)).sort();\n}\n\nasync function readWorkingFile(saasRoot: string, applicationRelativePath: string): Promise<LandingWindowFileState> {\n const absolutePath = path.join(saasRoot, applicationRelativePath);\n const size = await stat(absolutePath).then((entry) => (entry.isFile() ? entry.size : -1)).catch(() => -1);\n if (size < 0) return null;\n if (size > LANDING_WINDOW_MAX_FILE_BYTES) return LandingWindowUnheldFile.OVERSIZED;\n return readFile(absolutePath).catch(() => null);\n}\n\n/** What HEAD at `headSha` holds at a path; `null` when the path is not in that commit (or there is no commit). */\nasync function readCommittedFile(saasRoot: string, headSha: string | null, applicationRelativePath: string): Promise<Buffer | null> {\n if (headSha === null) return null;\n const shown = await git(saasRoot, ['cat-file', '-p', `${headSha}:./${applicationRelativePath}`], true);\n return shown.ok ? shown.stdout : null;\n}\n\n/**\n * The git blob id HEAD at `headSha` holds at a path; `undefined` when the path is not in that commit (or there is no\n * commit). A binary write record names its pre-image by it (#3264), so a revert restores the committed bytes from git.\n */\nexport async function resolveCommittedBlobId(saasRoot: string, headSha: string | null, applicationRelativePath: string): Promise<string | undefined> {\n if (headSha === null) return undefined;\n const parsed = await git(saasRoot, ['rev-parse', '--verify', '--quiet', `${headSha}:./${applicationRelativePath}`], true);\n const blob = parsed.stdout.toString('utf8').trim();\n return parsed.ok && /^[0-9a-f]{40,64}$/u.test(blob) ? blob : undefined;\n}\n\n/** A git blob's bytes; `null` when the object store no longer holds it. Read-only (`cat-file`), like every call here. */\nexport async function readGitBlob(saasRoot: string, blob: string): Promise<Buffer | null> {\n const shown = await git(saasRoot, ['cat-file', 'blob', blob], true);\n return shown.ok ? shown.stdout : null;\n}\n\n/**\n * Open a window: HEAD, and every path that differs from it, with its bytes (`keepContent`: a landing whose failed or\n * deterministic record needs pre-images) or its hash. `keepContentOf` narrows which paths' bytes are held (#3237 review\n * F5): a landing that can only write inside one tree (the specifications package) holds that tree's bytes and hashes\n * the rest, which no record of it could carry anyway. A path held only by hash is never a record's pre-image.\n */\nexport async function openLandingWindowBaseline(\n saasRoot: string,\n options: { readonly keepContent: boolean; readonly keepContentOf?: (applicationRelativePath: string) => boolean },\n): Promise<LandingWindowBaseline> {\n const openedAt = new Date().toISOString();\n const headSha = await resolveHeadSha(saasRoot);\n const changedFromHead = new Map<string, LandingWindowFileState | string>();\n for (const changedPath of await listPathsChangedFromHead(saasRoot)) {\n const state = await readWorkingFile(saasRoot, changedPath);\n const holdsBytes = options.keepContent && (options.keepContentOf === undefined || options.keepContentOf(changedPath));\n changedFromHead.set(changedPath, holdsBytes || state === null || state === LandingWindowUnheldFile.OVERSIZED ? state : sha256Hex(state));\n }\n return { openedAt, headSha, changedFromHead, keptContent: options.keepContent };\n}\n\n/** The window as another process reads it: hashes only. An oversized file is fingerprinted by its size marker. */\nexport function fingerprintLandingWindow(baseline: LandingWindowBaseline): LandingWindowFingerprint {\n const changedFromHead: Record<string, string | null> = {};\n for (const [changedPath, state] of baseline.changedFromHead) {\n changedFromHead[changedPath] = state === null || typeof state === 'string' ? state : sha256Hex(state);\n }\n return { headSha: baseline.headSha, changedFromHead };\n}\n\n/**\n * Every path whose bytes differ now from what they were when the window opened, with both versions. Needs a baseline\n * that kept content. A path whose bytes were not held on one side (too large, or held only by hash) is reported\n * `unheld` when it changed, or may have: no text record could carry it, and its landing says so.\n *\n * The candidates are what differed from HEAD at either end, plus what a commit made during the window changed (a\n * commit leaves a path clean at both ends while its bytes moved). A path clean at both ends and untouched by a commit\n * held HEAD's bytes throughout.\n */\nexport async function readLandingWindowChanges(saasRoot: string, baseline: LandingWindowBaseline): Promise<readonly LandingWindowChange[]> {\n if (!baseline.keptContent) throw new Error('A landing window opened without content cannot report what changed in it.');\n const candidates = new Set<string>([...baseline.changedFromHead.keys(), ...await listPathsChangedFromHead(saasRoot)]);\n const headNow = await resolveHeadSha(saasRoot);\n if (baseline.headSha !== null && headNow !== null && headNow !== baseline.headSha) {\n const committed = await git(saasRoot, ['diff', '--name-only', '-z', '--relative', baseline.headSha, headNow], true);\n for (const committedPath of committed.stdout.toString('utf8').split('\\0')) {\n if (committedPath.length > 0 && !isExcludedFromLandingWindow(committedPath)) candidates.add(committedPath);\n }\n }\n const changes: LandingWindowChange[] = [];\n for (const candidate of [...candidates].sort()) {\n const held = baseline.changedFromHead.get(candidate);\n const before = held === undefined ? await readCommittedFile(saasRoot, baseline.headSha, candidate) : held;\n const after = await readWorkingFile(saasRoot, candidate);\n if (typeof before === 'string' || typeof after === 'string') {\n // A held hash compares with the bytes now; an oversized side cannot be compared, so it may have changed.\n const unchanged = typeof before === 'string' && before !== LandingWindowUnheldFile.OVERSIZED && Buffer.isBuffer(after) && before === sha256Hex(after);\n // A deletion stays a deletion (`after: null`), whatever was held of the bytes it removed.\n if (!unchanged) changes.push({ path: candidate, before: null, after: null, ...(after === null ? {} : { unheld: true as const }) });\n continue;\n }\n if (before === null && after === null) continue;\n if (before !== null && after !== null && before.equals(after)) continue;\n changes.push({ path: candidate, before, after });\n }\n return changes;\n}\n\n/**\n * Of `candidatePaths`, the ones whose bytes differ now from what a window's fingerprint says they held (#3221): what\n * the landing in flight behind that window may have written. A path the fingerprint does not name held HEAD's bytes\n * at the fingerprint's HEAD.\n */\nexport async function selectPathsChangedSinceFingerprint(\n saasRoot: string,\n fingerprint: LandingWindowFingerprint,\n candidatePaths: readonly string[],\n): Promise<ReadonlySet<string>> {\n const changed = new Set<string>();\n for (const candidate of new Set(candidatePaths)) {\n if (isExcludedFromLandingWindow(candidate)) continue;\n const now = await readWorkingFile(saasRoot, candidate);\n const nowHash = now === null || typeof now === 'string' ? now : sha256Hex(now);\n let thenHash: string | null;\n if (Object.hasOwn(fingerprint.changedFromHead, candidate)) {\n thenHash = fingerprint.changedFromHead[candidate] ?? null;\n } else {\n const committed = await readCommittedFile(saasRoot, fingerprint.headSha, candidate);\n thenHash = committed === null ? null : committed.length > LANDING_WINDOW_MAX_FILE_BYTES ? LandingWindowUnheldFile.OVERSIZED : sha256Hex(committed);\n }\n if (nowHash !== thenHash) changed.add(candidate);\n }\n return changed;\n}\n\n/**\n * Whether bytes can travel in a write record as TEXT (`writtenContent: string`, compared with `readFile(…, 'utf8')`):\n * valid UTF-8 that round-trips, with no NUL byte. An image the brand propagation writes is not, and the record names it\n * by its sha256 and size instead (#3264) rather than corrupting it into text.\n */\nexport function isRecordableText(content: Buffer): boolean {\n if (content.includes(0)) return false;\n return Buffer.from(content.toString('utf8'), 'utf8').equals(content);\n}\n"]}
1
+ {"version":3,"file":"playbook-run-write-register-window.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-run-write-register-window.companion.ts"],"names":[],"mappings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AO,EAAE,SAAS,CAAC,CAAC;YACpF,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,GAAG,6BAA6B,CAAC,CAAC,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACrJ,CAAC;QACD,IAAI,OAAO,KAAK,QAAQ;YAAE,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAAe;IAC9C,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IACtC,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACvE,CAAC","sourcesContent":["/**\n * The LANDING WINDOW of a playbook run: what the application tree held the moment the run began to write, and what\n * changed in it since (#3237, #3222, #3221).\n *\n * ## Why a window, and not a list of paths each writer reports\n *\n * Generation landings know exactly which files they write (the family file, its diagram, its decision record, the\n * export wiring) and record them one by one. The DETERMINISTIC executors do not: `bottom_up.foundation` writes\n * through the composition engine, the configuration editors, the access-posture and identity declarations and the\n * brand propagation, and the next executor will write through something else again. A write record they had to\n * assemble by hand, pre-images and all, was never written at all (app-creation-test-007, F8a: foundation and\n * capability-composition had no record, so `wildo creation diff` answered `400 No write record`, their aggregator\n * edits refused five later accepts as `edited_since_the_run`, and the loop re-ran them as FIRST RUN every iteration).\n * So the record is computed in ONE place around the executor dispatch: the window holds the pre-images, the executor\n * names the paths it wrote, and an executor added tomorrow inherits the record by being dispatched there.\n *\n * ## What the window can and cannot attribute\n *\n * A window sees every change in the application tree, including one a coding agent made in the same seconds. So it\n * never decides alone whose a change is (#3237 review): the record holds only what the executor declares it wrote,\n * minus what another writer is KNOWN to own (another run's record holding the current bytes, a coding run's claim\n * still in flight). What remains ambiguous is a file the executor wrote AND a coding agent wrote in the same seconds\n * without claiming it: the record then holds both changes, and its cost is an attribution, never a lost write.\n *\n * ## Read-only git\n *\n * Only `rev-parse`, `status`, `diff --name-only` and `cat-file` are run (a binary revert's blob read included), every\n * one with `--no-optional-locks`, so a window never writes the index the dev watchers and other sessions read (the DD-8 carve-out the change-set capture\n * documents in `git-change-set.companion.service.ts`).\n */\nimport { createHash } from 'node:crypto';\nimport { readFile, stat } from 'node:fs/promises';\nimport * as path from 'node:path';\nimport { gitReadBroker } from '../../core/utils/git-read-broker.companion';\n\n\nconst GIT_MAX_BUFFER_BYTES = 128 * 1024 * 1024;\nconst GIT_TIMEOUT_MS = 60_000;\n\n/**\n * Above this size a file's bytes are not held in a window. A specification, a module file or a configuration is a few\n * kilobytes; a file this large is an asset or a generated bundle, never something a run's record can revert as text.\n */\nexport const LANDING_WINDOW_MAX_FILE_BYTES = 4 * 1024 * 1024;\n\n/**\n * App-root-relative prefixes a window never attributes to a run. `.wildo-saas/` is the companion's own state (the\n * register itself, the journals, the delivered dist): writing it is how a run is recorded, not what it landed.\n */\nconst LANDING_WINDOW_EXCLUDED_ROOTS: readonly string[] = ['.wildo-saas'];\n\nexport function isExcludedFromLandingWindow(applicationRelativePath: string): boolean {\n return LANDING_WINDOW_EXCLUDED_ROOTS.some((root) => applicationRelativePath === root || applicationRelativePath.startsWith(`${root}/`));\n}\n\n/** A file a window does not hold the bytes of. Its own vocabulary, so the marker is never mistaken for a hash. */\nexport enum LandingWindowUnheldFile {\n /** Larger than {@link LANDING_WINDOW_MAX_FILE_BYTES}: an asset or a bundle, never text a record carries. */\n OVERSIZED = 'oversized',\n}\n\n/** What a path held when the window opened: its bytes, absent (`null`), or too large to hold. */\nexport type LandingWindowFileState = Buffer | null | LandingWindowUnheldFile;\n\n/** The tree as the window found it. Paths are application-root-relative, POSIX. */\nexport interface LandingWindowBaseline {\n readonly openedAt: string;\n /** HEAD when the window opened; `null` on an unborn branch. A path clean at baseline held HEAD's bytes. */\n readonly headSha: string | null;\n /**\n * Every path git reported as differing from HEAD when the window opened (modified, added, untracked, deleted), with\n * its bytes when `keepContent` was asked for, else its sha256 (`null`: absent). A path NOT here held HEAD's bytes.\n */\n readonly changedFromHead: ReadonlyMap<string, LandingWindowFileState | string>;\n readonly keptContent: boolean;\n}\n\n/** One path the window saw change, with its bytes before and after. */\nexport interface LandingWindowChange {\n readonly path: string;\n /** `null`: the path did not exist when the window opened. */\n readonly before: Buffer | null;\n /** `null`: the path does not exist now. */\n readonly after: Buffer | null;\n /**\n * The path changed, or may have, but one side's bytes were not held (#3237 review E): too large to hold, or a path the\n * window held only by hash (`keepContentOf`). `before` and `after` are then `null` and carry nothing; no text record\n * can carry the change, and the landing reports it rather than letting it vanish.\n */\n readonly unheld?: true;\n}\n\n/** The fingerprint a cross-process reader compares against: hashes only, no bytes. */\nexport interface LandingWindowFingerprint {\n readonly headSha: string | null;\n /**\n * Path → sha256 of what it held (`null`: absent; {@link LandingWindowUnheldFile.OVERSIZED}: too large to hash). A path\n * not here held HEAD's bytes at `headSha`.\n */\n readonly changedFromHead: Readonly<Record<string, string | null>>;\n}\n\nexport function sha256Hex(content: Buffer | string): string {\n return createHash('sha256').update(content).digest('hex');\n}\n\nasync function git(saasRoot: string, args: readonly string[], acceptFailure = false): Promise<{ readonly ok: boolean; readonly stdout: Buffer }> {\n try {\n // Through the git read helper (#3204): forking `git` from the companion's 2 GB process blocked its event loop.\n const { stdout } = await gitReadBroker.execGitBuffer(['-C', saasRoot, '--no-optional-locks', ...args], {\n maxBuffer: GIT_MAX_BUFFER_BYTES,\n timeout: GIT_TIMEOUT_MS,\n });\n return { ok: true, stdout };\n } catch (error) {\n if (acceptFailure) return { ok: false, stdout: Buffer.alloc(0) };\n throw error;\n }\n}\n\nasync function resolveHeadSha(saasRoot: string): Promise<string | null> {\n const head = await git(saasRoot, ['rev-parse', '--verify', '--quiet', 'HEAD'], true);\n const sha = head.stdout.toString('utf8').trim();\n return head.ok && sha.length > 0 ? sha : null;\n}\n\n/**\n * Every application-relative path that differs from HEAD now. `git status -z` prints paths relative to the\n * REPOSITORY root whatever `-C` says, so the application's own prefix is stripped (the trap\n * `GitChangeSetCompanionService.resolveApplicationRelativePathMapper` records).\n */\nasync function listPathsChangedFromHead(saasRoot: string): Promise<readonly string[]> {\n const prefix = (await git(saasRoot, ['rev-parse', '--show-prefix'])).stdout.toString('utf8').replace(/\\r?\\n$/u, '');\n const status = await git(saasRoot, ['status', '--porcelain=v1', '-z', '--untracked-files=all', '--', '.']);\n const tokens = status.stdout.toString('utf8').split('\\0');\n const paths = new Set<string>();\n const toApplicationPath = (repositoryPath: string): string => (prefix && repositoryPath.startsWith(prefix) ? repositoryPath.slice(prefix.length) : repositoryPath);\n for (let index = 0; index < tokens.length; index += 1) {\n const entry = tokens[index]!;\n if (entry.length < 4) continue;\n paths.add(toApplicationPath(entry.slice(3)));\n // A rename or copy is `XY new\\0old`: the ORIGINAL path is its own token, and it changed too.\n if (entry[0] === 'R' || entry[0] === 'C' || entry[1] === 'R' || entry[1] === 'C') {\n index += 1;\n if (tokens[index]) paths.add(toApplicationPath(tokens[index]!));\n }\n }\n return [...paths].filter((candidate) => !isExcludedFromLandingWindow(candidate)).sort();\n}\n\nasync function readWorkingFile(saasRoot: string, applicationRelativePath: string): Promise<LandingWindowFileState> {\n const absolutePath = path.join(saasRoot, applicationRelativePath);\n const size = await stat(absolutePath).then((entry) => (entry.isFile() ? entry.size : -1)).catch(() => -1);\n if (size < 0) return null;\n if (size > LANDING_WINDOW_MAX_FILE_BYTES) return LandingWindowUnheldFile.OVERSIZED;\n return readFile(absolutePath).catch(() => null);\n}\n\n/** What HEAD at `headSha` holds at a path; `null` when the path is not in that commit (or there is no commit). */\nasync function readCommittedFile(saasRoot: string, headSha: string | null, applicationRelativePath: string): Promise<Buffer | null> {\n if (headSha === null) return null;\n const shown = await git(saasRoot, ['cat-file', '-p', `${headSha}:./${applicationRelativePath}`], true);\n return shown.ok ? shown.stdout : null;\n}\n\n/**\n * The git blob id HEAD at `headSha` holds at a path; `undefined` when the path is not in that commit (or there is no\n * commit). A binary write record names its pre-image by it (#3264), so a revert restores the committed bytes from git.\n */\nexport async function resolveCommittedBlobId(saasRoot: string, headSha: string | null, applicationRelativePath: string): Promise<string | undefined> {\n if (headSha === null) return undefined;\n const parsed = await git(saasRoot, ['rev-parse', '--verify', '--quiet', `${headSha}:./${applicationRelativePath}`], true);\n const blob = parsed.stdout.toString('utf8').trim();\n return parsed.ok && /^[0-9a-f]{40,64}$/u.test(blob) ? blob : undefined;\n}\n\n/** A git blob's bytes; `null` when the object store no longer holds it. Read-only (`cat-file`), like every call here. */\nexport async function readGitBlob(saasRoot: string, blob: string): Promise<Buffer | null> {\n const shown = await git(saasRoot, ['cat-file', 'blob', blob], true);\n return shown.ok ? shown.stdout : null;\n}\n\n/**\n * Open a window: HEAD, and every path that differs from it, with its bytes (`keepContent`: a landing whose failed or\n * deterministic record needs pre-images) or its hash. `keepContentOf` narrows which paths' bytes are held (#3237 review\n * F5): a landing that can only write inside one tree (the specifications package) holds that tree's bytes and hashes\n * the rest, which no record of it could carry anyway. A path held only by hash is never a record's pre-image.\n */\nexport async function openLandingWindowBaseline(\n saasRoot: string,\n options: { readonly keepContent: boolean; readonly keepContentOf?: (applicationRelativePath: string) => boolean },\n): Promise<LandingWindowBaseline> {\n const openedAt = new Date().toISOString();\n const headSha = await resolveHeadSha(saasRoot);\n const changedFromHead = new Map<string, LandingWindowFileState | string>();\n for (const changedPath of await listPathsChangedFromHead(saasRoot)) {\n const state = await readWorkingFile(saasRoot, changedPath);\n const holdsBytes = options.keepContent && (options.keepContentOf === undefined || options.keepContentOf(changedPath));\n changedFromHead.set(changedPath, holdsBytes || state === null || state === LandingWindowUnheldFile.OVERSIZED ? state : sha256Hex(state));\n }\n return { openedAt, headSha, changedFromHead, keptContent: options.keepContent };\n}\n\n/** The window as another process reads it: hashes only. An oversized file is fingerprinted by its size marker. */\nexport function fingerprintLandingWindow(baseline: LandingWindowBaseline): LandingWindowFingerprint {\n const changedFromHead: Record<string, string | null> = {};\n for (const [changedPath, state] of baseline.changedFromHead) {\n changedFromHead[changedPath] = state === null || typeof state === 'string' ? state : sha256Hex(state);\n }\n return { headSha: baseline.headSha, changedFromHead };\n}\n\n/**\n * Every path whose bytes differ now from what they were when the window opened, with both versions. Needs a baseline\n * that kept content. A path whose bytes were not held on one side (too large, or held only by hash) is reported\n * `unheld` when it changed, or may have: no text record could carry it, and its landing says so.\n *\n * The candidates are what differed from HEAD at either end, plus what a commit made during the window changed (a\n * commit leaves a path clean at both ends while its bytes moved). A path clean at both ends and untouched by a commit\n * held HEAD's bytes throughout.\n */\nexport async function readLandingWindowChanges(saasRoot: string, baseline: LandingWindowBaseline): Promise<readonly LandingWindowChange[]> {\n if (!baseline.keptContent) throw new Error('A landing window opened without content cannot report what changed in it.');\n const candidates = new Set<string>([...baseline.changedFromHead.keys(), ...await listPathsChangedFromHead(saasRoot)]);\n const headNow = await resolveHeadSha(saasRoot);\n if (baseline.headSha !== null && headNow !== null && headNow !== baseline.headSha) {\n const committed = await git(saasRoot, ['diff', '--name-only', '-z', '--relative', baseline.headSha, headNow], true);\n for (const committedPath of committed.stdout.toString('utf8').split('\\0')) {\n if (committedPath.length > 0 && !isExcludedFromLandingWindow(committedPath)) candidates.add(committedPath);\n }\n }\n const changes: LandingWindowChange[] = [];\n for (const candidate of [...candidates].sort()) {\n const held = baseline.changedFromHead.get(candidate);\n const before = held === undefined ? await readCommittedFile(saasRoot, baseline.headSha, candidate) : held;\n const after = await readWorkingFile(saasRoot, candidate);\n if (typeof before === 'string' || typeof after === 'string') {\n // A held hash compares with the bytes now; an oversized side cannot be compared, so it may have changed.\n const unchanged = typeof before === 'string' && before !== LandingWindowUnheldFile.OVERSIZED && Buffer.isBuffer(after) && before === sha256Hex(after);\n // A deletion stays a deletion (`after: null`), whatever was held of the bytes it removed.\n if (!unchanged) changes.push({ path: candidate, before: null, after: null, ...(after === null ? {} : { unheld: true as const }) });\n continue;\n }\n if (before === null && after === null) continue;\n if (before !== null && after !== null && before.equals(after)) continue;\n changes.push({ path: candidate, before, after });\n }\n return changes;\n}\n\n/**\n * Of `candidatePaths`, the ones whose bytes differ now from what a window's fingerprint says they held (#3221): what\n * the landing in flight behind that window may have written. A path the fingerprint does not name held HEAD's bytes\n * at the fingerprint's HEAD.\n */\nexport async function selectPathsChangedSinceFingerprint(\n saasRoot: string,\n fingerprint: LandingWindowFingerprint,\n candidatePaths: readonly string[],\n): Promise<ReadonlySet<string>> {\n const changed = new Set<string>();\n for (const candidate of new Set(candidatePaths)) {\n if (isExcludedFromLandingWindow(candidate)) continue;\n const now = await readWorkingFile(saasRoot, candidate);\n const nowHash = now === null || typeof now === 'string' ? now : sha256Hex(now);\n let thenHash: string | null;\n if (Object.hasOwn(fingerprint.changedFromHead, candidate)) {\n thenHash = fingerprint.changedFromHead[candidate] ?? null;\n } else {\n const committed = await readCommittedFile(saasRoot, fingerprint.headSha, candidate);\n thenHash = committed === null ? null : committed.length > LANDING_WINDOW_MAX_FILE_BYTES ? LandingWindowUnheldFile.OVERSIZED : sha256Hex(committed);\n }\n if (nowHash !== thenHash) changed.add(candidate);\n }\n return changed;\n}\n\n/**\n * Whether bytes can travel in a write record as TEXT (`writtenContent: string`, compared with `readFile(…, 'utf8')`):\n * valid UTF-8 that round-trips, with no NUL byte. An image the brand propagation writes is not, and the record names it\n * by its sha256 and size instead (#3264) rather than corrupting it into text.\n */\nexport function isRecordableText(content: Buffer): boolean {\n if (content.includes(0)) return false;\n return Buffer.from(content.toString('utf8'), 'utf8').equals(content);\n}\n"]}
@@ -263,7 +263,7 @@ export declare class PlaybookChoreographyAlreadyRunningError extends PlaybookRun
263
263
  * line means. `undefined` when the scan could not run, which the population carries as an UNSCANNED code
264
264
  * path rather than as "nothing imports it".
265
265
  */
266
- export declare function scanTypedClientSites(saasRoot: string | undefined): readonly ProviderTypedClientSite[] | undefined;
266
+ export declare function scanTypedClientSites(saasRoot: string | undefined): Promise<readonly ProviderTypedClientSite[] | undefined>;
267
267
  /**
268
268
  * The next-review date an application's DECLARED `assuranceReviewCadence` schedules from this run's
269
269
  * observed instant, or `undefined` when it schedules none (#647 decision C).
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-run.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-run.companion.service.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,qCAAqC,EAAE,MAAM,qEAAqE,CAAC;AAmE5H,OAAO,EAwBL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EAUxB,KAAK,0BAA0B,EAY/B,KAAK,0BAA0B,EAChC,MAAM,oDAAoD,CAAC;AA2B5D,OAAO,EAIL,gCAAgC,EACjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAqBL,8BAA8B,EAS9B,KAAK,0BAA0B,EAqC/B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAIjC,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,EAGxB,KAAK,gCAAgC,EACrC,KAAK,mBAAmB,EAExB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAmBhC,KAAK,yBAAyB,EAE9B,KAAK,oBAAoB,EAQzB,KAAK,+BAA+B,EACrC,MAAM,wCAAwC,CAAC;AAShD,OAAO,KAAK,EAA6B,wBAAwB,EAAE,+BAA+B,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC9P,OAAO,EAQL,KAAK,mCAAmC,EAEzC,MAAM,+CAA+C,CAAC;AAMvD,OAAO,KAAK,EAAmD,qBAAqB,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACjJ,OAAO,EAQ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AYG;IACU,iBAAiB,CAAC,OAAO,CAAC,EAAE,gCAAgC,GAAG,OAAO,CAAC;QAClF,QAAQ,CAAC,SAAS,EAAE,SAAS,2BAA2B,EAAE,CAAC;QAC3D,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;KACxC,CAAC;IAmCF,OAAO,CAAC,gBAAgB,CAAsD;IAE9E,OAAO,CAAC,8BAA8B;IAuBtC;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAK9B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,2BAA2B;IAqGnC;;;;OAIG;IACI,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;IAIvJ,OAAO,CAAC,mBAAmB;CAuE5B"}
1
+ {"version":3,"file":"playbook-run.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/playbook-run.companion.service.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,qCAAqC,EAAE,MAAM,qEAAqE,CAAC;AAoE5H,OAAO,EAwBL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EAUxB,KAAK,0BAA0B,EAY/B,KAAK,0BAA0B,EAChC,MAAM,oDAAoD,CAAC;AA2B5D,OAAO,EAIL,gCAAgC,EACjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAqBL,8BAA8B,EAS9B,KAAK,0BAA0B,EAqC/B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAIjC,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,EAGxB,KAAK,gCAAgC,EACrC,KAAK,mBAAmB,EAExB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAmBhC,KAAK,yBAAyB,EAE9B,KAAK,oBAAoB,EAQzB,K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AGG;IACI,sBAAsB,IAAI;QAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAA;KAAE,GAAG,SAAS;IAK/G;;;;;;;;OAQG;IACH,OAAO,CAAC,uBAAuB;IAwC/B;;;;;;OAMG;cACa,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC;IAgB5E;;;OAGG;YACW,2BAA2B;IAqIzC;;;;;;;OAOG;YACW,sBAAsB;IA4CpC;;;;;;;;;;;;OAYG;IACU,iBAAiB,CAAC,OAAO,CAAC,EAAE,gCAAgC,GAAG,OAAO,CAAC;QAClF,QAAQ,CAAC,SAAS,EAAE,SAAS,2BAA2B,EAAE,CAAC;QAC3D,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;KACxC,CAAC;IAmCF,OAAO,CAAC,gBAAgB,CAAsD;IAE9E,OAAO,CAAC,8BAA8B;IAuBtC;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAK9B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,2BAA2B;IAqGnC;;;;OAIG;IACI,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;IAIvJ,OAAO,CAAC,mBAAmB;CAuE5B"}
@@ -24,7 +24,6 @@ import { inject, injectable, optional } from 'inversify';
24
24
  import { AI_ENGINE_CAPABILITIES, AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE, RecipientCategoriesNotDerivableReason, ENGINE_CLIENT_STORAGE_ENTRIES, DataRetentionClass, ErasureRetentionMode, SubjectErasureDisposition, SubjectErasureSeveredReferenceTreatment, ResourceRetentionBindingSchema, ResourceRowLifetime, StatutoryRetentionGroundSchema, AgentWriteOversight, AiUseDeclarationSource, AiUseRiskTier, deriveAgentWriteOversight, deriveAiRegulationRegimes, deriveApplicationAiUses, enabledEngineCapabilityNames, ApplicationAiUsePostureSchema, CoreAuditableEventType, undeclaredRetentionClasses, vendorHostedProviderRefs, uninventoriedClientStorageSurfaces, BillingConfigurationSchema, OperatorComplianceIdentityPart, outstandingOperatorComplianceIdentityParts, ApplicationOperatorComplianceIdentitySchema, ApplicationProviderComplianceChoicesSchema, ApplicationRetentionScheduleSchema, ApplicationOperatingJurisdictionsSchema, appAssertedProcessingRegions, establishedProviderComplianceProfile, PersonalDataCategory, PersonalDataCondition, ProviderComplianceChoiceAssessment, ProviderProcessingRegionReachKind, processingRegionHoldingOf, ProviderDeploymentModel, EngineCapability, deriveNextReviewOn, ReviewCadence, parseRetentionEnforcementEvidenceJson, SystemOfRecordSubjectRightsPosture, } from '@wildo-ai/saas-models';
25
25
  import { ApplicationAuthoredDocumentFactSpecificationSchema, ApplicationDocumentFactSpecificationSchema, ApplicationProcessorRegisterSchema, computeApplicationDocumentFacts, complianceFactStaleness, ComplianceFactCurrency, processorAgreementStanding, computeRecipientPopulation, joinRecipientPopulationToRegister, APPLICATION_PROVIDER_PACKAGE_MANIFEST_PATHSPEC, applicationProviderPackagesFromManifests, ProviderScopeKey, RecipientPopulationClass, RecipientPopulationMemberKind, SystemOfRecordDataFlowKind, deriveRecipientDisclosures, systemOfRecordPersonalDataOriginsOf, systemOfRecordVendorsOf, typedClientSearchNeedles, typedClientSitesFromGrepLines, overlayComputedDocumentFacts, parseAiContentGuardrailEvidence, ProcessorRegisterEntryKind, processorProcessingRegions, registerEstablishesNoProcessorRecipients, MetaWorkflow_ContextSource, ApplicationCodeSurface, collectComplianceDocumentFactAvailability, deriveComplianceRegimes, resolveApplicationOrganizationStructure, ApplicationLineDeclarationState, } from '@wildo-ai/saas-specifications/application-creation';
26
26
  import { AssuranceEvidenceJudgementVerdict, AssuranceEvidenceRunKind, AssuranceEvidenceRunSchema, deriveBrandNameTrademarkSignal, deriveCapabilitySignal, deriveChatCommandExposureSignal, deriveMcpExposureSignal, derivePersonalDataSignals, deriveProviderHostingSignal, deriveRetentionSignal, } from '@wildo-ai/saas-specifications/assurance';
27
- import { execFileSync } from 'node:child_process';
28
27
  import { existsSync, readdirSync, readFileSync } from 'node:fs';
29
28
  import { readFile } from 'node:fs/promises';
30
29
  import { importLandedTypeScriptModule } from './landed-module-import.companion.js';
@@ -33,6 +32,7 @@ import { join } from 'node:path';
33
32
  import { loadDraftFamilyValues } from '../../core/context/draft-family-values.companion.js';
34
33
  import { InFlightWorkHeartbeat } from '../../core/runtime/in-flight-work-heartbeat.companion.js';
35
34
  import { companionRestartDrain } from '../../core/runtime/restart-drain.companion.js';
35
+ import { gitReadBroker } from '../../core/utils/git-read-broker.companion.js';
36
36
  import { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks, listFrameworkKnowledgeSkillSummaries, readCompiledResearchInformedContent, readFrameworkKnowledgeSkillBody } from '@wildo-ai/framework-knowledge';
37
37
  import { MetaWorkflow_EvaluationTreatmentDefinitionSchema, MetaWorkflow_EvaluationVerdict, MetaWorkflow_Executor, MetaWorkflow_ClarificationAction, } from '@wildo-ai/saas-models/meta-workflows';
38
38
  import { APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS, composeElicitationSection, dispatchOutcomeStepRef, BUILD_DECOMPOSE_INPUT_FAMILIES, STANDARD_APPLICATION_SPECIFICATION_SEMANTIC_AUTHORITY, evaluatePlaybookCatalogEligibility, buildApplicationCoherenceReport, collectHeldDraftUndeclaredFactCitations, composeAssuranceDocumentBlueprintBrief, composeAssuranceDocumentFactObligationsBrief, renderAssuranceDocumentClaimGuardsForJudge, composeAssuranceEvidenceBrief, composeAuthoredDocumentFactsBrief, composeAssuranceProgramAuthorityBrief, composeApplicationRoleGraphBrief, deriveOneFamilyFreshness, resolveStepOutputSchema, runPlaybookChoreography, countCheckpointedRounds, describeStaleOutput, describePlaybookRerun, measureChangedAspects, PlaybookLaneBoundaryDecision, collectPlaybookLaneBoundaries, isJudgeVerdictStepRef, buildPlaybookReviewGuide, evaluatePlaybookEligibility, applicationLineRefusalOf, getFamilyPackageRelativePath, resolvePlaybookOutputLandingTarget, getLandableArtifactFamilies, isPlaybookGenerationSuspension, renderApplicationCoherenceReport, renderDeclaredInputFamily, composeDeclaredInputWithheldAspects, composeMarketFitScoresSection, composeRiskSignalsSection, widenDeclaredInputAspects, ARTIFACT_PRESENT_WITHOUT_VALUE, collectConvenedExpertRoles, committedCharterRoleRefs, partitionUnstaffedExpertRoles, rederivableExpertRoleRefs, renderPlaybookReviewGuide, runPlaybookGeneration, readPlaybookOutputLandingBaselines, PlaybookOutputLandingConflictError, PlaybookOutputLandingHeldError, SpecificationWriteRefusedError, writeSpecificationFileAtomicallySync, DEFAULT_MAXIMUM_CLARIFICATION_ROUNDS, accumulateClarificationRequests, validateClarificationAnswers, composeClarificationAnswersSection, runPlaybookJudge, runPlaybookLoop, PlaybookGenerationPurpose, composeBillingCommercialModelBrief, composeOperatingJurisdictionCoverageBrief, composeOperatingJurisdictionsSection, composeCreatorStatedFactsSection, projectPlaybookElicitationAsDecision, answersNoLongerOffered, materializeElicitationOptions, readAnswersForPlaybookQuestions, readNonAnswersForPlaybookQuestions, resolveElicitationAnswers, resolveElicitationNonAnswers, buildCreatorInputLatestReadAnswerByPlaybook, resolveApplicationLineScope, collectFamiliesDeactivatedByDecisions, isFamilyNotApplicable, describeApplicationActiveSet, narrowRefinementRound, refinementDependencyMaps, LANDED_SPECIFICATION_CONSTANT_PREFIX, findReadersDatedByWaitingInterviews, selectInterviewsWaitingOnThePerson, readInterviewDepthFromState, PlaybookRerunKind, } from '@wildo-ai/application-creation-runtime';
@@ -560,13 +560,12 @@ const AUTHORING_PROVIDER_SCOPE = ProviderScopeKey.COMPANION;
560
560
  * in the working tree, untracked included (#2018). `undefined` when they could not be listed, so the scan
561
561
  * reports itself UNSCANNED rather than reading "no owned package" as "nothing imports a provider".
562
562
  */
563
- function readApplicationProviderPackages(saasRoot) {
563
+ async function readApplicationProviderPackages(saasRoot) {
564
564
  try {
565
- const listed = execFileSync('git', ['ls-files', '--cached', '--others', '--exclude-standard', '--', APPLICATION_PROVIDER_PACKAGE_MANIFEST_PATHSPEC], {
566
- cwd: saasRoot,
567
- encoding: 'utf8',
568
- stdio: ['ignore', 'pipe', 'ignore'],
569
- }).split('\n').filter(Boolean);
565
+ // Through the git read helper and never synchronous (#3204): a sync spawn held the companion's event loop for the
566
+ // whole git run, and a fork from its 2 GB process blocked it besides.
567
+ const listed = (await gitReadBroker.execGit(['-C', saasRoot, 'ls-files', '--cached', '--others', '--exclude-standard', '--', APPLICATION_PROVIDER_PACKAGE_MANIFEST_PATHSPEC]))
568
+ .stdout.split('\n').filter(Boolean);
570
569
  return applicationProviderPackagesFromManifests(listed.map((manifestPath) => ({ path: manifestPath, content: readFileSync(join(saasRoot, manifestPath), 'utf8') })));
571
570
  }
572
571
  catch {
@@ -584,10 +583,10 @@ function readApplicationProviderPackages(saasRoot) {
584
583
  * line means. `undefined` when the scan could not run, which the population carries as an UNSCANNED code
585
584
  * path rather than as "nothing imports it".
586
585
  */
587
- export function scanTypedClientSites(saasRoot) {
586
+ export async function scanTypedClientSites(saasRoot) {
588
587
  if (saasRoot === undefined)
589
588
  return undefined;
590
- const applicationProviderPackages = readApplicationProviderPackages(saasRoot);
589
+ const applicationProviderPackages = await readApplicationProviderPackages(saasRoot);
591
590
  if (applicationProviderPackages === undefined)
592
591
  return undefined;
593
592
  const needles = typedClientSearchNeedles(applicationProviderPackages).flatMap((needle) => ['-e', needle]);
@@ -596,17 +595,15 @@ export function scanTypedClientSites(saasRoot) {
596
595
  if (needles.length === 0)
597
596
  return [];
598
597
  try {
599
- const output = execFileSync('git', ['grep', '--untracked', '-n', '-F', ...needles, '--', '.'], {
600
- cwd: saasRoot,
601
- encoding: 'utf8',
602
- stdio: ['ignore', 'pipe', 'ignore'],
598
+ const { stdout } = await gitReadBroker.execGit(['-C', saasRoot, 'grep', '--untracked', '-n', '-F', ...needles, '--', '.'], {
603
599
  maxBuffer: 16 * 1024 * 1024,
604
600
  });
605
- return typedClientSitesFromGrepLines(output.split('\n'), applicationProviderPackages);
601
+ return typedClientSitesFromGrepLines(stdout.split('\n'), applicationProviderPackages);
606
602
  }
607
603
  catch (error) {
608
- // `git grep` exits 1 when nothing matches: a scan that found none, not one that failed.
609
- if (error.status === 1)
604
+ // `git grep` exits 1 when nothing matches: a scan that found none, not one that failed. (`execFile` names the exit
605
+ // status `code`; the sync form this replaced named it `status`.)
606
+ if (error.code === 1)
610
607
  return [];
611
608
  return undefined;
612
609
  }
@@ -619,14 +616,14 @@ export function scanTypedClientSites(saasRoot) {
619
616
  * `frontendServices.<service>`, `minions.<minion>` or `workers.<worker>` was invisible here, and that never
620
617
  * saw a `systemsOfRecord` instance.
621
618
  */
622
- function recipientPopulationOf(saasConfig, saasRoot, providerComplianceProfiles) {
619
+ async function recipientPopulationOf(saasConfig, saasRoot, providerComplianceProfiles) {
623
620
  const config = (saasConfig ?? {});
624
621
  const choices = ApplicationProviderComplianceChoicesSchema.safeParse(config.providerComplianceChoices);
625
622
  return computeRecipientPopulation({
626
623
  providers: config.providers,
627
624
  systemsOfRecord: config.systemsOfRecord,
628
625
  providerComplianceChoices: choices.success ? choices.data : undefined,
629
- typedClientSites: scanTypedClientSites(saasRoot),
626
+ typedClientSites: await scanTypedClientSites(saasRoot),
630
627
  ...(providerComplianceProfiles === undefined ? {} : { providerComplianceProfiles }),
631
628
  });
632
629
  }
@@ -944,10 +941,14 @@ function renderProcessorRegister(population, register) {
944
941
  processor.kind === ProcessorRegisterEntryKind.CONFIGURED_PROVIDER
945
942
  ? `- \`${processor.providerRef}\` (configured provider) — ${processor.legalEntityName}; processes in `
946
943
  + `${processor.processingRegions.join(', ')}`
944
+ // #3921: where it keeps the data at rest, when the operator stated that it differs from where it processes.
945
+ + (processor.storedAtRestIn === undefined ? '' : `; stores the data at rest in ${processor.storedAtRestIn.join(', ')}`)
947
946
  + (processor.purpose === undefined ? '' : `; purpose: ${processor.purpose}`)
948
947
  : `- \`${processor.subprocessorRef}\` (AUTHORED — nothing in the configuration mentions it, so it `
949
948
  + `cannot be verified against the composition) — ${processor.legalEntityName}; processes in `
950
- + `${processor.processingRegions.join(', ')}; purpose: ${processor.purpose}`,
949
+ + `${processor.processingRegions.join(', ')}`
950
+ + (processor.storedAtRestIn === undefined ? '' : `; stores the data at rest in ${processor.storedAtRestIn.join(', ')}`)
951
+ + `; purpose: ${processor.purpose}`,
951
952
  processor.subprocessors.length > 0
952
953
  ? ` - subprocessors: ${processor.subprocessors.map((sub) => `${sub.name} (${sub.processingRegions.join(', ')})`).join('; ')}`
953
954
  : ' - subprocessors: none disclosed by this processor',
@@ -1014,6 +1015,20 @@ function renderProcessorRegisterNotRead(reason) {
1014
1015
  'location as not read for this draft. Do not say they are outstanding or that nobody has established them.',
1015
1016
  ];
1016
1017
  }
1018
+ /**
1019
+ * Where each of a vendor's regions keeps data at rest (#3921), and the account arrangement that holds on (#3920): the
1020
+ * suggestion for the register entry's `storedAtRestIn`, read from the profile and never stated as the operator's.
1021
+ */
1022
+ function storageSuggestionOf(established) {
1023
+ const regions = Object.entries(established.storageRegionTerritories ?? {});
1024
+ if (regions.length === 0)
1025
+ return '';
1026
+ const each = regions.map(([region, places]) => {
1027
+ const condition = established.storageRegionConditions?.[region];
1028
+ return `\`${region}\` → ${places.join(', ')}${condition === undefined ? '' : ` (${condition})`}`;
1029
+ });
1030
+ return `; SUGGESTED storage at rest, by region: ${each.join('; ')}`;
1031
+ }
1017
1032
  /**
1018
1033
  * For each UNDECLARED processor, what its vendor OFFERS — the QUESTION the register entry answers (#1708, #1744).
1019
1034
  *
@@ -1037,6 +1052,8 @@ function renderUndeclaredProcessorQuestions(population, undeclared) {
1037
1052
  ` - \`${ref}\` — offers ${established.deploymentModels.join(' or ')}`
1038
1053
  + (established.processingRegions.length > 0 ? ` in ${established.processingRegions.map((region) => `\`${region}\``).join(', ')}` : '')
1039
1054
  + (established.vendorLegalEntityName === undefined ? '' : `; SUGGESTED legal entity: ${established.vendorLegalEntityName}`)
1055
+ // #3921: where each region keeps data at rest, and what that holds on (#3920), for the entry's `storedAtRestIn`.
1056
+ + storageSuggestionOf(established)
1040
1057
  + (established.subprocessorListUrl === undefined ? '' : `; sub-processors listed at ${established.subprocessorListUrl}`)
1041
1058
  + (established.dataProcessingAgreementUrl === undefined ? '' : `; data processing agreement offered at ${established.dataProcessingAgreementUrl}`)
1042
1059
  + (read.length > 0 ? `. Read from ${read.join(', ')}.` : ' (undated: the provider cites no source or date).'),
@@ -3670,7 +3687,7 @@ let PlaybookRunCompanionService = class PlaybookRunCompanionService {
3670
3687
  const schedule = saasConfig.dataRetention === undefined ? undefined : ApplicationRetentionScheduleSchema.safeParse(saasConfig.dataRetention);
3671
3688
  const jurisdictions = ApplicationOperatingJurisdictionsSchema.safeParse(saasConfig.operatingJurisdictions);
3672
3689
  const choices = ApplicationProviderComplianceChoicesSchema.safeParse(saasConfig.providerComplianceChoices);
3673
- const recipientPopulation = recipientPopulationOf(saasConfig, this.companionContext?.saasRoot);
3690
+ const recipientPopulation = await recipientPopulationOf(saasConfig, this.companionContext?.saasRoot);
3674
3691
  // Only asked when an answer needs it: the retention facts (a schedule exists) or a system-of-record recipient,
3675
3692
  // whose received categories come from the resources bound or piped to it (#1709). ONE introspection call answers
3676
3693
  // every axis: what erasure does to each resource, which retention class binds it (#1613), and what flows where.
@@ -7950,7 +7967,7 @@ let PlaybookRunCompanionService = class PlaybookRunCompanionService {
7950
7967
  // Every declared provider's compliance profile, from discovery (#1708). Unreadable → the population says
7951
7968
  // NOT READ, and the region report falls back to the engine specifications it always read.
7952
7969
  const discoveredProfiles = await this.resolveDiscoveredProviderComplianceProfiles(saasConfig);
7953
- const recipientPopulation = recipientPopulationOf(saasConfig, this.companionContext?.saasRoot, discoveredProfiles.profiles);
7970
+ const recipientPopulation = await recipientPopulationOf(saasConfig, this.companionContext?.saasRoot, discoveredProfiles.profiles);
7954
7971
  const complianceProfiles = { ...engineSpecificationComplianceProfiles(), ...(discoveredProfiles.profiles ?? {}) };
7955
7972
  const { register: processorRegister, notRead: processorRegisterNotRead } = await this.resolveProcessorRegister();
7956
7973
  const contractedService = new Set(partitionCapabilitiesByContractedService({ declaredCapabilities: allDeclaredCapabilities, providers: saasConfig.providers }).reachingContractedService);