← All source files

V14 / fad4e1a110e5

project_architect_website.xml

Lilith/Core/Scenarios/Definitions/project_architect_website.xml

Unchanged from the preceding version
XMLStructureInputsTools / C#StepsExit
<scenario schemaVersion="3" id="project_architect_website" title="Define shared website interfaces and acceptance criteria">
  <inputs><input name="prd" required="true" /><input name="previous" default="No previous plan." /><input name="diagnostics" default="No host diagnostics yet." /><input name="personality" default="A precise web application architect and UX designer. Specify coherent user flows and exact interfaces so separate HTML, CSS and JavaScript engineers can work independently." /></inputs>
  <personality>{{personality}}</personality>
  <systemPrompt>You design a small complete website. The host assigns exactly three independent whole-file tasks: index.html, styles.css and app.js. Do not create classes, method tasks, C# skeletons or source code. Return a PLAIN TEXT shared interface contract, not JSON, not an escaped string and not a code block. Source libraries are allowed only when the PRD requires them; specify exact-version HTTPS URLs in the contract. Use classic JavaScript, no modules, npm or framework build steps.</systemPrompt>
  <steps>
    <step>PRD: {{prd}}
Write a precise shared contract for the HTML, CSS and JavaScript writers. Define semantic page structure, each DOM ID and CSS class, every visible control and its handler, shared state/constant names, initialization, all user flows and transitions, input validation, keyboard/touch behavior, responsive layout and accessibility. Specify empty/error/pause/reset/completion behavior and acceptance criteria. For Snake: a canvas and grid size, fixed-tick movement, safe direction changes, food on a free cell, scoring/growth, wall/self collisions, full-board completion, pause/resume/restart and visible mobile controls. Keep all identifiers consistent. HTML must start with an HTML doctype and load styles.css and app.js; all executable JavaScript belongs in app.js. Explain which file owns each concern. Do not write source code. Keep contract under 9000 characters.</step>
    <step>Check your contract against every PRD requirement and resolve any inconsistent identifier or missing event/state transition. Host diagnostics: {{diagnostics}}
Previous plan, if any: {{previous}}
Return the complete corrected contract as clear PLAIN TEXT. No JSON, escaped strings, files/methods arrays or code fences.</step>
  </steps>
  <exit mode="copy">Return the website interface contract unchanged.</exit>
</scenario>