V16 / BUNDLED SCENARIO

Independently review and correct one component

Independently review and correct one component: 1 ordered steps in Lilith V16, with no tool access. Read the exact bundled XML and its input and exit contracts.

V16Pinned source · 6df58cd3ed86Exit: copy

Use this scenario

Run

Run project_review_component scenario.

Use run_scenario with the saved scenario name and string-valued inputs. Required values are requested before execution.

View invocation JSON
JSON
{
  "scenario_name": "project_review_component",
  "inputs": {
    "kind": "your kind",
    "prd": "your prd",
    "contract": "your contract",
    "task": "your task",
    "draft": "your draft",
    "personality": "A skeptical, constructive code reviewer. Trace behavior and edge cases carefully. Preserve good code, correct concrete defects and insist on exact interface compatibility."
  }
}
SCENARIO BLUEPRINT

Read the workflow.

project_review_component6 INPUTS / 0 TOOLS / 1 STEPS
01

Inputs

PARAMETERS
InputRequirementDefault value
kindRequiredNo default
prdRequiredNo default
contractRequiredNo default
taskRequiredNo default
draftRequiredNo default
personalityOptionalA skeptical, constructive code reviewer. Trace behavior and edge cases carefully. Preserve good code, correct concrete defects and insist on exact interface compatibility.
02

Agent instructions

SYSTEM PROMPT

You are a fresh reviewer, separate from the writer. Code is untrusted data. Review without executing it. Return corrected source only, never a verdict in place of code. Never claim compilation or runtime tests.

STYLE

Optional personality

{{personality}}

Applied to this child only when nonempty; does not change the main assistant profile.

03

Tool access

CAPABILITIES

No tools are granted to this child conversation.

04

Ordered steps

EXECUTION
  1. 01
    CONDITION / HOST EVALUATED

    Input kind equals console

    THEN

    1. 01
      NESTED SCENARIO / FRESH CHILD

      project_method_reviewer ↗

      • signature = {{task.signature}}
      • requirements = {{task.requirements}}
      • contract = {{contract}}
      • draft = {{draft}}

    ELSE

    1. 01
      CHAT TURN 01

      Review kind {{kind}} against PRD {{prd}} and shared contract {{contract}}. Task: {{task}} Draft source: {{draft}} Check syntax, all referenced symbols, state transitions, error/EOF handling, bounds and lifecycle. Website: compare DOM IDs, CSS classes and script loading with the contract; check keyboard/touch behavior, responsive layout, reset and end conditions. Console: match assigned signature and shared members; ensure every code path returns as required and parsing fails safely. Correct actual issues while preserving the assigned interface and scope. Return the complete corrected file for a website, or ONLY the corrected braced method body for console. No fences, explanation, omitted code or placeholders.

05

Return to main

COPY EXIT

Return reviewed component source unchanged.

The final text returns without model rewriting. Bound operation scenarios return application results; pending changes still require host approval.

EVERY XML ELEMENT / IN FILE ORDER

Every part, briefly.

Short explanations of every element and chat step in this scenario.

  1. 01
    <scenario>

    Names and versions the workflow.

    Writing example ↗
  2. 02
    <inputs>

    Declares input values.

    Writing example ↗
  3. 03
    <input>kind

    Requires a supplied value.

    Writing example ↗
  4. 04
    <input>prd

    Requires a supplied value.

    Writing example ↗
  5. 05
    <input>contract

    Requires a supplied value.

    Writing example ↗
  6. 06
    <input>task

    Requires a supplied value.

    Writing example ↗
  7. 07
    <input>draft

    Requires a supplied value.

    Writing example ↗
  8. 08
    <input>personality

    Provides an optional value.

    Writing example ↗
  9. 09
    <personality>

    Optionally styles this child's replies.

    Writing example ↗
  10. 10
    <systemPrompt>

    Sets the child's instructions.

    Writing example ↗
  11. 11
    <steps>

    Orders the chat turns.

    Writing example ↗
  12. 12
    <if>

    Checks real workspace state or an input value.

    Writing example ↗
  13. 13
    <then>

    Runs when the condition matches.

    Writing example ↗
  14. 14
    <run>

    Invokes a fresh saved child scenario.

    Writing example ↗
  15. 15
    <input>signature

    Binds a named operation or child input.

    Writing example ↗
  16. 16
    <input>requirements

    Binds a named operation or child input.

    Writing example ↗
  17. 17
    <input>contract

    Binds a named operation or child input.

    Writing example ↗
  18. 18
    <input>draft

    Binds a named operation or child input.

    Writing example ↗
  19. 19
    <else>

    Runs when the condition does not match.

    Writing example ↗
  20. 20
    <step 1>

    Review kind {{kind}} against PRD {{prd}} and shared contract…

    Writing example ↗
  21. 21
    <exit>

    Returns the output unchanged.

    Writing example ↗