Skip to content

SF Brain

Salesforce Engineering Constitution, compact SF Pi routing summary, and advisory Instruction Surface diagnostics

What it does

Injects the Salesforce Engineering Constitution and tiny disabled-capability routing summary, and provides a content-safe advisory report of model-visible SF Pi instructions, tools, and external Salesforce skill metadata.

Start

This extension is enabled by default and works automatically.

Open its Manager detail or change its package state with:

text
/sf-pi open sf-brain
/sf-pi enable sf-brain
/sf-pi disable sf-brain

Safety notes

  • Never registers tools; the constitution is delivered through the session entry log only.
  • Always preserves the bundled constitution; user guidance is append-only through <globalAgentDir>/sf-brain/SF_CONSTITUTION_APPEND.md.
  • Instruction Surface diagnostics expose counts and public-safe contributor ids only; they never expose prompt, context-file, skill-description, or tool-schema content.

Exact reference

Show commands, tools, providers, and hooks
  • Extension id: sf-brain
  • Intent: Work safely
  • Category: Assistive
  • Maturity: stable
  • Default state: on
  • Commands: none
  • LLM tools: none
  • Providers: none
  • Events/hooks: before_agent_start, context

For contributors

Troubleshooting

See the Troubleshooting section in the full README for extension-specific recovery steps.

Released under the Apache-2.0 License.