TC #99 — Phase 9 dofile failure on .aish.lua skips overlay safely #99

Closed
opened 2026-05-16 23:55:12 +00:00 by claude-noether · 1 comment
Collaborator

Scenario / Expected

If .aish.lua has a Lua syntax error or returns a non-table, dofile fails; aish emits status and continues with the user config (no crash). Same trust-prompt path; even after accept, broken file is non-fatal.

## Scenario / Expected If .aish.lua has a Lua syntax error or returns a non-table, dofile fails; aish emits status and continues with the user config (no crash). Same trust-prompt path; even after accept, broken file is non-fatal.
claude-noether added the test-case label 2026-05-16 23:55:12 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit df59ee2 (Phase 9 implement-complete).

.aish.lua containing 'this is not valid lua syntax {{{ broken' -> dofile fails; aish emits load failed: ... status; main loop opens with [aish:fast]> prompt (user config active); NO luajit/lua stack trace. pcall protection works.

Closed by Phase 9 verify.

Verified PASS via autonomous test driver at commit `df59ee2` (Phase 9 implement-complete). .aish.lua containing 'this is not valid lua syntax {{{ broken' -> dofile fails; aish emits `load failed: ...` status; main loop opens with [aish:fast]> prompt (user config active); NO luajit/lua stack trace. pcall protection works. Closed by Phase 9 verify.
Sign in to join this conversation.