Engram::EnvironmentError
Raised for problems in the environment engram runs in — no .git found,
sqlite built without FTS5, an unwritable cache directory. These map to
exit code 2 (see docs/SPEC.md's exit-code table); everything else that's
a user/data mistake (bad frontmatter, duplicate ids, bad config) is 1.