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>
This commit is contained in:
37
BEHAVE-SHELL/decnet_behave_shell/spec/__init__.py
Normal file
37
BEHAVE-SHELL/decnet_behave_shell/spec/__init__.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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",
|
||||
]
|
||||
Reference in New Issue
Block a user