Keysat e8144ae872 Handoff: promote the heartbeat decision and deploy-key gotcha to durable sections, prune Current state
Current state had grown into a running log of two adjudication cycles. The
2026-07-29 heartbeat drop is a decision, so it lives in Decisions with its
reopen condition; the per-repo deploy-key requirement is a durable gotcha, so it
sits with the Deploy command. What remains is present-tense status plus three
ordered next steps: the orphaned-thread prune fix, triaging this repo's 3 inbox
items, and the 2nd/3rd-repo poll-cycle check.
2026-07-29 20:12:51 -05:00

gitea-review-bot

A thin Matrix bot that reviews and merges your Gitea pull requests, one review room per repo. Separate from matrix-bridge (which runs interactive Claude Code sessions) — this bot's only job is PR review.

How it works

  1. Create a Matrix room named like a repo and invite the bot. It auto-joins and maps the room to <owner>/<repo> (and ~/Projects/<repo> on the Mac), then posts an onboarding message.
  2. It polls that repo's open PRs and posts each as a thread: a headless claude -p review (with an optional subagent panel) run on the Mac over SSH.
  3. In the thread: merge (then yes) or reject. A merge auto-deploys (if enabled) and then redacts the thread, so the room shows only open PRs; if the deploy fails, the thread still clears and a standalone "deploy manually" warning stays in the room. clear redacts an orphaned thread without touching the PR.

Pick which review agents run per room in chat: agents +reviewer +security -adjudicator.

Run (on the Spark)

  1. Copy config.example.tomlconfig.toml and .env.example.env; fill them in (Matrix creds, GITEA_TOKEN, the [mac] SSH alias + reused matrix-bridge wrapper paths, [gitea]).
  2. docker compose up -d --build. Logs: docker compose logs -f.

See AGENTS.md for the full design, placement, and decisions.

S
Description
No description provided
Readme
90 KiB
Languages
Python 93.5%
Shell 3.7%
Dockerfile 2.8%