docs+runner+parser: SSOT+AST using finalized (legacy text inlining removed); provider verify reads nyash.toml; preflight warn hook; method-body guard removed; CURRENT_TASK updated for next JSON work

This commit is contained in:
Selfhosting Dev
2025-09-26 00:27:02 +09:00
parent d9f26d4549
commit 85084664c2
77 changed files with 1259 additions and 1026 deletions

View File

@ -63,5 +63,15 @@ impl NyashRunner {
}
}
}
// Provider verify (受け口): env で warn/strict のみ動作(未設定時は無処理)
match crate::runtime::provider_verify::verify_from_env() {
Ok(()) => {}
Err(e) => { eprintln!("{}", e); std::process::exit(1); }
}
// Provider Lock — lock after registry and plugins are initialized (受け口)
// Default: no-op behavior change. Exposed for future verify→lock sequencing.
crate::runtime::provider_lock::lock_providers();
}
}