Repository navigation
AGY Studio v2.3.0
Introduces repo-wide mechanical quality invariants and the L1 Gold Receipt verification engine (with 4-guard test-diff anti-cheat auditing, claim-anchored scalpel briefs, and execution-vs-reviewer Cross-Model ✓ provenance), quota-aware Gemini-first Race defaults with an isolated K×K Cross-Test matrix and atomic Test-Union winner landing, opt-in Carbon High quota fallback for Opus Gate, version-independent Homebrew Node path pinning for managed plugin hooks (PR #4), and Windows CI fixes for Counterfactual Replay path scanning and Auto-Compact retry tests.
Added
[cross]Quota-Aware Opus Gate Carbon Fallback, Receipt Drawer Anti-Cheat UI & Claim-Anchored Scalpel Briefs (studio/{shared/prefs-schema.mjs,daemon/{gold-receipt,opus-gate-service,receipt-service,race-service}.mjs,modules/{autonomy-pill,receipt-drawer,fork-race,settings/views}.mjs,styles/receipt-drawer.css,plugin/maga-opus-gate/{hooks/gate-check.mjs,skills/opus-gate/SKILL.md}},test/ultra-product-wiring.test.mjs): Added opt-inopusGateCarbonFallbackauto-routing plus 1-clickReview with Carbon Highfallback buttons in the Autonomy pill menu and proposal cards whenever Claude hits the quota breaker floor; wiredauditTestDiffAntiCheatintobuildOpusHandoffBrief()and Evidence Receipt Drawer (rendering anti-cheat alert pills, violation details, confirmation-panel warnings, remote-redactedantiCheattelemetry, and an execution-vs-reviewerCross-Model ✓provenance strip); upgradedbuildOpusScalpelBrief()to prioritize diff hunks matching citedclaimspaths before budget truncation; auto-precheckedmergeLoserTestswhen a fresh greencrossTestResultexists for the selected race winner; and added activependingLandguard inpruneRace().[cross]Ultra-Quality Mechanical Invariants & Gold Receipt Verification Engine (studio/daemon/gold-receipt.mjs,studio/gold-receipt-cli.mjs,studio/daemon/{receipt-transcript,receipt-service}.mjs,test/{ultra-quality-invariants,gold-receipt,gold-receipt.blind}.test.mjs): Added 5 repo-wide mechanical invariant suites mined from bug archaeology (INV-01cross-plugin 5-tool & override immunity,INV-02Windows URL/CLI/EOL/PowerShell checks,INV-05full-repo 177-module acyclic ESM DAG +OWN_HOST_IDS+ Pure-DOM.append(&&),INV-06+INV-04strict CSSOM + SQLite WAL/SHM/finallydiscipline,INV-08Android static security); introducedgold-receipt.mjs&gold-receipt-cli.mjs(computeTestManifest/verifyTestManifestwith symlink & rename jail, 4-guardauditTestDiffAntiCheat,evaluateGoldReceiptStatus,checkOpusBudget, framing-freebuildOpusScalpelBrief, andgenerateLineMutations/runMutationProbe); and surfaced I12-safeexecutionModeland deduplicatedreviewVerdict.historyon local & remote receipts.[cross]Quota-Aware Race Defaults, Native K×K Cross-Test Matrix & Atomic Test-Union Landing (studio/daemon/{race-crosstest,race-service}.mjs,core/daemon/overview-skills.mjs,studio/modules/{fork-race,fork-race-crosstest}.mjs,studio/styles/fork-race.css,test/race-crosstest{.blind,}.test.mjs): Added fail-closed Gemini-first default contender selection (getQuotaAwareRaceDefaults) preserving scarce Claude weekly/5h headroom and blocking non-target models; built an isolated, path/symlink/flag-safeK×KCross-Test engine (runRaceCrossTest) that runs peer tests at exact matching relative depths and suffixes (.test.cjs/.test.mjs/.spec.js) withNODE_TEST_CONTEXTisolation and deterministicfinallycleanup; updated contender brief contracts to disable Orchestrator auto-routing; added optional pre-landingmergeLoserTestsTest-Union validation & winner commit with atomic rollback on test/commit/landing failures; and surfaced the quota protection badge,K×Kdivergence matrix table, and Test-Union toggle in Desktop-only Fork & Race UI.
Fixed
[mac]Version-Independent Node Paths for Managed Plugin Hooks (core/install/paths.mjs,studio/daemon/plugin-sync.mjs,test/plugin-sync.test.mjs): Routed managed-plugin hook pinning throughstableNodePath()so reinstalls and plugin syncs write/opt/homebrew/bin/nodeinstead of stale versioned Homebrew Cellar binaries; added hermetic regressions for both active and removed Cellar versions (PR #4 by@Hsintao).[win]Counterfactual Replay JSON Backslash Scanning & Auto-Compact CI Timer Determinism (studio/plugin/maga-git-workflow/lib/governance-replay.mjs,test/{adaptive-governance,auto-compact}.test.mjs): Normalized JSON-escaped double backslashes (\\) to single forward slashes indiscoverProjectTranscripts()(normalizeReplayScanText) so Windows transcript tails match repo path needles, and replaced tight fixed sleeps intest/auto-compact.test.mjsmulti-step retry/resync tests with condition polling (waitUntil).[cross]Isolated Hermeticstudio.overviewUsage Scanning (studio/daemon/usage-service.mjs,core/daemon/remote/studio-bridge.mjs,test/remote-phase2.test.mjs): Added scopedconversationsDiroverride support inusage-service.mjs, forwardedopts.conversationsDirincollectStudioOverview(), and set isolatedANTI_CLAUDE_NATIVE_PROJECTS_DIRandANTI_CLAUDE_BRAIN_DIRintest/remote-phase2.test.mjsso hermetic tests never scan live user repos or conversation databases (Invariant I8).[cross]Live Opus Gate 5-Tool Parity, SQLite-shm/busy_timeout, and PowerShell-LiteralPathDrifts (studio/plugin/maga-opus-gate/{hooks.json,hooks/gate-check.mjs},core/daemon/remote/disk-fallback.mjs,studio/daemon/{usage-reader,subagent-metrics}.mjs,install.ps1,uninstall.ps1): Extendedmaga-opus-gatePreToolUse/PostToolUse matchers andgate-check.mjsacross all 5 canonical file-mutation tools (edit_file,write_file,write_to_file,replace_file_content,multi_replace_file_content); added missing${dbPath}-shmsidecar checks alongside-walindisk-fallback.mjs,usage-reader.mjs, andsubagent-metrics.mjs(plus fixing invertedif (hasActiveWal)forPRAGMA busy_timeout = 150insubagent-metrics.mjs); and hardenedPush-Location -LiteralPath $TargetDirininstall.ps1anduninstall.ps1.