Skip to content

symfonic.memory.layers.procedural.native_create

native_create

An additive draft creation port over the same procedural resource.

Explicit IDs skip dedup and insert only; occupied IDs never update or reveal the occupying owner/layer/status. Omitted IDs retain store_skill's exact-owner dedup semantics. The inherited legacy store_skill path remains unchanged.

NativeProceduralLayer

NativeProceduralLayer(graph_store, *, native_scopes=False, **options)

Bases: ProceduralLayer

Source code in src/symfonic/memory/layers/procedural/native_create.py
def __init__(self, graph_store, *, native_scopes=False, **options):
    super().__init__(graph_store, **options)
    self._native_scopes = native_scopes is True
    if self._native_scopes:
        from symfonic.memory.layers.procedural.native_scope import require_native_resource

        require_native_resource(self)

native_create_scope

native_create_scope(scope)

Explicit in-memory v1 composition; never a positional conversion.

Source code in src/symfonic/memory/layers/procedural/native_create.py
def native_create_scope(self, scope):
    """Explicit in-memory v1 composition; never a positional conversion."""
    from symfonic.memory.layers.procedural.native_scope import native_create_scope

    return native_create_scope(self, scope)