Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/tools / / ResultReadOutcome

Interface: ResultReadOutcome

Defined in: packages/tools/src/result/reader.ts:52

Outcome of ResultReader.read.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
bytesreadonlynumberByte length of content.packages/tools/src/result/reader.ts:56
contentreadonlystringThe requested slice of the artifact.packages/tools/src/result/reader.ts:54
eofreadonlybooleantrue when content reaches the end of the artifact (no more to read).packages/tools/src/result/reader.ts:60
producerImperativeFlagged?readonlybooleanW-156: true when the spill-time whole-artifact scan found a catalogued imperative pattern anywhere in the FULL artifact - a page-boundary-independent signal the per-page strip pass cannot derive from one page. Recovered from the taint sidecar by the file reader; the executor increments the cross-page operator counter on tainted reads that carry it.packages/tools/src/result/reader.ts:81
producerSensitivity?readonlySensitivitySensitivity of the produced content, when the reader knows it (tools-03).packages/tools/src/result/reader.ts:72
producerSource?readonlyToolSourceSource of the producing tool, when the reader knows it (tools-03).packages/tools/src/result/reader.ts:70
producerTrustClass?readonlyToolTrustClassTrust class of the producer of the resolved artifact, when the reader knows it (TL-6) - e.g. the MCP resource reader always reports 'mcp-derived', and the file reader recovers it from the artifact's taint sidecar (tools-03). The executor re-applies inbound sanitization + dataflow provenance by this class.packages/tools/src/result/reader.ts:68
totalBytesreadonlynumberTotal byte size of the full artifact.packages/tools/src/result/reader.ts:58