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/system_init.py Normal file
View File

@@ -0,0 +1,23 @@
from __future__ import annotations
from .commands import built_in_command_names, get_commands
from .setup import run_setup
from .tools import get_tools
def build_system_init_message(trusted: bool = True) -> str:
setup = run_setup(trusted=trusted)
commands = get_commands()
tools = get_tools()
lines = [
'# System Init',
'',
f'Trusted: {setup.trusted}',
f'Built-in command names: {len(built_in_command_names())}',
f'Loaded command entries: {len(commands)}',
f'Loaded tool entries: {len(tools)}',
'',
'Startup steps:',
*(f'- {step}' for step in setup.setup.startup_steps()),
]
return '\n'.join(lines)