Skip to content

Releases

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:37

perspica is in beta, so expect rough edges and behavior that may change between 0.x releases. Please open an issue if something looks wrong.

The perspica Action is now a real GitHub Action

The workflow that perspica github init writes is much shorter. Its steps are now one line, uses: sshah03/[email protected], so Dependabot can keep it up to date like any other Action.

  • You can set it up without installing perspica. Copy the workflow from the README into .github/workflows/perspica.yml.
  • To require the author's quiz, set require-author-quiz to "true" in the workflow, or run perspica github init --require-author-quiz.
  • Workflows written by 0.5.0 keep working. Run perspica github init again to move to the new form.

Fixes

  • The note before posting no longer mentions a reading order, which the comment doesn't have anymore.
  • perspica github init --help prints usage. It used to write the workflow file.

Analyses, lessons and decisions saved by 0.5.0 aren't reused after upgrading, so run them again once.

Install

  • cargo install perspica
  • or brew install sshah03/perspica/perspica
  • or a binary below for macOS (Apple Silicon and Intel), Linux (x86_64 and arm64) or Windows.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 21:22

perspica is in beta, so expect rough edges and behavior that may change between 0.x releases. Please open an issue if something looks wrong.

Introducing the perspica GitHub Action!

perspica can now live on your pull requests. Authors post their review as one comment, reviewers can take a quiz on the change right in the thread, and you can choose to hold merging until someone passes.

Setting it up takes two steps.

  1. Run perspica github init in your repo. It writes .github/workflows/perspica.yml.
  2. Commit that file and merge it into your default branch. It won't run on pull requests until it's there.

After that, every pull request gets a perspica status and a perspica review check. This is how it plays out on a pull request.

  • The author posts the comment from their machine. If they don't, the Action still puts perspica's structural review on the check, which doesn't need a model.
  • If the author asked reviewers to take the quiz, a reviewer answers by replying /quiz 1a 2c 3b 4d, or by writing the same thing in their review. The Action grades it and replies with their score and what they missed. They can try again.
  • If the author made the quiz required, the perspica status stays pending until a reviewer passes. If the author only suggested it, the status passes either way.
  • For that to actually block merging, add perspica as a required status check in the repo's branch rules. Nothing is blocked unless you do this.
  • A repo can also require every author to pass their own quiz before merging, by running perspica github init --require-author-quiz. It's off by default. When an author falls short, the Action replies with their score and how to retake it.

The quiz works on trust. The answers are in the comment's data, so passing shows someone took the quiz, not that they understood the change. The Action never runs the pull request's code, so it's safe on pull requests from forks. On private repos each run uses about a minute of Actions time.

When you upgrade perspica later, run perspica github init again to move the workflow to the new version.

Posting the review

perspica --pr 123 --post, or Post to PR in the viewer, puts the review on your own pull request. It works without the Action too, as a plain comment.

  • You see a preview first. You pick whether to include concerns, lessons, your quiz score, and a request for reviewers to take the quiz.
  • The comment is short. It has a summary, what each change is for with links to those lines in Files changed, which files are safe to skim, and links to docs for the lessons.
  • Your quiz score shows as a badge once you've answered every question in Learn. Retakes count, and the badge says how many tries it took.
  • Posting again updates the same comment instead of adding a new one.
  • Nothing from your agent sessions goes in.

Analyses, lessons and decisions saved by 0.4.2 aren't reused after upgrading, so run them again once.

Install

  • cargo install perspica
  • or brew install sshah03/perspica/perspica
  • or a binary below for macOS (Apple Silicon and Intel), Linux (x86_64 and arm64) or Windows.

v0.4.2 (beta)

Choose a tag to compare

@github-actions github-actions released this 06 Nov 00:02

perspica is in beta: expect rough edges, and behavior that may change between 0.x releases. Please open an issue if something looks wrong.

Privacy fix

  • Shared --format html pages could still include short quotes of your prompts, and which changes you asked for, from Analyze's intent groups. They now leave out everything that comes from your agent sessions. Your own viewer still shows them.
  • Analyze and Learn no longer write things like "the user asked for" in summaries, notes and concerns. They state the reason itself.

This only affected pages exported from your own changes, after running Analyze on a change that had Claude Code or Codex sessions behind it. Reviews of other people's PRs never read sessions.

Note: analyses, lessons and decisions saved by 0.4.1 aren't reused after upgrading. Run them again once.

Install

  • cargo install perspica
  • or brew install sshah03/perspica/perspica
  • or a binary below for macOS (Apple Silicon and Intel), Linux (x86_64 and arm64) or Windows.

v0.4.1 (beta)

Choose a tag to compare

@github-actions github-actions released this 05 Nov 23:40

perspica is in beta: expect rough edges, and behavior that may change between 0.x releases. Please open an issue if something looks wrong.

Fixes

  • Learn only writes a lesson by itself when the model setup is the same one that found the concepts. Before, setting an API key later could send lessons to the paid API without asking.
  • The Learn intro no longer promises an interactive piece for every concept.
  • Decisions only counts rm, cp, mv and similar tools as commands, so a command that happens to contain "perform" or "tcp" isn't taken for an edit.
  • Decisions only credits a choice to you when your own messages back it up. A request needs a message from you before it, and "you agreed" needs a reply from you after the agent's proposal. Anything else is the agent's.
  • Removed an unused dependency, tower-http.

Note: analyses, lessons and decisions saved by 0.4.0 aren't reused after upgrading. Run them again once.

Install

  • cargo install perspica
  • or brew install sshah03/perspica/perspica
  • or a binary below for macOS (Apple Silicon and Intel), Linux (x86_64 and arm64) or Windows.

v0.4.0 (beta)

Choose a tag to compare

@github-actions github-actions released this 05 Nov 22:23

perspica is in beta: expect rough edges, and behavior that may change between 0.x releases. Please open an issue if something looks wrong.

Decisions

A new Decisions tab, next to Review and Learn, shows how a change you made with Claude Code or Codex was decided.

  • perspica reads the session that made the change and groups what was decided into topics.
  • Each topic shows what you decided and what the agent decided on its own. The agent's own choices are the ones nobody has looked at yet.
  • Below that is a timeline of the moments that settled it, quoted from the session. A quote that isn't in the session word for word is dropped.
  • It only works for your own changes, with the sessions on this machine. Other people's PRs don't have their sessions here.
  • Find decisions sends the session and the changed code to your LLM in one request. It usually takes under a minute, and the result is saved with the analysis.
  • --format html exports leave it out, since it quotes your sessions.
  • d switches to Decisions and back.

Fixes

  • perspica now picks the right agent sessions for a change. It used to count sessions that only read the changed files, and prompts from long after the change was made. Analyze and Learn get the corrected prompts too.
  • --git reviews include new files that aren't tracked yet, like branch reviews already did.

Note: analyses, lessons and decisions saved by 0.3.0 aren't reused after upgrading. Run them again once.

Install

  • cargo install perspica
  • or brew install sshah03/perspica/perspica
  • or a binary below for macOS (Apple Silicon and Intel), Linux (x86_64 and arm64) or Windows.

v0.3.0 (beta)

Choose a tag to compare

@github-actions github-actions released this 19 Oct 01:43

Improvement: improve the visuals in the "learn" tabs diagrams and animations

v0.2.1 (beta)

Choose a tag to compare

@github-actions github-actions released this 15 Oct 21:54

perspica is in beta: expect rough edges, and behavior that may change between 0.x releases. Please open an issue if something looks wrong.

A security and dependency update. There are no changes to perspica's own features.

Security

  • h2 0.4.20 fixes RUSTSEC-2026-0258 (unbounded empty DATA frames). h2 is used by the viewer's local web server and by HTTP requests to LLM providers.
  • openssl 0.10.81 (from 0.10.76), which the Linux and Windows builds use for HTTPS.
  • rustls and rustls-webpki are updated in Cargo.lock for their advisories as well. perspica doesn't compile them, so the shipped binaries weren't affected.

Updated dependencies

  • tree-sitter 0.26. Output is unchanged on 600 public pull requests across all supported languages, and on about 3,000 injected edits.
  • tower-http 0.6, plus compatible updates to tokio, clap, serde and others.

Note: analyses and lessons saved by 0.2.0 aren't reused after upgrading. Run Analyze, or Find concepts in Learn, again once.

Install

  • cargo install perspica
  • or brew install sshah03/perspica/perspica
  • or a binary below for macOS (Apple Silicon and Intel), Linux (x86_64 and arm64) or Windows.

v0.2.0 (beta)

Choose a tag to compare

@github-actions github-actions released this 13 Oct 20:29

perspica is in beta: expect rough edges, and behavior that may change between 0.x releases. Please open an issue if something looks wrong.

Learn

A new Learn tab, next to Review, explains the concepts a change relies on.

  • It picks out only what matters: architecture changes first, then the algorithms, protocol rules or language features the change depends on. A small change gets one concept, a bigger one up to three, and a change that needs no background gets "nothing to learn".
  • Each concept has a short lesson, where it shows up in this change (with links to the code), links to documentation, and a diagram, animation or interactive piece when one helps.
  • A quiz of one to three questions checks you've understood it before you approve the change.
  • Lessons are written the first time you open a concept and saved with the analysis. Rewrite… writes one again, with a stronger model if you like.
  • Interactive pieces run in a sandboxed frame with no network access.
  • --format html exports keep the lessons and quizzes.

Viewer

  • A two-row header with Review and Learn tabs, and quieter controls.
  • A better layout on phones.
  • New shortcuts: l switches between Review and Learn, and e/q switch between explanation and quiz.

Fixes

  • Anthropic API responses that start with a thinking block no longer fail with "No text in the Anthropic response".
  • Header buttons and the outline no longer overflow with long titles.

Note: analyses saved by 0.1.x aren't reused after upgrading. Run Analyze again once.

Install

  • cargo install perspica
  • or brew install sshah03/perspica/perspica
  • or a binary below for macOS (Apple Silicon and Intel), Linux (x86_64 and arm64) or Windows.

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 07 Oct 21:41
  • Added support for Haiku 5.5 in the GUI
  • Small wording fix in the viewer

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 07 Oct 05:56
  • Added support for a single html file export of the review for sharing
  • Fixes for better handling of imports in JS and TS
  • Initial PHP and Ruby support