Interface: WorkerProposal
@kortexya/reasoninglayer / WorkerProposal
Interface: WorkerProposal
Section titled “Interface: WorkerProposal”Defined in: src/types/extract.ts:63
The extraction worker’s advisory proposal, returned beside the extracted entities.
Remarks
Section titled “Remarks”The wire form of the text-sort-proposals transport receipt. It binds the
returned graph to the attempt, the source revision, the authorized sort
context and the worker execution, after the engine checked that binding on
the worker’s job record. It is NOT a semantic certificate:
nativeAdmission is always false on this route.
execution and graph are opaque JSON the protocol defines; they are
passed through verbatim (snake_case keys, not camelCased). A newer protocol
version may add fields to the receipt; the SDK maps the fields listed here.
Properties
Section titled “Properties”attemptHash
Section titled “attemptHash”attemptHash:
string
Defined in: src/types/extract.ts:69
Digest of the whole attempt (identity, source, text, labels, intent).
capability
Section titled “capability”capability:
string
Defined in: src/types/extract.ts:67
Worker capability that produced the proposal.
contextHash
Section titled “contextHash”contextHash:
string
Defined in: src/types/extract.ts:73
Digest of the authorized native sort context the worker resolved.
contract
Section titled “contract”contract:
string
Defined in: src/types/extract.ts:65
Transport contract identifier the worker answered under.
execution
Section titled “execution”execution:
Readonly<Record<string,unknown>>
Defined in: src/types/extract.ts:80
Exact worker model and configuration, source, context and authorization binding, as recorded on the worker’s job. Opaque JSON.
graph:
Readonly<Record<string,unknown>>
Defined in: src/types/extract.ts:84
The advisory assertion and evidence graph. Opaque JSON.
graphHash
Section titled “graphHash”graphHash:
string
Defined in: src/types/extract.ts:82
Digest of graph.
jobId:
string
Defined in: src/types/extract.ts:75
Worker job identifier.
nativeAdmission
Section titled “nativeAdmission”nativeAdmission:
boolean
Defined in: src/types/extract.ts:86
Whether the proposal was admitted into the knowledge base. Always false.
sourceRevision
Section titled “sourceRevision”sourceRevision:
string
Defined in: src/types/extract.ts:71
Caller-declared source revision the attempt was made against.