Skip to content

Interface: WorkerProposal

@kortexya/reasoninglayer


@kortexya/reasoninglayer / WorkerProposal

Defined in: src/types/extract.ts:63

The extraction worker’s advisory proposal, returned beside the extracted entities.

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.

attemptHash: string

Defined in: src/types/extract.ts:69

Digest of the whole attempt (identity, source, text, labels, intent).


capability: string

Defined in: src/types/extract.ts:67

Worker capability that produced the proposal.


contextHash: string

Defined in: src/types/extract.ts:73

Digest of the authorized native sort context the worker resolved.


contract: string

Defined in: src/types/extract.ts:65

Transport contract identifier the worker answered under.


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: string

Defined in: src/types/extract.ts:82

Digest of graph.


jobId: string

Defined in: src/types/extract.ts:75

Worker job identifier.


nativeAdmission: boolean

Defined in: src/types/extract.ts:86

Whether the proposal was admitted into the knowledge base. Always false.


sourceRevision: string

Defined in: src/types/extract.ts:71

Caller-declared source revision the attempt was made against.