{
  "answers": {
    "c00": {
      "noul": 0.29,
      "type": "noul"
    },
    "c01": {
      "noul": 0.99,
      "type": "noul"
    },
    "c02": {
      "noul": 0.67,
      "type": "noul"
    },
    "c03": {
      "noul": 0.99,
      "type": "noul"
    },
    "c04": {
      "noul": 0.9,
      "type": "noul"
    },
    "w00": {
      "noul": 0.72,
      "type": "noul"
    },
    "w01": {
      "noul": 0.66,
      "type": "noul"
    },
    "w02": {
      "noul": 0.41,
      "type": "noul"
    },
    "w03": {
      "noul": 0.74,
      "type": "noul"
    },
    "w04": {
      "noul": 0.76,
      "type": "noul"
    },
    "w05": {
      "noul": 0.77,
      "type": "noul"
    },
    "w06": {
      "noul": 0.99,
      "type": "noul"
    },
    "w07": {
      "noul": 0.99,
      "type": "noul"
    },
    "w08": {
      "noul": 0.99,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T04:49:57Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.29,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.99,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.67,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.99,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 0.9,
      "question": "c04"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 23266,
  "method": "0.15.0",
  "model": "jev-1.14.0",
  "model_asked": "jev-1.14.0",
  "request": {
    "model": "jev-1.14.0",
    "questions": {
      "c00": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool validate_posecode: Invalid input: expected string, received undefined at source",
          "tool": "validate_posecode"
        },
        "type": "noul"
      },
      "c01": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "source": {}
          },
          "parameter": "source",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool validate_posecode: Invalid input: expected string, received object at source",
          "tool": "validate_posecode"
        },
        "type": "noul"
      },
      "c02": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool render_posecode: Invalid input: expected string, received undefined at source",
          "tool": "render_posecode"
        },
        "type": "noul"
      },
      "c03": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "source": {}
          },
          "parameter": "source",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool render_posecode: Invalid input: expected string, received object at source",
          "tool": "render_posecode"
        },
        "type": "noul"
      },
      "c04": {
        "criteria": {
          "false": "The reply does not say the tool is missing: for example a generic failure, a crash, or a normal answer.",
          "true": "The reply says the tool is unknown, not found, or does not exist."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` tell the caller that there is no tool named `tool`?",
          "reply": "MCP error -32602: Tool didrun_unknown_tool not found",
          "tool": "didrun_unknown_tool"
        },
        "type": "noul"
      },
      "w00": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## Posecode authoring guide\n\nThe guide tool returned the following text. **Its response cuts off mid-sentence**, so the guide shown here is incomplete. The complete example document in the returned portion is validated below.\n\n> # Posecode LLM authoring guide\n>\n> Use this optional guide when you want ChatGPT, Claude, or another model to draft a movement. Paste the prompt below, ask for a movement (\"write a squat\", \"show a hamstring stretch\"), then inspect the reply in the Posecode playground.\n>\n> This is the task-oriented, pasteable authoring guide. The [published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR contract. This guide stays self-contained so a model does not need to follow a link, but the specification wins if the two ever disagree.\n>\n> ---\n>\n> You write **Posecode**, a small text language that describes one person's movement so a 3D figure can animate it.\n>\n> When the request is representable, output ONLY the raw `.posecode` document: no Markdown fence and no prose. Before writing it, privately lock down the movement intent: lead side, moving side, every support/contact, the key pose at each phase boundary, and whether each phase accelerates, flows, or settles. Never let a cue claim a contact, direction, or body side that the commands do not encode.\n>\n> If the request requires an unsupported capability—free flight, two people, arbitrary equipment, exact sign language, or detailed scapular/facial motion—do not fabricate a convincing-sounding document. Reply with one short sentence beginning `Posecode cannot yet represent...` and name the missing capability.\n>\n> ### Product mental model\n>\n> Posecode is an inspectable movement source format, not natural-language stage direction and not a physics simulator. The product parses the document in the browser, validates its closed vocabulary and configured range of motion, builds one key pose per `step`, interpolates between those poses, then applies declared co",
          "done_when": "The transcript shows the guide, a validation call using its example document, and the returned errors and clamps or their absence.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "# Posecode LLM authoring guide\n\nUse this optional guide when you want ChatGPT, Claude, or another model to\ndraft a movement. Paste the prompt below, ask for a movement (\"write a squat\",\n\"show a hamstring stretch\"), then inspect the reply in the Posecode playground.\n\nThis is the task-oriented, pasteable authoring guide. The\n[published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR\ncontract. This guide stays self-contained so a model does not need to follow a\nlink, but the specification wins if the two ever disagree.\n\n---\n\nYou write **Posecode**, a small text language that describes one person's\nmovement so a 3D figure can animate it.\n\nWhen the request is representable, output ONLY the raw `.posecode` document:\nno Markdown fence and no prose. Before writing it, privately lock down the\nmovement intent: lead side, moving side, every support/contact, the key pose at\neach phase boundary, and whether each phase accelerates, flows, or settles.\nNever let a cue claim a contact, direction, or body side that the commands do\nnot encode.\n\nIf the request requires an unsupported capability—free flight, two people,\narbitrary equipment, exact sign language, or detailed scapular/facial motion—do\nnot fabricate a convincing-sounding document. Reply with one short sentence\nbeginning `Posecode cannot yet represent...` and name the missing capability.\n\n## Product mental model\n\nPosecode is an inspectable movement source format, not natural-language stage\ndirection and not a physics simulator. The product parses the document in the\nbrowser, validates its closed vocabulary and configured range of motion, builds\none key pose per `step`, interpolates between those poses, then applies declared\ncontact solvers. The editor text remains the source of truth.\n\nThis has several consequences that must shape every generated document:\n\n- A joint number is the **absolute target at the end of that step**, measured\n  from the rig's reference pose. It is not a relative “add 20 degrees” command.\n- All targets inside one step happen concurrently during that step. Source line\n  order inside the step is not a choreography sequence.\n- Omitted joint channels carry forward. Contacts do not: repeat every active\n  `ground-lock`, `reach`, `pin`, or `grip` in every phase that needs it.\n- A step duration is travel time to the next key pose, not time spent holding\n  it. A visible hold is a separate unchanged step.\n- `reach`, `pin`, `grip`, floor correction, and ground locking can adjust the\n  final rendered pose after forward-kinematic joint targets are applied. Do not\n  author contradictory FK and contact goals.\n- An out-of-range angle is clamped and produces a warning. Two different bad\n  requests can therefore render identically if both clamp to the same limit.\n- A fatal syntax/validation error produces no new movement IR, so a live viewer\n  may keep showing the last valid document. “The viewer did not change” can\n  mean the new source is invalid; generate source that passes diagnostics.\n- A document loops from its last phase back to its composed start pose. Author\n  an intentional recovery when that reset should not be visible.\n- A host may support `clip \"name\"`, but clip names are host-provided assets and\n  are not portable Posecode choreography. Do not emit `clip` unless the user or\n  host explicitly supplies a supported clip name; phases must still fully\n  describe the motion.\n\n## Non-negotiable output contract\n\nWhen Posecode can represent the request, obey all of these rules:\n\n1. Return raw Posecode only. Do not add a Markdown fence, explanation,\n   validation report, title outside the document, or trailing notes.\n2. Emit exactly one header, one `rig humanoid`, one `pose start`, one or more\n   steps, and one positive-integer `repeat`.\n3. Use a quoted, non-empty document name and quoted, non-empty step names.\n4. Put `:` after every `step` header and after `pose start` only when it opens an\n   override block. Put `:` after joint names, `ground-lock`, `reach`, `pin`,\n   `grip`, `turn`, and `travel`; do **not** put `:` after `cue`.\n5. Give every duration a positive number followed immediately by `s`, such as\n   `0.5s` or `2s`. Angles are bare numbers: write `90`, never `90°` or `90deg`.\n6. Use non-negative magnitudes with the correct directional action. Write\n   `shoulder_right: extend 20`, not `flex -20`.\n7. Put one directive on each line. Do not combine joint targets with commas,\n   semicolons, braces, bullets, JSON, YAML, or prose.\n8. Use canonical `thing_left` / `thing_right` names. Never invent `left_knee`,\n   `right-foot`, `leg_left`, or an approximate synonym.\n9. Use two-space indentation for top-level declarations and four spaces for\n   children of a step or start-pose override, following the template exactly.\n10. Prefer 2–6 meaningful phases. Add more only when each new phase creates a\n    distinct key pose, contact change, direction change, or deliberate hold.\n\nMinimal valid shape:\n\n```posecode\nposecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1\n```\n\n## Grammar\n\n```\nposecode <kind> \"<Name>\"          # kind = exercise | stretch | posture\n  rig humanoid\n  prop <type>                  # optional: chair | wall | bar | box | dip-bars (repeatable)\n  pose start = <pose>          # neutral | standing | first-position | plank | supine | prone | seated\n  # Or append `:` and indent sparse joint overrides beneath it:\n  pose start = <pose>:\n    <joint>: <action> <degrees>\n  step \"<Phase name>\" <Ns> <mode>:     # mode = flow | settle | drive | snap | linear\n    <joint>: <action> <degrees>\n    reach: <effector> <target> # limb IK to a landmark, floor, or declared prop anchor\n    pin: <effector> <anchor>   # move the body while one primary contact stays fixed\n    grip: hands <anchor>       # two-hand grip on a declared bar / rails\n    ground-lock: <contacts>    # planted supports; groups/back or side-specific names\n    turn: <degrees>            # optional: face this yaw by phase end (standing only)\n    travel: <x> <z>            # optional: move to this x z (metres) by phase end\n    cue \"<short coaching cue>\" # display-only text; never changes the motion\n  repeat <count>\n```\n\n## Contact mechanisms\n\n| Directive | What moves | Use it for |\n| --- | --- | --- |\n| `ground-lock` | The solver preserves an existing floor support while the body moves. | A foot, hand, forearm, or the back is already planted. |\n| `reach` | A limb endpoint moves toward a target through IK; the body root does not translate. | An additional floor, body-landmark, or declared-prop contact. |\n| `pin` | The whole body translates around one primary fixed anchor. | A knee on the floor, a foot on a box, or another single body-moving support. |\n| `grip` | The body translates, each arm solves to a bar/rail, and the fingers close. | One- or two-hand support on a declared `bar` or `dip-bars` prop. |\n\nUse only one of the root-solving families (`ground-lock`, `pin`, or `grip`) in\na step. Add compatible secondary contacts with `reach`. For example,\n`ground-lock: foot_right` plus `reach: knee_left floor` is valid; adding\n`pin: knee_left floor` to that same step is a conflict and the parser rejects\nit.\n\n`cue` is display-only coaching text. It may appear next to the current phase in\na viewer, but it does not change joint targets, contacts, timing, validation,\nor solver behavior. Never rely on a cue to create motion.\n\nUse a start-pose override block only when none of the built-ins is the exact\nopening shape. Its joint targets are ROM-clamped and layered sparsely over the\nbuilt-in pose; they do not consume time or create a phase. Omitted channels keep\nthe built-in value, and the composed pose is restored when t",
              "tool": "posecode_authoring_guide"
            },
            {
              "arguments": {
                "source": "posecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1"
              },
              "reply": "{\n  \"ok\": true,\n  \"kind\": \"exercise\",\n  \"name\": \"Movement name\",\n  \"startPose\": \"standing\",\n  \"totalDurationSec\": 2,\n  \"repeat\": 1,\n  \"phases\": [\n    {\n      \"name\": \"Reach the key pose\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Raise both arms while both feet remain planted\"\n    },\n    {\n      \"name\": \"Return\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Lower both arms to the starting position\"\n    }\n  ],\n  \"errors\": [],\n  \"romWarnings\": []\n}",
              "tool": "validate_posecode"
            }
          ],
          "task": "Show me the Posecode authoring guide, then validate the complete example document from that guide and report the validation result and any range-of-motion clamps."
        },
        "type": "noul"
      },
      "w01": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## Posecode authoring guide\n\nThe guide tool’s response was **truncated**, so I can show only the portion it returned. It begins by describing Posecode as a text language for animating one person’s movement and links to the [Posecode Protocol Specification](https://posecode.org/spec.html) as the normative reference.\n\n### Key authoring rules\n\n- Joint angles are **absolute targets** at the end of a step, not relative changes. Targets within a step happen concurrently.\n- Omitted joint channels carry forward, but contacts do not: repeat active contacts in every phase that needs them.\n- Step duration is travel time to a key pose. A visible hold requires a separate unchanged step.\n- Contact solvers can adjust the rendered pose after joint targets are applied. Out-of-range angles are clamped with a warning.\n- Use one header, one `rig humanoid`, one `pose start`, one or more steps, and one positive-integer `repeat`.\n- Use canonical joint names, positive durations such as `1s`, and non-negative angle magnitudes with the appropriate directional action.\n- Use only one root-solving family—`ground-lock`, `pin`, or `grip`—per step. Compatible secondary contacts can use `reach`.\n- `cue` is display-only; it does not create movement or contact.\n- Unsupported capabilities include free flight, two people, arbitrary equipment, exact sign language, and detailed scapular or facial motion.\n\n### Grammar returned by the guide\n\n```text\nposecode <kind> \"<Name>\"          # kind = exercise | stretch | posture\n  rig humanoid\n  prop <type>                  # optional: chair | wall | bar | box | dip-bars (repeatable)\n  pose start = <pose>          # neutral | standing | first-position | plank | supine | prone | seated\n  # Or append `:` and indent sparse joint overrides beneath it:\n  pose start = <pose>:\n    <joint>: <action> <degrees>\n  step \"<Phase name>\" <Ns> <mode>:     # mode = flow | settle | drive | snap | linear\n    <joint>: <action> <degrees>\n    reach: <effector> <target>\n    pin: <effecto",
          "done_when": "The transcript shows the guide, a validation call using its example document, and the returned errors and clamps or their absence.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "# Posecode LLM authoring guide\n\nUse this optional guide when you want ChatGPT, Claude, or another model to\ndraft a movement. Paste the prompt below, ask for a movement (\"write a squat\",\n\"show a hamstring stretch\"), then inspect the reply in the Posecode playground.\n\nThis is the task-oriented, pasteable authoring guide. The\n[published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR\ncontract. This guide stays self-contained so a model does not need to follow a\nlink, but the specification wins if the two ever disagree.\n\n---\n\nYou write **Posecode**, a small text language that describes one person's\nmovement so a 3D figure can animate it.\n\nWhen the request is representable, output ONLY the raw `.posecode` document:\nno Markdown fence and no prose. Before writing it, privately lock down the\nmovement intent: lead side, moving side, every support/contact, the key pose at\neach phase boundary, and whether each phase accelerates, flows, or settles.\nNever let a cue claim a contact, direction, or body side that the commands do\nnot encode.\n\nIf the request requires an unsupported capability—free flight, two people,\narbitrary equipment, exact sign language, or detailed scapular/facial motion—do\nnot fabricate a convincing-sounding document. Reply with one short sentence\nbeginning `Posecode cannot yet represent...` and name the missing capability.\n\n## Product mental model\n\nPosecode is an inspectable movement source format, not natural-language stage\ndirection and not a physics simulator. The product parses the document in the\nbrowser, validates its closed vocabulary and configured range of motion, builds\none key pose per `step`, interpolates between those poses, then applies declared\ncontact solvers. The editor text remains the source of truth.\n\nThis has several consequences that must shape every generated document:\n\n- A joint number is the **absolute target at the end of that step**, measured\n  from the rig's reference pose. It is not a relative “add 20 degrees” command.\n- All targets inside one step happen concurrently during that step. Source line\n  order inside the step is not a choreography sequence.\n- Omitted joint channels carry forward. Contacts do not: repeat every active\n  `ground-lock`, `reach`, `pin`, or `grip` in every phase that needs it.\n- A step duration is travel time to the next key pose, not time spent holding\n  it. A visible hold is a separate unchanged step.\n- `reach`, `pin`, `grip`, floor correction, and ground locking can adjust the\n  final rendered pose after forward-kinematic joint targets are applied. Do not\n  author contradictory FK and contact goals.\n- An out-of-range angle is clamped and produces a warning. Two different bad\n  requests can therefore render identically if both clamp to the same limit.\n- A fatal syntax/validation error produces no new movement IR, so a live viewer\n  may keep showing the last valid document. “The viewer did not change” can\n  mean the new source is invalid; generate source that passes diagnostics.\n- A document loops from its last phase back to its composed start pose. Author\n  an intentional recovery when that reset should not be visible.\n- A host may support `clip \"name\"`, but clip names are host-provided assets and\n  are not portable Posecode choreography. Do not emit `clip` unless the user or\n  host explicitly supplies a supported clip name; phases must still fully\n  describe the motion.\n\n## Non-negotiable output contract\n\nWhen Posecode can represent the request, obey all of these rules:\n\n1. Return raw Posecode only. Do not add a Markdown fence, explanation,\n   validation report, title outside the document, or trailing notes.\n2. Emit exactly one header, one `rig humanoid`, one `pose start`, one or more\n   steps, and one positive-integer `repeat`.\n3. Use a quoted, non-empty document name and quoted, non-empty step names.\n4. Put `:` after every `step` header and after `pose start` only when it opens an\n   override block. Put `:` after joint names, `ground-lock`, `reach`, `pin`,\n   `grip`, `turn`, and `travel`; do **not** put `:` after `cue`.\n5. Give every duration a positive number followed immediately by `s`, such as\n   `0.5s` or `2s`. Angles are bare numbers: write `90`, never `90°` or `90deg`.\n6. Use non-negative magnitudes with the correct directional action. Write\n   `shoulder_right: extend 20`, not `flex -20`.\n7. Put one directive on each line. Do not combine joint targets with commas,\n   semicolons, braces, bullets, JSON, YAML, or prose.\n8. Use canonical `thing_left` / `thing_right` names. Never invent `left_knee`,\n   `right-foot`, `leg_left`, or an approximate synonym.\n9. Use two-space indentation for top-level declarations and four spaces for\n   children of a step or start-pose override, following the template exactly.\n10. Prefer 2–6 meaningful phases. Add more only when each new phase creates a\n    distinct key pose, contact change, direction change, or deliberate hold.\n\nMinimal valid shape:\n\n```posecode\nposecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1\n```\n\n## Grammar\n\n```\nposecode <kind> \"<Name>\"          # kind = exercise | stretch | posture\n  rig humanoid\n  prop <type>                  # optional: chair | wall | bar | box | dip-bars (repeatable)\n  pose start = <pose>          # neutral | standing | first-position | plank | supine | prone | seated\n  # Or append `:` and indent sparse joint overrides beneath it:\n  pose start = <pose>:\n    <joint>: <action> <degrees>\n  step \"<Phase name>\" <Ns> <mode>:     # mode = flow | settle | drive | snap | linear\n    <joint>: <action> <degrees>\n    reach: <effector> <target> # limb IK to a landmark, floor, or declared prop anchor\n    pin: <effector> <anchor>   # move the body while one primary contact stays fixed\n    grip: hands <anchor>       # two-hand grip on a declared bar / rails\n    ground-lock: <contacts>    # planted supports; groups/back or side-specific names\n    turn: <degrees>            # optional: face this yaw by phase end (standing only)\n    travel: <x> <z>            # optional: move to this x z (metres) by phase end\n    cue \"<short coaching cue>\" # display-only text; never changes the motion\n  repeat <count>\n```\n\n## Contact mechanisms\n\n| Directive | What moves | Use it for |\n| --- | --- | --- |\n| `ground-lock` | The solver preserves an existing floor support while the body moves. | A foot, hand, forearm, or the back is already planted. |\n| `reach` | A limb endpoint moves toward a target through IK; the body root does not translate. | An additional floor, body-landmark, or declared-prop contact. |\n| `pin` | The whole body translates around one primary fixed anchor. | A knee on the floor, a foot on a box, or another single body-moving support. |\n| `grip` | The body translates, each arm solves to a bar/rail, and the fingers close. | One- or two-hand support on a declared `bar` or `dip-bars` prop. |\n\nUse only one of the root-solving families (`ground-lock`, `pin`, or `grip`) in\na step. Add compatible secondary contacts with `reach`. For example,\n`ground-lock: foot_right` plus `reach: knee_left floor` is valid; adding\n`pin: knee_left floor` to that same step is a conflict and the parser rejects\nit.\n\n`cue` is display-only coaching text. It may appear next to the current phase in\na viewer, but it does not change joint targets, contacts, timing, validation,\nor solver behavior. Never rely on a cue to create motion.\n\nUse a start-pose override block only when none of the built-ins is the exact\nopening shape. Its joint targets are ROM-clamped and layered sparsely over the\nbuilt-in pose; they do not consume time or create a phase. Omitted channels keep\nthe built-in value, and the composed pose is restored when t",
              "tool": "posecode_authoring_guide"
            },
            {
              "arguments": {
                "source": "posecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1"
              },
              "reply": "{\n  \"ok\": true,\n  \"kind\": \"exercise\",\n  \"name\": \"Movement name\",\n  \"startPose\": \"standing\",\n  \"totalDurationSec\": 2,\n  \"repeat\": 1,\n  \"phases\": [\n    {\n      \"name\": \"Reach the key pose\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Raise both arms while both feet remain planted\"\n    },\n    {\n      \"name\": \"Return\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Lower both arms to the starting position\"\n    }\n  ],\n  \"errors\": [],\n  \"romWarnings\": []\n}",
              "tool": "validate_posecode"
            }
          ],
          "task": "Show me the Posecode authoring guide, then validate the complete example document from that guide and report the validation result and any range-of-motion clamps."
        },
        "type": "noul"
      },
      "w02": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## Posecode authoring guide\n\nThe guide tool returned the text below, but its response was **truncated at the end**. The complete example document is included in the returned portion.\n\n# Posecode LLM authoring guide\n\nUse this optional guide when you want ChatGPT, Claude, or another model to draft a movement. Paste the prompt below, ask for a movement (“write a squat”, “show a hamstring stretch”), then inspect the reply in the Posecode playground.\n\nThis is the task-oriented, pasteable authoring guide. The [published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR contract. This guide stays self-contained so a model does not need to follow a link, but the specification wins if the two ever disagree.\n\n---\n\nYou write **Posecode**, a small text language that describes one person's movement so a 3D figure can animate it.\n\nWhen the request is representable, output ONLY the raw `.posecode` document: no Markdown fence and no prose. Before writing it, privately lock down the movement intent: lead side, moving side, every support/contact, the key pose at each phase boundary, and whether each phase accelerates, flows, or settles. Never let a cue claim a contact, direction, or body side that the commands do not encode.\n\nIf the request requires an unsupported capability—free flight, two people, arbitrary equipment, exact sign language, or detailed scapular/facial motion—do not fabricate a convincing-sounding document. Reply with one short sentence beginning `Posecode cannot yet represent...` and name the missing capability.\n\n### Product mental model\n\nPosecode is an inspectable movement source format, not natural-language stage direction and not a physics simulator. The product parses the document in the browser, validates its closed vocabulary and configured range of motion, builds one key pose per `step`, interpolates between those poses, then applies declared contact solvers. The editor text remains the source of truth.\n\nThis has",
          "done_when": "The transcript shows the guide, a validation call using its example document, and the returned errors and clamps or their absence.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "# Posecode LLM authoring guide\n\nUse this optional guide when you want ChatGPT, Claude, or another model to\ndraft a movement. Paste the prompt below, ask for a movement (\"write a squat\",\n\"show a hamstring stretch\"), then inspect the reply in the Posecode playground.\n\nThis is the task-oriented, pasteable authoring guide. The\n[published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR\ncontract. This guide stays self-contained so a model does not need to follow a\nlink, but the specification wins if the two ever disagree.\n\n---\n\nYou write **Posecode**, a small text language that describes one person's\nmovement so a 3D figure can animate it.\n\nWhen the request is representable, output ONLY the raw `.posecode` document:\nno Markdown fence and no prose. Before writing it, privately lock down the\nmovement intent: lead side, moving side, every support/contact, the key pose at\neach phase boundary, and whether each phase accelerates, flows, or settles.\nNever let a cue claim a contact, direction, or body side that the commands do\nnot encode.\n\nIf the request requires an unsupported capability—free flight, two people,\narbitrary equipment, exact sign language, or detailed scapular/facial motion—do\nnot fabricate a convincing-sounding document. Reply with one short sentence\nbeginning `Posecode cannot yet represent...` and name the missing capability.\n\n## Product mental model\n\nPosecode is an inspectable movement source format, not natural-language stage\ndirection and not a physics simulator. The product parses the document in the\nbrowser, validates its closed vocabulary and configured range of motion, builds\none key pose per `step`, interpolates between those poses, then applies declared\ncontact solvers. The editor text remains the source of truth.\n\nThis has several consequences that must shape every generated document:\n\n- A joint number is the **absolute target at the end of that step**, measured\n  from the rig's reference pose. It is not a relative “add 20 degrees” command.\n- All targets inside one step happen concurrently during that step. Source line\n  order inside the step is not a choreography sequence.\n- Omitted joint channels carry forward. Contacts do not: repeat every active\n  `ground-lock`, `reach`, `pin`, or `grip` in every phase that needs it.\n- A step duration is travel time to the next key pose, not time spent holding\n  it. A visible hold is a separate unchanged step.\n- `reach`, `pin`, `grip`, floor correction, and ground locking can adjust the\n  final rendered pose after forward-kinematic joint targets are applied. Do not\n  author contradictory FK and contact goals.\n- An out-of-range angle is clamped and produces a warning. Two different bad\n  requests can therefore render identically if both clamp to the same limit.\n- A fatal syntax/validation error produces no new movement IR, so a live viewer\n  may keep showing the last valid document. “The viewer did not change” can\n  mean the new source is invalid; generate source that passes diagnostics.\n- A document loops from its last phase back to its composed start pose. Author\n  an intentional recovery when that reset should not be visible.\n- A host may support `clip \"name\"`, but clip names are host-provided assets and\n  are not portable Posecode choreography. Do not emit `clip` unless the user or\n  host explicitly supplies a supported clip name; phases must still fully\n  describe the motion.\n\n## Non-negotiable output contract\n\nWhen Posecode can represent the request, obey all of these rules:\n\n1. Return raw Posecode only. Do not add a Markdown fence, explanation,\n   validation report, title outside the document, or trailing notes.\n2. Emit exactly one header, one `rig humanoid`, one `pose start`, one or more\n   steps, and one positive-integer `repeat`.\n3. Use a quoted, non-empty document name and quoted, non-empty step names.\n4. Put `:` after every `step` header and after `pose start` only when it opens an\n   override block. Put `:` after joint names, `ground-lock`, `reach`, `pin`,\n   `grip`, `turn`, and `travel`; do **not** put `:` after `cue`.\n5. Give every duration a positive number followed immediately by `s`, such as\n   `0.5s` or `2s`. Angles are bare numbers: write `90`, never `90°` or `90deg`.\n6. Use non-negative magnitudes with the correct directional action. Write\n   `shoulder_right: extend 20`, not `flex -20`.\n7. Put one directive on each line. Do not combine joint targets with commas,\n   semicolons, braces, bullets, JSON, YAML, or prose.\n8. Use canonical `thing_left` / `thing_right` names. Never invent `left_knee`,\n   `right-foot`, `leg_left`, or an approximate synonym.\n9. Use two-space indentation for top-level declarations and four spaces for\n   children of a step or start-pose override, following the template exactly.\n10. Prefer 2–6 meaningful phases. Add more only when each new phase creates a\n    distinct key pose, contact change, direction change, or deliberate hold.\n\nMinimal valid shape:\n\n```posecode\nposecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1\n```\n\n## Grammar\n\n```\nposecode <kind> \"<Name>\"          # kind = exercise | stretch | posture\n  rig humanoid\n  prop <type>                  # optional: chair | wall | bar | box | dip-bars (repeatable)\n  pose start = <pose>          # neutral | standing | first-position | plank | supine | prone | seated\n  # Or append `:` and indent sparse joint overrides beneath it:\n  pose start = <pose>:\n    <joint>: <action> <degrees>\n  step \"<Phase name>\" <Ns> <mode>:     # mode = flow | settle | drive | snap | linear\n    <joint>: <action> <degrees>\n    reach: <effector> <target> # limb IK to a landmark, floor, or declared prop anchor\n    pin: <effector> <anchor>   # move the body while one primary contact stays fixed\n    grip: hands <anchor>       # two-hand grip on a declared bar / rails\n    ground-lock: <contacts>    # planted supports; groups/back or side-specific names\n    turn: <degrees>            # optional: face this yaw by phase end (standing only)\n    travel: <x> <z>            # optional: move to this x z (metres) by phase end\n    cue \"<short coaching cue>\" # display-only text; never changes the motion\n  repeat <count>\n```\n\n## Contact mechanisms\n\n| Directive | What moves | Use it for |\n| --- | --- | --- |\n| `ground-lock` | The solver preserves an existing floor support while the body moves. | A foot, hand, forearm, or the back is already planted. |\n| `reach` | A limb endpoint moves toward a target through IK; the body root does not translate. | An additional floor, body-landmark, or declared-prop contact. |\n| `pin` | The whole body translates around one primary fixed anchor. | A knee on the floor, a foot on a box, or another single body-moving support. |\n| `grip` | The body translates, each arm solves to a bar/rail, and the fingers close. | One- or two-hand support on a declared `bar` or `dip-bars` prop. |\n\nUse only one of the root-solving families (`ground-lock`, `pin`, or `grip`) in\na step. Add compatible secondary contacts with `reach`. For example,\n`ground-lock: foot_right` plus `reach: knee_left floor` is valid; adding\n`pin: knee_left floor` to that same step is a conflict and the parser rejects\nit.\n\n`cue` is display-only coaching text. It may appear next to the current phase in\na viewer, but it does not change joint targets, contacts, timing, validation,\nor solver behavior. Never rely on a cue to create motion.\n\nUse a start-pose override block only when none of the built-ins is the exact\nopening shape. Its joint targets are ROM-clamped and layered sparsely over the\nbuilt-in pose; they do not consume time or create a phase. Omitted channels keep\nthe built-in value, and the composed pose is restored when t",
              "tool": "posecode_authoring_guide"
            },
            {
              "arguments": {
                "source": "posecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1"
              },
              "reply": "{\n  \"ok\": true,\n  \"kind\": \"exercise\",\n  \"name\": \"Movement name\",\n  \"startPose\": \"standing\",\n  \"totalDurationSec\": 2,\n  \"repeat\": 1,\n  \"phases\": [\n    {\n      \"name\": \"Reach the key pose\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Raise both arms while both feet remain planted\"\n    },\n    {\n      \"name\": \"Return\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Lower both arms to the starting position\"\n    }\n  ],\n  \"errors\": [],\n  \"romWarnings\": []\n}",
              "tool": "validate_posecode"
            }
          ],
          "task": "Show me the Posecode authoring guide, then validate the complete example document from that guide and report the validation result and any range-of-motion clamps."
        },
        "type": "noul"
      },
      "w03": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "The validator reported one error:\n\n- **Line 1:** Unexpected character: `@`\n\nIt reported no range-of-motion warnings.",
          "done_when": "The transcript shows the exact supplied text submitted for validation and the resulting validation errors.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "source": "this is not a posecode document @@@"
              },
              "reply": "error: {\n  \"ok\": false,\n  \"errors\": [\n    {\n      \"line\": 1,\n      \"message\": \"unexpected character: \\\"@\\\"\"\n    }\n  ],\n  \"romWarnings\": []\n}",
              "tool": "validate_posecode"
            }
          ],
          "task": "Validate this purported Posecode document and tell me what errors it contains: `this is not a posecode document @@@`."
        },
        "type": "noul"
      },
      "w04": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "The validator reported one error:\n\n- **Line 1:** Unexpected character `@`.\n\nIt reported no range-of-motion warnings.",
          "done_when": "The transcript shows the exact supplied text submitted for validation and the resulting validation errors.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "source": "this is not a posecode document @@@"
              },
              "reply": "error: {\n  \"ok\": false,\n  \"errors\": [\n    {\n      \"line\": 1,\n      \"message\": \"unexpected character: \\\"@\\\"\"\n    }\n  ],\n  \"romWarnings\": []\n}",
              "tool": "validate_posecode"
            }
          ],
          "task": "Validate this purported Posecode document and tell me what errors it contains: `this is not a posecode document @@@`."
        },
        "type": "noul"
      },
      "w05": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "The validator reported one error:\n\n- **Line 1:** Unexpected character `@`.\n\nIt reported no range-of-motion warnings.",
          "done_when": "The transcript shows the exact supplied text submitted for validation and the resulting validation errors.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "source": "this is not a posecode document @@@"
              },
              "reply": "error: {\n  \"ok\": false,\n  \"errors\": [\n    {\n      \"line\": 1,\n      \"message\": \"unexpected character: \\\"@\\\"\"\n    }\n  ],\n  \"romWarnings\": []\n}",
              "tool": "validate_posecode"
            }
          ],
          "task": "Validate this purported Posecode document and tell me what errors it contains: `this is not a posecode document @@@`."
        },
        "type": "noul"
      },
      "w06": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "Rendered the guide’s exact example. It validated with no errors or range-of-motion warnings.\n\n[View the movement in the Posecode playground](https://posecode.org/#doc=cG9zZWNvZGUgZXhlcmNpc2UgIk1vdmVtZW50IG5hbWUiCiAgcmlnIGh1bWFub2lkCiAgcG9zZSBzdGFydCA9IHN0YW5kaW5nCgogIHN0ZXAgIlJlYWNoIHRoZSBrZXkgcG9zZSIgMXMgc2V0dGxlOgogICAgc2hvdWxkZXJzOiBmbGV4IDkwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJSYWlzZSBib3RoIGFybXMgd2hpbGUgYm90aCBmZWV0IHJlbWFpbiBwbGFudGVkIgoKICBzdGVwICJSZXR1cm4iIDFzIHNldHRsZToKICAgIHNob3VsZGVyczogZmxleCAwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJMb3dlciBib3RoIGFybXMgdG8gdGhlIHN0YXJ0aW5nIHBvc2l0aW9uIgoKICByZXBlYXQgMQ)",
          "done_when": "The transcript shows the guide's example submitted to the render tool and the resulting playground permalink.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "# Posecode LLM authoring guide\n\nUse this optional guide when you want ChatGPT, Claude, or another model to\ndraft a movement. Paste the prompt below, ask for a movement (\"write a squat\",\n\"show a hamstring stretch\"), then inspect the reply in the Posecode playground.\n\nThis is the task-oriented, pasteable authoring guide. The\n[published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR\ncontract. This guide stays self-contained so a model does not need to follow a\nlink, but the specification wins if the two ever disagree.\n\n---\n\nYou write **Posecode**, a small text language that describes one person's\nmovement so a 3D figure can animate it.\n\nWhen the request is representable, output ONLY the raw `.posecode` document:\nno Markdown fence and no prose. Before writing it, privately lock down the\nmovement intent: lead side, moving side, every support/contact, the key pose at\neach phase boundary, and whether each phase accelerates, flows, or settles.\nNever let a cue claim a contact, direction, or body side that the commands do\nnot encode.\n\nIf the request requires an unsupported capability—free flight, two people,\narbitrary equipment, exact sign language, or detailed scapular/facial motion—do\nnot fabricate a convincing-sounding document. Reply with one short sentence\nbeginning `Posecode cannot yet represent...` and name the missing capability.\n\n## Product mental model\n\nPosecode is an inspectable movement source format, not natural-language stage\ndirection and not a physics simulator. The product parses the document in the\nbrowser, validates its closed vocabulary and configured range of motion, builds\none key pose per `step`, interpolates between those poses, then applies declared\ncontact solvers. The editor text remains the source of truth.\n\nThis has several consequences that must shape every generated document:\n\n- A joint number is the **absolute target at the end of that step**, measured\n  from the rig's reference pose. It is not a relative “add 20 degrees” command.\n- All targets inside one step happen concurrently during that step. Source line\n  order inside the step is not a choreography sequence.\n- Omitted joint channels carry forward. Contacts do not: repeat every active\n  `ground-lock`, `reach`, `pin`, or `grip` in every phase that needs it.\n- A step duration is travel time to the next key pose, not time spent holding\n  it. A visible hold is a separate unchanged step.\n- `reach`, `pin`, `grip`, floor correction, and ground locking can adjust the\n  final rendered pose after forward-kinematic joint targets are applied. Do not\n  author contradictory FK and contact goals.\n- An out-of-range angle is clamped and produces a warning. Two different bad\n  requests can therefore render identically if both clamp to the same limit.\n- A fatal syntax/validation error produces no new movement IR, so a live viewer\n  may keep showing the last valid document. “The viewer did not change” can\n  mean the new source is invalid; generate source that passes diagnostics.\n- A document loops from its last phase back to its composed start pose. Author\n  an intentional recovery when that reset should not be visible.\n- A host may support `clip \"name\"`, but clip names are host-provided assets and\n  are not portable Posecode choreography. Do not emit `clip` unless the user or\n  host explicitly supplies a supported clip name; phases must still fully\n  describe the motion.\n\n## Non-negotiable output contract\n\nWhen Posecode can represent the request, obey all of these rules:\n\n1. Return raw Posecode only. Do not add a Markdown fence, explanation,\n   validation report, title outside the document, or trailing notes.\n2. Emit exactly one header, one `rig humanoid`, one `pose start`, one or more\n   steps, and one positive-integer `repeat`.\n3. Use a quoted, non-empty document name and quoted, non-empty step names.\n4. Put `:` after every `step` header and after `pose start` only when it opens an\n   override block. Put `:` after joint names, `ground-lock`, `reach`, `pin`,\n   `grip`, `turn`, and `travel`; do **not** put `:` after `cue`.\n5. Give every duration a positive number followed immediately by `s`, such as\n   `0.5s` or `2s`. Angles are bare numbers: write `90`, never `90°` or `90deg`.\n6. Use non-negative magnitudes with the correct directional action. Write\n   `shoulder_right: extend 20`, not `flex -20`.\n7. Put one directive on each line. Do not combine joint targets with commas,\n   semicolons, braces, bullets, JSON, YAML, or prose.\n8. Use canonical `thing_left` / `thing_right` names. Never invent `left_knee`,\n   `right-foot`, `leg_left`, or an approximate synonym.\n9. Use two-space indentation for top-level declarations and four spaces for\n   children of a step or start-pose override, following the template exactly.\n10. Prefer 2–6 meaningful phases. Add more only when each new phase creates a\n    distinct key pose, contact change, direction change, or deliberate hold.\n\nMinimal valid shape:\n\n```posecode\nposecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1\n```\n\n## Grammar\n\n```\nposecode <kind> \"<Name>\"          # kind = exercise | stretch | posture\n  rig humanoid\n  prop <type>                  # optional: chair | wall | bar | box | dip-bars (repeatable)\n  pose start = <pose>          # neutral | standing | first-position | plank | supine | prone | seated\n  # Or append `:` and indent sparse joint overrides beneath it:\n  pose start = <pose>:\n    <joint>: <action> <degrees>\n  step \"<Phase name>\" <Ns> <mode>:     # mode = flow | settle | drive | snap | linear\n    <joint>: <action> <degrees>\n    reach: <effector> <target> # limb IK to a landmark, floor, or declared prop anchor\n    pin: <effector> <anchor>   # move the body while one primary contact stays fixed\n    grip: hands <anchor>       # two-hand grip on a declared bar / rails\n    ground-lock: <contacts>    # planted supports; groups/back or side-specific names\n    turn: <degrees>            # optional: face this yaw by phase end (standing only)\n    travel: <x> <z>            # optional: move to this x z (metres) by phase end\n    cue \"<short coaching cue>\" # display-only text; never changes the motion\n  repeat <count>\n```\n\n## Contact mechanisms\n\n| Directive | What moves | Use it for |\n| --- | --- | --- |\n| `ground-lock` | The solver preserves an existing floor support while the body moves. | A foot, hand, forearm, or the back is already planted. |\n| `reach` | A limb endpoint moves toward a target through IK; the body root does not translate. | An additional floor, body-landmark, or declared-prop contact. |\n| `pin` | The whole body translates around one primary fixed anchor. | A knee on the floor, a foot on a box, or another single body-moving support. |\n| `grip` | The body translates, each arm solves to a bar/rail, and the fingers close. | One- or two-hand support on a declared `bar` or `dip-bars` prop. |\n\nUse only one of the root-solving families (`ground-lock`, `pin`, or `grip`) in\na step. Add compatible secondary contacts with `reach`. For example,\n`ground-lock: foot_right` plus `reach: knee_left floor` is valid; adding\n`pin: knee_left floor` to that same step is a conflict and the parser rejects\nit.\n\n`cue` is display-only coaching text. It may appear next to the current phase in\na viewer, but it does not change joint targets, contacts, timing, validation,\nor solver behavior. Never rely on a cue to create motion.\n\nUse a start-pose override block only when none of the built-ins is the exact\nopening shape. Its joint targets are ROM-clamped and layered sparsely over the\nbuilt-in pose; they do not consume time or create a phase. Omitted channels keep\nthe built-in value, and the composed pose is restored when t",
              "tool": "posecode_authoring_guide"
            },
            {
              "arguments": {
                "source": "posecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1"
              },
              "reply": "{\n  \"ok\": true,\n  \"kind\": \"exercise\",\n  \"name\": \"Movement name\",\n  \"startPose\": \"standing\",\n  \"totalDurationSec\": 2,\n  \"repeat\": 1,\n  \"phases\": [\n    {\n      \"name\": \"Reach the key pose\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Raise both arms while both feet remain planted\"\n    },\n    {\n      \"name\": \"Return\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Lower both arms to the starting position\"\n    }\n  ],\n  \"errors\": [],\n  \"romWarnings\": []\n}",
              "tool": "validate_posecode"
            },
            {
              "arguments": {
                "source": "posecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1"
              },
              "reply": "{\n  \"ok\": true,\n  \"kind\": \"exercise\",\n  \"name\": \"Movement name\",\n  \"startPose\": \"standing\",\n  \"totalDurationSec\": 2,\n  \"repeat\": 1,\n  \"phases\": [\n    {\n      \"name\": \"Reach the key pose\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Raise both arms while both feet remain planted\"\n    },\n    {\n      \"name\": \"Return\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Lower both arms to the starting position\"\n    }\n  ],\n  \"errors\": [],\n  \"romWarnings\": [],\n  \"permalink\": \"https://posecode.org/#doc=cG9zZWNvZGUgZXhlcmNpc2UgIk1vdmVtZW50IG5hbWUiCiAgcmlnIGh1bWFub2lkCiAgcG9zZSBzdGFydCA9IHN0YW5kaW5nCgogIHN0ZXAgIlJlYWNoIHRoZSBrZXkgcG9zZSIgMXMgc2V0dGxlOgogICAgc2hvdWxkZXJzOiBmbGV4IDkwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJSYWlzZSBib3RoIGFybXMgd2hpbGUgYm90aCBmZWV0IHJlbWFpbiBwbGFudGVkIgoKICBzdGVwICJSZXR1cm4iIDFzIHNldHRsZToKICAgIHNob3VsZGVyczogZmxleCAwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJMb3dlciBib3RoIGFybXMgdG8gdGhlIHN0YXJ0aW5nIHBvc2l0aW9uIgoKICByZXBlYXQgMQ\"\n}",
              "tool": "render_posecode"
            }
          ],
          "task": "Using the example movement in the Posecode authoring guide, render that exact example and give me its playground permalink; you don't need to open the link."
        },
        "type": "noul"
      },
      "w07": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "Rendered the guide’s example; the tool reported no errors or range-of-motion warnings.\n\n[View the movement in the Posecode playground](https://posecode.org/#doc=cG9zZWNvZGUgZXhlcmNpc2UgIk1vdmVtZW50IG5hbWUiCiAgcmlnIGh1bWFub2lkCiAgcG9zZSBzdGFydCA9IHN0YW5kaW5nCgogIHN0ZXAgIlJlYWNoIHRoZSBrZXkgcG9zZSIgMXMgc2V0dGxlOgogICAgc2hvdWxkZXJzOiBmbGV4IDkwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJSYWlzZSBib3RoIGFybXMgd2hpbGUgYm90aCBmZWV0IHJlbWFpbiBwbGFudGVkIgoKICBzdGVwICJSZXR1cm4iIDFzIHNldHRsZToKICAgIHNob3VsZGVyczogZmxleCAwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJMb3dlciBib3RoIGFybXMgdG8gdGhlIHN0YXJ0aW5nIHBvc2l0aW9uIgoKICByZXBlYXQgMQ)",
          "done_when": "The transcript shows the guide's example submitted to the render tool and the resulting playground permalink.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "# Posecode LLM authoring guide\n\nUse this optional guide when you want ChatGPT, Claude, or another model to\ndraft a movement. Paste the prompt below, ask for a movement (\"write a squat\",\n\"show a hamstring stretch\"), then inspect the reply in the Posecode playground.\n\nThis is the task-oriented, pasteable authoring guide. The\n[published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR\ncontract. This guide stays self-contained so a model does not need to follow a\nlink, but the specification wins if the two ever disagree.\n\n---\n\nYou write **Posecode**, a small text language that describes one person's\nmovement so a 3D figure can animate it.\n\nWhen the request is representable, output ONLY the raw `.posecode` document:\nno Markdown fence and no prose. Before writing it, privately lock down the\nmovement intent: lead side, moving side, every support/contact, the key pose at\neach phase boundary, and whether each phase accelerates, flows, or settles.\nNever let a cue claim a contact, direction, or body side that the commands do\nnot encode.\n\nIf the request requires an unsupported capability—free flight, two people,\narbitrary equipment, exact sign language, or detailed scapular/facial motion—do\nnot fabricate a convincing-sounding document. Reply with one short sentence\nbeginning `Posecode cannot yet represent...` and name the missing capability.\n\n## Product mental model\n\nPosecode is an inspectable movement source format, not natural-language stage\ndirection and not a physics simulator. The product parses the document in the\nbrowser, validates its closed vocabulary and configured range of motion, builds\none key pose per `step`, interpolates between those poses, then applies declared\ncontact solvers. The editor text remains the source of truth.\n\nThis has several consequences that must shape every generated document:\n\n- A joint number is the **absolute target at the end of that step**, measured\n  from the rig's reference pose. It is not a relative “add 20 degrees” command.\n- All targets inside one step happen concurrently during that step. Source line\n  order inside the step is not a choreography sequence.\n- Omitted joint channels carry forward. Contacts do not: repeat every active\n  `ground-lock`, `reach`, `pin`, or `grip` in every phase that needs it.\n- A step duration is travel time to the next key pose, not time spent holding\n  it. A visible hold is a separate unchanged step.\n- `reach`, `pin`, `grip`, floor correction, and ground locking can adjust the\n  final rendered pose after forward-kinematic joint targets are applied. Do not\n  author contradictory FK and contact goals.\n- An out-of-range angle is clamped and produces a warning. Two different bad\n  requests can therefore render identically if both clamp to the same limit.\n- A fatal syntax/validation error produces no new movement IR, so a live viewer\n  may keep showing the last valid document. “The viewer did not change” can\n  mean the new source is invalid; generate source that passes diagnostics.\n- A document loops from its last phase back to its composed start pose. Author\n  an intentional recovery when that reset should not be visible.\n- A host may support `clip \"name\"`, but clip names are host-provided assets and\n  are not portable Posecode choreography. Do not emit `clip` unless the user or\n  host explicitly supplies a supported clip name; phases must still fully\n  describe the motion.\n\n## Non-negotiable output contract\n\nWhen Posecode can represent the request, obey all of these rules:\n\n1. Return raw Posecode only. Do not add a Markdown fence, explanation,\n   validation report, title outside the document, or trailing notes.\n2. Emit exactly one header, one `rig humanoid`, one `pose start`, one or more\n   steps, and one positive-integer `repeat`.\n3. Use a quoted, non-empty document name and quoted, non-empty step names.\n4. Put `:` after every `step` header and after `pose start` only when it opens an\n   override block. Put `:` after joint names, `ground-lock`, `reach`, `pin`,\n   `grip`, `turn`, and `travel`; do **not** put `:` after `cue`.\n5. Give every duration a positive number followed immediately by `s`, such as\n   `0.5s` or `2s`. Angles are bare numbers: write `90`, never `90°` or `90deg`.\n6. Use non-negative magnitudes with the correct directional action. Write\n   `shoulder_right: extend 20`, not `flex -20`.\n7. Put one directive on each line. Do not combine joint targets with commas,\n   semicolons, braces, bullets, JSON, YAML, or prose.\n8. Use canonical `thing_left` / `thing_right` names. Never invent `left_knee`,\n   `right-foot`, `leg_left`, or an approximate synonym.\n9. Use two-space indentation for top-level declarations and four spaces for\n   children of a step or start-pose override, following the template exactly.\n10. Prefer 2–6 meaningful phases. Add more only when each new phase creates a\n    distinct key pose, contact change, direction change, or deliberate hold.\n\nMinimal valid shape:\n\n```posecode\nposecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1\n```\n\n## Grammar\n\n```\nposecode <kind> \"<Name>\"          # kind = exercise | stretch | posture\n  rig humanoid\n  prop <type>                  # optional: chair | wall | bar | box | dip-bars (repeatable)\n  pose start = <pose>          # neutral | standing | first-position | plank | supine | prone | seated\n  # Or append `:` and indent sparse joint overrides beneath it:\n  pose start = <pose>:\n    <joint>: <action> <degrees>\n  step \"<Phase name>\" <Ns> <mode>:     # mode = flow | settle | drive | snap | linear\n    <joint>: <action> <degrees>\n    reach: <effector> <target> # limb IK to a landmark, floor, or declared prop anchor\n    pin: <effector> <anchor>   # move the body while one primary contact stays fixed\n    grip: hands <anchor>       # two-hand grip on a declared bar / rails\n    ground-lock: <contacts>    # planted supports; groups/back or side-specific names\n    turn: <degrees>            # optional: face this yaw by phase end (standing only)\n    travel: <x> <z>            # optional: move to this x z (metres) by phase end\n    cue \"<short coaching cue>\" # display-only text; never changes the motion\n  repeat <count>\n```\n\n## Contact mechanisms\n\n| Directive | What moves | Use it for |\n| --- | --- | --- |\n| `ground-lock` | The solver preserves an existing floor support while the body moves. | A foot, hand, forearm, or the back is already planted. |\n| `reach` | A limb endpoint moves toward a target through IK; the body root does not translate. | An additional floor, body-landmark, or declared-prop contact. |\n| `pin` | The whole body translates around one primary fixed anchor. | A knee on the floor, a foot on a box, or another single body-moving support. |\n| `grip` | The body translates, each arm solves to a bar/rail, and the fingers close. | One- or two-hand support on a declared `bar` or `dip-bars` prop. |\n\nUse only one of the root-solving families (`ground-lock`, `pin`, or `grip`) in\na step. Add compatible secondary contacts with `reach`. For example,\n`ground-lock: foot_right` plus `reach: knee_left floor` is valid; adding\n`pin: knee_left floor` to that same step is a conflict and the parser rejects\nit.\n\n`cue` is display-only coaching text. It may appear next to the current phase in\na viewer, but it does not change joint targets, contacts, timing, validation,\nor solver behavior. Never rely on a cue to create motion.\n\nUse a start-pose override block only when none of the built-ins is the exact\nopening shape. Its joint targets are ROM-clamped and layered sparsely over the\nbuilt-in pose; they do not consume time or create a phase. Omitted channels keep\nthe built-in value, and the composed pose is restored when t",
              "tool": "posecode_authoring_guide"
            },
            {
              "arguments": {
                "source": "posecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1"
              },
              "reply": "{\n  \"ok\": true,\n  \"kind\": \"exercise\",\n  \"name\": \"Movement name\",\n  \"startPose\": \"standing\",\n  \"totalDurationSec\": 2,\n  \"repeat\": 1,\n  \"phases\": [\n    {\n      \"name\": \"Reach the key pose\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Raise both arms while both feet remain planted\"\n    },\n    {\n      \"name\": \"Return\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Lower both arms to the starting position\"\n    }\n  ],\n  \"errors\": [],\n  \"romWarnings\": [],\n  \"permalink\": \"https://posecode.org/#doc=cG9zZWNvZGUgZXhlcmNpc2UgIk1vdmVtZW50IG5hbWUiCiAgcmlnIGh1bWFub2lkCiAgcG9zZSBzdGFydCA9IHN0YW5kaW5nCgogIHN0ZXAgIlJlYWNoIHRoZSBrZXkgcG9zZSIgMXMgc2V0dGxlOgogICAgc2hvdWxkZXJzOiBmbGV4IDkwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJSYWlzZSBib3RoIGFybXMgd2hpbGUgYm90aCBmZWV0IHJlbWFpbiBwbGFudGVkIgoKICBzdGVwICJSZXR1cm4iIDFzIHNldHRsZToKICAgIHNob3VsZGVyczogZmxleCAwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJMb3dlciBib3RoIGFybXMgdG8gdGhlIHN0YXJ0aW5nIHBvc2l0aW9uIgoKICByZXBlYXQgMQ\"\n}",
              "tool": "render_posecode"
            }
          ],
          "task": "Using the example movement in the Posecode authoring guide, render that exact example and give me its playground permalink; you don't need to open the link."
        },
        "type": "noul"
      },
      "w08": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "Rendered the guide’s example successfully, with no validation errors or range-of-motion warnings.\n\n[View the movement in the Posecode playground](https://posecode.org/#doc=cG9zZWNvZGUgZXhlcmNpc2UgIk1vdmVtZW50IG5hbWUiCiAgcmlnIGh1bWFub2lkCiAgcG9zZSBzdGFydCA9IHN0YW5kaW5nCgogIHN0ZXAgIlJlYWNoIHRoZSBrZXkgcG9zZSIgMXMgc2V0dGxlOgogICAgc2hvdWxkZXJzOiBmbGV4IDkwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJSYWlzZSBib3RoIGFybXMgd2hpbGUgYm90aCBmZWV0IHJlbWFpbiBwbGFudGVkIgoKICBzdGVwICJSZXR1cm4iIDFzIHNldHRsZToKICAgIHNob3VsZGVyczogZmxleCAwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJMb3dlciBib3RoIGFybXMgdG8gdGhlIHN0YXJ0aW5nIHBvc2l0aW9uIgoKICByZXBlYXQgMQ)",
          "done_when": "The transcript shows the guide's example submitted to the render tool and the resulting playground permalink.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "# Posecode LLM authoring guide\n\nUse this optional guide when you want ChatGPT, Claude, or another model to\ndraft a movement. Paste the prompt below, ask for a movement (\"write a squat\",\n\"show a hamstring stretch\"), then inspect the reply in the Posecode playground.\n\nThis is the task-oriented, pasteable authoring guide. The\n[published Posecode Protocol Specification](https://posecode.org/spec.html) is the normative language and IR\ncontract. This guide stays self-contained so a model does not need to follow a\nlink, but the specification wins if the two ever disagree.\n\n---\n\nYou write **Posecode**, a small text language that describes one person's\nmovement so a 3D figure can animate it.\n\nWhen the request is representable, output ONLY the raw `.posecode` document:\nno Markdown fence and no prose. Before writing it, privately lock down the\nmovement intent: lead side, moving side, every support/contact, the key pose at\neach phase boundary, and whether each phase accelerates, flows, or settles.\nNever let a cue claim a contact, direction, or body side that the commands do\nnot encode.\n\nIf the request requires an unsupported capability—free flight, two people,\narbitrary equipment, exact sign language, or detailed scapular/facial motion—do\nnot fabricate a convincing-sounding document. Reply with one short sentence\nbeginning `Posecode cannot yet represent...` and name the missing capability.\n\n## Product mental model\n\nPosecode is an inspectable movement source format, not natural-language stage\ndirection and not a physics simulator. The product parses the document in the\nbrowser, validates its closed vocabulary and configured range of motion, builds\none key pose per `step`, interpolates between those poses, then applies declared\ncontact solvers. The editor text remains the source of truth.\n\nThis has several consequences that must shape every generated document:\n\n- A joint number is the **absolute target at the end of that step**, measured\n  from the rig's reference pose. It is not a relative “add 20 degrees” command.\n- All targets inside one step happen concurrently during that step. Source line\n  order inside the step is not a choreography sequence.\n- Omitted joint channels carry forward. Contacts do not: repeat every active\n  `ground-lock`, `reach`, `pin`, or `grip` in every phase that needs it.\n- A step duration is travel time to the next key pose, not time spent holding\n  it. A visible hold is a separate unchanged step.\n- `reach`, `pin`, `grip`, floor correction, and ground locking can adjust the\n  final rendered pose after forward-kinematic joint targets are applied. Do not\n  author contradictory FK and contact goals.\n- An out-of-range angle is clamped and produces a warning. Two different bad\n  requests can therefore render identically if both clamp to the same limit.\n- A fatal syntax/validation error produces no new movement IR, so a live viewer\n  may keep showing the last valid document. “The viewer did not change” can\n  mean the new source is invalid; generate source that passes diagnostics.\n- A document loops from its last phase back to its composed start pose. Author\n  an intentional recovery when that reset should not be visible.\n- A host may support `clip \"name\"`, but clip names are host-provided assets and\n  are not portable Posecode choreography. Do not emit `clip` unless the user or\n  host explicitly supplies a supported clip name; phases must still fully\n  describe the motion.\n\n## Non-negotiable output contract\n\nWhen Posecode can represent the request, obey all of these rules:\n\n1. Return raw Posecode only. Do not add a Markdown fence, explanation,\n   validation report, title outside the document, or trailing notes.\n2. Emit exactly one header, one `rig humanoid`, one `pose start`, one or more\n   steps, and one positive-integer `repeat`.\n3. Use a quoted, non-empty document name and quoted, non-empty step names.\n4. Put `:` after every `step` header and after `pose start` only when it opens an\n   override block. Put `:` after joint names, `ground-lock`, `reach`, `pin`,\n   `grip`, `turn`, and `travel`; do **not** put `:` after `cue`.\n5. Give every duration a positive number followed immediately by `s`, such as\n   `0.5s` or `2s`. Angles are bare numbers: write `90`, never `90°` or `90deg`.\n6. Use non-negative magnitudes with the correct directional action. Write\n   `shoulder_right: extend 20`, not `flex -20`.\n7. Put one directive on each line. Do not combine joint targets with commas,\n   semicolons, braces, bullets, JSON, YAML, or prose.\n8. Use canonical `thing_left` / `thing_right` names. Never invent `left_knee`,\n   `right-foot`, `leg_left`, or an approximate synonym.\n9. Use two-space indentation for top-level declarations and four spaces for\n   children of a step or start-pose override, following the template exactly.\n10. Prefer 2–6 meaningful phases. Add more only when each new phase creates a\n    distinct key pose, contact change, direction change, or deliberate hold.\n\nMinimal valid shape:\n\n```posecode\nposecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1\n```\n\n## Grammar\n\n```\nposecode <kind> \"<Name>\"          # kind = exercise | stretch | posture\n  rig humanoid\n  prop <type>                  # optional: chair | wall | bar | box | dip-bars (repeatable)\n  pose start = <pose>          # neutral | standing | first-position | plank | supine | prone | seated\n  # Or append `:` and indent sparse joint overrides beneath it:\n  pose start = <pose>:\n    <joint>: <action> <degrees>\n  step \"<Phase name>\" <Ns> <mode>:     # mode = flow | settle | drive | snap | linear\n    <joint>: <action> <degrees>\n    reach: <effector> <target> # limb IK to a landmark, floor, or declared prop anchor\n    pin: <effector> <anchor>   # move the body while one primary contact stays fixed\n    grip: hands <anchor>       # two-hand grip on a declared bar / rails\n    ground-lock: <contacts>    # planted supports; groups/back or side-specific names\n    turn: <degrees>            # optional: face this yaw by phase end (standing only)\n    travel: <x> <z>            # optional: move to this x z (metres) by phase end\n    cue \"<short coaching cue>\" # display-only text; never changes the motion\n  repeat <count>\n```\n\n## Contact mechanisms\n\n| Directive | What moves | Use it for |\n| --- | --- | --- |\n| `ground-lock` | The solver preserves an existing floor support while the body moves. | A foot, hand, forearm, or the back is already planted. |\n| `reach` | A limb endpoint moves toward a target through IK; the body root does not translate. | An additional floor, body-landmark, or declared-prop contact. |\n| `pin` | The whole body translates around one primary fixed anchor. | A knee on the floor, a foot on a box, or another single body-moving support. |\n| `grip` | The body translates, each arm solves to a bar/rail, and the fingers close. | One- or two-hand support on a declared `bar` or `dip-bars` prop. |\n\nUse only one of the root-solving families (`ground-lock`, `pin`, or `grip`) in\na step. Add compatible secondary contacts with `reach`. For example,\n`ground-lock: foot_right` plus `reach: knee_left floor` is valid; adding\n`pin: knee_left floor` to that same step is a conflict and the parser rejects\nit.\n\n`cue` is display-only coaching text. It may appear next to the current phase in\na viewer, but it does not change joint targets, contacts, timing, validation,\nor solver behavior. Never rely on a cue to create motion.\n\nUse a start-pose override block only when none of the built-ins is the exact\nopening shape. Its joint targets are ROM-clamped and layered sparsely over the\nbuilt-in pose; they do not consume time or create a phase. Omitted channels keep\nthe built-in value, and the composed pose is restored when t",
              "tool": "posecode_authoring_guide"
            },
            {
              "arguments": {
                "source": "posecode exercise \"Movement name\"\n  rig humanoid\n  pose start = standing\n\n  step \"Reach the key pose\" 1s settle:\n    shoulders: flex 90\n    ground-lock: feet\n    cue \"Raise both arms while both feet remain planted\"\n\n  step \"Return\" 1s settle:\n    shoulders: flex 0\n    ground-lock: feet\n    cue \"Lower both arms to the starting position\"\n\n  repeat 1"
              },
              "reply": "{\n  \"ok\": true,\n  \"kind\": \"exercise\",\n  \"name\": \"Movement name\",\n  \"startPose\": \"standing\",\n  \"totalDurationSec\": 2,\n  \"repeat\": 1,\n  \"phases\": [\n    {\n      \"name\": \"Reach the key pose\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Raise both arms while both feet remain planted\"\n    },\n    {\n      \"name\": \"Return\",\n      \"durationSec\": 1,\n      \"easing\": \"settle\",\n      \"cue\": \"Lower both arms to the starting position\"\n    }\n  ],\n  \"errors\": [],\n  \"romWarnings\": [],\n  \"permalink\": \"https://posecode.org/#doc=cG9zZWNvZGUgZXhlcmNpc2UgIk1vdmVtZW50IG5hbWUiCiAgcmlnIGh1bWFub2lkCiAgcG9zZSBzdGFydCA9IHN0YW5kaW5nCgogIHN0ZXAgIlJlYWNoIHRoZSBrZXkgcG9zZSIgMXMgc2V0dGxlOgogICAgc2hvdWxkZXJzOiBmbGV4IDkwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJSYWlzZSBib3RoIGFybXMgd2hpbGUgYm90aCBmZWV0IHJlbWFpbiBwbGFudGVkIgoKICBzdGVwICJSZXR1cm4iIDFzIHNldHRsZToKICAgIHNob3VsZGVyczogZmxleCAwCiAgICBncm91bmQtbG9jazogZmVldAogICAgY3VlICJMb3dlciBib3RoIGFybXMgdG8gdGhlIHN0YXJ0aW5nIHBvc2l0aW9uIgoKICByZXBlYXQgMQ\"\n}",
              "tool": "render_posecode"
            }
          ],
          "task": "Using the example movement in the Posecode authoring guide, render that exact example and give me its playground permalink; you don't need to open the link."
        },
        "type": "noul"
      }
    },
    "state": {
      "about": "Replies of an MCP server to tool calls that were sent with bad input on purpose, to see whether its error messages help a caller fix the call."
    }
  },
  "run_id": "01M838ZMRCDNNHQNGC6DC9PB6F",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.72,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.66,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.41,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.74,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.76,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.77,
      "question": "w05"
    },
    {
      "attempt": 6,
      "noul": 0.99,
      "question": "w06"
    },
    {
      "attempt": 7,
      "noul": 0.99,
      "question": "w07"
    },
    {
      "attempt": 8,
      "noul": 0.99,
      "question": "w08"
    }
  ]
}
