Root CLI Subcommands

The weasley-podex binary exposes 26 root router cases plus grouped surfaces such as chat search, browser web-ai, dashboard memory/chat search, connector board, reminders, project, goal, task, and lock commands. These run directly from the terminal -- separate from the in-chat slash commands described in other command pages.

Global flags: Every subcommand accepts --help / -h for its own help text. Use --home <path> before any subcommand to target a different data directory (default: ~/.weasley/podex). Machine-readable JSON output is available on most commands via --json.
weasley-podex <command> [args] [--flags]
weasley-podex --home <path> <command>
weasley-podex --version
weasley-podex --help

Current Root Surfaces

weasley-podex serve | init | doctor | status | reset
weasley-podex chat | chat search | dispatch | dispatch --watch | employee | worker
weasley-podex orchestrate | goal | task | project | lock | unlock | history
weasley-podex memory | dashboard memory | dashboard chat search
weasley-podex browser | browser web-ai | skill | mcp
weasley-podex connector board | reminders
weasley-podex launchd | service | clone

Table of Contents

Server & Dashboard

weasley-podex serve

Server

Start the Weasley Podex server in the foreground. The server must be running before chat, dispatch, browser, and most other commands can operate.

weasley-podex serve [--port <N>] [--no-open] [--lan] [--remote]
OptionDefaultDescription
--port <N>3457Server port (also reads PORT env)
--no-open-Do not auto-open browser on start
--host <addr>0.0.0.0Bind address
--lanfalseEnable LAN access mode
--remotefalseEnable remote access mode (direct)
--trust-proxyfalseTrust proxy headers (for reverse proxies)
--trust-forwardedfalseTrust X-Forwarded-For header

Examples

# Start with defaults (port 3457, auto-opens browser)
weasley-podex serve

# Custom port, no browser
weasley-podex serve --port 3458 --no-open

# LAN mode for local network access
weasley-podex serve --lan --port 3460

# Use a separate data directory
weasley-podex --home ~/.weasley/podex-work serve --port 3458
~해줘 Tip: "서버 시작해줘" -- the agent cannot start weasley-podex serve for you (it requires a foreground process). Run it manually or use weasley-podex service install for background auto-start.

weasley-podex dashboard

Server

Multi-instance manager. Start the dashboard server, list/start/stop instances, manage persistent services, and perform L2 cross-instance memory federation searches.

weasley-podex dashboard <command> [options] [--json]
SubcommandDescription
serve [--port] [--from] [--count] [--no-open]Start dashboard server (default port 24576, scans from 3457)
statusDashboard health check
lsList all discovered instances
start <port> [--home]Start an instance on the given port
stop <port>Gracefully stop an instance
restart <port>Restart an instance
perm <port> [--home]Register instance as persistent service
unperm <port>Unregister persistent service
service [install|status|unset]Dashboard auto-start management
memory <search|read|instances>L2 cross-instance memory federation (read-only)
OptionDefaultDescription
--port <N>24576Dashboard port (also reads DASHBOARD_PORT env)
--from <N>3457Start scanning instances from this port
--count <N>50Number of ports to scan
--no-open-Do not auto-open browser
--json-Machine-readable JSON output
--home <path>-Data directory for start/perm subcommands

Examples

# Start the dashboard
weasley-podex dashboard serve

# List online instances as JSON
weasley-podex dashboard ls --json | jq '.[] | select(.status == "online")'

# Start a new instance on port 3458
weasley-podex dashboard start 3458 --home ~/.weasley/podex-work

# Stop an instance
weasley-podex dashboard stop 3457

# Cross-instance memory search
weasley-podex dashboard memory search "JWT authentication"

# List all memory instances
weasley-podex dashboard memory instances

# Register for persistent auto-start
weasley-podex dashboard perm 3458 --home ~/.weasley/podex-work
~해줘 Tip: "대시보드 상태 확인해줘" -- the agent can run weasley-podex dashboard status --json for you and report which instances are online.

weasley-podex status

Server

Check if the Weasley Podex server is running by pinging the API. Optionally check the dashboard server too.

weasley-podex status [--port <N>] [--json] [--dashboard]
OptionDefaultDescription
--port <N>3457Target server port
--jsonfalseMachine-readable JSON output
--dashboardfalseAlso check dashboard server (port 24576)

Exit code 0 = server running, 1 = server not running or error.

Examples

# Quick health check
weasley-podex status

# JSON output for scripting
weasley-podex status --json
# → {"status":"running","port":"3457","cli":"claude"}

# Check both server and dashboard
weasley-podex status --dashboard

# Check a specific port
weasley-podex status --port 3458
~해줘 Tip: "서버 상태 확인해줘" -- the agent runs weasley-podex status --json to determine if the server is healthy and reports the CLI, port, and active heartbeat jobs.

Setup & Diagnostics

weasley-podex init

Setup

Interactive setup wizard for first-time configuration. Creates ~/.weasley/podex/settings.json, configures the default CLI backend, messaging channels, and skills directory.

weasley-podex init [options]
OptionDescription
--non-interactiveSkip prompts, use defaults
--safeAsk before optional installs
--dry-runShow what would be done without changes
--forceOverwrite existing settings
--working-dir <path>Set working directory
--cli <name>Default CLI backend (claude, codex, gemini, etc.)
--channel <ch>Active channel (telegram or discord)
--telegram-token <t>Telegram bot token
--allowed-chat-ids <ids>Comma-separated Telegram chat IDs
--discord-token <t>Discord bot token
--discord-guild-id <id>Discord guild (server) ID
--discord-channel-ids <ids>Comma-separated Discord channel IDs
--skills-dir <path>Custom skills directory

Examples

# Interactive wizard (recommended for first run)
weasley-podex init

# Non-interactive with defaults
weasley-podex init --non-interactive --cli claude

# Re-initialize with force
weasley-podex init --force --cli gemini --channel telegram

# Dry run to see what would be created
weasley-podex init --dry-run
~해줘 Tip: "초기 설정 해줘" -- run weasley-podex init interactively; the wizard asks questions and writes your settings. For CI/CD, use --non-interactive.

weasley-podex doctor

Setup

Diagnose installation and configuration health. Checks Node.js version, CLI binary resolution, settings file validity, MCP server connectivity, employee CLI availability, and port availability.

weasley-podex doctor [--json] [--fix] [--tcc] [--prime]
OptionDescription
--jsonMachine-readable diagnostic output
--fixAttempt automatic fixes for detected issues
--tccCheck macOS TCC (Transparency, Consent, Control) permissions
--primePrime installation (pre-warm caches)
--repair-shared-pathsRepair contaminated shared MCP paths

Examples

# Run diagnostics
weasley-podex doctor

# Machine-readable output
weasley-podex doctor --json

# Auto-fix detected issues
weasley-podex doctor --fix

# Check macOS accessibility permissions
weasley-podex doctor --tcc
~해줘 Tip: "설치 상태 진단해줘" -- the agent can run weasley-podex doctor --json and interpret the results, flagging any failing checks with recommended fixes.

weasley-podex reset

Setup

Factory reset: performs MCP sync, skill reset, employee reset, and session clear. Prompts for confirmation unless --yes is passed. Requires a running server.

weasley-podex reset [--yes] [--port <N>]
OptionDefaultDescription
--yes, -yfalseSkip confirmation prompt
--port <N>3457Target server port

Examples

# Reset with confirmation prompt
weasley-podex reset

# Skip confirmation (scripting)
weasley-podex reset --yes

# Reset a specific instance
weasley-podex reset --port 3458 --yes
Warning: This resets MCP servers, re-syncs bundled skills, employees, and the current session. Memory files are preserved.
~해줘 Tip: "전부 초기화해줘" -- the agent can trigger weasley-podex reset --yes via the server API when authorized.

Orchestration

weasley-podex chat

Orchestration

Interactive terminal REPL. Connects to the running server through the SSE-first TUI channel, with legacy WebSocket fallback for older servers. Supports a rich TUI mode with persistent footer, a raw JSON protocol mode for UI integration, and a minimal plain readline mode.

weasley-podex chat [--port <N>] [--raw] [--simple]
OptionDefaultDescription
--port <N>3457Server port to connect to
--rawfalseJSON protocol mode (for programmatic UI integration)
--simplefalsePlain readline mode (minimal, no TUI)

Examples

# Default rich TUI
weasley-podex chat

# Simple mode (works in dumb terminals)
weasley-podex chat --simple

# Connect to a different instance
weasley-podex chat --port 3458

# Raw JSON mode for piping
weasley-podex chat --raw
~해줘 Tip: "채팅 시작해줘" -- weasley-podex chat is a foreground terminal process. Inside it, use slash commands like /status, /model, /skill.

weasley-podex dispatch

Orchestration

Send a task to an employee agent. The employee runs asynchronously via the server API and returns results via stdout. Pipe-compatible for scripting workflows. Requires WEASLEY_PODEX_BOSS_TOKEN (inherited from the server process).

weasley-podex dispatch --agent <name> --task <text> [--json] [--port <N>]
OptionDescription
--agent <name>Employee name (case-sensitive, must match settings.json employees)
--task <text>Task instruction to send
--jsonJSON output
--port <N>Target server port

Examples

# Dispatch a frontend task
weasley-podex dispatch --agent "Frontend" --task "Fix CSS bug in the header component"

# Dispatch a backend task
weasley-podex dispatch --agent "Backend" --task "Add rate limiting to /api/chat endpoint"

# JSON output for piping
weasley-podex dispatch --agent "Data" --task "Optimize the slow query in reports" --json
Note: Employee sessions cannot dispatch other employees (nested dispatch is blocked). Only the boss session has dispatch authority.
~해줘 Tip: "프론트엔드 직원한테 헤더 버그 고치라고 해줘" -- the agent dispatches via the API: the target employee runs in its own CLI instance and returns results.

weasley-podex employee

Orchestration

Employee management utilities. Currently supports resetting employees to the default 5 profiles (Frontend, Backend, Data, Docs, QA).

weasley-podex employee <subcommand> [--port <N>]
SubcommandDescription
resetReset employees to default 5 profiles

Examples

# Reset all employees to defaults
weasley-podex employee reset

# Reset on a specific instance
weasley-podex employee reset --port 3458
~해줘 Tip: "직원 초기화해줘" -- the agent calls /employee reset in-chat or runs weasley-podex employee reset via the server API.

weasley-podex orchestrate

Orchestration

PABCD state machine transitions. Drives the workflow through Interview, Planning, Audit, Build, Check, and Done phases. Calls the running server's API so SSE-first event updates reach connected clients in real time.

weasley-podex orchestrate <phase> [--force] [--json] [--port <N>]
PhaseDescription
IEnter Interview (from IDLE)
PEnter Planning (from IDLE or I)
AEnter Plan Audit (from P)
BEnter Build (from A)
CEnter Check (from B)
DEnter Done (from C, returns to IDLE)
statusShow current phase, scope, audit status
resetReturn to IDLE from any state

Valid transitions: IDLE → I → P → A → B → C → D → IDLE. Interview is optional: IDLE → P is also valid.

Examples

# Start planning phase
weasley-podex orchestrate P

# Force transition (skip validation)
weasley-podex orchestrate B --force

# Check current state
weasley-podex orchestrate status

# Reset to IDLE
weasley-podex orchestrate reset

# JSON output
weasley-podex orchestrate status --json
~해줘 Tip: "PABCD 상태 확인해줘" or "빌드 단계로 넘어가줘" -- the agent uses the in-chat /orchestrate command or calls the API to transition phases.

weasley-podex goal

Orchestration

Persistent goal lifecycle management. Set objectives, track progress with checkpoints, and manage goal state (pause, resume, cancel, complete). Goals survive across sessions and server restarts.

weasley-podex goal <subcommand> [args...] [--port <N>]
SubcommandDescription
set <objective>Set a new goal
statusShow active goal (default when no subcommand)
update <summary>Add a progress checkpoint
done [note]Mark goal complete
cancel [reason]Cancel goal
pausePause active goal
resumeResume paused goal
clearClear active goal
resetReset entire goal store
history [limit]Show goal history (default: 10)

Examples

# Set a new goal
weasley-podex goal set "Implement keyboard shortcuts for the editor"

# Check current goal
weasley-podex goal status

# Add a progress checkpoint
weasley-podex goal update "K0: shortcut registry done, K1: in progress"

# Mark complete
weasley-podex goal done "All phases complete, PR merged"

# View past goals
weasley-podex goal history 5

# Pause and resume
weasley-podex goal pause
weasley-podex goal resume

# Cancel with reason
weasley-podex goal cancel "Deprioritized in favor of auth refactor"
~해줘 Tip: "키보드 단축키 구현 목표 설정해줘" -- the agent calls the goal API to set and track the objective. Use "목표 완료해줘" to mark it done.

Automation & Tools

weasley-podex memory

Automation

Persistent memory store CLI. Search, read, save, and list memory files. Memory is stored as markdown files in ~/.weasley/podex/memory/ and indexed for semantic search.

weasley-podex memory <subcommand> [args...]
SubcommandDescription
search <query>Semantic search across all memory files
read <file> [--lines N]Read a specific memory file
save <file> <content>Write content to a memory file
listList all memory files with sizes and dates

Examples

# Search memory
weasley-podex memory search "JWT authentication patterns"

# Read a specific file
weasley-podex memory read structured/profile.md

# Save a new memory entry
weasley-podex memory save structured/profile.md "- User prefers concise Korean summaries"

# Save an episode log
weasley-podex memory save structured/episodes/live/2026-05-29.md "## 14:30\n- Completed CLI docs page"

# List all files
weasley-podex memory list
~해줘 Tip: "JWT 관련 메모리 찾아줘" -- the agent searches memory via the API. "프로필에 한국어 선호 추가해줘" saves to structured/profile.md.

weasley-podex browser

Automation

Chrome browser control via CDP (Chrome DevTools Protocol). Open pages, take screenshots, click elements, type text, manage tabs, and perform web AI-powered browsing. Requires the server to be running.

weasley-podex browser <subcommand> [args...]
SubcommandDescription
statusShow browser connection status and active tabs
tabsList open browser tabs
open <url>Open a URL in the browser
screenshot [--clip]Take a screenshot of the current page
snapshotGet accessibility tree snapshot (ref-based)
click <ref>Click an element by ref ID
type <ref> <text>Type text into an element
fetch <url>Adaptive fetch (browser or HTTP, auto-selected)
web-ai <subcommand>Web AI commands (intelligent page parsing)
closeClose browser session
resetReset browser state and cache

Examples

# Check browser status
weasley-podex browser status

# Open a page and take a screenshot
weasley-podex browser open https://example.com
weasley-podex browser screenshot

# Get page snapshot for element refs
weasley-podex browser snapshot

# Click and type using refs
weasley-podex browser click ref:42
weasley-podex browser type ref:15 "search query"

# Adaptive fetch
weasley-podex browser fetch https://example.com/api/data
~해줘 Tip: "브라우저로 구글 열어줘" or "스크린샷 찍어줘" -- the agent uses the browser skill to control Chrome via CDP.

weasley-podex skill

Automation

Skill management: list installed skills, install from reference/Codex/GitHub, remove skills, and view skill details. Skills are injected into the agent's system prompt.

weasley-podex skill [subcommand] [name...]
SubcommandDescription
(none) / listList all installed (active) skills
install <name> [name...]Install skill from reference dir, Codex, or GitHub
remove <name>Remove (deactivate) a skill
info <name>Show SKILL.md content and metadata
resetRe-sync the bundled skill defaults

Examples

# List installed skills
weasley-podex skill

# Install a skill
weasley-podex skill install cloudflare
weasley-podex skill install docker kubernetes terraform

# Remove a skill
weasley-podex skill remove cloudflare

# View skill details
weasley-podex skill info dev-frontend

# Reset to defaults
weasley-podex skill reset
~해줘 Tip: "cloudflare 스킬 설치해줘" or "스킬 목록 보여줘" -- the agent manages skills via /skill in-chat or the CLI command.

weasley-podex mcp

Automation

MCP (Model Context Protocol) server management. Install npm/PyPI MCP packages, sync configuration to all 6 CLI backends, list registered servers, or reset to defaults.

weasley-podex mcp [subcommand] [package]
SubcommandDescription
(none) / listList registered MCP servers
install <pkg>Install npm/PyPI package, add to mcp.json, sync
syncSync mcp.json to all 6 CLI backend configs
reset [--force]Reset mcp.json to defaults and re-sync

Package ecosystem is auto-detected: @scope/name is npm; mcp-server-* is PyPI. Use --pypi or --npm to override.

Examples

# List all MCP servers
weasley-podex mcp

# Install an npm MCP package
weasley-podex mcp install @modelcontextprotocol/server-filesystem

# Install a PyPI MCP package
weasley-podex mcp install mcp-server-git

# Sync configuration to all CLIs
weasley-podex mcp sync

# Reset to default MCP servers
weasley-podex mcp reset --force
~해줘 Tip: "MCP 서버 목록 보여줘" or "fetch MCP 서버 설치해줘" -- the agent manages MCP servers via /mcp in-chat.

weasley-podex connector

Automation

Dashboard connector CLI -- a unified entry point for the kanban board, notes, reminders, and audit log. Provides direct CLI access to dashboard features without the web UI.

weasley-podex connector <surface> <subcommand> [options]
SurfaceSubcommandsDescription
boardadd, update, listKanban board tasks (backlog/ready/active/review/done)
noteswrite, listDashboard markdown notes
remindersadd, list, donePriority-based reminders
audit(none)Connector audit log
OptionDescription
--jsonJSON output
--title <text>Task/reminder title
--summary <text>Task summary
--lane <name>Kanban lane (backlog, ready, active, review, done)
--path <path>Note file path
--body <text>Note content
--priority <p>Reminder priority (low, normal, high)
--due <date>Due date for reminders

Examples

# Add a kanban task
weasley-podex connector board add --title "Implement auth flow" --lane backlog

# Move task to done
weasley-podex connector board update task-id-123 --lane done

# List board tasks
weasley-podex connector board list --json

# Write a note
weasley-podex connector notes write --path "meeting/standup.md" --body "# Standup Notes\n- Auth PR merged"

# List notes
weasley-podex connector notes list

# Add a reminder
weasley-podex connector reminders add --title "Review PR #42" --priority high --due 2026-06-01
~해줘 Tip: "보드에 인증 구현 태스크 추가해줘" or "노트에 회의록 저장해줘" -- the agent uses the connector API to manage dashboard surfaces.

weasley-podex reminders

Automation

Priority-based reminders with Eisenhower-style categorization. Shortcut for weasley-podex connector reminders.

weasley-podex reminders <subcommand> [options]
SubcommandDescription
list / lsList all reminders (default)
add <title>Add a new reminder
done <id>Mark a reminder as done
OptionDescription
--title <text>Reminder title (alternative to positional arg)
--notes <text>Additional notes
--priority <p>Priority: low, normal, high (default: normal)
--due <date>Due date
--remind <date>Reminder notification time
--jsonJSON output

Examples

# List reminders
weasley-podex reminders list

# Add a reminder
weasley-podex reminders add "Review PR #42" --priority high --due 2026-06-01

# Add with notes
weasley-podex reminders add --title "Deploy staging" --notes "After QA sign-off" --priority normal

# Mark done
weasley-podex reminders done reminder-id-abc

# JSON output
weasley-podex reminders list --json
~해줘 Tip: "내일까지 PR 리뷰하라고 리마인더 추가해줘" -- the agent creates a reminder with the appropriate due date and priority.

weasley-podex project

Automation

Manage project workspace directories. Set which directories the agent should consider as active project roots. Changes are applied via the server API and persist across sessions.

weasley-podex project <subcommand> [paths...]
SubcommandDescription
set <path>[, <path>...]Set active project directories (comma-separated)
resetClear all project directories
clearAlias for reset
listShow current project directories (default)

Examples

# Set project directories
weasley-podex project set ~/Dev/frontend, ~/Dev/backend

# Set a single absolute path
weasley-podex project set /Users/example/projects/my-app

# List current directories
weasley-podex project list

# Clear all
weasley-podex project reset
~해줘 Tip: "프로젝트 디렉토리 설정해줘" or "프로젝트 목록 보여줘" -- the agent uses /project in-chat to manage workspace directories.

Service Management

weasley-podex service

Service

Cross-platform auto-start management. Detects the OS and installs the server as a background daemon (launchd on macOS, systemd on Linux, Docker entrypoint in containers). One-step install + start.

weasley-podex service [subcommand] [--port <N>] [--backend <type>]
SubcommandDescription
(none)Auto-detect OS, install + start (one-step)
installInstall as system service
statusCheck service status
unsetRemove the service
logsView service logs
OptionDefaultDescription
--port <N>3457Server port to register
--backend <type>(auto)Force backend: launchd, systemd, or docker

Examples

# One-step install + start (auto-detects OS)
weasley-podex service

# Custom port
weasley-podex service --port 3458

# Check service status
weasley-podex service status

# View logs
weasley-podex service logs

# Remove service
weasley-podex service unset

# Force a specific backend
weasley-podex service --backend systemd --port 3457
~해줘 Tip: "서비스로 등록해줘" or "백그라운드에서 실행되게 해줘" -- the agent runs weasley-podex service to install a persistent daemon.

weasley-podex clone

Service

Create an independent agent instance by cloning the current configuration. Copies config and skills, creates a fresh database, and regenerates AGENTS.md. Useful for running multiple isolated agents.

weasley-podex clone <target-dir> [--from <source>] [--with-memory] [--link-ref]
OptionDescription
<target-dir>Destination directory for the new instance (required)
--from <source>Source directory to clone from (default: ~/.weasley/podex)
--with-memoryCopy memory files from source
--link-refSymlink reference skills instead of copying

Examples

# Clone to a new directory
weasley-podex clone ~/.weasley/podex-work

# Clone with memory
weasley-podex clone ~/.weasley/podex-research --with-memory

# Clone from a specific source
weasley-podex clone ~/.weasley/podex-staging --from ~/.weasley/podex-prod

# Symlink reference skills to save space
weasley-podex clone ~/.weasley/podex-dev --link-ref
After cloning: Start the new instance with weasley-podex --home ~/.weasley/podex-work serve --port 3458 or register it via weasley-podex dashboard perm 3458 --home ~/.weasley/podex-work.
~해줘 Tip: "인스턴스 하나 복제해줘" -- the agent runs weasley-podex clone to create an independent copy, then optionally starts it on a new port.

weasley-podex launchd

Service

macOS-specific LaunchAgent management (deprecated -- use weasley-podex service instead). Manages plist files for auto-start on login. Retained for backward compatibility.

weasley-podex launchd [subcommand] [--port <N>]
SubcommandDescription
(none)Check plist, create if missing, start (one-step)
statusShow current LaunchAgent status
unsetRemove plist and unload agent
cleanupRemove legacy plist files
OptionDefaultDescription
--port <N>3457Server port to register
Deprecated: weasley-podex launchd is superseded by weasley-podex service, which auto-detects launchd on macOS and also supports systemd (Linux) and Docker. Use weasley-podex service for new installations.

Examples

# One-step install + start
weasley-podex launchd

# Custom port
weasley-podex launchd --port 3458

# Check status
weasley-podex launchd status

# Remove
weasley-podex launchd unset

# Cleanup legacy plists
weasley-podex launchd cleanup
~해줘 Tip: "launchd 상태 확인해줘" -- use weasley-podex service status instead for the cross-platform version.

Quick Reference

CommandCategoryServer RequiredDescription
weasley-podex serveServer-Start server (foreground)
weasley-podex dashboardServer-Multi-instance manager
weasley-podex statusServerNoHealth check
weasley-podex initSetupNoInteractive setup wizard
weasley-podex doctorSetupNoInstallation diagnostics
weasley-podex resetSetupYesFactory reset
weasley-podex chatOrchestrationYesTerminal REPL
weasley-podex dispatchOrchestrationYesSend task to employee
weasley-podex employeeOrchestrationYesEmployee management
weasley-podex orchestrateOrchestrationYesPABCD state machine
weasley-podex goalOrchestrationYesPersistent goal lifecycle
weasley-podex memoryAutomationYesPersistent memory store
weasley-podex browserAutomationYesChrome browser control
weasley-podex skillAutomationNoSkill management
weasley-podex mcpAutomationNoMCP server management
weasley-podex connectorAutomationPartialDashboard connector (board/notes/reminders)
weasley-podex remindersAutomationNoPriority-based reminders
weasley-podex projectAutomationYesWorkspace directories
weasley-podex serviceServiceNoCross-platform auto-start
weasley-podex cloneServiceNoClone instance
weasley-podex launchdServiceNomacOS LaunchAgent (deprecated)

Environment Variables

VariableDefaultDescription
WEASLEY_PODEX_HOME~/.weasley/podexOverride data directory (same as --home)
PORT3457Default server port
DASHBOARD_PORT24576Dashboard server port
WEASLEY_PODEX_BOSS_TOKEN-Auth token for employee dispatch (inherited from server)
WEASLEY_PODEX_EMPLOYEE_MODE-Set to 1 in employee sessions (prevents nested dispatch)