Repository navigation
AGY Studio v2.0.0
Turns AGY Studio into a complete transparent cockpit & zero-invasive Agent Control Plane for Google Antigravity Desktop 2.0: introduces Deterministic Evidence Receipts & SHA-pinned Headless Worktree Landing, 3-Tier Autonomy Profiles (Solo / Guarded / Fleet) & the 4-in-1 Row-1 Autonomy Capsule (#agy-autonomy-pill), the global ⌘J/Ctrl+J Decision & Landing Inbox (Desktop + read-only Remote PWA), Worktree Fork & Race Arena for side-by-side multi-model races, unified single-step command styling, hot desktop module extraction, and rebuilt bilingual EN/ZH v2.0 READMEs with real-production-module visual suites.
Added
[cross]Pragmatic Worktree Fork & Race Arena (studio/daemon/{race-service,race-git}.mjs,studio/modules/fork-race.mjs,studio/styles/fork-race.css,user/src/modules/projects/{handoff-launch,index,detail-view,workspace-ui,worktree-ui}.mjs,user/src/entry.mjs,core/daemon/{overview-skills,worktrees}.mjs,studio/plugin/maga-git-workflow/lib/worktree-core.mjs,studio/daemon/receipt-service.mjs,studio/{entry,build,core/dom,host/contracts}.mjs,test/fork-and-race.test.mjs): Added desktop-only Worktree Fork & Race engine (prepareForkAndRace,bindRaceContenderCid,listRaces,getRaceStatus,landRaceWinner,pruneRace, strictly excluded from Remote Gateway) using a read-only lossless baseline snapshot (git stash create+ filtered untracked regular files folded via isolated tempGIT_INDEX_FILEwithout mutating the source worktree) and zero-CoT Milestone Handoff briefs; extendedhandoff-launch.mjswith an exclusive serial input lock, fresh-fiber I10 fail-soft model switching with postcondition read-back, inter-contender default-model isolation, and anti-CID-theft abort guards; added Pure-DOM#agy-fork-race-modalside-by-sideReceiptV1comparison arena (window.__agyOpenForkRace,MagaKernel, zero:has(), light/dark tokens, EN/ZH i18n) with Project Detail entry triggers and atomic CAS-claimed winner landing that prunes losing worktrees/branches only after the winner lands cleanly.[cross]Global⌘J/Ctrl+JDecision & Landing Inbox (studio/daemon/{inbox-service,inbox-git-scan}.mjs,studio/modules/decision-inbox.mjs,studio/styles/decision-inbox.css,studio/modules/autonomy-pill.mjs,studio/styles/autonomy-pill.css,studio/core/dom.mjs,studio/build.mjs,studio/entry.mjs,core/daemon/{overview-skills,remote-bridge}.mjs,core/daemon/remote/studio-bridge.mjs,remote/gateway/ws-server.mjs,remote/pwa/src/{inbox-view,app,workspace-shell,ws-client}.mjs,remote/pwa/src/styles/{inbox-view,desktop-workbench}.css,test/decision-inbox.test.mjs): Added zero-LLM, zero-CoT-leakageInboxItemV1two-layer daemon aggregation (lockverified against primary-checkout.agents/locks.json,approval,questionwith subagent/Swarm bubble-up,swarm_alertmulti-worktree file-collision detection + stalled background task alerts excluding scheduled timers,reviewpending Opus Gate proposals & unresolvedREVISE/HOLDverdicts, andlandableclean linked worktrees withbuildEvidenceReceiptsummaries under a 20s daemon-wide concurrency-capped--no-optional-locksGit cache), desktop keyboard-first#agy-decision-inbox(⌘J/Ctrl+JIME-safe toggle,j/k/↑/↓,Enter/asafe Jump-and-Act without blind DOM clicking,rreceipt/review,mSHA-40 CAS inline headless landing,ddismiss,Escclose, synced to#agy-autonomy-pillviaagy:autonomy-inbox-count), and strict read-only allowlist-sanitized Remote PWAstudio.inboxview (desktop overlay + mobile tab, zeroinnerHTML/inline styles, zero write-merge exposure).[cross]3-Tier Autonomy Profiles (Solo/Guarded/Fleet), 4-in-1 Unified Row-1 Capsule (#agy-autonomy-pill), Settings Subtraction Refactor & Anchor Pillar 2 Retirement (studio/shared/prefs-schema.mjs,studio/modules/{autonomy-pill,studio-prefs,resume-banner,opus-gate-pill,auto-compact,anchors-pill,footer-unified,studio-settings,settings/{views,events}}.mjs,studio/styles/{autonomy-pill,footer-capsules,anchors-pill,studio-settings}.css,studio/plugin/maga-anchors/,studio/daemon/anchors-service.mjs,studio/core/dom.mjs,test/autonomy-profiles.test.mjs): Added first-classautonomyProfile: 'solo' | 'guarded' | 'fleet'(default'guarded') with lossless migration of legacystudio-prefs.jsonand non-destructive custom-override tracking; consolidated Row-1's 4 separate status pills into one calm<div>capsule (#agy-autonomy-pill, soleOWN_ROW1_PILL_IDSmember, priorityreviewing > resume > review > compact > handoff > idle, responsivefull/compact/tight/iconwith Row-1 overflow protection, unified#agy-autonomy-menupopover, and Wave 2inboxCountextension slot) while shrinkingfooter-capsules.cssbelow the 2,000-line ceiling; hoisted autonomy controls into a top-of-L1 3-card Profile selector + default-collapsed Advanced Overrides drawer in Settings; and retired heuristic Pillar 2 anchor proposals (anchorsProposalsEnabled/anchors.local.mdqueue, adding doctor detection and safe marker-guarded cleanup) while preserving 100% ofGcompaction tracking, 1-click Milestone Handoff,.agents/locks.jsonforce_askguards, and action-loop escalation.[cross]Deterministic Evidence Receipts & Headless Worktree Landing (studio/daemon/{receipt-service,receipt-transcript}.mjs,studio/modules/receipt-drawer.mjs,studio/styles/receipt-drawer.css,core/daemon/{overview-skills,remote-bridge}.mjs,core/daemon/remote/studio-bridge.mjs,remote/gateway/ws-server.mjs,remote/pwa/src/{viewer-drawer,ws-client,app,workspace-shell}.mjs,remote/pwa/src/styles/receipt-viewer.css,user/src/modules/projects/{detail-view,workspace-ui,worktree-ui}.mjs,test/evidence-receipts.test.mjs): Added zero-LLM, zero-CoT-leakageReceiptV1evidence builder (with Wave 2fingerprint, compactsummary, splitself/withDescendantsSQLite token costs, Opus Gate review stamps,Gcompaction generation, workspace-scoped & exit-code-masking-awaretranscript_full.jsonltest verificationpassed/failed/unverified_after_edit/no_tests, and 1-click PR Markdown export), desktop-only SHA-pinned CAS headless worktree landing (git merge-tree --write-treeconflict pre-check,merge --no-ff& hook-respectingsquashwith atomic rollback, foreign-CID guard & atomicupdate-ref -dcleanup), Desktop Receipt Drawer + Project Detail triggers with inline diff/verification confirmation, and read-only Pure-DOM Remote PWAconvo.receipttab.
Changed
[cross]Distinct Autonomy Profile SVG Icons & High-Contrast Capsule Styling (studio/shared/autonomy-icons.mjs,studio/modules/{autonomy-pill,settings/views}.mjs,studio/styles/{autonomy-pill,studio-settings}.css,test/autonomy-profiles.test.mjs): Added sidebar-style 16×16 stroke SVG icons forSolo(focus reticle),Guarded(shield check),Fleet(3-node formation), and contextual dock actions (review,resume,compact,handoff) via Pure DOMcreateElementNSacross#agy-autonomy-pill,#agy-autonomy-menu(header chip, 3-way switcher, quick-action buttons), and Studio Settings L1 profile cards; replaced low-contrast dark-mode slate#64748B/--muted-foregroundstyling onGuardedand sibling profiles with tinted high-contrast light/dark surfaces (Guardedblue#2563EB/#60A5FA,Fleetviolet#6D4AE6/#A78BFA,Solocrisp stone#5C5A55/#C7C4BC) and highlighted pending Decision Inbox badges (data-has-inbox="1") in warm terracotta/coral.[cross]AGY Studio v2.0 Bilingual READMEs & Native EN/ZH Real-Production-Module Visual Suites (README.md,README.zh-CN.md,docs/images/*,docs/images/zh/*): Rebuilt both EN/ZH READMEs around a whole-to-local pain-point narrative and generated matching 15-asset English (docs/images/*,4.46 MB) and Simplified Chinese (docs/images/zh/*,4.24 MiB/4.45 MB,data-ag-ux-lang="zh-CN"+95%CJK optical scale) visual suites (11animated WebPs all atq=84+4HiDPI PNGs each, pure16pxtransparent rounded windows clean on GitHub Light & Dark) by mounting actual production stylesheets and runtime modules (studio/styles/*.css,user/custom.css,vendor/agy-capsule/{motion_themes,effort_bar}.mjs,studio/modules/{capsule-picker,usage-card-core,decision-inbox,receipt-drawer,fork-race,settings/views}.mjs,studio/shared/autonomy-icons.mjs,user/src/modules/sidebar-status.mjs) inside a read-only CDP-token-calibrated external Chrome stage — covering full-window Vanilla vs. Studio wipe (compare-vanilla-vs-studio-v2.webp), OverviewAGENTS.md/ 20-segment dual-pool quota with elapsed-time cursors & click-linkedToken Usage, 4-stop Bottom Dock cinema tour (demo-dock-tour-v2.webp) + 1-click50/50subagent split, Model Menu elemental physical effort bar & 3D Orchestrator switch, 5-state anti-jump sidebar & live Settings drawer, non-destructive in-bubble edit, Control Plane walkthrough (demo-cockpit-v2.webp,⌘JDecision Inbox, Deterministic Evidence Receipts, Worktree Fork & Race Arena, 3-Tier Autonomy Safeguards), and Project Detail Worktrees + Projects Hub; retired stale pre-2.0 assets (opus-gate-v2.png,demo-handoff-v2.webp,demo-silent-resume-v2.webp,demo-effort-ribbon-v2.webp,demo-subagent-split-v2.webp).[cross]Hot Desktop Module Extraction & Hermetic Lifecycle Tests (user/src/modules/projects/{index,detail-view}.mjs,user/src/modules/sidebar-recents.mjs,user/src/modules/sidebar/{recent-row-menu,hide-native-projects}.mjs,studio/host/contracts.mjs,test/studio.test.mjs): ExtractedcreateProjectDetailView,createSidebarRecentRowMenu, andcreateSidebarHideNativeProjectsverbatim out of the two hot-path renderer modules (projects/index.mjs:1,951->1,281lines;sidebar-recents.mjs:1,913->1,380lines) with symmetric listener/timer/observer disposal (teardown now also unconditionally unbinds non-recent#ag-recent-row-menudocument/window listeners), registered all extracted submodules in Stage 5 module/contract checks, and added hermetic JSDOM lifecycle tests.
Fixed
[cross]v2.0 Pre-Release Audit Hardening, Step-Stream WeakMap Cache & Shared Modal/Git De-Bloat (studio/shared/modal-kit.mjs,studio/modules/{receipt-drawer,fork-race,decision-inbox}.mjs,user/src/modules/step-stream.mjs,user/src/entry.mjs,user/src/modules/projects/handoff-launch.mjs,core/daemon/git-exec.mjs,studio/daemon/{receipt-service,race-git,inbox-git-scan,inbox-service,anchors-service}.mjs,test/{evidence-receipts,fork-and-race,sidebar-overview-stream,anchors}.test.mjs): Extracted shared Pure-DOMmodal-kit.mjs(dom,fmtRelTime,defaultCommitMessage,bindBackdropDismiss) and reusedusage-card-core.mjsfmtTokensacross Receipt Drawer, Fork & Race, and Decision Inbox while fixing drag-out backdrop dismissal on Receipt Drawer and Fork & Race and blockingEscapemid-landing in Receipt Drawer; addedWeakMapsettled-step caching (with tail-4 re-check) andcomposerOnlytopic gating tostep-stream.mjssyncCustomDomFlagsto eliminate redundant subtree scans on 300+ step threads; hardenedreceipt-service.mjsrollbackMain(merge --abort+ non-destructivereset --mergepreserving unrelated main edits) andwithAsyncFileLocklive foreign-PID expiry recovery; eliminated blockingexecFileSyncinanchors-service.mjsvia pure-FS.gitroot/worktree resolution; unifiedhasIndexLock/hasInProgressGitOpintocore/daemon/git-exec.mjsandsha1Shortininbox-git-scan.mjs; and guardedhandoff-launch.mjspost-scope timeouts asstatus: 'uncertain'without rolling back an already-submitted contender.[cross]Decision Inbox Active-Run Landable Guards, Real-Time Bidirectional Sync & Reflog Cache Invalidation (studio/daemon/{inbox-service,inbox-git-scan,receipt-service,race-service,bg-task-status,opus-gate-service}.mjs,studio/shared/live-conversations.mjs,core/daemon/remote/disk-fallback.mjs,studio/modules/{decision-inbox,opus-gate-pill,receipt-drawer,fork-race}.mjs,remote/pwa/src/inbox-view.mjs,test/decision-inbox.test.mjs): Suppressedlandableitems in the fast uncached layer whenever ANY conversation or child subagent bound to that worktree isRUNNING/WAITING/notFullyIdle/blocked (plus a 60s cooldown for freshly mutated unbound CLI worktrees) and enforced a fail-closed server-sideworktree_conversation_active/active_state_check_failedguard acrosslandWorktreeFromReceipt,landRaceWinner, Receipt Drawer, and Fork & Race (sharingcollectLiveActiveConversationCids()withwaitingSubagents+undefined-vs-[]distinction, surfacingdegraded: trueon unreadable existingconversation_summaries.db, and ignoring caller CIDs bound to other worktrees); addedlogs/HEADreflog and symbolic ref target stamps tocomputeRepoFastSignatureso commits on nested branches (<type>/<slug>) bust the 20s Git scan cache immediately; replaced fake0s agoreceipt.generatedAttimestamps with realheadCommitTs/ worktree / chat modification time; suppressed duplicatereview:proposalitems during active runs/subagents, dropped staleREVISE/HOLDverdicts on removed worktrees, prevented stall false positives for busy subagent children, daemons, streaming task logs, and longnotificationTimeoutSecondscommands, and prioritized active/waiting conversations before the 200-item cap; wired bidirectionalagy:decision-state-changedsync + strict CAS (ts+ rollback on RPC error /proposal_updatednotice) between#agy-autonomy-pilland#agy-decision-inboxalongside a lightweight adaptive (3s open / 10s closed)fastOnlylive-status delta watcher, and surfacedgitScannedAtage in Remote PWA Inbox.[cross]Autonomy Popover Handoff Focus Sync, Dark Contextual Hover & Backdrop Drag-Out Polish (studio/modules/{autonomy-pill,decision-inbox}.mjs,studio/styles/autonomy-pill.css,test/{autonomy-profiles,decision-inbox}.test.mjs): Synced Handoff launch/copy button disabled states and feedback banners in-place while.agy-am-inputis focused (plusfocusoutdeferred catch-up) so streaming-to-idle transitions immediately unlockCmd+Enterand click; added matching dark-mode:hover/[data-menu-open="1"]rules forwarn/review/danger/compactpills; gatedpointerDownIn*refresh-deferral strictly on primary button (e.button === 0); and prevented modal drag-out text selections onto.agy-inbox-backdropfrom accidentally closing#agy-decision-inbox.[cross]Autonomy Popover Click-Loss, Flicker, 8Hz MagaKernel Flush Storm & Windows Full-Window Flicker (studio/entry.mjs,studio/modules/{autonomy-pill,opus-gate-pill,auto-compact,anchors-pill,resume-banner,decision-inbox,receipt-drawer,fork-race}.mjs,studio/styles/{autonomy-pill,decision-inbox,receipt-drawer,fork-race}.css,user/src/modules/step-stream.mjs,test/{autonomy-profiles,decision-inbox}.test.mjs): Stopped the infinite ~8 HzMagaKernelcomposerflush loop caused by unconditionalemitChange()calls inopus-gate-pill,auto-compact, andanchors-pillwrite()hooks (adding signal-signature deduplication and gatingkernel.markDirty('composer')strictly on actual#agy-autonomy-pillvisual changes); refactored#agy-autonomy-menufrom unconditionalpop.replaceChildren()rebuilds to a persistent DOM skeleton with delegated clicks, in-place leaf/attribute updates,cardsSig-gated context-card reconciliation, and amousedown→mouseuppointer guard so button clicks are never dropped and hover/active states never flicker; eliminated Windows Electron full-window flicker by addingcontain: layout style, clamping#agy-autonomy-menucleanly against--ag-win-top-bar, persisting full-viewport modal backdrops across re-renders (decision-inbox,receipt-drawer,fork-race), and disabling full-screenbackdrop-filter: blur()onhtml[data-agy-platform="win32"]and reduced-motion modes; fixed Home/missing dual-pool quota (preserving globalquotaStateacross routes), wiredgetInboxCountandreset-profilemanaged plugin sync, stoppedEscapepropagation from#agy-autonomy-menu, alignedstep-stream.mjsdata-maga-has-toolsflags withdom-flags.mjs, and repaired missing/overridden hover & card CSS rules.[win]Windows 8.3 Path Resolution in Evidence Receipts & Dual-OS Test Stability (studio/daemon/receipt-transcript.mjs,test/{decision-inbox,fork-and-race}.test.mjs): Resolved native real paths (realpathSync.native) insidenormalizeCmpPathandtoRepoRelativePathwheneverplatform === process.platformso Windows 8.3 short paths (e.g.RUNNER~1inos.tmpdir()) match long Git worktree paths during transcript command scoping; switchedtest/decision-inbox.test.mjstofileURLToPath+realpathSync.native; and normalized Gitcore.autocrlf\r\nendings intest/fork-and-race.test.mjs.[cross]Unified Standalone Single-Step & Command Row Styling (studio/styles/typography.css,user/src/modules/step-stream.mjs,studio/core/dom-flags.mjs,test/sidebar-overview-stream.test.mjs,test/studio.test.mjs): Fixed standalone single-step execution rows (e.g. a single ungroupedrun_commandrendered by Antigravity as<div role="button" aria-expanded>inside[data-step-rows="true"] > [data-step-index]with a nested chevron wrapper instead of a<button data-testid="tool-group-collapsible">) escaping the quiet12.5pxleading-▸disclosure chrome; extended CSS & DOM-flag coverage to standalonel4triggers/static headers andprogress-updates-collapsible/j4sibling disclosures, wired space-preserving label extraction intoworked-forinline summaries and running-orbit indicators, prevented expanded standalone step outputs from misclassifying pure-tool blocks as prose, and harmonized expanded tool-group card typography to12.5px.