Skip to main content
Adds TRELLIS_HOOKS env var to disable Trellis hooks at runtime. No new migrations.

Enhancements

TRELLIS_HOOKS=0 disables all Trellis hooks

Every shipped Trellis hook now early-returns when TRELLIS_HOOKS=0 (or TRELLIS_DISABLE_HOOKS=1) is set on the host CLI process — no additionalContext is emitted, the host session starts clean. Usage:
TRELLIS_HOOKS=0 and TRELLIS_DISABLE_HOOKS=1 are equivalent. None of Claude Code / Codex / OpenCode / Cursor expose a true mid-session hook toggle, so the env-var gate runs at host startup.

Upgrade

Projects on 0.5 (beta or earlier rc) run trellis update. From 0.4.x: trellis update --migrate.