Skip to main content

Module workflow_context

Module workflow_context 

Source
Expand description

Derived, read-only workflow context manifests.

Structs§

ContextEvaluation
Offline evaluation metrics; token counts are byte-based estimates.
ContextManifest
Derived manifest; it never replaces or edits the source contract or evidence.
ContextSnapshot
Context identity and bounded evidence catalog for one workflow phase.
EvidenceRef
A reference to an unchanged source file; only its reviewed summary may be sent to a provider.
ManifestEntry
An auditable selection record for one source.

Enums§

ContextError
A bounded context construction failure.
EvidenceKind
Evidence category, with six categories retained unconditionally.
SelectionReason
Why an item is in active context or cold storage.

Constants§

POLICY_VERSION
Selection policy identifier, retained for audit and replay.
SCHEMA_VERSION
Schema of a context snapshot and its derived manifest.

Functions§

build_manifest
Construct a deterministic core plus recency manifest with optional typed model scoring.
decision_request
Build one bounded Score/Noul request using only reviewed metadata.
sha256_hex
SHA-256 hex digest of bytes for source and snapshot references.