DebugDumpTermination
Defined in: packages/core/src/utils/debugDump.ts:105
[[EXT-159]] — the termination section of a dump: the reason, and the provider’s own tokens.
Properties
Section titled “Properties”finishReasons
Section titled “finishReasons”finishReasons: readonly
GthFinishReasonObservation[]
Defined in: packages/core/src/utils/debugDump.ts:122
The provider’s stop/finish reason per observed model message — with token: null on any
message that carried none.
Three states, and they are all different: a token says what the provider said; a null token
says the provider said nothing about a message we DID see; and an empty list says no finished
model message was observed at all.
outstandingWork
Section titled “outstandingWork”outstandingWork:
GthOutstandingWork|null
Defined in: packages/core/src/utils/debugDump.ts:133
[[EXT-158]] §(3) — the checklist work the last turn left outstanding, or null when it left
none (or there was no checklist, which is ordinary).
Recorded as automated, in the field name and in the value. The one reliable marker for finding this failure in a transcript is a human typing “continue”, so whoever reads this dump must be able to see at a glance that the counts here are the runtime’s own observation and not something a person or the model wrote. outstandingWorkSource says so in words, because a field name is a convention and a sentence is not.
outstandingWorkSource
Section titled “outstandingWorkSource”outstandingWorkSource:
string
Defined in: packages/core/src/utils/debugDump.ts:138
What produced outstandingWork, in words a reader cannot mistake for anything else. Always present when the section is, whether or not there was anything outstanding.
reason
Section titled “reason”reason:
GthTerminationReason|null
Defined in: packages/core/src/utils/debugDump.ts:113
The typed reason the last turn ended, or null when no site classified it.
null is written as null, never replaced by a placeholder category: the taxonomy’s contract
is that absence means a site we missed, and a filled-in default would silence exactly the
detector that contract exists to provide.