Skip to content

AGY Studio v2.3.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 15:14
· 57 commits to main since this release

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-in opusGateCarbonFallback auto-routing plus 1-click Review with Carbon High fallback buttons in the Autonomy pill menu and proposal cards whenever Claude hits the quota breaker floor; wired auditTestDiffAntiCheat into buildOpusHandoffBrief() and Evidence Receipt Drawer (rendering anti-cheat alert pills, violation details, confirmation-panel warnings, remote-redacted antiCheat telemetry, and an execution-vs-reviewer Cross-Model ✓ provenance strip); upgraded buildOpusScalpelBrief() to prioritize diff hunks matching cited claims paths before budget truncation; auto-prechecked mergeLoserTests when a fresh green crossTestResult exists for the selected race winner; and added active pendingLand guard in pruneRace().
  • [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-01 cross-plugin 5-tool & override immunity, INV-02 Windows URL/CLI/EOL/PowerShell checks, INV-05 full-repo 177-module acyclic ESM DAG + OWN_HOST_IDS + Pure-DOM .append(&&), INV-06+INV-04 strict CSSOM + SQLite WAL/SHM/finally discipline, INV-08 Android static security); introduced gold-receipt.mjs & gold-receipt-cli.mjs (computeTestManifest/verifyTestManifest with symlink & rename jail, 4-guard auditTestDiffAntiCheat, evaluateGoldReceiptStatus, checkOpusBudget, framing-free buildOpusScalpelBrief, and generateLineMutations/runMutationProbe); and surfaced I12-safe executionModel and deduplicated reviewVerdict.history on 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-safe K×K Cross-Test engine (runRaceCrossTest) that runs peer tests at exact matching relative depths and suffixes (.test.cjs/.test.mjs/.spec.js) with NODE_TEST_CONTEXT isolation and deterministic finally cleanup; updated contender brief contracts to disable Orchestrator auto-routing; added optional pre-landing mergeLoserTests Test-Union validation & winner commit with atomic rollback on test/commit/landing failures; and surfaced the quota protection badge, K×K divergence 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 through stableNodePath() so reinstalls and plugin syncs write /opt/homebrew/bin/node instead 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 in discoverProjectTranscripts() (normalizeReplayScanText) so Windows transcript tails match repo path needles, and replaced tight fixed sleeps in test/auto-compact.test.mjs multi-step retry/resync tests with condition polling (waitUntil).
  • [cross] Isolated Hermetic studio.overview Usage Scanning (studio/daemon/usage-service.mjs, core/daemon/remote/studio-bridge.mjs, test/remote-phase2.test.mjs): Added scoped conversationsDir override support in usage-service.mjs, forwarded opts.conversationsDir in collectStudioOverview(), and set isolated ANTI_CLAUDE_NATIVE_PROJECTS_DIR and ANTI_CLAUDE_BRAIN_DIR in test/remote-phase2.test.mjs so 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 -LiteralPath Drifts (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): Extended maga-opus-gate PreToolUse/PostToolUse matchers and gate-check.mjs across all 5 canonical file-mutation tools (edit_file, write_file, write_to_file, replace_file_content, multi_replace_file_content); added missing ${dbPath}-shm sidecar checks alongside -wal in disk-fallback.mjs, usage-reader.mjs, and subagent-metrics.mjs (plus fixing inverted if (hasActiveWal) for PRAGMA busy_timeout = 150 in subagent-metrics.mjs); and hardened Push-Location -LiteralPath $TargetDir in install.ps1 and uninstall.ps1.