out = ARGV.len() > 0 ? ARGV[0] : "build/rendered/svg-assets"; if (!file_exists("build")) { mkdir("build"); } if (!file_exists("build/rendered")) { mkdir("build/rendered"); } if (!file_exists("assets")) { mkdir("assets"); } if (!file_exists("assets/quickrun-0e2232fcea9f2111.svg")) { write_file_exclusive("assets/quickrun-0e2232fcea9f2111.svg", "\n Four rising levels of agent automation\n Four compact steps rise from hands-on turns to automation. Your role at each level is written on the step, from every turn to a final review.\n \n \n You start\n \n L1 \u00b7 Know sessionsYou: every turn\n L2 \u00b7 CoordinateYou: in the loop\n L3 \u00b7 DelegateYou: start and end\n L4 \u00b7 AutomateYou: brainstormand verdict\n You review\n\n"); } if (!file_exists("assets/quickrun-6df1a5bc02229890.svg")) { write_file_exclusive("assets/quickrun-6df1a5bc02229890.svg", "\n Agents coordinate through a LeadA Lead connects coder and reviewer members; Claude and Codex provider badges identify the sessions.\n \n \n LEAD\n CODERCX\n REVIEWCL\n\n"); } if (!file_exists("assets/quickrun-82367c8317669db3.svg")) { write_file_exclusive("assets/quickrun-82367c8317669db3.svg", "\n Human sets the task and reviews the outcomeA person sends the goal to a Lead and provider team, then reviews the returned result.\n \n DEFINE\n \n \n REVIEW\n\n"); } if (!file_exists("assets/quickrun-b9aabc71d76d0334.svg")) { write_file_exclusive("assets/quickrun-b9aabc71d76d0334.svg", "\n Named provider sessionsSessions grouped by team and role with status, history and usage indicators.\n \n TEAM \u00b7 PRODUCT\n LeadCLAUDE\n CoderCODEX\n statushistoryusage\n\n"); } if (!file_exists("assets/quickrun-d64deadbcca91574.svg")) { write_file_exclusive("assets/quickrun-d64deadbcca91574.svg", "\n Automated agent workflowA workflow script sends work through authoring, acceptance checks and independent review, then loops back when needed.\n \n SCRIPT\n \n CODE + QA\n VERDICT\n \n \n REPEATABLE STEPSCHECKED OUTPUT\n\n"); } if (!file_exists("assets/quickrun-e86a49ea3059574a.svg")) { write_file_exclusive("assets/quickrun-e86a49ea3059574a.svg", "\n Four rising levels of agent automation\n A staircase rises from naming sessions to automating a workflow. Your role moves from every turn to briefing the team and reviewing its result.\n \n \n \n You start\n LEVEL 1Know sessionsYou: every turn\n LEVEL 2CoordinateYou: in the loop\n LEVEL 3DelegateYou: startand end\n LEVEL 4AutomateYou: brainstormand verdict\n \n You review\n\n"); } p = _lmcode_ cli="lmdraw" install="github:lmctl-ai/lmdraw@latest"; let stage = scene.load_svg("assets/quickrun-e86a49ea3059574a.svg", "level-one-stage"); let stage_again = scene.load_svg("assets/quickrun-e86a49ea3059574a.svg", "level-one-stage"); stage.set_attr("opacity", "0.99"); stage_again.set_attr("opacity", "1.0"); scene.render_png("build/rendered/svg-automation-ladder.png", 960, 360, 1); scene.load_svg("assets/quickrun-0e2232fcea9f2111.svg", "svg-mobile"); scene.render_png("build/rendered/svg-automation-ladder-mobile.png", 720, 640, 1); scene.load_svg("assets/quickrun-d64deadbcca91574.svg", "svg-auto"); scene.render_png("build/rendered/svg-level-automation.png", 480, 300, 1); scene.load_svg("assets/quickrun-82367c8317669db3.svg", "svg-delegate"); scene.render_png("build/rendered/svg-level-delegate.png", 480, 300, 1); scene.load_svg("assets/quickrun-b9aabc71d76d0334.svg", "svg-sessions"); scene.render_png("build/rendered/svg-level-sessions.png", 480, 300, 1); scene.load_svg("assets/quickrun-6df1a5bc02229890.svg", "svg-team"); scene.render_png("build/rendered/svg-level-team.png", 480, 300, 1); end _lmcode_ savedsl(p, out); println("wrote six SVG renders"); run = system ${dsl_cli(p)} --lmcode ${out}; if (run.code != 0) { println(str(run.stderr)); lm_exit(run.code); }