Skip to main content
This is an advanced operator checklist for an unattended or semi-attended SimpleFunctions CLI agent. Use it after you understand Quickstart, Agentic CLI, and Headless agent. The headless page explains the interface; this page explains how to operate it without accidentally turning research automation into uncontrolled execution. This page is intentionally not part of the first-run path. Most users should start with the CLI quickstart and only come here when promoting a recurring job.

Operating principle

Production agents should run in phases: Do not let a single prompt both discover an opportunity and place a trade. Split those into separate runs.

Boot sequence

Every host should begin with the same read-only checks:
Expected behavior: If doctor fails because the sandbox cannot reach the network, rerun outside the sandbox before declaring the surface broken.

Default policy

For production research jobs:
For jobs that may write non-trading workflow state, remove write from --deny only after approval:
Do not add trade or runtime to unattended cron, CI, or external coding-agent prompts.

Side-effect classes

Use sf describe --all --json as ground truth. Current side-effect classes include: Production approval should be keyed to this class, not to free-form command text.

Cron pattern

Use cron for read-only recurring review:
Keep trace files and logs separate. Trace files are for structured audit. Logs are for process and stderr output.

Claude Code or Codex host

When Claude Code, Codex, or another coding agent drives sf, give it command boundaries:
Use sf tools plan "<task>" --json before writing custom command plans. The live plan includes skipped side effects and candidate tools.

Approval packet

Before any write, runtime, or trade action, the agent should emit:
For trade or runtime commands, include portfolio state, active intents, runtime status, and explicit stop command.

Trace and receipt

Record every production agent run:
Summarize the trace:
Use receipts in CI, incident review, and model comparisons. A production trace should answer:

Recovery

Promotion checklist

Before promoting a new agent prompt, model, or workflow:
  1. Run it read-only with --deny trade,runtime,fs,write.
  2. Record trace.
  3. Run sf trace receipt.
  4. Replay the same trace when possible.
  5. Check it never depends on rendered UI or terminal tables.
  6. Check it proposes side-effecting commands instead of running them.
  7. Run one live dry-run workflow such as sf workflow demo monitor --dry-run --json.

Headless agent

Interface patterns for sf agent --plain and sf agent --headless.

Evaluation and replay

Trace receipts, replay, backtests, and model comparison.

Agentic CLI

Full command control plane and permission categories.

Trade intents

Declarative execution boundary.