bvrinfra.in
Colour theme

Process · published 12 October 2026

How I split work between AI agents

This repository runs several AI agents in parallel alongside a human merge gate. That workflow and execution model is a clearer signal of how Ravi works than any plain list of tools.

Tickets and sprints

All work across this repository is structured and managed through GitHub Issues. Every ticket defines exactly one outcome and includes an explicit "Done when" list that sets the precise boundaries and acceptance criteria for completion. Sprints are structured around one-week milestones to keep overall delivery steady, predictable, and focused across each cycle.

Not every open issue is automatically available to automated workers. Only issues explicitly opened by Ravi are eligible for AI agents to pick up and work on. Furthermore, tickets that carry specific tags or risk characteristics—specifically those designated as P0, P1, size L, infra, or security—must wait for an approved label from Ravi before any agent can begin execution. This rule ensures that critical priorities, large-scope tickets, infrastructure adjustments, and security-related tasks remain paused until Ravi reviews and approves them for automated handling.

Division of labor

Responsibilities across the repository are divided between human authority and automated agent capabilities according to clear, non-overlapping roles:

  • Ravi: Decides work priorities, approves sensitive tickets, merges pull requests, applies Terraform configurations, and owns all operational dashboards and secret credentials.
  • Claude (Claude Code): Writes code, builds infrastructure, maintains CI pipelines, works on design, manages Terraform files, and reviews pull requests submitted by other agents.
  • Gemini (Jules): Writes new articles using a supplied fact list.
  • ChatGPT (Codex): Performs specific copy edits named directly in an issue.

To preserve security, each agent connects strictly through its own dedicated GitHub app installed on this single repository only. No agent holds Cloudflare credentials, HCP Terraform tokens, or GitHub tokens. All secret credentials, API keys, and administrative access rights remain exclusively with Ravi.

Isolated lanes in AGENTS.md

To allow parallel agent execution without file contention or editing friction, every agent operates strictly inside its own designated lane. A lane is defined as a specific set of permitted folders written directly in AGENTS.md.

Because these assigned file lanes do not overlap, two agents can actively work at the exact same time without making conflicting edits to the repository. For example, Gemini can draft a new article inside its permitted directory while ChatGPT performs text edits in its own allowed files, without either agent touching the other's files or causing merge conflicts in git.

Branches and CI guard checks

Strict workflow rules dictate how all code and text enter the repository. Nobody pushes directly to the main branch under any circumstances. Every proposed modification must be made on a separate branch and submitted as a pull request. The very first line of every pull request description must be Closes #N, referencing the corresponding GitHub issue number.

Automated CI guard checks run on every pull request to enforce these operational boundaries automatically. A CI guard check fails a pull request if it encounters any of the following conditions:

  • Leaves its assigned lane by touching or modifying files outside its permitted folder list in AGENTS.md.
  • Lacks Closes #N on the very first line of the pull request description.
  • Leaves an open fact-check review marker anywhere within the proposed file changes.
  • Contains a private IP address in any modified file.

Reviews and the human merge gate

Passing automated CI guard checks is only the first step in the publication process. Before any pull request can be merged, Claude reviews the submitted changes against the original issue's "Done when" list to verify that every requirement has been completely satisfied.

Final authority over integration remains entirely with Ravi. Ravi merges a pull request only when all automated CI guard checks are green and Claude's review has zero open items remaining. Nothing merges itself automatically. Furthermore, applying Terraform infrastructure changes to live environments and managing sensitive credentials remain strictly manual actions executed solely by Ravi.