@wildo-ai/dev-companion 1.1.14 → 1.1.16

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 (191) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +233 -6
  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 +316 -13
  5. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  6. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +48 -2
  7. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  8. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +41 -3
  9. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  10. package/dist/esm/claude-cli/models/isolated-recheck-interference.models.d.ts +68 -0
  11. package/dist/esm/claude-cli/models/isolated-recheck-interference.models.d.ts.map +1 -0
  12. package/dist/esm/claude-cli/models/isolated-recheck-interference.models.js +198 -0
  13. package/dist/esm/claude-cli/models/isolated-recheck-interference.models.js.map +1 -0
  14. package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts +6 -0
  15. package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts.map +1 -1
  16. package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.js.map +1 -1
  17. package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts +19 -5
  18. package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts.map +1 -1
  19. package/dist/esm/claude-cli/models/verification-tool-availability.models.js +17 -5
  20. package/dist/esm/claude-cli/models/verification-tool-availability.models.js.map +1 -1
  21. package/dist/esm/claude-cli/models/workspace-path-claims.models.d.ts +138 -0
  22. package/dist/esm/claude-cli/models/workspace-path-claims.models.d.ts.map +1 -0
  23. package/dist/esm/claude-cli/models/workspace-path-claims.models.js +204 -0
  24. package/dist/esm/claude-cli/models/workspace-path-claims.models.js.map +1 -0
  25. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +36 -1
  26. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  27. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +71 -16
  28. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  29. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +234 -9
  30. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  31. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +1073 -182
  32. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  33. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +14 -0
  34. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  35. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +35 -0
  36. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  37. package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts +36 -0
  38. package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts.map +1 -0
  39. package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js +134 -0
  40. package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js.map +1 -0
  41. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  42. package/dist/esm/companion-api/controllers/companion.controller.js +7 -1
  43. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  44. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +1 -1
  45. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  46. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts +3 -2
  47. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  48. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  49. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +13 -0
  50. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  51. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +98 -16
  52. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  53. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  54. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +24 -14
  55. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  56. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +42 -0
  57. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  58. package/dist/esm/core/introspection/workspace-element-index.companion.js +42 -0
  59. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  60. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +53 -0
  61. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  62. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +119 -2
  63. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  64. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  65. package/dist/esm/core/runtime/services/start-companion-application.service.js +13 -1
  66. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  67. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +2 -2
  68. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  69. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +6 -6
  70. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  71. package/dist/esm/email/services/email-template.companion.service.d.ts +5 -0
  72. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  73. package/dist/esm/email/services/email-template.companion.service.js +44 -11
  74. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  75. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts +26 -2
  76. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  77. package/dist/esm/email/utils/email-template-fs-discovery.utils.js +41 -2
  78. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  79. package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts +19 -0
  80. package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts.map +1 -0
  81. package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js +171 -0
  82. package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js.map +1 -0
  83. package/dist/esm/email/utils/module-email-root.companion.utils.d.ts +75 -0
  84. package/dist/esm/email/utils/module-email-root.companion.utils.d.ts.map +1 -0
  85. package/dist/esm/email/utils/module-email-root.companion.utils.js +162 -0
  86. package/dist/esm/email/utils/module-email-root.companion.utils.js.map +1 -0
  87. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +21 -1
  88. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  89. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +35 -3
  90. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  91. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.d.ts +62 -0
  92. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.d.ts.map +1 -0
  93. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.js +62 -0
  94. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.js.map +1 -0
  95. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.d.ts +62 -0
  96. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.d.ts.map +1 -0
  97. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.js +62 -0
  98. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.js.map +1 -0
  99. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +1 -0
  100. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  101. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +1 -0
  102. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  103. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts +1 -0
  104. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts.map +1 -1
  105. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js +1 -0
  106. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js.map +1 -1
  107. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  108. package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
  109. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  110. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +35 -0
  111. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  112. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +12 -0
  113. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  114. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts +536 -531
  115. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts.map +1 -1
  116. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js +536 -531
  117. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js.map +1 -1
  118. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +3 -3
  119. package/dist/esm/i18n/system_enums/workbench-build.en.js +3 -3
  120. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  121. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  122. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +7 -3
  123. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  124. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts +23 -0
  125. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  126. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js +14 -0
  127. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  128. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts +21 -1
  129. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts.map +1 -1
  130. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js +117 -3
  131. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js.map +1 -1
  132. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +5 -0
  133. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
  134. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +22 -1
  135. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
  136. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +98 -24
  137. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  138. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +439 -93
  139. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  140. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts +21 -8
  141. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts.map +1 -1
  142. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js +74 -12
  143. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js.map +1 -1
  144. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +47 -1
  145. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  146. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +98 -9
  147. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  148. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +39 -3
  149. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  150. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +224 -48
  151. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  152. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +45 -0
  153. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  154. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +74 -0
  155. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  156. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +12 -0
  157. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -1
  158. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +30 -1
  159. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -1
  160. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
  161. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +21 -2
  162. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
  163. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +71 -5
  164. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  165. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +219 -17
  166. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  167. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts +55 -1
  168. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts.map +1 -1
  169. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js +157 -10
  170. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js.map +1 -1
  171. package/dist/esm/meta-workflows/services/website-demo-facts.models.d.ts +19 -1
  172. package/dist/esm/meta-workflows/services/website-demo-facts.models.d.ts.map +1 -1
  173. package/dist/esm/meta-workflows/services/website-demo-facts.models.js +7 -5
  174. package/dist/esm/meta-workflows/services/website-demo-facts.models.js.map +1 -1
  175. package/dist/esm/module-layout/module-layout-convention.companion.d.ts +158 -0
  176. package/dist/esm/module-layout/module-layout-convention.companion.d.ts.map +1 -0
  177. package/dist/esm/module-layout/module-layout-convention.companion.js +272 -0
  178. package/dist/esm/module-layout/module-layout-convention.companion.js.map +1 -0
  179. package/dist/esm/module-layout/module-layout-inspection.companion.d.ts +42 -0
  180. package/dist/esm/module-layout/module-layout-inspection.companion.d.ts.map +1 -0
  181. package/dist/esm/module-layout/module-layout-inspection.companion.js +290 -0
  182. package/dist/esm/module-layout/module-layout-inspection.companion.js.map +1 -0
  183. package/dist/esm/module-layout/module-source-files.companion.d.ts +3 -0
  184. package/dist/esm/module-layout/module-source-files.companion.d.ts.map +1 -0
  185. package/dist/esm/module-layout/module-source-files.companion.js +45 -0
  186. package/dist/esm/module-layout/module-source-files.companion.js.map +1 -0
  187. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts +2 -0
  188. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  189. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js +3 -1
  190. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  191. package/package.json +17 -17
@@ -1 +1 @@
1
- {"version":3,"file":"build-task-brief-application-facts.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/build-task-brief-application-facts.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AACjH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAE5F;;;;;;;;;;;GAWG;AAEH,2FAA2F;AAC3F,MAAM,CAAC,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AAQ7E,sFAAsF;AACtF,SAAS,kBAAkB,CAAC,aAAqB;IAC/C,MAAM,KAAK,GAAG,aAAa,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACvD,IAAI,KAAK,GAAG,CAAC;QAAE,OAAO,EAAE,CAAC;IACzB,MAAM,YAAY,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChF,iEAAiE;IACjE,MAAM,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACzC,MAAM,OAAO,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACpE,OAAO,OAAO;SACX,KAAK,CAAC,YAAY,CAAC;SACnB,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;SAC3C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACb,MAAM,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACjD,OAAO,EAAE,OAAO,EAAE,WAAY,C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AAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;QAClE,GAAG,CAAC,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC;KAC1D,CAAC;AACJ,CAAC","sourcesContent":["import { readApplicationDisplayName, readEngineCapabilityEnabled } from '@wildo-ai/application-creation-runtime';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { DomainPlanTenancyModel } from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Two facts a coding worker could not see, measured over ~100 coding runs of app-creation-test-005 (#2495):\n *\n * - **Which skills exist beyond the ones it was handed.** The skill index was opened 0 times; where the routed\n * `skillRefs` fell short, workers read the engine's compiled `dist` instead (55% of tool calls on seed tasks).\n * - **What the application has turned on.** 005 shipped `ORGANIZATIONS` disabled with every resource\n * organization-scoped and organization roles on every operation, and no worker had a way to see the contradiction.\n *\n * Both are DERIVED here from what the application already carries — its installed `.claude/skills/INDEX.md` and its\n * `wildo.saas.config.ts` — never a hand-kept list, so a skill or a capability added tomorrow reaches the brief the day it\n * exists.\n */\n\n/** Where the application's compiled skill catalogue is installed, relative to its root. */\nexport const INSTALLED_SKILL_INDEX_RELATIVE_PATH = '.claude/skills/INDEX.md';\n\n/** One `### <domain>` section of the skill index. */\ninterface SkillIndexSection {\n readonly heading: string;\n readonly body: string;\n}\n\n/** The `### …` sections under the index's `## Domains` heading, in authored order. */\nfunction readDomainSections(indexMarkdown: string): readonly SkillIndexSection[] {\n const start = indexMarkdown.search(/^## Domains\\s*$/m);\n if (start < 0) return [];\n const afterDomains = indexMarkdown.slice(start).split('\\n').slice(1).join('\\n');\n // The domains end at the next second-level heading (`## Notes`).\n const end = afterDomains.search(/^## /m);\n const domains = end < 0 ? afterDomains : afterDomains.slice(0, end);\n return domains\n .split(/^(?=### )/m)\n .filter((chunk) => chunk.startsWith('### '))\n .map((chunk) => {\n const [headingLine, ...rest] = chunk.split('\\n');\n return { heading: headingLine!.replace(/^### /, '').trim(), body: rest.join('\\n').trim() };\n });\n}\n\n/**\n * Whether a section lists the skill `skillRef` as one of its rows. The index bolds each id in backticks; a REDIRECT row\n * (an older id kept as an installed folder) is written `` `id` _(redirect → …)_ ``, unbolded, and counts too (#2495\n * review F8): a task routed to one belongs to that domain as much as to the skill it redirects to.\n */\nfunction sectionListsSkill(section: SkillIndexSection, skillRef: string): boolean {\n return section.body.includes(`**\\`${skillRef}\\`**`) || section.body.includes(`\\`${skillRef}\\` _(redirect`);\n}\n\n/**\n * The skill index as a worker needs it: the full sections of the DOMAINS its routed skills belong to (every sibling\n * skill there, with its trigger phrases), and the heading of every other domain, so a skill the decomposer did not name\n * can still be found. `undefined` when the application has no installed index or it holds no domain section.\n */\nexport function sliceSkillIndexForTask(indexMarkdown: string, skillRefs: readonly string[]): {\n readonly routedDomains: readonly { readonly domain: string; readonly skills: string }[];\n readonly otherDomains: readonly string[];\n} | undefined {\n const sections = readDomainSections(indexMarkdown);\n if (sections.length === 0) return undefined;\n const routed = sections.filter((section) => skillRefs.some((skillRef) => sectionListsSkill(section, skillRef)));\n return {\n routedDomains: routed.map((section) => ({ domain: section.heading, skills: section.body })),\n otherDomains: sections.filter((section) => !routed.includes(section)).map((section) => section.heading),\n };\n}\n\n/** What the application's configuration turns on, and how the domain plan partitions its data. */\nexport interface ApplicationCapabilityFacts {\n readonly displayName?: string;\n /** Every engine capability, read from `engineCapabilities`: enabled, disabled, or not declared at all. */\n readonly enabled: readonly EngineCapability[];\n readonly disabled: readonly EngineCapability[];\n readonly undeclared: readonly EngineCapability[];\n /** The domain plan's tenancy decision, when it made one. */\n readonly tenancy?: DomainPlanTenancyModel;\n /** A contradiction between the two, stated so the worker raises it instead of building on one half. */\n readonly contradiction?: string;\n}\n\n/**\n * The application's capability facts, total over `EngineCapability` (a capability added to the vocabulary is reported\n * the day it exists). Tenancy is the domain plan's decision; an organization-tenancy plan beside a disabled\n * `ORGANIZATIONS` capability is the contradiction 005 shipped. Neither half is corrected here, which one is wrong is not\n * this brief's to decide; the worker is told what it may build on (organization scoping needs the capability; a USERS\n * plan says scope to the user) and to report the mismatch.\n */\n/*\n * Read with the same predicate the `engine-capabilities` step writes with (#2497), so the two agree. It reads a literal\n * `[EngineCapability.X]: { enabled: … }` entry (every application measured declares them that way); an entry reached\n * through an imported spread or a bare string key reads as undeclared, and an imported whole object makes the read\n * throw, which drops this source with a WARN.\n */\nexport function readApplicationCapabilityFacts(input: {\n readonly configContent: string;\n readonly configPath: string;\n readonly tenancy?: DomainPlanTenancyModel;\n}): ApplicationCapabilityFacts {\n const enabled: EngineCapability[] = [];\n const disabled: EngineCapability[] = [];\n const undeclared: EngineCapability[] = [];\n for (const capability of Object.values(EngineCapability)) {\n const state = readEngineCapabilityEnabled({ filePath: input.configPath, content: input.configContent, capability });\n (state === true ? enabled : state === false ? disabled : undeclared).push(capability);\n }\n const organizationsOn = enabled.includes(EngineCapability.ORGANIZATIONS);\n const contradiction = input.tenancy === DomainPlanTenancyModel.ORGANIZATIONS && !organizationsOn\n ? 'The domain plan partitions data by ORGANIZATION, and the configuration does not enable ORGANIZATIONS. Do not resolve this by guessing: '\n + 'organization-scoped resources and organization roles assume the capability. Report it in your result so the plan or the configuration is corrected.'\n : input.tenancy === DomainPlanTenancyModel.USERS && organizationsOn\n ? 'The domain plan keeps every user\\'s data their own (USERS tenancy), and the configuration enables ORGANIZATIONS. Scope this task\\'s resources '\n + 'to the user as the plan decided, and report the mismatch in your result.'\n : undefined;\n const displayName = readApplicationDisplayName(input.configContent);\n return {\n ...(displayName === undefined ? {} : { displayName }),\n enabled,\n disabled,\n undeclared,\n ...(input.tenancy === undefined ? {} : { tenancy: input.tenancy }),\n ...(contradiction === undefined ? {} : { contradiction }),\n };\n}\n"]}
1
+ {"version":3,"file":"build-task-brief-application-facts.companion.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/build-task-brief-application-facts.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,2BAA2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AAK,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACxF,CAAC;IACD,MAAM,eAAe,GAAG,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;IACzE,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,KAAK,sBAAsB,CAAC,aAAa,IAAI,CAAC,eAAe;QAC9F,CAAC,CAAC,yIAAyI;cACvI,qJAAqJ;QACzJ,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,sBAAsB,CAAC,KAAK,IAAI,eAAe;YACjE,CAAC,CAAC,gJAAgJ;kBAC9I,0EAA0E;YAC9E,CAAC,CAAC,SAAS,CAAC;IAChB,MAAM,WAAW,GAAG,0BAA0B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACpE,OAAO;QACL,GAAG,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC;QACrD,OAAO;QACP,QAAQ;QACR,UAAU;QACV,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;QAClE,GAAG,CAAC,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC;KAC1D,CAAC;AACJ,CAAC","sourcesContent":["import { readApplicationDisplayName, readEngineCapabilityEnabled } from '@wildo-ai/application-creation-runtime';\nimport { EngineCapability } from '@wildo-ai/saas-models';\nimport { DomainPlanTenancyModel } from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Two facts a coding worker could not see, measured over ~100 coding runs of app-creation-test-005 (#2495):\n *\n * - **Which skills exist beyond the ones it was handed.** The skill index was opened 0 times; where the routed\n * `skillRefs` fell short, workers read the engine's compiled `dist` instead (55% of tool calls on seed tasks).\n * - **What the application has turned on.** 005 shipped `ORGANIZATIONS` disabled with every resource\n * organization-scoped and organization roles on every operation, and no worker had a way to see the contradiction.\n *\n * Both are DERIVED here from what the application already carries — its installed `.claude/skills/INDEX.md` and its\n * `wildo.saas.config.ts` — never a hand-kept list, so a skill or a capability added tomorrow reaches the brief the day it\n * exists.\n */\n\n/** Where the application's compiled skill catalogue is installed, relative to its root. */\nexport const INSTALLED_SKILL_INDEX_RELATIVE_PATH = '.claude/skills/INDEX.md';\n\n/** The coding brief source that carries {@link sliceSkillIndexForTask}'s slice. */\nexport const SKILL_INDEX_BRIEF_SOURCE_REF = 'application-creation:context/skill-index';\n\n/** A skill as the index names it: `**\\`<id>\\`**`, or `\\`<id>\\` _(redirect …)` for a renamed one. */\nconst SKILL_INDEX_ENTRY = /\\*\\*`([a-z0-9][a-z0-9-]*)`\\*\\*|`([a-z0-9][a-z0-9-]*)` _\\(redirect/g;\n\n/**\n * The skills a brief's skill-index source DESCRIBES (#3892): every skill named in its routed domains, which the slice\n * carries with their trigger phrases. The agent's native listing then lists these by name only, so each skill is\n * described once. Reads the brief's own content, so a source the context budget dropped describes nothing and every\n * skill keeps its native description. The other domains are carried by heading only and describe no skill.\n */\nexport function skillsDescribedBySkillIndexSource(sources: readonly { readonly sourceRef: string; readonly content?: unknown }[]): string[] {\n const source = sources.find((candidate) => candidate.sourceRef === SKILL_INDEX_BRIEF_SOURCE_REF);\n const routedDomains = (source?.content as { routedDomains?: unknown } | undefined)?.routedDomains;\n if (!Array.isArray(routedDomains)) return [];\n const names = new Set<string>();\n for (const domain of routedDomains) {\n const skills = (domain as { skills?: unknown } | null)?.skills;\n if (typeof skills !== 'string') continue;\n for (const name of skillsNamedIn(skills)) names.add(name);\n }\n return [...names];\n}\n\n/** One `### <domain>` section of the skill index. */\ninterface SkillIndexSection {\n readonly heading: string;\n readonly body: string;\n}\n\n/** The `### …` sections under the index's `## Domains` heading, in authored order. */\nfunction readDomainSections(indexMarkdown: string): readonly SkillIndexSection[] {\n const start = indexMarkdown.search(/^## Domains\\s*$/m);\n if (start < 0) return [];\n const afterDomains = indexMarkdown.slice(start).split('\\n').slice(1).join('\\n');\n // The domains end at the next second-level heading (`## Notes`).\n const end = afterDomains.search(/^## /m);\n const domains = end < 0 ? afterDomains : afterDomains.slice(0, end);\n return domains\n .split(/^(?=### )/m)\n .filter((chunk) => chunk.startsWith('### '))\n .map((chunk) => {\n const [headingLine, ...rest] = chunk.split('\\n');\n return { heading: headingLine!.replace(/^### /, '').trim(), body: rest.join('\\n').trim() };\n });\n}\n\n/**\n * Whether a section lists the skill `skillRef` as one of its rows. The index bolds each id in backticks; a REDIRECT row\n * (an older id kept as an installed folder) is written `` `id` _(redirect → …)_ ``, unbolded, and counts too (#2495\n * review F8): a task routed to one belongs to that domain as much as to the skill it redirects to.\n */\nfunction sectionListsSkill(section: SkillIndexSection, skillRef: string): boolean {\n return skillsNamedIn(section.body).includes(skillRef);\n}\n\n/** Every skill an index text names, by {@link SKILL_INDEX_ENTRY}: the one reading of the generator's row format. */\nfunction skillsNamedIn(text: string): string[] {\n return [...text.matchAll(SKILL_INDEX_ENTRY)].map((match) => (match[1] ?? match[2])!);\n}\n\n/**\n * The skill index as a worker needs it: the full sections of the DOMAINS its routed skills belong to (every sibling\n * skill there, with its trigger phrases), and the heading of every other domain, so a skill the decomposer did not name\n * can still be found. `undefined` when the application has no installed index or it holds no domain section.\n */\nexport function sliceSkillIndexForTask(indexMarkdown: string, skillRefs: readonly string[]): {\n readonly routedDomains: readonly { readonly domain: string; readonly skills: string }[];\n readonly otherDomains: readonly string[];\n} | undefined {\n const sections = readDomainSections(indexMarkdown);\n if (sections.length === 0) return undefined;\n const routed = sections.filter((section) => skillRefs.some((skillRef) => sectionListsSkill(section, skillRef)));\n return {\n routedDomains: routed.map((section) => ({ domain: section.heading, skills: section.body })),\n otherDomains: sections.filter((section) => !routed.includes(section)).map((section) => section.heading),\n };\n}\n\n/** What the application's configuration turns on, and how the domain plan partitions its data. */\nexport interface ApplicationCapabilityFacts {\n readonly displayName?: string;\n /** Every engine capability, read from `engineCapabilities`: enabled, disabled, or not declared at all. */\n readonly enabled: readonly EngineCapability[];\n readonly disabled: readonly EngineCapability[];\n readonly undeclared: readonly EngineCapability[];\n /** The domain plan's tenancy decision, when it made one. */\n readonly tenancy?: DomainPlanTenancyModel;\n /** A contradiction between the two, stated so the worker raises it instead of building on one half. */\n readonly contradiction?: string;\n}\n\n/**\n * The application's capability facts, total over `EngineCapability` (a capability added to the vocabulary is reported\n * the day it exists). Tenancy is the domain plan's decision; an organization-tenancy plan beside a disabled\n * `ORGANIZATIONS` capability is the contradiction 005 shipped. Neither half is corrected here, which one is wrong is not\n * this brief's to decide; the worker is told what it may build on (organization scoping needs the capability; a USERS\n * plan says scope to the user) and to report the mismatch.\n */\n/*\n * Read with the same predicate the `engine-capabilities` step writes with (#2497), so the two agree. It reads a literal\n * `[EngineCapability.X]: { enabled: … }` entry (every application measured declares them that way); an entry reached\n * through an imported spread or a bare string key reads as undeclared, and an imported whole object makes the read\n * throw, which drops this source with a WARN.\n */\nexport function readApplicationCapabilityFacts(input: {\n readonly configContent: string;\n readonly configPath: string;\n readonly tenancy?: DomainPlanTenancyModel;\n}): ApplicationCapabilityFacts {\n const enabled: EngineCapability[] = [];\n const disabled: EngineCapability[] = [];\n const undeclared: EngineCapability[] = [];\n for (const capability of Object.values(EngineCapability)) {\n const state = readEngineCapabilityEnabled({ filePath: input.configPath, content: input.configContent, capability });\n (state === true ? enabled : state === false ? disabled : undeclared).push(capability);\n }\n const organizationsOn = enabled.includes(EngineCapability.ORGANIZATIONS);\n const contradiction = input.tenancy === DomainPlanTenancyModel.ORGANIZATIONS && !organizationsOn\n ? 'The domain plan partitions data by ORGANIZATION, and the configuration does not enable ORGANIZATIONS. Do not resolve this by guessing: '\n + 'organization-scoped resources and organization roles assume the capability. Report it in your result so the plan or the configuration is corrected.'\n : input.tenancy === DomainPlanTenancyModel.USERS && organizationsOn\n ? 'The domain plan keeps every user\\'s data their own (USERS tenancy), and the configuration enables ORGANIZATIONS. Scope this task\\'s resources '\n + 'to the user as the plan decided, and report the mismatch in your result.'\n : undefined;\n const displayName = readApplicationDisplayName(input.configContent);\n return {\n ...(displayName === undefined ? {} : { displayName }),\n enabled,\n disabled,\n undeclared,\n ...(input.tenancy === undefined ? {} : { tenancy: input.tenancy }),\n ...(contradiction === undefined ? {} : { contradiction }),\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"creation-run-report.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/creation-run-report.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAiC,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAI9G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kEAAkE,CAAC;AAC5H,OAAO,EAIL,KAAK,wCAAwC,EAC9C,MAAM,gDAAgD,CAAC;AAIxD,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,kDAAkD,CAAC;AACnH,OAAO,EAAiC,KAAK,wCAAwC,EAAE,MAAM,iDAAiD,CAAC;AAa/I,OAAO,EAGL,uBAAuB,EACvB,kBAAkB,EAClB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EAEzB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC9B,MAAM,wCAAwC,CAAC;AAGhD,uGAAuG;AACvG,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,iFAAiF;IACjF,QA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,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IACjD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAJC,MAAM,EAAE,0CAA0C,EAClE,UAAU,EAAE,mCAAmC,EACjC,aAAa,EAAE,wCAAwC,EACvD,iBAAiB,EAAE,wCAAwC,EAC1E,gBAAgB,EAAE,gBAAgB;IAG1F,QAAQ,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAqInD;;;;;;;;;;;;;;;;;OAiBG;IACU,gBAAgB,IAAI,OAAO,CAAC,wBAAwB,CAAC;IAgElE;;;;;OAKG;YACW,kBAAkB;IA0BhC,0FAA0F;IAC7E,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAI1I"}
1
+ {"version":3,"file":"creation-run-report.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/creation-run-report.companion.service.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAiC,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAI9G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kEAAkE,CAAC;AAC5H,OAAO,EAIL,KAAK,wCAAwC,EAC9C,MAAM,gDAAgD,CAAC;AAIxD,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,kDAAkD,CAAC;AACnH,OAAO,EAAiC,KAAK,wCAAwC,EAAE,MAAM,iDAAiD,CAAC;AAa/I,OAAO,EAGL,uBAAuB,EACvB,kBAAkB,EAClB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EAEzB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC9B,MAAM,w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AAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACzE;AAED;;;;GAIG;AACH,qBACa,iCAAiC;IAEyB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,UAAU;IACb,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IACjD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAJC,MAAM,EAAE,0CAA0C,EAClE,UAAU,EAAE,mCAAmC,EACjC,aAAa,EAAE,wCAAwC,EACvD,iBAAiB,EAAE,wCAAwC,EAC1E,gBAAgB,EAAE,gBAAgB;IAG1F,QAAQ,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAqInD;;;;;;;;;;;;;;;;;OAiBG;IACU,gBAAgB,IAAI,OAAO,CAAC,wBAAwB,CAAC;IAgFlE;;;;;OAKG;YACW,kBAAkB;IA0BhC,0FAA0F;IAC7E,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAI1I"}
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
11
11
  return function (target, key) { decorator(target, key, paramIndex); }
12
12
  };
13
+ import { readResearchTurnRecords } from '../../claude-cli/services/research-evidence-store.companion.js';
13
14
  import { inject, injectable } from 'inversify';
14
15
  import { FlowsActors_Status, describeCaughtError } from '@wildo-ai/saas-models';
15
16
  import { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks } from '@wildo-ai/framework-knowledge';
@@ -210,10 +211,13 @@ let CreationRunReportCompanionService = class CreationRunReportCompanionService
210
211
  }
211
212
  const playbookRuns = [];
212
213
  for (const row of playbookRows) {
213
- const playbookRef = row.standaloneTasks[0]?.context?.correlation?.refs?.['playbookRef'];
214
+ const refs = row.standaloneTasks[0]?.context?.correlation?.refs;
215
+ const playbookRef = refs?.['playbookRef'];
214
216
  // The unattended loop's own rows name no playbook: each lane it ran is a row of its own, counted there.
215
217
  if (typeof playbookRef !== 'string')
216
218
  continue;
219
+ // What a phase's refreshes cost (#4016), read as the run report reads a run's spend.
220
+ const measurement = readPlaybookRunMeasurement(row.standaloneTasks[0]?.output);
217
221
  playbookRuns.push({
218
222
  runId: row._id,
219
223
  playbookRef,
@@ -221,6 +225,11 @@ let CreationRunReportCompanionService = class CreationRunReportCompanionService
221
225
  ...(row.finishedAt ? { finishedAt: row.finishedAt.toISOString() } : {}),
222
226
  status: row.status,
223
227
  ...(row.suspension?.suspendedAt ? { suspendedAt: row.suspension.suspendedAt } : {}),
228
+ ...(typeof refs?.['instanceKey'] === 'string' ? { instanceKey: refs['instanceKey'] } : {}),
229
+ ...(typeof refs?.['rootRunId'] === 'string' ? { rootRunId: refs['rootRunId'] } : {}),
230
+ ...(measurement ? {
231
+ spend: { measurement: measurement.spend.measurement, modelCalls: measurement.spend.modelCalls, ...(measurement.spend.cost ? { cost: measurement.spend.cost } : {}) },
232
+ } : {}),
224
233
  });
225
234
  }
226
235
  const buildAttempts = [];
@@ -256,7 +265,17 @@ let CreationRunReportCompanionService = class CreationRunReportCompanionService
256
265
  }
257
266
  const { phaseOf, ambiguousPlaybookRefs } = classifyPlaybookRefsByJourneyPhase(readCompiledChoreographyAdmits);
258
267
  const buildPlanGraph = await this.readBuildPlanGraph(notChecked);
259
- return deriveCreationJourneyTimeline({ now: new Date(), playbookRuns, buildAttempts, phaseOf, ambiguousPlaybookRefs, buildPlanGraph, notChecked });
268
+ // Research turns write no playbook-run row (#3896); their evidence records say when they ran.
269
+ let researchTurns = [];
270
+ try {
271
+ // A context with no application root has no evidence store to read.
272
+ if (this.companionContext.saasRoot)
273
+ researchTurns = readResearchTurnRecords(this.companionContext.saasRoot);
274
+ }
275
+ catch (error) {
276
+ notChecked.push(`research turns: their evidence records could not be read (${describeCaughtError(error)}), so a phase that began with research may start late`);
277
+ }
278
+ return deriveCreationJourneyTimeline({ now: new Date(), playbookRuns, researchTurns, buildAttempts, phaseOf, ambiguousPlaybookRefs, buildPlanGraph, notChecked });
260
279
  }
261
280
  /**
262
281
  * The accepted build plan's tasks and their prerequisites, by SHAPE: the timeline needs two fields, not a validated
@@ -1 +1 @@
1
- {"version":3,"file":"creation-run-report.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/creation-run-report.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGhF,OAAO,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAE/G,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAErG,OAAO,EACL,iCAAiC,EACjC,uBAAuB,EACvB,6BAA6B,GAE9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,8DAA8D,CAAC;AAC7G,OAAO,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AACrG,OAAO,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEtI,OAAO,EAAE,6BAA6B,EAAiD,MAAM,iDAAiD,CAAC;AAC/I,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EACL,oBAAoB,EACpB,0BAA0B,GAE3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAG9B,MAAM,4CAA4C,CAA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iC,CAAC,CAAA;IACjE,WAAA,MAAM,CAAC,uBAAuB,CAAC,iBAAiB,CAAC,CAAA;IACjD,WAAA,MAAM,CAAC,uBAAuB,CAAC,+BAA+B,CAAC,CAAA;IAC/D,WAAA,MAAM,CAAC,uBAAuB,CAAC,+BAA+B,CAAC,CAAA;IAC/D,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GANxC,iCAAiC,CAqQ7C;;AAED;;;;;GAKG;AACH,IAAI,0BAA8E,CAAC;AACnF,SAAS,8BAA8B,CAAC,GAAW;IACjD,0BAA0B,KAAK,IAAI,GAAG,CAAC,+BAA+B,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACrF,MAAM,MAAM,GAAI,6BAA6B,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,QAA6E,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC;QACtK,OAAO,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAsB,EAAE,CAAC,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACjI,CAAC,CAAC,CAAC,CAAC;IACJ,OAAO,0BAA0B,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;AACnD,CAAC","sourcesContent":["import { inject, injectable } from 'inversify';\n\nimport { FlowsActors_Status, describeCaughtError } from '@wildo-ai/saas-models';\nimport type { PlaybookSpend } from '@wildo-ai/application-creation-runtime';\nimport type { CreationJourney_BuildPlanTask, CreationJourney_Timeline } from '@wildo-ai/platform-core-shared';\nimport { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks } from '@wildo-ai/framework-knowledge';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { loadSpecificationFamilyData } from '../../core/context/specification-family-data.companion';\nimport type { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';\nimport {\n BUILD_TASK_RECORD_HISTORY_CEILING,\n projectBuildTaskAttempt,\n isBuildPlanHeldByFailedModule,\n type ApplicationBuildDispatchCompanionService,\n} from './application-build-dispatch.companion.service';\nimport { APPLICATION_CODING_SYSTEM_REF } from '../models/application-coding-agent.actors-system.definitions';\nimport { APPLICATION_BUILD_SYSTEM_REF } from '../models/application-build.actors-system.definitions';\nimport { ApplicationCodingTaskDisposition, isInterruptedAtStartupOutput } from '../../claude-cli/models/coding-agent-dispatch.models';\nimport type { CreationInterventionLedgerCompanionService } from './creation-intervention-ledger.companion.service';\nimport { describeFailedLandingRemedies, type PlaybookRunWriteRegisterCompanionService } from './playbook-run-write-register.companion.service';\nimport { META_WORKFLOWS_SYSTEM_REF } from '../models/meta-workflows-lane.models';\nimport {\n projectPlaybookLoops,\n readPlaybookRunMeasurement,\n type PlaybookRunExecutionRow,\n} from '../models/playbook-run-record.models';\nimport {\n classifyPlaybookRefsByJourneyPhase,\n deriveCreationJourneyTimeline,\n type CreationJourneyBuildAttempt,\n type CreationJourneyPlaybookRun,\n} from '../models/creation-journey-timeline.models';\nimport {\n CREATION_BUILD_LANE,\n CREATION_LOOP_LANE,\n deriveIndependenceScore,\n deriveJourneySpend,\n type CreationCodingRunSpend,\n type CreationGenerationStepSpend,\n type CreationIntervention,\n type CreationInterruptedPlaybookExecution,\n type CreationLoopSelectionSpend,\n type CreationPlaybookRunSpend,\n} from '../models/creation-intervention.models';\n\n\n/** What `GET /api/companion/creation/report` answers (#2231) — what `wildo creation report` prints. */\nexport interface CreationRunReport {\n readonly generatedAt: string;\n /**\n * The application the report is about, by its `wildo.saas.config` slug — the name a defect found during its\n * creation carries in its `**Creation run:**` field (#2287), which `wildo creation report` looks up on the tracker.\n */\n readonly application: { readonly slug: string };\n /** Oldest first, each with what it unblocked and why, when a reason is known. */\n readonly interventions: readonly CreationIntervention[];\n readonly independence: ReturnType<typeof deriveIndependenceScore> & {\n /** Build tasks the plan reads LANDED: the per-landed-task denominator the build lane is judged by. */\n readonly landedBuildTasks: number;\n readonly interventionsPerLandedBuildTask: number | null;\n };\n readonly spend: {\n readonly playbookRuns: readonly CreationPlaybookRunSpend[];\n readonly codingRuns: readonly CreationCodingRunSpend[];\n readonly generationSteps: readonly CreationGenerationStepSpend[];\n readonly loopSelections: readonly CreationLoopSelectionSpend[];\n readonly total: ReturnType<typeof deriveJourneySpend>;\n };\n /**\n * Playbook runs that FAILED after writing and whose writes nobody accepted (#3265), newest first: each a half-applied\n * composition the posture never commits and no coding door takes. Not landings, so not counted in `independence`; listed\n * here with the two doors each waits on, because nothing else prompts a person to act on them.\n */\n readonly failedLandings: readonly CreationFailedLanding[];\n /** What this report could not see, said rather than left out — each line a reason a figure is a floor. */\n readonly notChecked: readonly string[];\n}\n\n/** One failed landing the report lists (#3265): which run, what it left in the tree, and how to settle it. */\nexport interface CreationFailedLanding {\n readonly runId: string;\n readonly playbookRef: string;\n readonly at: string;\n readonly paths: readonly string[];\n readonly remedies: { readonly accept: string; readonly revert: string };\n}\n\n/**\n * The CREATION RUN REPORT (#2231): what a person had to do, what each run spent, and how independent the lane\n * was — the report app-creation-test-004's driving session wrote by hand. Derived on every read from rows,\n * registers and git; nothing is stored here, and nothing in the lane reads it.\n */\n@injectable()\nexport class CreationRunReportCompanionService {\n public constructor(\n @inject(COMPANION_SERVICE_TYPES.CreationInterventionLedgerService) private readonly ledger: CreationInterventionLedgerCompanionService,\n @inject(COMPANION_SERVICE_TYPES.ExecutionsService) private readonly executions: CompanionExecutionsCompanionService,\n @inject(COMPANION_SERVICE_TYPES.ApplicationBuildDispatchService) private readonly buildDispatch: ApplicationBuildDispatchCompanionService,\n @inject(COMPANION_SERVICE_TYPES.PlaybookRunWriteRegisterService) private readonly playbookRunWrites: PlaybookRunWriteRegisterCompanionService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {}\n\n public async describe(): Promise<CreationRunReport> {\n const notChecked: string[] = [];\n /*\n * To the build record's history ceiling, as the timeline reads them (#3706): the HTTP listing's 200-row cap dropped\n * the oldest runs of a long creation, so their spend and the playbook a restart interrupted went missing. The same\n * query as the timeline's, so the two share one cached listing.\n */\n const rows = await this.executions.listActorExecutions(\n { systemRef: META_WORKFLOWS_SYSTEM_REF, limit: BUILD_TASK_RECORD_HISTORY_CEILING },\n ) as unknown as PlaybookRunExecutionRow[];\n if (rows.length >= BUILD_TASK_RECORD_HISTORY_CEILING) {\n notChecked.push(`playbook runs: only the newest ${BUILD_TASK_RECORD_HISTORY_CEILING} executions were read, so older runs' spend and restarts' playbook names are missing`);\n }\n const playbookExecutions = new Map<string, CreationInterruptedPlaybookExecution>();\n // The unattended loop's rows name no playbook; a restart that interrupted one is still a restart of the loop.\n for (const loop of projectPlaybookLoops(rows)) playbookExecutions.set(loop.runId, { lane: CREATION_LOOP_LANE });\n const playbookRuns: CreationPlaybookRunSpend[] = [];\n let playbookRunsInFlight = 0;\n for (const row of rows) {\n const refs = row.standaloneTasks[0]?.context?.correlation?.refs;\n const playbookRef = refs?.['playbookRef'];\n if (typeof playbookRef !== 'string') continue;\n playbookExecutions.set(row._id, { lane: playbookRef, ...(typeof refs?.['rootRunId'] === 'string' ? { rootRunId: refs['rootRunId'] } : {}) });\n if (row.status === FlowsActors_Status.PROCESSING || row.status === FlowsActors_Status.PENDING) playbookRunsInFlight += 1;\n // A child's spend is inside its root's: only ROOT runs are summed, or a composite's work counts twice.\n if (typeof refs?.['rootRunId'] === 'string') continue;\n const measurement = readPlaybookRunMeasurement(row.standaloneTasks[0]?.output);\n playbookRuns.push({\n runId: row._id,\n playbookRef,\n ...(typeof refs?.['instanceKey'] === 'string' ? { instanceKey: refs['instanceKey'] } : {}),\n startedAt: row.createdAt.toISOString(),\n ...(row.finishedAt ? { finishedAt: row.finishedAt.toISOString() } : {}),\n status: row.status,\n ...(measurement ? { spend: measurement.spend } : {}),\n });\n }\n playbookRuns.sort((left, right) => left.startedAt.localeCompare(right.startedAt));\n\n const loopSelections = projectPlaybookLoops(rows).map((loop): CreationLoopSelectionSpend => {\n // The loop's own row counts every lane it ran; each lane is also a root run above, so only the rest is the loop's.\n const laneSpends: PlaybookSpend[] = (loop.steps ?? []).flatMap((step) => (step.lanes ?? []).flatMap((lane) => (lane.spend ? [lane.spend] : [])));\n const cost: Record<string, number> = { ...(loop.measurement?.spend.cost ?? {}) };\n for (const lane of laneSpends) for (const [currency, amount] of Object.entries(lane.cost ?? {})) cost[currency] = (cost[currency] ?? 0) - amount;\n const kept = Object.fromEntries(Object.entries(cost).filter((entry) => entry[1] > 0));\n return { runId: loop.runId, startedAt: loop.startedAt, ...(Object.keys(kept).length > 0 ? { cost: kept } : {}) };\n });\n\n let build: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['describeBuildTaskRecords']>>;\n try {\n build = await this.buildDispatch.describeBuildTaskRecords();\n if (build === undefined) notChecked.push('build: the application has no build plan yet, so there are no coding runs to count');\n } catch (error) {\n // A plan a failed module holds exists (#3258): the report says so instead of dying, or of saying there is none.\n if (!isBuildPlanHeldByFailedModule(error)) throw error;\n notChecked.push(`build: the build plan could not be read, so its coding runs are not counted. ${error.message}`);\n }\n if (build?.attemptsTruncated) notChecked.push('build: the attempt listing hit its page cap, so coding runs, generation steps and their spend are a floor');\n const attempts = (build?.tasks ?? []).flatMap((task) => task.attempts.map((attempt) => ({ taskRef: task.taskRef, attempt })));\n const codingRuns: CreationCodingRunSpend[] = attempts\n // A generation step is an attempt and no agent run: it is not a coding run. Its own spend is listed apart, below.\n .filter(({ attempt }) => attempt.ranNothing !== true && attempt.generationStep !== true)\n .map(({ taskRef, attempt }) => ({\n runTaskId: attempt.runTaskId,\n taskRef,\n startedAt: attempt.startedAt,\n ...(attempt.settledAt ? { settledAt: attempt.settledAt } : {}),\n ...(attempt.tokens ? { tokens: attempt.tokens } : {}),\n ...(attempt.cost ? { cost: attempt.cost } : {}),\n }))\n .sort((left, right) => left.startedAt.localeCompare(right.startedAt));\n const generationSteps: CreationGenerationStepSpend[] = attempts\n .filter(({ attempt }) => attempt.ranNothing !== true && attempt.generationStep === true)\n .map(({ taskRef, attempt }) => ({\n runTaskId: attempt.runTaskId,\n taskRef,\n startedAt: attempt.startedAt,\n ...(attempt.settledAt ? { settledAt: attempt.settledAt } : {}),\n ...(attempt.generationStepSpend ? { spend: attempt.generationStepSpend } : {}),\n }))\n .sort((left, right) => left.startedAt.localeCompare(right.startedAt));\n const codingRunsInFlight = attempts.filter(({ attempt }) => attempt.status === FlowsActors_Status.PROCESSING || attempt.status === FlowsActors_Status.PENDING).length;\n\n const { interventions, notChecked: ledgerNotChecked } = await this.ledger.deriveInterventions({\n buildAttempts: attempts.map(({ taskRef, attempt }) => ({\n taskRef,\n runTaskId: attempt.runTaskId,\n startedAt: attempt.startedAt,\n ...(attempt.rearm ? { rearm: attempt.rearm } : {}),\n ...(attempt.landedOverride ? { landedOverride: attempt.landedOverride } : {}),\n })),\n playbookExecutions,\n runsInFlight: playbookRunsInFlight + codingRunsInFlight,\n });\n notChecked.push(...ledgerNotChecked);\n\n // A playbook lane's landings are its runs that landed files; the build's, its tasks the plan reads landed.\n // A FAILED landing's record (#3237) holds what a run left behind when it threw, which is no landing.\n const landedByLane = new Map<string, number>();\n const playbookRunWriteRecords = await this.playbookRunWrites.list();\n for (const record of playbookRunWriteRecords.filter((candidate) => candidate.landingFailed !== true)) {\n landedByLane.set(record.playbookRef, (landedByLane.get(record.playbookRef) ?? 0) + 1);\n }\n // Listed instead (#3265): an accepted one has been settled by a person and is history, not a prompt.\n const failedLandings: CreationFailedLanding[] = playbookRunWriteRecords\n .filter((record) => record.landingFailed === true && record.acceptedCommitSha === undefined)\n .map((record) => ({\n runId: record.runId,\n playbookRef: record.playbookRef,\n at: record.at,\n paths: record.files.map((file) => file.path),\n remedies: describeFailedLandingRemedies(record.runId),\n }));\n const landedBuildTasks = build?.summary.landed ?? 0;\n if (build !== undefined) landedByLane.set(CREATION_BUILD_LANE, landedBuildTasks);\n const independence = deriveIndependenceScore(interventions, landedByLane);\n const buildInterventions = interventions.filter((intervention) => intervention.targets.some((target) => target.lane === CREATION_BUILD_LANE)).length;\n\n return {\n generatedAt: new Date().toISOString(),\n application: { slug: this.companionContext.saasConfig.slug },\n interventions,\n independence: {\n ...independence,\n landedBuildTasks,\n interventionsPerLandedBuildTask: landedBuildTasks > 0 ? Math.round((buildInterventions / landedBuildTasks) * 100) / 100 : buildInterventions === 0 ? 0 : null,\n },\n spend: { playbookRuns, codingRuns, generationSteps, loopSelections, total: deriveJourneySpend({ playbookRuns, codingRuns, generationSteps, loopSelections }) },\n failedLandings,\n notChecked,\n };\n }\n\n /**\n * `GET /creation/timeline` (#3206, epic #3204): how long each phase of the journey took, the wall clock, and the\n * slowest build tasks with their dispatch wait and run time. Derived on every read from the rows, like the report,\n * and read on its own: it needs no build plan, no landing pass and no git, so it answers on an application whose\n * build has not started and costs two listings.\n *\n * Reads the playbook runs to the build record's history ceiling, as `describe` does: a phase's START is its OLDEST\n * run, which is the first a newest-first window drops.\n *\n * It also carries the accepted build plan's GRAPH (#3204's budget: \"at least 3 concurrent tasks when ready\" needs to\n * know when a task could have run, which no attempt row says). Read from the specifications' data slots, which the\n * companion holds cached while nothing changed, and still with no landing pass: a plan that cannot be read is said in\n * `notChecked` and leaves the graph NULL, never failing the read.\n *\n * A playbook run a restart ended is measured to the restart like a build attempt, and unlike one it is not marked:\n * the engine's startup sweep writes the same failure for it as for any orphan, and the meta-workflows sweep passes no\n * description of its own. A phase interrupted by a restart may therefore run long.\n */\n public async describeTimeline(): Promise<CreationJourney_Timeline> {\n const notChecked: string[] = [];\n const [playbookRows, ...attemptPages] = await Promise.all([\n this.executions.listActorExecutions({ systemRef: META_WORKFLOWS_SYSTEM_REF, limit: BUILD_TASK_RECORD_HISTORY_CEILING }),\n ...[APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions({ systemRef, limit: BUILD_TASK_RECORD_HISTORY_CEILING })),\n ]);\n if (playbookRows.length >= BUILD_TASK_RECORD_HISTORY_CEILING) {\n notChecked.push(`playbook runs: only the newest ${BUILD_TASK_RECORD_HISTORY_CEILING} executions were read, so the earliest phase starts are later than they were`);\n }\n if (attemptPages.some((page) => page.length >= BUILD_TASK_RECORD_HISTORY_CEILING)) {\n notChecked.push(`build attempts: only the newest ${BUILD_TASK_RECORD_HISTORY_CEILING} of a system were read, so the build's start and the task totals are a floor`);\n }\n const playbookRuns: CreationJourneyPlaybookRun[] = [];\n for (const row of playbookRows as unknown as PlaybookRunExecutionRow[]) {\n const playbookRef = row.standaloneTasks[0]?.context?.correlation?.refs?.['playbookRef'];\n // The unattended loop's own rows name no playbook: each lane it ran is a row of its own, counted there.\n if (typeof playbookRef !== 'string') continue;\n playbookRuns.push({\n runId: row._id,\n playbookRef,\n startedAt: row.createdAt.toISOString(),\n ...(row.finishedAt ? { finishedAt: row.finishedAt.toISOString() } : {}),\n status: row.status,\n ...(row.suspension?.suspendedAt ? { suspendedAt: row.suspension.suspendedAt } : {}),\n });\n }\n const buildAttempts: CreationJourneyBuildAttempt[] = [];\n for (const row of attemptPages.flat() as unknown as ReadonlyArray<Parameters<typeof projectBuildTaskAttempt>[0] & {\n readonly suspension?: { readonly suspendedAt?: string } | null;\n }>) {\n const projected = projectBuildTaskAttempt(row);\n if (projected === null) continue;\n const { attempt } = projected;\n // A coding run parked on a question (AWAITING_APPROVAL) is waiting on a person, as a parked playbook run is.\n const parkedAt = attempt.status === FlowsActors_Status.AWAITING_APPROVAL ? row.suspension?.suspendedAt : undefined;\n buildAttempts.push({\n taskRef: projected.taskRef,\n selectedAt: attempt.startedAt,\n ...(attempt.preparationStartedAt ? { preparationStartedAt: attempt.preparationStartedAt } : {}),\n ...(attempt.admittedAt ? { admittedAt: attempt.admittedAt } : {}),\n ...(attempt.settledAt ? { settledAt: attempt.settledAt } : {}),\n ...(parkedAt ? { waitingOnPersonSince: parkedAt } : {}),\n /*\n * Settled by a later process's startup sweep: the coding lane's interrupted disposition (every row it ever wrote),\n * or the startup marker the sweep writes on a selected-only run and a generation step since #3206.\n */\n endedByCompanionRestart: attempt.disposition === ApplicationCodingTaskDisposition.INTERRUPTED_REQUIRES_REVIEW\n || isInterruptedAtStartupOutput(row.standaloneTasks[0]?.output),\n generationStep: attempt.generationStep === true,\n });\n }\n if (buildAttempts.some((attempt) => attempt.preparationStartedAt === undefined)) {\n notChecked.push('dispatch wait: an attempt recorded before #3206 carries no preparation start, so its wait is measured from its selection and is a floor');\n }\n const endedByRestart = buildAttempts.filter((attempt) => attempt.endedByCompanionRestart).length;\n if (endedByRestart > 0) {\n notChecked.push(`build attempts: ${endedByRestart} ended by a companion restart are measured to that restart, which includes any time the companion was down`);\n }\n const { phaseOf, ambiguousPlaybookRefs } = classifyPlaybookRefsByJourneyPhase(readCompiledChoreographyAdmits);\n const buildPlanGraph = await this.readBuildPlanGraph(notChecked);\n return deriveCreationJourneyTimeline({ now: new Date(), playbookRuns, buildAttempts, phaseOf, ambiguousPlaybookRefs, buildPlanGraph, notChecked });\n }\n\n /**\n * The accepted build plan's tasks and their prerequisites, by SHAPE: the timeline needs two fields, not a validated\n * plan, and validating it is the dispatcher's job (an invalid plan dispatches nothing, which its own reads say). NULL\n * when no plan is authored yet, which is a true answer for every application before build-decompose; NULL plus a\n * `notChecked` line when one exists and cannot be read, so \"no plan\" and \"could not look\" stay apart.\n */\n private async readBuildPlanGraph(notChecked: string[]): Promise<readonly CreationJourney_BuildPlanTask[] | null> {\n let authored: unknown;\n try {\n authored = (await loadSpecificationFamilyData(this.companionContext) as unknown as Record<string, unknown>).buildPlanSpecification;\n } catch (error) {\n notChecked.push(`build plan: the specifications could not be read (${describeCaughtError(error)}), so the plan graph is absent`);\n return null;\n }\n if (authored === undefined || authored === null) return null;\n const tasks = (authored as { readonly tasks?: unknown }).tasks;\n const graph: CreationJourney_BuildPlanTask[] = [];\n for (const task of Array.isArray(tasks) ? tasks : []) {\n const { taskRef, prerequisiteTaskRefs } = (task ?? {}) as { readonly taskRef?: unknown; readonly prerequisiteTaskRefs?: unknown };\n if (typeof taskRef !== 'string' || taskRef.length === 0) continue;\n graph.push({\n taskRef,\n prerequisiteTaskRefs: Array.isArray(prerequisiteTaskRefs) ? prerequisiteTaskRefs.filter((ref): ref is string => typeof ref === 'string' && ref.length > 0) : [],\n });\n }\n if (!Array.isArray(tasks) || graph.length !== tasks.length) {\n notChecked.push('build plan: the authored plan has tasks of no readable shape, so the plan graph is absent');\n return null;\n }\n return graph;\n }\n\n /** Record why a person intervened; refused for an id the current report does not hold. */\n public async stateReason(interventionId: string, reason: string): Promise<{ readonly interventionId: string; readonly statedAt: string }> {\n const report = await this.describe();\n return this.ledger.stateReason(interventionId, reason, new Set(report.interventions.map((intervention) => intervention.id)));\n }\n}\n\n/**\n * What a compiled playbook's choreography admits, read from the framework-knowledge catalog the companion ships with:\n * the catalog is what the lanes ran from, so it is what says which lane a run's playbook belongs to. Read by shape\n * (the loader types a playbook `unknown`), and loaded once per process — the compiled catalog does not change under a\n * running companion.\n */\nlet compiledChoreographyAdmits: ReadonlyMap<string, readonly string[]> | undefined;\nfunction readCompiledChoreographyAdmits(ref: string): readonly string[] {\n compiledChoreographyAdmits ??= new Map(listFrameworkKnowledgePlaybooks().map((entry) => {\n const admits = (getFrameworkKnowledgePlaybook(entry.ref)?.playbook as { method?: { choreography?: { admits?: unknown } } } | undefined)?.method?.choreography?.admits;\n return [entry.ref, Array.isArray(admits) ? admits.filter((admitted): admitted is string => typeof admitted === 'string') : []];\n }));\n return compiledChoreographyAdmits.get(ref) ?? [];\n}\n"]}
1
+ {"version":3,"file":"creation-run-report.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/creation-run-report.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6DAA6D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MAAM,GAAI,6BAA6B,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,QAA6E,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC;QACtK,OAAO,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAsB,EAAE,CAAC,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACjI,CAAC,CAAC,CAAC,CAAC;IACJ,OAAO,0BAA0B,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;AACnD,CAAC","sourcesContent":["import { readResearchTurnRecords } from '../../claude-cli/services/research-evidence-store.companion';\nimport { inject, injectable } from 'inversify';\n\nimport { FlowsActors_Status, describeCaughtError } from '@wildo-ai/saas-models';\nimport type { PlaybookSpend } from '@wildo-ai/application-creation-runtime';\nimport type { CreationJourney_BuildPlanTask, CreationJourney_Timeline } from '@wildo-ai/platform-core-shared';\nimport { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks } from '@wildo-ai/framework-knowledge';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { loadSpecificationFamilyData } from '../../core/context/specification-family-data.companion';\nimport type { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';\nimport {\n BUILD_TASK_RECORD_HISTORY_CEILING,\n projectBuildTaskAttempt,\n isBuildPlanHeldByFailedModule,\n type ApplicationBuildDispatchCompanionService,\n} from './application-build-dispatch.companion.service';\nimport { APPLICATION_CODING_SYSTEM_REF } from '../models/application-coding-agent.actors-system.definitions';\nimport { APPLICATION_BUILD_SYSTEM_REF } from '../models/application-build.actors-system.definitions';\nimport { ApplicationCodingTaskDisposition, isInterruptedAtStartupOutput } from '../../claude-cli/models/coding-agent-dispatch.models';\nimport type { CreationInterventionLedgerCompanionService } from './creation-intervention-ledger.companion.service';\nimport { describeFailedLandingRemedies, type PlaybookRunWriteRegisterCompanionService } from './playbook-run-write-register.companion.service';\nimport { META_WORKFLOWS_SYSTEM_REF } from '../models/meta-workflows-lane.models';\nimport {\n projectPlaybookLoops,\n readPlaybookRunMeasurement,\n type PlaybookRunExecutionRow,\n} from '../models/playbook-run-record.models';\nimport {\n classifyPlaybookRefsByJourneyPhase,\n deriveCreationJourneyTimeline,\n type CreationJourneyBuildAttempt,\n type CreationJourneyPlaybookRun,\n} from '../models/creation-journey-timeline.models';\nimport {\n CREATION_BUILD_LANE,\n CREATION_LOOP_LANE,\n deriveIndependenceScore,\n deriveJourneySpend,\n type CreationCodingRunSpend,\n type CreationGenerationStepSpend,\n type CreationIntervention,\n type CreationInterruptedPlaybookExecution,\n type CreationLoopSelectionSpend,\n type CreationPlaybookRunSpend,\n} from '../models/creation-intervention.models';\n\n\n/** What `GET /api/companion/creation/report` answers (#2231) — what `wildo creation report` prints. */\nexport interface CreationRunReport {\n readonly generatedAt: string;\n /**\n * The application the report is about, by its `wildo.saas.config` slug — the name a defect found during its\n * creation carries in its `**Creation run:**` field (#2287), which `wildo creation report` looks up on the tracker.\n */\n readonly application: { readonly slug: string };\n /** Oldest first, each with what it unblocked and why, when a reason is known. */\n readonly interventions: readonly CreationIntervention[];\n readonly independence: ReturnType<typeof deriveIndependenceScore> & {\n /** Build tasks the plan reads LANDED: the per-landed-task denominator the build lane is judged by. */\n readonly landedBuildTasks: number;\n readonly interventionsPerLandedBuildTask: number | null;\n };\n readonly spend: {\n readonly playbookRuns: readonly CreationPlaybookRunSpend[];\n readonly codingRuns: readonly CreationCodingRunSpend[];\n readonly generationSteps: readonly CreationGenerationStepSpend[];\n readonly loopSelections: readonly CreationLoopSelectionSpend[];\n readonly total: ReturnType<typeof deriveJourneySpend>;\n };\n /**\n * Playbook runs that FAILED after writing and whose writes nobody accepted (#3265), newest first: each a half-applied\n * composition the posture never commits and no coding door takes. Not landings, so not counted in `independence`; listed\n * here with the two doors each waits on, because nothing else prompts a person to act on them.\n */\n readonly failedLandings: readonly CreationFailedLanding[];\n /** What this report could not see, said rather than left out — each line a reason a figure is a floor. */\n readonly notChecked: readonly string[];\n}\n\n/** One failed landing the report lists (#3265): which run, what it left in the tree, and how to settle it. */\nexport interface CreationFailedLanding {\n readonly runId: string;\n readonly playbookRef: string;\n readonly at: string;\n readonly paths: readonly string[];\n readonly remedies: { readonly accept: string; readonly revert: string };\n}\n\n/**\n * The CREATION RUN REPORT (#2231): what a person had to do, what each run spent, and how independent the lane\n * was — the report app-creation-test-004's driving session wrote by hand. Derived on every read from rows,\n * registers and git; nothing is stored here, and nothing in the lane reads it.\n */\n@injectable()\nexport class CreationRunReportCompanionService {\n public constructor(\n @inject(COMPANION_SERVICE_TYPES.CreationInterventionLedgerService) private readonly ledger: CreationInterventionLedgerCompanionService,\n @inject(COMPANION_SERVICE_TYPES.ExecutionsService) private readonly executions: CompanionExecutionsCompanionService,\n @inject(COMPANION_SERVICE_TYPES.ApplicationBuildDispatchService) private readonly buildDispatch: ApplicationBuildDispatchCompanionService,\n @inject(COMPANION_SERVICE_TYPES.PlaybookRunWriteRegisterService) private readonly playbookRunWrites: PlaybookRunWriteRegisterCompanionService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {}\n\n public async describe(): Promise<CreationRunReport> {\n const notChecked: string[] = [];\n /*\n * To the build record's history ceiling, as the timeline reads them (#3706): the HTTP listing's 200-row cap dropped\n * the oldest runs of a long creation, so their spend and the playbook a restart interrupted went missing. The same\n * query as the timeline's, so the two share one cached listing.\n */\n const rows = await this.executions.listActorExecutions(\n { systemRef: META_WORKFLOWS_SYSTEM_REF, limit: BUILD_TASK_RECORD_HISTORY_CEILING },\n ) as unknown as PlaybookRunExecutionRow[];\n if (rows.length >= BUILD_TASK_RECORD_HISTORY_CEILING) {\n notChecked.push(`playbook runs: only the newest ${BUILD_TASK_RECORD_HISTORY_CEILING} executions were read, so older runs' spend and restarts' playbook names are missing`);\n }\n const playbookExecutions = new Map<string, CreationInterruptedPlaybookExecution>();\n // The unattended loop's rows name no playbook; a restart that interrupted one is still a restart of the loop.\n for (const loop of projectPlaybookLoops(rows)) playbookExecutions.set(loop.runId, { lane: CREATION_LOOP_LANE });\n const playbookRuns: CreationPlaybookRunSpend[] = [];\n let playbookRunsInFlight = 0;\n for (const row of rows) {\n const refs = row.standaloneTasks[0]?.context?.correlation?.refs;\n const playbookRef = refs?.['playbookRef'];\n if (typeof playbookRef !== 'string') continue;\n playbookExecutions.set(row._id, { lane: playbookRef, ...(typeof refs?.['rootRunId'] === 'string' ? { rootRunId: refs['rootRunId'] } : {}) });\n if (row.status === FlowsActors_Status.PROCESSING || row.status === FlowsActors_Status.PENDING) playbookRunsInFlight += 1;\n // A child's spend is inside its root's: only ROOT runs are summed, or a composite's work counts twice.\n if (typeof refs?.['rootRunId'] === 'string') continue;\n const measurement = readPlaybookRunMeasurement(row.standaloneTasks[0]?.output);\n playbookRuns.push({\n runId: row._id,\n playbookRef,\n ...(typeof refs?.['instanceKey'] === 'string' ? { instanceKey: refs['instanceKey'] } : {}),\n startedAt: row.createdAt.toISOString(),\n ...(row.finishedAt ? { finishedAt: row.finishedAt.toISOString() } : {}),\n status: row.status,\n ...(measurement ? { spend: measurement.spend } : {}),\n });\n }\n playbookRuns.sort((left, right) => left.startedAt.localeCompare(right.startedAt));\n\n const loopSelections = projectPlaybookLoops(rows).map((loop): CreationLoopSelectionSpend => {\n // The loop's own row counts every lane it ran; each lane is also a root run above, so only the rest is the loop's.\n const laneSpends: PlaybookSpend[] = (loop.steps ?? []).flatMap((step) => (step.lanes ?? []).flatMap((lane) => (lane.spend ? [lane.spend] : [])));\n const cost: Record<string, number> = { ...(loop.measurement?.spend.cost ?? {}) };\n for (const lane of laneSpends) for (const [currency, amount] of Object.entries(lane.cost ?? {})) cost[currency] = (cost[currency] ?? 0) - amount;\n const kept = Object.fromEntries(Object.entries(cost).filter((entry) => entry[1] > 0));\n return { runId: loop.runId, startedAt: loop.startedAt, ...(Object.keys(kept).length > 0 ? { cost: kept } : {}) };\n });\n\n let build: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['describeBuildTaskRecords']>>;\n try {\n build = await this.buildDispatch.describeBuildTaskRecords();\n if (build === undefined) notChecked.push('build: the application has no build plan yet, so there are no coding runs to count');\n } catch (error) {\n // A plan a failed module holds exists (#3258): the report says so instead of dying, or of saying there is none.\n if (!isBuildPlanHeldByFailedModule(error)) throw error;\n notChecked.push(`build: the build plan could not be read, so its coding runs are not counted. ${error.message}`);\n }\n if (build?.attemptsTruncated) notChecked.push('build: the attempt listing hit its page cap, so coding runs, generation steps and their spend are a floor');\n const attempts = (build?.tasks ?? []).flatMap((task) => task.attempts.map((attempt) => ({ taskRef: task.taskRef, attempt })));\n const codingRuns: CreationCodingRunSpend[] = attempts\n // A generation step is an attempt and no agent run: it is not a coding run. Its own spend is listed apart, below.\n .filter(({ attempt }) => attempt.ranNothing !== true && attempt.generationStep !== true)\n .map(({ taskRef, attempt }) => ({\n runTaskId: attempt.runTaskId,\n taskRef,\n startedAt: attempt.startedAt,\n ...(attempt.settledAt ? { settledAt: attempt.settledAt } : {}),\n ...(attempt.tokens ? { tokens: attempt.tokens } : {}),\n ...(attempt.cost ? { cost: attempt.cost } : {}),\n }))\n .sort((left, right) => left.startedAt.localeCompare(right.startedAt));\n const generationSteps: CreationGenerationStepSpend[] = attempts\n .filter(({ attempt }) => attempt.ranNothing !== true && attempt.generationStep === true)\n .map(({ taskRef, attempt }) => ({\n runTaskId: attempt.runTaskId,\n taskRef,\n startedAt: attempt.startedAt,\n ...(attempt.settledAt ? { settledAt: attempt.settledAt } : {}),\n ...(attempt.generationStepSpend ? { spend: attempt.generationStepSpend } : {}),\n }))\n .sort((left, right) => left.startedAt.localeCompare(right.startedAt));\n const codingRunsInFlight = attempts.filter(({ attempt }) => attempt.status === FlowsActors_Status.PROCESSING || attempt.status === FlowsActors_Status.PENDING).length;\n\n const { interventions, notChecked: ledgerNotChecked } = await this.ledger.deriveInterventions({\n buildAttempts: attempts.map(({ taskRef, attempt }) => ({\n taskRef,\n runTaskId: attempt.runTaskId,\n startedAt: attempt.startedAt,\n ...(attempt.rearm ? { rearm: attempt.rearm } : {}),\n ...(attempt.landedOverride ? { landedOverride: attempt.landedOverride } : {}),\n })),\n playbookExecutions,\n runsInFlight: playbookRunsInFlight + codingRunsInFlight,\n });\n notChecked.push(...ledgerNotChecked);\n\n // A playbook lane's landings are its runs that landed files; the build's, its tasks the plan reads landed.\n // A FAILED landing's record (#3237) holds what a run left behind when it threw, which is no landing.\n const landedByLane = new Map<string, number>();\n const playbookRunWriteRecords = await this.playbookRunWrites.list();\n for (const record of playbookRunWriteRecords.filter((candidate) => candidate.landingFailed !== true)) {\n landedByLane.set(record.playbookRef, (landedByLane.get(record.playbookRef) ?? 0) + 1);\n }\n // Listed instead (#3265): an accepted one has been settled by a person and is history, not a prompt.\n const failedLandings: CreationFailedLanding[] = playbookRunWriteRecords\n .filter((record) => record.landingFailed === true && record.acceptedCommitSha === undefined)\n .map((record) => ({\n runId: record.runId,\n playbookRef: record.playbookRef,\n at: record.at,\n paths: record.files.map((file) => file.path),\n remedies: describeFailedLandingRemedies(record.runId),\n }));\n const landedBuildTasks = build?.summary.landed ?? 0;\n if (build !== undefined) landedByLane.set(CREATION_BUILD_LANE, landedBuildTasks);\n const independence = deriveIndependenceScore(interventions, landedByLane);\n const buildInterventions = interventions.filter((intervention) => intervention.targets.some((target) => target.lane === CREATION_BUILD_LANE)).length;\n\n return {\n generatedAt: new Date().toISOString(),\n application: { slug: this.companionContext.saasConfig.slug },\n interventions,\n independence: {\n ...independence,\n landedBuildTasks,\n interventionsPerLandedBuildTask: landedBuildTasks > 0 ? Math.round((buildInterventions / landedBuildTasks) * 100) / 100 : buildInterventions === 0 ? 0 : null,\n },\n spend: { playbookRuns, codingRuns, generationSteps, loopSelections, total: deriveJourneySpend({ playbookRuns, codingRuns, generationSteps, loopSelections }) },\n failedLandings,\n notChecked,\n };\n }\n\n /**\n * `GET /creation/timeline` (#3206, epic #3204): how long each phase of the journey took, the wall clock, and the\n * slowest build tasks with their dispatch wait and run time. Derived on every read from the rows, like the report,\n * and read on its own: it needs no build plan, no landing pass and no git, so it answers on an application whose\n * build has not started and costs two listings.\n *\n * Reads the playbook runs to the build record's history ceiling, as `describe` does: a phase's START is its OLDEST\n * run, which is the first a newest-first window drops.\n *\n * It also carries the accepted build plan's GRAPH (#3204's budget: \"at least 3 concurrent tasks when ready\" needs to\n * know when a task could have run, which no attempt row says). Read from the specifications' data slots, which the\n * companion holds cached while nothing changed, and still with no landing pass: a plan that cannot be read is said in\n * `notChecked` and leaves the graph NULL, never failing the read.\n *\n * A playbook run a restart ended is measured to the restart like a build attempt, and unlike one it is not marked:\n * the engine's startup sweep writes the same failure for it as for any orphan, and the meta-workflows sweep passes no\n * description of its own. A phase interrupted by a restart may therefore run long.\n */\n public async describeTimeline(): Promise<CreationJourney_Timeline> {\n const notChecked: string[] = [];\n const [playbookRows, ...attemptPages] = await Promise.all([\n this.executions.listActorExecutions({ systemRef: META_WORKFLOWS_SYSTEM_REF, limit: BUILD_TASK_RECORD_HISTORY_CEILING }),\n ...[APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions({ systemRef, limit: BUILD_TASK_RECORD_HISTORY_CEILING })),\n ]);\n if (playbookRows.length >= BUILD_TASK_RECORD_HISTORY_CEILING) {\n notChecked.push(`playbook runs: only the newest ${BUILD_TASK_RECORD_HISTORY_CEILING} executions were read, so the earliest phase starts are later than they were`);\n }\n if (attemptPages.some((page) => page.length >= BUILD_TASK_RECORD_HISTORY_CEILING)) {\n notChecked.push(`build attempts: only the newest ${BUILD_TASK_RECORD_HISTORY_CEILING} of a system were read, so the build's start and the task totals are a floor`);\n }\n const playbookRuns: CreationJourneyPlaybookRun[] = [];\n for (const row of playbookRows as unknown as PlaybookRunExecutionRow[]) {\n const refs = row.standaloneTasks[0]?.context?.correlation?.refs;\n const playbookRef = refs?.['playbookRef'];\n // The unattended loop's own rows name no playbook: each lane it ran is a row of its own, counted there.\n if (typeof playbookRef !== 'string') continue;\n // What a phase's refreshes cost (#4016), read as the run report reads a run's spend.\n const measurement = readPlaybookRunMeasurement(row.standaloneTasks[0]?.output);\n playbookRuns.push({\n runId: row._id,\n playbookRef,\n startedAt: row.createdAt.toISOString(),\n ...(row.finishedAt ? { finishedAt: row.finishedAt.toISOString() } : {}),\n status: row.status,\n ...(row.suspension?.suspendedAt ? { suspendedAt: row.suspension.suspendedAt } : {}),\n ...(typeof refs?.['instanceKey'] === 'string' ? { instanceKey: refs['instanceKey'] } : {}),\n ...(typeof refs?.['rootRunId'] === 'string' ? { rootRunId: refs['rootRunId'] } : {}),\n ...(measurement ? {\n spend: { measurement: measurement.spend.measurement, modelCalls: measurement.spend.modelCalls, ...(measurement.spend.cost ? { cost: measurement.spend.cost } : {}) },\n } : {}),\n });\n }\n const buildAttempts: CreationJourneyBuildAttempt[] = [];\n for (const row of attemptPages.flat() as unknown as ReadonlyArray<Parameters<typeof projectBuildTaskAttempt>[0] & {\n readonly suspension?: { readonly suspendedAt?: string } | null;\n }>) {\n const projected = projectBuildTaskAttempt(row);\n if (projected === null) continue;\n const { attempt } = projected;\n // A coding run parked on a question (AWAITING_APPROVAL) is waiting on a person, as a parked playbook run is.\n const parkedAt = attempt.status === FlowsActors_Status.AWAITING_APPROVAL ? row.suspension?.suspendedAt : undefined;\n buildAttempts.push({\n taskRef: projected.taskRef,\n selectedAt: attempt.startedAt,\n ...(attempt.preparationStartedAt ? { preparationStartedAt: attempt.preparationStartedAt } : {}),\n ...(attempt.admittedAt ? { admittedAt: attempt.admittedAt } : {}),\n ...(attempt.settledAt ? { settledAt: attempt.settledAt } : {}),\n ...(parkedAt ? { waitingOnPersonSince: parkedAt } : {}),\n /*\n * Settled by a later process's startup sweep: the coding lane's interrupted disposition (every row it ever wrote),\n * or the startup marker the sweep writes on a selected-only run and a generation step since #3206.\n */\n endedByCompanionRestart: attempt.disposition === ApplicationCodingTaskDisposition.INTERRUPTED_REQUIRES_REVIEW\n || isInterruptedAtStartupOutput(row.standaloneTasks[0]?.output),\n generationStep: attempt.generationStep === true,\n });\n }\n if (buildAttempts.some((attempt) => attempt.preparationStartedAt === undefined)) {\n notChecked.push('dispatch wait: an attempt recorded before #3206 carries no preparation start, so its wait is measured from its selection and is a floor');\n }\n const endedByRestart = buildAttempts.filter((attempt) => attempt.endedByCompanionRestart).length;\n if (endedByRestart > 0) {\n notChecked.push(`build attempts: ${endedByRestart} ended by a companion restart are measured to that restart, which includes any time the companion was down`);\n }\n const { phaseOf, ambiguousPlaybookRefs } = classifyPlaybookRefsByJourneyPhase(readCompiledChoreographyAdmits);\n const buildPlanGraph = await this.readBuildPlanGraph(notChecked);\n // Research turns write no playbook-run row (#3896); their evidence records say when they ran.\n let researchTurns: ReturnType<typeof readResearchTurnRecords> = [];\n try {\n // A context with no application root has no evidence store to read.\n if (this.companionContext.saasRoot) researchTurns = readResearchTurnRecords(this.companionContext.saasRoot);\n } catch (error) {\n notChecked.push(`research turns: their evidence records could not be read (${describeCaughtError(error)}), so a phase that began with research may start late`);\n }\n return deriveCreationJourneyTimeline({ now: new Date(), playbookRuns, researchTurns, buildAttempts, phaseOf, ambiguousPlaybookRefs, buildPlanGraph, notChecked });\n }\n\n /**\n * The accepted build plan's tasks and their prerequisites, by SHAPE: the timeline needs two fields, not a validated\n * plan, and validating it is the dispatcher's job (an invalid plan dispatches nothing, which its own reads say). NULL\n * when no plan is authored yet, which is a true answer for every application before build-decompose; NULL plus a\n * `notChecked` line when one exists and cannot be read, so \"no plan\" and \"could not look\" stay apart.\n */\n private async readBuildPlanGraph(notChecked: string[]): Promise<readonly CreationJourney_BuildPlanTask[] | null> {\n let authored: unknown;\n try {\n authored = (await loadSpecificationFamilyData(this.companionContext) as unknown as Record<string, unknown>).buildPlanSpecification;\n } catch (error) {\n notChecked.push(`build plan: the specifications could not be read (${describeCaughtError(error)}), so the plan graph is absent`);\n return null;\n }\n if (authored === undefined || authored === null) return null;\n const tasks = (authored as { readonly tasks?: unknown }).tasks;\n const graph: CreationJourney_BuildPlanTask[] = [];\n for (const task of Array.isArray(tasks) ? tasks : []) {\n const { taskRef, prerequisiteTaskRefs } = (task ?? {}) as { readonly taskRef?: unknown; readonly prerequisiteTaskRefs?: unknown };\n if (typeof taskRef !== 'string' || taskRef.length === 0) continue;\n graph.push({\n taskRef,\n prerequisiteTaskRefs: Array.isArray(prerequisiteTaskRefs) ? prerequisiteTaskRefs.filter((ref): ref is string => typeof ref === 'string' && ref.length > 0) : [],\n });\n }\n if (!Array.isArray(tasks) || graph.length !== tasks.length) {\n notChecked.push('build plan: the authored plan has tasks of no readable shape, so the plan graph is absent');\n return null;\n }\n return graph;\n }\n\n /** Record why a person intervened; refused for an id the current report does not hold. */\n public async stateReason(interventionId: string, reason: string): Promise<{ readonly interventionId: string; readonly statedAt: string }> {\n const report = await this.describe();\n return this.ledger.stateReason(interventionId, reason, new Set(report.interventions.map((intervention) => intervention.id)));\n }\n}\n\n/**\n * What a compiled playbook's choreography admits, read from the framework-knowledge catalog the companion ships with:\n * the catalog is what the lanes ran from, so it is what says which lane a run's playbook belongs to. Read by shape\n * (the loader types a playbook `unknown`), and loaded once per process — the compiled catalog does not change under a\n * running companion.\n */\nlet compiledChoreographyAdmits: ReadonlyMap<string, readonly string[]> | undefined;\nfunction readCompiledChoreographyAdmits(ref: string): readonly string[] {\n compiledChoreographyAdmits ??= new Map(listFrameworkKnowledgePlaybooks().map((entry) => {\n const admits = (getFrameworkKnowledgePlaybook(entry.ref)?.playbook as { method?: { choreography?: { admits?: unknown } } } | undefined)?.method?.choreography?.admits;\n return [entry.ref, Array.isArray(admits) ? admits.filter((admitted): admitted is string => typeof admitted === 'string') : []];\n }));\n return compiledChoreographyAdmits.get(ref) ?? [];\n}\n"]}
@@ -155,6 +155,18 @@ export interface ExpertPersonasExecutionResult {
155
155
  readonly runId?: string;
156
156
  readonly accepted: false;
157
157
  }
158
+ /** What the build-dispatch step reports of the staffing run repairing stale expert charters (#3204, #4022). */
159
+ export interface StaleExpertChartersRepair {
160
+ readonly heldTaskRefs: readonly string[];
161
+ /** The staffing step ran and landed, so the holds it read were released. */
162
+ readonly ran: boolean;
163
+ /**
164
+ * The staffing run is still running beside the build (#4022): the step returned without waiting, because the wave could
165
+ * start other work. It releases the held steps when it lands; the next wave runs them.
166
+ */
167
+ readonly inFlight?: true;
168
+ readonly detail: string;
169
+ }
158
170
  /**
159
171
  * A staffing run that attempted roles and staffed none of them (#3204): every role it set out to derive was refused.
160
172
  *
@@ -1563,18 +1575,65 @@ export declare class PlaybookRunCompanionService {
1563
1575
  /**
1564
1576
  * Derive again the expert charters a build panel refused as stale, by running the staffing step itself (#3204).
1565
1577
  *
1566
- * A build task can change an input a charter reads (the design-system task changes the design system the art director
1567
- * and the design-system guardian read), and the next generation step that seats them is refused (#3244). The build
1568
- * holds that step and goes on; this runs `top_down.expert-personas` once the wave has drained, as a child of the same
1569
- * lane, so its landing is a run of its own, recorded and committed like any other (which is why the refusal itself does
1570
- * not derive the charter inline). Then the held steps are offered again. On reference run 42218788356 the refusal ended
1578
+ * An input a charter reads can move during the build (since #4022 the brand or the vision: the build's own design-system
1579
+ * and accepted-mark writes no longer count while it is unfinished), and the next generation step that seats that expert
1580
+ * is refused (#3244). The build holds that step and goes on; this runs `top_down.expert-personas` as a child of the same
1581
+ * lane, started the moment the step is held, beside the wave ({@link startStaleExpertChartersRepair}), so its landing
1582
+ * is a run of its own, recorded and committed like any other (which is why the refusal itself does not derive the
1583
+ * charter inline). Then the held steps it read are offered again. On reference run 42218788356 the refusal ended
1571
1584
  * the build lane at 32 of 98 tasks, and the staffing step it named only ran 20 minutes later, in another lane.
1572
1585
  *
1573
1586
  * Nothing runs when nothing is held, or when every held seat was edited by a person: such a charter is never derived
1574
1587
  * again, and its remedy is the hand edit (the step stays held until that commit). A staffing run that fails is reported
1575
1588
  * and keeps the hold: the next round meets the same refusal and tries again.
1589
+ *
1590
+ * It releases only the holds it read when it started (#4022): it runs beside the build now
1591
+ * ({@link startStaleExpertChartersRepair}), and a step held while it ran may wait on a charter it did not derive.
1576
1592
  */
1577
1593
  private repairStaleExpertCharters;
1594
+ /**
1595
+ * The end of the queue of staffing runs in this process (#4022): each starts once the one before it settled. Both fields
1596
+ * start absent rather than initialised, so a service built without its constructor (the tests' `Object.create`) queues
1597
+ * the same way.
1598
+ */
1599
+ private expertStaffingTail;
1600
+ /** Staffing runs queued or running, so a run can tell it waited for another. */
1601
+ private expertStaffingQueued;
1602
+ /**
1603
+ * Run one staffing (`top_down.expert-personas`) after any other in this process has settled (#4022).
1604
+ *
1605
+ * The build-dispatch step now starts its staffing repair beside the wave, so the lane's selector, the board, a person or
1606
+ * another lane can start a staffing run while it runs. Two at once would derive and accept the same charters side by
1607
+ * side: the accept serializes its writes (`acceptMutex`), but both derivations spend a three-pass model protocol and
1608
+ * the later accept overwrites the earlier from the same stale reading. In turn, the one that waited re-reads the
1609
+ * application (`waitedForAnother`), finds the charters the first derived current, and derives nothing. Every door that
1610
+ * runs the step (a direct run, a detached submission, a resume) reaches this through `executePlaybookRun`.
1611
+ */
1612
+ private runExpertStaffingInTurn;
1613
+ /** The staffing repair running beside the build (#4022), if one is: there is at most one at a time. */
1614
+ private staleExpertChartersRepairInFlight;
1615
+ /**
1616
+ * Start {@link repairStaleExpertCharters} without waiting for it, unless one is already running, and return the run
1617
+ * in flight (`undefined` when nothing is held, so nothing started).
1618
+ *
1619
+ * Why it no longer waits for the wave (#4022): on reference run 44052185141 the logo step was held at 11:15, the staffing
1620
+ * run started only when that wave drained at 12:27, and the next wave started at 12:36, so ten ready tasks waited eight
1621
+ * minutes on a run only the logo step needed (and again from 13:03 to 13:12). Started the moment a step is held, it runs
1622
+ * beside the coding runs the wave keeps starting, and when it lands it releases the held step for the next slot. A
1623
+ * staffing landing beside live coding runs is the case the in-flight landing window exists for (#3221), as for any
1624
+ * other lane's landing during the build. The build-dispatch step waits for it only when the wave could start nothing
1625
+ * else, since then the held steps are all that is left (and the lane would otherwise spend rounds on empty waves).
1626
+ */
1627
+ private startStaleExpertChartersRepair;
1628
+ /**
1629
+ * What the build-dispatch step reports of the staffing repair once its wave has drained (#4022), and whether it waits.
1630
+ *
1631
+ * It waits only when the wave started nothing but steps refused on stale charters (or nothing at all): then the held
1632
+ * steps are all the build has left to run now, and returning would hand the lane an empty wave per round until the
1633
+ * staffing run lands (a held step is passed over, so the wave would find nothing either). Otherwise the staffing run
1634
+ * keeps running beside the next wave, and its landing releases the held steps there.
1635
+ */
1636
+ private settleStaleExpertChartersRepairAfterWave;
1578
1637
  /**
1579
1638
  * The single-flight subject this run holds, if any: its composite INSTANCE's (#1610), exactly when the
1580
1639
  * playbook DECLARES a choreography and the run is not nested inside another composite — see
@@ -1894,6 +1953,13 @@ export declare class PlaybookRunCompanionService {
1894
1953
  * refuses.
1895
1954
  */
1896
1955
  private composeAssuranceProgramAuthoritySection;
1956
+ /**
1957
+ * The provider refs that exist for this application (#3995), for a generation producing the integration plan; `undefined`
1958
+ * for any other generation, and when the registry cannot be read (an unknown provider is then not a wrong one). The
1959
+ * installed `providers/<ref>/` are read from disk now; the declared scopes come from the configuration the companion
1960
+ * holds, which a provider the integration plan itself declares has not reached yet, and does not need to.
1961
+ */
1962
+ private readKnownProviderRefsFor;
1897
1963
  /**
1898
1964
  * The system-of-record facets' partition fields by kind (#3045), for a generation producing the domain plan, read from the
1899
1965
  * application's EFFECTIVE facets, as the backend resolves them at startup (`loadEffectiveSystemOfRecordFacets`, #3053);
@@ -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;AAoE5H,OAAO,EAwBL,KAAK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AkB,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,EAsC/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,EAGrC,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,EAQL,KAAK,wBAAwB,EAG9B,MAAM,oDAAoD,CAA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