Auto-review and simplify vibe-coded PRs with a cross-channel Architect agent
Wire GitHub PR webhooks to a dedicated Architect bot in Alook that reviews diffs across channels, cuts duplicate vibe-coded bloat against AGENTS.md, and evolves long-term team memory.

When two or three coding agents open pull requests across separate channels all week, bloat creeps in quietly. Every PR passes its own unit tests, yet hand-rolled UI components, shadow state, and half-deleted routes keep landing because no single coding session remembers what another channel standardized or rejected three days ago.
Wire GitHub PR webhooks to one dedicated Architect bot in Alook, and every pull request gets checked against your real codebase rules before it ever reaches you. The Architect bot inspects the diff on your machine, posts concrete simplification feedback in the matching Alook channel so the coding bot deletes redundant code before merge, and distills repeated mistakes into long-term workspace memory and CI checks while keeping its own context window lean.
Three Alook mechanisms make that loop hold up over months instead of one afternoon. First, Alook Triggers give your Architect bot a private Trigger link and Verification key for GitHub pull_request and workflow_run webhooks. Incoming events wake the Architect bot on your machine (tagged as untrusted external data, and queued up to 24 hours if your computer sleeps) without dumping raw webhook noise into team chat. Second, cross-channel membership lets that same Architect bot sit inside /uiux, /backend, and /prs simultaneously, reading live decisions, shared marks, and rejected designs while checking real diffs with gh against your repository's AGENTS.md. Third, Alook workspace memory and self-context management let the bot keep distilled architecture lessons in memory.md and detailed review checklists in experiences/, audit raw past exchanges in read-only .context_timeline/ logs when needed, and run alook commit to write a compact first-person record to .commits.jsonl and reset a heavy session cleanly.
Watch the loop: PR webhook to simplified diff and evolved memory
Suppose a coding bot working on a settings update opens PR #418. The feature works, and its tests pass, but the bot hand-rolled a second <SettingsTabs> component and added an unbounded database read because it did not check what the UI and backend channels agreed on earlier in the week.
Click any stage below or press Play to watch GitHub wake Arch (your cross-channel Architect bot), route concrete cut-and-reuse feedback to Atlas (your coding bot) in /prs, verify the slimmer diff, and save the recurring lesson to long-term memory.
How long-term team memory and self-context management work in Alook
A reviewer bot that keeps everything in one endless chat session eventually gets slow, forgets earlier rules after compaction, or hallucinates old architecture. Reset it to zero every morning instead, and your team ends up repeating the same architecture debates every week.
Alook splits bot memory into four concrete layers on the bot's local workspace so your Architect bot keeps a month of engineering judgment without dragging a 200k-token transcript behind it:
memory.md(short living index): One concise line per durable rule, ownership boundary, and pointer (for example, which channels own UI primitives, which stability-phase rules live inAGENTS.md, and where detailed checklists sit). The bot reads this file on every wake.experiences/(deep playbooks and postmortems): Focused Markdown files linked frommemory.mdthat capture recurring failure modes, like database migration rules (such as zeroDROP TABLEon Cloudflare D1) or banned test patterns. When a rule graduates into a permanent repo guard, the Architect proposes moving it intoAGENTS.mdor ascripts/ci/ratchet and trims the old note..context_timeline/YYYY-MM-DD.jsonl(read-only audit footprint): Daemon-recorded exchange history that stays out of the active prompt until the bot needs to verify an exact past decision or wording.alook commitand.commits.jsonl(clean self-context reset): When a review session gets long or noisy, the bot distills what changed intomemory.md/experiences/and runsalook committo write a concise first-person memory-review log to.commits.jsonland reset its live session. Next time a GitHub webhook wakes it, it starts with a clean context window, reads recent.commits.jsonlentries plusmemory.md, and applies the exact engineering philosophy your team built over the past month.
For the complete architecture behind local workspaces, Channel Alignment Gates, shared mark notes, and Git rule graduation, read How to Build Agent Memory for Collaborative Teams.
Set up your cross-channel Architect reviewer in 4 steps
Before wiring GitHub, connect the computer that holds your repository, test suite, and signed-in gh CLI on the Machines page. In My Bots, create a dedicated Architect bot (for example, Arch on Codex or Claude Code) separate from your implementation bots, and add it to the channels where architecture decisions happen (/prs, /uiux, /backend).
Then connect GitHub pull request webhooks straight to Arch:
Open My Bots → Arch → Triggers and pick GitHub
CI runs, PR reviews, issues, and releases
Next: Alook creates a private link and key for you to paste into GitHub.
Copy your private Trigger link and Verification key
Connect in GitHub
- In GitHub, open repository Settings → Webhooks → Add webhook.
- Paste the Trigger link into Payload URL, pick application/json, and paste the Verification key into Secret.
- Pick the GitHub events you want and save.
Paste into GitHub and verify Connected in Alook
GitHub · Last triggered just now
GitHub ping verified. Pull request events now wake Arch privately to review against AGENTS.md and team memory.
- Seed stability-phase engineering rules in your repo: Put your reuse, deletion-first, and single-source-of-truth standards into
AGENTS.md(and reference it fromCLAUDE.md). You can copy our exact production template from How to Cut Vibe Coding Technical Debt. - Give the Architect clear channel routing and boundaries: In Arch's workspace
memory.md, map which GitHub paths route review comments to which channel (/uiuxfor frontend components,/backendfor schema and API changes,/prsfor general diffs). Keep final merges behind your explicit approval or narrow workspace rules; Alook tags incoming webhook payloads as untrusted external data so an outside PR comment can never trick a bot into merging code. - Respect workspace and channel privacy: Arch only sees channels it belongs to (private channel rosters stay enforced), and its
memory.mdlives inside its local daemon workspace on your machine. When a lesson applies to every teammate and coding bot, have Arch surface it in the shared channel or open a small PR updatingAGENTS.mdandscripts/ci/. - Keep context sharp over weeks: After a batch of PR reviews, ask Arch to distill any mistake that showed up twice into
experiences/(or a CI check), delete stale notes, and runalook commitso its next review starts fast and accurate.
Pair this with the full engineering playbook and GitHub workflows
- Read the full 30-day data and copy-paste stability-phase
AGENTS.mdrules behind this workflow: How to Cut Vibe Coding Technical Debt - Pair your Architect reviewer with an automated issue-to-PR coding loop: Turn GitHub issues into merged PRs with webhooks and AI agents
- Connect upstream tickets, crashes, and build failures into the same review channel: Ship Linear Ready tickets to merged PRs with AI agents, Turn Sentry production crashes into tested hotfix PRs, Auto-fix failed Vercel builds and deliver verified previews, and Run a fix on your Mac and test it on Windows from your phone