feat(observatory): attest recording equipment and capture profiles

This commit is contained in:
DCCONSTRUCTIONS
2026-09-02 00:57:27 +03:00
parent 7025e173a3
commit d655d6998d
17 changed files with 1089 additions and 42 deletions
@@ -0,0 +1,35 @@
"""Exact metadata gate for the one historical recorded-LAB migration.
This compatibility check is intentionally outside the generic Session catalog:
new device plugins and equipment profiles must not add concrete vocabulary to
the shared observation hot path.
"""
from __future__ import annotations
from typing import Final
_DISPLAY_NAME: Final = "RAVNOVES004TREE · полный маршрут восприятия"
_DURATION_SECONDS: Final = 718.0
_RUN_CREATED_AT_UTC: Final = "2026-08-29T18:05:11.329061+00:00"
_PLUGIN_ID: Final = "nodedc.device.xgrids-lixelkity-k1"
_ARCHIVE_ID: Final = "xgrids-k1.viewer-live.evidence"
def matches_historical_recorded_projection(
*,
display_name: object,
duration_seconds: object,
run_created_at_utc: object,
source_plugin_id: object,
source_archive_id: object,
) -> bool:
"""Return whether legacy rows match the only supported rolling upgrade."""
return (
display_name == _DISPLAY_NAME
and duration_seconds == _DURATION_SECONDS
and run_created_at_utc == _RUN_CREATED_AT_UTC
and source_plugin_id == _PLUGIN_ID
and source_archive_id == _ARCHIVE_ID
)