Skip to main content

Module cognitive_context

Module cognitive_context 

Source
Expand description

Exact-generation cognitive-package context injected by an embedding host.

A3S Code deliberately does not install packages, resolve Registry state, or choose a “latest” generation. The host supplies a provider and one complete immutable binding obtained from A3S Use. Every request and response repeats that binding, and Code validates cited, bounded Markdown before it can enter the model context.

Structs§

CognitiveContextDocumentV1
One complete bounded Markdown read and its unchanged citation.
CognitiveContextLimits
Prompt-injection bounds frozen into the durable session binding.
CognitiveContextRequestV1
One exact request from Code to the host-injected cognitive provider.
CognitiveContextResponseV1
Exact response that Code validates before converting it to prompt context.
CognitiveContextSession
Runtime pairing of one durable binding with one non-serializable host port.
CognitiveKnowledgeBindingV1
Exact A3S Use Knowledge surface visible to this Code session.
CognitiveKnowledgeCitationV1
Use-owned citation projected into the cross-project R0 carrier.
CognitivePackageBindingV1
Durable exact-generation identity attached to one A3S Code session.

Enums§

CognitiveContextError
Validation failures at the Code-owned cognitive context boundary.

Constants§

COGNITIVE_CITATION_METADATA
COGNITIVE_CONTEXT_REQUEST_DIGEST_DOMAIN
COGNITIVE_CONTEXT_REQUEST_SCHEMA
COGNITIVE_CONTEXT_RESPONSE_SCHEMA
COGNITIVE_KNOWLEDGE_BINDING_SCHEMA
COGNITIVE_PACKAGE_BINDING_METADATA
COGNITIVE_PACKAGE_BINDING_SCHEMA
OKF_KNOWLEDGE_CITATION_SCHEMA
OKF_KNOWLEDGE_READ_REQUEST_SCHEMA
OKF_KNOWLEDGE_SEARCH_REQUEST_SCHEMA

Traits§

CognitiveContextProvider
Host port. Implementations typically hold an A3S Use exact-generation Knowledge lease; Code sees only bounded cited reads and never the Registry, package filesystem, ontology graph, or a personal-memory fallback.

Type Aliases§

CognitiveContextResult