feat: Python porting workspace with reference data and parity audit

This commit is contained in:
Yeachan-Heo
2026-04-01 20:36:06 +09:00
parent 9e26dcec1d
commit 8b0bd55350
99 changed files with 4890 additions and 0 deletions

23
src/prefetch.py Normal file
View File

@@ -0,0 +1,23 @@
from __future__ import annotations
from dataclasses import dataclass
from pathlib import Path
@dataclass(frozen=True)
class PrefetchResult:
name: str
started: bool
detail: str
def start_mdm_raw_read() -> PrefetchResult:
return PrefetchResult('mdm_raw_read', True, 'Simulated MDM raw-read prefetch for workspace bootstrap')
def start_keychain_prefetch() -> PrefetchResult:
return PrefetchResult('keychain_prefetch', True, 'Simulated keychain prefetch for trusted startup path')
def start_project_scan(root: Path) -> PrefetchResult:
return PrefetchResult('project_scan', True, f'Scanned project root {root}')