New: FixBugs for VS Code is now available. Install from Marketplace 

Policy: skills and runbooks

Grant and revoke skills, load runbooks, and approve the policy choices the Assistant proposes for an investigation.

On this page

The investigation policy holds the skills and runbooks FixBugs follows for one investigation. Skills are procedures FixBugs may put in its prompt. Runbooks are instructions it follows at every stage. Nothing takes effect until you grant, load, or approve it.

Open the policy

  1. With a triage loaded, select Investigation policy (the shield icon). In a narrow panel, select More triage actions, then Policy.
  2. Investigation policy opens with its revision number.

Permissions opens the command requests of this investigation. See Command permissions.

Grant or revoke a skill

Under Skills, each skill shows its name, a Granted or Pinned badge when it applies, and the commands it declares.

  • Grant puts the skill's procedure in the prompt and lets its declared commands run without asking. Destructive commands ask every time.
  • Revoke takes the procedure back out and withdraws that permission. The skill stays readable.
  • A skill your repository's guidance names shows "Granted by" and the file. To withdraw it, remove the mention from that file.
  • The star pins a skill to the top of the list. The × hides it from the list for you.

Running a skill with / in the Assistant also grants it. See Slash commands.

Request a skill from GitHub or GitLab

  1. In Skill from GitHub or GitLab, enter the skill's location, for example owner/repo/skills/name.
  2. Select Request skill. FixBugs asks in the Assistant thread before it fetches anything.
  3. Approve in the thread. FixBugs reads the skill once and lists it. Nothing runs and nothing is granted.

Load runbooks

Loaded runbooks lists the runbooks this investigation follows. Every stage reads the current file, so your edits apply without reloading. A runbook whose file was moved or deleted shows Unavailable until you load it from its new place or remove it.

To load a runbook from the repository:

  1. Enter its path in Repository runbook path, for example docs/runbooks/checkout-latency.md.
  2. Select Preview. FixBugs shows the instructions it read.
  3. Select Load runbook. The runbook appears under Loaded runbooks.

Three more sections offer runbooks:

  • Alert-linked runbook: runbooks the investigation's alert links to. Request asks in the Assistant thread before FixBugs fetches one; then Preview and Load runbook. See From alert to fix.
  • Suggested runbooks: runbooks the analysis found in your repository. Nothing is loaded or fetched until you select Load or Request.
  • Ad hoc runbook: instructions for this investigation only. Fill in Runbook name and Runbook content, or select Choose file..., then Preview runbook to stage it. To keep it with the repository, select Save to repository...: FixBugs saves it as a file, then loads it.

Approve proposed choices

The Assistant can propose a policy choice, but nothing takes effect until you approve it. Proposals appear under Proposed policy choices. Select Approve proposed choice to apply one.

A proposal to grant a skill appears in the thread as a card headed A skill needs granting. See Decisions and questions.

Manage runbook command permissions

Runbook command permissions lists the commands FixBugs remembers from each runbook, marked Active or Disabled.

  • Revoke withdraws them.
  • Reset clears the remembered rules. They stay disabled until an Update succeeds.
  • Update reads the whole current runbook again and replaces the rules. No command runs.

Next steps