# An Approval Is for the Change You Reviewed — Not the One That Ships Later

> TicketResolve now ties every fix approval to a fingerprint of the exact change reviewed. If the change differs before the pull request, or commits change it afterwards, it needs approval again. Fix proposals can also be prepared automatically when the evidence points to code.

Source: https://www.ticketresolve.ai/blog/fix-approval-exact-change · Published 2026-11-22 · TicketResolve AI

**"Approved" should mean "this, exactly".** When a reviewer approves a proposed fix in TicketResolve, they've read a specific diff: these lines, in these files, with this test. If something else ends up in the pull request — a regenerated attempt, a hand correction, a commit pushed later — the approval shouldn't quietly transfer to it.

This release makes that explicit. Every approval now carries a fingerprint of the exact change reviewed. If the change differs before the draft pull request is opened, it goes back to review. If commits change it after the pull request is opened, TicketResolve flags it and asks for approval again. And for teams who want it, fix proposals can now be prepared without anyone clicking "Propose a fix" — still waiting for a person's approval before anything reaches a repository.

A few terms used in this post:

- **Fix proposal**: TicketResolve's suggested code change for an investigation — a diff marked "possible fix, not verified", with a regression test.
- **Fingerprint**: a SHA-256 hash of the change. The same change always gives the same fingerprint; any difference gives a different one.
- **Draft pull request**: what TicketResolve opens in GitHub, GitLab or Bitbucket after approval. It never merges or deploys.
- **Code map**: TicketResolve's map from an investigation's evidence to likely locations in your code, each rated strong, moderate or weak.

## Why approvals drift

The fix assistant has had human approval from the start: someone with the approvals permission, other than the person who asked, approves or rejects each proposal. A pull request can't be opened without it. That's a good rule. It has a gap.

An approval is given at one moment, but a proposal lives longer than a moment:

- **Before the pull request**, the change can be corrected by hand or regenerated. Those paths already sent it back to review. But nothing tied the approval itself to what was reviewed, so the rule depended on every path remembering to reset it.
- **After the pull request**, the branch belongs to your repository. Engineers push commits to it — often good ones: a refactor, a better test, a fix for a CI failure. The pull request still says "approved by a reviewer in TicketResolve", but the code in it is no longer what that reviewer read.

In most teams the repository's own reviews settle this, and they should. But the TicketResolve approval is part of the audit trail from a customer ticket to a deployed fix. An audit trail that says "approved" next to code nobody in that trail approved is a weak one.

## The fingerprint

When a proposal is approved, TicketResolve now computes a fingerprint of the change:

- every edit, in order — the file, the exact text replaced, and its replacement;
- every new file, with its content;
- the regression test generated from the customer's reproduction, if there is one.

The fingerprint is stored with the approval and shown on the proposal as "Approved change sha256:…". Before the draft pull request is opened, TicketResolve computes it again from the change as it is now. If the two differ, the proposal goes back to review, the investigation's audit trail records it, and no pull request is opened.

The fingerprint is also written into the pull request's description, so anyone reading it in your repository can see which version was approved.

### A detail worth getting right

An early version joined the fields with a separator before hashing. A test we wrote to try to break it did: moving text from one field across the separator into the next gave the same fingerprint. The released version encodes the change as structured data before hashing, so every field keeps its boundaries. It's a small thing, and exactly the kind of thing a fingerprint exists to get right.

## Commits after approval

Once the draft pull request is open, TicketResolve records a fingerprint of each file it committed. Every time it reads the pull request's status — every ten minutes for open pull requests, or when someone clicks "Check PR status" — it looks at the latest commit and compares those files.

If a commit changed or removed one of them, the proposal shows:

> **Changed after approval — needs approval again**
> Commits pushed to the pull request changed src/auth/session.ts (head a1b2c3d4e5). The approval in TicketResolve was for the earlier version.

The audit trail records it once per commit, so a pull request read many times doesn't fill the trail with duplicates.

Someone with the approvals permission — other than the person who asked — reviews the pull request and chooses **Approve the current version**. TicketResolve checks that no newer commit has arrived in the meantime, records the re-approval, and from then on compares later commits with the re-approved version. If yet another commit changes the files, the flag comes back.

### What it doesn't do

Two limits, stated plainly:

- **It compares the files TicketResolve committed.** A completely new file added to the pull request later isn't detected by this check.
- **It doesn't block a merge.** TicketResolve never merges or deploys, and it can't stop someone else from merging. The flag is shown in TicketResolve and recorded in the audit trail; your repository's branch protection remains the merge gate.

Deployment verification is unchanged and still independent: after a release, TicketResolve checks that the deployed commit actually contains the fix's merge commit before treating the deployment as the fix.

## Proposals without waiting for someone to ask

The engineering spec we're working to says autonomous investigation and code generation should proceed without waiting for approval, and approval is required before consequential operations. Until now, a proposal only existed after a person clicked "Propose a fix".

The new module **Prepare fix proposals automatically** changes that, for workspaces that switch it on. Every 30 minutes, TicketResolve looks at open investigations from the last 14 days that don't have a proposal yet. If an investigation's code map points to a location rated strong or moderate, backed by evidence, it prepares a proposal using the same single AI call per investigation as before.

- **Off by default.** It's a module under Engineering intelligence → Modules, and it needs the fix assistant on.
- **Capped.** At most 10 automatic proposals per workspace per day.
- **Labelled.** The proposal shows "Prepared automatically", and the investigation's audit trail says so.
- **Still approved by a person.** Nothing reaches a repository without approval. Because nobody asked for it, anyone with the approvals permission can give that approval.

Weak code-map locations are skipped. A proposal built on a weak guess about where the problem is wastes an AI call and a reviewer's time.

## Where this sits in the path from ticket to fix

It helps to see the whole path a customer-reported defect takes in TicketResolve, and where people stay in charge:

1. **Investigation** — evidence from the ticket, your logs and monitoring, reproductions in your test environment and, with consent, the customer's own environment. Hypotheses are ranked by evidence for and against. Automatic.
2. **Code map** — evidence mapped to likely locations in your connected repositories, each rated strong, moderate or weak. Automatic and read-only.
3. **Fix proposal** — one AI call, checked by an automated patch review for scope, secrets, dangerous patterns and dependency changes. Now optionally automatic.
4. **Approval** — a person, not the requester. Now tied to the exact change.
5. **Draft pull request** — only after approval, and only when the workspace allows it. Now watched for commits that change the approved files.
6. **Your repository's reviews and CI** — your rules, your merge.
7. **Deployment verification** — the deployed commit must contain the fix, the original failure must be gone, and telemetry is compared before and after. A successful build or deployment is never treated as proof.

Steps 1–3 can now run without anyone waiting on them. Steps 4–6 are where people decide, and this release makes step 4 mean exactly what it says. Step 7 checks the outcome independently of everything before it.

## A worked example, start to finish

*This is an illustrative example.*

A customer reports that their session expires and the app crashes. The investigation collects a stack trace pointing at `refresh` in `src/auth/session.ts`. The code map rates that location strong.

**Automatic proposal.** The workspace has automatic proposals on. Within half an hour, a proposal appears on the investigation: guard against a missing token, with a regression test from the reproduction. It shows "Prepared automatically".

**Approval.** A support lead reviews the diff and approves it. The proposal shows "Approved change sha256:4be1…".

**Pull request.** An engineer opens the draft pull request from TicketResolve. Its description includes the fingerprint.

**A commit after approval.** In review, an engineer simplifies the guard and pushes a commit. At the next status read, the proposal shows "Changed after approval — needs approval again", naming the file and the commit.

**Re-approval.** The support lead reads the new commit in the pull request, agrees, and chooses "Approve the current version". The audit trail now shows both approvals and the commit each one covers.

**Merge and verification.** The repository's own reviews and checks pass, the team merges and deploys, and fix verification checks that the deployed commit contains the fix and that the original failure is gone.

## More real-world scenarios

*These are illustrative.*

**A correction by hand.** A reviewer corrects one line of an approved proposal before the pull request. It goes back to review automatically, and a second person approves the corrected version.

**A CI fix pushed to the branch.** A failing lint check is fixed by a commit to the test file only. The test file was part of what TicketResolve committed, so the flag appears. Re-approval takes a minute, and the audit trail shows what changed.

**A file added later.** An engineer adds a new helper file to the pull request. TicketResolve doesn't detect it, because it only compares the files it committed — the repository's review covers it.

**A weak code map.** An investigation's best location is rated weak. No automatic proposal is made; an engineer can still ask for one.

**The daily cap.** A busy day produces many investigations with strong code maps. After 10 automatic proposals, the rest wait until the next day or until someone asks.

## Set it up, step by step

1. **Engineering intelligence → Modules.** Make sure the fix assistant is on. Switch on "Prepare fix proposals automatically" if you want proposals without anyone asking.
2. **Review proposals as before** on the investigation's Code tab. Check the "Approved change" fingerprint after approving.
3. **Open the draft pull request** when you're ready. The description records the fingerprint.
4. **Watch for "Changed after approval"** on proposals with open pull requests, and approve the current version once you've read the new commits.
5. **Keep branch protection on** in your repository. TicketResolve's flag is an audit signal; your repository is the merge gate.

## Frequently asked questions

**Does this change who can approve a fix?**
No. Someone with the approvals permission, other than the person who asked, approves it. Automatic proposals have no requester, so anyone with the permission can approve them.

**Does TicketResolve block a merge after a change?**
No. TicketResolve never merges, deploys or blocks merges. It flags the change and records it; your repository's branch protection decides what can be merged.

**Will automatic proposals cost more?**
Each investigation still gets one AI call for its first proposal, whether a person asks or not. Automatic proposals are off by default and capped at 10 per workspace per day.

**What if a new file is added to the pull request?**
It isn't detected by this check, which compares the files TicketResolve committed. The repository's own review covers it.

**Where is the fingerprint shown?**
On the proposal ("Approved change sha256:…") and in the pull request's description.

## The short version

- Every fix approval carries a SHA-256 fingerprint of the exact change reviewed.
- A change that differs before the pull request goes back to review; no pull request is opened.
- Commits that change approved files after the pull request is opened are flagged and need approval again, by someone other than the requester.
- Fix proposals can be prepared automatically when the code map is strong or moderate — opt-in, capped, and still approved by a person.
- TicketResolve never merges or deploys.
