From 1a6bbf33091e5ed60e3cb0c2bb03b371dd989e1a Mon Sep 17 00:00:00 2001 From: karti-ai <176560021+karti-ai@users.noreply.github.com> Date: Fri, 28 Aug 2026 18:16:55 -0700 Subject: [PATCH] new-environment workflow: accept an optional prior-art reference --- .claude/workflows/new-environment.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.claude/workflows/new-environment.js b/.claude/workflows/new-environment.js index 78eef85..f9c40d8 100644 --- a/.claude/workflows/new-environment.js +++ b/.claude/workflows/new-environment.js @@ -17,6 +17,7 @@ const slug = (args && args.slug) || 'support-resolution' const vertical = (args && args.vertical) || 'customer-support-resolution' const pkg = slug.replace(/-/g, '_') const seeds = (args && args.seeds) || '0-7' +const reference = (args && args.reference) || '' const BASE = `You are building environment "${slug}" for the repo at ${REPO}, promoting the vertical "${vertical}" from a published specification to a live, playable demo at demo.primeintellectgrowth.com. @@ -25,6 +26,7 @@ const BASE = `You are building environment "${slug}" for the repo at ${REPO}, pr The specification for this vertical — task, reward, counterweight, persona, anxiety — is already written and reviewed in \`src/content/verticals.ts\`. Start from that entry; do not invent a different task. Package: \`envs/${pkg}/\`. Demo: \`src/demos/${slug}/\`. Traces: \`public/traces/${slug}/\`. +${reference ? `\n**Prior art to read before designing anything:** ${reference}\n` : ''} Do NOT run git. Do NOT edit another stage's files.`