Skip to content

test: pin starter postcard lockstep and sample-pill modelKind gate - #492

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/missing-test-coverage-6fed
Draft

test: pin starter postcard lockstep and sample-pill modelKind gate#492
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/missing-test-coverage-6fed

Conversation

@cursor

@cursor cursor Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Risky behavior now covered

Test files added/updated

  • Added scripts/check-starter-lockstep.mjs — extracts and runs the real seed() / markDemoResult helpers in node:vm; compares shapes against noodle-graph.json and parsed EXAMPLES; pins DEMO_CTX canned chat+image / audio deny.
  • Updated .githooks/pre-commit so the new check runs with the existing drifted-model / example-models offline group.

Why these tests materially reduce regression risk

First visit is the product. Hosted vs file:// vs Examples Open workflow can drift without a paid-path or catalog check noticing, and the sample-pill gate is the only thing that keeps a signed-out postcard Run from calling the visitor’s own Place/Vibe text fake. These asserts are offline, deterministic, and fail on the exact edits (#474/#475/#484 leftovers) that would ship that confusion.

No production behavior change.

Open in Web View Automation 

seed(), noodle-graph.json, and the night-market-postcard Examples card
must stay one Place+Vibe→Spec→LLM→image graph so file:// first visit
cannot silently become the retired ramen starter. markDemoResult only
badges modelKind outputs. Also pin Choice-shaped Fable and the teaching
endpoint Path wires.

Co-authored-by: mikkel <mikkel@255bits.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
nanoodle ed78565 Commit Preview URL

Branch Preview URL
Sep 09 2026, 10:08 AM

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