Documentation Index
Fetch the complete documentation index at: https://docs.anyshift.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
When Annie identifies a concrete code change in an investigation, that change can be promoted to a pull request with one click. Annie reads the relevant repository, drafts the diff, and opens the PR against the default branch with a summary of the reasoning and a link back to the conversation in Anyshift. Propose Fix is available on:- RCA hypothesis cards — when a hypothesis points to a specific code remediation, the card carries a Propose Fix button.
- Chat answers — when a chat reply describes a specific code change, one or more Propose Fix cards appear below the answer (one per proposed change).
Requirements
Propose Fix requires two GitHub App installations on your organization. They are separate apps with distinct permission scopes, so the investigation and write-capable surfaces remain isolated.Investigation App
anyshift-app — read-only access used for navigating code, reading PRs and issues, and following commit history during investigations. Installed via Integrations → GitHub → Connect GitHub Organization. Required for every Anyshift workspace.Agentic App
anyshift-agentic-app — write-capable access used exclusively by Propose Fix to create branches, push files, and open pull requests. Installed via Integrations → GitHub → Enable write mode. Required for Propose Fix. Without it, the Propose Fix CTA does not appear and Annie will not attempt write actions.What clicking it does
Click Propose Fix
The card switches to a “Working on it…” state. You can leave the page; the run continues server-side and the card reflects status when you return.
Annie writes the change
A dedicated coding agent reads the repository, locates the file and function the hypothesis or answer pointed to, and produces a minimal, focused diff. The agent runs in isolation from your investigation conversation, so the RCA or chat is unchanged.
A pull request is opened on GitHub
The PR is opened by the Anyshift Agentic App against the repository’s default branch. The PR body contains the originating context (RCA hypothesis or chat excerpt) and a link to the conversation in Anyshift.
States the card can show
- Idle — a “Fix - Open PR” button. Click to trigger the run.
- Running — a “Working on it…” badge with a spinner while Annie produces the diff and opens the PR.
- Success, PRs opened — one or more pull request links. Clicking opens them in a new tab.
- Success, no change needed — the coding agent concluded that the repository did not actually require a change. No PR is opened.
- Failed — an error message and a Retry button. Retry starts a fresh run from the same proposal.
Review and merge
The pull request goes through your normal review process: branch protections, required reviewers, CI checks, and merge policies all apply unchanged. Annie’s PR is a regular PR. If the PR needs adjustments, comment on it like you would for any teammate. Annie does not currently iterate on review comments automatically. If the proposed fix is wrong, close the PR and capture the correction as feedback to refine the next investigation.Re-running
- From a failed state, the card exposes a Retry button that triggers a fresh run from the same proposal.
- From a success state, there is no in-product re-run today. The PR link persists as the proposal’s outcome.
What appears in the PR
Title and summary
Title and summary
A concise title describing the change, followed by a short summary of why the change is being proposed. The summary is generated from the originating hypothesis or chat content, not boilerplate.
Link back to the originating conversation
Link back to the originating conversation
A direct link to the conversation in
app.anyshift.io. Reviewers can open the full investigation to see the alert, the evidence, and the hypothesis or chat the fix is responding to.The diff
The diff
A minimal change, scoped to the file or files the proposal pointed to. Annie does not bundle unrelated refactors into the same PR.
Authorship
Authorship
Disabling Propose Fix
Propose Fix is gated on the presence of the Anyshift Agentic App installation. To suppress the CTA and prevent any pull request from being opened:- Across the entire organization: uninstall
anyshift-agentic-appfrom your GitHub organization. The investigation app (anyshift-app) stays installed and all read-only features (RCA, knowledge, navigation) continue working unchanged. - For a specific repository: in the Agentic App’s installation settings on GitHub, remove the repository from the selected list. Propose Fix CTAs for that repository disappear; other repositories keep the feature.
Related
Root Cause Analysis
How Annie produces the hypotheses Propose Fix acts on.
GitHub integration
Install and permission the Anyshift GitHub Apps.