Nook · Human & Agent Workflow · 2026
Shipping 400+ PRs solo with AI: how my agent workflow evolved
Shipping fast prototypes with AI is easy; sustaining 400+ real production PRs without losing coherence is a completely different game. Here is how Nook’s human–agent workflow and third-party tool guardrails grew out of real friction.
01 / Origin
Why “chat-driven coding” breaks down before PR #50
When I started building Nook with AI, I worked the way most people do: open a chat window, tweak whatever comes to mind, and watch prototypes appear at astonishing speed. Once the project moved past prototyping into real iterative delivery, the cracks surfaced all at once—agents forgot decisions across sessions, reported planned code as shipped, and broke adjacent flows while making small edits. When I tightened the rules to stop regressions, the workflow swung too far the other way and made a two-line copy tweak feel like a full release ceremony.
Sustained productivity with AI never comes from one clever prompt—it comes from a workflow forged through real failures and course corrections.
02 / Workflow evolution
Five turning points that shaped the workflow
Nook’s workflow was not designed on a whiteboard on day one. Across three months of real delivery from August to November 2026 (~9.6B total tokens, 320M daily peak, 400+ PRs), five concrete turning points forced the system to evolve:
2.1 From chat-driven edits to Issue & branch delivery (Mid-to-late Aug)
Early on, iterating inside a single chat thread felt effortless until cross-session amnesia hit. Worse, a local Vite prototype and the Next.js repo briefly drifted on two separate tracks—even migrating an existing screen went sideways when an agent refactored while copying.
I stopped driving delivery through chat history and anchored every change to one GitHub Issue, one isolated branch, and one PR. Legacy prototypes moved to an archive folder, leaving src/ as the single active codebase with traceable history.
2.2 From an ignored handbook to AGENTS.md guardrails & truth separation (Late Aug – Early Sep)
Writing a workflow manual wasn’t enough—two Issues in a row still saw agents skip branching or ignore closing steps. Even riskier, spotting an implementation in code made agents declare a feature “live”, blurring unverified goals with shipped behavior.
I added a root AGENTS.md as a mandatory entry guardrail, enforced “one fact, one home” plus requirements writeback before closing an Issue, and separated Target from Current—reading code can only claim “code observation, runtime pending”.
2.3 From branch Preview only to a fixed Staging gate (Mid-Sep)
At first I hesitated: with only myself using Nook, wasn’t a dedicated test environment overkill? Once database changes, real email login callbacks, and cross-device sync entered the picture, ephemeral branch Previews couldn’t test reliably and merging straight to main risked real family albums.
I established three isolated tiers: Preview (branch build & sanity checks) → fixed Staging (dedicated domain & isolated database for real-device QA) → Production (authorized promotion PR to main + smoke check). Feature PRs target staging with Refs #N so Issues never close before live verification.
2.4 From full-suite testing for every edit to tiered testing by impact (Late Sep)
Once the rules grew comprehensive, efficiency snapped back: asking a quick read-only question triggered reading the entire doc set, and no matter how tiny the change—even tweaking two lines of copy or an icon size—the workflow still ran the full test suite and build, wasting time and tokens.
Borrowing from internet product QA, I matched testing effort to change size: split changes into five tiers (docs-only, copy/visual polish, local behavior, cross-module, and high-risk), so small tweaks run only lightweight checks and stop once they pass, while pairing that with minimal task-based doc reading.
2.5 From one-way shipping to adversarial review & drift archiving (Late Oct – Nov)
Hundreds of PRs in, self-checks inside the same session missed subtle edge cases, while docs quietly drifted from code—legacy 50-photo caps clashed with new 27/80-photo limits and finished prototype migration steps lingered in architecture specs.
I ran a dedicated adversarial review on high-risk save and delete paths (catching overwrite, zombie-delete, and unsaved-exit bugs in one pass) and audited docs against live staging code, moving legacy specs into docs/archive/ to physically separate active rules from history. That lean harness was then reused directly on my next independent app.
03 / Tool governance
The overlooked half: governing how agents talk to external tools
Aligning humans and agents is only part of the picture. In daily delivery, connecting agents to external tools (GitHub, Vercel, Figma, Supabase, and the local environment) ran into its own set of snags. Real troubleshooting surfaced four recurring issues:
- Git transport & Keychain sandbox
- Default SSH timed out after 12s, while sandboxed shells lacked macOS Keychain access—making agents misread auth failures and loop.
- CLI vs. duplicate MCP conflicts
- gh CLI handled private repos cleanly, yet an overlapping GitHub MCP returned 404s under separate OAuth scopes, wasting context and misrouting calls.
- Vercel misbinding & protection gates
- Local .vercel once pointed at a stale project name; direct CLI production deploys were too risky, and Staging auth could not be disabled.
- Layered AGENTS.md & retry loops
- Overlapping rules across outer directories and repo AGENTS.md conflicted easily, and port or lock-file errors triggered blind retry loops.
Mapping these lessons back to the actual tools used in Nook gives a clear rulebook—official CLI where mature CLIs exist, bidirectional or read-only MCP where it shines, GitHub Actions for deterministic sync, and human review for protected gates:
| Tool | Collaboration channel | Boundaries & guardrails |
|---|---|---|
| Git / GitHubCLI + Actions | git & gh CLI for branches, PRs, Issues, and scripted board queries; GitHub Actions for cross-repo token sync and 3-lane CI (guardrails, code, database) | HTTPS + authorized gh; disable GitHub MCP to avoid private-repo 404s; board helper script uses least-privilege GraphQL |
| VercelRead-only CLI + Human | vercel CLI strictly for read-only deploy status and logs; human browser QA on Staging | Lock canonical project & commit SHA; pass CI=1 in non-interactive shells to prevent upgrade-prompt hangs; disable Vercel MCP and ban direct CLI Production deploys |
| Figma / RemixIconBidirectional MCP | Bidirectional Figma MCP for canvas & variable edits; search icons via RemixIcon MCP and write components through a local script | Lock token & component rules before editing canvas to avoid hardcoded styles; ESLint blocks new lucide-react imports to prevent duplicate icon sets |
| SupabaseRead-only MCP + Scripts | Read-only MCP for schema inspection, logs, and status; 7 SQL & RLS permission tests run automatically in GitHub CI | Never blind-write production schema or RLS; production changes go through migration scripts & human approval |
| NotionRead / Write MCP | Capture product decisions, retrospective notes and context for agents to search on demand | Keep as decision archive, never as a duplicate authority competing with repo specs |
04 / Steady pipeline
From idea to live check: a dual-track workflow anyone can follow
Putting our rules, 5 workflow Skills, and automated checks together splits Nook into two clear lanes—an 8-step full flow for Nook Web APP and a 4-step express lane for Nook Landing Page:
How humans, AI, and tools split the work (switch tracks & scroll horizontally)
Nook Web APP (8 steps) — Every step shows who acts, what happens, and which Skills & tools run
Why it works: 5 dedicated Skills lock down what AI can and cannot do at each gate, while automated checks and a second-AI review catch mistakes before they reach you.
Nook Landing Page (4 steps) — Ship landing updates anytime, even while the test site is busy
Safety net: the moment a change touches shared app logic, login, saving, or global settings, CI blocks the express lane and routes it back to Nook Web APP’s 8-step flow.
05 / Closing note
A good workflow removes friction—never the space to form your own judgment.
In 2026, solo builders and small teams talk a lot about Harness Engineering—simply put, how reliably AI ships depends less on the model alone and more on the environment you build around it (Lean guidanceKeep root instructions concise with task-based routing instead of dumping every doc into context—cutting noise and wasted tokens., Spec-driven flowLock down goals, scope, and explicit exclusions before coding so agents deliver against a clear contract rather than guessing., Worktree isolationRun each task in an isolated branch or git worktree so parallel work stays clean, never pollutes main, and reverts safely., and Automated machine backpressureUse typechecks, linters, tests, and CI gates to bounce errors back to agents automatically before human review.). Looking back across 400+ PRs on Nook, the rules, lanes, and gates above are really that harness in practice—turning a black-box service counter into a workbench where assumptions stay visible and changes stay small enough to test safely.
AI is getting better at handing back a polished PR in minutes, yet a finished answer does not mean finished thinking. Even the best harness exists only to clear away mechanical friction so real trade-offs and hands-on craft stay with you—as long as my judgment remains in the loop, I am never just standing by to click approve.