Documents Stack
0.2.0-dev.20260701.1. Monitor scheduler and telemetry routes
added in the 2026-07-01 release.~/.codex/sessions/. Stack projects
those transcripts into typed stackd views — it does not replace Codex as the
transcript owner.
Auto-start
./bin/stack starts stackd when /health is unavailable, sets
STACK_API_URL=http://127.0.0.1:8792, and continues in degraded mode if startup
fails. Logs: .stack/runtime/stackd.log.
Manual serve:
MCP over HTTP
When healthy, stackd hosts Stack MCP at:/.well-known/mcp.json (also linked from /health as mcp_url).
Cursor and other MCP clients can attach to that URL instead of stdio ./bin/stack-mcp.
Disable with STACKD_MCP=0.
Operator CLI
--remote. See Telemetry in Quickstart.
Core routes (L1)
Monitor control:
Local persistence
stackd owns writes to:.stack/events/threads/<session-id>.jsonl— agent and monitor events.stack/meta-threads/**, handoff JSON, successor sessions.stack/actors/<session-id>/monitors/— monitor checkpoints.stack/exports/<session-id>/— export bundles
Monitor scheduler
By default stackd runs a monitor scheduler over the event log: it dedupes wake triggers, advances checkpoints, and emitsmonitor.wake, monitor.summary, and
related events when non-TUI producers append core events.
See Goal mode & monitor.
Bind and port
Next
- Stack MCP — stdio and HTTP MCP tools
- Configuration —
stack.config.json