@contentful/experience-design-system-generation 2.32.1-dev-build-b7d2d34.0 → 2.32.1-dev-build-71db090.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-generation",
|
|
3
|
-
"version": "2.32.1-dev-build-
|
|
3
|
+
"version": "2.32.1-dev-build-71db090.0",
|
|
4
4
|
"description": "Agent-invocation and skill-prompt engine for the Contentful Experience Design System SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-generation",
|
|
3
|
-
"version": "2.32.1-dev-build-
|
|
3
|
+
"version": "2.32.1-dev-build-71db090.0",
|
|
4
4
|
"description": "Agent-invocation and skill-prompt engine for the Contentful Experience Design System SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"skills/"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentful/experience-design-system-types": "2.32.1-dev-build-
|
|
25
|
+
"@contentful/experience-design-system-types": "2.32.1-dev-build-71db090.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@tsconfig/node24": "^24.0.4",
|
|
@@ -556,19 +556,19 @@ invent a `values` list. The uncertain answer is `cdf_type: "string"`, every time
|
|
|
556
556
|
|
|
557
557
|
The preamble may include an "Existing components in the target Contentful space" JSON block with a `likelyMatch` (a fuzzy-matched space component that likely corresponds to the codebase component you're classifying), an `otherComponents` list, and a rolled-up token summary. Use it to align your classifications with what the customer already has.
|
|
558
558
|
|
|
559
|
-
### When `likelyMatch` is present — align
|
|
559
|
+
### When `likelyMatch` is present — align rename intent + categories + slot names
|
|
560
560
|
|
|
561
|
-
Your goal is **consistency**: the customer will see the diff between what you propose and what already exists, and every unnecessary
|
|
561
|
+
Your goal is **consistency**: the customer will see the diff between what you propose and what already exists, and every unnecessary category flip or slot-shape mismatch becomes review friction.
|
|
562
562
|
|
|
563
|
-
1. **Prop names**:
|
|
563
|
+
1. **Prop names**: `classify_prop.prop` MUST always be the codebase prop name — that's the DB lookup key. When a codebase prop looks like it corresponds to an existing space prop (e.g. codebase `kind` ↔ space `variant`, codebase `text` ↔ space `label`), keep `prop` as the codebase name and put the alignment note in `reason`, e.g. `"looks like existing space prop 'variant' — customer may want to reconcile at review"`. Never rewrite `prop` itself; reconciliation happens downstream, not in this tool call.
|
|
564
564
|
2. **Categories**: match the space's category (`design` / `content`) for equivalent props, even if you'd normally categorize differently. Note the alignment in `reason`.
|
|
565
565
|
3. **Slot names**: match slot IDs / names when the shape is equivalent.
|
|
566
566
|
4. **Enum values**: never invent new values to bridge a mismatch. If the codebase's enum diverges from the space's, classify against your best-effort mapping and cite the divergence in `reason` — this is a signal for human review, not a green light to rewrite the space's enum.
|
|
567
|
-
5. **Never
|
|
567
|
+
5. **Never realign silently.** Every classification influenced by the `likelyMatch` MUST cite it in `reason`.
|
|
568
568
|
|
|
569
569
|
### When only `otherComponents` is present (no direct match)
|
|
570
570
|
|
|
571
|
-
Use the list to constrain slot `
|
|
571
|
+
Use the list to constrain slot `allowed_components` — do not propose a slot that accepts component types the space doesn't have.
|
|
572
572
|
|
|
573
573
|
### Token binding
|
|
574
574
|
|