Headless API

Use Fob as local context infrastructure.

The daemon gives scripts, dashboards, and future MCP tools a local-only API for project memory, decisions, conflicts, handovers, and route jobs.

Start the daemon

fob daemon --port 8787
# Dashboard: http://127.0.0.1:8787
# API docs:  http://127.0.0.1:8787/api/docs

The daemon binds to 127.0.0.1. It is local-only unless you intentionally expose it through something like Tailscale.

CLI context commands

fob pull "what should the next fix be?"
fob push --decision "Ship live map mode as an explicit mode, not the default."
fob push --pin --label map "Imported BRYKK map review."
fob log
fob conflicts

Core endpoints

Example

curl "http://127.0.0.1:8787/api/context?q=map%20live%20mode"
curl -X POST "http://127.0.0.1:8787/api/save" \
  -H "Content-Type: application/json" \
  -d '{"kind":"decision","text":"Treat live map as an explicit mode."}'