sunholo/motoko_ext_fmt
Intercepts WriteFile on .ail files via on_tool_handle: performs the real write, then runs
ailang fmt --writeon the file so the model's next turn re-reads canonical code. The mechanism under test in M-EVAL-FMT-WEAKMODEL-AB — does removing syntax drift reduce compile-stuck spirals in a weak local model. Non-.ail writes are Delegated to motoko's default handler. Logs each format to the eval fmt_hook_events sink (<workdir>/.claude/fmt_hook_events.jsonl) for treatment-integrity, matching the Claude-Code format_ail.sh hook so the eval harness banks identical events.
| Field | Value |
|---|---|
| Latest | 0.4.2 |
| Stability | experimental |
| Effects | IO, Process, FS, AI, Env, Net, SharedMem, Clock, Stream |
| Exports | 1 modules |
| Last Updated | 2026-07-30T20:32:51Z |
Exported Modules
- sunholo/motoko_ext_fmt/register
Dependencies
sunholo/motoko_ext_abiLoading version history from registry...