init: llm-wiki-haness 하네스 설계

This commit is contained in:
DongHyeonka
2026-07-24 14:21:35 +09:00
parent 42bf3db4fd
commit 6c53ded9cb
2436 changed files with 194486 additions and 1 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/env python3
"""Compatibility wrapper for the repository-wide neutral adapter generator."""
from __future__ import annotations
import sys
from pathlib import Path
ADAPTER_DIR = Path(__file__).resolve().parent
if str(ADAPTER_DIR) not in sys.path:
sys.path.insert(0, str(ADAPTER_DIR))
from generate import ( # noqa: E402,F401
DEFAULT_ROOT,
MANIFEST_REL,
MARKDOWN_MARKER,
GenerationError,
GenerationResult,
load_catalog,
main,
render_target,
)
from generate import generate as _generate # noqa: E402
# Kept for callers of the original one-workflow module.
SOURCE_REL = Path("harness/source/workflows/branch-from-project.json")
MARKER = MARKDOWN_MARKER
def generate(root: Path, check: bool = False) -> list[str]:
"""Return changed paths using the legacy list-shaped API."""
result = _generate(root, check=check)
return list(result.drift if check else result.written)
if __name__ == "__main__":
raise SystemExit(main())