Yash Gupta

AI does the volume. Judgment stays with me.

I run my work through Claude Code with a system I designed: a local orchestrator, 50+ custom skills, 15 custom agents and a set of hooks that enforce quality, safety and cost.

About 2,500 sessions logged so far. My output on Vyro rose about 5x in the half year I built this out, and I measure every part of it, including the parts I threw away.

The feature pipeline

Every feature moves through the same twelve stages, from a ticket to a production regression sweep.

  1. Triage

    Tickets sync into my orchestrator as cards. Investigations deliver findings only, never speculative pull requests.

  2. Grill

    A skill interviews me one question at a time until every design branch is settled. Rejected options are recorded.

  3. Architecture brief

    For cross-cutting work: a data model plus 5 to 10 endpoints, reviewed by tech leads before any code.

  4. Prototype

    Self-playing wireframe walkthroughs for product approval, and prototypes built from captured real app screens.

  5. PRD

    Decisions, phases with machine-checkable gates, test seams and rejected alternatives. A size gate rejects anything over 6 build phases.

  6. Build

    Disjoint file packets go to parallel implementer agents in one turn, then a spec review diffs the result against the user stories.

  7. QA

    Test plans from the diff plus 21 QA heuristics, such as role variation, multi-tenant and aged data, run against a real local stack, plus a random UI fuzzer.

  8. Readiness

    An audit rates each area from High to None, including a production-fit row backed by live numbers.

  9. Review

    A debate panel. Logic, edge-case and security reviewers run in parallel, then a cross-examiner checks each finding against the code and throws out false positives.

  10. Ship

    One command creates atomic commits and the pull request, with screenshots and recorded walkthrough videos.

  11. Review comments

    Every comment is verified against the code first, fixed one commit per thread, and answered only after I approve the reply.

  12. Release

    Release notes from deploys, commits and tickets, captioned demo videos with personal fields masked, and a production regression sweep.

Dispatch, my orchestration app

A local Node app that turns tickets into supervised Claude Code sessions. It is open source.

56 releases292 pull requests merged since July 2026

Visit the Dispatch site

How it works

  • Each card gets its own workspace, with a git worktree per repo and a persistent tmux session.
  • Saved playbooks define workflows, and a board-level orchestrator routes cards to them. An orchestrator session can own a whole feature and answer its child sessions, stopping only for decisions that need a human.
  • Sessions report status lines that hooks feed back to the board. Watchers catch stalls, permission prompts and idle sessions.
  • Near 75 to 80 percent context, a session writes a resume file and a fresh session continues from it.
  • A secrets vault injects only the named keys into a command. The AI cannot read the values file.

An experiment I measured and retired

Autonomous loops: an agent works phase by phase, and a gate script, never the model, decides pass or fail by re-probing reality.

2.7xthe cost per ticket, with no fewer escaped bugs

Hardening

An audit found false green handoffs and phantom tests. I added sealed state files, gate dry-runs that reject impossible gates, and failure records written by the script.

The measurement

Over a month of tickets, loop work cost 2.7x direct work per ticket and 1.4x per changed line, with no fewer escaped bugs. Agents cannot make design decisions yet, and per-phase gates cost most of a day per feature.

What replaced it

I retired the loops in November 2026 and moved to parallel subagents with one heavy verification pass at the end. I kept the parts that worked: gate scripts, sealed state and the PRD size gate.

Cost governance

A budget hook prices every session of a ticket together.

80 and 100percent: hand off, then block

Rules the hook enforces

  • Tickets are small, medium or big. At 80 percent the agent is told to finish the phase and hand off. At 100 percent new subagents and code edits are blocked while planning notes stay writable.
  • Model routing: the strongest model for build, QA and review, a reasoning model only for design interviews and PRDs, a mid-tier model for tests and scripts but never product code, and the smallest model for reads.
  • Context hygiene: clear at phase boundaries, briefs under 30k tokens, and at most 25 subagents per session.

Safety rules

What AI may not do in a production codebase.

59 ruleseach tied to the incident that caused it

Hard limits

  • AI never reads environment files or secret values. Keys are injected by name through a vault runner.
  • Only one reviewed command can push. Tags need explicit confirmation.
  • Nothing goes to GitHub, Linear or Slack without my approval of the exact text.
  • Review agents never check out branches in shared worktrees. They read commits with git show.
  • Test agents only stop processes they started, by recorded PID, because other sessions share the machine.
  • Recordings mask personal fields.

Learning loop

  • A retro skill clusters tool errors across past transcripts and proposes one fix per pattern, mechanical fixes before written rules.
  • Every correction becomes a feedback rule, and a hook injects the rules into every session.
  • A bug skill enforces discipline: reproduce the exact symptom first, rank falsifiable hypotheses, write a regression test that fails before the fix.