@wildo-ai/dev-companion 1.1.15 → 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 (96) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +165 -5
  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 +239 -8
  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 +2 -1
  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 +2 -1
  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/workspace-path-claims.models.d.ts +138 -0
  15. package/dist/esm/claude-cli/models/workspace-path-claims.models.d.ts.map +1 -0
  16. package/dist/esm/claude-cli/models/workspace-path-claims.models.js +204 -0
  17. package/dist/esm/claude-cli/models/workspace-path-claims.models.js.map +1 -0
  18. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +20 -0
  19. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  20. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +27 -12
  21. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  22. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +155 -3
  23. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  24. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +791 -151
  25. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  26. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  27. package/dist/esm/companion-api/controllers/companion.controller.js +7 -1
  28. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  29. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +1 -1
  30. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  31. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +13 -0
  32. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  33. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +98 -16
  34. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  35. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +21 -1
  36. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  37. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +35 -3
  38. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  39. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.d.ts +62 -0
  40. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.d.ts.map +1 -0
  41. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.js +62 -0
  42. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.en.js.map +1 -0
  43. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.d.ts +62 -0
  44. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.d.ts.map +1 -0
  45. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.js +62 -0
  46. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_ACTIVITY_SETTINGS.fr.js.map +1 -0
  47. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +1 -1
  48. package/dist/esm/i18n/system_enums/workbench-build.en.js +1 -1
  49. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  50. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts +23 -0
  51. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  52. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js +14 -0
  53. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  54. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts +12 -1
  55. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts.map +1 -1
  56. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js +99 -1
  57. package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js.map +1 -1
  58. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +5 -0
  59. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
  60. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +22 -1
  61. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
  62. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +67 -20
  63. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  64. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +344 -76
  65. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  66. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts.map +1 -1
  67. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js +9 -0
  68. package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js.map +1 -1
  69. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +47 -1
  70. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  71. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +98 -9
  72. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  73. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +38 -2
  74. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  75. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +176 -22
  76. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  77. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +45 -0
  78. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  79. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +74 -0
  80. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  81. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
  82. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +9 -1
  83. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
  84. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +64 -5
  85. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  86. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +139 -14
  87. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  88. package/dist/esm/meta-workflows/services/website-demo-facts.models.d.ts +19 -1
  89. package/dist/esm/meta-workflows/services/website-demo-facts.models.d.ts.map +1 -1
  90. package/dist/esm/meta-workflows/services/website-demo-facts.models.js +7 -5
  91. package/dist/esm/meta-workflows/services/website-demo-facts.models.js.map +1 -1
  92. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts +2 -0
  93. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  94. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js +3 -1
  95. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  96. package/package.json +17 -17
@@ -52,6 +52,10 @@ export declare function resolveApplicationWorkspaceMutationScope(applicationWork
52
52
  * found it rather than restate the path.
53
53
  */
54
54
  export declare function resolveFrontendConfigSurfaceFile(surface: FrontendConfigSurface): string;
55
+ /** The role's own specification file (`OFFICE_MANAGER` → `specifications/src/engine/roles/office-manager.role.specification.ts`). */
56
+ export declare function applicationRoleSpecificationPath(roleRef: string): string;
57
+ /** The binding that file exports (`OFFICE_MANAGER` → `officeManagerRoleSpecification`). */
58
+ export declare function applicationRoleSpecificationExportName(roleRef: string): string;
55
59
  /** The `moduleRef` of a registry probe whose product belongs to no module (a relationship role, #2305 S6). */
56
60
  export declare const APPLICATION_WIDE_AGENT_WORK_MODULE_REF = "";
57
61
  /**
@@ -91,6 +95,14 @@ export declare const APPLICATION_WIDE_AGENT_WORK_MODULE_REF = "";
91
95
  * is one a third call site can forget, and forgetting it restores the refusal this exists to remove.
92
96
  */
93
97
  export declare function resolveBuildPlanTaskCodingPolicy(task: BuildPlanTask, applicationWorkspaceEntries: readonly string[]): ApplicationBuildTaskCodingPolicy;
98
+ /**
99
+ * Where a run of this task is EXPECTED to write (#3998): its target's scope and the paths its own products land at, the
100
+ * policy before the whole-workspace widening of #1268. A prediction, never a bound: the widening lets the run write
101
+ * anywhere, by decision. Read only where a wrong prediction costs nothing it cannot recover: a failed run's isolated
102
+ * re-check may start beside a live run predicted not to write what it reads, and its verdict is discarded when anything
103
+ * it reads changed meanwhile. Throws for a task no coding agent runs (a generation step).
104
+ */
105
+ export declare function resolveBuildPlanTaskExpectedWriteScope(task: BuildPlanTask): readonly string[];
94
106
  /**
95
107
  * The document this task declares it produces, when the engine catalog cannot say what that document
96
108
  * must CONTAIN — otherwise `undefined`.
@@ -167,7 +179,8 @@ export declare function deriveApplicationAssemblyCheckRefs(packageDirectories: r
167
179
  export declare function resolveAssemblyRepairCodingPolicy(checkRef: string, applicationWorkspaceEntries: readonly string[], nonTypeScriptPackages?: readonly string[]): ApplicationBuildTaskCodingPolicy;
168
180
  /**
169
181
  * The checks a task that writes `writtenPathPrefixes` must pass (#1540): every check whose coverage one
170
- * of those paths can reach, plus the package typecheck of every workers/minions package it writes.
182
+ * of those paths can reach, plus the package typecheck of every workers/minions package and every provider facet
183
+ * package (#4018) it writes.
171
184
  *
172
185
  * `nonTypeScriptPackages` names package directories with no TypeScript to check (a Rust worker) — the
173
186
  * honest answer there is no typecheck, stated by the target, rather than a command that cannot run.
@@ -694,7 +707,7 @@ export type ProductDeclarationSite = {
694
707
  * `RESOURCE_SPECIFICATION` and `APPLICATION_WORKER` declare several names that are genuinely
695
708
  * independent — a schema is a set of fields — so the set reading is the true one.
696
709
  */
697
- export declare function productDeclarationSite(product: BuildPlanTask['produces'][number]): ProductDeclarationSite;
710
+ export declare function productDeclarationSite(product: BuildPlanTask['produces'][number], probeIndex?: number): ProductDeclarationSite;
698
711
  /**
699
712
  * Does the committed text declare these refs at the site the product names? The one question every declaration
700
713
  * probe asks.
@@ -855,6 +868,10 @@ export declare function websitePageSectionsListName(pageRef: string): string;
855
868
  * **This is a normalization, not the right long-term answer.** A custom view is identified by
856
869
  * `resource × operation`, and the product models it as a single opaque ref — see #1530 and #1539.
857
870
  * When the product carries the operation, the probe should assert the BINDING rather than the name.
871
+ *
872
+ * The match is a PREFIX: `view-follow-ups` is also found in `FollowUpsDueCustomView`, so this task's probe can read a
873
+ * view landed on a longer sibling's component (pre-existing). The shell witness guards its own use of the rule by taking
874
+ * the most specific planned view a component realises (#4012).
858
875
  */
859
876
  export declare function resourceCustomViewIdentity(viewRef: string): string;
860
877
  /**
@@ -904,12 +921,31 @@ export interface ShellLauncherEntry {
904
921
  readonly viewRef?: string;
905
922
  readonly sectionRef?: string;
906
923
  }
924
+ /**
925
+ * Does the component a resource operation renders as its `customView` realise this PLANNED view (#4012)?
926
+ *
927
+ * The experience plan declares a `RESOURCE_CUSTOM_VIEW` with its resource and no operation, the placement plan names it
928
+ * as an `APP_VIEW` (`view-enquiry-capture`), and the build realises it as one operation's `customView` (the enquiry's
929
+ * CREATE renders `EnquiryCaptureCustomView`). No plan says which operation hosts it; the binding does, and the shell
930
+ * oracle reports it on that operation's launcher. This decides whether the bound component is the planned view.
931
+ *
932
+ * By the SAME rule the custom view's own build task lands by ({@link resourceCustomViewIdentity} read with
933
+ * {@link declarationsAppear}): the ref's words in any spelling, starting the name, followed by nothing or by a capital.
934
+ * `EnquiryCaptureCustomView`, `EnquiryCaptureView` and `EnquiryCaptureForm` realise `view-enquiry-capture`;
935
+ * `NewEnquiryCaptureCustomView` and `EnquiryCapturedCustomView` do not. One rule, so a custom view whose task landed is
936
+ * never a view its placement cannot find.
937
+ */
938
+ export declare function customViewComponentRealisesPlannedView(componentName: string, viewRef: string): boolean;
907
939
  /**
908
940
  * Every identity a launcher answers to (#3204): {@link launcherShellIdentity}, and for a resource operation also the one
909
941
  * spelled with the singular of its resource type. A placement plan names a resource as the domain plan does, in the
910
942
  * singular (`pipeline-stage-setting`), while the shell carries the registered type (`pipelineStageSettings`): on reference
911
943
  * run 42782969940 the settings hub carried all four planned lists and its probe reported them missing. The singular of a
912
944
  * word that is not a regular plural is the word itself, so an exact match is unchanged.
945
+ *
946
+ * A planned view an operation renders as its custom view is not one of these identities: whether the launcher carries
947
+ * it depends on the PLANNED view's ref, so the shell witness asks {@link customViewComponentRealisesPlannedView} for the
948
+ * views the plan placed (#4012).
913
949
  */
914
950
  export declare function launcherShellIdentities(entry: ShellLauncherEntry): readonly string[];
915
951
  export declare function launcherShellIdentity(entry: ShellLauncherEntry): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"application-build-task-coding-policy.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/application-build-task-coding-policy.companion.service.ts"],"names":[],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AAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,yBAAyB,CAAC;IAChD,2FAA2F;IAC3F,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,8HAA8H;AAC9H,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAE9E;AAED;;;;;;;;;GASG;AACH,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,aAAa,EACnB,SAAS,EAAE;IAAE,QAAQ,CAAC,wBAAwB,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GACnE,SAAS,wBAAwB,EAAE,CAcrC"}
1
+ {"version":3,"file":"application-build-task-coding-policy.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/services/application-build-task-coding-policy.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,wBAAwB,EAGxB,qBAAqB,EACrB,gBAAgB,EAGhB,KAAK,aAAa,EAMlB,KAAK,gBAAgB,EAiBrB,KAAK,oBAAoB,EAG1B,MAAM,oDAAoD,CAAC;AAG5D,OAAO,EAAkG,KAAK,qBAAqB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gCAAgC,EAAE,KAAK,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AAEzQ,OAAO,EAAE,iBAAiB,EAAuB,MAAM,qCAAqC,CAAC;AAY7F;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,sBAAsB,EAAE,SAAS,MAAM,EAAE,CAAC;IACnD,QAAQ,CAAC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;CAC/C;AAED,4FAA4F;AAC5F,qBAAa,uCAAwC,SAAQ,KAAK;aAC7B,OAAO,EAAE,MAAM;aAAkB,iBAAiB,EAAE,MAAM;gBAA1D,OAAO,EAAE,MAAM,EAAk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AE,aAAa,EACnB,SAAS,EAAE;IAAE,QAAQ,CAAC,wBAAwB,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GACnE,SAAS,wBAAwB,EAAE,CAcrC"}
@@ -1,5 +1,6 @@
1
1
  import { BuildPlanResourceStage, BuildPlanTaskProductKind, BuildPlanWorkerRuntime, ApplicationGuidanceKind, FrontendConfigSurface, PlacementSurface, ProviderBindingScope, BuildPlanTaskTargetKind, isScaffoldedResourceOperationRef, isScaffoldedWebsiteStarterPage, isScaffoldedWebsiteStarterSection, PlacementSubjectKind, placementViewIdentity, INTEGRATION_INBOUND_CHANNEL_SKILL_REF, BILLING_CATALOG_SKILL_REF, APPLICATION_ROLES_SKILL_REF, BuildPlanDataSeedContent, DATA_SEED_SKILL_REF, PDF_TEMPLATE_SKILL_REF, ORGANIZATION_RELATIONSHIPS_SKILL_REF, RESOURCE_RETENTION_SKILL_REF, AGENT_APPROVAL_GATE_SKILL_REF, AI_USE_DECLARATION_SKILL_REF, BUILD_PLAN_AGENT_SHAPE_SKILL_REF, BuildPlanAgentShape, WORK_UNIT_SKILL_REF, ORGANIZATION_TYPE_SKILL_REF, ORGANIZATION_UNIT_CONFINEMENT_SKILL_REF, SYSTEM_OF_RECORD_BINDING_SKILL_REFS, integrationMinionDirectoryName, integrationWorkerDirectoryName, } from '@wildo-ai/saas-specifications/application-creation';
2
2
  import { posix } from 'node:path';
3
+ import { ORGANIZATION_ROLE_DOCUMENTATION_REQUIRED_GUIDANCE } from '@wildo-ai/saas-technical-doc/companion';
3
4
  import { AgentWorkShortfallKind, isOrganizationRoleOfferedByType, SystemOfRecordAccess } from '@wildo-ai/saas-models';
4
5
  import { LauncherItemTargetKind } from '@wildo-ai/saas-frontend-lib/companion';
5
6
  import { AvailableLanguage, languagePathSegment } from '@wildo-ai/presets-components-models';
@@ -173,6 +174,29 @@ const BILLING_CATALOG_FILE = 'shared-lib/src/engine/product.ts';
173
174
  * record — every scaffolded application has it — keyed by each role's name.
174
175
  */
175
176
  const APPLICATION_ROLES_FILE = 'shared-lib/src/engine/roles.ts';
177
+ /**
178
+ * Where an application role's specification lives: one file per role, `<role>.role.specification.ts` with the role
179
+ * name in kebab case, exporting `<role>RoleSpecification` in camel case (the `application-roles-authoring` skill, Step 5).
180
+ * Wonder Ledger's `qualified-accountant.role.specification.ts` exporting `qualifiedAccountantRoleSpecification` is the
181
+ * shape; Wonder Todos names its files the same way.
182
+ */
183
+ const APPLICATION_ROLE_SPECIFICATIONS_DIRECTORY = 'specifications/src/engine/roles/';
184
+ /**
185
+ * Where a role specification is wired into `roleSpecifications`: the specifications package's companion exports, which
186
+ * the scaffold writes spreading the engine's roles only. The ONE place, so the probe cannot land on a file nothing
187
+ * imports: Wonder Todos keeps an aggregator in the roles directory, which a text probe of that file alone could not tell
188
+ * from one the exports never reach (#3933 review F2). It predates build plans; no plan builds that shape.
189
+ */
190
+ const APPLICATION_ROLE_SPECIFICATION_WIRING_FILE = 'specifications/src/companion-exports.ts';
191
+ /** The role's own specification file (`OFFICE_MANAGER` → `specifications/src/engine/roles/office-manager.role.specification.ts`). */
192
+ export function applicationRoleSpecificationPath(roleRef) {
193
+ return `${APPLICATION_ROLE_SPECIFICATIONS_DIRECTORY}${roleRef.toLowerCase().split('_').join('-')}.role.specification.ts`;
194
+ }
195
+ /** The binding that file exports (`OFFICE_MANAGER` → `officeManagerRoleSpecification`). */
196
+ export function applicationRoleSpecificationExportName(roleRef) {
197
+ const [first = '', ...rest] = roleRef.toLowerCase().split('_');
198
+ return `${first}${rest.map((part) => `${part.charAt(0).toUpperCase()}${part.slice(1)}`).join('')}RoleSpecification`;
199
+ }
176
200
  /** The application's configuration: where its organization types and relationship kinds are declared (#2305 S6). */
177
201
  const APPLICATION_SAAS_CONFIG_FILE = 'wildo.saas.config.ts';
178
202
  /**
@@ -195,7 +219,9 @@ export const APPLICATION_WIDE_AGENT_WORK_MODULE_REF = '';
195
219
  * The backend and companion scopes are blocks of the SaaS config, which the `add-provider` scenario
196
220
  * writes; a frontend binding is a companion contribution in the service's own
197
221
  * `provider-contributions.ts`, which `add-file-picker-provider` writes. The probe reads the file the
198
- * scope names and asks whether the provider ref appears in it.
222
+ * scope names and asks whether the provider ref appears in it. A browser scope owes two probes since #4019 (see
223
+ * {@link PROVIDER_BROWSER_SCOPE_SURFACE}): the scope entry in the configuration, and the contribution, in this file
224
+ * or in the installed module's own facet barrel.
199
225
  */
200
226
  const PROVIDER_BINDING_DECLARATION_FILE = {
201
227
  [ProviderBindingScope.BACKEND]: 'wildo.saas.config.ts',
@@ -203,6 +229,16 @@ const PROVIDER_BINDING_DECLARATION_FILE = {
203
229
  [ProviderBindingScope.FRONTEND_APP]: 'frontend/src/provider-contributions.ts',
204
230
  [ProviderBindingScope.WEBSITE]: 'website/src/provider-contributions.ts',
205
231
  };
232
+ /**
233
+ * The browser scopes, and the frontend type each contribution must serve (#4019): the member NAME a contribution spells
234
+ * (`AppFrontendType.SAAS_APP`), so a website binding is not landed by a facet that serves only the application.
235
+ */
236
+ const PROVIDER_BROWSER_SCOPE_SURFACE = {
237
+ [ProviderBindingScope.FRONTEND_APP]: 'SAAS_APP',
238
+ [ProviderBindingScope.WEBSITE]: 'STATIC_WEBSITE',
239
+ };
240
+ /** The `./companion` barrel of an installed provider module's browser facet, where it contributes itself (`wildo registry add`). */
241
+ const installedProviderFrontendFacetBarrel = (providerRef) => `providers/${providerRef}/frontend/src/companion-exports.ts`;
206
242
  /**
207
243
  * A worker's package directory, from the integration plan's `worker-<slug>` ref, by the rule the foundation step composes
208
244
  * the package with. Every worker path below goes through it: run 44031607175 probed `workers/worker-spreadsheet-import/`
@@ -289,6 +325,16 @@ export function resolveBuildPlanTaskCodingPolicy(task, applicationWorkspaceEntri
289
325
  ])],
290
326
  };
291
327
  }
328
+ /**
329
+ * Where a run of this task is EXPECTED to write (#3998): its target's scope and the paths its own products land at, the
330
+ * policy before the whole-workspace widening of #1268. A prediction, never a bound: the widening lets the run write
331
+ * anywhere, by decision. Read only where a wrong prediction costs nothing it cannot recover: a failed run's isolated
332
+ * re-check may start beside a live run predicted not to write what it reads, and its verdict is discarded when anything
333
+ * it reads changed meanwhile. Throws for a task no coding agent runs (a generation step).
334
+ */
335
+ export function resolveBuildPlanTaskExpectedWriteScope(task) {
336
+ return admitLandedProbePaths(task, resolveBuildPlanTaskTargetCodingPolicy(task)).allowedPathPrefixes;
337
+ }
292
338
  /**
293
339
  * Widen a target-derived scope to admit the paths this task's own landing probes say it may WRITE.
294
340
  *
@@ -670,8 +716,8 @@ export function resolveAssemblyRepairCodingPolicy(checkRef, applicationWorkspace
670
716
  requiredCheckRefs: [...required, checkRef],
671
717
  };
672
718
  }
673
- /** A workers/ or minions/ package directory, as the parametric package typecheck names it. */
674
- const PARAMETRIC_PACKAGE_DIRECTORY = /^((?:workers|minions)\/[a-z0-9]+(?:-[a-z0-9]+)*)(?:\/|$)/u;
719
+ /** A workers/ or minions/ package directory, or an installed provider's facet (#4018), as the parametric package typecheck names it. */
720
+ const PARAMETRIC_PACKAGE_DIRECTORY = /^((?:workers|minions)\/[a-z0-9]+(?:-[a-z0-9]+)*|providers\/[a-z0-9]+(?:-[a-z0-9]+)*\/(?:backend|frontend))(?:\/|$)/u;
675
721
  /** Two path prefixes overlap when either contains the other: a write there can reach what the check reads. */
676
722
  function pathsOverlap(written, covered) {
677
723
  return written.startsWith(covered) || covered.startsWith(written);
@@ -685,7 +731,8 @@ function orderCheckRefs(checkRefs) {
685
731
  }
686
732
  /**
687
733
  * The checks a task that writes `writtenPathPrefixes` must pass (#1540): every check whose coverage one
688
- * of those paths can reach, plus the package typecheck of every workers/minions package it writes.
734
+ * of those paths can reach, plus the package typecheck of every workers/minions package and every provider facet
735
+ * package (#4018) it writes.
689
736
  *
690
737
  * `nonTypeScriptPackages` names package directories with no TypeScript to check (a Rust worker) — the
691
738
  * honest answer there is no typecheck, stated by the target, rather than a command that cannot run.
@@ -790,6 +837,12 @@ function resolveBuildPlanTaskTargetCodingPolicy(task) {
790
837
  /*
791
838
  * Every file a binding can touch, for every scope, because one task may bind one provider on
792
839
  * several scopes (`add-provider` writes the backend AND the companion block in one run).
840
+ *
841
+ * And the provider's own facet packages, where `wildo registry add` installs a registry module and where an
842
+ * application authors its own (#4018): naming them is what makes each facet's own typecheck a check of this task,
843
+ * so a provider whose package does not compile in the application fails its task with the compiler's output
844
+ * instead of landing and pausing the backend on it. A provider with no such package (an engine provider) answers
845
+ * "nothing to typecheck" in the executor.
793
846
  */
794
847
  return policy([
795
848
  'wildo.saas.config.ts',
@@ -797,6 +850,8 @@ function resolveBuildPlanTaskTargetCodingPolicy(task) {
797
850
  'frontend/src/engine/providers/',
798
851
  'frontend/src/provider-contributions.ts',
799
852
  'website/src/provider-contributions.ts',
853
+ `providers/${target.providerRef}/backend/`,
854
+ `providers/${target.providerRef}/frontend/`,
800
855
  ]);
801
856
  case BuildPlanTaskTargetKind.SHELL_PLACEMENT:
802
857
  return policy([SHELL_PLACEMENT_CONFIG_FILE[target.surface]]);
@@ -816,7 +871,13 @@ function resolveBuildPlanTaskTargetCodingPolicy(task) {
816
871
  * modules is what makes the shared-lib checks follow those edits; writing is already permitted
817
872
  * by the workspace widening.
818
873
  */
819
- return policy([APPLICATION_ROLES_FILE, 'wildo.saas.config.ts', 'specifications/src/engine/roles/', 'shared-lib/src/modules/']);
874
+ return policy([
875
+ APPLICATION_ROLES_FILE,
876
+ 'wildo.saas.config.ts',
877
+ APPLICATION_ROLE_SPECIFICATIONS_DIRECTORY,
878
+ APPLICATION_ROLE_SPECIFICATION_WIRING_FILE,
879
+ 'shared-lib/src/modules/',
880
+ ]);
820
881
  case BuildPlanTaskTargetKind.ORGANIZATION_MODEL:
821
882
  /*
822
883
  * The application's configuration (organization types, relationship kinds), the backend's startup configuration
@@ -1512,7 +1573,7 @@ export function resolveBuildTaskLandedProbes(task) {
1512
1573
  const moduleRefOf = () => (resolvedModuleRef ??= productModuleRef(task));
1513
1574
  return task.produces.flatMap((product) => {
1514
1575
  const drafts = landedProbeDraft(task, product, moduleRefOf);
1515
- return (Array.isArray(drafts) ? drafts : [drafts]).map((draft) => withDeclarationSite(product, draft));
1576
+ return (Array.isArray(drafts) ? drafts : [drafts]).map((draft, index) => withDeclarationSite(product, draft, index));
1516
1577
  }).filter((probe) => probe !== undefined);
1517
1578
  }
1518
1579
  /**
@@ -1545,13 +1606,13 @@ function moduleRegistryMembershipProbes(moduleRef) {
1545
1606
  * once, rather than in each case, so no case can state a site that disagrees with
1546
1607
  * {@link productDeclarationSite} — the table is the only answer.
1547
1608
  */
1548
- function withDeclarationSite(product, draft) {
1609
+ function withDeclarationSite(product, draft, probeIndex = 0) {
1549
1610
  if (draft === undefined)
1550
1611
  return undefined;
1551
1612
  switch (draft.kind) {
1552
1613
  case BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES:
1553
1614
  case BuildPlanTaskLandedProbeKind.ANY_COMMITTED_FILE_DECLARES:
1554
- return { ...draft, site: productDeclarationSite(product) };
1615
+ return { ...draft, site: productDeclarationSite(product, probeIndex) };
1555
1616
  default:
1556
1617
  return draft;
1557
1618
  }
@@ -1702,6 +1763,31 @@ function landedProbeDraft(task, product, moduleRefOf) {
1702
1763
  declarations: [integrationMinionDirectoryName(product.minionRef)],
1703
1764
  };
1704
1765
  case BuildPlanTaskProductKind.PROVIDER_BINDING:
1766
+ /*
1767
+ * A browser binding is contributed either by the service's own `provider-contributions.ts` (a provider the
1768
+ * application authors) or by an installed module's browser facet, whose own `./companion` barrel contributes it
1769
+ * (#4019). Asking only the first pushed an agent binding an installed module to re-project the facet there: on
1770
+ * reference run 44052185141 the PostHog task did, and every env sync refused the second contribution. Only the
1771
+ * application's file is WRITABLE: the facet's barrel is the module's, written by `wildo registry add`.
1772
+ */
1773
+ if (product.augments === undefined && PROVIDER_BROWSER_SCOPE_SURFACE[product.scope] !== undefined) {
1774
+ const ownFile = PROVIDER_BINDING_DECLARATION_FILE[product.scope];
1775
+ /*
1776
+ * TWO probes, both owed (#4019 review N1). The BINDING: the ref as a key of the service's scope in the application
1777
+ * configuration, which is what discovery and the bootstrap read (#2805) and what an installed module never writes
1778
+ * itself. The CONTRIBUTION for the scope's surface: the application's file, or the installed facet's barrel. The
1779
+ * contribution alone would land on `wildo registry add`, since a facet's barrel always spells its own ref.
1780
+ */
1781
+ return [
1782
+ { kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES, path: APPLICATION_SAAS_CONFIG_FILE, declarations: [product.providerRef] },
1783
+ {
1784
+ kind: BuildPlanTaskLandedProbeKind.ANY_COMMITTED_FILE_DECLARES,
1785
+ paths: [ownFile, installedProviderFrontendFacetBarrel(product.providerRef)],
1786
+ writablePaths: [ownFile],
1787
+ declarations: [product.providerRef, PROVIDER_BROWSER_SCOPE_SURFACE[product.scope]],
1788
+ },
1789
+ ];
1790
+ }
1705
1791
  // An augmentation (#2025) lands on its opt-in, in the application config whatever its scope; see
1706
1792
  // `productDeclarationSite` for where in that file.
1707
1793
  return {
@@ -1722,13 +1808,40 @@ function landedProbeDraft(task, product, moduleRefOf) {
1722
1808
  declarations: [product.productKey],
1723
1809
  };
1724
1810
  case BuildPlanTaskProductKind.APPLICATION_ROLE:
1725
- // The role's `role: 'FIELD_TECHNICIAN'` property in the role table (see `productDeclarationSite`):
1726
- // the scaffolded table is empty, so the file existing proves nothing.
1727
- return {
1728
- kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,
1729
- path: APPLICATION_ROLES_FILE,
1730
- declarations: [product.roleRef],
1731
- };
1811
+ /*
1812
+ * THREE probes, all owed. The role's `role: 'FIELD_TECHNICIAN'` property in the role table (see
1813
+ * `productDeclarationSite`): the scaffolded table is empty, so the file existing proves nothing. Then its
1814
+ * SPECIFICATION, with the guidance the customer documentation renders for it, and that specification wired into
1815
+ * `roleSpecifications`: the documentation publication refuses an organization role with neither.
1816
+ *
1817
+ * Measured on client creation run 44257782469: the role task asked for the table alone, landed with four roles
1818
+ * and no specification, and the publication step then failed 116 times in two and a half hours on
1819
+ * `organization role 'OFFICE' has no companion-exported role specification`, the last task of 486.
1820
+ *
1821
+ * The guidance is asked as a SET of property names, comments blanked: lexical, so a property set to `null` reads
1822
+ * as present. What it catches is the specification never written or written without the documented fields,
1823
+ * which is what happened; the publication's own refusal stays the exact check. The file and binding names tie
1824
+ * the specification to its role, so the role's own name is not asked again inside it (Wonder Todos writes it
1825
+ * through an enum member whose name differs from the value). An APPLICATION-scoped role owes the guidance too:
1826
+ * the product carries no scope, and the skill asks a specification of every custom role.
1827
+ */
1828
+ return [
1829
+ {
1830
+ kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,
1831
+ path: APPLICATION_ROLES_FILE,
1832
+ declarations: [product.roleRef],
1833
+ },
1834
+ {
1835
+ kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,
1836
+ path: applicationRoleSpecificationPath(product.roleRef),
1837
+ declarations: [applicationRoleSpecificationExportName(product.roleRef), ...ORGANIZATION_ROLE_DOCUMENTATION_REQUIRED_GUIDANCE],
1838
+ },
1839
+ {
1840
+ kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,
1841
+ path: APPLICATION_ROLE_SPECIFICATION_WIRING_FILE,
1842
+ declarations: [applicationRoleSpecificationExportName(product.roleRef)],
1843
+ },
1844
+ ];
1732
1845
  case BuildPlanTaskProductKind.WEBSITE_PAGE: {
1733
1846
  // The ROOT CONFIG registers a page by importing its manifest; a page file nothing registers is not a page.
1734
1847
  // `websitePageIdentity`, never the raw ref: the plan speaks `page-pricing`, the tree spells it `pricing`.
@@ -2093,8 +2206,13 @@ const SET_SITE = { relation: ProductDeclarationRelation.SET };
2093
2206
  const PROVIDER_BINDING_SCOPE_OBJECT_PATH = {
2094
2207
  [ProviderBindingScope.BACKEND]: ['scopes', 'backend', 'providers'],
2095
2208
  [ProviderBindingScope.COMPANION]: ['scopes', 'companion', 'providers'],
2096
- [ProviderBindingScope.FRONTEND_APP]: null,
2097
- [ProviderBindingScope.WEBSITE]: null,
2209
+ /*
2210
+ * A browser scope's entry is keyed by its SERVICE (#4019): `app` (the skeleton's SAAS_APP service) and `website` (the one
2211
+ * `add-website` declares), under `frontendServices`, which the skeleton writes as the exported
2212
+ * `frontendRelationshipScopes` anchor. Its first segment matches at any depth, so either spelling is read.
2213
+ */
2214
+ [ProviderBindingScope.FRONTEND_APP]: ['app', 'providers'],
2215
+ [ProviderBindingScope.WEBSITE]: ['website', 'providers'],
2098
2216
  };
2099
2217
  /**
2100
2218
  * The declaration site of every product kind (#1539). TOTAL over the vocabulary: the `never` arm makes
@@ -2110,7 +2228,7 @@ const PROVIDER_BINDING_SCOPE_OBJECT_PATH = {
2110
2228
  * `RESOURCE_SPECIFICATION` and `APPLICATION_WORKER` declare several names that are genuinely
2111
2229
  * independent — a schema is a set of fields — so the set reading is the true one.
2112
2230
  */
2113
- export function productDeclarationSite(product) {
2231
+ export function productDeclarationSite(product, probeIndex = 0) {
2114
2232
  switch (product.kind) {
2115
2233
  case BuildPlanTaskProductKind.RESOURCE_RELATIONSHIP:
2116
2234
  // An edge is ONE `createResourcesRelationship(source, target, …)` call; see `declarationsAppearInOneCall`.
@@ -2124,15 +2242,18 @@ export function productDeclarationSite(product) {
2124
2242
  if (product.augments !== undefined) {
2125
2243
  return { relation: ProductDeclarationRelation.PACKAGE_IN_ARRAY_AT_OBJECT_PATH, objectPath: ['augmentations', product.augments] };
2126
2244
  }
2127
- const objectPath = PROVIDER_BINDING_SCOPE_OBJECT_PATH[product.scope];
2128
- return objectPath === null ? SET_SITE : { relation: ProductDeclarationRelation.KEY_AT_OBJECT_PATH, objectPath };
2245
+ // A browser binding's second probe is its contribution, a set over the contribution's file (#4019).
2246
+ if (probeIndex > 0)
2247
+ return SET_SITE;
2248
+ return { relation: ProductDeclarationRelation.KEY_AT_OBJECT_PATH, objectPath: PROVIDER_BINDING_SCOPE_OBJECT_PATH[product.scope] };
2129
2249
  }
2130
2250
  // A catalogue entry is declared by its `key` property — never by the word appearing anywhere (#1835).
2131
2251
  case BuildPlanTaskProductKind.APPLICATION_BILLING_PRODUCT:
2132
2252
  return { relation: ProductDeclarationRelation.PROPERTY_VALUE, propertyName: 'key' };
2133
2253
  // A role is declared by its `role` property in the role table — never by its name appearing in a comment (#2490).
2134
2254
  case BuildPlanTaskProductKind.APPLICATION_ROLE:
2135
- return { relation: ProductDeclarationRelation.PROPERTY_VALUE, propertyName: 'role' };
2255
+ // Its specification and the wiring of it (probes 1 and 2) are sets over their own files.
2256
+ return probeIndex > 0 ? SET_SITE : { relation: ProductDeclarationRelation.PROPERTY_VALUE, propertyName: 'role' };
2136
2257
  // A section is `defineWebsiteSection({ sectionRef: 'home-hero', … })` appended to its page's list (#2216).
2137
2258
  case BuildPlanTaskProductKind.WEBSITE_SECTION:
2138
2259
  return { relation: ProductDeclarationRelation.PROPERTY_VALUE_IN_LIST, propertyName: 'sectionRef', listName: websitePageSectionsListName(product.pageRef) };
@@ -2622,6 +2743,10 @@ export function websitePageSectionsListName(pageRef) {
2622
2743
  * **This is a normalization, not the right long-term answer.** A custom view is identified by
2623
2744
  * `resource × operation`, and the product models it as a single opaque ref — see #1530 and #1539.
2624
2745
  * When the product carries the operation, the probe should assert the BINDING rather than the name.
2746
+ *
2747
+ * The match is a PREFIX: `view-follow-ups` is also found in `FollowUpsDueCustomView`, so this task's probe can read a
2748
+ * view landed on a longer sibling's component (pre-existing). The shell witness guards its own use of the rule by taking
2749
+ * the most specific planned view a component realises (#4012).
2625
2750
  */
2626
2751
  export function resourceCustomViewIdentity(viewRef) {
2627
2752
  return viewRef.replace(/^view-/u, '').replace(/-view$/u, '');
@@ -2783,12 +2908,33 @@ export function placementSubjectShellIdentity(subject) {
2783
2908
  }
2784
2909
  }
2785
2910
  }
2911
+ /**
2912
+ * Does the component a resource operation renders as its `customView` realise this PLANNED view (#4012)?
2913
+ *
2914
+ * The experience plan declares a `RESOURCE_CUSTOM_VIEW` with its resource and no operation, the placement plan names it
2915
+ * as an `APP_VIEW` (`view-enquiry-capture`), and the build realises it as one operation's `customView` (the enquiry's
2916
+ * CREATE renders `EnquiryCaptureCustomView`). No plan says which operation hosts it; the binding does, and the shell
2917
+ * oracle reports it on that operation's launcher. This decides whether the bound component is the planned view.
2918
+ *
2919
+ * By the SAME rule the custom view's own build task lands by ({@link resourceCustomViewIdentity} read with
2920
+ * {@link declarationsAppear}): the ref's words in any spelling, starting the name, followed by nothing or by a capital.
2921
+ * `EnquiryCaptureCustomView`, `EnquiryCaptureView` and `EnquiryCaptureForm` realise `view-enquiry-capture`;
2922
+ * `NewEnquiryCaptureCustomView` and `EnquiryCapturedCustomView` do not. One rule, so a custom view whose task landed is
2923
+ * never a view its placement cannot find.
2924
+ */
2925
+ export function customViewComponentRealisesPlannedView(componentName, viewRef) {
2926
+ return declarationsAppear(componentName, [resourceCustomViewIdentity(viewRef)]);
2927
+ }
2786
2928
  /**
2787
2929
  * Every identity a launcher answers to (#3204): {@link launcherShellIdentity}, and for a resource operation also the one
2788
2930
  * spelled with the singular of its resource type. A placement plan names a resource as the domain plan does, in the
2789
2931
  * singular (`pipeline-stage-setting`), while the shell carries the registered type (`pipelineStageSettings`): on reference
2790
2932
  * run 42782969940 the settings hub carried all four planned lists and its probe reported them missing. The singular of a
2791
2933
  * word that is not a regular plural is the word itself, so an exact match is unchanged.
2934
+ *
2935
+ * A planned view an operation renders as its custom view is not one of these identities: whether the launcher carries
2936
+ * it depends on the PLANNED view's ref, so the shell witness asks {@link customViewComponentRealisesPlannedView} for the
2937
+ * views the plan placed (#4012).
2792
2938
  */
2793
2939
  export function launcherShellIdentities(entry) {
2794
2940
  const identity = launcherShellIdentity(entry);
@@ -2803,8 +2949,16 @@ export function launcherShellIdentity(entry) {
2803
2949
  if (entry.kind === LauncherItemTargetKind.RESOURCE_OPERATION && entry.resourceType && entry.operation) {
2804
2950
  return `resource-operation:${identityPart(entry.resourceType)}:${identityPart(entry.operation)}`;
2805
2951
  }
2806
- if (entry.kind === LauncherItemTargetKind.VIEW && entry.viewRef)
2952
+ /*
2953
+ * A RESOURCE-scoped view is a view too (reference run 44052185141). The placement plan names every view as an APP_VIEW
2954
+ * (`view-follow-ups-due`), with no say in whether the build realises it at the application or on a resource, and a coding
2955
+ * agent correctly wires a resource-owned view as a `RESOURCE_VIEW` launcher (`viewRef: 'follow-ups-due'` on the follow-up
2956
+ * resource). With no identity for that kind, the sidebar and command-menu placements, and every follow-up routed to them,
2957
+ * could never land however often they ran: nine tasks, every one carrying the views the plan asked for.
2958
+ */
2959
+ if ((entry.kind === LauncherItemTargetKind.VIEW || entry.kind === LauncherItemTargetKind.RESOURCE_VIEW) && entry.viewRef) {
2807
2960
  return `view:${placementViewIdentity(entry.viewRef)}`;
2961
+ }
2808
2962
  if (entry.kind === LauncherItemTargetKind.SETTINGS_SECTION && entry.sectionRef) {
2809
2963
  return `settings-destination:${identityPart(entry.sectionRef)}`;
2810
2964
  }