ScriptShownRow
Interface: ScriptShownRow
Defined in: src/core/agent/assessment/witness.ts:120
One fenced block the answer SHOWED, and the script match's verdict on it
(.namesAndNumbersFromEvidence({ code: 'match' }), scripts/match.ts) —
filed by the Route decider while the answer layer is armed, one row per
block read, and only for the answer that STANDS (a draft sent back for
revision files none). Names, enums and counts — never the code.
The fold reads label: 'unmatched' as the reason script-unmatched (a
script shown in the answer matches no submission of this turn on the
record), and every row as the script-match check having reached a
verdict. A matched block fires nothing and supports nothing.
Properties
block
readonlyblock:number
Defined in: src/core/agent/assessment/witness.ts:127
1-based position among the answer's fenced blocks that were read.
dispatch?
readonlyoptionaldispatch?:number
Defined in: src/core/agent/assessment/witness.ts:136
On a match: the call's dispatch within the turn (ScriptRow.dispatch) — its identity.
exitCode?
readonlyoptionalexitCode?:number
Defined in: src/core/agent/assessment/witness.ts:138
On a match: exactly the runner's exit code, when it supplied one.
iteration
readonlyiteration:number
Defined in: src/core/agent/assessment/witness.ts:125
The iteration whose answer the match read.
kind
readonlykind:"script-shown"
Defined in: src/core/agent/assessment/witness.ts:121
label
readonlylabel:ScriptLabel|"unmatched"
Defined in: src/core/agent/assessment/witness.ts:129
The matched call's label, or 'unmatched'.
reason?
readonlyoptionalreason?:UnmatchedReason
Defined in: src/core/agent/assessment/witness.ts:131
On 'unmatched': why.
tool?
readonlyoptionaltool?:string
Defined in: src/core/agent/assessment/witness.ts:134
toolCallId?
readonlyoptionaltoolCallId?:string
Defined in: src/core/agent/assessment/witness.ts:133
On a match: the call it equals, and the name the model called.
turn
readonlyturn:number
Defined in: src/core/agent/assessment/witness.ts:123
AgentState.turnNumber when the row was filed — the conversation turn.
