Skip to content

SF Brain ​

Salesforce Engineering Constitution, compact SF Pi routing summary, and advisory display, instruction, and visual-response diagnostics

What it does ​

Injects the Salesforce Engineering Constitution, mutable terminal display capabilities, a tiny disabled-capability routing summary, and Gateway GPT-6 Sol-only response guidance; provides content-safe display, instruction-surface, and aggregate visual-response diagnostics.

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.
  • Visual Response diagnostics are bounded and aggregate-only; they never return transcript text, Mermaid labels, filenames, session ids, workspace paths, credentials, or org details.

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.