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/scripts/__init__.py
4
5"""
6Offline maintenance scripts for OC Chat.
7
8Purpose
9-------
10Standalone scripts invoked as ``python -m oc_chat.scripts.<name>``.
11Not imported at runtime; no startup cost.
12
13Responsibilities
14----------------
15- Session migration utilities
16- Data repair tools
17
18Diagnostics
19-----------
20Domain: OC_CHAT.MAIN
21Levels:
22 L2 — script lifecycle events
23 L3 — per-record / per-file semantic details
24 L4 — deep tracing
25
26Contracts
27---------
28- Scripts are idempotent when possible
29- Scripts default to --dry-run to prevent accidental data loss
30
31Dependencies
32------------
33- oc_diagnostics (structured debug logging via _dbg)
34"""
35
36from oc_diagnostics import _dbg
37
38_dbg("OC_CHAT.MAIN", "scripts.__init__", "loaded", 4)