@wildo-ai/saas-specifications 1.1.7 → 1.1.9
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/application-specification-family-identity.schemas.d.ts +9 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +9 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +136 -0
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-choice.js +193 -0
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +108 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +59 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +51 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.js +157 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +120 -0
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-view.js +47 -0
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.js +42 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +310 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +272 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +32 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +10 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +57 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +89 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +79 -19
- 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 +61 -11
- 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 +18 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +28 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +53 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +24 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +64 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +59 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js +64 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +16 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +7 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +34 -28
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +75 -4
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +62 -4
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +7 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +153 -0
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +241 -0
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +8 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +19 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +61 -3
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +73 -3
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.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 +5 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +7 -0
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-language-coverage.d.ts +62 -0
- package/dist/esm/_core/market/market-language-coverage.d.ts.map +1 -0
- package/dist/esm/_core/market/market-language-coverage.js +48 -0
- package/dist/esm/_core/market/market-language-coverage.js.map +1 -0
- package/dist/esm/_core/market/market-snapshot-validation.js +2 -2
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +63 -2
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +73 -5
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +28 -0
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +19 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +20 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +81 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/governed-document-release.d.ts +9 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +9 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +10 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +0 -24
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +0 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +0 -24
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -6,22 +6,92 @@ import { ModuleBusinessSemanticsSchema } from '../business-semantics.specificati
|
|
|
6
6
|
const NonEmptyStringSchema = z.string().trim().min(1);
|
|
7
7
|
/** Portable semantic schema claimed by a staged domain-plan candidate. */
|
|
8
8
|
export const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = 'wildo:domain-plan-output-set:v1';
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Closed conceptual cardinality carried by a planning relationship draft, ALWAYS READ FROM SOURCE TO
|
|
11
|
+
* TARGET: `<how many sources>-to-<how many targets>`, as in "many customers to one country context".
|
|
12
|
+
*
|
|
13
|
+
* ## Why `MANY_TO_ONE` exists (2026-10-01)
|
|
14
|
+
*
|
|
15
|
+
* The vocabulary used to stop at `ONE_TO_MANY`, and it named no reading direction. The ordinary
|
|
16
|
+
* foreign-key edge — "each customer belongs to one country context", the customer holding the
|
|
17
|
+
* reference — is many-to-one read from the reference holder, and it could not be said. Every model
|
|
18
|
+
* labelled it `ONE_TO_MANY` (the only label with "many" in it that is not many-to-many), and a judge
|
|
19
|
+
* reading the label source → target then called it a contradiction of its own rationale. The first
|
|
20
|
+
* real run that met it (app-creation-test-004) had three such edges; Wonder CRM's committed plan had
|
|
21
|
+
* ten, and so did the framework's own test fixture, which is why nobody noticed: the label had been
|
|
22
|
+
* wrong in the same direction everywhere it was written.
|
|
23
|
+
*
|
|
24
|
+
* ## Rejected: two per-end multiplicity fields
|
|
25
|
+
*
|
|
26
|
+
* `sourceMultiplicity` / `targetMultiplicity` (`one | many`) were considered, and rejected on the
|
|
27
|
+
* reason the defect existed: "the source's multiplicity" is itself readable both ways (UML writes a
|
|
28
|
+
* multiplicity at the end it CONSTRAINS, which is the opposite end from the one it describes). The
|
|
29
|
+
* pair label with a stated direction is what modellers, ORMs (`@ManyToOne`) and ERD tools already say,
|
|
30
|
+
* and the direction is now stated here, in the generation brief, and in the judge's criterion.
|
|
31
|
+
*
|
|
32
|
+
* The cardinality and {@link DomainRelationshipOwnershipIntent} are not independent for the two
|
|
33
|
+
* one-sided members: the "many" side of a one-to-many association is the side that holds the
|
|
34
|
+
* reference. {@link domainRelationshipOwnershipContradictsCardinality} is that rule, and the family
|
|
35
|
+
* validator refuses a draft that breaks it.
|
|
36
|
+
*/
|
|
10
37
|
export var DomainRelationshipCardinalityIntent;
|
|
11
38
|
(function (DomainRelationshipCardinalityIntent) {
|
|
39
|
+
/** Each source relates to at most one target, and each target to at most one source. Either end may hold the reference. */
|
|
12
40
|
DomainRelationshipCardinalityIntent["ONE_TO_ONE"] = "one-to-one";
|
|
41
|
+
/**
|
|
42
|
+
* One source relates to MANY targets; each target belongs to one source ("a project has many tasks",
|
|
43
|
+
* project → task). The TARGET holds the reference, so this pairs only with `TARGET_HOLDS_REFERENCE`.
|
|
44
|
+
*/
|
|
13
45
|
DomainRelationshipCardinalityIntent["ONE_TO_MANY"] = "one-to-many";
|
|
46
|
+
/**
|
|
47
|
+
* MANY sources relate to one target; each source belongs to one target ("each task belongs to one
|
|
48
|
+
* project", task → project). The SOURCE holds the reference, so this pairs only with
|
|
49
|
+
* `SOURCE_HOLDS_REFERENCE`. The ordinary foreign-key edge, read from the resource carrying the key.
|
|
50
|
+
*/
|
|
51
|
+
DomainRelationshipCardinalityIntent["MANY_TO_ONE"] = "many-to-one";
|
|
52
|
+
/** Each source relates to many targets and each target to many sources. Either end may own the association. */
|
|
14
53
|
DomainRelationshipCardinalityIntent["MANY_TO_MANY"] = "many-to-many";
|
|
15
54
|
})(DomainRelationshipCardinalityIntent || (DomainRelationshipCardinalityIntent = {}));
|
|
16
55
|
/**
|
|
17
|
-
* Conceptual ownership direction only. This does not
|
|
18
|
-
* key, junction table, discriminator, or persistence implementation.
|
|
56
|
+
* Conceptual ownership direction only: which END of the draft holds the reference. This does not
|
|
57
|
+
* choose a physical foreign key, junction table, discriminator, or persistence implementation.
|
|
58
|
+
*
|
|
59
|
+
* Fixed by the cardinality for the two one-sided cardinalities (see
|
|
60
|
+
* {@link DomainRelationshipCardinalityIntent}); a genuine choice only for one-to-one and many-to-many.
|
|
19
61
|
*/
|
|
20
62
|
export var DomainRelationshipOwnershipIntent;
|
|
21
63
|
(function (DomainRelationshipOwnershipIntent) {
|
|
22
64
|
DomainRelationshipOwnershipIntent["SOURCE_HOLDS_REFERENCE"] = "source-holds-reference";
|
|
23
65
|
DomainRelationshipOwnershipIntent["TARGET_HOLDS_REFERENCE"] = "target-holds-reference";
|
|
24
66
|
})(DomainRelationshipOwnershipIntent || (DomainRelationshipOwnershipIntent = {}));
|
|
67
|
+
/**
|
|
68
|
+
* The ownership a cardinality REQUIRES, or `undefined` when either end may hold the reference.
|
|
69
|
+
*
|
|
70
|
+
* Total over the cardinality vocabulary (the `switch` has no default), so a member added tomorrow is a
|
|
71
|
+
* compile error here rather than a silently unconstrained label.
|
|
72
|
+
*/
|
|
73
|
+
export function domainRelationshipOwnershipRequiredByCardinality(cardinality) {
|
|
74
|
+
switch (cardinality) {
|
|
75
|
+
case DomainRelationshipCardinalityIntent.MANY_TO_ONE:
|
|
76
|
+
return DomainRelationshipOwnershipIntent.SOURCE_HOLDS_REFERENCE;
|
|
77
|
+
case DomainRelationshipCardinalityIntent.ONE_TO_MANY:
|
|
78
|
+
return DomainRelationshipOwnershipIntent.TARGET_HOLDS_REFERENCE;
|
|
79
|
+
case DomainRelationshipCardinalityIntent.ONE_TO_ONE:
|
|
80
|
+
case DomainRelationshipCardinalityIntent.MANY_TO_MANY:
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* True when a draft states both intents and they cannot both be true: a one-sided cardinality whose
|
|
86
|
+
* "one" end is said to hold the reference. Undecided intents are not a contradiction — they are
|
|
87
|
+
* reported as missing by the validator, separately.
|
|
88
|
+
*/
|
|
89
|
+
export function domainRelationshipOwnershipContradictsCardinality(draft) {
|
|
90
|
+
if (draft.cardinalityIntent === undefined || draft.ownershipIntent === undefined)
|
|
91
|
+
return false;
|
|
92
|
+
const required = domainRelationshipOwnershipRequiredByCardinality(draft.cardinalityIntent);
|
|
93
|
+
return required !== undefined && required !== draft.ownershipIntent;
|
|
94
|
+
}
|
|
25
95
|
/**
|
|
26
96
|
* Persistable relationship intent. Cardinality and ownership remain optional
|
|
27
97
|
* here so an imperfect draft can be staged and diagnosed without being
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-plan-output-set.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,iCAAiC,GAAG,iCAAiC,CAAC;AAEnF,8EAA8E;AAC9E,MAAM,CAAN,IAAY,mCAIX;AAJD,WAAY,mCAAmC;IAC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D;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** Portable semantic schema claimed by a staged domain-plan candidate. */\nexport const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = 'wildo:domain-plan-output-set:v1';\n\n/** Closed conceptual cardinality carried by a planning relationship draft. */\nexport enum DomainRelationshipCardinalityIntent {\n ONE_TO_ONE = 'one-to-one',\n ONE_TO_MANY = 'one-to-many',\n MANY_TO_MANY = 'many-to-many',\n}\n\n/**\n * Conceptual ownership direction only. This does not choose a physical foreign\n * key, junction table, discriminator, or persistence implementation.\n */\nexport enum DomainRelationshipOwnershipIntent {\n SOURCE_HOLDS_REFERENCE = 'source-holds-reference',\n TARGET_HOLDS_REFERENCE = 'target-holds-reference',\n}\n\n/**\n * Persistable relationship intent. Cardinality and ownership remain optional\n * here so an imperfect draft can be staged and diagnosed without being\n * mistaken for an accepted plan. The strict generation contract and the\n * deterministic validator require them before technical success.\n */\nexport const DomainRelationshipDraftSchema = z.object({\n relationshipRef: NonEmptyStringSchema,\n sourceResourceRef: NonEmptyStringSchema,\n targetResourceRef: NonEmptyStringSchema,\n cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).systemEnum('DomainRelationshipCardinalityIntent').optional(),\n ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).systemEnum('DomainRelationshipOwnershipIntent').optional(),\n rationale: NonEmptyStringSchema.optional(),\n});\nexport type DomainRelationshipDraft = z.infer<typeof DomainRelationshipDraftSchema>;\n\n/**\n * How the application partitions its data — the ONE decision that shapes the whole model and\n * that no derivation can make.\n *\n * ## Why it lives on the domain plan\n *\n * It was asked by `bottom_up.foundation`, which runs AFTER the domain plan exists, and the comment\n * there described the plan as deliberately scope-free. That is true of the plan's FIELDS and false\n * of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked — a `workspace` module\n * owning a `workspace` resource, a `team-membership` module owning `workspace-member`, and `deal`\n * referencing `workspace-member` for owner assignment. The creator was then asked \"organizations or\n * users?\" afterwards, and answering `users` would have left two modules and a relationship that\n * nothing reconciles.\n *\n * So the question moves to where the decision is first USED, and the answer is carried in the\n * committed artifact rather than in a run's transient elicitation answers — it is a product\n * decision, and `.claude/rules/one-source-of-truth.md` puts those in git.\n *\n * ## Optional on this schema, required on the generation contract\n *\n * Optional so plans authored before the field still parse (wonder-crm and wonder-todos both do).\n * Required where a model answers, because a derivation that does not state its tenancy has made the\n * decision silently — which is the defect this field exists to end.\n */\nexport enum DomainPlanTenancyModel {\n /**\n * Users collaborate inside shared workspaces or teams. Enables the ORGANIZATIONS engine\n * capability and composes every resource organization-scoped.\n */\n ORGANIZATIONS = 'organizations',\n /** Every user's data is their own. User-scoped resources, no capability change. */\n USERS = 'users',\n}\n\n/**\n * THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.\n *\n * There is deliberately no separate `relationship-drafts` family any more (collapsed 2026-08-24).\n * The split was staging-era ceremony — the two were \"staged together under one output-set digest\",\n * i.e. never independently meaningful — and the validator crosses them (a relationship names module\n * resources), so landing them as two files would re-create the join this schema exists to avoid.\n * One family, one file, one committed value.\n */\nexport const DomainPlanOutputSetSchema = z.object({\n schemaVersion: z.literal(1),\n /**\n * At least one module, at the SCHEMA. The third instance of the vacuity class (after requirements and\n * build-plan): the first live parallel-portfolio run landed `modules: [], relationships: []` — valid\n * under the old `.default([])` shape — over the application's authored plan. A domain plan that plans\n * nothing is a refusal, never an artifact. (The strict generation schema always had `min(1)`; like\n * build-plan's, it has no caller in the playbook lane — the family schema is the effective gate.)\n */\n modules: z.array(ModuleBusinessSemanticsSchema).min(1),\n /** May be legitimately empty (a single-module app) — but must be AUTHORED empty, never defaulted. */\n relationships: z.array(DomainRelationshipDraftSchema),\n /**\n * How the application partitions its data. See {@link DomainPlanTenancyModel} for why it lives\n * here and why it is optional on this schema while required on the generation contract.\n */\n tenancy: z.enum(DomainPlanTenancyModel).optional(),\n});\nexport type DomainPlanOutputSet = z.infer<typeof DomainPlanOutputSetSchema>;\n"]}
|
|
1
|
+
{"version":3,"file":"domain-plan-output-set.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,0EAA0E;AAC1E,MAAM,CAAC,MAAM,iCAAiC,GAAG,iCAAiC,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAN,IAAY,mCAgBX;AAhBD,WAAY,mCAAmC;IAC7C,2HAA2H;IAC3H,gEAAyB,CAAA;IACzB;;;OAGG;IACH,kEAA2B,CAAA;IAC3B;;;;OAIG;IACH,kEAA2B,CAAA;IAC3B,+GAA+G;IAC/G,oEAA6B,CAAA;AAC/B,CAAC,EAhBW,mCAAmC,KAAnC,mCAAmC,QAgB9C;AAED;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,sFAAiD,CAAA;IACjD,sFAAiD,CAAA;AACnD,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAED;;;;;GAKG;AACH,MAAM,UAAU,gDAAgD,CAC9D,WAAgD;IAEhD,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AsB,KAAtB,sBAAsB,QAQjC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B;;;;;;OAMG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,qGAAqG;IACrG,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;IACrD;;;OAGG;IACH,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { ModuleBusinessSemanticsSchema } from '../business-semantics.specifications.schemas';\n\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** Portable semantic schema claimed by a staged domain-plan candidate. */\nexport const DOMAIN_PLAN_OUTPUT_SET_SCHEMA_REF = 'wildo:domain-plan-output-set:v1';\n\n/**\n * Closed conceptual cardinality carried by a planning relationship draft, ALWAYS READ FROM SOURCE TO\n * TARGET: `<how many sources>-to-<how many targets>`, as in \"many customers to one country context\".\n *\n * ## Why `MANY_TO_ONE` exists (2026-10-01)\n *\n * The vocabulary used to stop at `ONE_TO_MANY`, and it named no reading direction. The ordinary\n * foreign-key edge — \"each customer belongs to one country context\", the customer holding the\n * reference — is many-to-one read from the reference holder, and it could not be said. Every model\n * labelled it `ONE_TO_MANY` (the only label with \"many\" in it that is not many-to-many), and a judge\n * reading the label source → target then called it a contradiction of its own rationale. The first\n * real run that met it (app-creation-test-004) had three such edges; Wonder CRM's committed plan had\n * ten, and so did the framework's own test fixture, which is why nobody noticed: the label had been\n * wrong in the same direction everywhere it was written.\n *\n * ## Rejected: two per-end multiplicity fields\n *\n * `sourceMultiplicity` / `targetMultiplicity` (`one | many`) were considered, and rejected on the\n * reason the defect existed: \"the source's multiplicity\" is itself readable both ways (UML writes a\n * multiplicity at the end it CONSTRAINS, which is the opposite end from the one it describes). The\n * pair label with a stated direction is what modellers, ORMs (`@ManyToOne`) and ERD tools already say,\n * and the direction is now stated here, in the generation brief, and in the judge's criterion.\n *\n * The cardinality and {@link DomainRelationshipOwnershipIntent} are not independent for the two\n * one-sided members: the \"many\" side of a one-to-many association is the side that holds the\n * reference. {@link domainRelationshipOwnershipContradictsCardinality} is that rule, and the family\n * validator refuses a draft that breaks it.\n */\nexport enum DomainRelationshipCardinalityIntent {\n /** Each source relates to at most one target, and each target to at most one source. Either end may hold the reference. */\n ONE_TO_ONE = 'one-to-one',\n /**\n * One source relates to MANY targets; each target belongs to one source (\"a project has many tasks\",\n * project → task). The TARGET holds the reference, so this pairs only with `TARGET_HOLDS_REFERENCE`.\n */\n ONE_TO_MANY = 'one-to-many',\n /**\n * MANY sources relate to one target; each source belongs to one target (\"each task belongs to one\n * project\", task → project). The SOURCE holds the reference, so this pairs only with\n * `SOURCE_HOLDS_REFERENCE`. The ordinary foreign-key edge, read from the resource carrying the key.\n */\n MANY_TO_ONE = 'many-to-one',\n /** Each source relates to many targets and each target to many sources. Either end may own the association. */\n MANY_TO_MANY = 'many-to-many',\n}\n\n/**\n * Conceptual ownership direction only: which END of the draft holds the reference. This does not\n * choose a physical foreign key, junction table, discriminator, or persistence implementation.\n *\n * Fixed by the cardinality for the two one-sided cardinalities (see\n * {@link DomainRelationshipCardinalityIntent}); a genuine choice only for one-to-one and many-to-many.\n */\nexport enum DomainRelationshipOwnershipIntent {\n SOURCE_HOLDS_REFERENCE = 'source-holds-reference',\n TARGET_HOLDS_REFERENCE = 'target-holds-reference',\n}\n\n/**\n * The ownership a cardinality REQUIRES, or `undefined` when either end may hold the reference.\n *\n * Total over the cardinality vocabulary (the `switch` has no default), so a member added tomorrow is a\n * compile error here rather than a silently unconstrained label.\n */\nexport function domainRelationshipOwnershipRequiredByCardinality(\n cardinality: DomainRelationshipCardinalityIntent,\n): DomainRelationshipOwnershipIntent | undefined {\n switch (cardinality) {\n case DomainRelationshipCardinalityIntent.MANY_TO_ONE:\n return DomainRelationshipOwnershipIntent.SOURCE_HOLDS_REFERENCE;\n case DomainRelationshipCardinalityIntent.ONE_TO_MANY:\n return DomainRelationshipOwnershipIntent.TARGET_HOLDS_REFERENCE;\n case DomainRelationshipCardinalityIntent.ONE_TO_ONE:\n case DomainRelationshipCardinalityIntent.MANY_TO_MANY:\n return undefined;\n }\n}\n\n/**\n * True when a draft states both intents and they cannot both be true: a one-sided cardinality whose\n * \"one\" end is said to hold the reference. Undecided intents are not a contradiction — they are\n * reported as missing by the validator, separately.\n */\nexport function domainRelationshipOwnershipContradictsCardinality(draft: {\n readonly cardinalityIntent?: DomainRelationshipCardinalityIntent | undefined;\n readonly ownershipIntent?: DomainRelationshipOwnershipIntent | undefined;\n}): boolean {\n if (draft.cardinalityIntent === undefined || draft.ownershipIntent === undefined) return false;\n const required = domainRelationshipOwnershipRequiredByCardinality(draft.cardinalityIntent);\n return required !== undefined && required !== draft.ownershipIntent;\n}\n\n/**\n * Persistable relationship intent. Cardinality and ownership remain optional\n * here so an imperfect draft can be staged and diagnosed without being\n * mistaken for an accepted plan. The strict generation contract and the\n * deterministic validator require them before technical success.\n */\nexport const DomainRelationshipDraftSchema = z.object({\n relationshipRef: NonEmptyStringSchema,\n sourceResourceRef: NonEmptyStringSchema,\n targetResourceRef: NonEmptyStringSchema,\n cardinalityIntent: z.enum(DomainRelationshipCardinalityIntent).systemEnum('DomainRelationshipCardinalityIntent').optional(),\n ownershipIntent: z.enum(DomainRelationshipOwnershipIntent).systemEnum('DomainRelationshipOwnershipIntent').optional(),\n rationale: NonEmptyStringSchema.optional(),\n});\nexport type DomainRelationshipDraft = z.infer<typeof DomainRelationshipDraftSchema>;\n\n/**\n * How the application partitions its data — the ONE decision that shapes the whole model and\n * that no derivation can make.\n *\n * ## Why it lives on the domain plan\n *\n * It was asked by `bottom_up.foundation`, which runs AFTER the domain plan exists, and the comment\n * there described the plan as deliberately scope-free. That is true of the plan's FIELDS and false\n * of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked — a `workspace` module\n * owning a `workspace` resource, a `team-membership` module owning `workspace-member`, and `deal`\n * referencing `workspace-member` for owner assignment. The creator was then asked \"organizations or\n * users?\" afterwards, and answering `users` would have left two modules and a relationship that\n * nothing reconciles.\n *\n * So the question moves to where the decision is first USED, and the answer is carried in the\n * committed artifact rather than in a run's transient elicitation answers — it is a product\n * decision, and `.claude/rules/one-source-of-truth.md` puts those in git.\n *\n * ## Optional on this schema, required on the generation contract\n *\n * Optional so plans authored before the field still parse (wonder-crm and wonder-todos both do).\n * Required where a model answers, because a derivation that does not state its tenancy has made the\n * decision silently — which is the defect this field exists to end.\n */\nexport enum DomainPlanTenancyModel {\n /**\n * Users collaborate inside shared workspaces or teams. Enables the ORGANIZATIONS engine\n * capability and composes every resource organization-scoped.\n */\n ORGANIZATIONS = 'organizations',\n /** Every user's data is their own. User-scoped resources, no capability change. */\n USERS = 'users',\n}\n\n/**\n * THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.\n *\n * There is deliberately no separate `relationship-drafts` family any more (collapsed 2026-08-24).\n * The split was staging-era ceremony — the two were \"staged together under one output-set digest\",\n * i.e. never independently meaningful — and the validator crosses them (a relationship names module\n * resources), so landing them as two files would re-create the join this schema exists to avoid.\n * One family, one file, one committed value.\n */\nexport const DomainPlanOutputSetSchema = z.object({\n schemaVersion: z.literal(1),\n /**\n * At least one module, at the SCHEMA. The third instance of the vacuity class (after requirements and\n * build-plan): the first live parallel-portfolio run landed `modules: [], relationships: []` — valid\n * under the old `.default([])` shape — over the application's authored plan. A domain plan that plans\n * nothing is a refusal, never an artifact. (The strict generation schema always had `min(1)`; like\n * build-plan's, it has no caller in the playbook lane — the family schema is the effective gate.)\n */\n modules: z.array(ModuleBusinessSemanticsSchema).min(1),\n /** May be legitimately empty (a single-module app) — but must be AUTHORED empty, never defaulted. */\n relationships: z.array(DomainRelationshipDraftSchema),\n /**\n * How the application partitions its data. See {@link DomainPlanTenancyModel} for why it lives\n * here and why it is optional on this schema while required on the generation contract.\n */\n tenancy: z.enum(DomainPlanTenancyModel).optional(),\n});\nexport type DomainPlanOutputSet = z.infer<typeof DomainPlanOutputSetSchema>;\n"]}
|
|
@@ -15,7 +15,7 @@ export const EXPERIENCE_PLAN_FAMILY_ASPECTS = {
|
|
|
15
15
|
/* Where the surface lives, and what it is over — both decided elements the domain plan owns. */
|
|
16
16
|
{ field: 'moduleRef', targetAspects: ['domain-plan.module'] },
|
|
17
17
|
{ field: 'resourceRef', targetAspects: ['domain-plan.resource'] },
|
|
18
|
-
/* What asked for it —
|
|
18
|
+
/* What asked for it — five of the targets a build task's `servesRefs` addresses (a task also names constraints, pricing plans and the brand). */
|
|
19
19
|
{
|
|
20
20
|
field: 'servesRefs',
|
|
21
21
|
targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experience-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErK,MAAM,CAAC,MAAM,8BAA8B,GAA6B;IACtE,SAAS,EAAE,+CAA+C,CAAC,eAAe;IAC1E,OAAO,EAAE;QACP;YACE,GAAG,EAAE,sBAAsB;YAC3B,YAAY,EAAE,OAAO;YACrB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,wBAAwB;YACpC,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL,gGAAgG;gBAChG,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,oBAAoB,CAAC,EAAE;gBAC7D,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACjE,
|
|
1
|
+
{"version":3,"file":"experience-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErK,MAAM,CAAC,MAAM,8BAA8B,GAA6B;IACtE,SAAS,EAAE,+CAA+C,CAAC,eAAe;IAC1E,OAAO,EAAE;QACP;YACE,GAAG,EAAE,sBAAsB;YAC3B,YAAY,EAAE,OAAO;YACrB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,wBAAwB;YACpC,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL,gGAAgG;gBAChG,EAAE,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,oBAAoB,CAAC,EAAE;gBAC7D,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACjE,iJAAiJ;gBACjJ;oBACE,KAAK,EAAE,YAAY;oBACnB,aAAa,EAAE,CAAC,yBAAyB,EAAE,6BAA6B,EAAE,eAAe,EAAE,sBAAsB,EAAE,0BAA0B,CAAC;iBAC/I;aACF;YACD,gBAAgB,EAAE;gBAChB,mBAA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,EAAE;gBACjE;oBACE,KAAK,EAAE,YAAY;oBACnB,aAAa,EAAE,CAAC,yBAAyB,EAAE,6BAA6B,EAAE,eAAe,EAAE,sBAAsB,EAAE,0BAA0B,CAAC;iBAC/I;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { ExperienceConfigurationPlanSchema, ExperienceGuidancePlanSchema, ExperienceMilestonePlanSchema, ExperienceViewPlanSchema } from './experience-plan.schemas';\n\nexport const EXPERIENCE_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.EXPERIENCE_PLAN,\n aspects: [\n {\n key: 'experience-plan.view',\n snapshotPath: 'views',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceViewPlanSchema,\n businessKey: 'viewRef',\n headlineField: 'purpose',\n edges: [\n /* Where the surface lives, and what it is over — both decided elements the domain plan owns. */\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n { field: 'resourceRef', targetAspects: ['domain-plan.resource'] },\n /* What asked for it — five of the targets a build task's `servesRefs` addresses (a task also names constraints, pricing plans and the brand). */\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n nonEdgeRefFields: {\n reusesComponentRefs: \"engine PRESET component refs — the framework's own catalogue, not a decided element of this application\",\n },\n },\n {\n key: 'experience-plan.configuration',\n snapshotPath: 'configurations',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceConfigurationPlanSchema,\n businessKey: 'surface',\n headlineField: 'rationale',\n edges: [],\n nonEdgeRefFields: {\n declarationRefs: 'the named things the configuration file gains — a sidebar section, a zone, a token of the BUILT application',\n },\n },\n {\n key: 'experience-plan.milestone',\n snapshotPath: 'milestones',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceMilestonePlanSchema,\n businessKey: 'milestoneRef',\n headlineField: 'purpose',\n edges: [\n /* The module that declares it, and the resource whose operation earns it. */\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n { field: 'triggerResourceRef', targetAspects: ['domain-plan.resource'] },\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n },\n {\n key: 'experience-plan.guidance',\n snapshotPath: 'guidance',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ExperienceGuidancePlanSchema,\n businessKey: 'guidanceRef',\n headlineField: 'purpose',\n edges: [\n { field: 'moduleRef', targetAspects: ['domain-plan.module'] },\n /* The milestones a person must hold first — the link that makes the journey readable as one path. */\n { field: 'gatedByMilestoneRefs', targetAspects: ['experience-plan.milestone'] },\n /* The planned view that embeds a document. A ref to a view the tree already has routes nowhere, and stays readable in the item. */\n { field: 'hostViewRef', targetAspects: ['experience-plan.view'] },\n {\n field: 'servesRefs',\n targetAspects: ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'],\n },\n ],\n },\n ],\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experience-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC,OAAO,EACL,uBAAuB,EACvB,KAAK,oBAAoB,EAEzB,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,oBAAY,qBAAqB;IAC/B,EAAE,OAAO;CACV;AAED,iIAAiI;AACjI,eAAO,MAAM,0BAA0B,UAA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MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,4FAA4F;AAC5F,eAAO,MAAM,4BAA4B;IACvC,2GAA2G;;;IAG3G,kEAAkE;;IAElE;;;;;;;;;;OAUG;;IAEH,qFAAqF;;IAErF;;;;OAIG;;;kBAGH,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;QA1G/B,wFAAwF;;;QAGxF,4EAA4E;;QAE5E;;;;;WAKG;;QAEH,0FAA0F;;QAE1F;;;;;;;WAOG;;QAEH,mHAAmH;;;;;QAQnH;;;;;WAKG;;QAEH,gFAAgF;;;;QAchF;;;;WAIG;;QAEH,kFAAkF;;QAElF,qDAAqD;;QAErD,yFAAyF;;;;;QAQzF,2GAA2G;;;QAG3G,kEAAkE;;QAElE;;;;;;;;;;WAUG;;QAEH,qFAAqF;;QAErF;;;;WAIG;;;;iBAyFH,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,oDAAoD;AAEpD;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"experience-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC,OAAO,EACL,uBAAuB,EACvB,KAAK,oBAAoB,EAEzB,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,oBAAY,q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OAIG;;IAEH,kFAAkF;;IAElF,qDAAqD;;IAErD,yFAAyF;;;kBAGzF,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,4FAA4F;AAC5F,eAAO,MAAM,4BAA4B;IACvC,2GAA2G;;;IAG3G,kEAAkE;;IAElE;;;;;;;;;;OAUG;;IAEH,qFAAqF;;IAErF;;;;OAIG;;;kBAGH,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;QA1G/B,wFAAwF;;;QAGxF,4EAA4E;;QAE5E;;;;;WAKG;;QAEH,0FAA0F;;QAE1F;;;;;;;WAOG;;QAEH,mHAAmH;;;;;QAQnH;;;;;WAKG;;QAEH,gFAAgF;;;;QAchF;;;;WAIG;;QAEH,kFAAkF;;QAElF,qDAAqD;;QAErD,yFAAyF;;;;;QAQzF,2GAA2G;;;QAG3G,kEAAkE;;QAElE;;;;;;;;;;WAUG;;QAEH,qFAAqF;;QAErF;;;;WAIG;;;;iBAyFH,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,oDAAoD;AAEpD;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,MAAM,EAAE,CAgDpH"}
|
|
@@ -346,6 +346,7 @@ export function experienceProductSkillRefs(product, plan) {
|
|
|
346
346
|
case BuildPlanTaskProductKind.WEBSITE_PAGE:
|
|
347
347
|
case BuildPlanTaskProductKind.WEBSITE_SECTION:
|
|
348
348
|
case BuildPlanTaskProductKind.DOCUMENTATION_CHAPTER:
|
|
349
|
+
case BuildPlanTaskProductKind.APPLICATION_DATA_SEED:
|
|
349
350
|
case BuildPlanTaskProductKind.INBOUND_CHANNEL_HANDLER:
|
|
350
351
|
case BuildPlanTaskProductKind.APPLICATION_BILLING_PRODUCT:
|
|
351
352
|
return [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experience-plan.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EACL,uBAAuB,EAEvB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,6CAA6C,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,CAAN,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,kCAAS,CAAA;AACX,CAAC,EAFW,qBAAqB,KAArB,qBAAqB,QAEhC;AAED,iIAAiI;AACjI,MAAM,CAAC,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAElD;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC5B,qFAAqF;IACrF,yEAAmD,CAAA;IACnD,6EAA6E;IAC7E,mEAA6C,CAAA;IAC7C,0EAA0E;IAC1E,yEAAmD,CAAA;IACnD,qEAAqE;IACrE,iEAA2C,CAAA;IAC3C,2FAA2F;IAC3F,2DAAqC,CAAA;IACrC,sFAAsF;IACtF,2DAAqC,CAAA;AACvC,CAAC,EAbW,kBAAkB,KAAlB,kBAAkB,QAa7B;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAiD;IACrF,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,EAAE,0BAA0B;IACxE,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,EAAE,uBAAuB;IAClE,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,EAAE,2BAA2B;IACzE,CA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CAAC,kCAAkC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;QACrE,KAAK,wBAAwB,CAAC,qBAAqB;YACjD,OAAO,CAAC,8BAA8B,CAAC,CAAC;QAC1C,KAAK,wBAAwB,CAAC,oBAAoB;YAChD,OAAO,CAAC,6BAA6B,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;QAC/D,mGAAmG;QACnG,wFAAwF;QACxF,KAAK,wBAAwB,CAAC,sBAAsB,CAAC;QACrD,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;QACpD,KAAK,wBAAwB,CAAC,oBAAoB,CAAC;QACnD,KAAK,wBAAwB,CAAC,sBAAsB,CAAC;QACrD,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;QACpD,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,oBAAoB,CAAC;QACnD,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,YAAY,CAAC;QAC3C,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,gBAAgB,CAAC;QAC/C,KAAK,wBAAwB,CAAC,YAAY,CAAC;QAC3C,KAAK,wBAAwB,CAAC,eAAe,CAAC;QAC9C,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;QACpD,KAAK,wBAAwB,CAAC,uBAAuB,CAAC;QACtD,KAAK,wBAAwB,CAAC,2BAA2B;YACvD,OAAO,EAAE,CAAC;QACZ,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,YAAY,GAAU,OAAO,CAAC;YACpC,OAAO,YAAY,CAAC;QACtB,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport {\n ApplicationGuidanceKind,\n type BuildPlanTaskProduct,\n BuildPlanTaskProductKind,\n FrontendConfigSurface,\n} from '../build-plan/build-plan-task-graph.schemas';\n\n/**\n * @wildo_source:part:start experience-plan.config facet:layer:specification facet:family:experience-plan\n *\n * WHAT THE APPLICATION'S EXPERIENCE IS — which views it carries beyond a resource's own list and\n * read, how its shell and navigation are composed, which preset components its views reuse (#1493),\n * and the JOURNEY a new person takes through it: the milestones it recognises and the guidance that\n * gets them there.\n *\n * ## Why this family exists\n *\n * Nine view skills and three configuration skills ship in the framework, and **no playbook named\n * one of them** (measured 2026-09-22). The decomposer was told to emit tasks for \"app-level\n * composite views, navigation, layouts, the app shell, design-system application, charts\" with no\n * source of truth for what the experience should BE — so every such task was improvised per run, and\n * which preset components a view reused was left to the coding agent at dispatch time.\n *\n * ## Why a plan rather than tasks\n *\n * The same reason the website plan is one: the build plan has ONE producer, and a second destroys\n * the first's output (#895). This family carries the DECISIONS; `bottom_up.build-decompose` turns\n * each view into a task over the matching product kind, each configuration into an\n * `APPLICATION_FRONTEND_CONFIG` task, each milestone into an `APPLICATION_MILESTONE` task and each\n * piece of guidance into an `APPLICATION_GUIDANCE` task, binding each to the skill its KIND names.\n *\n * ## What it is NOT\n *\n * It is not the PLACEMENT plan. Placement decides WHERE a decided subject sits in the shell — which\n * rail category, which sidebar section — and is an expert-panel deliberation over subjects that\n * already exist. This decides WHICH SURFACES EXIST at all: that there is a pipeline composite view,\n * that the sidebar carries a \"Work\" section, that the design system takes the brand's visual tone.\n * A placement of a view this plan never proposed places nothing.\n */\nexport enum ExperiencePlanVersion {\n V1 = 'v1',\n}\n\n/** Stable prefix every planned experience-view ref carries; the trusted runtime stamps it, a provider supplies only the slug. */\nexport const EXPERIENCE_VIEW_REF_PREFIX = 'view-';\n\n/**\n * WHAT KIND of surface a planned view is — a closed vocabulary, because each member names both the\n * build-plan product kind that proves it landed and the SKILL that authors it.\n *\n * The six members are the six ways this framework lets an application add a surface beyond a\n * resource's own generated screens. A seventh way would need a skill and a product kind before it\n * could be planned, which is the point of the vocabulary being closed.\n */\nexport enum ExperienceViewKind {\n /** A cross-resource workspace hung off one resource — its `compositeViews` entry. */\n RESOURCE_COMPOSITE_VIEW = 'RESOURCE_COMPOSITE_VIEW',\n /** A custom screen for one resource operation (a wizard, a bespoke read). */\n RESOURCE_CUSTOM_VIEW = 'RESOURCE_CUSTOM_VIEW',\n /** A view that drives a long-running execution and shows its progress. */\n RESOURCE_EXECUTION_VIEW = 'RESOURCE_EXECUTION_VIEW',\n /** A chart over one resource's rows, declared in its ui-behavior. */\n RESOURCE_CHART_VIEW = 'RESOURCE_CHART_VIEW',\n /** An application-level view or dashboard, owned by a module rather than by a resource. */\n APPLICATION_VIEW = 'APPLICATION_VIEW',\n /** A custom frontend component several views reuse — registered by `componentRef`. */\n CUSTOM_COMPONENT = 'CUSTOM_COMPONENT',\n}\n\n/**\n * The app-knowledge skill that authors each view kind — TOTAL over the vocabulary, so a kind added\n * tomorrow must name the skill that builds it or fail to compile.\n *\n * This is what makes the view skills REACHABLE: the build dispatch DERIVES each experience task's\n * skill from its product through {@link experienceProductSkillRefs} and loads it first, rather than\n * trusting the decomposer's model to recall folder names. Held to the authored catalog by a test in the\n * framework-knowledge package — this layer cannot import the skills, and a ref naming no folder is\n * a task the router cannot answer.\n */\nexport const EXPERIENCE_VIEW_SKILL_REF: Readonly<Record<ExperienceViewKind, string>> = {\n [ExperienceViewKind.RESOURCE_COMPOSITE_VIEW]: 'views-add-composite-view',\n [ExperienceViewKind.RESOURCE_CUSTOM_VIEW]: 'views-add-custom-view',\n [ExperienceViewKind.RESOURCE_EXECUTION_VIEW]: 'views-execution-authoring',\n [ExperienceViewKind.RESOURCE_CHART_VIEW]: 'views-chart-authoring',\n [ExperienceViewKind.APPLICATION_VIEW]: 'views-app-level',\n [ExperienceViewKind.CUSTOM_COMPONENT]: 'engine-component-registration',\n};\n\n/**\n * The skill that authors each application-wide configuration surface — total over\n * {@link FrontendConfigSurface}, for the same reason and by the same mechanism.\n *\n * `GLOBAL_VIEWS` shares `views-app-level`: the global-views config is where an app-level view is\n * registered as a launcher entry, and that skill owns both halves. Sharing is honest here — two\n * surfaces, one authoring vocabulary — where inventing a second skill for the same knowledge would\n * be the drift this map exists to prevent.\n */\nexport const EXPERIENCE_CONFIGURATION_SKILL_REF: Readonly<Record<FrontendConfigSurface, string>> = {\n [FrontendConfigSurface.NAVIGATION]: 'config-navigation',\n [FrontendConfigSurface.DESIGN_SYSTEM]: 'config-design-system',\n [FrontendConfigSurface.APP_SHELL]: 'config-app-shell',\n [FrontendConfigSurface.GLOBAL_VIEWS]: 'views-app-level',\n};\n\n/**\n * The skill that authors a planned milestone. One skill, so a constant rather than a map: every\n * milestone is declared the same way, whatever it recognises.\n */\nexport const EXPERIENCE_MILESTONE_SKILL_REF = 'milestones-and-celebrations';\n\n/**\n * The skill that authors each kind of planned guidance — total over {@link ApplicationGuidanceKind}.\n * Both kinds share one skill because choosing between them is the first decision that skill teaches;\n * splitting it would split the one comparison a person authoring guidance needs.\n */\nexport const EXPERIENCE_GUIDANCE_SKILL_REF: Readonly<Record<ApplicationGuidanceKind, string>> = {\n [ApplicationGuidanceKind.ONBOARDING_DOCUMENT]: 'guidance-onboarding-authoring',\n [ApplicationGuidanceKind.GUIDANCE_FLOW]: 'guidance-onboarding-authoring',\n};\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * The OWN key of a milestone or guidance entry (`milestoneRef`, `guidanceRef`) — the same slug grammar as\n * the module and resource refs beside it, declared apart from those POINTING fields.\n */\nconst ExperienceEntryKeySchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** One surface the application gains beyond its resources' generated screens. */\nexport const ExperienceViewPlanSchema = z.strictObject({\n /** `view-<slug>`, stamped by the trusted runtime; the build task's product names it. */\n viewRef: z.string().regex(new RegExp(`^${EXPERIENCE_VIEW_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n kind: z.enum(ExperienceViewKind).systemEnum('ExperienceViewKind'),\n /** The module that owns it — its frontend tree is where the task writes. */\n moduleRef: SlugSchema,\n /**\n * The resource it hangs off, for the four resource-scoped kinds. Absent for an `APPLICATION_VIEW`\n * and a `CUSTOM_COMPONENT`, which belong to the module rather than to one resource — the graph\n * refinement below holds the two halves together, because a composite view with no resource has\n * nothing to compose and an application view with one is mis-declared.\n */\n resourceRef: SlugSchema.optional(),\n /** What a person does on this surface that they cannot do on a generated list or read. */\n purpose: NonEmptyStringSchema,\n /**\n * The PRESET components this surface reuses, by their catalogue refs (#1376).\n *\n * Declared rather than left to the coding agent, which is the whole reason this field exists: an\n * agent with no catalogue in front of it builds a custom view out of raw elements, bypassing the\n * theme, the surface policy and the accessibility behaviour every preset carries. Naming them\n * here puts the decision in the plan a person reviews.\n */\n reusesComponentRefs: z.array(NonEmptyStringSchema).default([]),\n /** What this surface is accountable to — requirement, feature-draft or roadmap refs. Traceability, never scope. */\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceViewPlan = z.infer<typeof ExperienceViewPlanSchema>;\n\n/** One application-wide frontend configuration surface, and what this application declares in it. */\nexport const ExperienceConfigurationPlanSchema = z.strictObject({\n surface: z.enum(FrontendConfigSurface).systemEnum('FrontendConfigSurface'),\n /**\n * The named things this surface gains — a sidebar section ref, a navigation zone, a design token\n * the brand decides. At least one: the config FILES are written by `wildo init`, so a\n * configuration decision that names nothing is true before any task runs, which is the vacuity\n * the build plan's `produces` exists to refuse.\n */\n declarationRefs: z.array(NonEmptyStringSchema).min(1),\n /** Why this application's shell, navigation or palette is composed this way. */\n rationale: NonEmptyStringSchema,\n});\nexport type ExperienceConfigurationPlan = z.infer<typeof ExperienceConfigurationPlanSchema>;\n\n/**\n * One moment the application recognises — a person's first project, their tenth completed task.\n *\n * Planned here rather than improvised at build time because it is a product decision a reviewer\n * wants to see: which moments are worth celebrating is what the application says about itself. HOW\n * each one celebrates (level, mode) is the authoring skill's decision, made with the code in front\n * of it.\n */\nexport const ExperienceMilestonePlanSchema = z.strictObject({\n /**\n * The milestone's identifier, as a slug — `first-project-created` is declared\n * `FIRST_PROJECT_CREATED` in the module's `milestones.ts`. No prefix is stamped: the identifier\n * is what the code spells, and a prefix would be a second name for one thing.\n */\n milestoneRef: ExperienceEntryKeySchema,\n /** The module that declares it — its `milestones.ts` is where the task writes. */\n moduleRef: SlugSchema,\n /** The resource whose operation counts toward it. */\n triggerResourceRef: SlugSchema,\n /** The moment, in the person's terms: what they did, and why it is worth recognising. */\n purpose: NonEmptyStringSchema,\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceMilestonePlan = z.infer<typeof ExperienceMilestonePlanSchema>;\n\n/** One piece of guidance — an embedded onboarding document or a triggered guidance flow. */\nexport const ExperienceGuidancePlanSchema = z.strictObject({\n /** The document's or flow's ref, as a slug — it keys every person's saved progress, so it stays stable. */\n guidanceRef: ExperienceEntryKeySchema,\n kind: z.enum(ApplicationGuidanceKind).systemEnum('ApplicationGuidanceKind'),\n /** The module that declares it — its frontend module lists it. */\n moduleRef: SlugSchema,\n /**\n * The view that EMBEDS it — required for an `ONBOARDING_DOCUMENT`, forbidden for a `GUIDANCE_FLOW`.\n *\n * A document is shown only where a view renders it with `EmbedOnboarding`, so one with no host is\n * declared and seen by nobody — and its build task would still land, because landing reads the\n * declaration. Naming the host puts the placement in the plan a person reviews and in the task's\n * objective. A planned view's ref, or the ref of a view the application already has — in EITHER case\n * a view of the SAME module: the document's build task writes only inside its module, so a host\n * elsewhere is one it could not edit. A flow is started by its trigger and has no host, so naming one\n * would claim a placement that does not exist.\n */\n hostViewRef: NonEmptyStringSchema.optional(),\n /** Where the person is or what they just did, and what this gets them to do next. */\n purpose: NonEmptyStringSchema,\n /**\n * Milestones a person must already hold before this appears — a flow's audience gate. Planned\n * milestones or ones the application already declares; the refinement below cannot tell which,\n * so it does not refuse an unplanned ref.\n */\n gatedByMilestoneRefs: z.array(SlugSchema).default([]),\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceGuidancePlan = z.infer<typeof ExperienceGuidancePlanSchema>;\n\n/**\n * THE experience-plan payload.\n *\n * **Artifact-family id: `experience-plan`.** Produced by `bottom_up.experience-plan`, consumed by\n * `bottom_up.build-decompose`, which emits one task per view, per configuration surface, per\n * milestone and per piece of guidance.\n */\nexport const ExperiencePlanSchema = z.object({\n version: z.enum(ExperiencePlanVersion).default(ExperiencePlanVersion.V1),\n views: z.array(ExperienceViewPlanSchema).default([]),\n /**\n * The configuration surfaces this application composes. At least ONE, and it is always the same\n * one in practice: an application whose navigation and shell are left at the scaffold's defaults\n * has no home, no sidebar entry for its own modules and no palette of its own — which is the\n * \"four typechecks and no product\" state this lane exists to end.\n */\n configurations: z.array(ExperienceConfigurationPlanSchema).min(1),\n /** The moments the application recognises. Empty is legitimate and is a finding, not a refusal. */\n milestones: z.array(ExperienceMilestonePlanSchema).default([]),\n /** The guidance that carries a new person to those moments. */\n guidance: z.array(ExperienceGuidancePlanSchema).default([]),\n}).superRefine((plan, context) => {\n const viewRefs = new Set<string>();\n plan.views.forEach((view, index) => {\n if (viewRefs.has(view.viewRef)) {\n context.addIssue({ code: 'custom', message: `duplicate view ref ${view.viewRef}`, path: ['views', index, 'viewRef'] });\n }\n viewRefs.add(view.viewRef);\n /*\n * The resource half, in BOTH directions. A composite, custom, execution or chart view is\n * declared in ONE resource's ui-behavior, so a plan that omits the resource names a file the\n * build lane cannot find; an application view or a component declared WITH one claims a home it\n * does not have. Both are mis-declarations a reader cannot see and a task would fail on.\n */\n const isResourceScoped = view.kind !== ExperienceViewKind.APPLICATION_VIEW && view.kind !== ExperienceViewKind.CUSTOM_COMPONENT;\n if (isResourceScoped && view.resourceRef === undefined) {\n context.addIssue({ code: 'custom', message: `a ${view.kind} is declared in one resource's ui-behavior and this one names no resource`, path: ['views', index, 'resourceRef'] });\n }\n if (!isResourceScoped && view.resourceRef !== undefined) {\n context.addIssue({ code: 'custom', message: `a ${view.kind} belongs to its module rather than to one resource, and this one names ${view.resourceRef}`, path: ['views', index, 'resourceRef'] });\n }\n });\n const surfaces = new Set<FrontendConfigSurface>();\n plan.configurations.forEach((configuration, index) => {\n if (surfaces.has(configuration.surface)) {\n context.addIssue({ code: 'custom', message: `the ${configuration.surface} surface is decided twice; one file, one decision`, path: ['configurations', index, 'surface'] });\n }\n surfaces.add(configuration.surface);\n });\n // One identifier, one milestone; one ref, one guidance — each keys runtime state per person.\n const milestoneRefs = new Set<string>();\n plan.milestones.forEach((milestone, index) => {\n if (milestoneRefs.has(milestone.milestoneRef)) {\n context.addIssue({ code: 'custom', message: `duplicate milestone ${milestone.milestoneRef}`, path: ['milestones', index, 'milestoneRef'] });\n }\n milestoneRefs.add(milestone.milestoneRef);\n });\n const guidanceRefs = new Set<string>();\n const viewModuleByRef = new Map(plan.views.map((view) => [view.viewRef, view.moduleRef] as const));\n plan.guidance.forEach((guidance, index) => {\n if (guidanceRefs.has(guidance.guidanceRef)) {\n context.addIssue({ code: 'custom', message: `duplicate guidance ref ${guidance.guidanceRef}`, path: ['guidance', index, 'guidanceRef'] });\n }\n guidanceRefs.add(guidance.guidanceRef);\n // The host half, in both directions — the same shape as a view's resource.\n const isDocument = guidance.kind === ApplicationGuidanceKind.ONBOARDING_DOCUMENT;\n if (isDocument && guidance.hostViewRef === undefined) {\n context.addIssue({ code: 'custom', message: `onboarding document ${guidance.guidanceRef} names no host view, so nothing would show it`, path: ['guidance', index, 'hostViewRef'] });\n }\n // A PLANNED host is checkable: it must belong to the document's module, or the build task that\n // places the document cannot write to it. An existing view's module is not in the plan to compare.\n const hostModuleRef = guidance.hostViewRef === undefined ? undefined : viewModuleByRef.get(guidance.hostViewRef);\n if (isDocument && hostModuleRef !== undefined && hostModuleRef !== guidance.moduleRef) {\n context.addIssue({\n code: 'custom',\n message: `onboarding document ${guidance.guidanceRef} belongs to ${guidance.moduleRef} but its host ${guidance.hostViewRef} belongs to ${hostModuleRef}; a document is declared by the module whose view shows it`,\n path: ['guidance', index, 'hostViewRef'],\n });\n }\n if (!isDocument && guidance.hostViewRef !== undefined) {\n context.addIssue({ code: 'custom', message: `guidance flow ${guidance.guidanceRef} is started by its trigger and has no host view; it names ${guidance.hostViewRef}`, path: ['guidance', index, 'hostViewRef'] });\n }\n });\n});\nexport type ExperiencePlan = z.infer<typeof ExperiencePlanSchema>;\n/** @wildo_source:part:end experience-plan.config */\n\n/**\n * The skills an experience build product is authored with, DERIVED from its kind — the maps above,\n * applied. The build dispatch puts these first and keeps whatever the decomposer's model declared\n * after them, so a model that recalled the wrong folder, or none, still dispatches a task that loads\n * the skill its product needs.\n *\n * Every kind is answered from the product alone except one: an execution view lands as a\n * `RESOURCE_CUSTOM_VIEW` product (that is what its file is), and only the plan's entry says it is an\n * execution view. Without a plan, or for a view the plan does not carry, it is authored as the custom\n * view it is on disk. A product that is not an experience product derives nothing.\n */\nexport function experienceProductSkillRefs(product: BuildPlanTaskProduct, plan: ExperiencePlan | undefined): string[] {\n switch (product.kind) {\n case BuildPlanTaskProductKind.APPLICATION_VIEW:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.APPLICATION_VIEW]];\n case BuildPlanTaskProductKind.RESOURCE_COMPOSITE_VIEW:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.RESOURCE_COMPOSITE_VIEW]];\n case BuildPlanTaskProductKind.RESOURCE_CUSTOM_VIEW: {\n const planned = plan?.views.find((view) => view.viewRef === product.viewRef);\n return [EXPERIENCE_VIEW_SKILL_REF[planned?.kind === ExperienceViewKind.RESOURCE_EXECUTION_VIEW\n ? ExperienceViewKind.RESOURCE_EXECUTION_VIEW\n : ExperienceViewKind.RESOURCE_CUSTOM_VIEW]];\n }\n case BuildPlanTaskProductKind.RESOURCE_CHART_VIEW:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.RESOURCE_CHART_VIEW]];\n case BuildPlanTaskProductKind.CUSTOM_COMPONENT:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.CUSTOM_COMPONENT]];\n case BuildPlanTaskProductKind.APPLICATION_FRONTEND_CONFIG:\n return [EXPERIENCE_CONFIGURATION_SKILL_REF[product.configSurface]];\n case BuildPlanTaskProductKind.APPLICATION_MILESTONE:\n return [EXPERIENCE_MILESTONE_SKILL_REF];\n case BuildPlanTaskProductKind.APPLICATION_GUIDANCE:\n return [EXPERIENCE_GUIDANCE_SKILL_REF[product.guidanceKind]];\n // Not experience products — listed rather than defaulted, so a product kind added tomorrow must be\n // classified here (like the skill maps above, which are total over their vocabularies).\n case BuildPlanTaskProductKind.RESOURCE_SCHEMA_FIELDS:\n case BuildPlanTaskProductKind.RESOURCE_REGISTRATION:\n case BuildPlanTaskProductKind.RESOURCE_UI_BEHAVIOR:\n case BuildPlanTaskProductKind.RESOURCE_SPECIFICATION:\n case BuildPlanTaskProductKind.RESOURCE_RELATIONSHIP:\n case BuildPlanTaskProductKind.RESOURCE_OPERATION:\n case BuildPlanTaskProductKind.APPLICATION_DOCUMENT:\n case BuildPlanTaskProductKind.APPLICATION_MODULE:\n case BuildPlanTaskProductKind.PDF_TEMPLATE:\n case BuildPlanTaskProductKind.APPLICATION_WORKER:\n case BuildPlanTaskProductKind.APPLICATION_MINION:\n case BuildPlanTaskProductKind.PROVIDER_BINDING:\n case BuildPlanTaskProductKind.WEBSITE_PAGE:\n case BuildPlanTaskProductKind.WEBSITE_SECTION:\n case BuildPlanTaskProductKind.DOCUMENTATION_CHAPTER:\n case BuildPlanTaskProductKind.INBOUND_CHANNEL_HANDLER:\n case BuildPlanTaskProductKind.APPLICATION_BILLING_PRODUCT:\n return [];\n default: {\n const unclassified: never = product;\n return unclassified;\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"experience-plan.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/experience-plan/experience-plan.schemas.ts"],"names":[],"mappings":"AAA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;QACnG,wFAAwF;QACxF,KAAK,wBAAwB,CAAC,sBAAsB,CAAC;QACrD,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;QACpD,KAAK,wBAAwB,CAAC,oBAAoB,CAAC;QACnD,KAAK,wBAAwB,CAAC,sBAAsB,CAAC;QACrD,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;QACpD,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,oBAAoB,CAAC;QACnD,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,YAAY,CAAC;QAC3C,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,kBAAkB,CAAC;QACjD,KAAK,wBAAwB,CAAC,gBAAgB,CAAC;QAC/C,KAAK,wBAAwB,CAAC,YAAY,CAAC;QAC3C,KAAK,wBAAwB,CAAC,eAAe,CAAC;QAC9C,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;QACpD,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;QACpD,KAAK,wBAAwB,CAAC,uBAAuB,CAAC;QACtD,KAAK,wBAAwB,CAAC,2BAA2B;YACvD,OAAO,EAAE,CAAC;QACZ,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,YAAY,GAAU,OAAO,CAAC;YACpC,OAAO,YAAY,CAAC;QACtB,CAAC;IACH,CAAC;AACH,CAAC","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport {\n ApplicationGuidanceKind,\n type BuildPlanTaskProduct,\n BuildPlanTaskProductKind,\n FrontendConfigSurface,\n} from '../build-plan/build-plan-task-graph.schemas';\n\n/**\n * @wildo_source:part:start experience-plan.config facet:layer:specification facet:family:experience-plan\n *\n * WHAT THE APPLICATION'S EXPERIENCE IS — which views it carries beyond a resource's own list and\n * read, how its shell and navigation are composed, which preset components its views reuse (#1493),\n * and the JOURNEY a new person takes through it: the milestones it recognises and the guidance that\n * gets them there.\n *\n * ## Why this family exists\n *\n * Nine view skills and three configuration skills ship in the framework, and **no playbook named\n * one of them** (measured 2026-09-22). The decomposer was told to emit tasks for \"app-level\n * composite views, navigation, layouts, the app shell, design-system application, charts\" with no\n * source of truth for what the experience should BE — so every such task was improvised per run, and\n * which preset components a view reused was left to the coding agent at dispatch time.\n *\n * ## Why a plan rather than tasks\n *\n * The same reason the website plan is one: the build plan has ONE producer, and a second destroys\n * the first's output (#895). This family carries the DECISIONS; `bottom_up.build-decompose` turns\n * each view into a task over the matching product kind, each configuration into an\n * `APPLICATION_FRONTEND_CONFIG` task, each milestone into an `APPLICATION_MILESTONE` task and each\n * piece of guidance into an `APPLICATION_GUIDANCE` task, binding each to the skill its KIND names.\n *\n * ## What it is NOT\n *\n * It is not the PLACEMENT plan. Placement decides WHERE a decided subject sits in the shell — which\n * rail category, which sidebar section — and is an expert-panel deliberation over subjects that\n * already exist. This decides WHICH SURFACES EXIST at all: that there is a pipeline composite view,\n * that the sidebar carries a \"Work\" section, that the design system takes the brand's visual tone.\n * A placement of a view this plan never proposed places nothing.\n */\nexport enum ExperiencePlanVersion {\n V1 = 'v1',\n}\n\n/** Stable prefix every planned experience-view ref carries; the trusted runtime stamps it, a provider supplies only the slug. */\nexport const EXPERIENCE_VIEW_REF_PREFIX = 'view-';\n\n/**\n * WHAT KIND of surface a planned view is — a closed vocabulary, because each member names both the\n * build-plan product kind that proves it landed and the SKILL that authors it.\n *\n * The six members are the six ways this framework lets an application add a surface beyond a\n * resource's own generated screens. A seventh way would need a skill and a product kind before it\n * could be planned, which is the point of the vocabulary being closed.\n */\nexport enum ExperienceViewKind {\n /** A cross-resource workspace hung off one resource — its `compositeViews` entry. */\n RESOURCE_COMPOSITE_VIEW = 'RESOURCE_COMPOSITE_VIEW',\n /** A custom screen for one resource operation (a wizard, a bespoke read). */\n RESOURCE_CUSTOM_VIEW = 'RESOURCE_CUSTOM_VIEW',\n /** A view that drives a long-running execution and shows its progress. */\n RESOURCE_EXECUTION_VIEW = 'RESOURCE_EXECUTION_VIEW',\n /** A chart over one resource's rows, declared in its ui-behavior. */\n RESOURCE_CHART_VIEW = 'RESOURCE_CHART_VIEW',\n /** An application-level view or dashboard, owned by a module rather than by a resource. */\n APPLICATION_VIEW = 'APPLICATION_VIEW',\n /** A custom frontend component several views reuse — registered by `componentRef`. */\n CUSTOM_COMPONENT = 'CUSTOM_COMPONENT',\n}\n\n/**\n * The app-knowledge skill that authors each view kind — TOTAL over the vocabulary, so a kind added\n * tomorrow must name the skill that builds it or fail to compile.\n *\n * This is what makes the view skills REACHABLE: the build dispatch DERIVES each experience task's\n * skill from its product through {@link experienceProductSkillRefs} and loads it first, rather than\n * trusting the decomposer's model to recall folder names. Held to the authored catalog by a test in the\n * framework-knowledge package — this layer cannot import the skills, and a ref naming no folder is\n * a task the router cannot answer.\n */\nexport const EXPERIENCE_VIEW_SKILL_REF: Readonly<Record<ExperienceViewKind, string>> = {\n [ExperienceViewKind.RESOURCE_COMPOSITE_VIEW]: 'views-add-composite-view',\n [ExperienceViewKind.RESOURCE_CUSTOM_VIEW]: 'views-add-custom-view',\n [ExperienceViewKind.RESOURCE_EXECUTION_VIEW]: 'views-execution-authoring',\n [ExperienceViewKind.RESOURCE_CHART_VIEW]: 'views-chart-authoring',\n [ExperienceViewKind.APPLICATION_VIEW]: 'views-app-level',\n [ExperienceViewKind.CUSTOM_COMPONENT]: 'engine-component-registration',\n};\n\n/**\n * The skill that authors each application-wide configuration surface — total over\n * {@link FrontendConfigSurface}, for the same reason and by the same mechanism.\n *\n * `GLOBAL_VIEWS` shares `views-app-level`: the global-views config is where an app-level view is\n * registered as a launcher entry, and that skill owns both halves. Sharing is honest here — two\n * surfaces, one authoring vocabulary — where inventing a second skill for the same knowledge would\n * be the drift this map exists to prevent.\n */\nexport const EXPERIENCE_CONFIGURATION_SKILL_REF: Readonly<Record<FrontendConfigSurface, string>> = {\n [FrontendConfigSurface.NAVIGATION]: 'config-navigation',\n [FrontendConfigSurface.DESIGN_SYSTEM]: 'config-design-system',\n [FrontendConfigSurface.APP_SHELL]: 'config-app-shell',\n [FrontendConfigSurface.GLOBAL_VIEWS]: 'views-app-level',\n};\n\n/**\n * The skill that authors a planned milestone. One skill, so a constant rather than a map: every\n * milestone is declared the same way, whatever it recognises.\n */\nexport const EXPERIENCE_MILESTONE_SKILL_REF = 'milestones-and-celebrations';\n\n/**\n * The skill that authors each kind of planned guidance — total over {@link ApplicationGuidanceKind}.\n * Both kinds share one skill because choosing between them is the first decision that skill teaches;\n * splitting it would split the one comparison a person authoring guidance needs.\n */\nexport const EXPERIENCE_GUIDANCE_SKILL_REF: Readonly<Record<ApplicationGuidanceKind, string>> = {\n [ApplicationGuidanceKind.ONBOARDING_DOCUMENT]: 'guidance-onboarding-authoring',\n [ApplicationGuidanceKind.GUIDANCE_FLOW]: 'guidance-onboarding-authoring',\n};\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * The OWN key of a milestone or guidance entry (`milestoneRef`, `guidanceRef`) — the same slug grammar as\n * the module and resource refs beside it, declared apart from those POINTING fields.\n */\nconst ExperienceEntryKeySchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** One surface the application gains beyond its resources' generated screens. */\nexport const ExperienceViewPlanSchema = z.strictObject({\n /** `view-<slug>`, stamped by the trusted runtime; the build task's product names it. */\n viewRef: z.string().regex(new RegExp(`^${EXPERIENCE_VIEW_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n kind: z.enum(ExperienceViewKind).systemEnum('ExperienceViewKind'),\n /** The module that owns it — its frontend tree is where the task writes. */\n moduleRef: SlugSchema,\n /**\n * The resource it hangs off, for the four resource-scoped kinds. Absent for an `APPLICATION_VIEW`\n * and a `CUSTOM_COMPONENT`, which belong to the module rather than to one resource — the graph\n * refinement below holds the two halves together, because a composite view with no resource has\n * nothing to compose and an application view with one is mis-declared.\n */\n resourceRef: SlugSchema.optional(),\n /** What a person does on this surface that they cannot do on a generated list or read. */\n purpose: NonEmptyStringSchema,\n /**\n * The PRESET components this surface reuses, by their catalogue refs (#1376).\n *\n * Declared rather than left to the coding agent, which is the whole reason this field exists: an\n * agent with no catalogue in front of it builds a custom view out of raw elements, bypassing the\n * theme, the surface policy and the accessibility behaviour every preset carries. Naming them\n * here puts the decision in the plan a person reviews.\n */\n reusesComponentRefs: z.array(NonEmptyStringSchema).default([]),\n /** What this surface is accountable to — requirement, feature-draft or roadmap refs. Traceability, never scope. */\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceViewPlan = z.infer<typeof ExperienceViewPlanSchema>;\n\n/** One application-wide frontend configuration surface, and what this application declares in it. */\nexport const ExperienceConfigurationPlanSchema = z.strictObject({\n surface: z.enum(FrontendConfigSurface).systemEnum('FrontendConfigSurface'),\n /**\n * The named things this surface gains — a sidebar section ref, a navigation zone, a design token\n * the brand decides. At least one: the config FILES are written by `wildo init`, so a\n * configuration decision that names nothing is true before any task runs, which is the vacuity\n * the build plan's `produces` exists to refuse.\n */\n declarationRefs: z.array(NonEmptyStringSchema).min(1),\n /** Why this application's shell, navigation or palette is composed this way. */\n rationale: NonEmptyStringSchema,\n});\nexport type ExperienceConfigurationPlan = z.infer<typeof ExperienceConfigurationPlanSchema>;\n\n/**\n * One moment the application recognises — a person's first project, their tenth completed task.\n *\n * Planned here rather than improvised at build time because it is a product decision a reviewer\n * wants to see: which moments are worth celebrating is what the application says about itself. HOW\n * each one celebrates (level, mode) is the authoring skill's decision, made with the code in front\n * of it.\n */\nexport const ExperienceMilestonePlanSchema = z.strictObject({\n /**\n * The milestone's identifier, as a slug — `first-project-created` is declared\n * `FIRST_PROJECT_CREATED` in the module's `milestones.ts`. No prefix is stamped: the identifier\n * is what the code spells, and a prefix would be a second name for one thing.\n */\n milestoneRef: ExperienceEntryKeySchema,\n /** The module that declares it — its `milestones.ts` is where the task writes. */\n moduleRef: SlugSchema,\n /** The resource whose operation counts toward it. */\n triggerResourceRef: SlugSchema,\n /** The moment, in the person's terms: what they did, and why it is worth recognising. */\n purpose: NonEmptyStringSchema,\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceMilestonePlan = z.infer<typeof ExperienceMilestonePlanSchema>;\n\n/** One piece of guidance — an embedded onboarding document or a triggered guidance flow. */\nexport const ExperienceGuidancePlanSchema = z.strictObject({\n /** The document's or flow's ref, as a slug — it keys every person's saved progress, so it stays stable. */\n guidanceRef: ExperienceEntryKeySchema,\n kind: z.enum(ApplicationGuidanceKind).systemEnum('ApplicationGuidanceKind'),\n /** The module that declares it — its frontend module lists it. */\n moduleRef: SlugSchema,\n /**\n * The view that EMBEDS it — required for an `ONBOARDING_DOCUMENT`, forbidden for a `GUIDANCE_FLOW`.\n *\n * A document is shown only where a view renders it with `EmbedOnboarding`, so one with no host is\n * declared and seen by nobody — and its build task would still land, because landing reads the\n * declaration. Naming the host puts the placement in the plan a person reviews and in the task's\n * objective. A planned view's ref, or the ref of a view the application already has — in EITHER case\n * a view of the SAME module: the document's build task writes only inside its module, so a host\n * elsewhere is one it could not edit. A flow is started by its trigger and has no host, so naming one\n * would claim a placement that does not exist.\n */\n hostViewRef: NonEmptyStringSchema.optional(),\n /** Where the person is or what they just did, and what this gets them to do next. */\n purpose: NonEmptyStringSchema,\n /**\n * Milestones a person must already hold before this appears — a flow's audience gate. Planned\n * milestones or ones the application already declares; the refinement below cannot tell which,\n * so it does not refuse an unplanned ref.\n */\n gatedByMilestoneRefs: z.array(SlugSchema).default([]),\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type ExperienceGuidancePlan = z.infer<typeof ExperienceGuidancePlanSchema>;\n\n/**\n * THE experience-plan payload.\n *\n * **Artifact-family id: `experience-plan`.** Produced by `bottom_up.experience-plan`, consumed by\n * `bottom_up.build-decompose`, which emits one task per view, per configuration surface, per\n * milestone and per piece of guidance.\n */\nexport const ExperiencePlanSchema = z.object({\n version: z.enum(ExperiencePlanVersion).default(ExperiencePlanVersion.V1),\n views: z.array(ExperienceViewPlanSchema).default([]),\n /**\n * The configuration surfaces this application composes. At least ONE, and it is always the same\n * one in practice: an application whose navigation and shell are left at the scaffold's defaults\n * has no home, no sidebar entry for its own modules and no palette of its own — which is the\n * \"four typechecks and no product\" state this lane exists to end.\n */\n configurations: z.array(ExperienceConfigurationPlanSchema).min(1),\n /** The moments the application recognises. Empty is legitimate and is a finding, not a refusal. */\n milestones: z.array(ExperienceMilestonePlanSchema).default([]),\n /** The guidance that carries a new person to those moments. */\n guidance: z.array(ExperienceGuidancePlanSchema).default([]),\n}).superRefine((plan, context) => {\n const viewRefs = new Set<string>();\n plan.views.forEach((view, index) => {\n if (viewRefs.has(view.viewRef)) {\n context.addIssue({ code: 'custom', message: `duplicate view ref ${view.viewRef}`, path: ['views', index, 'viewRef'] });\n }\n viewRefs.add(view.viewRef);\n /*\n * The resource half, in BOTH directions. A composite, custom, execution or chart view is\n * declared in ONE resource's ui-behavior, so a plan that omits the resource names a file the\n * build lane cannot find; an application view or a component declared WITH one claims a home it\n * does not have. Both are mis-declarations a reader cannot see and a task would fail on.\n */\n const isResourceScoped = view.kind !== ExperienceViewKind.APPLICATION_VIEW && view.kind !== ExperienceViewKind.CUSTOM_COMPONENT;\n if (isResourceScoped && view.resourceRef === undefined) {\n context.addIssue({ code: 'custom', message: `a ${view.kind} is declared in one resource's ui-behavior and this one names no resource`, path: ['views', index, 'resourceRef'] });\n }\n if (!isResourceScoped && view.resourceRef !== undefined) {\n context.addIssue({ code: 'custom', message: `a ${view.kind} belongs to its module rather than to one resource, and this one names ${view.resourceRef}`, path: ['views', index, 'resourceRef'] });\n }\n });\n const surfaces = new Set<FrontendConfigSurface>();\n plan.configurations.forEach((configuration, index) => {\n if (surfaces.has(configuration.surface)) {\n context.addIssue({ code: 'custom', message: `the ${configuration.surface} surface is decided twice; one file, one decision`, path: ['configurations', index, 'surface'] });\n }\n surfaces.add(configuration.surface);\n });\n // One identifier, one milestone; one ref, one guidance — each keys runtime state per person.\n const milestoneRefs = new Set<string>();\n plan.milestones.forEach((milestone, index) => {\n if (milestoneRefs.has(milestone.milestoneRef)) {\n context.addIssue({ code: 'custom', message: `duplicate milestone ${milestone.milestoneRef}`, path: ['milestones', index, 'milestoneRef'] });\n }\n milestoneRefs.add(milestone.milestoneRef);\n });\n const guidanceRefs = new Set<string>();\n const viewModuleByRef = new Map(plan.views.map((view) => [view.viewRef, view.moduleRef] as const));\n plan.guidance.forEach((guidance, index) => {\n if (guidanceRefs.has(guidance.guidanceRef)) {\n context.addIssue({ code: 'custom', message: `duplicate guidance ref ${guidance.guidanceRef}`, path: ['guidance', index, 'guidanceRef'] });\n }\n guidanceRefs.add(guidance.guidanceRef);\n // The host half, in both directions — the same shape as a view's resource.\n const isDocument = guidance.kind === ApplicationGuidanceKind.ONBOARDING_DOCUMENT;\n if (isDocument && guidance.hostViewRef === undefined) {\n context.addIssue({ code: 'custom', message: `onboarding document ${guidance.guidanceRef} names no host view, so nothing would show it`, path: ['guidance', index, 'hostViewRef'] });\n }\n // A PLANNED host is checkable: it must belong to the document's module, or the build task that\n // places the document cannot write to it. An existing view's module is not in the plan to compare.\n const hostModuleRef = guidance.hostViewRef === undefined ? undefined : viewModuleByRef.get(guidance.hostViewRef);\n if (isDocument && hostModuleRef !== undefined && hostModuleRef !== guidance.moduleRef) {\n context.addIssue({\n code: 'custom',\n message: `onboarding document ${guidance.guidanceRef} belongs to ${guidance.moduleRef} but its host ${guidance.hostViewRef} belongs to ${hostModuleRef}; a document is declared by the module whose view shows it`,\n path: ['guidance', index, 'hostViewRef'],\n });\n }\n if (!isDocument && guidance.hostViewRef !== undefined) {\n context.addIssue({ code: 'custom', message: `guidance flow ${guidance.guidanceRef} is started by its trigger and has no host view; it names ${guidance.hostViewRef}`, path: ['guidance', index, 'hostViewRef'] });\n }\n });\n});\nexport type ExperiencePlan = z.infer<typeof ExperiencePlanSchema>;\n/** @wildo_source:part:end experience-plan.config */\n\n/**\n * The skills an experience build product is authored with, DERIVED from its kind — the maps above,\n * applied. The build dispatch puts these first and keeps whatever the decomposer's model declared\n * after them, so a model that recalled the wrong folder, or none, still dispatches a task that loads\n * the skill its product needs.\n *\n * Every kind is answered from the product alone except one: an execution view lands as a\n * `RESOURCE_CUSTOM_VIEW` product (that is what its file is), and only the plan's entry says it is an\n * execution view. Without a plan, or for a view the plan does not carry, it is authored as the custom\n * view it is on disk. A product that is not an experience product derives nothing.\n */\nexport function experienceProductSkillRefs(product: BuildPlanTaskProduct, plan: ExperiencePlan | undefined): string[] {\n switch (product.kind) {\n case BuildPlanTaskProductKind.APPLICATION_VIEW:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.APPLICATION_VIEW]];\n case BuildPlanTaskProductKind.RESOURCE_COMPOSITE_VIEW:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.RESOURCE_COMPOSITE_VIEW]];\n case BuildPlanTaskProductKind.RESOURCE_CUSTOM_VIEW: {\n const planned = plan?.views.find((view) => view.viewRef === product.viewRef);\n return [EXPERIENCE_VIEW_SKILL_REF[planned?.kind === ExperienceViewKind.RESOURCE_EXECUTION_VIEW\n ? ExperienceViewKind.RESOURCE_EXECUTION_VIEW\n : ExperienceViewKind.RESOURCE_CUSTOM_VIEW]];\n }\n case BuildPlanTaskProductKind.RESOURCE_CHART_VIEW:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.RESOURCE_CHART_VIEW]];\n case BuildPlanTaskProductKind.CUSTOM_COMPONENT:\n return [EXPERIENCE_VIEW_SKILL_REF[ExperienceViewKind.CUSTOM_COMPONENT]];\n case BuildPlanTaskProductKind.APPLICATION_FRONTEND_CONFIG:\n return [EXPERIENCE_CONFIGURATION_SKILL_REF[product.configSurface]];\n case BuildPlanTaskProductKind.APPLICATION_MILESTONE:\n return [EXPERIENCE_MILESTONE_SKILL_REF];\n case BuildPlanTaskProductKind.APPLICATION_GUIDANCE:\n return [EXPERIENCE_GUIDANCE_SKILL_REF[product.guidanceKind]];\n // Not experience products — listed rather than defaulted, so a product kind added tomorrow must be\n // classified here (like the skill maps above, which are total over their vocabularies).\n case BuildPlanTaskProductKind.RESOURCE_SCHEMA_FIELDS:\n case BuildPlanTaskProductKind.RESOURCE_REGISTRATION:\n case BuildPlanTaskProductKind.RESOURCE_UI_BEHAVIOR:\n case BuildPlanTaskProductKind.RESOURCE_SPECIFICATION:\n case BuildPlanTaskProductKind.RESOURCE_RELATIONSHIP:\n case BuildPlanTaskProductKind.RESOURCE_OPERATION:\n case BuildPlanTaskProductKind.APPLICATION_DOCUMENT:\n case BuildPlanTaskProductKind.APPLICATION_MODULE:\n case BuildPlanTaskProductKind.PDF_TEMPLATE:\n case BuildPlanTaskProductKind.APPLICATION_WORKER:\n case BuildPlanTaskProductKind.APPLICATION_MINION:\n case BuildPlanTaskProductKind.PROVIDER_BINDING:\n case BuildPlanTaskProductKind.WEBSITE_PAGE:\n case BuildPlanTaskProductKind.WEBSITE_SECTION:\n case BuildPlanTaskProductKind.DOCUMENTATION_CHAPTER:\n case BuildPlanTaskProductKind.APPLICATION_DATA_SEED:\n case BuildPlanTaskProductKind.INBOUND_CHANNEL_HANDLER:\n case BuildPlanTaskProductKind.APPLICATION_BILLING_PRODUCT:\n return [];\n default: {\n const unclassified: never = product;\n return unclassified;\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"family-aspects.registry.d.ts","sourceRoot":"","sources":["../../../../src/_core/family-aspects.registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"family-aspects.registry.d.ts","sourceRoot":"","sources":["../../../../src/_core/family-aspects.registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAgCzE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,wBAAwB,EA8BtE,CAAC;AAEF,iGAAiG;AACjG,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAEnG;AAED,gFAAgF;AAChF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,GAAG,SAAS,CAMzG"}
|
|
@@ -5,6 +5,7 @@ import { FEATURE_DRAFTS_FAMILY_ASPECTS } from './feature-drafts/feature-drafts.f
|
|
|
5
5
|
import { ROADMAP_FAMILY_ASPECTS } from './roadmap/roadmap.family-aspects.js';
|
|
6
6
|
import { BUSINESS_MODEL_FAMILY_ASPECTS } from './business-model-lite/business-model.family-aspects.js';
|
|
7
7
|
import { BRAND_FAMILY_ASPECTS } from './brand/brand.family-aspects.js';
|
|
8
|
+
import { BRAND_NAME_SCREENING_FAMILY_ASPECTS } from './brand/brand-name-screening.family-aspects.js';
|
|
8
9
|
import { DOMAIN_PLAN_FAMILY_ASPECTS } from './domain-plan/domain-plan.family-aspects.js';
|
|
9
10
|
import { BUILD_PLAN_FAMILY_ASPECTS } from './build-plan/build-plan.family-aspects.js';
|
|
10
11
|
import { PLACEMENT_PLAN_FAMILY_ASPECTS } from './placement-plan/placement-plan.family-aspects.js';
|
|
@@ -43,6 +44,7 @@ export const FAMILY_ASPECTS_REGISTRY = [
|
|
|
43
44
|
ROADMAP_FAMILY_ASPECTS,
|
|
44
45
|
BUSINESS_MODEL_FAMILY_ASPECTS,
|
|
45
46
|
BRAND_FAMILY_ASPECTS,
|
|
47
|
+
BRAND_NAME_SCREENING_FAMILY_ASPECTS,
|
|
46
48
|
DOMAIN_PLAN_FAMILY_ASPECTS,
|
|
47
49
|
BUILD_PLAN_FAMILY_ASPECTS,
|
|
48
50
|
PLACEMENT_PLAN_FAMILY_ASPECTS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"family-aspects.registry.js","sourceRoot":"","sources":["../../../../src/_core/family-aspects.registry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EACL,4CAA4C,EAC5C,gDAAgD,GACjD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,0DAA0D,CAAC;AAC7G,OAAO,EAAE,sCAAsC,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AAC9I,OAAO,EAAE,sCAAsC,EAAE,MAAM,gEAAgE,CAAC;AACxH,OAAO,EAAE,mCAAmC,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,EAAE,mCAAmC,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AACrG,OAAO,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AACtG,OAAO,EAAE,8BAA8B,EAAE,M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AAG,CAAC,CAAC;QACtE,IAAI,MAAM;YAAE,OAAO,MAAM,CAAC;IAC5B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import type { FamilyAspectsDeclaration } from './family-aspects.schemas';\nimport { VISION_FAMILY_ASPECTS } from './vision/vision.family-aspects';\nimport { MARKET_FAMILY_ASPECTS } from './market/market.family-aspects';\nimport { REQUIREMENTS_FAMILY_ASPECTS } from './requirements/requirements.family-aspects';\nimport { FEATURE_DRAFTS_FAMILY_ASPECTS } from './feature-drafts/feature-drafts.family-aspects';\nimport { ROADMAP_FAMILY_ASPECTS } from './roadmap/roadmap.family-aspects';\nimport { BUSINESS_MODEL_FAMILY_ASPECTS } from './business-model-lite/business-model.family-aspects';\nimport { BRAND_FAMILY_ASPECTS } from './brand/brand.family-aspects';\nimport { DOMAIN_PLAN_FAMILY_ASPECTS } from './domain-plan/domain-plan.family-aspects';\nimport { BUILD_PLAN_FAMILY_ASPECTS } from './build-plan/build-plan.family-aspects';\nimport { PLACEMENT_PLAN_FAMILY_ASPECTS } from './placement-plan/placement-plan.family-aspects';\nimport {\n COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS,\n COMPLIANCE_DOCUMENT_CANDIDATE_SET_FAMILY_ASPECTS,\n} from './compliance-documents/compliance-documents.family-aspects';\nimport { PROCESSOR_REGISTER_FAMILY_ASPECTS } from './compliance-documents/processor-register.family-aspects';\nimport { AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS, DOCUMENT_FACTS_FAMILY_ASPECTS } from '../application-creation/document-facts.family-aspects';\nimport { DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS } from '../application-creation/document-release-policy.family-aspects';\nimport { DOCUMENT_PUBLICATION_FAMILY_ASPECTS } from '../assurance/document-publication.family-aspects';\nimport { DOCUMENT_RELEASE_SET_FAMILY_ASPECTS } from '../assurance/document-release-set.family-aspects';\nimport { ASSURANCE_PROGRAM_FAMILY_ASPECTS } from '../assurance/assurance-program.family-aspects';\nimport { RISK_REGISTER_FAMILY_ASPECTS } from '../assurance/application-risk-register.family-aspects';\nimport { CREATOR_INPUTS_FAMILY_ASPECTS } from '../application-creation/creator-inputs.family-aspects';\nimport { EXPERT_PERSONAS_FAMILY_ASPECTS } from './expert-personas/expert-personas.family-aspects';\nimport { CAPABILITY_COMPOSITION_FAMILY_ASPECTS } from './capability-composition/capability-composition.family-aspects';\nimport { WEBSITE_PLAN_FAMILY_ASPECTS } from './website-plan/website-plan.family-aspects';\nimport { EXPERIENCE_PLAN_FAMILY_ASPECTS } from './experience-plan/experience-plan.family-aspects';\nimport { APPLICATION_DOCUMENTATION_PLAN_FAMILY_ASPECTS } from '../technical-documentation/application-documentation-plan.family-aspects';\nimport { INTEGRATION_PLAN_FAMILY_ASPECTS } from './integration-plan/integration-plan.family-aspects';\nimport { APPLICATION_MATURITY_FAMILY_ASPECTS } from './application-maturity/application-maturity.family-aspects';\n\n/**\n * The assembled family-aspects registry — every family's aspect declaration, keyed by the\n * family's semantic `schemaRef`. See `family-aspects.schemas.ts` for the contract and for why\n * the declarations live BESIDE their family's schemas rather than here.\n *\n * Every semantic family is declared. The count is deliberately not written here: it moves, and a\n * number in prose has to be re-measured before it can be believed. One family is deliberately\n * aspect-EMPTY (the assurance programme — see its declaration for why a versioned union refuses a\n * single aspect shape), and the drift pins in `_core/__tests__/family-aspects.registry.test.ts` hold\n * every declaration to the schemas it transcribes.\n */\nexport const FAMILY_ASPECTS_REGISTRY: readonly FamilyAspectsDeclaration[] = [\n VISION_FAMILY_ASPECTS,\n MARKET_FAMILY_ASPECTS,\n REQUIREMENTS_FAMILY_ASPECTS,\n FEATURE_DRAFTS_FAMILY_ASPECTS,\n ROADMAP_FAMILY_ASPECTS,\n BUSINESS_MODEL_FAMILY_ASPECTS,\n BRAND_FAMILY_ASPECTS,\n DOMAIN_PLAN_FAMILY_ASPECTS,\n BUILD_PLAN_FAMILY_ASPECTS,\n PLACEMENT_PLAN_FAMILY_ASPECTS,\n COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS,\n COMPLIANCE_DOCUMENT_CANDIDATE_SET_FAMILY_ASPECTS,\n PROCESSOR_REGISTER_FAMILY_ASPECTS,\n DOCUMENT_FACTS_FAMILY_ASPECTS,\n AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS,\n DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS,\n DOCUMENT_PUBLICATION_FAMILY_ASPECTS,\n DOCUMENT_RELEASE_SET_FAMILY_ASPECTS,\n ASSURANCE_PROGRAM_FAMILY_ASPECTS,\n RISK_REGISTER_FAMILY_ASPECTS,\n CREATOR_INPUTS_FAMILY_ASPECTS,\n EXPERT_PERSONAS_FAMILY_ASPECTS,\n CAPABILITY_COMPOSITION_FAMILY_ASPECTS,\n WEBSITE_PLAN_FAMILY_ASPECTS,\n EXPERIENCE_PLAN_FAMILY_ASPECTS,\n APPLICATION_DOCUMENTATION_PLAN_FAMILY_ASPECTS,\n INTEGRATION_PLAN_FAMILY_ASPECTS,\n APPLICATION_MATURITY_FAMILY_ASPECTS,\n];\n\n/** Registry lookup by the family's semantic schemaRef (the artifact rows' `schemaRef` field). */\nexport function getFamilyAspectsBySchemaRef(schemaRef: string): FamilyAspectsDeclaration | undefined {\n return FAMILY_ASPECTS_REGISTRY.find((declaration) => declaration.schemaRef === schemaRef);\n}\n\n/** Flat lookup of one aspect declaration by its global key (`'market.icp'`). */\nexport function getFamilyAspectByKey(key: string): FamilyAspectsDeclaration['aspects'][number] | undefined {\n for (const declaration of FAMILY_ASPECTS_REGISTRY) {\n const aspect = declaration.aspects.find((entry) => entry.key === key);\n if (aspect) return aspect;\n }\n return undefined;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"family-aspects.registry.js","sourceRoot":"","sources":["../../../../src/_core/family-aspects.registry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,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S } from './vision/vision.family-aspects';\nimport { MARKET_FAMILY_ASPECTS } from './market/market.family-aspects';\nimport { REQUIREMENTS_FAMILY_ASPECTS } from './requirements/requirements.family-aspects';\nimport { FEATURE_DRAFTS_FAMILY_ASPECTS } from './feature-drafts/feature-drafts.family-aspects';\nimport { ROADMAP_FAMILY_ASPECTS } from './roadmap/roadmap.family-aspects';\nimport { BUSINESS_MODEL_FAMILY_ASPECTS } from './business-model-lite/business-model.family-aspects';\nimport { BRAND_FAMILY_ASPECTS } from './brand/brand.family-aspects';\nimport { BRAND_NAME_SCREENING_FAMILY_ASPECTS } from './brand/brand-name-screening.family-aspects';\nimport { DOMAIN_PLAN_FAMILY_ASPECTS } from './domain-plan/domain-plan.family-aspects';\nimport { BUILD_PLAN_FAMILY_ASPECTS } from './build-plan/build-plan.family-aspects';\nimport { PLACEMENT_PLAN_FAMILY_ASPECTS } from './placement-plan/placement-plan.family-aspects';\nimport {\n COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS,\n COMPLIANCE_DOCUMENT_CANDIDATE_SET_FAMILY_ASPECTS,\n} from './compliance-documents/compliance-documents.family-aspects';\nimport { PROCESSOR_REGISTER_FAMILY_ASPECTS } from './compliance-documents/processor-register.family-aspects';\nimport { AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS, DOCUMENT_FACTS_FAMILY_ASPECTS } from '../application-creation/document-facts.family-aspects';\nimport { DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS } from '../application-creation/document-release-policy.family-aspects';\nimport { DOCUMENT_PUBLICATION_FAMILY_ASPECTS } from '../assurance/document-publication.family-aspects';\nimport { DOCUMENT_RELEASE_SET_FAMILY_ASPECTS } from '../assurance/document-release-set.family-aspects';\nimport { ASSURANCE_PROGRAM_FAMILY_ASPECTS } from '../assurance/assurance-program.family-aspects';\nimport { RISK_REGISTER_FAMILY_ASPECTS } from '../assurance/application-risk-register.family-aspects';\nimport { CREATOR_INPUTS_FAMILY_ASPECTS } from '../application-creation/creator-inputs.family-aspects';\nimport { EXPERT_PERSONAS_FAMILY_ASPECTS } from './expert-personas/expert-personas.family-aspects';\nimport { CAPABILITY_COMPOSITION_FAMILY_ASPECTS } from './capability-composition/capability-composition.family-aspects';\nimport { WEBSITE_PLAN_FAMILY_ASPECTS } from './website-plan/website-plan.family-aspects';\nimport { EXPERIENCE_PLAN_FAMILY_ASPECTS } from './experience-plan/experience-plan.family-aspects';\nimport { APPLICATION_DOCUMENTATION_PLAN_FAMILY_ASPECTS } from '../technical-documentation/application-documentation-plan.family-aspects';\nimport { INTEGRATION_PLAN_FAMILY_ASPECTS } from './integration-plan/integration-plan.family-aspects';\nimport { APPLICATION_MATURITY_FAMILY_ASPECTS } from './application-maturity/application-maturity.family-aspects';\n\n/**\n * The assembled family-aspects registry — every family's aspect declaration, keyed by the\n * family's semantic `schemaRef`. See `family-aspects.schemas.ts` for the contract and for why\n * the declarations live BESIDE their family's schemas rather than here.\n *\n * Every semantic family is declared. The count is deliberately not written here: it moves, and a\n * number in prose has to be re-measured before it can be believed. One family is deliberately\n * aspect-EMPTY (the assurance programme — see its declaration for why a versioned union refuses a\n * single aspect shape), and the drift pins in `_core/__tests__/family-aspects.registry.test.ts` hold\n * every declaration to the schemas it transcribes.\n */\nexport const FAMILY_ASPECTS_REGISTRY: readonly FamilyAspectsDeclaration[] = [\n VISION_FAMILY_ASPECTS,\n MARKET_FAMILY_ASPECTS,\n REQUIREMENTS_FAMILY_ASPECTS,\n FEATURE_DRAFTS_FAMILY_ASPECTS,\n ROADMAP_FAMILY_ASPECTS,\n BUSINESS_MODEL_FAMILY_ASPECTS,\n BRAND_FAMILY_ASPECTS,\n BRAND_NAME_SCREENING_FAMILY_ASPECTS,\n DOMAIN_PLAN_FAMILY_ASPECTS,\n BUILD_PLAN_FAMILY_ASPECTS,\n PLACEMENT_PLAN_FAMILY_ASPECTS,\n COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS,\n COMPLIANCE_DOCUMENT_CANDIDATE_SET_FAMILY_ASPECTS,\n PROCESSOR_REGISTER_FAMILY_ASPECTS,\n DOCUMENT_FACTS_FAMILY_ASPECTS,\n AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS,\n DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS,\n DOCUMENT_PUBLICATION_FAMILY_ASPECTS,\n DOCUMENT_RELEASE_SET_FAMILY_ASPECTS,\n ASSURANCE_PROGRAM_FAMILY_ASPECTS,\n RISK_REGISTER_FAMILY_ASPECTS,\n CREATOR_INPUTS_FAMILY_ASPECTS,\n EXPERT_PERSONAS_FAMILY_ASPECTS,\n CAPABILITY_COMPOSITION_FAMILY_ASPECTS,\n WEBSITE_PLAN_FAMILY_ASPECTS,\n EXPERIENCE_PLAN_FAMILY_ASPECTS,\n APPLICATION_DOCUMENTATION_PLAN_FAMILY_ASPECTS,\n INTEGRATION_PLAN_FAMILY_ASPECTS,\n APPLICATION_MATURITY_FAMILY_ASPECTS,\n];\n\n/** Registry lookup by the family's semantic schemaRef (the artifact rows' `schemaRef` field). */\nexport function getFamilyAspectsBySchemaRef(schemaRef: string): FamilyAspectsDeclaration | undefined {\n return FAMILY_ASPECTS_REGISTRY.find((declaration) => declaration.schemaRef === schemaRef);\n}\n\n/** Flat lookup of one aspect declaration by its global key (`'market.icp'`). */\nexport function getFamilyAspectByKey(key: string): FamilyAspectsDeclaration['aspects'][number] | undefined {\n for (const declaration of FAMILY_ASPECTS_REGISTRY) {\n const aspect = declaration.aspects.find((entry) => entry.key === key);\n if (aspect) return aspect;\n }\n return undefined;\n}\n"]}
|
|
@@ -14,6 +14,11 @@ export * from './brand/brand-name.schemas';
|
|
|
14
14
|
export * from './brand/brand-snapshot-validation';
|
|
15
15
|
export * from './brand/brand-snapshot.schemas';
|
|
16
16
|
export * from './brand/brand-visual-tone.schemas';
|
|
17
|
+
export * from './brand/brand-name-screening.schemas';
|
|
18
|
+
export * from './brand/brand-name-screening-generation.schemas';
|
|
19
|
+
export * from './brand/brand-name-screening-validation';
|
|
20
|
+
export * from './brand/brand-name-choice';
|
|
21
|
+
export * from './brand/brand-name-screening-view';
|
|
17
22
|
export * from './business-model-lite/business-model-authored-metadata.schemas';
|
|
18
23
|
export * from './business-model-lite/business-model-lite-snapshot-validation';
|
|
19
24
|
export * from './business-model-lite/business-model-lite-snapshot.schemas';
|
|
@@ -70,6 +75,7 @@ export * from './market/market-channel.schemas';
|
|
|
70
75
|
export * from './market/market-context-block.schemas';
|
|
71
76
|
export * from './market/market-gain.schemas';
|
|
72
77
|
export * from './market/market-icp.schemas';
|
|
78
|
+
export * from './market/market-language-coverage';
|
|
73
79
|
export * from './market/market-job.schemas';
|
|
74
80
|
export * from './market/market-message-template.schemas';
|
|
75
81
|
export * from './market/market-generation.schemas';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AACpE,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gEAAgE,CAAC;AAC/E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,uEAAuE,CAAC;AACtF,cAAc,yDAAyD,CAAC;AACxE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8DAA8D,CAAC;AAC7E,cAAc,kEAAkE,CAAC;AACjF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cAAc,wDAAwD,CAAC;AACvE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qDAAqD,CAAC;AACpE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,oDAAoD,CAAC;AACnE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC"}
|
package/dist/esm/_core/index.js
CHANGED
|
@@ -14,6 +14,11 @@ export * from './brand/brand-name.schemas.js';
|
|
|
14
14
|
export * from './brand/brand-snapshot-validation.js';
|
|
15
15
|
export * from './brand/brand-snapshot.schemas.js';
|
|
16
16
|
export * from './brand/brand-visual-tone.schemas.js';
|
|
17
|
+
export * from './brand/brand-name-screening.schemas.js';
|
|
18
|
+
export * from './brand/brand-name-screening-generation.schemas.js';
|
|
19
|
+
export * from './brand/brand-name-screening-validation.js';
|
|
20
|
+
export * from './brand/brand-name-choice.js';
|
|
21
|
+
export * from './brand/brand-name-screening-view.js';
|
|
17
22
|
export * from './business-model-lite/business-model-authored-metadata.schemas.js';
|
|
18
23
|
export * from './business-model-lite/business-model-lite-snapshot-validation.js';
|
|
19
24
|
export * from './business-model-lite/business-model-lite-snapshot.schemas.js';
|
|
@@ -70,6 +75,7 @@ export * from './market/market-channel.schemas.js';
|
|
|
70
75
|
export * from './market/market-context-block.schemas.js';
|
|
71
76
|
export * from './market/market-gain.schemas.js';
|
|
72
77
|
export * from './market/market-icp.schemas.js';
|
|
78
|
+
export * from './market/market-language-coverage.js';
|
|
73
79
|
export * from './market/market-job.schemas.js';
|
|
74
80
|
export * from './market/market-message-template.schemas.js';
|
|
75
81
|
export * from './market/market-generation.schemas.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AACpE,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gEAAgE,CAAC;AAC/E,cAAc,+DAA+D,CAAC;AAC9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AAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC","sourcesContent":["export * from './assertions/assertion-authored-metadata.schemas';\nexport * from './assertions/assertion-behaviors.schemas';\nexport * from './assertions/assertion-references.schemas';\nexport * from './assertions/assertion-snapshot-validation';\nexport * from './assertions/assertion-specification.schemas';\nexport * from './application-specification-family-identity.schemas';\nexport * from './family-aspects.schemas';\nexport * from './family-aspects.registry';\nexport * from './brand/brand-asset.schemas';\nexport * from './brand/brand-authored-metadata.schemas';\nexport * from './brand/brand-generation.schemas';\nexport * from './brand/brand-logo-direction.schemas';\nexport * from './brand/brand-name.schemas';\nexport * from './brand/brand-snapshot-validation';\nexport * from './brand/brand-snapshot.schemas';\nexport * from './brand/brand-visual-tone.schemas';\nexport * from './business-model-lite/business-model-authored-metadata.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-validation';\nexport * from './business-model-lite/business-model-lite-snapshot.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-generation.schemas';\nexport * from './business-model-lite/business-model-references.schemas';\nexport * from './business-model-lite/pricing-plan.schemas';\nexport * from './compliance-documents/compliance-document-candidate.schemas';\nexport * from './compliance-documents/compliance-document-candidate-set.schemas';\nexport * from './compliance-documents/compliance-document-candidate-generation.schemas';\nexport * from './compliance-documents/required-document-set.schemas';\nexport * from './compliance-documents/processor-register.schemas';\nexport * from './compliance-documents/recipient-population.schemas';\nexport * from './compliance-documents/compliance-completeness-statement.schemas';\nexport * from './compliance-documents/document-fact-specification-generation.schemas';\nexport * from './compliance-documents/computed-document-facts.schemas';\nexport * from './compliance-documents/retention-enforcement-facts.schemas';\nexport * from './business-semantics.specifications.schemas';\nexport * from './chart-view-specification.schemas';\nexport * from './composite-view-specification.schemas';\nexport * from './cross-registry-assertions';\nexport * from './data-seed-specification.schemas';\nexport * from './domain-plan/domain-plan-output-set-generation.schemas';\nexport * from './domain-plan/domain-plan-output-set-validation';\nexport * from './domain-plan/domain-plan-output-set.schemas';\nexport * from './definition-specification-validators';\nexport * from './definition-specification.schemas';\nexport * from './error-message-specification.schemas';\nexport * from './execution-view-specification.schemas';\nexport * from './expert-personas/expert-persona-authored-metadata.schemas';\nexport * from './expert-personas/expert-persona-charter.schemas';\nexport * from './expert-personas/expert-persona-validation';\nexport * from './expert-personas/expert-role-template.schemas';\nexport * from './feature-drafts/capability-map-output-set-generation.schemas';\nexport * from './feature-drafts/capability-map-output-set-validation';\nexport * from './feature-drafts/capability-map-output-set.schemas';\nexport * from './feature-drafts/feature-specification-drafts-generation.schemas';\nexport * from './feature-drafts/feature-specification-drafts-validation';\nexport * from './feature-drafts/feature-specification-drafts.schemas';\nexport * from './feature-specification.schemas';\nexport * from './provider-specification.schemas';\nexport * from './frontend-component-specification.schemas';\nexport * from './flows-actors-view-specification.schemas';\nexport * from './full-custom-view-specification.schemas';\nexport * from './guidance-flow-specification.schemas';\nexport * from './milestone-specification.schemas';\nexport * from './market/feature-benefit.schemas';\nexport * from './market/inherit-from';\nexport * from './market/is-benefit-available';\nexport * from './market/market-alternative.schemas';\nexport * from './market/market-authored-metadata.schemas';\nexport * from './market/market-buying-journey.schemas';\nexport * from './market/market-category.schemas';\nexport * from './market/market-channel.schemas';\nexport * from './market/market-context-block.schemas';\nexport * from './market/market-gain.schemas';\nexport * from './market/market-icp.schemas';\nexport * from './market/market-job.schemas';\nexport * from './market/market-message-template.schemas';\nexport * from './market/market-generation.schemas';\nexport * from './market/market-objection.schemas';\nexport * from './market/market-pain.schemas';\nexport * from './market/market-persona.schemas';\nexport * from './market/market-positioning.schemas';\nexport * from './market/market-proof.schemas';\nexport * from './market/market-references.schemas';\nexport * from './market/market-scoring';\nexport * from './market/market-snapshot-generation.schemas';\nexport * from './market/market-snapshot-validation';\nexport * from './market/market-snapshot.schemas';\nexport * from './market/market-tone-of-voice.schemas';\nexport * from './market/market-trigger.schemas';\nexport * from './onboarding-view-specification.schemas';\nexport * from './product-specification.schemas';\nexport * from './required-features-specification.schemas';\nexport * from './build-plan/build-plan-task-graph.schemas';\nexport * from './build-plan/build-plan-task-graph-generation.schemas';\nexport * from './build-plan/build-plan-task-graph-validation';\nexport * from './capability-composition/capability-composition.schemas';\nexport * from './capability-composition/capability-composition-validation';\nexport * from './website-plan/website-plan.schemas';\nexport * from './website-plan/website-plan-generation.schemas';\nexport * from './website-plan/website-plan-validation';\nexport * from './experience-plan/experience-plan.schemas';\nexport * from './experience-plan/experience-plan-generation.schemas';\nexport * from './experience-plan/experience-plan-validation';\nexport * from './integration-plan/integration-plan.schemas';\nexport * from './integration-plan/integration-plan-generation.schemas';\nexport * from './integration-plan/integration-plan-validation';\nexport * from './application-maturity/application-maturity.schemas';\nexport * from './application-maturity/application-maturity-validation';\nexport * from './placement-plan/placement-plan.schemas';\nexport * from './placement-plan/placement-plan-generation.schemas';\nexport * from './placement-plan/placement-plan-validation';\nexport * from './requirements/functional-requirement.schemas';\nexport * from './requirements/non-functional-requirement.schemas';\nexport * from './requirements/requirements-authored-metadata.schemas';\nexport * from './requirements/requirements-references.schemas';\nexport * from './requirements/requirements-snapshot-generation.schemas';\nexport * from './requirements/requirements-snapshot-validation';\nexport * from './requirements/requirements-snapshot.schemas';\nexport * from './resource-specification-registry-alignment';\nexport * from './resource-specification.schemas';\nexport * from './resource-type-member-name.types';\nexport * from './roadmap/roadmap-authored-metadata.schemas';\nexport * from './roadmap/roadmap-phase.schemas';\nexport * from './roadmap/roadmap-references.schemas';\nexport * from './roadmap/roadmap-snapshot-generation.schemas';\nexport * from './roadmap/roadmap-snapshot-validation';\nexport * from './roadmap/roadmap-snapshot.schemas';\nexport * from './role-specification.schemas';\nexport * from './sidebar-section-specification.schemas';\nexport * from './system-email-template-specification.schemas';\nexport * from './translation-slot-specification.schemas';\nexport * from './utils/extract-field-specs';\nexport * from './utils/retention-marker-field-specs';\nexport * from './utils/retention-clock-field-specs';\nexport * from './vision/vision-authored-metadata.schemas';\nexport * from './vision/vision-constraint.schemas';\nexport * from './vision/vision-idea.schemas';\nexport * from './vision/vision-mission.schemas';\nexport * from './vision/vision-problem.schemas';\nexport * from './vision/vision-references.schemas';\nexport * from './vision/vision-snapshot-generation.schemas';\nexport * from './vision/vision-snapshot-validation';\nexport * from './vision/vision-snapshot.schemas';\nexport * from './vision/vision-success-criterion.schemas';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AACpE,cAAc,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AC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC","sourcesContent":["export * from './assertions/assertion-authored-metadata.schemas';\nexport * from './assertions/assertion-behaviors.schemas';\nexport * from './assertions/assertion-references.schemas';\nexport * from './assertions/assertion-snapshot-validation';\nexport * from './assertions/assertion-specification.schemas';\nexport * from './application-specification-family-identity.schemas';\nexport * from './family-aspects.schemas';\nexport * from './family-aspects.registry';\nexport * from './brand/brand-asset.schemas';\nexport * from './brand/brand-authored-metadata.schemas';\nexport * from './brand/brand-generation.schemas';\nexport * from './brand/brand-logo-direction.schemas';\nexport * from './brand/brand-name.schemas';\nexport * from './brand/brand-snapshot-validation';\nexport * from './brand/brand-snapshot.schemas';\nexport * from './brand/brand-visual-tone.schemas';\nexport * from './brand/brand-name-screening.schemas';\nexport * from './brand/brand-name-screening-generation.schemas';\nexport * from './brand/brand-name-screening-validation';\nexport * from './brand/brand-name-choice';\nexport * from './brand/brand-name-screening-view';\nexport * from './business-model-lite/business-model-authored-metadata.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-validation';\nexport * from './business-model-lite/business-model-lite-snapshot.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-generation.schemas';\nexport * from './business-model-lite/business-model-references.schemas';\nexport * from './business-model-lite/pricing-plan.schemas';\nexport * from './compliance-documents/compliance-document-candidate.schemas';\nexport * from './compliance-documents/compliance-document-candidate-set.schemas';\nexport * from './compliance-documents/compliance-document-candidate-generation.schemas';\nexport * from './compliance-documents/required-document-set.schemas';\nexport * from './compliance-documents/processor-register.schemas';\nexport * from './compliance-documents/recipient-population.schemas';\nexport * from './compliance-documents/compliance-completeness-statement.schemas';\nexport * from './compliance-documents/document-fact-specification-generation.schemas';\nexport * from './compliance-documents/computed-document-facts.schemas';\nexport * from './compliance-documents/retention-enforcement-facts.schemas';\nexport * from './business-semantics.specifications.schemas';\nexport * from './chart-view-specification.schemas';\nexport * from './composite-view-specification.schemas';\nexport * from './cross-registry-assertions';\nexport * from './data-seed-specification.schemas';\nexport * from './domain-plan/domain-plan-output-set-generation.schemas';\nexport * from './domain-plan/domain-plan-output-set-validation';\nexport * from './domain-plan/domain-plan-output-set.schemas';\nexport * from './definition-specification-validators';\nexport * from './definition-specification.schemas';\nexport * from './error-message-specification.schemas';\nexport * from './execution-view-specification.schemas';\nexport * from './expert-personas/expert-persona-authored-metadata.schemas';\nexport * from './expert-personas/expert-persona-charter.schemas';\nexport * from './expert-personas/expert-persona-validation';\nexport * from './expert-personas/expert-role-template.schemas';\nexport * from './feature-drafts/capability-map-output-set-generation.schemas';\nexport * from './feature-drafts/capability-map-output-set-validation';\nexport * from './feature-drafts/capability-map-output-set.schemas';\nexport * from './feature-drafts/feature-specification-drafts-generation.schemas';\nexport * from './feature-drafts/feature-specification-drafts-validation';\nexport * from './feature-drafts/feature-specification-drafts.schemas';\nexport * from './feature-specification.schemas';\nexport * from './provider-specification.schemas';\nexport * from './frontend-component-specification.schemas';\nexport * from './flows-actors-view-specification.schemas';\nexport * from './full-custom-view-specification.schemas';\nexport * from './guidance-flow-specification.schemas';\nexport * from './milestone-specification.schemas';\nexport * from './market/feature-benefit.schemas';\nexport * from './market/inherit-from';\nexport * from './market/is-benefit-available';\nexport * from './market/market-alternative.schemas';\nexport * from './market/market-authored-metadata.schemas';\nexport * from './market/market-buying-journey.schemas';\nexport * from './market/market-category.schemas';\nexport * from './market/market-channel.schemas';\nexport * from './market/market-context-block.schemas';\nexport * from './market/market-gain.schemas';\nexport * from './market/market-icp.schemas';\nexport * from './market/market-language-coverage';\nexport * from './market/market-job.schemas';\nexport * from './market/market-message-template.schemas';\nexport * from './market/market-generation.schemas';\nexport * from './market/market-objection.schemas';\nexport * from './market/market-pain.schemas';\nexport * from './market/market-persona.schemas';\nexport * from './market/market-positioning.schemas';\nexport * from './market/market-proof.schemas';\nexport * from './market/market-references.schemas';\nexport * from './market/market-scoring';\nexport * from './market/market-snapshot-generation.schemas';\nexport * from './market/market-snapshot-validation';\nexport * from './market/market-snapshot.schemas';\nexport * from './market/market-tone-of-voice.schemas';\nexport * from './market/market-trigger.schemas';\nexport * from './onboarding-view-specification.schemas';\nexport * from './product-specification.schemas';\nexport * from './required-features-specification.schemas';\nexport * from './build-plan/build-plan-task-graph.schemas';\nexport * from './build-plan/build-plan-task-graph-generation.schemas';\nexport * from './build-plan/build-plan-task-graph-validation';\nexport * from './capability-composition/capability-composition.schemas';\nexport * from './capability-composition/capability-composition-validation';\nexport * from './website-plan/website-plan.schemas';\nexport * from './website-plan/website-plan-generation.schemas';\nexport * from './website-plan/website-plan-validation';\nexport * from './experience-plan/experience-plan.schemas';\nexport * from './experience-plan/experience-plan-generation.schemas';\nexport * from './experience-plan/experience-plan-validation';\nexport * from './integration-plan/integration-plan.schemas';\nexport * from './integration-plan/integration-plan-generation.schemas';\nexport * from './integration-plan/integration-plan-validation';\nexport * from './application-maturity/application-maturity.schemas';\nexport * from './application-maturity/application-maturity-validation';\nexport * from './placement-plan/placement-plan.schemas';\nexport * from './placement-plan/placement-plan-generation.schemas';\nexport * from './placement-plan/placement-plan-validation';\nexport * from './requirements/functional-requirement.schemas';\nexport * from './requirements/non-functional-requirement.schemas';\nexport * from './requirements/requirements-authored-metadata.schemas';\nexport * from './requirements/requirements-references.schemas';\nexport * from './requirements/requirements-snapshot-generation.schemas';\nexport * from './requirements/requirements-snapshot-validation';\nexport * from './requirements/requirements-snapshot.schemas';\nexport * from './resource-specification-registry-alignment';\nexport * from './resource-specification.schemas';\nexport * from './resource-type-member-name.types';\nexport * from './roadmap/roadmap-authored-metadata.schemas';\nexport * from './roadmap/roadmap-phase.schemas';\nexport * from './roadmap/roadmap-references.schemas';\nexport * from './roadmap/roadmap-snapshot-generation.schemas';\nexport * from './roadmap/roadmap-snapshot-validation';\nexport * from './roadmap/roadmap-snapshot.schemas';\nexport * from './role-specification.schemas';\nexport * from './sidebar-section-specification.schemas';\nexport * from './system-email-template-specification.schemas';\nexport * from './translation-slot-specification.schemas';\nexport * from './utils/extract-field-specs';\nexport * from './utils/retention-marker-field-specs';\nexport * from './utils/retention-clock-field-specs';\nexport * from './vision/vision-authored-metadata.schemas';\nexport * from './vision/vision-constraint.schemas';\nexport * from './vision/vision-idea.schemas';\nexport * from './vision/vision-mission.schemas';\nexport * from './vision/vision-problem.schemas';\nexport * from './vision/vision-references.schemas';\nexport * from './vision/vision-snapshot-generation.schemas';\nexport * from './vision/vision-snapshot-validation';\nexport * from './vision/vision-snapshot.schemas';\nexport * from './vision/vision-success-criterion.schemas';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"integration-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAgB1E,eAAO,MAAM,+BAA+B,EAAE,wBAuD7C,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas.js';
|
|
2
2
|
import { FamilyAspectKind } from '../family-aspects.schemas.js';
|
|
3
3
|
import { IntegrationInboundChannelPlanSchema, IntegrationMinionPlanSchema, IntegrationProviderBindingPlanSchema, IntegrationWorkerPlanSchema, } from './integration-plan.schemas.js';
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* The five targets a background surface's `servesRefs` addresses. A build task's `servesRefs` addresses these and
|
|
6
|
+
* more (vision constraints, pricing plans and the brand, #629 #1835 #2221): a background surface serves product
|
|
7
|
+
* scope, never a pricing plan or a brand element.
|
|
8
|
+
*/
|
|
5
9
|
const SERVES_TARGETS = ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'];
|
|
6
10
|
export const INTEGRATION_PLAN_FAMILY_ASPECTS = {
|
|
7
11
|
schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.INTEGRATION_PLAN,
|