A `doom sync` run while the root init.el symlink was missing regenerates
Doom's profile startup file (.local/etc/@/init.<ver>.el) with a
doom-modules table holding only :doom/:user/:doom compat. No module
package lands on load-path, so `(require 'org-roam)` signalled
"cannot open load file" and aborted config.el mid-file -- taking the
OS leaf, the map! bindings and config-local.el with it, while
`doom doctor` reported nothing else.
- config.el: load org-roam with NOERROR, so a missing package can no
longer truncate the rest of the file.
- config.el: tripwire at the end that raises an error-level warning when
:lang org is absent from doom-modules, naming the real fix
(./bin/link-machine.sh && doom sync).
- agent-start-here.md: document that init.el is loaded with NOERROR, so
syncing without the symlink is silent and destructive, plus the
one-line check for the generated startup file.
The mac side of the unified migration is done and verified (doom sync,
eglot/expert for elixir-ts and heex-ts, flycheck, code actions). The
note now records:
- agent-environment lessons: pi sandbox blocks writes to ~/.emacs.d
(humans must run doom sync/env), sandbox PATH lacks /opt/homebrew/bin,
eglot is lazy on the mac (checks need (require 'eglot) first), doom is
a fork at ~/.emacs.d/sources/doom+.
- STT facts gathered this session: whisper.el server modes, brew's
whisper-server serving only /inference, live-dictate's ws /v1/realtime
requirement, GGML model provenance, sox/ffmpeg present.
- updated known-defects list, including that config-local.el now really
loads (1e1ad31) and Linux must check for a stale one.
Handoff note for the next session on the mac: what the three `unified`
commits changed, why the shared/OS ownership now looks the way it does, the
pull -> link-machine.sh -> doom sync -> restart sequence, static and runtime
checks, the still-pending elixir server decision, and the shared defects not
to trip over (pi-coding-agent, org paths, LaTeX fonts, duplicated blog
roots).
It also records what is intentionally absent on the mac: no STT (the whisper
block is Linux-only, though the packages now install everywhere) and no
configured eglot server for heex-ts-mode until the mac-side fix lands.