phase15: update CLAUDE.md with Phase 15 enhancements from AGENTS.md

- Add JIT Self-Host Quickstart section for Phase 15
- Include important flags reference (plugins, parsers, debugging)
- Add Codex async workflow documentation for parallel tasks
- Update test execution with Phase 15 smoke tests
- Improve build time notes (JIT vs LLVM)
- Align with current Phase 15 progress and tooling

🎉 Bootstrap (c0→c1→c1') test confirmed working\!

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Tomoaki
2025-09-05 15:18:13 +09:00
parent a2b89fae7e
commit e323120c59
19 changed files with 393 additions and 62 deletions

View File

@ -51,6 +51,10 @@ pub fn set_current(cfg: NyashEnv) {
/// NYASH_JIT_THRESHOLD = "1"
/// NYASH_CLI_VERBOSE = "1"
pub fn bootstrap_from_toml_env() {
// Allow disabling nyash.toml env bootstrapping for isolated smokes/CI
if std::env::var("NYASH_SKIP_TOML_ENV").ok().as_deref() == Some("1") {
return;
}
let path = "nyash.toml";
let content = match std::fs::read_to_string(path) { Ok(s) => s, Err(_) => return };
let Ok(value) = toml::from_str::<toml::Value>(&content) else { return };