Complete memory graph and document value workplans

This commit is contained in:
2026-05-15 13:30:50 +02:00
parent f49ebb563b
commit 6cc44da628
25 changed files with 1546 additions and 168 deletions

View File

@@ -26,6 +26,7 @@ def builtin_extension_registry() -> ExtensionRegistry:
_local_label_policy_descriptor(),
_document_function_descriptor(),
_memory_graph_contract_descriptor(),
_memory_runtime_adapter_descriptor(),
_agent_memory_descriptor(),
source_adapter_registry_descriptor(),
]:
@@ -319,6 +320,23 @@ def _document_function_descriptor() -> ExtensionDescriptor:
metadata={
"execution": "deterministic-only",
"external_policy_services_required": False,
"typed_values": True,
"value_kinds": [
"string",
"number",
"boolean",
"none",
"markdown",
"list",
"dictionary",
"record",
"table",
"reference",
"content_unit",
"unknown",
"dynamic",
],
"render_export_execution": False,
},
)
@@ -412,6 +430,13 @@ def _memory_graph_contract_descriptor() -> ExtensionDescriptor:
"examples/memory/memory-profile.local.yaml",
"examples/memory/decision-graph.yaml",
"examples/memory/decision-graph-selection.yaml",
"examples/memory/conversation-path.yaml",
"examples/memory/conversation-path-selection.yaml",
"examples/memory/knowledge-neighborhood.yaml",
"examples/memory/knowledge-neighborhood-selection.yaml",
"examples/memory/invalid-memory-graph.yaml",
"examples/memory/invalid-memory-profile.yaml",
"examples/memory/runtime-adapter-boundaries.yaml",
],
metadata={
"schema_versions": [
@@ -422,7 +447,59 @@ def _memory_graph_contract_descriptor() -> ExtensionDescriptor:
"runtime_execution_required": False,
"runtime_handoff_repositories": [
"kontextual-engine",
"phased-memory",
"infospace-bench",
],
"runtime_adapter_boundaries": [
"memory.runtime.kontextual-engine",
"memory.runtime.phased-memory",
"memory.store.external-graph",
"memory.store.vector",
"memory.extract.llm-assisted",
"memory.policy.enterprise-pdp",
"memory.registry.remote",
"memory.audit.sink",
],
},
)
def _memory_runtime_adapter_descriptor() -> ExtensionDescriptor:
return ExtensionDescriptor(
id="memory.runtime-adapter-boundary",
kind="memory-runtime-adapter",
summary="Non-executing handoff descriptors for external memory runtimes, stores, extraction, policy, and audit.",
capabilities=[
ProcessingCapability(id="memory_runtime_adapters", kind="describe"),
ProcessingCapability(id="memory_graphs", kind="handoff"),
ProcessingCapability(id="memory_events", kind="handoff"),
ProcessingCapability(id="context_packages", kind="handoff"),
ProcessingCapability(id="policy_decisions", kind="handoff"),
],
safety={
"reads_files": False,
"writes_files": False,
"network": False,
"launches_services": False,
"runtime_execution": False,
},
input_contract="MemoryProfile | MemoryGraph | MemoryEvent | MemoryGraphSelection | ContextPackage metadata",
output_contract="External runtime/store/policy/audit adapter descriptor",
diagnostics_namespace="memory.runtime_adapter",
provenance_prefix="memory.runtime_adapter_boundary",
docs=["docs/memory-graph-contract.md"],
examples=["examples/memory/runtime-adapter-boundaries.yaml"],
metadata={
"descriptor_catalog": "examples/memory/runtime-adapter-boundaries.yaml",
"markitect_role": "contract-validation-and-context-package-compilation",
"external_runtime_roles": [
"durable graph and event persistence",
"graph and vector retrieval",
"LLM-assisted graph extraction",
"policy enforcement and reauthorization",
"remote registry coordination",
"audit and event sinks",
],
"services_launched_by_markitect_tool": False,
},
)