File: bash_modules.d/fuzzy_correction.module
Fix: Added check for SENTINEL_DEBUG environment variable - message only shows when SENTINEL_DEBUG=1
File: bash_modules.d/command_chains.module
Fix:
- Added check for
SENTINEL_DEBUGbefore displaying error messages - Added fallback empty functions when logging module is not available
- Both debug and error messages now only show when
SENTINEL_DEBUG=1
Files:
bash_modules.d/sentinel_ml_enhanced.modulebash_modules.d/sentinel_markov.modulebash_modules.d/sentinel_ml.modulebash_modules.d/python_integration.module
Fix: Added checks for SENTINEL_VERBOSE or SENTINEL_DEBUG environment variables before displaying warnings about missing Python packages or module loading messages
Files:
bash_modules.d/sentinel_ml_enhanced.modulebash_modules.d/command_chains.modulebash_modules.d/sentinel_context.module
Fix: Wrapped background jobs in subshells with stderr redirection: ( command & ) 2>/dev/null
SENTINEL_DEBUG=1- Shows debug messages including module loadingSENTINEL_VERBOSE=1- Shows verbose output including Python package warningsSENTINEL_QUIET_MODE=1- Suppresses most module messages (already implemented)SENTINEL_SUPPRESS_MODULE_MESSAGES=1- Suppresses module loading messages (already implemented)
# For one session
export SENTINEL_DEBUG=1
export SENTINEL_VERBOSE=1
# Or permanently in .bashrc
echo "export SENTINEL_DEBUG=0" >> ~/.bashrc
echo "export SENTINEL_VERBOSE=0" >> ~/.bashrcTo test the fixes, open a new terminal or run:
source ~/.bashrcThe startup should now be clean without debug messages, Python warnings, or background job notifications unless explicitly enabled.