Switch from FOUNDRY_FF_ENHANCED_UI to FOUNDRY_UI_HEADLESS_MODE - #5
Merged
Conversation
mraible
enabled auto-merge (squash)
April 15, 2026 22:28
Per Josh Marlow (Foundry CLI team), FOUNDRY_FF_ENHANCED_UI is a temporary feature flag that will be removed. FOUNDRY_UI_HEADLESS_MODE=true is the correct long-term env var for disabling TUI features in headless/CI environments. Added a SessionStart hook (hooks/set-foundry-env.sh) that auto-injects FOUNDRY_UI_HEADLESS_MODE=true via CLAUDE_ENV_FILE at session start. Users no longer need to prefix deploy/release/list-deployments commands manually. The guard hook is kept as a fallback. 174 hook tests passing. A/B tested: 5/5 deployed.
mraible
force-pushed
the
switch-to-headless-mode
branch
from
April 15, 2026 22:30
c9b9921 to
e7475d9
Compare
prvn
approved these changes
Apr 15, 2026
mraible
added a commit
that referenced
this pull request
Apr 24, 2026
* Switch from FOUNDRY_FF_ENHANCED_UI to FOUNDRY_UI_HEADLESS_MODE Per Josh Marlow (Foundry CLI team), FOUNDRY_FF_ENHANCED_UI is a temporary feature flag that will be removed. FOUNDRY_UI_HEADLESS_MODE=true is the correct long-term env var for disabling TUI features in headless/CI environments. Updated hook, tests (171 passing), skills, use cases, and scripts. * Add SessionStart hook to auto-inject FOUNDRY_UI_HEADLESS_MODE The plugin now sets FOUNDRY_UI_HEADLESS_MODE=true automatically at session start via CLAUDE_ENV_FILE, so users never need to prefix deploy/release/list-deployments commands manually. - New hooks/set-foundry-env.sh (SessionStart hook) - Updated hooks.json with SessionStart entry - Removed FOUNDRY_UI_HEADLESS_MODE=true prefix from all docs/examples - Guard hook kept as fallback for edge cases - 174 hook tests passing (3 new for SessionStart) - A/B tested: 5/5 deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Per Josh Marlow (Foundry CLI team), FOUNDRY_FF_ENHANCED_UI is a temporary feature flag that will be removed.
FOUNDRY_UI_HEADLESS_MODE=trueis the correct long-term env var for disabling TUI features in headless/CI environments.Added a SessionStart hook (
hooks/set-foundry-env.sh) that auto-injectsFOUNDRY_UI_HEADLESS_MODE=trueviaCLAUDE_ENV_FILEat session start. Users no longer need to prefix deploy/release/list-deployments commands manually. The guard hook is kept as a fallback.Updated hook logic, skills docs, use cases, and scripts. Removed all inline
FOUNDRY_UI_HEADLESS_MODE=trueprefixes from command examples.174 hook tests passing. A/B tested: 5/5 deployed, avg ~5.3M tokens/run.