Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Explain ¶ added in v0.11.0
Explain renders a Markdown description of the sandbox environment from cfg, for the AI agent to read on demand via `agent-sandbox ai explain`. The prose lives in explain.tmpl; this function only prepares the view data. The caller passes the config path it loaded cfg from, so the editing section names the file the agent must actually edit.
It does not read either profile. What the profiles grant is nono's to answer, and the template points the agent at `nono why` and `nono profile show` instead of restating it — a restatement drifts, and drifts into a confident lie. See docs/superpowers/specs/2026-09-12-git-goes-to-command-policy.md.
func Pointer ¶ added in v0.11.0
func Pointer() string
Pointer returns the short guidance injected into the agent's system prompt at launch. It intentionally carries no detail about the command profile itself — only a pointer to the live `agent-sandbox ai explain` command — to keep the system prompt small.
Types ¶
This section is empty.