gtme answer
Record a participant's answer for one pending human/* or agent/* step
What you'll learn
You're about to type gtme answer and want its forms and its flags.
- every form of
gtme answerand what each does - each flag and what it changes
- where the docs use it
Record a participant's answer for one pending human/* or agent/* step: a filter takes pass=true|false and reason, a compose or review its declared fields; the value is validated against the step's declared outputs and refused naming them otherwise. Writes an answered event and nothing else — it never sends. STEP may be omitted when one step is pending; with no identity key and a terminal it walks the pending records. --as names the participant (default the OS user; the human/ or agent/ prefix follows the adapter), --cost records what the participant spent (estimated unless --measured), --note is free text kept with the answer (never part of a cache key)
Forms
gtme answer [RUN_ID|last|PIPELINE] [STEP] [IDENTITY_KEY] [--set field=value ...] [--as NAME] [--cost USD [--measured]] [--note TEXT]
Flags
| Flag | Takes | What it does |
|---|---|---|
--set | field=value | See the form. |
--as | NAME | --as names the participant (default the OS user; the human/ or agent/ prefix follows the adapter) |
--cost | USD | --cost records what the participant spent (estimated unless --measured) |
--measured | nothing | --cost records what the participant spent (estimated unless --measured) |
--note | TEXT | --note is free text kept with the answer (never part of a cache key) |
It exits with one of the exit codes every verb shares.
Example
From Participants:
gtme answer grading grade jane.doe@acme.com --set grading.grade=A \
--note "owns the budget" --as dana
Used in
- Participants: Every flag on the write path for a participant's answer
- Agent-operable by design: How an agent records its judgment on a pending record
- Report: The --cost and --measured flags that record a participant's cost
- Interrogate: How a person's answer, like the grade here, is recorded
- Put a human in the loop: Every flag on gtme answer