Choose a durable boundary
Memory, routing, a record or event, clarification, or audit evidence—not every conversational turn.
Use-case recipes
Choose a recipe by the durable handoff you need—not by the model you run.
Choose the workflow that matches your real handoff, copy the minimum request and client-record pattern, and keep every resolved, unknown, ambiguous, error, and authorization branch explicit.
Memory, routing, a record or event, clarification, or audit evidence—not every conversational turn.
Keep the original expression, semantic outcome, and complete resolver evidence whether or not a code was assigned.
Run a distinct policy check before any side effect. A resolved ConceptCode never grants permission.
Choose by workflow
One record contract across every recipe
Resolve once at a durable memory, routing, record, clarification, or audit boundary—not on every conversational turn.
originalExpressionlanguagesemanticOutcomeresolverEvidenceconceptCoderegistryVersionauthorizationOutcomeauthorizationPolicyVersiondownstreamActionOutcomeFor desktop_agent · local_llm · knowledge_application
Store the original wording beside a resolved ConceptCode and registryVersion so later systems can refer to the same reviewed meaning without erasing the user's language.
Will this reviewed meaning be written to durable memory and reused across sessions, languages, or models?
Good fit whenBest placement: At the durable-memory write boundary, not on every conversational turn.
{
"expression": "stable concept identity",
"language": "en"
}
Type: semantic_memory
originalExpressioncopy the exact submitted expressionlanguagecopy the submitted language tag or null when omittedsemanticOutcomeresolved, unknown_expression, ambiguous_expression, or request_or_service_errorresolverEvidenceretain the complete observed envelope or an immutable reference to itconceptCodecopy data.concept.code exactlyregistryVersioncopy data.concept.registryVersion exactlyresolved
data.status == "resolved" AND data.concept.code is a non-empty string
Concept assignment: copy exact returned code and registryVersion
unknown expression
data.status == "abstained" AND data.reason == "unknown_expression"
Concept assignment: none
ambiguous expression
data.status == "abstained" AND data.reason == "ambiguous_expression"
Concept assignment: none
request or service error
HTTP/input/service failure, malformed envelope, unsupported status, or resolved response without a non-empty code
Concept assignment: none
Separate authorization gate
Run this check after semantic interpretation and before any side effect.
If denied: Preserve the semantic evidence but do not perform the action.
The ConceptCode organizes meaning; it does not authorize memory sharing or downstream actions.duplicate semantic categories / reviewed durable memory categories
Target: decrease without increasing wrong accepted identityunresolved memories retained with explicit outcome / all unresolved memories
Target: increase toward complete visibilityFor desktop_agent · automation_builder · tool_runtime
A governed ConceptCode can become a stable semantic input to a separately authorized routing policy.
Does an already-authorized routing policy need a stable governed semantic key at one decision boundary?
Good fit whenBest placement: Immediately before a semantic routing decision whose policy already recognizes published codes.
{
"expression": "machine-readable representation",
"language": "en"
}
Type: semantic_route_input
originalExpressioncopy the exact submitted expressionlanguagecopy the submitted language tag or null when omittedsemanticOutcomeresolved, unknown_expression, ambiguous_expression, or request_or_service_errorresolverEvidenceretain the complete observed envelope or an immutable reference to itconceptCodecopy data.concept.code exactlyregistryVersioncopy data.concept.registryVersion exactlyresolved
data.status == "resolved" AND data.concept.code is a non-empty string
Concept assignment: copy exact returned code and registryVersion
unknown expression
data.status == "abstained" AND data.reason == "unknown_expression"
Concept assignment: none
ambiguous expression
data.status == "abstained" AND data.reason == "ambiguous_expression"
Concept assignment: none
request or service error
HTTP/input/service failure, malformed envelope, unsupported status, or resolved response without a non-empty code
Concept assignment: none
Separate authorization gate
Run this check after semantic interpretation and before any side effect.
If denied: Preserve the semantic evidence but do not perform the action.
A resolved identity may inform routing but never grants permission to execute a tool.unsupported or ambiguous inputs blocked from semantic routing / all unsupported or ambiguous routing inputs
Target: increase toward complete preventionauthorized routes using exact published codes / all semantic routes
Target: increase toward complete consistencyFor application_developer · api_designer · data_engineer
Attach an exact ConceptCode and registryVersion to a record or event so recipients can inspect the same definition while retaining their own display language.
Will an API, event, or stored record cross a boundary where another system benefits from inspecting the same governed definition?
Good fit whenBest placement: At an API, event, or persistence boundary where semantic metadata is part of the contract.
{
"expression": "semantic interoperability",
"language": "en"
}
Type: semantic_event_metadata
originalExpressioncopy the exact submitted expressionlanguagecopy the submitted language tag or null when omittedsemanticOutcomeresolved, unknown_expression, ambiguous_expression, or request_or_service_errorresolverEvidenceretain the complete observed envelope or an immutable reference to itconceptCodecopy data.concept.code exactlyregistryVersioncopy data.concept.registryVersion exactlyresolved
data.status == "resolved" AND data.concept.code is a non-empty string
Concept assignment: copy exact returned code and registryVersion
unknown expression
data.status == "abstained" AND data.reason == "unknown_expression"
Concept assignment: none
ambiguous expression
data.status == "abstained" AND data.reason == "ambiguous_expression"
Concept assignment: none
request or service error
HTTP/input/service failure, malformed envelope, unsupported status, or resolved response without a non-empty code
Concept assignment: none
Separate authorization gate
Run this check after semantic interpretation and before any side effect.
If denied: Preserve the semantic evidence but do not perform the action.
Do not replace domain data or access-control fields with a ConceptCode.records using the same exact code for the same reviewed meaning / compared resolved records
Target: increaseretired local label mappings / baseline local label mappings
Target: increase while preserving unresolved recordsFor support_agent · desktop_agent · human_operator
The resolver's unknown and ambiguous outcomes give the interface a principled reason to preserve uncertainty, ask a targeted question, or continue without semantic identity.
Would choosing the wrong meaning materially change the assistance, record, route, or next question?
Good fit whenBest placement: At a decision point where choosing the wrong meaning would materially change the next step.
{
"expression": "semantic alignment",
"language": "en"
}
Type: clarification_state
originalExpressioncopy the exact submitted expressionlanguagecopy the submitted language tag or null when omittedsemanticOutcomeresolved, unknown_expression, ambiguous_expression, or request_or_service_errorresolverEvidenceretain the complete observed envelope or an immutable reference to itconceptCodecopy data.concept.code exactlyregistryVersioncopy data.concept.registryVersion exactlyresolved
data.status == "resolved" AND data.concept.code is a non-empty string
Concept assignment: copy exact returned code and registryVersion
unknown expression
data.status == "abstained" AND data.reason == "unknown_expression"
Concept assignment: none
ambiguous expression
data.status == "abstained" AND data.reason == "ambiguous_expression"
Concept assignment: none
request or service error
HTTP/input/service failure, malformed envelope, unsupported status, or resolved response without a non-empty code
Concept assignment: none
Separate authorization gate
Run this check after semantic interpretation and before any side effect.
If denied: Preserve the semantic evidence but do not perform the action.
Do not frame abstention as a defect the local model should override.clarifications producing a reviewed resolved result or explicit preserved uncertainty / all clarification attempts
Target: increase without forcing resolutionmaterial decisions made without resolved identity or explicit no-code handling / material semantic decisions
Target: decrease toward zeroFor auditor · system_operator · governance_team
A resolved record points to a published definition, reviewed expressions, provenance, and registry version that can be inspected independently of the calling model.
Must a reviewer reproduce what expression was submitted, what the resolver returned, and what separate policy authorized later action?
Good fit whenBest placement: At evidence capture, logging, or review boundaries where semantic decisions must be reproducible.
{
"expression": "provenance-aware semantic record",
"language": "en"
}
Type: semantic_audit_evidence
originalExpressioncopy the exact submitted expressionlanguagecopy the submitted language tag or null when omittedsemanticOutcomeresolved, unknown_expression, ambiguous_expression, or request_or_service_errorresolverEvidenceretain the complete observed envelope or an immutable reference to itconceptCodecopy data.concept.code exactlyregistryVersioncopy data.concept.registryVersion exactlyresolved
data.status == "resolved" AND data.concept.code is a non-empty string
Concept assignment: copy exact returned code and registryVersion
unknown expression
data.status == "abstained" AND data.reason == "unknown_expression"
Concept assignment: none
ambiguous expression
data.status == "abstained" AND data.reason == "ambiguous_expression"
Concept assignment: none
request or service error
HTTP/input/service failure, malformed envelope, unsupported status, or resolved response without a non-empty code
Concept assignment: none
Separate authorization gate
Run this check after semantic interpretation and before any side effect.
If denied: Preserve the semantic evidence but do not perform the action.
Provenance supports review; it does not prove that a downstream action was authorized or correct.semantic decisions with original input, complete outcome evidence, and version data / audited semantic decisions
Target: increase toward complete coverageaudits that can reconstruct semantic and authorization gates independently / attempted audits
Target: increaseBenefit evidence
Measure the selected workflow before integration using the same population and review rules whenever practical.
Compare safer consistency, wrong-assignment prevention, clarification quality, provenance completeness, and duplicate reduction; do not optimize for call volume or resolution rate alone.
Standard-library examples
The examples normalize every resolver response into the same fail-closed record and then apply the five recipes. They never infer a code after abstention or treat identity as permission.
Deployment readiness
Recipes describe correct client behavior. Positive exact resolution still depends on deployed reviewed registry evidence; unknown, ambiguous, and error branches are complete outcomes, not placeholders.
Generate the full integration kit Inspect the local proofreviewed_exact_registry_first