@wildo-ai/saas-specifications 1.1.14 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +2 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +13 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +13 -7
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-execution-surface-refs.schemas.d.ts +32 -0
- package/dist/esm/_core/integration-plan/integration-execution-surface-refs.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-execution-surface-refs.schemas.js +47 -0
- package/dist/esm/_core/integration-plan/integration-execution-surface-refs.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +7 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +4 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +114 -1
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +176 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +17 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +43 -5
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +75 -7
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +16 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +21 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +1 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +1 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +5 -3
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts +2 -2
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js +22 -2
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +1 -1
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +2 -2
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +5 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.js +5 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -1
- package/dist/esm/engine/providers/dropbox.provider.specification.d.ts +14 -0
- package/dist/esm/engine/providers/dropbox.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/dropbox.provider.specification.js +76 -0
- package/dist/esm/engine/providers/dropbox.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +3 -1
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -2
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-specification.schemas.js","sourceRoot":"","sources":["../../../src/_core/provider-specification.schemas.ts"],"names":[],"mappings":"AAwBA,OAAO,EACL,kBAAkB,EAClB,YAAY,GAGb,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EACL,uCAAuC,EACvC,2BAA2B,EAC3B,2BAA2B,EAC3B,iDAAiD,EACjD,+BAA+B,GAChC,MAAM,uCAAuC,CAAC;AAuE/C,8EAA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urance } from '@wildo-ai/external-connectors-models';\nimport type { ProviderComplianceProfile } from '@wildo-ai/saas-models';\n/**\n * Provider specification family (#328).\n *\n * The semantic overlay for an external PROVIDER — the business meaning of a\n * `BackendProviderModule` / frontend provider module: why it exists, which\n * tier it holds, which vendor groups it, where it came from, what it binds,\n * and which secrets an operator must supply. Until this family existed the\n * engine shipped 15 specification families and none for providers, so a\n * generated provider would have shipped zero specification coverage while\n * `framework-specification-maintenance.md` was vacuously satisfied.\n *\n * Shape follows the feature family: a config extending\n * {@link DefinitionSpecificationBaseConfig}, a factory that validates at\n * module load, a map builder that fails closed on duplicates, and a\n * module-level registry consumers can look refs up in.\n *\n * Deliberately NO digest of the operation catalogue (`one-source-of-truth.md`\n * Rule 0 — nothing that is not branchable on git): the catalogue is named by\n * the symbol that declares it, and git carries which bytes that symbol had.\n */\n\nimport type { CodeSymbolRef } from '@wildo-ai/zod-decorators';\nimport {\n ProviderOriginKind,\n ProviderTier,\n type EngineCapability,\n type ProviderOrigin,\n} from '@wildo-ai/saas-models';\n\nimport type {\n DefinitionSpecificationBaseConfig,\n DefinitionSpecificationCodeHandling,\n} from './definition-specification.schemas';\nimport {\n assertDefinitionSpecificationBaseConfig,\n assertNonEmptyTrimmedString,\n assertOptionalCodeSymbolRef,\n assertOptionalDefinitionSpecificationCodeHandling,\n assertOptionalNonEmptyProseSlot,\n} from './definition-specification-validators';\n\n/** One secret the operator supplies, mirrored from the module's `secretsContract`. */\nexport interface ProviderSpecificationSecret {\n /** The contract slug (`apiKey`, `webhookSecret`, …). */\n slug: string;\n /** The environment variable the secret is delivered as. */\n envVarName: string;\n /** Whether the provider cannot start without it. */\n required: boolean;\n /** What the secret is, for the operator who has to obtain it. */\n description: string;\n}\n\nexport interface ProviderSpecificationConfig extends DefinitionSpecificationBaseConfig {\n /** npm package that ships the provider — one package, several facet barrels. */\n packageName: string;\n /** The recorded tier decision; must agree with the module metadata. */\n tier: ProviderTier;\n /** Vendor grouping; equals `ref` for a single-package vendor. */\n vendor: string;\n /** Where the provider's code comes from, with catalogue provenance when generated. */\n origin: ProviderOrigin;\n /** Facets the provider ships a module for (`backend`, `frontend-app`, `frontend-website`, `frontend-techdoc`). */\n facets: string[];\n /** Authoring keys of the protocols the backend module binds (`BUILTIN_PROVIDER_PROTOCOL` members). */\n protocols: string[];\n /** `ProviderCapability` tokens the module claims. */\n providerCapabilities: string[];\n /** Engine slots those tokens bind through `PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY`. */\n engineCapabilities: EngineCapability[];\n /** The module's secrets contract, sorted by slug. Empty for a provider that needs none. */\n secretsContract: ProviderSpecificationSecret[];\n /**\n * WHO runs this provider and WHERE it processes — restated from the module, and REQUIRED.\n *\n * The module already declares it, so this is the same kind of mirrored fact as `protocols` or\n * `secretsContract` and is reconciled the same way. What it adds is REACHABILITY: the compliance\n * lane that renders an application's processor register reads specifications, not backend provider\n * modules, so before this the framework could not compare an operator's declared processing region\n * against what the vendor actually offers. `appAssertedProcessingRegions` has existed for exactly\n * that comparison and had no caller, because the data it needs did not reach the caller's side.\n *\n * Required rather than optional, deliberately: every provider module declares one, and an optional\n * field here would let a specification omit a fact the module owns — reintroducing, one layer up,\n * the silent omission that making `complianceProfile` mandatory for coding providers closed.\n */\n complianceProfile: ProviderComplianceProfile;\n /** Provider login-assurance contract; independent of geographic/legal deployment facts. */\n authenticationAssurance?: ProviderAuthenticationAssurance;\n /**\n * The symbol declaring the provider's OPERATION CATALOGUE, when it has one\n * (the `rest` arm's derived catalogue, S3a). Absent for a provider that\n * exposes engine capabilities only.\n */\n operationCatalogueSymbol?: CodeSymbolRef;\n /** What an operator must obtain or configure before the provider serves. */\n operatorPrerequisites?: string[];\n /** Where the provider is declared in code — owner, the module symbol, supporting symbols. */\n codeHandling?: DefinitionSpecificationCodeHandling;\n}\n\nexport type ProviderSpecification = Record<string, ProviderSpecificationConfig>;\n\nexport type ProviderSpecificationDraft = Omit<ProviderSpecificationConfig, 'ref'>;\n\nexport interface ProviderDefinitionRef {\n /** The provider `ref` — the metadata join key. */\n ref: string;\n}\n\n// ── Keys ───────────────────────────────────────────────────────────────────\n\nexport const PROVIDER_SPECIFICATION_KEY_PREFIX = 'providers';\n\nexport function providerSpecificationKeyFor(providerRef: string): string {\n return `${PROVIDER_SPECIFICATION_KEY_PREFIX}/${providerRef}`;\n}\n\n// ── Validation ─────────────────────────────────────────────────────────────\n\nfunction assertNonEmptyStringList(errorPrefix: string, slot: string, value: unknown): asserts value is string[] {\n if (!Array.isArray(value)) {\n throw new Error(`${errorPrefix} \"${slot}\" must be an array.`);\n }\n value.forEach((entry, index) => {\n assertNonEmptyTrimmedString(errorPrefix, `${slot}[${index}]`, entry);\n });\n}\n\nexport function validateProviderSpecification(\n specificationKey: string,\n specification: ProviderSpecificationConfig,\n): void {\n const errorPrefix = `provider specification \"${specificationKey}\":`;\n\n assertDefinitionSpecificationBaseConfig(errorPrefix, specification);\n assertNonEmptyTrimmedString(errorPrefix, 'packageName', specification.packageName);\n assertNonEmptyTrimmedString(errorPrefix, 'vendor', specification.vendor);\n if (!Object.values(ProviderTier).includes(specification.tier)) {\n throw new Error(`${errorPrefix} \"tier\" must be a ProviderTier member, got \"${String(specification.tier)}\".`);\n }\n if (!specification.origin || !Object.values(ProviderOriginKind).includes(specification.origin.kind)) {\n throw new Error(`${errorPrefix} \"origin.kind\" must be a ProviderOriginKind member.`);\n }\n if (specification.origin.kind === ProviderOriginKind.GENERATED) {\n const { catalogue } = specification.origin;\n if (!catalogue) {\n throw new Error(`${errorPrefix} a GENERATED origin must carry its catalogue provenance.`);\n }\n assertNonEmptyTrimmedString(errorPrefix, 'origin.catalogue.sourceRef', catalogue.sourceRef);\n assertNonEmptyTrimmedString(errorPrefix, 'origin.catalogue.sourceVersion', catalogue.sourceVersion);\n }\n // The tier rule, restated on the specification so a spec cannot describe what composition refuses.\n if (specification.tier === ProviderTier.MAIN && specification.origin.kind !== ProviderOriginKind.ENGINE) {\n throw new Error(`${errorPrefix} tier MAIN is the engine's own set; origin is ${specification.origin.kind}.`);\n }\n if (specification.tier === ProviderTier.CATALOGUE && specification.engineCapabilities.length > 0) {\n throw new Error(\n `${errorPrefix} tier CATALOGUE binds no engine slot, but engineCapabilities lists [${specification.engineCapabilities.join(', ')}].`,\n );\n }\n assertNonEmptyStringList(errorPrefix, 'facets', specification.facets);\n if (specification.facets.length === 0) {\n throw new Error(`${errorPrefix} \"facets\" must name at least one facet the provider ships a module for.`);\n }\n assertNonEmptyStringList(errorPrefix, 'protocols', specification.protocols);\n assertNonEmptyStringList(errorPrefix, 'providerCapabilities', specification.providerCapabilities);\n assertNonEmptyStringList(errorPrefix, 'engineCapabilities', specification.engineCapabilities);\n if (!Array.isArray(specification.secretsContract)) {\n throw new Error(`${errorPrefix} \"secretsContract\" must be an array (empty when the provider needs no secret).`);\n }\n const seenEnvVarNames = new Set<string>();\n specification.secretsContract.forEach((entry, index) => {\n assertNonEmptyTrimmedString(errorPrefix, `secretsContract[${index}].slug`, entry.slug);\n assertNonEmptyTrimmedString(errorPrefix, `secretsContract[${index}].envVarName`, entry.envVarName);\n assertNonEmptyTrimmedString(errorPrefix, `secretsContract[${index}].description`, entry.description);\n if (typeof entry.required !== 'boolean') {\n throw new Error(`${errorPrefix} \"secretsContract[${index}].required\" must be a boolean.`);\n }\n if (seenEnvVarNames.has(entry.envVarName)) {\n throw new Error(`${errorPrefix} duplicate secretsContract envVarName \"${entry.envVarName}\".`);\n }\n seenEnvVarNames.add(entry.envVarName);\n if (index > 0 && specification.secretsContract[index - 1].slug.localeCompare(entry.slug) >= 0) {\n throw new Error(`${errorPrefix} secretsContract entries must be sorted by slug.`);\n }\n });\n assertOptionalCodeSymbolRef(errorPrefix, 'operationCatalogueSymbol', specification.operationCatalogueSymbol);\n if (specification.operatorPrerequisites !== undefined) {\n assertNonEmptyStringList(errorPrefix, 'operatorPrerequisites', specification.operatorPrerequisites);\n }\n assertOptionalNonEmptyProseSlot(errorPrefix, 'lifecycleRole', specification.lifecycleRole);\n assertOptionalDefinitionSpecificationCodeHandling(errorPrefix, specification.codeHandling);\n}\n\n// ── Factory ────────────────────────────────────────────────────────────────\n\nexport function providerSpecificationFromDefinition(\n providerDefinition: ProviderDefinitionRef,\n draftFactory: () => ProviderSpecificationDraft,\n): ProviderSpecificationConfig {\n const specification: ProviderSpecificationConfig = {\n ...draftFactory(),\n ref: providerDefinition.ref,\n };\n validateProviderSpecification(providerSpecificationKeyFor(specification.ref), specification);\n return specification;\n}\n\n// ── Map builder ────────────────────────────────────────────────────────────\n\nexport function buildProviderSpecificationMap(\n ...specifications: ProviderSpecificationConfig[]\n): ProviderSpecification {\n const result: ProviderSpecification = {};\n for (const specification of specifications) {\n const key = providerSpecificationKeyFor(specification.ref);\n if (result[key]) {\n throw new Error(`buildProviderSpecificationMap(): duplicate provider specification key \"${key}\".`);\n }\n result[key] = specification;\n }\n return result;\n}\n\n// ── Module-level registry (mirrors the feature family) ─────────────────────\n\nconst registeredProviderSpecifications = new Map<string, ProviderSpecificationConfig>();\n\nexport function registerProviderSpecifications(map: ProviderSpecification): void {\n for (const [key, specification] of Object.entries(map)) {\n if (typeof key !== 'string' || !key.trim()) {\n throw new Error('registerProviderSpecifications(): every map key must be a non-empty trimmed string.');\n }\n const existing = registeredProviderSpecifications.get(key);\n if (existing && JSON.stringify(existing) !== JSON.stringify(specification)) {\n throw new Error(\n `registerProviderSpecifications(): provider specification \"${key}\" was registered twice with divergent shapes.`,\n );\n }\n registeredProviderSpecifications.set(key, specification);\n }\n}\n\nexport function lookupProviderSpecification(providerRef: string): ProviderSpecificationConfig | undefined {\n return registeredProviderSpecifications.get(providerSpecificationKeyFor(providerRef));\n}\n\nexport function hasRegisteredProviderSpecifications(): boolean {\n return registeredProviderSpecifications.size > 0;\n}\n\nexport function listRegisteredProviderSpecifications(): ProviderSpecificationConfig[] {\n return Array.from(registeredProviderSpecifications.values());\n}\n\n/** Test seam only. */\nexport function resetProviderSpecificationsForTesting(): void {\n registeredProviderSpecifications.clear();\n}\n"]}
|
|
1
|
+
{"version":3,"file":"provider-specification.schemas.js","sourceRoot":"","sources":["../../../src/_core/provider-specification.schemas.ts"],"names":[],"mappings":"AAwBA,OAAO,EACL,kBAAkB,EAClB,YAAY,GAGb,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EACL,uCAAuC,EACvC,2BAA2B,EAC3B,2BAA2B,EAC3B,iDAAiD,EACjD,+BAA+B,GAChC,MAAM,uCAAuC,CAAC;AAE/C;;;;GAIG;AACH,MAAM,CAAN,IAAY,0BASX;AATD,WAAY,0BAA0B;IACpC,6FAA6F;IAC7F,iDAAmB,CAAA;IACnB,iGAAiG;IACjG,2DAA6B,CAAA;IAC7B,+DAA+D;IAC/D,mEAAqC,CAAA;IACrC,gEAAgE;IAChE,mEAAqC,CAAA;AACvC,CAAC,EATW,0BAA0B,KAA1B,0BAA0B,QASrC;AAED,MAAM,6BAA6B,GAAwB,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAuE9G,8EAA8E;AAE9E,MAAM,CAAC,MAAM,iCAAiC,GAAG,WAAW,CAAC;AAE7D,MAAM,UAAU,2BAA2B,CAAC,WAAmB;IAC7D,OAAO,GAAG,iCAAiC,IAAI,WAAW,EAAE,CAAC;AAC/D,CAAC;AAED,8EAA8E;AAE9E,SAAS,wBAAwB,CAAC,WAAmB,EAAE,IAAY,EAAE,KAAc;IACjF,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,GAAG,WAAW,KAAK,IAAI,qBAAqB,CAAC,CAAC;IAChE,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QAC7B,2BAA2B,CAAC,WAAW,EAAE,GAAG,IAAI,IAAI,KAAK,GAAG,EAAE,KAAK,CAAC,CAAC;IACvE,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,6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EAAE,CAAC;QACvD,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC;YAC3C,MAAM,IAAI,KAAK,CAAC,qFAAqF,CAAC,CAAC;QACzG,CAAC;QACD,MAAM,QAAQ,GAAG,gCAAgC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC3D,IAAI,QAAQ,IAAI,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,CAAC;YAC3E,MAAM,IAAI,KAAK,CACb,6DAA6D,GAAG,+CAA+C,CAChH,CAAC;QACJ,CAAC;QACD,gCAAgC,CAAC,GAAG,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,WAAmB;IAC7D,OAAO,gCAAgC,CAAC,GAAG,CAAC,2BAA2B,CAAC,WAAW,CAAC,CAAC,CAAC;AACxF,CAAC;AAED,MAAM,UAAU,mCAAmC;IACjD,OAAO,gCAAgC,CAAC,IAAI,GAAG,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,oCAAoC;IAClD,OAAO,KAAK,CAAC,IAAI,CAAC,gCAAgC,CAAC,MAAM,EAAE,CAAC,CAAC;AAC/D,CAAC;AAED,sBAAsB;AACtB,MAAM,UAAU,qCAAqC;IACnD,gCAAgC,CAAC,KAAK,EAAE,CAAC;AAC3C,CAAC","sourcesContent":["import type { ProviderAuthenticationAssurance } from '@wildo-ai/external-connectors-models';\nimport type { ProviderComplianceProfile } from '@wildo-ai/saas-models';\n/**\n * Provider specification family (#328).\n *\n * The semantic overlay for an external PROVIDER — the business meaning of a\n * `BackendProviderModule` / frontend provider module: why it exists, which\n * tier it holds, which vendor groups it, where it came from, what it binds,\n * and which secrets an operator must supply. Until this family existed the\n * engine shipped 15 specification families and none for providers, so a\n * generated provider would have shipped zero specification coverage while\n * `framework-specification-maintenance.md` was vacuously satisfied.\n *\n * Shape follows the feature family: a config extending\n * {@link DefinitionSpecificationBaseConfig}, a factory that validates at\n * module load, a map builder that fails closed on duplicates, and a\n * module-level registry consumers can look refs up in.\n *\n * Deliberately NO digest of the operation catalogue (`one-source-of-truth.md`\n * Rule 0 — nothing that is not branchable on git): the catalogue is named by\n * the symbol that declares it, and git carries which bytes that symbol had.\n */\n\nimport type { CodeSymbolRef } from '@wildo-ai/zod-decorators';\nimport {\n ProviderOriginKind,\n ProviderTier,\n type EngineCapability,\n type ProviderOrigin,\n} from '@wildo-ai/saas-models';\n\nimport type {\n DefinitionSpecificationBaseConfig,\n DefinitionSpecificationCodeHandling,\n} from './definition-specification.schemas';\nimport {\n assertDefinitionSpecificationBaseConfig,\n assertNonEmptyTrimmedString,\n assertOptionalCodeSymbolRef,\n assertOptionalDefinitionSpecificationCodeHandling,\n assertOptionalNonEmptyProseSlot,\n} from './definition-specification-validators';\n\n/**\n * The facets a provider ships a module for: which runtime owner can load it. One named source for the strings a\n * specification's `facets` holds, read by the integration plan's scope check (#3995) and refused here when a\n * specification names anything else.\n */\nexport enum ProviderSpecificationFacet {\n /** A backend provider module: loaded by the backend, the companion, a worker or a minion. */\n BACKEND = 'backend',\n /** A browser module of the application frontend (`@wildo-ai/external-connectors-public/app`). */\n FRONTEND_APP = 'frontend-app',\n /** A browser module of the marketing website (`…/website`). */\n FRONTEND_WEBSITE = 'frontend-website',\n /** A browser module of the documentation site (`…/techdoc`). */\n FRONTEND_TECHDOC = 'frontend-techdoc',\n}\n\nconst PROVIDER_SPECIFICATION_FACETS: ReadonlySet<string> = new Set(Object.values(ProviderSpecificationFacet));\n\n/** One secret the operator supplies, mirrored from the module's `secretsContract`. */\nexport interface ProviderSpecificationSecret {\n /** The contract slug (`apiKey`, `webhookSecret`, …). */\n slug: string;\n /** The environment variable the secret is delivered as. */\n envVarName: string;\n /** Whether the provider cannot start without it. */\n required: boolean;\n /** What the secret is, for the operator who has to obtain it. */\n description: string;\n}\n\nexport interface ProviderSpecificationConfig extends DefinitionSpecificationBaseConfig {\n /** npm package that ships the provider — one package, several facet barrels. */\n packageName: string;\n /** The recorded tier decision; must agree with the module metadata. */\n tier: ProviderTier;\n /** Vendor grouping; equals `ref` for a single-package vendor. */\n vendor: string;\n /** Where the provider's code comes from, with catalogue provenance when generated. */\n origin: ProviderOrigin;\n /** Facets the provider ships a module for: {@link ProviderSpecificationFacet} members, refused otherwise. */\n facets: string[];\n /** Authoring keys of the protocols the backend module binds (`BUILTIN_PROVIDER_PROTOCOL` members). */\n protocols: string[];\n /** `ProviderCapability` tokens the module claims. */\n providerCapabilities: string[];\n /** Engine slots those tokens bind through `PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY`. */\n engineCapabilities: EngineCapability[];\n /** The module's secrets contract, sorted by slug. Empty for a provider that needs none. */\n secretsContract: ProviderSpecificationSecret[];\n /**\n * WHO runs this provider and WHERE it processes — restated from the module, and REQUIRED.\n *\n * The module already declares it, so this is the same kind of mirrored fact as `protocols` or\n * `secretsContract` and is reconciled the same way. What it adds is REACHABILITY: the compliance\n * lane that renders an application's processor register reads specifications, not backend provider\n * modules, so before this the framework could not compare an operator's declared processing region\n * against what the vendor actually offers. `appAssertedProcessingRegions` has existed for exactly\n * that comparison and had no caller, because the data it needs did not reach the caller's side.\n *\n * Required rather than optional, deliberately: every provider module declares one, and an optional\n * field here would let a specification omit a fact the module owns — reintroducing, one layer up,\n * the silent omission that making `complianceProfile` mandatory for coding providers closed.\n */\n complianceProfile: ProviderComplianceProfile;\n /** Provider login-assurance contract; independent of geographic/legal deployment facts. */\n authenticationAssurance?: ProviderAuthenticationAssurance;\n /**\n * The symbol declaring the provider's OPERATION CATALOGUE, when it has one\n * (the `rest` arm's derived catalogue, S3a). Absent for a provider that\n * exposes engine capabilities only.\n */\n operationCatalogueSymbol?: CodeSymbolRef;\n /** What an operator must obtain or configure before the provider serves. */\n operatorPrerequisites?: string[];\n /** Where the provider is declared in code — owner, the module symbol, supporting symbols. */\n codeHandling?: DefinitionSpecificationCodeHandling;\n}\n\nexport type ProviderSpecification = Record<string, ProviderSpecificationConfig>;\n\nexport type ProviderSpecificationDraft = Omit<ProviderSpecificationConfig, 'ref'>;\n\nexport interface ProviderDefinitionRef {\n /** The provider `ref` — the metadata join key. */\n ref: string;\n}\n\n// ── Keys ───────────────────────────────────────────────────────────────────\n\nexport const PROVIDER_SPECIFICATION_KEY_PREFIX = 'providers';\n\nexport function providerSpecificationKeyFor(providerRef: string): string {\n return `${PROVIDER_SPECIFICATION_KEY_PREFIX}/${providerRef}`;\n}\n\n// ── Validation ─────────────────────────────────────────────────────────────\n\nfunction assertNonEmptyStringList(errorPrefix: string, slot: string, value: unknown): asserts value is string[] {\n if (!Array.isArray(value)) {\n throw new Error(`${errorPrefix} \"${slot}\" must be an array.`);\n }\n value.forEach((entry, index) => {\n assertNonEmptyTrimmedString(errorPrefix, `${slot}[${index}]`, entry);\n });\n}\n\nexport function validateProviderSpecification(\n specificationKey: string,\n specification: ProviderSpecificationConfig,\n): void {\n const errorPrefix = `provider specification \"${specificationKey}\":`;\n\n assertDefinitionSpecificationBaseConfig(errorPrefix, specification);\n assertNonEmptyTrimmedString(errorPrefix, 'packageName', specification.packageName);\n assertNonEmptyTrimmedString(errorPrefix, 'vendor', specification.vendor);\n if (!Object.values(ProviderTier).includes(specification.tier)) {\n throw new Error(`${errorPrefix} \"tier\" must be a ProviderTier member, got \"${String(specification.tier)}\".`);\n }\n if (!specification.origin || !Object.values(ProviderOriginKind).includes(specification.origin.kind)) {\n throw new Error(`${errorPrefix} \"origin.kind\" must be a ProviderOriginKind member.`);\n }\n if (specification.origin.kind === ProviderOriginKind.GENERATED) {\n const { catalogue } = specification.origin;\n if (!catalogue) {\n throw new Error(`${errorPrefix} a GENERATED origin must carry its catalogue provenance.`);\n }\n assertNonEmptyTrimmedString(errorPrefix, 'origin.catalogue.sourceRef', catalogue.sourceRef);\n assertNonEmptyTrimmedString(errorPrefix, 'origin.catalogue.sourceVersion', catalogue.sourceVersion);\n }\n // The tier rule, restated on the specification so a spec cannot describe what composition refuses.\n if (specification.tier === ProviderTier.MAIN && specification.origin.kind !== ProviderOriginKind.ENGINE) {\n throw new Error(`${errorPrefix} tier MAIN is the engine's own set; origin is ${specification.origin.kind}.`);\n }\n if (specification.tier === ProviderTier.CATALOGUE && specification.engineCapabilities.length > 0) {\n throw new Error(\n `${errorPrefix} tier CATALOGUE binds no engine slot, but engineCapabilities lists [${specification.engineCapabilities.join(', ')}].`,\n );\n }\n assertNonEmptyStringList(errorPrefix, 'facets', specification.facets);\n if (specification.facets.length === 0) {\n throw new Error(`${errorPrefix} \"facets\" must name at least one facet the provider ships a module for.`);\n }\n const unknownFacets = specification.facets.filter((facet) => !PROVIDER_SPECIFICATION_FACETS.has(facet));\n if (unknownFacets.length > 0) {\n throw new Error(`${errorPrefix} \"facets\" names [${unknownFacets.join(', ')}], which are no ProviderSpecificationFacet members.`);\n }\n assertNonEmptyStringList(errorPrefix, 'protocols', specification.protocols);\n assertNonEmptyStringList(errorPrefix, 'providerCapabilities', specification.providerCapabilities);\n assertNonEmptyStringList(errorPrefix, 'engineCapabilities', specification.engineCapabilities);\n if (!Array.isArray(specification.secretsContract)) {\n throw new Error(`${errorPrefix} \"secretsContract\" must be an array (empty when the provider needs no secret).`);\n }\n const seenEnvVarNames = new Set<string>();\n specification.secretsContract.forEach((entry, index) => {\n assertNonEmptyTrimmedString(errorPrefix, `secretsContract[${index}].slug`, entry.slug);\n assertNonEmptyTrimmedString(errorPrefix, `secretsContract[${index}].envVarName`, entry.envVarName);\n assertNonEmptyTrimmedString(errorPrefix, `secretsContract[${index}].description`, entry.description);\n if (typeof entry.required !== 'boolean') {\n throw new Error(`${errorPrefix} \"secretsContract[${index}].required\" must be a boolean.`);\n }\n if (seenEnvVarNames.has(entry.envVarName)) {\n throw new Error(`${errorPrefix} duplicate secretsContract envVarName \"${entry.envVarName}\".`);\n }\n seenEnvVarNames.add(entry.envVarName);\n if (index > 0 && specification.secretsContract[index - 1].slug.localeCompare(entry.slug) >= 0) {\n throw new Error(`${errorPrefix} secretsContract entries must be sorted by slug.`);\n }\n });\n assertOptionalCodeSymbolRef(errorPrefix, 'operationCatalogueSymbol', specification.operationCatalogueSymbol);\n if (specification.operatorPrerequisites !== undefined) {\n assertNonEmptyStringList(errorPrefix, 'operatorPrerequisites', specification.operatorPrerequisites);\n }\n assertOptionalNonEmptyProseSlot(errorPrefix, 'lifecycleRole', specification.lifecycleRole);\n assertOptionalDefinitionSpecificationCodeHandling(errorPrefix, specification.codeHandling);\n}\n\n// ── Factory ────────────────────────────────────────────────────────────────\n\nexport function providerSpecificationFromDefinition(\n providerDefinition: ProviderDefinitionRef,\n draftFactory: () => ProviderSpecificationDraft,\n): ProviderSpecificationConfig {\n const specification: ProviderSpecificationConfig = {\n ...draftFactory(),\n ref: providerDefinition.ref,\n };\n validateProviderSpecification(providerSpecificationKeyFor(specification.ref), specification);\n return specification;\n}\n\n// ── Map builder ────────────────────────────────────────────────────────────\n\nexport function buildProviderSpecificationMap(\n ...specifications: ProviderSpecificationConfig[]\n): ProviderSpecification {\n const result: ProviderSpecification = {};\n for (const specification of specifications) {\n const key = providerSpecificationKeyFor(specification.ref);\n if (result[key]) {\n throw new Error(`buildProviderSpecificationMap(): duplicate provider specification key \"${key}\".`);\n }\n result[key] = specification;\n }\n return result;\n}\n\n// ── Module-level registry (mirrors the feature family) ─────────────────────\n\nconst registeredProviderSpecifications = new Map<string, ProviderSpecificationConfig>();\n\nexport function registerProviderSpecifications(map: ProviderSpecification): void {\n for (const [key, specification] of Object.entries(map)) {\n if (typeof key !== 'string' || !key.trim()) {\n throw new Error('registerProviderSpecifications(): every map key must be a non-empty trimmed string.');\n }\n const existing = registeredProviderSpecifications.get(key);\n if (existing && JSON.stringify(existing) !== JSON.stringify(specification)) {\n throw new Error(\n `registerProviderSpecifications(): provider specification \"${key}\" was registered twice with divergent shapes.`,\n );\n }\n registeredProviderSpecifications.set(key, specification);\n }\n}\n\nexport function lookupProviderSpecification(providerRef: string): ProviderSpecificationConfig | undefined {\n return registeredProviderSpecifications.get(providerSpecificationKeyFor(providerRef));\n}\n\nexport function hasRegisteredProviderSpecifications(): boolean {\n return registeredProviderSpecifications.size > 0;\n}\n\nexport function listRegisteredProviderSpecifications(): ProviderSpecificationConfig[] {\n return Array.from(registeredProviderSpecifications.values());\n}\n\n/** Test seam only. */\nexport function resetProviderSpecificationsForTesting(): void {\n registeredProviderSpecifications.clear();\n}\n"]}
|
|
@@ -150,6 +150,7 @@ export * from "./_core/website-plan/website-plan-validation";
|
|
|
150
150
|
export * from "./_core/experience-plan/experience-plan.schemas";
|
|
151
151
|
export * from "./_core/experience-plan/experience-plan-generation.schemas";
|
|
152
152
|
export * from "./_core/experience-plan/experience-plan-validation";
|
|
153
|
+
export * from "./_core/integration-plan/integration-execution-surface-refs.schemas";
|
|
153
154
|
export * from "./_core/integration-plan/integration-plan.schemas";
|
|
154
155
|
export * from "./_core/integration-plan/integration-plan-generation.schemas";
|
|
155
156
|
export * from "./_core/integration-plan/integration-plan-validation";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-creation.exports.d.ts","sourceRoot":"","sources":["../../src/application-creation.exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,cAAc,6FAA6F,CAAC;AAC5G,cAAc,gFAAgF,CAAC;AAC/F,cAAc,iFAAiF,CAAC;AAChG,cAAc,kFAAkF,CAAC;AACjG,cAAc,sEAAsE,CAAC;AACrF,cAAc,uEAAuE,CAAC;AACtF,cAAc,gGAAgG,CAAC;AAC/G,cAAc,4FAA4F,CAAC;AAC3G,cAAc,uGAAuG,CAAC;AAWtH,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iDAAiD,CAAC;AAQhE,cAAc,sDAAsD,CAAC;AAMrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,mD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AC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,yDAAyD,CAAC;AACxE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,oDAAoD,CAAC;AACnE,cAAc,uDAAuD,CAAC;AACtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC;AACzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iFAAiF,CAAC"}
|
|
1
|
+
{"version":3,"file":"application-creation.exports.d.ts","sourceRoot":"","sources":["../../src/application-creation.exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,cAAc,6FAA6F,CAAC;AAC5G,cAAc,gFAAgF,CAAC;AAC/F,cAAc,iFAAiF,CAAC;AAChG,cAAc,kFAAkF,CAAC;AACjG,cAAc,sEAAsE,CAAC;AACrF,cAAc,uEAAuE,CAAC;AACtF,cAAc,gGAAgG,CAAC;AAC/G,cAAc,4FAA4F,CAAC;AAC3G,cAAc,uGAAuG,CAAC;AAWtH,cAAc,2DAA2D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7E,cAAc,sDAAsD,CAAC;AACrE,cAAc,uDAAuD,CAAC;AACtE,cAAc,kEAAkE,CAAC;AACjF,cAAc,0DAA0D,CAAC;AACzE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,yDAAyD,CAAC;AACxE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,oDAAoD,CAAC;AACnE,cAAc,uDAAuD,CAAC;AACtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC;AACzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iFAAiF,CAAC"}
|
|
@@ -213,6 +213,7 @@ export * from "./_core/website-plan/website-plan-validation.js";
|
|
|
213
213
|
export * from "./_core/experience-plan/experience-plan.schemas.js";
|
|
214
214
|
export * from "./_core/experience-plan/experience-plan-generation.schemas.js";
|
|
215
215
|
export * from "./_core/experience-plan/experience-plan-validation.js";
|
|
216
|
+
export * from "./_core/integration-plan/integration-execution-surface-refs.schemas.js";
|
|
216
217
|
export * from "./_core/integration-plan/integration-plan.schemas.js";
|
|
217
218
|
export * from "./_core/integration-plan/integration-plan-generation.schemas.js";
|
|
218
219
|
export * from "./_core/integration-plan/integration-plan-validation.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-creation.exports.js","sourceRoot":"","sources":["../../src/application-creation.exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,cAAc,6FAA6F,CAAC;AAC5G,cAAc,gFAAgF,CAAC;AAC/F,cAAc,iFAAiF,CAAC;AAChG,cAAc,kFAAkF,CAAC;AACjG,cAAc,sEAAsE,CAAC;AACrF,cAAc,uEAAuE,CAAC;AACtF,cAAc,gGAAgG,CAAC;AAC/G,cAAc,4FAA4F,CAAC;AAC3G,cAAc,uGAAuG,CAAC;AACtH,2GAA2G;AAC3G;;;;;;;;GAQG;AACH,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iDAAiD,CAAC;AAChE;;;;;;GAMG;AACH,cAAc,sDAAsD,CAAC;AACrE;;;;GAIG;AACH,cAAc,wDAAwD,CAAC;AACvE,cAAc,mDAAmD,CAAC;AAClE;;;;GAIG;AACH,cAAc,oEAAoE,CAAC;AACnF,cAAc,wEAAwE,CAAC;AACvF,cAAc,+EAA+E,CAAC;AAC9F,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,wEAAwE,CAAC;AACvF,cAAc,6EAA6E,CAAC;AAC5F,cAAc,8DAA8D,CAAC;AAC7E,cAAc,kEAAkE,CAAC;AACjF,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iFAAiF,CAAC;AAChG,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,2FAA2F,CAAC;AAE1G,yEAAyE;AACzE,6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,uDAAuD,CAAC;AACtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC;AACzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iFAAiF,CAAC","sourcesContent":["/**\n * Public application-creation specification surface.\n *\n * This entrypoint is intentionally broader than any individual schema family and narrower than the\n * complete specifications package. Consumers involved in application creation depend on this stable\n * semantic boundary rather than on source-file-shaped package subpaths.\n *\n * ## Most of what this door publishes is re-exported from `_core`, and that is DELIBERATE\n *\n * Measured 2026-09-20: 78 of its 85 re-exports are `_core` content-family modules the package root\n * also publishes (through `./_core`), and only 7 are this domain's own. Counted alone that reads as\n * `root-barrel-overlap` — rule 1, \"a second door onto the same room\" — and #1352 proposed shrinking\n * this door to the 7. **Do not.** Three independent measurements say this door is load-bearing, and\n * each was paid for once already:\n *\n * 1. **It is a CLOSURE FIREWALL.** Fifteen files under `src/` import `@wildo-ai/saas-backend-lib`,\n * and every one of them is reachable from the ROOT and from no path on this door — the whole of\n * `engine/**`, plus `_core/resource-specification.schemas` and `_core/data-seed-specification.schemas`.\n * A consumer whose runner resolves engine packages with `conditions: [\"source\"]` therefore drags\n * that package's INTERNAL `~wildo-backend-lib/*` aliases into a program that cannot resolve them,\n * and every suite importing such a file fails to COLLECT — which reads as zero tests rather than as\n * a bad import. That is recorded at the site where it was measured,\n * `application-creation-workbench/src/artifact-presentation/families/processor-register.presentation.tsx`.\n * This is criterion (c) of `package-public-entrypoints.md` — *\"consumers should not load or become\n * coupled to the package's broader graph\"* — satisfied for a concrete reason, not a stylistic one.\n *\n * 2. **It preserves MODULE IDENTITY.** A symbol reached through two different specifiers is two module\n * instances. The authored-metadata note below records that exact failure: the structured-artifact\n * renderer resolved a different instance of an enum and could not recognise it as the one its own\n * schema referenced. Splitting any consumer's imports between this door and the root — which is what\n * shrinking this door would force on 100 files, 29 of them taking BOTH content and mechanism — would\n * reintroduce it wholesale.\n *\n * 3. **It keeps the Node-only creation runtime off the frontend graph**, which the section further down\n * states at its own call site.\n *\n * ## The alternative was measured too, and it is worse\n *\n * Moving the content families OUT of `_core` and behind this door (so the root stops publishing them and\n * the duplication disappears at the source) is refused by `_core/family-aspects.registry.ts`: it is\n * ROOT-reachable and aggregates families from all three domains — `_core`, `application-creation` AND\n * `assurance`. It already reaches across two of those boundaries; moving the families would take it from\n * 2 crossings to 15, trading a duplication no checker can see for a rule-7 violation that is real.\n *\n * ## Why no checker reports any of this\n *\n * `check:package-entrypoints` rule 1 compares the ONE-LEVEL `export *` target sets of the root barrel and\n * the subpath barrel. The root's targets are `./application-creation.exports`, `./_core`, `./_catalogs`\n * and `./engine`; this door's are `./_core/market/…`-shaped. The sets do not intersect, so the overlap is\n * structurally invisible to it and there is NO baseline row for this specifier — both #1352 and this\n * package's own root barrel asserted there was one. Widening rule 1 to resolve barrels transitively would\n * make it fire HERE, on a door that is correct, so the blind spot is not a defect to fix by widening: a\n * transitive rule 1 would first need to compare CLOSURES rather than path sets.\n */\nexport * from \"./application-creation/application-document-fact-specification.application-creation.schemas\";\nexport * from \"./application-creation/application-creator-inputs.application-creation.schemas\";\nexport * from \"./application-creation/application-declared-answer.application-creation.schemas\";\nexport * from \"./application-creation/application-declared-answers.application-creation.schemas\";\nexport * from \"./application-creation/application-line.application-creation.schemas\";\nexport * from \"./application-creation/playbook-instance.application-creation.schemas\";\nexport * from \"./application-creation/application-specification-family-decisions.application-creation.schemas\";\nexport * from \"./application-creation/specification-content-validation-state.application-creation.schemas\";\nexport * from \"./application-creation/application-document-release-policy-specification.application-creation.schemas\";\n// Reviewer custody and private authority lifecycle contracts intentionally share this semantic entrypoint.\n/*\n * The authored-metadata vocabularies (`AuthoredConfidence`, `ReviewCadence`).\n *\n * Every `_core` content family carries an optional `authored` block typed by these two enums, so any\n * consumer that reasons about a family's closed vocabularies needs them from the SAME entrypoint it gets\n * the schemas from. They were reachable only through the package root, which meant the structured-artifact\n * renderer — importing schemas here — resolved a different module instance of the enum and could not\n * recognise it as the one its own schema referenced.\n */\nexport * from \"./_core/application-specification-family-identity.schemas\";\nexport * from \"./_core/market/market-authored-metadata.schemas\";\n/*\n * The EXPERT ROLE vocabulary — the shaping-input kinds a seat declares, and the family/aspect each one\n * names. Exported through this door rather than only through the package root for the reason recorded\n * above the family-identity line: a runtime that composes a seat's context resolves its FAMILIES here,\n * so the binding table that joins a shaping kind to a family has to arrive from the same entrypoint or\n * the two sides compare values from different module instances.\n */\nexport * from \"./_core/expert-personas/expert-role-template.schemas\";\n/*\n * The charter CONTENT and its set validator, beside the role templates for the same reason: the semantic\n * authority binds the `expert-personas` family (#572) through THIS entrypoint, and the application-creation\n * runtime may not import the package root (`check:application-creation-boundaries`).\n */\nexport * from \"./_core/expert-personas/expert-persona-charter.schemas\";\nexport * from \"./_core/expert-personas/expert-persona-validation\";\n/*\n * The governed-document CANDIDATE content family. Exported here because the structured-artifact renderer and\n * the semantic authority both resolve schemas through this entrypoint, and identity across them requires one\n * module instance — the same reason the authored-metadata enums above are published from here.\n */\nexport * from \"./_core/compliance-documents/compliance-document-candidate.schemas\";\nexport * from \"./_core/compliance-documents/compliance-document-candidate-set.schemas\";\nexport * from \"./_core/compliance-documents/compliance-document-candidate-generation.schemas\";\nexport * from \"./_core/compliance-documents/required-document-set.schemas\";\nexport * from \"./_core/compliance-documents/processor-register.schemas\";\nexport * from \"./_core/compliance-documents/recipient-population.schemas\";\nexport * from \"./_core/compliance-documents/recipient-disclosures.schemas\";\nexport * from \"./_core/compliance-documents/subject-data-recipients.schemas\";\nexport * from \"./_core/compliance-documents/compliance-completeness-statement.schemas\";\nexport * from \"./_core/compliance-documents/document-fact-specification-generation.schemas\";\nexport * from \"./_core/compliance-documents/computed-document-facts.schemas\";\nexport * from \"./_core/compliance-documents/retention-enforcement-facts.schemas\";\nexport * from \"./_core/compliance-documents/ai-document-facts.schemas\";\nexport * from \"./_core/compliance-documents/launch-blockers.schemas\";\nexport * from \"./application-creation/accepted-change-attribution.application-creation.schemas\";\nexport * from \"./application-creation/journey.application-creation.schemas\";\nexport * from \"./application-creation/playbooks.application-creation.schemas\";\nexport * from \"./application-creation/domain-plan-evaluation-identities.application-creation.definitions\";\n\n// Executable semantic authorities consumed by the Node-only application-\n// creation runtime. Keeping them on this deliberate entrypoint prevents that\n// runtime from loading the broad specifications root and its frontend graph.\nexport * from \"./_core/family-aspects.schemas\";\n// The unavailable-specification vocabulary (#3258): the runtime's atomic specification write refuses to persist a\n// value carrying UNAVAILABLE_SPECIFICATION_MARKER, so it needs this module without the root. The module imports nothing.\nexport * from \"./_core/specification-module-faults\";\nexport * from \"./_core/family-aspects.registry\";\n/*\n * The expert-shaping input vocabulary and its family bindings.\n *\n * `application-specification-context-prose` reads `EXPERT_SHAPING_INPUT_FAMILY_BINDINGS` to turn a\n * shaping input KIND into the specification family that answers it, which is exactly the\n * \"executable semantic authority consumed by the runtime\" this section exists for.\n *\n * Only this module of `_core/expert-personas/` is published, deliberately. Its three siblings\n * (`expert-persona-charter`, `expert-persona-authored-metadata`, `expert-persona-validation`) have\n * no import site outside this package — measured, not assumed — so publishing them would widen the\n * entrypoint for nobody.\n */\nexport * from \"./_core/expert-personas/expert-role-template.schemas\";\nexport * from \"./_core/brand/brand-name.schemas\";\nexport * from \"./_core/brand/brand-snapshot.schemas\";\nexport * from \"./_core/brand/brand-visual-tone.schemas\";\nexport * from \"./_core/brand/brand-audience.schemas\";\nexport * from \"./_core/brand/brand-snapshot-validation\";\nexport * from \"./_core/brand/brand-name-screening.schemas\";\nexport * from \"./_core/brand/brand-name-screening-generation.schemas\";\nexport * from \"./_core/brand/brand-name-screening-validation\";\nexport * from \"./_core/brand/brand-name-choice\";\nexport * from \"./_core/brand/brand-name-screening-view\";\n/*\n * The brand and pricing VOCABULARIES the two snapshots above are built from.\n *\n * Same reason as the authored-metadata enums at the top of this file, and the same defect one layer\n * further out: `BrandLogoMarkType`, `BrandLogoBackgroundTreatment`, `BrandAsset*` and `PricingModelAxis`\n * were reachable only through the package ROOT, so the structured-artifact renderer — which resolves\n * schemas through THIS entrypoint — could not name the enum objects hanging off the very schemas it had\n * just imported. Measured 2026-08-29: `BrandSnapshot` and `BusinessModelLiteSnapshot` could not derive\n * their enum bindings at all, so neither family could ever land a produced artifact.\n *\n * A schema and the vocabularies it is made of must be published from the same entrypoint. Splitting them\n * is not a smaller surface, it is a surface that cannot be used.\n */\nexport * from \"./_core/brand/brand-logo-direction.schemas\";\nexport * from \"./_core/brand/brand-asset.schemas\";\nexport * from \"./_core/business-model-lite/pricing-plan.schemas\";\nexport * from \"./_core/business-model-lite/business-model-lite-snapshot.schemas\";\nexport * from \"./_core/business-model-lite/business-model-lite-snapshot-generation.schemas\";\nexport * from \"./_core/business-model-lite/business-model-lite-snapshot-validation\";\nexport * from \"./_core/definition-specification.schemas\";\nexport * from \"./_core/domain-plan/domain-plan-output-set-generation.schemas\";\nexport * from \"./_core/domain-plan/domain-plan-output-set-validation\";\nexport * from \"./_core/business-semantics.specifications.schemas\";\nexport * from \"./_core/domain-plan/domain-plan-output-set.schemas\";\nexport * from \"./_core/feature-drafts/capability-map-output-set-generation.schemas\";\nexport * from \"./_core/feature-drafts/capability-map-output-set-validation\";\nexport * from \"./_core/feature-drafts/capability-map-output-set.schemas\";\nexport * from \"./_core/feature-drafts/feature-specification-drafts-generation.schemas\";\nexport * from \"./_core/feature-drafts/feature-specification-drafts-validation\";\nexport * from \"./_core/feature-drafts/feature-specification-drafts.schemas\";\nexport * from \"./_core/feature-specification.schemas\";\nexport * from \"./_core/market/market-category.schemas\";\nexport * from \"./_core/market/market-icp.schemas\";\nexport * from \"./_core/market/market-language-coverage\";\nexport * from \"./_core/market/feature-benefit.schemas\";\nexport * from \"./_core/market/market-alternative.schemas\";\nexport * from \"./_core/market/market-buying-journey.schemas\";\nexport * from \"./_core/market/market-channel.schemas\";\nexport * from \"./_core/market/market-gain.schemas\";\nexport * from \"./_core/market/market-job.schemas\";\nexport * from \"./_core/market/market-message-template.schemas\";\nexport * from \"./_core/market/market-objection.schemas\";\nexport * from \"./_core/market/market-pain.schemas\";\nexport * from \"./_core/market/market-persona.schemas\";\nexport * from \"./_core/market/market-positioning.schemas\";\nexport * from \"./_core/market/market-references.schemas\";\nexport * from \"./_core/market/market-proof.schemas\";\nexport * from \"./_core/market/market-snapshot-generation.schemas\";\nexport * from \"./_core/market/market-snapshot.schemas\";\n/*\n * The deterministic FIT scorer. Exported through this door because the creation runtime COMPUTES the\n * per-ICP FIT matrix into a playbook brief (#1435): three methods tell their model to \"feed the\n * scorer and read back the scores\", and a structured generation has no tools, so the arithmetic has\n * to be done for it — the same trade `COHERENCE_REPORT` makes.\n */\nexport * from \"./_core/market/market-scoring\";\nexport * from \"./_core/market/market-snapshot-validation\";\nexport * from \"./_core/market/market-tone-of-voice.schemas\";\nexport * from \"./_core/market/market-trigger.schemas\";\nexport * from \"./_core/build-plan/build-plan-task-graph.schemas\";\nexport * from \"./_core/build-plan/build-plan-task-graph-generation.schemas\";\nexport * from \"./_core/build-plan/build-plan-task-graph-validation\";\nexport * from \"./_core/build-plan/build-plan-relationship-grouping\";\nexport * from \"./_core/capability-composition/capability-composition.schemas\";\nexport * from \"./_core/capability-composition/capability-composition-validation\";\nexport * from \"./_core/website-plan/website-plan.schemas\";\nexport * from \"./_core/website-plan/website-plan-generation.schemas\";\nexport * from \"./_core/website-plan/website-plan-validation\";\nexport * from \"./_core/experience-plan/experience-plan.schemas\";\nexport * from \"./_core/experience-plan/experience-plan-generation.schemas\";\nexport * from \"./_core/experience-plan/experience-plan-validation\";\nexport * from \"./_core/integration-plan/integration-plan.schemas\";\nexport * from \"./_core/integration-plan/integration-plan-generation.schemas\";\nexport * from \"./_core/integration-plan/integration-plan-validation\";\nexport * from \"./_core/compliance-posture/compliance-posture.schemas\";\nexport * from \"./_core/compliance-posture/compliance-posture-generation.schemas\";\nexport * from \"./_core/compliance-posture/compliance-posture-validation\";\nexport * from \"./_core/service-method/service-method.schemas\";\nexport * from \"./_core/service-method/service-method-generation.schemas\";\nexport * from \"./_core/service-method/service-method-validation\";\nexport * from \"./_core/service-method/service-method-derivation\";\nexport * from \"./_core/application-maturity/application-maturity.schemas\";\nexport * from \"./_core/application-maturity/application-maturity-validation\";\nexport * from \"./_core/application-maturity/application-maturity-open-items\";\nexport * from \"./_core/placement-plan/placement-plan.schemas\";\nexport * from \"./_core/placement-plan/placement-plan-generation.schemas\";\nexport * from \"./_core/placement-plan/placement-plan-validation\";\nexport * from \"./_core/requirements/functional-requirement.schemas\";\nexport * from \"./_core/requirements/non-functional-requirement.schemas\";\nexport * from \"./_core/requirements/requirement-engine-substance.schemas\";\nexport * from \"./_core/requirements/requirements-snapshot-generation.schemas\";\nexport * from \"./_core/requirements/requirements-snapshot.schemas\";\nexport * from \"./_core/requirements/requirements-snapshot-validation\";\nexport * from \"./_core/requirements/requirements-pain-coverage\";\nexport * from \"./_core/roadmap/roadmap-phase.schemas\";\nexport * from \"./_core/roadmap/roadmap-snapshot-generation.schemas\";\nexport * from \"./_core/roadmap/roadmap-snapshot.schemas\";\nexport * from \"./_core/roadmap/roadmap-snapshot-validation\";\nexport * from \"./_core/vision/vision-authored-metadata.schemas\";\nexport * from \"./_core/vision/vision-constraint.schemas\";\nexport * from \"./_core/vision/vision-idea.schemas\";\nexport * from \"./_core/vision/vision-mission.schemas\";\nexport * from \"./_core/vision/vision-problem.schemas\";\nexport * from \"./_core/vision/vision-success-criterion.schemas\";\nexport * from \"./_core/vision/vision-snapshot-generation.schemas\";\nexport * from \"./_core/vision/vision-snapshot.schemas\";\nexport * from \"./_core/vision/vision-snapshot-validation\";\nexport * from \"./application-creation/structured-artifact-landing.application-creation.schemas\";\n"]}
|
|
1
|
+
{"version":3,"file":"application-creation.exports.js","sourceRoot":"","sources":["../../src/application-creation.exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,cAAc,6FAA6F,CAAC;AAC5G,cAAc,gFAAgF,CAAC;AAC/F,cAAc,iFAAiF,CAAC;AAChG,cAAc,kFAAkF,CAAC;AACjG,cAAc,sEAAsE,CAAC;AACrF,cAAc,uEAAuE,CAAC;AACtF,cAAc,gGAAgG,CAAC;AAC/G,cAAc,4FAA4F,CAAC;AAC3G,cAAc,uGAAuG,CAAC;AACtH,2GAA2G;AAC3G;;;;;;;;GAQG;AACH,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iDAAiD,CAAC;AAChE;;;;;;GAMG;AACH,cAAc,sDAAsD,CAAC;AACrE;;;;GAIG;AACH,cAAc,wDAAwD,CAAC;AACvE,cAAc,mDAAmD,CAAC;AAClE;;;;GAIG;AACH,cAAc,oEAAoE,CAAC;AACnF,cAAc,wEAAwE,CAAC;AACvF,cAAc,+EAA+E,CAAC;AAC9F,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,wEAAwE,CAAC;AACvF,cAAc,6EAA6E,CAAC;AAC5F,cAAc,8DAA8D,CAAC;AAC7E,cAAc,kEAAkE,CAAC;AACjF,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iFAAiF,CAAC;AAChG,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,2FAA2F,CAAC;AAE1G,yEAAyE;AACzE,6EAA6E;AAC7E,6EAA6E;AAC7E,cAAc,gCAAgC,CAAC;AAC/C,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AiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC;AACzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iFAAiF,CAAC","sourcesContent":["/**\n * Public application-creation specification surface.\n *\n * This entrypoint is intentionally broader than any individual schema family and narrower than the\n * complete specifications package. Consumers involved in application creation depend on this stable\n * semantic boundary rather than on source-file-shaped package subpaths.\n *\n * ## Most of what this door publishes is re-exported from `_core`, and that is DELIBERATE\n *\n * Measured 2026-09-20: 78 of its 85 re-exports are `_core` content-family modules the package root\n * also publishes (through `./_core`), and only 7 are this domain's own. Counted alone that reads as\n * `root-barrel-overlap` — rule 1, \"a second door onto the same room\" — and #1352 proposed shrinking\n * this door to the 7. **Do not.** Three independent measurements say this door is load-bearing, and\n * each was paid for once already:\n *\n * 1. **It is a CLOSURE FIREWALL.** Fifteen files under `src/` import `@wildo-ai/saas-backend-lib`,\n * and every one of them is reachable from the ROOT and from no path on this door — the whole of\n * `engine/**`, plus `_core/resource-specification.schemas` and `_core/data-seed-specification.schemas`.\n * A consumer whose runner resolves engine packages with `conditions: [\"source\"]` therefore drags\n * that package's INTERNAL `~wildo-backend-lib/*` aliases into a program that cannot resolve them,\n * and every suite importing such a file fails to COLLECT — which reads as zero tests rather than as\n * a bad import. That is recorded at the site where it was measured,\n * `application-creation-workbench/src/artifact-presentation/families/processor-register.presentation.tsx`.\n * This is criterion (c) of `package-public-entrypoints.md` — *\"consumers should not load or become\n * coupled to the package's broader graph\"* — satisfied for a concrete reason, not a stylistic one.\n *\n * 2. **It preserves MODULE IDENTITY.** A symbol reached through two different specifiers is two module\n * instances. The authored-metadata note below records that exact failure: the structured-artifact\n * renderer resolved a different instance of an enum and could not recognise it as the one its own\n * schema referenced. Splitting any consumer's imports between this door and the root — which is what\n * shrinking this door would force on 100 files, 29 of them taking BOTH content and mechanism — would\n * reintroduce it wholesale.\n *\n * 3. **It keeps the Node-only creation runtime off the frontend graph**, which the section further down\n * states at its own call site.\n *\n * ## The alternative was measured too, and it is worse\n *\n * Moving the content families OUT of `_core` and behind this door (so the root stops publishing them and\n * the duplication disappears at the source) is refused by `_core/family-aspects.registry.ts`: it is\n * ROOT-reachable and aggregates families from all three domains — `_core`, `application-creation` AND\n * `assurance`. It already reaches across two of those boundaries; moving the families would take it from\n * 2 crossings to 15, trading a duplication no checker can see for a rule-7 violation that is real.\n *\n * ## Why no checker reports any of this\n *\n * `check:package-entrypoints` rule 1 compares the ONE-LEVEL `export *` target sets of the root barrel and\n * the subpath barrel. The root's targets are `./application-creation.exports`, `./_core`, `./_catalogs`\n * and `./engine`; this door's are `./_core/market/…`-shaped. The sets do not intersect, so the overlap is\n * structurally invisible to it and there is NO baseline row for this specifier — both #1352 and this\n * package's own root barrel asserted there was one. Widening rule 1 to resolve barrels transitively would\n * make it fire HERE, on a door that is correct, so the blind spot is not a defect to fix by widening: a\n * transitive rule 1 would first need to compare CLOSURES rather than path sets.\n */\nexport * from \"./application-creation/application-document-fact-specification.application-creation.schemas\";\nexport * from \"./application-creation/application-creator-inputs.application-creation.schemas\";\nexport * from \"./application-creation/application-declared-answer.application-creation.schemas\";\nexport * from \"./application-creation/application-declared-answers.application-creation.schemas\";\nexport * from \"./application-creation/application-line.application-creation.schemas\";\nexport * from \"./application-creation/playbook-instance.application-creation.schemas\";\nexport * from \"./application-creation/application-specification-family-decisions.application-creation.schemas\";\nexport * from \"./application-creation/specification-content-validation-state.application-creation.schemas\";\nexport * from \"./application-creation/application-document-release-policy-specification.application-creation.schemas\";\n// Reviewer custody and private authority lifecycle contracts intentionally share this semantic entrypoint.\n/*\n * The authored-metadata vocabularies (`AuthoredConfidence`, `ReviewCadence`).\n *\n * Every `_core` content family carries an optional `authored` block typed by these two enums, so any\n * consumer that reasons about a family's closed vocabularies needs them from the SAME entrypoint it gets\n * the schemas from. They were reachable only through the package root, which meant the structured-artifact\n * renderer — importing schemas here — resolved a different module instance of the enum and could not\n * recognise it as the one its own schema referenced.\n */\nexport * from \"./_core/application-specification-family-identity.schemas\";\nexport * from \"./_core/market/market-authored-metadata.schemas\";\n/*\n * The EXPERT ROLE vocabulary — the shaping-input kinds a seat declares, and the family/aspect each one\n * names. Exported through this door rather than only through the package root for the reason recorded\n * above the family-identity line: a runtime that composes a seat's context resolves its FAMILIES here,\n * so the binding table that joins a shaping kind to a family has to arrive from the same entrypoint or\n * the two sides compare values from different module instances.\n */\nexport * from \"./_core/expert-personas/expert-role-template.schemas\";\n/*\n * The charter CONTENT and its set validator, beside the role templates for the same reason: the semantic\n * authority binds the `expert-personas` family (#572) through THIS entrypoint, and the application-creation\n * runtime may not import the package root (`check:application-creation-boundaries`).\n */\nexport * from \"./_core/expert-personas/expert-persona-charter.schemas\";\nexport * from \"./_core/expert-personas/expert-persona-validation\";\n/*\n * The governed-document CANDIDATE content family. Exported here because the structured-artifact renderer and\n * the semantic authority both resolve schemas through this entrypoint, and identity across them requires one\n * module instance — the same reason the authored-metadata enums above are published from here.\n */\nexport * from \"./_core/compliance-documents/compliance-document-candidate.schemas\";\nexport * from \"./_core/compliance-documents/compliance-document-candidate-set.schemas\";\nexport * from \"./_core/compliance-documents/compliance-document-candidate-generation.schemas\";\nexport * from \"./_core/compliance-documents/required-document-set.schemas\";\nexport * from \"./_core/compliance-documents/processor-register.schemas\";\nexport * from \"./_core/compliance-documents/recipient-population.schemas\";\nexport * from \"./_core/compliance-documents/recipient-disclosures.schemas\";\nexport * from \"./_core/compliance-documents/subject-data-recipients.schemas\";\nexport * from \"./_core/compliance-documents/compliance-completeness-statement.schemas\";\nexport * from \"./_core/compliance-documents/document-fact-specification-generation.schemas\";\nexport * from \"./_core/compliance-documents/computed-document-facts.schemas\";\nexport * from \"./_core/compliance-documents/retention-enforcement-facts.schemas\";\nexport * from \"./_core/compliance-documents/ai-document-facts.schemas\";\nexport * from \"./_core/compliance-documents/launch-blockers.schemas\";\nexport * from \"./application-creation/accepted-change-attribution.application-creation.schemas\";\nexport * from \"./application-creation/journey.application-creation.schemas\";\nexport * from \"./application-creation/playbooks.application-creation.schemas\";\nexport * from \"./application-creation/domain-plan-evaluation-identities.application-creation.definitions\";\n\n// Executable semantic authorities consumed by the Node-only application-\n// creation runtime. Keeping them on this deliberate entrypoint prevents that\n// runtime from loading the broad specifications root and its frontend graph.\nexport * from \"./_core/family-aspects.schemas\";\n// The unavailable-specification vocabulary (#3258): the runtime's atomic specification write refuses to persist a\n// value carrying UNAVAILABLE_SPECIFICATION_MARKER, so it needs this module without the root. The module imports nothing.\nexport * from \"./_core/specification-module-faults\";\nexport * from \"./_core/family-aspects.registry\";\n/*\n * The expert-shaping input vocabulary and its family bindings.\n *\n * `application-specification-context-prose` reads `EXPERT_SHAPING_INPUT_FAMILY_BINDINGS` to turn a\n * shaping input KIND into the specification family that answers it, which is exactly the\n * \"executable semantic authority consumed by the runtime\" this section exists for.\n *\n * Only this module of `_core/expert-personas/` is published, deliberately. Its three siblings\n * (`expert-persona-charter`, `expert-persona-authored-metadata`, `expert-persona-validation`) have\n * no import site outside this package — measured, not assumed — so publishing them would widen the\n * entrypoint for nobody.\n */\nexport * from \"./_core/expert-personas/expert-role-template.schemas\";\nexport * from \"./_core/brand/brand-name.schemas\";\nexport * from \"./_core/brand/brand-snapshot.schemas\";\nexport * from \"./_core/brand/brand-visual-tone.schemas\";\nexport * from \"./_core/brand/brand-audience.schemas\";\nexport * from \"./_core/brand/brand-snapshot-validation\";\nexport * from \"./_core/brand/brand-name-screening.schemas\";\nexport * from \"./_core/brand/brand-name-screening-generation.schemas\";\nexport * from \"./_core/brand/brand-name-screening-validation\";\nexport * from \"./_core/brand/brand-name-choice\";\nexport * from \"./_core/brand/brand-name-screening-view\";\n/*\n * The brand and pricing VOCABULARIES the two snapshots above are built from.\n *\n * Same reason as the authored-metadata enums at the top of this file, and the same defect one layer\n * further out: `BrandLogoMarkType`, `BrandLogoBackgroundTreatment`, `BrandAsset*` and `PricingModelAxis`\n * were reachable only through the package ROOT, so the structured-artifact renderer — which resolves\n * schemas through THIS entrypoint — could not name the enum objects hanging off the very schemas it had\n * just imported. Measured 2026-08-29: `BrandSnapshot` and `BusinessModelLiteSnapshot` could not derive\n * their enum bindings at all, so neither family could ever land a produced artifact.\n *\n * A schema and the vocabularies it is made of must be published from the same entrypoint. Splitting them\n * is not a smaller surface, it is a surface that cannot be used.\n */\nexport * from \"./_core/brand/brand-logo-direction.schemas\";\nexport * from \"./_core/brand/brand-asset.schemas\";\nexport * from \"./_core/business-model-lite/pricing-plan.schemas\";\nexport * from \"./_core/business-model-lite/business-model-lite-snapshot.schemas\";\nexport * from \"./_core/business-model-lite/business-model-lite-snapshot-generation.schemas\";\nexport * from \"./_core/business-model-lite/business-model-lite-snapshot-validation\";\nexport * from \"./_core/definition-specification.schemas\";\nexport * from \"./_core/domain-plan/domain-plan-output-set-generation.schemas\";\nexport * from \"./_core/domain-plan/domain-plan-output-set-validation\";\nexport * from \"./_core/business-semantics.specifications.schemas\";\nexport * from \"./_core/domain-plan/domain-plan-output-set.schemas\";\nexport * from \"./_core/feature-drafts/capability-map-output-set-generation.schemas\";\nexport * from \"./_core/feature-drafts/capability-map-output-set-validation\";\nexport * from \"./_core/feature-drafts/capability-map-output-set.schemas\";\nexport * from \"./_core/feature-drafts/feature-specification-drafts-generation.schemas\";\nexport * from \"./_core/feature-drafts/feature-specification-drafts-validation\";\nexport * from \"./_core/feature-drafts/feature-specification-drafts.schemas\";\nexport * from \"./_core/feature-specification.schemas\";\nexport * from \"./_core/market/market-category.schemas\";\nexport * from \"./_core/market/market-icp.schemas\";\nexport * from \"./_core/market/market-language-coverage\";\nexport * from \"./_core/market/feature-benefit.schemas\";\nexport * from \"./_core/market/market-alternative.schemas\";\nexport * from \"./_core/market/market-buying-journey.schemas\";\nexport * from \"./_core/market/market-channel.schemas\";\nexport * from \"./_core/market/market-gain.schemas\";\nexport * from \"./_core/market/market-job.schemas\";\nexport * from \"./_core/market/market-message-template.schemas\";\nexport * from \"./_core/market/market-objection.schemas\";\nexport * from \"./_core/market/market-pain.schemas\";\nexport * from \"./_core/market/market-persona.schemas\";\nexport * from \"./_core/market/market-positioning.schemas\";\nexport * from \"./_core/market/market-references.schemas\";\nexport * from \"./_core/market/market-proof.schemas\";\nexport * from \"./_core/market/market-snapshot-generation.schemas\";\nexport * from \"./_core/market/market-snapshot.schemas\";\n/*\n * The deterministic FIT scorer. Exported through this door because the creation runtime COMPUTES the\n * per-ICP FIT matrix into a playbook brief (#1435): three methods tell their model to \"feed the\n * scorer and read back the scores\", and a structured generation has no tools, so the arithmetic has\n * to be done for it — the same trade `COHERENCE_REPORT` makes.\n */\nexport * from \"./_core/market/market-scoring\";\nexport * from \"./_core/market/market-snapshot-validation\";\nexport * from \"./_core/market/market-tone-of-voice.schemas\";\nexport * from \"./_core/market/market-trigger.schemas\";\nexport * from \"./_core/build-plan/build-plan-task-graph.schemas\";\nexport * from \"./_core/build-plan/build-plan-task-graph-generation.schemas\";\nexport * from \"./_core/build-plan/build-plan-task-graph-validation\";\nexport * from \"./_core/build-plan/build-plan-relationship-grouping\";\nexport * from \"./_core/capability-composition/capability-composition.schemas\";\nexport * from \"./_core/capability-composition/capability-composition-validation\";\nexport * from \"./_core/website-plan/website-plan.schemas\";\nexport * from \"./_core/website-plan/website-plan-generation.schemas\";\nexport * from \"./_core/website-plan/website-plan-validation\";\nexport * from \"./_core/experience-plan/experience-plan.schemas\";\nexport * from \"./_core/experience-plan/experience-plan-generation.schemas\";\nexport * from \"./_core/experience-plan/experience-plan-validation\";\nexport * from \"./_core/integration-plan/integration-execution-surface-refs.schemas\";\nexport * from \"./_core/integration-plan/integration-plan.schemas\";\nexport * from \"./_core/integration-plan/integration-plan-generation.schemas\";\nexport * from \"./_core/integration-plan/integration-plan-validation\";\nexport * from \"./_core/compliance-posture/compliance-posture.schemas\";\nexport * from \"./_core/compliance-posture/compliance-posture-generation.schemas\";\nexport * from \"./_core/compliance-posture/compliance-posture-validation\";\nexport * from \"./_core/service-method/service-method.schemas\";\nexport * from \"./_core/service-method/service-method-generation.schemas\";\nexport * from \"./_core/service-method/service-method-validation\";\nexport * from \"./_core/service-method/service-method-derivation\";\nexport * from \"./_core/application-maturity/application-maturity.schemas\";\nexport * from \"./_core/application-maturity/application-maturity-validation\";\nexport * from \"./_core/application-maturity/application-maturity-open-items\";\nexport * from \"./_core/placement-plan/placement-plan.schemas\";\nexport * from \"./_core/placement-plan/placement-plan-generation.schemas\";\nexport * from \"./_core/placement-plan/placement-plan-validation\";\nexport * from \"./_core/requirements/functional-requirement.schemas\";\nexport * from \"./_core/requirements/non-functional-requirement.schemas\";\nexport * from \"./_core/requirements/requirement-engine-substance.schemas\";\nexport * from \"./_core/requirements/requirements-snapshot-generation.schemas\";\nexport * from \"./_core/requirements/requirements-snapshot.schemas\";\nexport * from \"./_core/requirements/requirements-snapshot-validation\";\nexport * from \"./_core/requirements/requirements-pain-coverage\";\nexport * from \"./_core/roadmap/roadmap-phase.schemas\";\nexport * from \"./_core/roadmap/roadmap-snapshot-generation.schemas\";\nexport * from \"./_core/roadmap/roadmap-snapshot.schemas\";\nexport * from \"./_core/roadmap/roadmap-snapshot-validation\";\nexport * from \"./_core/vision/vision-authored-metadata.schemas\";\nexport * from \"./_core/vision/vision-constraint.schemas\";\nexport * from \"./_core/vision/vision-idea.schemas\";\nexport * from \"./_core/vision/vision-mission.schemas\";\nexport * from \"./_core/vision/vision-problem.schemas\";\nexport * from \"./_core/vision/vision-success-criterion.schemas\";\nexport * from \"./_core/vision/vision-snapshot-generation.schemas\";\nexport * from \"./_core/vision/vision-snapshot.schemas\";\nexport * from \"./_core/vision/vision-snapshot-validation\";\nexport * from \"./application-creation/structured-artifact-landing.application-creation.schemas\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assurance-evidence-requirement-bodies.definitions.d.ts","sourceRoot":"","sources":["../../../src/assurance/assurance-evidence-requirement-bodies.definitions.ts"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,gCAAgC,EACtC,MAAM,6BAA6B,CAAC;AAgIrC,eAAO,MAAM,qCAAqC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,
|
|
1
|
+
{"version":3,"file":"assurance-evidence-requirement-bodies.definitions.d.ts","sourceRoot":"","sources":["../../../src/assurance/assurance-evidence-requirement-bodies.definitions.ts"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,gCAAgC,EACtC,MAAM,6BAA6B,CAAC;AAgIrC,eAAO,MAAM,qCAAqC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CA21M5G,CAAC"}
|
|
@@ -4820,17 +4820,19 @@ export const ASSURANCE_EVIDENCE_REQUIREMENT_BODIES = {
|
|
|
4820
4820
|
plane: AssuranceEvidenceExecutionPlane.PRODUCTION,
|
|
4821
4821
|
homeRationale: "A durable row class, and the clause exists because a service-principal binding authenticates every remote call as "
|
|
4822
4822
|
+ "one account — so without this field attribution dies at the boundary.\n\n"
|
|
4823
|
-
+ "**The
|
|
4823
|
+
+ "**The members do NOT share an emission unit, and this rationale asserted one for all of them until "
|
|
4824
4824
|
+ "2026-09-10.** Only the read-through member is one row per read-family OPERATION execution, so that a paginated "
|
|
4825
4825
|
+ "list and the count totalling its envelope are ONE access. The provider-call member is one row per outbound "
|
|
4826
4826
|
+ "call, on success and failure; the agent-tool member is one row per tool call, and its declaration insists it is "
|
|
4827
|
-
+ "a sibling of the provider member rather than a case of it
|
|
4828
|
-
+ "
|
|
4827
|
+
+ "a sibling of the provider member rather than a case of it; the agent-delegation member (#3930) is one row per "
|
|
4828
|
+
+ "delegation to a remote A2A agent, however many requests the delegation took. Asserting the operation unit "
|
|
4829
|
+
+ "across them all reports a MAJOR against working emitters.",
|
|
4829
4830
|
emittedCountLimit: { unreached: "each row carries the REAL initiating user rather than the shared service principal that made the call" },
|
|
4830
4831
|
requiredAuditEventMembers: [
|
|
4831
4832
|
CoreAuditableEventType.HTTP_API_READ_THROUGH_ACCESS,
|
|
4832
4833
|
CoreAuditableEventType.PROVIDER_OPERATION_CALL,
|
|
4833
4834
|
CoreAuditableEventType.MCP_TOOL_CALL,
|
|
4835
|
+
CoreAuditableEventType.A2A_REMOTE_AGENT_CALL,
|
|
4834
4836
|
],
|
|
4835
4837
|
},
|
|
4836
4838
|
{
|