sf-preflight is an org-aware verifier for Salesforce pull requests and Agentforce actions. It maps the blast radius through your automation, permissions and data model, generates the tests that matter, and leaves an audit-ready evidence pack.
Real output from the repo's sample fixture: two automation cycles, an affected Agentforce action, and the validation rules a change collides with.
The blast radius graph: the change at the centre, what it sets off around it by distance, risk in colour and recursion drawn. Click any node to open its file.
Deterministic rules, each citing the metadata file and the path that produced it. No LLM in the core analysis loop.
From the editor and the coding agent that writes the change, to the pull request, the pipeline and production. Same engine, same findings everywhere.
$ preflight analyze --base main --head HEAD $ preflight tests --validate --org my-sandbox $ preflight agents $ preflight agent-tests --org my-sandbox $ preflight incidents --org prod
ext install visparashar.sf-preflight
$ npx sf-preflight skill install # MCP server for any client $ npx -y sf-preflight mcp
/plugin marketplace add visparashar/sf-preflight /plugin install sf-preflight@sf-preflight
Install it, point it at a branch, and see what your change will set off. Or add the VS Code extension and see it as you type.