Skip to content

Release 0.4.3 - #34

Merged
timbenniks-contentstack merged 32 commits into
mainfrom
next
Dec 2, 2026
Merged

timbenniks-contentstack merged 32 commits into
mainfrom
next

Conversation

@timbenniks-contentstack

@timbenniks-contentstack timbenniks-contentstack commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Releases next to main as 0.4.3. main is on 0.3.0, so this ships everything from 0.4.1, 0.4.2 and 0.4.3. Full notes are in the changelog.

0.4.3

0.4.2

0.4.1

No skills were renamed or removed. node scripts/validate.mjs passes for 34 skills and 7 manifests at version 0.4.3.

After merge

Tag v0.4.3 on the merge commit and publish a GitHub release whose body is the 0.4.1–0.4.3 changelog sections. (v0.4.1 and v0.4.2 were never tagged.)

🤖 Generated with Claude Code

timbenniks-contentstack and others added 14 commits October 29, 2026 13:08
…outing evals

Accuracy: correct skill claims against the product wiki, using the public
docs and OpenAPI specs as tiebreaker (webhook signatures, taxonomy
operators, Launch PUT and deployment logs, release limits, branch scoping,
Brand Kit dials and headers, persistence-plugin name, and more). Fill in
the empty cms-entries and cms-variants-personalization instructions.

New skills: personalize, lytics, launch-platform, automations, dx-cli,
dx-mcp-server (local server and MCP Profile Hub), cms-graphql,
cms-json-rte and marketplace-apps.

Template: every SKILL.md uses the same sections (When to use, Before you
answer, Instructions, MCP tools, Output, Security, References, Examples),
enforced by scripts/validate.mjs. Each skill lists the Contentstack MCP
tools that carry out its steps, from the server's published tool
definitions, and stays advisory unless the user asks for the change.

Routing evals: 62 claude plugin eval cases in evals/ check that prompts
load the right skill and not its neighbour, run in CI on PRs that touch
skills.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gent-skills into studio/sync-sdk-2.0

Resolve version conflicts: ship Studio SDK 2.0 changes as 0.3.1 on top of released 0.3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix all 39 issues from the Studio skill audit (Next.js 16, studio-react
2.0.1): primitive-library plan step, one Section-per-region rule, preview
hash reset in resolveComposition, field projection and image bindings,
Section Slot node shape, SDK 2.0.1 registration snippets, catch-all and
no-Delivery-SDK install paths, canonical list recipe, wire-shape table,
compositions CT as JSON, MCP snapshot/scope, and consistency fixes.

Add two guides: csr-and-ssr-requirements and handle-404-pages, routed
from skills-index. Snippets typechecked against studio-react 2.0.1 and
live-preview-utils 4.5.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
upgrade-studio-sdk: separate what 2.0 actually changed (verified by
installing 1.9.0 and 2.0.1 side by side) from older rules that behave the
same on both, and stop pointing at CHANGELOG files the npm packages don't
ship. wire-studio-state: state APIs need studio-react 1.8.0+.
discover-sections-from-ct: built-in type name `text`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
studio: sync with Studio SDK 2.0, fix end-to-end audit issues, add CSR/SSR and 404 guides (0.3.1)
Bring in the updated drafts: isCompositionNotFound in every 404 branch,
cache() for one fetch per request, the canvas note on unpublished
templates, builder-mode stackDetails requirements, init .catch, the
?builder=true handshake check, and the first-instance rule for a second
init (all verified against live-preview-utils 4.5.3).

Keep the SDK fixes from review: clear the shared stack's preview hash
before each SSR fetch, refetchSpec fallback for freeform compositions on
studio-react 2.0.1, typed snippets (tsc strict passes), and
isCompositionNotFound on the CSR route.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
studio: update CSR/SSR and 404 guides with latest drafts
Installing the plugin now gives the agent the skills and the Contentstack
tools together, from the hosted server at
https://mcp-profile-hub.contentstack.com/api/mcp (OAuth in the browser on
first use, no API key, the user's own roles).

Each client reads its own file, in the format its docs define (checked
3 Nov 2026):
- Claude Code / claude.ai: .mcp.json, type http.
- Codex, ChatGPT and Agent Plugins clients: mcp.json, type streamable-http
  with the agent-plugins.org schema.
- Cursor: inline mcpServers in .cursor-plugin/plugin.json (url only), which
  overrides Cursor's default mcp.json discovery.
- Gemini CLI: mcpServers in gemini-extension.json, httpUrl.

Also adds the docs, support, privacy and terms URLs to the Claude manifest:
claude plugin validate flags a plugin that connects to a remote MCP server
without a privacy policy. Ships in 0.3.1, which is on next and not yet released.

Verified: node scripts/validate.mjs passes; claude plugin validate passes with
the same two warnings as before (no icon, root CLAUDE.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat: bundle the Contentstack MCP Profile Hub server with every plugin
Neither 0.3.1 nor 0.4.0 was released, so both changelog sections are
combined into 0.4.1 and every manifest is bumped to 0.4.1. Keeps the MCP
Profile Hub server config from next in gemini-extension.json and the
111-file Studio count in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat: 0.4.1 — accuracy pass, new skills, one template, MCP pairing, routing evals
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@snyk-io

snyk-io Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

- Add a 512x512 icon at assets/icon.png, referenced as `icon` (Claude)
  and `logo` (Cursor). Clears the Claude validator's ICON_MISSING
  warning; the directory locks the icon on first portal save.
- Add homepage, repository, license and keywords to the Cursor manifest.
- Refresh every manifest description to name the MCP server and the
  newer products.
- Remove a committed .pyc from migration-companion (binaries are held
  for directory review) and ignore __pycache__/ and *.pyc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

sumitjain-cstk and others added 5 commits November 6, 2026 20:36
Replace the studio router with the Studio-MCP-first SKILL.md and add
fallback-map.md. Apply the handoff's SDK 2.0 fixes (extendQuery
deprecated, isCompositionNotFound/isStudioEditorMode for 404s, object
props need properties, isNot, schema_version 1.1.0, thumbnail rules),
template URL fixes and the Studio MCP pointers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Document list-as-prop tags ($<prop> + $<prop>Items), per-item fields
under item.$, passing tags down through atoms, tagged <img>
placeholders, and the tag-only-prop pitfall. Fix "Visual Editer".
The per-item tag format is flagged as open with the SDK team.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Applies the handoff's latest additions: Change 5 item 1 now ships the
itemTag helper (studio-registry 2.0.1 item tags break Visual Editor),
Change 5 item 8 (layerIcon), and Change 2 items 10 (expired preview
link answers 500) and 11 (no editButton exclude).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves the conflicts with next's 0.4.1 release:
- studio SKILL.md: the Studio MCP router, moved into the new skill
  template (When to use, Instructions, MCP tools, Security) with its
  content unchanged.
- CHANGELOG: next's 0.4.1 notes kept; the Studio MCP router and handoff
  fixes go in a new 0.4.2 section.
- Manifests bumped to 0.4.2; docs/skills/studio.md describes the
  Studio MCP first routing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vaishnavi-kedar-cstk and others added 2 commits November 17, 2026 15:57
Imports a running SAP Commerce Cloud (Spartacus) storefront's CMS content
over OCC into a Contentstack stack, shaped for
@contentstack/contentstack-spartacus-connector: extract, nav-resolve,
model, two approval gates with a starter-pack check, seed, publish,
round-trip and Delivery API verify, optional localization.

Builds on the public-bundle packaging from #35 and adds what the
spartacus-content-modelling-agent gained since:
- optional SAP Commerce Cloud marketplace app stage: installs and
  configures the app once, adds the sap_products picker field to the
  carousel and fills it, with a verify / repair / fallback procedure
- writes with CS_MANAGEMENT_TOKEN or the user's csdx OAuth login
- environment Live Preview URLs per locale

Co-authored-by: Tim Benniks <tim.benniks@contentstack.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ill-main

feat: add dx-sap-spartacus-import skill (DX-32793)
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

vaishnavi-kedar-cstk and others added 5 commits November 19, 2026 16:27
…sites, picker preflight

The SAP Commerce Cloud app picker already turned on from the SAP_APP_* configuration for
any site; this makes the powertools (B2B) case explicit and safe, from a run that set it
up end to end on a fresh powertools-spa stack.

- New marketplace-app/sap_preflight.py, run at gate 2 when carousels go into sap_products:
  checks the picker's SAP server with TLS verified (trusted certificate, base site present,
  product search returns products without a login, carousel codes found). The dry run
  prints it; a write stops with exit code 4 before the app is installed or anything is
  written. Each failure names its fix (e.g. a full powertoolsIndex for an empty search).
- references/sap-commerce-app.md: which base site per demo (electronics, powertools-spa),
  same-catalog rule, the preflight table.
- localize.py: retry a failed entry update once (transient 422 seen on global_slots) and
  exit 3 when something still failed; the orchestrator records that locale as warn and
  names it in the final banner instead of marking it ok.
- orchestrate.py: --carousel-field help no longer says auto means electronics-spa.
- SKILL.md, pipeline.md, docs page: powertools picker inputs, exit code 4, an example.
- evals/routing-dx-sap-spartacus-import-3: a powertools picker prompt loads the skill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tial errors, key handling

An agent following SKILL.md imported powertools with the picker into a fresh stack (exit 0,
44 min, all stages ok) and listed where the skill was unclear or didn't match the scripts.

- Gate 2 names the target stack and says whether it's empty (new cs-seed/stack_info.py,
  read-only), counts the full starter pack it imports (17 types, not the 13 the entries use),
  and splits components / navigation / pages. The app line shows the base site on its own.
- Gate 2 warns when the installed connector reads only `products` (connector 0.1.0): picker
  carousels render empty until the connector release that reads sap_products.
- Seed and publish exit 3 on per-item errors (recorded as warn, named in the final summary)
  instead of reporting ok; content-type import errors are always printed. Publish ends with a
  totals line and publishes in CS_MASTER_LOCALE instead of a hard-coded en-us.
- cda_read: with no CS_DELIVERY_TOKEN (always on a fresh stack) it exits 5 with what to do;
  the manifest note and the final summary say so.
- sap_app.py passes the stack API key to node through the environment, not argv (ps).
- The picker-preflight manifest note keeps only the check results, not the server URL.
- SKILL.md: required vs optional env vars, `curl -k` only with OCC_INSECURE_TLS=1, --locales
  and --run-dir in the dry run too, run the ~45-minute write in the background, the delivery
  check on a fresh stack, warn statuses, and asking the user to check the picker when there's
  no browser. References: use_products --starter-pack, warn and exit-5 notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…led connector renders it

--carousel-field auto now picks sap_products only when the SAP_APP_* settings are exported
AND the installed connector reads sap_products; otherwise carousels keep the plain
`products` list and gate 2 says why ("SAP product picker not set up: the installed
connector (0.1.0) reads only `products`").

The version can't decide it: a build of the connector repo's main branch also says 0.1.0.
So the orchestrator checks the connector's code: the installed bundle (node_modules, a
`file:` tarball or an npm link), else a connector checkout's dist/ build or src/ (specs
excluded) when CONNECTOR_STARTER_PACK points into it.

Tested with dry runs: npm 0.1.0 + picker settings -> products with the explanation; a
connector built from main -> sap_products (preflight 17/17); CONNECTOR_STARTER_PACK at a
connector checkout -> sap_products (14/14); npm 0.1.0 + --carousel-field sap_products ->
sap_products with the empty-carousel warning; no picker settings -> products.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o products when it can't be set up

The SAP product picker is no longer described or treated as optional. By default the import
sets up the SAP Commerce Cloud app and seeds the carousels into sap_products, and falls back
to the plain `products` list only when the picker can't be set up, saying why:
- the SAP_APP_* settings aren't exported,
- the installed connector reads only `products` (npm 0.1.0), or
- the picker preflight on the SAP server fails. This used to stop the run with exit 4;
  now gate 2 re-plans the carousels into `products`, records `carousel: fallback`, and
  names the FAIL line to fix so a re-run switches them to the picker.
Only a forced --carousel-field sap_products still stops on a failed preflight (exit 4).

Tested with dry runs: connector that reads sap_products + wrong base site -> preflight FAIL,
carousels re-planned into products, manifest carousel=fallback, exit 0; same with the picker
forced -> the forced-preflight stop message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…icker

feat(dx-sap-spartacus-import): SAP product picker for B2B powertools sites, picker preflight
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

studio: route to the Studio MCP first, apply the Studio handoff fixes (0.4.2)
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@timbenniks-contentstack timbenniks-contentstack changed the title Release 0.4.1 Release 0.4.3 Nov 30, 2026
The workflow_dispatch input `runs` was pasted into the run: script with
${{ inputs.runs }}, so text typed into it ran as shell in a job that holds
ANTHROPIC_API_KEY. Pass it through an env var, accept only 1-99, and make
the input a number field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vaishnavi-kedar-cstk

Copy link
Copy Markdown
Contributor

The runs input on line 40 of .github/workflows/routing-evals.yml was flagged for script injection: ${{ inputs.runs }} is pasted into the shell, so text typed into the Run workflow form runs as a command in a job that holds ANTHROPIC_API_KEY.

Fix is in #40, which targets next: the input goes through an env var, only 1-99 is accepted, and the field is now a number. Merging #40 brings it into this release.

@vaishnavi-kedar-cstk

Copy link
Copy Markdown
Contributor

Security review of the rest of this PR (the 31 code and config files: the dx-sap-spartacus-import scripts, the workflow, the MCP configs, manifests and validate.mjs) found nothing else to fix. #40 is the only security fix needed.

Checked: subprocess calls use argv lists with no shell=True; TLS stays verified unless OCC_INSECURE_TLS=1 is set; the Contentstack token only goes to CS_REGION_BASE and is never printed; no SAP/OCC request carries a credential; the workflow runs on pull_request with contents: read; the MCP configs hold no keys.

fix(ci): stop shell injection through the routing-evals runs input
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@timbenniks-contentstack
timbenniks-contentstack merged commit 8f212e7 into main Dec 2, 2026
9 checks passed
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.

5 participants