oc_chat
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3# oc_chat/registry/migrations/__init__.py
4
5# OCT-LINT: disable=tests_exist reason="Covered by oc_chat/tests/registry/roadmap/test_schema_migration.py"
6"""
7Registry schema migrations.
8
9Purpose
10-------
11Provide a package namespace for runtime registry migrations.
12
13Responsibilities
14----------------
15- Keep migration modules importable by stable package path.
16- Avoid import-time database or filesystem mutation.
17
18Diagnostics
19-----------
20Domain: OC_CHAT.MAIN
21Levels:
22 L2 - package import lifecycle
23 L3 - migration package discovery
24 L4 - import dependency tracing
25
26Contracts
27---------
28- Migration modules own their own apply and rollback routines.
29- This package marker has no side effects beyond diagnostics.
30
31Dependencies
32------------
33- oc_diagnostics (structured debug logging via _dbg)
34"""
35from __future__ import annotations
36
37from oc_diagnostics import _dbg
38
39_dbg("OC_CHAT.MAIN", "module", "loaded", 4)