AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
Local Review 将每个分支上的提交显示为独立的 pull request,按您计划打开的堆栈分组,采用 GitHub 风格的审阅 UI,直接在本机上运行。
AI 翻译
Local Review shows every commit on your branch as its own pull request, grouped into the stacks you mean to open, in a GitHub-style review UI that runs on your machine.
开发工具TypeScript · CSSGitHub @edspencer在线运营者未确认
试用过了吗? 点一下就好,无需登录。
在创建之前审查您的 PR 堆栈。
AI 翻译
Review your PR stacks before you create them
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Review your PR stacks before you create them.
Local Review is a GitHub-style pull-request UI for the stack of commits on your machine, before any of it is
pushed. Every commit is shown as its own PR, grouped into the stacks you mean to open. You review them like PRs, your
coding agent reads your comments and replies in the same place, and when a stack is right, the agent publishes it as
GitHub stacked PRs.查看完整 README ↗Local Review is a GitHub-style pull-request UI for the stack of commits on your machine, before any of it is pushed. Every commit is shown as its own PR, grouped into the stacks you mean to open. You review them like PRs, your coding agent reads your comments and replies in the same place, and when a stack is right, the agent publishes it as GitHub stacked PRs.
local-review plan prints each PR's branch, base, title and body, and your agent opens
the stack as GitHub native stacked PRs, posting
the comments you marked for the GitHub PR.
It works in front of any stacking tool.Needs Node.js 22 or later and git, on macOS or Linux. To look around first, run npx local-review and click Add
the example projects: a made-up app reviewed across four repos.
npx local-review init my-feature # create ~/.local-review/projects/my-feature/project.yaml
npx local-review # serve the UI on http://localhost:5622
Edit project.yaml to point at your repo, branch and stacks:
title: My feature
repos:
- path: ~/code/my-service
branch: me/my-feature # the range ends at this branch's head
base: origin/main # and starts at its merge-base with this
stacks:
- title: Groundwork
- title: The feature itself
starts_at: "Add the feature flag" # the subject of the commit the stack starts at
Then open http://localhost:5622. Edits are picked up live. The full walk-through is the Quickstart.
To keep it running in the background, started at login (a LaunchAgent on macOS, a systemd user unit on Linux):
npm i -g local-review
local-review service install
See Run it as a service.
Upgrading from before 0.2.0? The default port was 5000; it's now 5622 (macOS uses 5000 for AirPlay). Update bookmarks and agent prompts, or run
npx local-review --port 5000.
To have your coding agent set up a project, point it at the running server's llms.txt:
Read http://localhost:5622/llms.txt and create a local-review project for my feature-xyz branch on ~/code/my-git-project
It has the rules, the recipe, the commented project.yaml example and this machine's data directory and projects
(llms.txt; the docs site has a copy at
https://local-review.edspencer.net/llms.txt). Then
npx local-review guide
prints the guide for coding agents driving Local Review from the repo they work on: the data model, how to answer review threads, fix a commit mid-stack, tag branches, publish stacked PRs and record merges. It's AGENT-GUIDE.md in this repo, and on the docs site. To hand a reviewed project to your agent, paste the hand-off prompt.
https://local-review.edspencer.net
~/.local-review, never in your repos; writes are atomic, nothing is
unlinked, and it's snapshotted hourly. Never-delete guaranteeHost and Origin headers.
Localhost securityAnd so you can't mistake it for github.com, its header is deep plum with an amber underline and a "not on GitHub" pill.
Contributions are welcome: see CONTRIBUTING.md, and AGENTS.md for coding agents working on this repo. Report vulnerabilities privately as described in SECURITY.md. How AI was used to build it: AI-DECLARATION.md. Releases: RELEASING.md.
MIT, see LICENSE.
The fonts bundled in server/fonts/ for the stack picture are Inter and
JetBrains Mono, both under the SIL Open Font License 1.1
(server/fonts/*-OFL.txt). npm dependencies keep their own licenses.