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

@@ -21,6 +21,8 @@ def test_builtin_extension_registry_lists_query_processors_and_backend():
assert "runtime.assessment" in ids
assert "policy.local-label" in ids
assert "document.function" in ids
assert "memory.graph-contract" in ids
assert "memory.runtime-adapter-boundary" in ids
assert "memory.context-package" in ids
assert "source.adapter-registry" in ids
@@ -131,6 +133,9 @@ def test_builtin_document_function_descriptor_exposes_deterministic_boundary():
assert descriptor.kind == "document-function"
assert descriptor.safety["network"] is False
assert descriptor.metadata["external_policy_services_required"] is False
assert descriptor.metadata["typed_values"] is True
assert "table" in descriptor.metadata["value_kinds"]
assert descriptor.metadata["render_export_execution"] is False
assert {capability.id for capability in descriptor.capabilities} >= {
"document_function",
"deterministic",
@@ -158,3 +163,22 @@ def test_builtin_memory_descriptor_exposes_local_optional_boundary():
}
assert "mkt context pack" in descriptor.cli["commands"]
assert "mkt context activate" in descriptor.cli["commands"]
def test_builtin_memory_graph_descriptor_exposes_runtime_handoff_boundaries():
registry = builtin_extension_registry()
graph = registry.get("memory.graph-contract")
adapters = registry.get("memory.runtime-adapter-boundary")
assert graph.kind == "memory-contract"
assert graph.safety["external_memory_services"] is False
assert "mkt memory graph pack" in graph.cli["commands"]
assert "examples/memory/conversation-path.yaml" in graph.examples
assert "examples/memory/knowledge-neighborhood.yaml" in graph.examples
assert "memory.runtime.kontextual-engine" in graph.metadata["runtime_adapter_boundaries"]
assert "memory.audit.sink" in graph.metadata["runtime_adapter_boundaries"]
assert adapters.kind == "memory-runtime-adapter"
assert adapters.safety["runtime_execution"] is False
assert adapters.metadata["services_launched_by_markitect_tool"] is False
assert "examples/memory/runtime-adapter-boundaries.yaml" in adapters.examples