refactor: drop decnet- prefix — BEHAVE is now standalone

Rename packages and imports:
  decnet-behave-core  → behave-core
  decnet-behave-shell → behave-shell
  decnet-behave-text  → behave-text
  decnet_behave_*     → behave_*

BEHAVE is no longer a DECNET sub-project.
This commit is contained in:
2026-05-10 06:20:01 -04:00
parent bccd1eafd9
commit 22b57307cf
23 changed files with 34 additions and 34 deletions

View File

@@ -2,7 +2,7 @@
"""BEHAVE-SHELL Observation envelope (registry-aware subclass).
The base envelope (`Observation`, `Window`, `OBSERVATION_SCHEMA_VERSION`,
`ObservationValue`) lives in `decnet-behave-core`; it enforces only structural
`ObservationValue`) lives in `behave-core`; it enforces only structural
invariants (window ordering, confidence bounds, schema version, no extras).
This module subclasses the core `Observation` to add registry-aware validation
@@ -19,12 +19,12 @@ from __future__ import annotations
from pydantic import model_validator
from decnet_behave_core.spec.envelope import (
from behave_core.spec.envelope import (
OBSERVATION_SCHEMA_VERSION,
ObservationValue,
Window,
)
from decnet_behave_core.spec.envelope import Observation as _BaseObservation
from behave_core.spec.envelope import Observation as _BaseObservation
from .primitives import PRIMITIVE_REGISTRY

View File

@@ -3,13 +3,13 @@ requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "decnet-behave-shell"
name = "behave-shell"
version = "0.1.0"
description = "BEHAVE-SHELL — shell-session behavioral observation registry, layered on decnet-behave-core"
description = "BEHAVE-SHELL — shell-session behavioral observation registry, layered on behave-core"
requires-python = ">=3.11"
license = { text = "GPL-3.0-or-later" }
authors = [{ name = "ANTI" }]
dependencies = ["pydantic>=2.6", "decnet-behave-core>=0.1.0"]
dependencies = ["pydantic>=2.6", "behave-core>=0.1.0"]
[project.optional-dependencies]
dev = ["pytest>=8", "pytest-cov", "ruff"]
@@ -18,7 +18,7 @@ dev = ["pytest>=8", "pytest-cov", "ruff"]
"Source" = "https://git.resacachile.cl/anti/BEHAVE"
[tool.setuptools.packages.find]
include = ["decnet_behave_shell*"]
include = ["behave_shell*"]
[tool.ruff]
line-length = 100

View File

@@ -17,7 +17,7 @@ _REPO_ROOT = Path(__file__).resolve().parent.parent
if str(_REPO_ROOT) not in sys.path:
sys.path.insert(0, str(_REPO_ROOT))
from decnet_behave_shell.spec.envelope import OBSERVATION_SCHEMA_VERSION, Observation # noqa: E402
from behave_shell.spec.envelope import OBSERVATION_SCHEMA_VERSION, Observation # noqa: E402
def build_schema() -> dict:

View File

@@ -2,7 +2,7 @@
"""Registry-aware envelope tests for BEHAVE-SHELL.
Structural envelope tests (window, confidence bounds, schema version, etc.)
live in `decnet-behave-core`'s test suite. This file exercises the SHELL-
live in `behave-core`'s test suite. This file exercises the SHELL-
SPECIFIC validation: that BEHAVE-SHELL's Observation subclass rejects
primitives not in the shell registry and rejects values that violate the
per-primitive ValueTypeSpec.
@@ -13,7 +13,7 @@ from __future__ import annotations
import pytest
from pydantic import ValidationError
from decnet_behave_shell.spec import Observation, Window
from behave_shell.spec import Observation, Window
def _make(primitive: str = "motor.keystroke_cadence", value="steady", **kwargs) -> Observation:

View File

@@ -5,7 +5,7 @@ from __future__ import annotations
import pytest
from decnet_behave_shell.spec import (
from behave_shell.spec import (
Observation,
Window,
event_topic_for,

View File

@@ -11,7 +11,7 @@ from __future__ import annotations
import re
from pathlib import Path
from decnet_behave_shell.spec import PRIMITIVE_REGISTRY, ValueKind
from behave_shell.spec import PRIMITIVE_REGISTRY, ValueKind
# Primitive paths expected by scratchpad.md (hand-extracted; v0.1).
EXPECTED_PRIMITIVES = {