Phin Tech docs Red Pen in the store →

Local Changes, read with git and kept here

Red Pen reviews a branch in a clone on this Mac before it's a pull request: the whole branch, as it would be proposed, which is its commits since it left the default branch and whatever isn't committed yet, untracked files included. It's for reviewing your own work, or an agent's, without opening a pull request to do it.

The changes are read by running the git program in the clone (redpen_core::local), not with a library. Whatever git the clone's owner uses already reads it, with that clone's own settings, so there's nothing new to depend on or to disagree with it. The options that change how a diff is spelled (diff.noprefix and the like) are overridden on the command line, so the diff the app parses is the same everywhere.

Notes on Local Changes are kept with the others, under a key of their own (local:<clone>#<branch>), and never go to a Forge: there's no review to post them in, and no pull request to propose a House note through.

Feedback goes to the agent writing the branch in Rounds, which the agent fetches: redpen poll, run in the background in the clone, waits for the next Round in the database and exits with it. Red Pen runs nothing of yours to deliver one, since programs run on a signal (Hooks) are the part that has broken most often; and a Round written out when it's sent needs nothing from the app to be read, so poll works with Red Pen closed. The redpen skill, which redpen skill install writes, tells an agent how to take part.

Consequences #