From 0e886243758b3e33689e5926bc0496596857d7c1 Mon Sep 17 00:00:00 2001 From: Baylee Bowen <90226747+bowenforsoup@users.noreply.github.com> Date: Mon, 28 Sep 2026 20:02:32 -0500 Subject: [PATCH] ci: rebuild the review tier like diagnose, posting as the Louise agent app - The reviewer agent gets no shell. A workflow step collects the pull request and its diff into files; the agent writes its review to one file. This closes the review tier's copies of the holes the adversarial review found in diagnose: `git log --output` and a second `--body-file`. - A second job, on a fresh runner, refuses a review with a credential in it, then edits this poster's earlier Louise review or posts one, as bowenlabs-louise-agent with a token narrowed to pull-request write on the one repository. Without the app it falls back to github-actions[bot]. - The Louise agent app's own pull requests are reviewed; other bots are still skipped. - Background tasks off, and the agent told to wait for its subagent. - The fix tier's agent no longer writes its own closing keyword, which duplicated the one the workflow adds (bowenlabs/ghostfire.coffee#52). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/louise-fix.yml | 2 +- .github/workflows/louise-review.yml | 189 +++++++++++++++++++++++++--- README.md | 24 ++-- 3 files changed, 191 insertions(+), 24 deletions(-) diff --git a/.github/workflows/louise-fix.yml b/.github/workflows/louise-fix.yml index 2154e90..64616c5 100644 --- a/.github/workflows/louise-fix.yml +++ b/.github/workflows/louise-fix.yml @@ -286,7 +286,7 @@ jobs: 2. Have the `louise:developer` agent, run in the foreground so you wait for it (this run ends when you stop), make the smallest change that fixes it, to the repository's own rules: its `CLAUDE.md`, its docs, and any diagnosis above that cites a house source. There's no Louise knowledge server in this run. Add or update a test that fails without the fix. Add a changeset if the repository uses them and the change needs one. Don't add or upgrade dependencies: the lockfile is installed and can't change here. 3. Run the repository's checks the way its CI does, with `/opt/louise-sandbox/bin/corepack pnpm run