Workflow Automation Pattern: Removing the Human Bottleneck
For 25 years I’ve watched organizations automate the wrong layer. They script the easy part and leave the hardest part — the handoff between two systems that don’t trust each other — sitting in a person’s inbox. I built a workflow automation pattern this month that finally fixed that handoff for my own AI pipeline, and it’s small enough to steal.
The manual task: every time I planned work with one AI and built it with another, I was the integration layer. Grok would generate a task breakdown as product owner. I’d read it, reformat it, paste it into Claude Code as a build prompt, watch the output, then manually update status somewhere so I’d remember what shipped. Multiply that by a dozen tasks a week and I was spending more time relaying context than either AI spent doing actual work.
The Automation Pattern: Shared State Instead of Shared Human
The fix wasn’t a smarter prompt. It was removing myself as the state-transfer mechanism and replacing me with a system both AIs could read and write to directly: Linear, used as the single source of truth for task state.
Here’s the shape of it:
- Grok writes tasks into Linear with a defined status:
Planned - Claude Code polls or receives tasks marked
Ready for Build - Claude Code moves tickets to
In Progressand thenIn Reviewon completion, with its own commit references attached - I review and move
In ReviewtoDone— the only step that still requires a human, and it’s a 30-second approval, not a 20-minute relay
That’s the whole pattern. No custom orchestration layer, no new framework, no vector database, no agent-to-agent protocol. Just two AI tools reading and writing to the same project management state instead of reading and writing through me. The repeatable automation pattern here is simpler than it sounds: pick one system both parties already understand, assign deterministic status values to each handoff point, and let state changes replace manual messages.
Why I Didn’t Build a Bigger Pipeline First
I want to be honest about what I didn’t do, because the instinct in this industry is to reach for the most impressive-sounding architecture before validating the small one. I didn’t stand up a message queue. I didn’t write a custom API gateway between Grok and Claude Code. I didn’t build retry logic, a dead-letter queue, or anything resembling production infrastructure — because none of that was the bottleneck. The bottleneck was me, manually copying text between two chat windows. Removing a human bottleneck with a shared status board is not a sophisticated solution, and that’s exactly why it worked on day one instead of week six.
If your recurring manual task is “I copy output from Tool A into Tool B,” the question to ask before building anything is: can both tools already read and write to a system you already have? If yes, that’s your integration layer. You don’t need to build one.
The Security Tradeoffs This Pattern Introduces
This is where my IAM background won’t let me stop at “it worked.” Giving two AI agents write access to a shared system changes your threat model, even when the system is something as mundane as a project tracker.
Three things I checked before trusting this pattern in anything beyond my own solo workflow:
- Scoped credentials per agent. Grok and Claude Code should never share the same API key into Linear. If one agent is compromised or misbehaves, you want to revoke its access without taking down the other half of the pipeline.
- Status transitions as an audit trail. Every status change is a timestamped, attributable event. That’s not an accident — it’s the entire value of this automation pattern from a security standpoint. You get a built-in log of what each agent did and when, without adding separate logging infrastructure.
- The human approval gate stays a human gate. I kept
In ReviewtoDoneas my manual step on purpose. The moment both agents can push toDoneunsupervised, you’ve built an unattended deployment pipeline disguised as a task tracker. For a solo workflow that might be fine. For a regulated team, that’s the control you cannot automate away without a separate review process backing it.
None of this requires exotic tooling. It requires the same discipline you’d apply to any two services exchanging state: least privilege, attribution, and a defined point where a human still has to say yes.
What This Means for Security-Conscious Teams Adopting AI
Teams evaluating AI-to-AI workflows keep asking me about orchestration frameworks before they’ve asked the simpler question: what manual task is actually recurring, and does a system you already trust already hold the state you need? Workflow automation doesn’t have to mean new attack surface. It can mean taking a tool you’ve already done access reviews on and giving two AI agents clearly scoped roles inside it.
The pattern generalizes past Linear. Any shared system with status fields, access controls, and an audit log — a ticketing system, a CI pipeline, a document approval workflow — can serve as the handoff layer between two AI tools, as long as you define the states deliberately instead of letting the AIs invent their own.
Key Takeaways
- The most effective automation pattern I’ve implemented this month didn’t require new infrastructure — it required replacing a human relay step with a shared system both AI tools already understood
- Before building a custom integration between two AI tools, check whether a system you already trust can serve as the shared state
- Scoped credentials, attributable status changes, and a retained human approval gate are the controls that keep this kind of workflow automation from becoming unmanaged write access
- Small, boring automation patterns beat impressive-sounding pipelines when the actual bottleneck is a manual handoff, not a technical limitation
I’m building out more of this — multi-agent handoffs, the identity questions they raise, and the exact controls that hold up under audit — as part of the upcoming Secure AI Builder Bootcamp. If you’re wiring AI tools together and want the security review done before you ship it, that’s the two-day build event to watch for.
Comments