helpers/state_snapshot.py.dox.md
state_snapshot.py helper module.state_snapshot.py because this directory is intentionally flat.state_snapshot.py owns the runtime implementation.state_snapshot.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.SnapshotV1 (TypedDict)StateRequestV1 (no explicit base class)StateRequestValidationError (ValueError)_annotation_to_isinstance_types(annotation: Any) -> tuple[type, ...]: Convert type annotation to tuple suitable for isinstance()._build_schema_from_typeddict(td: type) -> dict[str, tuple[type, ...]]: Extract field names and isinstance-compatible types from TypedDict.validate_snapshot_schema_v1(snapshot: Mapping[str, Any]) -> None_coerce_non_negative_int(value: Any, default: int=...) -> int_get_agent_profile_labels() -> dict[str, str]_apply_agent_profile_metadata(context_data: dict[str, Any], ctx: AgentContext, labels: dict[str, str]) -> Noneparse_state_request_payload(payload: Mapping[str, Any]) -> StateRequestV1_coerce_state_request_inputs(context: Any, log_from: Any, notifications_from: Any, timezone: Any) -> StateRequestV1advance_state_request_after_snapshot(request: StateRequestV1, snapshot: Mapping[str, Any]) -> StateRequestV1async build_snapshot_from_request(request: StateRequestV1) -> SnapshotV1: Build a poll-shaped snapshot for both /poll and state_push._notify_timezone_changed(previous_timezone: str, current_timezone: str) -> Noneasync build_snapshot(context: str | None, log_from: int, notifications_from: int, timezone: str | None) -> SnapshotV1_SNAPSHOT_V1_SCHEMA, SNAPSHOT_SCHEMA_V1_KEYS.__future__, agent, dataclasses, helpers.dotenv, helpers.localization, helpers.task_scheduler, pytz, types, typing.dataclass, _build_schema_from_typeddict, get_origin, timezone.strip, StateRequestV1, localization.get_timezone, localization.set_timezone, ctxid.strip, _coerce_non_negative_int, AgentContext.get_notification_manager, notification_manager.output, _get_agent_profile_labels, ctxs.sort, tasks.sort, validate_snapshot_schema_v1, _coerce_state_request_inputs, super.__init__, get_args, _annotation_to_isinstance_types, TypeError.tests/test_multi_tab_isolation.pytests/test_snapshot_parity.pytests/test_snapshot_schema_v1.pytests/test_state_monitor.pytests/test_state_sync_handler.pytests/test_state_sync_welcome_screen.pyNo child DOX files.