Files
hakorune/docs/development/current
nyash-codex 3ca84e8d59 docs: Phase 194 JsonParser P1/P2/P5 deployment plan
Phase 194 instruction document for production deployment:
- Goal: Validate Phase 170-193 infrastructure with real code (JsonParser)
- Scope: "What we can do now" only (no new Patterns)

Task breakdown:
- 194-1: Loop inventory (4 target loops, 4 deferred loops)
  -  Target: _skip_whitespace, _trim_*, _parse_string_simple
  - ⚠️ Deferred: digits.indexOf, complex carriers, multiple MethodCalls
- 194-2: Routing whitelist expansion (function-name based)
- 194-3: E2E execution with NYASH_JOINIR_CORE=1
  - Trace verification ([joinir/freeze] should not appear)
- 194-4: hako_check/selfhost connection (optional, if time permits)
- 194-5: Documentation updates (inventory + CURRENT_TASK.md)

Design principles:
1. Focus on "what works now" - P1/P2/P5 only
2. Fail-Fast strategy - deferred loops explicitly documented
3. Incremental expansion - whitelist-based gradual rollout
4. Box theory validation - quality check of existing infrastructure

Success criteria:
- 4/8 JsonParser loops running on JoinIR route
- No regressions in phase190-193 tests
- Clear inventory of deferred loops with reasons

Next phases:
- Phase 195: Pattern 3 expansion (if-in-loop)
- Phase 200+: ConditionEnv expansion (digits table support)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-09 06:08:27 +09:00
..