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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bytes | readonly | number | Byte length of content. | packages/tools/src/result/reader.ts:56 |
content | readonly | string | The requested slice of the artifact. | packages/tools/src/result/reader.ts:54 |
eof | readonly | boolean | true when content reaches the end of the artifact (no more to read). | packages/tools/src/result/reader.ts:60 |
producerImperativeFlagged? | readonly | boolean | W-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? | readonly | Sensitivity | Sensitivity of the produced content, when the reader knows it (tools-03). | packages/tools/src/result/reader.ts:72 |
producerSource? | readonly | ToolSource | Source of the producing tool, when the reader knows it (tools-03). | packages/tools/src/result/reader.ts:70 |
producerTrustClass? | readonly | ToolTrustClass | Trust 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 |
totalBytes | readonly | number | Total byte size of the full artifact. | packages/tools/src/result/reader.ts:58 |