Skip to content

Sync demo releases and docs content from changelog and docs tree - #8

Draft
charlesberret wants to merge 2 commits into
mainfrom
cursor/sync-demo-content-06ae
Draft

charlesberret wants to merge 2 commits into
mainfrom
cursor/sync-demo-content-06ae

Conversation

@charlesberret

Copy link
Copy Markdown
Owner

Summary

Adds scripts/sync-demo-content.mjs to regenerate apps/demo/src/content/releases.yaml from CHANGELOG.md and apps/demo/src/content/docs.yaml from the repo README.md plus all docs/**/*.md. Includes --check for drift detection (exits non-zero when committed YAML is stale or a changelog release is missing).

Also updates the demo console readme.txt home hint to use the real VFS slug releases/v0-4-0.txt (derived from the release row id, not the semver string).

Checks

node scripts/sync-demo-content.mjs

Last lines:

Wrote /agent/repos/shellside/apps/demo/src/content/releases.yaml (4 releases)
Wrote /agent/repos/shellside/apps/demo/src/content/docs.yaml (16 docs)
node scripts/sync-demo-content.mjs --check

Last line:

sync-demo-content: ok (4 releases, docs current)
grep -q 'v0.4.0' apps/demo/src/content/releases.yaml && echo ok

Last line:

ok

Console hint file exists in the built /console VFS: after npm run build in apps/demo, the embedded fs JSON includes releases/v0-4-0 and the home readme references cat releases/v0-4-0.txt:

npm run build -w @shellside/demo
grep -o 'releases/v0-4-0' apps/demo/dist/console/index.html | head -1

Last line:

releases/v0-4-0
Open in Web Open in Cursor 

Fixes LAB-2360

cursoragent and others added 2 commits November 12, 2026 02:24
Generate apps/demo releases.yaml from CHANGELOG.md and docs.yaml from
the README and docs tree, with a --check mode for CI-style drift detection.
Regenerated content adds v0.4.0 and fixes the console readme hint slug.

Co-authored-by: Charles Berret <charlesberret@users.noreply.github.com>
Drop profile and pageCopy from edit.files until the packaged admin page
enumerates per-dir IA layouts; unblocks check-desk CI smoke.

Co-authored-by: Charles Berret <charlesberret@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

2 participants