Files
BEHAVE/BEHAVE-SHELL/decnet_behave_shell/spec/__init__.py
anti 41f54cb30b feat(shell): initial decnet_behave_shell spec + tests
Shell-session behavioral observation registry layered on core.
SPDX: GPL-3.0-or-later (code) / CC-BY-SA-4.0 (attribution-recipes.md).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 06:17:28 -04:00

38 lines
1.0 KiB
Python

# SPDX-License-Identifier: GPL-3.0-or-later
"""BEHAVE observation envelope and primitive registry — DECNET-aligned.
Public API:
from spec import Observation, Window, OBSERVATION_SCHEMA_VERSION
from spec import PRIMITIVE_REGISTRY, ValueKind, ValueTypeSpec
from spec import event_topic_for, to_event_payload, from_event_payload
See ``spec.envelope`` for the central PII-discipline statement that binds every
sensor emitting BEHAVE observations.
"""
from .envelope import OBSERVATION_SCHEMA_VERSION, Observation, ObservationValue, Window
from .event_adapter import (
TOPIC_PREFIX,
event_topic_for,
from_event_payload,
to_event_payload,
)
from .primitives import PRIMITIVE_REGISTRY, ValueKind, ValueTypeSpec, get, is_known
__all__ = [
"OBSERVATION_SCHEMA_VERSION",
"Observation",
"ObservationValue",
"Window",
"PRIMITIVE_REGISTRY",
"ValueKind",
"ValueTypeSpec",
"is_known",
"get",
"TOPIC_PREFIX",
"event_topic_for",
"to_event_payload",
"from_event_payload",
]