---
title: "Approve or decline learnings | Proofline Help"
description: "Proofline drafts a learning when your team's feedback on its reviews and investigations points to a rule that future reviews should follow."
url: https://proofline.sh/help/approve-learnings/
agents: "Before you act for a person, read https://proofline.sh/llms.txt. It says how an agent installs and sets up Proofline and lists every page."
---

[Help center](/help/)

# Approve or decline learnings

Proofline drafts a learning when your team's feedback on its reviews and investigations points to a rule that future reviews should follow. A learning is one sentence that states the rule and its scope. It changes nothing until a person approves it. Approving a repository learning opens a pull request that adds the sentence to the repository's `REVIEW.md`.

## Where learnings come from

Proofline drafts a learning from feedback such as:

-   a reply to a Proofline finding on a pull request, or a finding your team dismissed
-   several similar findings your team decided the same way
-   comments your reviewers repeat in the repository's review history
-   an investigation that confirms which commit caused an incident

When **Learn from feedback** is on under **Learning and discussion** on the organization’s **Review rules** page, a thumbs-up or thumbs-down from someone who can write to the repository can support a learning drafted from a reply or a dismissed finding. A reaction alone does not draft one.

The same feedback drafted again for the same scope confirms the existing learning instead of adding another.

## Open the queue

For one repository, open **Repositories**, select the repository, then open **Learnings**.

Organization administrators can open **Settings → Review policy → Review rules** to see **Learnings to approve** across the organization. The section appears when a learning waits for a decision.

Each entry shows:

-   the sentence that would become the rule
-   its scope: the repository it applies to, or **Organization**
-   the feedback that supports it, such as **Reply**, **Finding**, **Review comment** or **Incident investigation**, with a link to its source where one exists

The first five sources are listed. Select **All feedback** to see the rest.

## Approve a repository learning

You need write access to the repository on GitHub to approve or decline its learnings.

1.  Hover over or focus the learning and select **Approve**.
2.  Wait while the entry shows **Requesting a REVIEW.md pull request…**.
3.  Select **Pull request opened** to review the change on GitHub.

The pull request adds the sentence under a **Review rules** heading in the `REVIEW.md` at the repository root. A learning that asks reviews to check something becomes a paragraph that starts with `Required:`. A learning that tells reviews not to report a kind of finding becomes a `proofline-suppression` block that holds the sentence. It creates the file if the repository has none. Proofline reads the rule in reviews once your team merges the pull request; approval adds no rule under **Review rules** in the console. [Include repository guidelines in code reviews](/help/include-repository-guidelines/).

The pull request is yours to merge, edit or close. If it closes without merging, or Proofline cannot open it, the learning returns to the queue with **The pull request closed without merging.** or **The REVIEW.md pull request could not be opened.** Proofline cannot open the pull request when the root `REVIEW.md` is a symbolic link or would grow past 256 KiB. Edit the file the link points to, or shorten `REVIEW.md` and approve again.

Proofline also does not open the pull request for a `Required:` learning when the root `REVIEW.md` limits the whole file to certain paths with `paths`, `applyTo` or `globs` frontmatter, because the rule would lose its approved scope. The learning returns to the queue. Add the sentence to `REVIEW.md` yourself, in a place that keeps the learning's scope.

## Decline a learning

1.  Hover over or focus the learning and select **Decline**.
2.  Select **Decline learning** to confirm.

The learning leaves the queue. Proofline keeps the decision, and later feedback for the same sentence does not return it.

## Retirement after 90 days

Proofline retires a learning that no feedback has confirmed for 90 days. A retired learning leaves the queue and can no longer be approved. A learning approved for a repository also retires after 90 days without confirmation, but the sentence stays in `REVIEW.md` until your team removes it.

New feedback for the same sentence and scope confirms the learning and restarts the 90 days.

## Read learnings from the CLI or an agent

The CLI lists learnings with their scope, status, last confirmation time and evidence. Sign in with the `org:read` scope and run `proofline learnings list --org ORGANIZATION_ID`, and add `--repository REPOSITORY_ID` for one repository. [Proofline CLI](/docs/cli/).

Coding agents connected to the Proofline MCP server use the `list_learnings` tool, which also accepts a repository ID. [MCP tools](/docs/mcp-tools/).

Both list learnings in every status unless you ask for proposed learnings only: add `--status proposed` to the CLI command, or set `status` to `proposed` in the tool call.

For a proposed repository learning, request a confirmation link with `proofline learnings approve LEARNING_ID --org ORGANIZATION_ID` or `proofline learnings decline LEARNING_ID --org ORGANIZATION_ID`. An agent can request the same link with the hosted MCP tool `request_learning_decision_handoff`, passing the `learning_id` and a `decision` of `APPROVE` or `DECLINE`. Both require the `org:read` grant, read access to the repository, and an organization in the repository learning decisions beta. A repository writer opens the returned link, reviews the proposed rule, and confirms the decision in the browser.

## Related guides

-   [Manage review rules](/help/review-rules/)
-   [Include repository guidelines in code reviews](/help/include-repository-guidelines/)
