← All source files

V16 / 6df58cd3ed86

project_website_screenshots.xml

Lilith/Core/Scenarios/Definitions/project_website_screenshots.xml

Changed in this version
XMLStructureInputsTools / C#StepsExit
<scenario schemaVersion="3" id="project_website_screenshots" title="Start a website preview and capture three screenshots">
  <inputs><input name="name" required="true" /><input name="draft_id" default="" /></inputs>
  <systemPrompt>Delegate server startup and screenshot capture to separate fresh subagents. Host execution permission is mandatory. Never start a browser without it or present screenshots as functional test results.</systemPrompt>
  <steps>
    <run scenario="project_preview_start" result="server"><input name="name" value="{{name}}" /><input name="draft_id" value="{{draft_id}}" /></run>
    <if input="server.status" equals="started"><then><run scenario="project_preview_capture" /></then><else><result><field name="status" value="{{server.status}}" /><field name="message" value="{{server.message}}" /></result></else></if>
  </steps>
  <exit mode="copy">Return actual screenshot paths and hashes or the host execution request unchanged.</exit>
</scenario>