Skip to content

Engineering Control Plane ​

Once everyday single-session work is transparent, running parallel repositories, background subagents, and competing designs surfaces four harder bottlenecks: buried approvals, prose "tests passed" claims, manual Git worktree juggling, and long-session amnesia.

AGY Studio 2.0 layers four zero-invasive control-plane tools onto the same desktop window:

AGY Studio 2.0 Control Plane end-to-end walkthrough

Press ⌘J anywhere → triage cross-repo locks, subagent approvals, and landable worktrees → verify real command exit codes → run a non-mutating conflict pre-check and land cleanly into main (never auto-pushes).


Global Decision & Landing Inbox ​

Press ⌘J on macOS (Ctrl+J on Windows) from any screen to open the local daemon's cross-repo decision queue — zero tokens spent, zero LLM calls.

Global Decision and Landing Inbox keyboard workflow

Six Aggregated Decision Queues ​

Filter across All, Blocking, Alerts & Review, and Landable:

  1. Lock Guard (lock): Pending confirmations when an agent attempts to edit a file or parameter protected by .agents/locks.json.
  2. Tool Approval (approval): Native command or file approvals waiting on your click.
  3. Subagent Question (question): Questions or approvals bubbled up from background subagents or /swarm workers.
  4. Swarm & Collision Alerts (swarm_alert): Real multi-worktree file collisions (computed via git merge-base fork points, identical-blob filtering, and in-memory git merge-tree --write-tree conflict checks — collapsed into one cluster card per repo) plus stalled background runs (excluding intentional scheduled timers).
  5. Cross-Model Reviews (review): Pending Opus Gate review proposals and unresolved REVISE / HOLD verdicts.
  6. Landable Worktrees (landable): Clean linked worktrees ready to merge into main, automatically suppressed while any conversation or subagent bound to that worktree is still active.

Keyboard-First Triage (Safe by Construction) ​

  • j / k or ↑ / ↓ — Navigate items
  • Enter or a — Jump-and-Act: navigates to the exact conversation or subagent and mounts the native approval card (never blind-clicks hidden DOM buttons)
  • r — Open the full Evidence Receipt Drawer for the selected worktree
  • m — Open inline Headless Landing confirmation (runs conflict pre-check + SHA-40 HEAD verification before touching main)
  • d — Dismiss alert / item
  • Esc — Back out of confirmation or close modal

Deterministic Evidence Receipts & Safe Landing ​

Prose summaries from an agent are not verification proof. AGY Studio constructs an objective Evidence Receipt directly from executed command exit codes in transcript_full.jsonl, Git diff stats, cross-model review verdicts, and local SQLite token ledgers.

Deterministic Evidence Receipt drawer

Verification States ​

BadgeMeaning
✓ VerifiedLatest test command scoped to this worktree exited 0 with no subsequent file edits
✕ Tests FailedLatest test command exited non-zero — including masked failures hidden behind pipes, `
⚠ Unverified After EditCode was modified after the last green test run — catches late unverified tweaks
○ No Test RunsNo test execution recorded in this worktree's transcript

PR Receipts & Headless CAS Landing ​

  • 1-click PR Markdown: Copy a structured verification summary (verification status, test command & exit code, diff stats, review stamp, token cost) straight into your pull request.
  • Conflict-checked background merge: Runs non-mutating git merge-tree --write-tree first, verifies that the branch's 40-char HEAD SHA still matches the receipt you inspected, checks that no bound conversation is still active, and executes hook-respecting Merge (--no-ff) or Squash with automatic rollback on failure and optional worktree cleanup. AGY Studio never runs git push automatically.

Worktree Fork & Race Arena ​

When a tricky refactor or bug fix has multiple plausible designs, avoid gambling on one model run or manually juggling git stash.

Worktree Fork and Race Arena

  1. Read-only baseline snapshot: Captures your current repo state including uncommitted local edits via an isolated temporary GIT_INDEX_FILE — your active working tree stays completely untouched.
  2. Isolated contenders: Forks 2–3 sibling Git worktrees and launches each model in its own conversation serially under an exclusive lock, verifying the active model via fresh React Fiber read-back so contenders never cross-contaminate files or models.
  3. Objective scoreboard: Compares verification status, diff size, review verdict, elapsed time, token spend, and Prompt Cache hit rate side-by-side inside the Race Arena modal.
  4. Atomic Land Winner & Prune Losers: Losing worktrees and branches are deleted only after your selected winner passes conflict checks and lands cleanly on main. (Strictly desktop-only; never exposed over Remote Control.)

3-Tier Autonomy Profiles & Session Handoff Bar ​

Four silent failure modes drain hours from long AI coding sessions: mid-task crashes, cold-cache token bills after idle timers, context degradation after repeated compactions, and single-model blind spots. AGY Studio consolidates all four into one calm Row-1 capsule (#agy-autonomy-pill) governed by three one-click profiles:

3-tier Autonomy Safeguards capsule

ProfileBest ForSafeguard Mix
SoloFocused single-branch codingMinimal dock interruptions; keeps one-click Resume, G >= 3 milestone handoff, and semi-auto warm compaction
Guarded (Default)Everyday multi-taskingNon-blocking dock suggestions for cross-model review, warm compaction, milestone handoff, and .agents/locks.json guards
FleetHeavy multi-repo parallelismQuota-guarded cross-model reviews (Opus High / Carbon High) + 80% high-water warm compaction

What Each Safeguard Does ​

  • Clean Crash / Timeout Resume (Resume): Detects network drops, timeouts, or interrupted runs and lights up a one-click Resume trigger. Clicking submits cleanly in the background without typing "continue" or adding clutter bubbles — leaving only a minimal ▸ Resumed hairline.
  • Warm-Cache Compaction (Auto-Compact): When a long task schedules a >= 5m wait with elevated context, AGY Studio runs /compact right as the turn finishes while Prompt Cache is still warm (including background chats protected by a fail-closed quiet-boundary guard that pauses if active commands, subagents, or approval prompts are live).
  • Budget-Preserved Milestone Handoff & Session Handoff Bar (G >= 3): Tracks compaction generations (G). When a long thread reaches G >= 3, one click opens a fresh continuation session pre-loaded within a ~36–40 KB priority budget — preserving Turn 1's original goal, the full latest CHECKPOINT, the most recent turns, active brain artifacts, and a redacted file/command-exit ledger (strictly zero raw Chain-of-Thought). Once handed off, a flush Session Handoff Bar attaches right above the old chat's composer so you can jump to the active new conversation in one click, while the autonomy capsule calms to Handed off.
  • Quota-Guarded Cross-Model Review: Triggers read-only Opus High or Carbon High reviews on demand or across four engineering checkpoints (plan, risk, debug, stop), backed by live 5h / Weekly quota circuit breakers so automated checks never drain your pool.

Independent community open-source project (not affiliated with Google) · MIT License