Skip to content

This page complements the Troubleshooting guide with concise procedures for higher-impact situations.

Agent made unexpected file changes ​

  1. Stop the agent with Esc or Ctrl+C before it continues.
  2. Inspect the diff with git diff and git status.
  3. If checkpointing was enabled, use /chat checkpoints and /rewind to return to a known-good point; otherwise use /restore.
  4. Review the transcript with /chat list and /export-session before discarding it.
  5. Add a policy rule denying the offending tool or switch to plan mode before resuming. See Approval modes.

Suspected credential exposure ​

  1. Rotate the affected NVIDIA_API_KEY immediately with your provider.
  2. Search the workspace and session records for the leaked value, then remove it.
  3. Enable security.environmentVariableRedaction.enabled and add the variable to environmentVariableRedaction.blocked if needed.
  4. Check advanced.excludedEnvVars so the variable is not included in project context.
  5. Review logs and exported sessions before sharing them in an issue.

Sandbox will not start ​

  1. Confirm the provider: docker --version or podman --version.
  2. Check M31A_SANDBOX and SEATBELT_PROFILE values in your environment.
  3. Rebuild the image with npm run build:all (or BUILD_SANDBOX=1 for a custom image).
  4. For Podman, verify rootless operation.
  5. Temporarily run with M31A_SANDBOX=false only after reviewing the trust and policy state. See Sandboxing.

Headless job fails in CI ​

  1. Re-run with --output-format text to get a human-readable failure.
  2. Confirm NVIDIA_API_KEY is present in the job environment.
  3. Capture stream-json output to a file and inspect the final events.
  4. Verify the prompt does not rely on interactive approval prompts — set an explicit approval mode or policy.
  5. Check rate limits and retry transient fetch errors with general.retryFetchErrors.

Documentation site build fails ​

  1. Run cd website && npm run build locally.
  2. Read the broken-link report and fix relative .md links.
  3. Confirm new pages are registered in sidebars.js with matching ids.
  4. Check that navbar and footer routes exist.
  5. Verify workflow action pinning with node scripts/lint.js --check-github-actions-pinning from the repository root.

MCP server misbehaves ​

  1. Run m31a mcp list to check enablement and status.
  2. Inspect tool schemas with /mcp schema.
  3. Disable the server with m31a mcp disable <name> or /mcp disable.
  4. Review mcp.allowed, mcp.excluded, and --allowed-mcp-server-names.
  5. Re-authenticate with /mcp auth if the server uses OAuth.

Extension breaks the CLI at startup ​

  1. Start with m31a -l to list extensions.
  2. Narrow the loaded set with --extensions <list>.
  3. Disable the suspect extension with m31a extensions disable <name>.
  4. Validate its definition with m31a extensions validate <path>.
  5. Check hook and MCP definitions inside the extension first.

Next steps ​

See Troubleshooting and the FAQ.

Built with VitePress. Powered by NVIDIA NIM.