()
| 27 | except Exception: |
| 28 | DEFAULT_WIKI_DIR = PROJECT_ROOT / "data" / "wiki" |
| 29 | |
| 30 | db_ops = importlib.import_module("skills.storage-helper.scripts.db_ops") |
| 31 | |
| 32 | |
| 33 | def _now() -> str: |
| 34 | return datetime.now(timezone.utc).replace(microsecond=0).isoformat() |
| 35 | |
| 36 | |
| 37 | def _wiki_root() -> Path: |
| 38 | configured = os.environ.get("PAPERFLOW_WIKI_DIR", "").strip() |
| 39 | if configured: |
no test coverage detected