This page complements the Troubleshooting guide with concise procedures for higher-impact situations.
Agent made unexpected file changes
- Stop the agent with
EscorCtrl+Cbefore it continues. - Inspect the diff with
git diffandgit status. - If checkpointing was enabled, use
/chat checkpointsand/rewindto return to a known-good point; otherwise use/restore. - Review the transcript with
/chat listand/export-sessionbefore discarding it. - Add a policy rule denying the offending tool or switch to
planmode before resuming. See Approval modes.
Suspected credential exposure
- Rotate the affected
NVIDIA_API_KEYimmediately with your provider. - Search the workspace and session records for the leaked value, then remove it.
- Enable
security.environmentVariableRedaction.enabledand add the variable toenvironmentVariableRedaction.blockedif needed. - Check
advanced.excludedEnvVarsso the variable is not included in project context. - Review logs and exported sessions before sharing them in an issue.
Sandbox will not start
- Confirm the provider:
docker --versionorpodman --version. - Check
M31A_SANDBOXandSEATBELT_PROFILEvalues in your environment. - Rebuild the image with
npm run build:all(orBUILD_SANDBOX=1for a custom image). - For Podman, verify rootless operation.
- Temporarily run with
M31A_SANDBOX=falseonly after reviewing the trust and policy state. See Sandboxing.
Headless job fails in CI
- Re-run with
--output-format textto get a human-readable failure. - Confirm
NVIDIA_API_KEYis present in the job environment. - Capture
stream-jsonoutput to a file and inspect the final events. - Verify the prompt does not rely on interactive approval prompts — set an explicit approval mode or policy.
- Check rate limits and retry transient fetch errors with
general.retryFetchErrors.
Documentation site build fails
- Run
cd website && npm run buildlocally. - Read the broken-link report and fix relative
.mdlinks. - Confirm new pages are registered in
sidebars.jswith matching ids. - Check that navbar and footer routes exist.
- Verify workflow action pinning with
node scripts/lint.js --check-github-actions-pinningfrom the repository root.
MCP server misbehaves
- Run
m31a mcp listto check enablement and status. - Inspect tool schemas with
/mcp schema. - Disable the server with
m31a mcp disable <name>or/mcp disable. - Review
mcp.allowed,mcp.excluded, and--allowed-mcp-server-names. - Re-authenticate with
/mcp authif the server uses OAuth.
Extension breaks the CLI at startup
- Start with
m31a -lto list extensions. - Narrow the loaded set with
--extensions <list>. - Disable the suspect extension with
m31a extensions disable <name>. - Validate its definition with
m31a extensions validate <path>. - Check hook and MCP definitions inside the extension first.
Next steps
See Troubleshooting and the FAQ.