All use cases

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.

Triggers & Context

GitHub PR Webhook

pull_request wakes Arch

Feature Channels

/uiux · /backend · /prs

Cross-Channel Reviewer

Architect Bot

checks AGENTS.md · cuts bloat

Outcomes & Memory

Simplified Merged PR

reused UI · net-negative diff

Team Memory & Reset

memory.md · experiences/ · commit

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.

Step 1/4New GitHub PR fires a Trigger that wakes Arch on your repo machine.
acme/app
Public
IssuesPull requestsActions
Add workspace notification settings panel#418
Open+492 / -14
Atlas opened PR #418 with a custom SettingsTabs component and a new query helper.
Trigger to Alookpull_request
/prs
Alook
PR #418: Workspace notification settingsWoken by GitHub
ArchBOTCodex · Architect14:12
Woken by GitHub webhook on PR #418 (+492 / -14). Checking diff against AGENTS.md, /uiux decisions, and memory.md.
Message /prs

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:

  1. 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 in AGENTS.md, and where detailed checklists sit). The bot reads this file on every wake.
  2. experiences/ (deep playbooks and postmortems): Focused Markdown files linked from memory.md that capture recurring failure modes, like database migration rules (such as zero DROP TABLE on Cloudflare D1) or banned test patterns. When a rule graduates into a permanent repo guard, the Architect proposes moving it into AGENTS.md or a scripts/ci/ ratchet and trims the old note.
  3. .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.
  4. alook commit and .commits.jsonl (clean self-context reset): When a review session gets long or noisy, the bot distills what changed into memory.md / experiences/ and runs alook commit to write a concise first-person memory-review log to .commits.jsonl and reset its live session. Next time a GitHub webhook wakes it, it starts with a clean context window, reads recent .commits.jsonl entries plus memory.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:

01

Open My Bots → Arch → Triggers and pick GitHub

Arch · Triggers
Choose a source
GitHub
Linear
Sentry
Stripe
Vercel
GitLab
Slack
OpenAI
Custom app
New GitHub trigger

CI runs, PR reviews, issues, and releases

Name

Next: Alook creates a private link and key for you to paste into GitHub.

02

Copy your private Trigger link and Verification key

Trigger ready
Trigger link
Verification key

Connect in GitHub

  1. In GitHub, open repository Settings → Webhooks → Add webhook.
  2. Paste the Trigger link into Payload URL, pick application/json, and paste the Verification key into Secret.
  3. Pick the GitHub events you want and save.
03

Paste into GitHub and verify Connected in Alook

GitHub · Settings → Webhooks → Add webhook
Payload URL
https://alook.ai/api/webhooks/bot/trk_4pN8vR2xW6mQ1zK
Content type
application/json
Secret
whsec_3d9b7e41a2c8f05b6e2a
Selected events
Pull requestsPull request reviewsWorkflow runs
Add webhook
Alook · Triggers
Connected
acme-pr-architect

GitHub · Last triggered just now

Recent triggers
Just nowConnected

GitHub ping verified. Pull request events now wake Arch privately to review against AGENTS.md and team memory.

Signature verified · Private to Arch
  1. 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 from CLAUDE.md). You can copy our exact production template from How to Cut Vibe Coding Technical Debt.
  2. Give the Architect clear channel routing and boundaries: In Arch's workspace memory.md, map which GitHub paths route review comments to which channel (/uiux for frontend components, /backend for schema and API changes, /prs for 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.
  3. Respect workspace and channel privacy: Arch only sees channels it belongs to (private channel rosters stay enforced), and its memory.md lives 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 updating AGENTS.md and scripts/ci/.
  4. 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 run alook commit so its next review starts fast and accurate.

Pair this with the full engineering playbook and GitHub workflows

Open AlookMore use cases