Skip to content

Fold brand-build field gotchas into the demo corpus (4.1.0)#45

Merged
Justinvolved merged 3 commits into
v2from
fold/brand-build-gotchas
Jul 3, 2026
Merged

Fold brand-build field gotchas into the demo corpus (4.1.0)#45
Justinvolved merged 3 commits into
v2from
fold/brand-build-gotchas

Conversation

@Justinvolved

Copy link
Copy Markdown
Collaborator

Provenance

Same autonomous partner-simulation build as #44 — a fresh DW 10.27.4 host with the skills followed verbatim — now carried through full brand re-content, catalog authoring via MCP recipes, feature-pack install, and a headless storefront on a second backend. Every finding below was verified live during that run.

Stacking

This PR STACKS on #44 (fold/fresh-install-and-deserialize-gotchas). It is branched off #44's head, not v2, because both touch the same files (mcp-setup.md, deserialize-flow.md, the foundational candidates). Base is set to v2 per instruction; until #44 merges, this PR's diff will also show #44's commit. Merge #44 first, then this.

The 9 folds — where each landed

  1. Autonomous/headless MCP transportdw-demo-base/references/mcp-setup.md (new section). The Claude-client approval is interactive-only; an unattended agent hangs on "Pending approval". The DW /admin/mcp endpoint is plain JSON-RPC 2.0 — with the API-Key bearer the full surface (~393 tools on 10.27.x) is directly callable (initializetools/listtools/call), with the caution that it bypasses the client's approval layer so guarded-writes discipline still applies.
  2. Root / binding on 10.27.xdw-demo-swift/references/deserialize-flow.md §7. Root 404s post-deserialize; binding is Area.AreaDomain + Area.AreaFrontpage; no AreaDns table on 10.27.x; restart required.
  3. Cache/restart semanticsdw-demo-base/references/foundational/cache-invalidation.md. Three restart-only rows (Area/style/item-type — startup-materialised, CacheInformationRefresh insufficient); bulk GetServiceCaches flush can 500; nav/menu labels are group-tree data, not a "nav cache".
  4. Index-instance Warning is benigndw-demo-pim/references/canonical-setup-order.md Step 16 (both variants). A Warning from an unbuilt secondary balancer instance is a false alarm — judge by the primary instance's build result + doc count.
  5. Isolated pack-fragment stagingdw-demo-swift/references/pack-activation.md §8. Staging a fragment into a SerializeRoot that still holds base trees re-deserializes the base seed (resurrects the purged sample catalog on a re-contented demo). Now parks/clears base trees, stages isolated, restores.
  6. Surface-priority: SQL cleanup is sanctioneddw-demo-base/references/surface-priority.md. Made explicit that BULK REMOVAL of sample data during brand re-content is exactly the last-resort clause (a) cleanup/teardown — not create-shaped, not recipe-gated.
  7. MCP recipe gotchas batchfoundational/pim-modelling.md (§2.5 variant combos NULL Active/Price; §2.10 import_product_images_from_urls sets no default → Swift card NRE degrades the whole PLP), foundational/search-indexing.md (custom fields index as CustomField_<SystemName>, other patterns fail silently; synchronous:true does not block — poll), foundational/extend-mcp-tools.md §5 + foundational/content-modelling.md (save_pages ignores urlName — slug derives from menuText).
  8. Product-completeness checklistdw-demo-pim/references/canonical-setup-order.md (new closing section). Per-product + per-variant gate: Active, priced, stocked-or-NeverOutOfStock, default image, texts in every language layer — each with its frontend symptom, run as a SQL sweep.
  9. dw-demo-headless drift notesheadless-backend.md + headless-frontend.md: two-token trap status is version-dependent (404 on 10.26.x, 400 on 10.27.x) → "a non-401 error", don't pin a code (§3); images live under assetCategories OR imagePatternImages — read both (frontend §2); repository/query names must be env (query name without .query) so a second-backend swap is pure env (frontend §3 + backend §5); areas can ship empty ecom bindings (ecomShopId="") → pass LanguageId/ShopId explicitly on every call (backend §4).

Version decision — minor (4.1.0)

Bumped 4.0.2 → 4.1.0 (minor), not patch. Corpus precedent reserves patch (4.0.1, 4.0.2) for tight single-theme fixes to a broken documented flow; minor (3.7.0/3.8.0 substantial multi-file guidance reworks; 3.9.0 new surface) is used for substantial additive guidance. This PR adds substantial new guidance — a new transport section, a new checklist, a recipe-gotcha batch — across four skills (base, swift, pim, headless), overwhelmingly "Added". That exceeds the patch bar and matches the minor bar. Not breaking, so not major.

Validation

  • python scripts/validate-skills.py0 errors, 0 warnings
  • node scripts/build-manifest.mjs --checkmanifest up to date (32 skills)
  • Diff scrub: no brand/customer tokens, no machine paths, no credentials (only DW/PowerShell technical terms; justdynamics/Truvio.Commerce.* URLs untouched)

🤖 Generated with Claude Code

https://claude.ai/code/session_01BpTYGpMUm8MkKqYSpZVzd5

Justinvolved and others added 3 commits July 3, 2026 19:03
Second batch of live-verified findings from the autonomous partner-simulation
build (fresh DW 10.27.4, skills followed verbatim), now through brand re-content,
MCP catalog authoring, feature-pack install, and a headless storefront on a
second backend. Nine folds across four skills:

- Autonomous JSON-RPC MCP transport fallback (dw-demo-base mcp-setup.md)
- Root / binding via Area.AreaDomain+AreaFrontpage, no AreaDns on 10.27.x (dw-demo-swift)
- Area/style/item-type restart semantics + nav-label-is-data (cache-invalidation.md)
- Index-instance Warning benign (dw-demo-pim canonical-setup-order Step 16)
- Isolated pack-fragment staging (dw-demo-swift pack-activation.md)
- MCP recipe gotchas batch (pim-modelling, search-indexing, extend-mcp-tools, content-modelling)
- Product-completeness checklist (dw-demo-pim canonical-setup-order)
- Headless drift notes: version-dependent status, dual image keys, env-configurable
  repo/query names, empty area ecom bindings (dw-demo-headless)

Minor bump (substantial new guidance across 4 skills). Stacks on PR #44 (4.0.2).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BpTYGpMUm8MkKqYSpZVzd5
@Justinvolved Justinvolved force-pushed the fold/brand-build-gotchas branch from 4ad55fb to b632f2c Compare July 3, 2026 17:03
@Justinvolved Justinvolved merged commit 7d8548b into v2 Jul 3, 2026
1 check passed
@Justinvolved Justinvolved deleted the fold/brand-build-gotchas branch July 3, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant