Need more detail? Connect your coding agent to the full docs.

Skip to Content
AMIRILDocs

Review rule suggestions

Amiril drafts a rule for an issue and tests it on your past runs. Read the evidence it shows, then dismiss the suggestion or create the rule as a draft.

Amiril uses an AI model to read a sample of the runs in an issue and draft a rule that would stop them. Amiril then tests the draft on past runs. It keeps the draft only if it catches some of the issue's runs and fires on at most one in a hundred of the agent's other runs.

A kept draft shows as a rule suggestion, with the evidence for it. You answer it with Dismiss or Create rule. If you do neither, it closes by itself once its issue is resolved or ignored.

You need the admin role to act on a rule suggestion. See members and roles.

Amiril also makes access suggestions, which propose taking a tool away from an agent that has not used it in 30 days. See grant and revoke tools.

Find a suggestion

Open Suggestions in the sidebar. The number beside it is how many are open. A rule suggestion also shows in a Suggestion card on its issue's page.

Read the evidence

Select a suggestion to open it. Its page leads with a headline and a short summary of why Amiril drafted the rule. Below that:

  • Agent and Issue say what the suggestion is about. See issue opens the issue.
  • It would is the rule's effect, Block the call or Flag the call.
  • On this issue is what the rule would have done to the issue's runs, such as "Would have blocked 4 of 5 runs".
  • The Suggested rule card shows the rule text.

Create the rule

Select Create rule. The rule editor opens, and you save the draft as you would any new rule.

Once you save, the suggestion closes and says a rule was created from it. The rule is an unpublished draft, so it acts on nothing yet. Test it on past calls to see what it would have caught, then publish it.

Dismiss the suggestion

Select Dismiss and the suggestion leaves the list. For 10 seconds, Undo in the message that appears brings it back. It stays dismissed unless Amiril drafts a different rule for the issue, or the issue is resolved or ignored and then opens again.

Next steps

Last updated on