Directory sync loads an extra chunk to register a mid-turn hook, logging failures.
What's wrong with this entry?
When the managed cloud worker starts syncing your directory, it now also loads a separate build chunk and registers a mid-turn hook. If that load fails it logs dir_sync_mid_turn_import_failed at warn level and continues.
- The hook's implementation is in a build chunk that is not part of the readable bundle, so what it does mid-turn is not visible here; only that dir sync now has a mid-turn registration path alongside its existing start path.
- Reachable only when the dir-sync worker runs; setting
CLAUDE_CODE_DISABLE_DIR_SYNCsuppresses it.
dir_sync_mid_turn_import_failed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.