sf-thesis-monitor — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited sf-thesis-monitor (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
sf-thesis-build, ready to put it into autonomous monitoringnpm install -g @spfunctions/cli
sf loginYou need an existing thesis id. Create one first with sf-thesis-build.
The SimpleFunctions heartbeat is a per-thesis monitoring loop that:
Each thesis has its own heartbeat config — different thesis, different cadence.
sf heartbeat <thesis-id> --jsonReturns:
cadence: how often the heartbeat fires (e.g., "30m", "1h", "24h")evaluationModelTier: which LLM tier (cheap, standard, heavy)monthlyBudgetUsd: max spend per monthkillConditions: list of conditions that pause the thesisclosedLoop: closed-loop intent behaviorstatus: active, paused, killedlastFiredAt, nextFireAtmonthlySpend so farsf heartbeat <thesis-id> --cadence 1hCadence guidelines:
Faster cadence = more LLM cost. Match cadence to actual news cadence.
sf heartbeat <thesis-id> --evaluation-tier standardTiers:
cheap: light model (e.g., Haiku) — for routine ticks, costs ~$0.001/tickstandard: balanced (e.g., Sonnet) — for normal evaluation, ~$0.01/tickheavy: top-tier (e.g., Opus) — for major signals or scheduled deep eval, ~$0.10/tickMost theses run standard for routine, heavy for triggered evaluation.
sf heartbeat <thesis-id> --monthly-budget 5.00Hard cap on LLM spend per month. When hit, the heartbeat auto-pauses and emails the operator.
sf heartbeat <thesis-id> --kill-conditions '[
{ "type": "node_confidence_below", "node": "n1.2", "threshold": 0.3 },
{ "type": "market_price_above", "ticker": "KXFEDDOVE-26JUL", "price": 80 },
{ "type": "drawdown_above", "percent": 15 }
]'Kill condition types:
node_confidence_below: pause if a specific node drops below confidencemarket_price_above / market_price_below: pause if a price crosses thresholddrawdown_above: pause if any linked position drawdown exceeds %signal_keyword: pause if a signal contains a keyword (e.g., "ceasefire", "resignation")When tripped, the thesis status becomes killed, monitoring stops, and the operator is notified.
sf heartbeat <thesis-id> --closed-loop-entry true --closed-loop-exit true --jsonClosed loop = the agent can place orders without human approval when conditions are met.
| Flag | Behavior |
|---|---|
--closed-loop-entry true | Agent can place new orders when evaluation suggests an entry |
--closed-loop-exit true | Agent can close positions when kill conditions trip or evaluation suggests exit |
--closed-loop-entry false (default) | All entries require human approval via sf intent review |
--closed-loop-exit false (default) | All exits require human approval |
Safety: even with closed-loop on, generated strategy intents default to autoExecute: false. The local runtime must still evaluate and execute through the explicit intent path.
sf heartbeat <thesis-id> --pause --json # pause the heartbeat (thesis stays active)
sf heartbeat <thesis-id> --resume --json # resumePause keeps the thesis lifecycle active. To fully deactivate, use sf unpublish + adjust thesis status via dashboard.
sf heartbeat <thesis-id> --json | jq '{cadence, status, nextFireAt, monthlySpend, killConditions}'Confirm the config landed.
For a new thesis with moderate news cadence:
sf heartbeat <thesis-id> \
--cadence 1h \
--evaluation-tier standard \
--monthly-budget 3.00 \
--closed-loop-entry false \
--closed-loop-exit false \
--jsonThen layer in 2-3 kill conditions specific to the thesis.
sf login matches the thesis owner.--resume.sf-thesis-build — create the thesis being monitoredsf-portfolio-review — see thesis-linked position statesf-discipline-audit — adversarial review when kill conditions trip~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.