LINGTAI_NUDGE_ENABLED | Global Nudge publication switch; default on. | on/off (also true/false/1/0), all Nudge kinds for one process/workdir. | Read at each Nudge operation/heartbeat; no restart. Invalid falls back to on and emits a bounded diagnostic. | src/lingtai/kernel/nudge/__init__.py; disabling reminders is not an authorization boundary. |
LINGTAI_NUDGE_REPEAT_INTERVAL | Post-dismiss repeat interval for the same unresolved finding; default 24h. | Positive duration with s, m, h, or d, for example 30m, 24h, 2d; global. | Read at each Nudge operation; no restart. Invalid/zero/negative falls back to 24h and emits a bounded diagnostic. | src/lingtai/kernel/nudge/__init__.py; values affect reminder timing only, not resolution. |
LINGTAI_ACTIVE_STUCK_THRESHOLD_S | ACTIVE no-progress watchdog threshold; default 600 seconds. | Numeric seconds; kernel clamps values below 30 to 30. | Read when the watchdog evaluates a turn; next evaluation sees a changed value. Invalid falls back to 600. | src/lingtai/kernel/base_agent/lifecycle.py; tuning a watchdog can change availability, so operators should record it. |
LINGTAI_REFRESH_ENV_OVERWRITE | One refresh handoff lets edited env_file values replace inherited process values; default unset/off. | 1 enables the one-shot overwrite. | Read on boot/refresh setup; consumed/removed after use. Other values are treated as off. | src/lingtai/cli.py, src/lingtai/agent.py; do not log env-file contents. |
LINGTAI_RUNTIME_PYTHON | Interpreter used for runtime/self-check and host-tool routing; default unset (caller supplies sys.executable). | Executable path. | Read by consumers when invoked; restart/relaunch the consumer to change its process interpreter. Invalid/missing is a caller/configuration error, not a fallback to a remote runtime. | src/lingtai/cli.py and runtime checks; path is not a credential. |
LINGTAI_RUNTIME_VENV | Active runtime virtualenv hint; default unset. | Local directory path. | Read by host tools when invoked; change takes effect for a new tool/process. Missing is tolerated where the caller has another interpreter. | src/lingtai/cli.py; never infer package freshness from an unrelated shell Python. |
LINGTAI_AGENT_DIR | Workdir for an out-of-process MCP/client; default unset and normally injected by the launcher. | Existing local directory. | Read at MCP process start; restart the MCP process after changing. Invalid path fails the MCP/client operation. | src/lingtai/mcp_servers/_config.py; local path only, do not expose private workdir contents. |
LINGTAI_MCP_NAME | Name of the active MCP server; default unset. | Registered MCP name. | Read at MCP process start; restart after changing. Invalid/missing fails closed rather than selecting an arbitrary server. | src/lingtai/mcp_servers/_config.py; keeps one process bound to one server identity. |
LINGTAI_ENV_VERSION | Environment/config schema marker used by environment setup; default unset. | Version string. | Read by the setup caller; relaunch/setup after changing. Invalid is reported by the setup path. | src/lingtai/venv_resolve.py; do not treat a marker as proof of package trust. |
LINGTAI_TUI_DIR | TUI-managed project/config root hint; default unset. | Local directory. | Read by TUI-facing callers at invocation; restart caller after changing. Invalid path fails the caller's lookup. | src/lingtai/venv_resolve.py/TUI integration; path may reveal local layout. |
LINGTAI_ORIGINATOR | Non-secret origin label for launched work; default unset. | Short string. | Read at process construction; restart/relaunch to change. Invalid is treated as absent. | src/lingtai/kernel launch surfaces; do not use it for authorization. |
LINGTAI_FILE_IO_BACKEND | Selects file-I/O backend; default implementation backend. | Backend name recognized by the wrapper. | Read when file-I/O service is constructed; rebuild/restart service. Unknown value fails closed. | src/lingtai/services/file_io.py (where available); backend selection is not a sandbox. |
LINGTAI_FILE_IO_SIDECAR | File-I/O sidecar executable/path hint; default unset. | Local executable/path. | Read at service construction; restart service. Invalid/unavailable sidecar fails the selected path. | File-I/O service adapter; do not grant sidecar broader filesystem authority than intended. |
LINGTAI_SEARCH_SIDECAR | Search sidecar executable/path hint; default unset (pure-Python fallback where supported). | Local executable/path. | Read when search service is constructed; restart service. Invalid sidecar uses the documented fallback or fails the operation; it never downloads one. | Search service adapter; validate executable ownership before use. |
LINGTAI_SKIP_RUST_BUILD | Developer/package-build switch to skip the Rust search-sidecar build; default unset/off. | 1 enables skip in build/test setup. | Read by build setup at build invocation; rerun the build after changing. Invalid values are treated as off. | setup.py / wheel tests; do not ship a production wheel claiming a sidecar it did not build. |
LINGTAI_REQUIRE_RUST_BUILD | Developer/package-build switch requiring the Rust search-sidecar build; default unset/off. | 1 enables requirement in build/test setup. | Read by build setup at build invocation; rerun the build after changing. Invalid values fail the required-build path. | setup.py / wheel tests; build policy is not runtime authorization. |
LINGTAI_SOUL_FLOW_ENABLED | Enables optional soul-flow capability; default disabled unless the host enables it. | 1/0 (implementation also accepts the component's documented boolean forms). | Read when soul capability is bootstrapped; refresh/restart capability after changing. Invalid is treated as disabled. | src/lingtai/tools/soul; not a command-execution or approval switch. |
LINGTAI_TASK_CARD_MAX_TOOL_ROWS | Bounds rendered Telegram task-card tool rows; default component limit. | Positive integer. | Read by the Telegram manager when rendering a card; next render sees valid changes. Invalid falls back to the component default. | src/lingtai/mcp_servers/telegram; bounds output size, not message authority. |
LINGTAI_PROFILE_MIME | Optional MIME/profile hint for bundled skill/profile transport; default unset. | MIME string. | Read when the profile resource is loaded; reload resource after changing. Invalid is ignored/fails the resource lookup. | src/lingtai profile loader; never use it to bypass content validation. |
LINGTAI_SKILL_MIME | Optional MIME hint for skill transport; default unset. | MIME string. | Read at skill-resource load; reload resource after changing. Invalid is ignored/fails lookup. | src/lingtai skill loader; content still requires normal skill validation. |
LINGTAI_CLOUD_MAIL_CONFIG | Cloud-mail configuration path/name; default unset. | Local config reference. | Read when cloud-mail integration starts; restart integration after changing. Invalid config fails closed. | Cloud mail adapter; config may contain credentials, so keep file permissions private. |
LINGTAI_IMAP_CONFIG | IMAP MCP config path/name; default unset. | Local config reference. | Read when IMAP MCP starts; restart MCP after changing. Invalid config fails closed. | src/lingtai/mcp_servers/imap; do not print config or password. |
LINGTAI_FEISHU_CONFIG | Feishu MCP config path/name; default unset. | Local config reference. | Read when Feishu MCP starts; restart MCP after changing. Invalid config fails closed. | src/lingtai/mcp_servers/feishu; keep app secrets out of logs. |
LINGTAI_TELEGRAM_CONFIG | Telegram MCP config path/name; default unset. | Local config reference. | Read when Telegram MCP starts; restart MCP after changing. Invalid config fails closed. | src/lingtai/mcp_servers/telegram; protect bot tokens and chat routing. |
LINGTAI_WECHAT_CONFIG | WeChat MCP config path/name; default unset. | Local config reference. | Read when WeChat MCP starts; restart MCP after changing. Invalid config fails closed. | src/lingtai/mcp_servers/wechat; protect credentials and contact state. |
LINGTAI_WHATSAPP_CONFIG | WhatsApp MCP config path/name; default unset. | Local config reference. | Read when WhatsApp MCP starts; restart MCP after changing. Invalid config fails closed. | src/lingtai/mcp_servers/whatsapp; protect credentials and recipient state. |