Skip to content

Read a guide

Work through a guide's summary, changes, diffs and rollout plan, and check each claim against the code.

A guide turns a pull request into a short list of changes you can assess one at a time, each tied to the diff it rests on. This page covers how to read one. For what a guide contains and where its evidence comes from, see How Theseus works.

New guides name their changes change-1, change-2, and so on in links. Saved guides keep their original identifiers, including card-1; existing change and comment links still open those guides.

Find your way around

Link to this section

Open a pull request in Theseus. The left sidebar lists, in order:

EntryWhat it holds
SummaryWhat the pull request does, why it exists, and its major risks
Rollout planWork someone has to do outside merging, when there is any
Numbered changesOne behavior, refactor or piece of mechanical work each, most important first
MiscellaneousAncillary edits, analyzed edits no change claims, then Skipped files, the edits and files Theseus didn't review

Start with the Summary, then work down the changes. Press N to jump to the next part you haven't marked viewed; the other keys are on Keyboard shortcuts. When a newer push has made the guide out of date, a banner says so; see After a push.

A pull request with no guide offers Generate a guide; one whose last run failed offers Generate again and keeps any earlier guide readable. Either uses one guide from the workspace's allowance. From the CLI:

theseus generate example/project#42 --wait

Arrange the panels

Link to this section

The page is a row of panels: the table of contents on the left, the Summary and Meta (or a change's Guide and Code) in the middle, and Reviews on the right. To make room, select a panel's name in its heading to collapse it into a narrow strip where it sits; select the strip to open it again, or its × to hide it. The bar at the bottom of the page lists every panel: select one to hide it, or to bring a hidden panel back. If you put away every panel in the middle, choose Reset layout to open them again. Theseus remembers your arrangement in this browser, separately for the Summary, for changes and for other pages.

Read the summary

Link to this section

Below the pull request title, the Summary opens with a short description of what the PR does, with the main point first. Its length fits the change: a simple change may need only a sentence.

Then:

  • Background: a concise explanation of how the affected part of the system already works, including for familiar terms and small changes. For a new area, it explains the existing starting point the change builds on. Sources point to repository lines before the PR; behavior that the PR replaces is explicitly described as the prior state. Only lines the diff shows get a numbered badge. Background can still appear when the guide has no separate headline; its original summary stays visible. A short background is open; a longer one is folded, so select Background to read it.

  • Motivation: why the change was made. Each reason ends with a badge naming its source, such as PR #42 for the description or ENG-123 for a Linear issue. Hover over the badge to read the quoted words and open the source. Reasons from the author's agent-reported reasoning, paraphrased from their agent's session notes, sit in their own Notes section under Motivation.

  • Notes: reasons from the author's agent sessions. Each badge names the agent that wrote its notes, as Claude Code or Codex, or Agent when the agent isn't known. Hover over the badge to read the notes it rests on, each marked by its kind (a gavel for a decision, a lightbulb for a learning, a flask for an attempt, an undo arrow for a reversal), with the agent's avatar over the sender's and how long ago it arrived. A reason from an older guide shows the badge alone.

  • Diagrams: when the change affects how the system behaves, a system map: a diagram of how this part of the system works, from what starts it to the outcome, titled with the question it answers. Each box is a step in plain words, such as "Run is queued", sometimes with a few more words beneath, and each arrow says what leads to the next step. Steps are there to explain the flow, whether or not the change touched them. At most one or two steps where the change makes the system behave differently are highlighted; when nothing stands out, none are. The Summary shows the whole map as a small thumbnail, with its question and a sentence on what to take from it beside it. Select anywhere on its card to expand it, with its question and that sentence beside it, then use Fit to screen, Fit to width or a zoom percentage to read the full drawing. In the expanded view, select a box to open the code it rests on in the diff. Press Escape to return to the Summary. A change with no behavior, such as a copy or styling change, has no map. Screen readers get the same relationships as a list, which also shows when you tab past the map.

  • FAQs: when Theseus can answer questions a reviewer might ask, it lists them with answers drawn from the repository. Select a source badge to open the code behind an answer in the diff.

  • Caveats: every risk the guide's changes identify, then every discrepancy they flag, when there are any. Each risk is marked by a warning icon and shown as its change states it. Each says what could go wrong and when. When a risk needs more than one sentence, it opens with a short bold sentence naming the outcome, followed by the details. Numbered badges open the changes that state the risk or flag the discrepancy.

  • Not done: what an issue the pull request closes asked for that no change does, quoting the issue and the reason it gives, if any. Theseus lists only substantial code the pull request doesn't say it leaves for later, never a review or sign-off.

When the panel is wide enough, a list of the Summary's sections stands beside it and stays in view as you scroll; the section you're reading is highlighted, and selecting one scrolls to it.

Setup the change requires appears in the rollout plan, not here.

Beside the Summary, the Meta panel shows what the version touched and drew on:

  • files edited: how many files the guide edits and its added and removed lines, over a grid of 100 squares that shares the changed lines out by edit type, and a table of each edit type's share and line counts. Point at a square or a row to pick out that edit type in both.
  • Context and Preview URLs, below.

The Context section lists the Linear projects, Linear and Jira issues and GitHub issues the pull request links to directly, each once. Closes means the pull request used a closing keyword such as Fixes #12; it does not guarantee that merging closes the issue. Mentions is any other direct reference.

A bare #12 counts only when it closes the issue or sits under a Related issues heading in the description; Theseus ignores others, since they more often name pull requests. Context is frozen with the guide, so a later edit to an issue doesn't change it.

Previews and media

Link to this section

See Open previews and visuals for preview links, screenshots and recordings.

Theseus collects preview links, screenshots and recordings from the pull request's description and comments. Preview URLs, in the Meta panel, lists each deployment, newest first. Media, on the Summary, shows the images and recordings as thumbnails; select one to view them one at a time, full screen, pairing ones labelled Before and After, at the zoom you choose. Preview links reflect what the pull request links now, even on an older guide; Theseus doesn't check that a preview serves the guide's commit. Media shows what the pull request had for that guide, and the newest guide follows later changes. To add something it missed, link it in the description or a comment.

Images committed to the pull request's own repository show when linked as GitHub file pages, such as https://github.com/example/project/blob/<commit>/docs/after.png?raw=true, and only to people who can read the repository. They need the Theseus GitHub App's repository contents permission; if they don't show, ask a workspace admin to grant it. Images in other private repositories don't load.

Other images show from any public HTTPS link; recordings show only when hosted on GitHub, and other recordings open at their source. Links with credentials, or a query string other than ?raw=true, are left out. In Preview URLs, Latest marks the branch's moving address.

A change opens with what was true before and what is true now. Below that:

  • Its risks, in a Risks identified frame, when it has any. Longer risks can start with a sentence naming what could go wrong, followed by the conditions and details in a lighter colour. The sidebar marks such a change with a warning icon and its count of risks.
  • Its facts: what changes for whom, conditions, unchanged behavior, test coverage. The ones that decide whether to approve come first; the rest are folded under a heading that counts them, such as 4 more details.
  • Pictures, such as a before-and-after table or a flow diagram, when the guide drew any. A sequence diagram shows the messages several parts exchange, numbered in order; a state diagram shows the states one thing moves through and the transitions between them, with any condition a transition waits for in brackets. Each is titled with the question it answers and has a sentence underneath on what to take from it. The messages and transitions the change adds or changes are highlighted. A change shows its diagrams in a Diagrams section, each as a thumbnail beside its question and what to take from it; select anywhere on its card to expand it and adjust its zoom. In the expanded view, select a message, transition, part or state to open the code it rests on in the diff. Press Escape to return. Screen readers get the same steps as a list, which also shows when you tab past the diagram.

A stored flow, lifecycle or data-location diagram may also include a takeaway beside its thumbnail and in its expanded view. Older diagrams can have no caption; the reader does not invent one.

Independent changes can cite the same edits without being merged into one Change. Each edit keeps one primary change for navigation; other changes can share its evidence.

Badges under each fact name what it rests on: lines the diff shows, changed or around a change, or quoted words from the description or an issue. Code outside the diff gets no badge. Hover over a badge to preview the code or words; select it, or Show edit in the preview, to open those lines highlighted in the diff.

Three questions cover most changes:

QuestionWhere to look
What changes for a user or caller?The before-and-after and the first facts
Does the code support that?The fact's badges and the diff
What could still go wrong?The risks frame and code outside the changed lines

Only the code establishes a change; the description, issues and agent sessions explain why.

When the code contradicts a statement in the PR or linked context, a flagged discrepancy leads with what the code does and its evidence. The quoted statement appears underneath for comparison.

A newly generated guide flags at most one discrepancy. It can point to a claim the code contradicts, such as "no behavior change", or to behavior the description leaves out or misstates. Small caveats, test counts and differences the description already explains aren't flagged. A discrepancy from the PR can carry across edits and pushes while the quoted words remain and the change it flags stays the same. If several discrepancies still qualify, the updated guide keeps at most one. Once the quoted words are gone, it no longer shows, unless someone has commented on it. Older guide versions can show more than one discrepancy. A review rule that counts discrepancies counts the ones the guide shows.

Check the diff

Link to this section

Below the description, the change's files are split into primary edits, where the behavior is decided, and secondary edits, the supporting files, which start folded. Files themselves start closed; open the ones you want to read. Links to a file, line or comment open it for you. A file you've opened stays readable offline while this browser keeps its copy, so open the files you plan to review before you lose your connection.

  • Unified shows removed lines above added ones and Split shows old and new side by side. Auto, the default, splits diffs when the code column has room and unifies them when it's narrow. Set the default under Diff layout in Settings → Appearance, or switch one review from the code column's header or with Change layout… in the command menu (Cmd+K).
  • Select an unmodified lines bar to expand the file around an edit. Edits that belong to other changes appear dimmed, with a link to their change.
  • Open a Markdown file (.md, .mdx, or .markdown) and select Rendered to compare the formatted versions side by side. Use Previous change and Next change to step through changed blocks, or turn on Highlight words to see what was added or removed within them. To protect your privacy, the comparison shows image descriptions without loading the images.
  • Filter, in the code column's header, hides edit types you don't want to read right now, such as formatting while you check behavior. Press F to open it. Once you filter, the button shows the types still visible instead of its name. A change with no matching edits stays in the sidebar, dimmed. Your selection carries across changes.

Each edit has one type. Hover over a type badge in a file card for its description.

TypeCovers
BehaviorWhat the product does, allows or shows, including user-facing text, prompts and migrations
CleanupRemoval of dead or unused code
RefactorReorganized code or renamed internal identifiers
MoveCode moved, or a file renamed, without edits
ConfigBuild, CI, lint, test and editor settings
SchemaA schema snapshot generated from migrations
DependenciesPackages and lockfiles
TestsTests, fixtures, mocks and snapshots
DocsWritten documentation
Code commentsExplanatory comments in code
FormattingWhitespace, line breaks and other layout
GeneratedChecked-in files produced by tools
BinaryNon-text file types, by extension; most binary files are listed under Skipped files instead

Check the ancillary edits

Link to this section

Reviewed edits appear under the change they belong to, or under Ancillary edits. Ancillary edits are the renames, formatting, drive-by cleanup and tests of nothing a change states. Skim them for anything that looks like behavior; if you find some, it's worth a comment or feedback.

On a very large pull request, Theseus first sets aside files that rarely hold a decision: documentation, new tests and fixtures, lockfiles, vendored code and generated output. Set-aside edits still appear exactly once. A new test sits under the change for the file it tests; the rest are listed under Ancillary edits with their type. Edited tests, fixtures and vendored code are read like code. After those files are set aside, a new guide includes every relevant code hunk when less than about 2 MB and fewer than 1,500 changed hunks remain, and their rendered text fits the 900,000-character author limit. If the remaining code reaches either size threshold or does not fit that limit, the guide gives the high-level picture instead: one change per product area or independent decision. Older guides can still list edits that were not read in depth under Skipped files. Review those edits yourself.

Check what was not reviewed

Link to this section

Skipped files, below the ancillary edits, lists what Theseus didn't review: edits it didn't read in depth, which open to their diffs, and files it couldn't analyze, which show the reason instead: a symlink, a submodule, a binary file, text that isn't UTF-8, a file over 8 MiB, or a file past the pull request's 6 MiB limit. Review these yourself. Its count adds the unread files, by distinct path, to the unavailable file records, so a file with both readable edits and an unavailable part counts twice.

Check the rollout plan

Link to this section

The Rollout plan lists work beyond merging that nothing in the change does for you: applying a migration, setting a secret, running a manual step, deploying by hand, or watching something that finishes after deploy. Steps are grouped by when they happen: Before merging, During deploy and After deploy.

Each step says what to do and why, and cites the code or the quoted instruction it rests on, such as a line of AGENTS.md; hover over a source to read it. A step carries an alert when the change as it stands breaks the rule it names, such as a migration missing its declaration, or when it rests on something no file shows, such as a secret's access.

A description of new behavior does not by itself establish a manual task. Theseus checks that the cited instructions or inspected release code require the action, including its timing and any rollback condition.

Make sure someone owns each step. A step without an alert only means the change doesn't contradict it; Theseus can't tell whether anyone has done it.