Skip to content

AGY Studio v2.0.2

Choose a tag to compare

@github-actions github-actions released this 30 Nov 02:02
· 112 commits to main since this release

Resolves the Windows empty-pinned sidebar 360px flicker loop and five groups of Windows compatibility issues (Issue #2), hardens Windows prebuilt archive packaging/extraction and non-ASCII CI coverage, and introduces low-friction repository governance with unified repo profiles, Git-boundary secret scanning, and T0 irreversible safety guards.

Changed

  • [cross] Low-Friction Governance, Unified Repo Profiles, Git-Boundary Secret Guard & T0 Irreversible Safety (studio/plugin/maga-git-workflow/{hooks/git-guard.mjs,lib/{shell-parser,repo-profile,secret-scanner,t0-guards}.mjs}, studio/plugin/maga-anchors/hooks/anchor-guard.mjs, studio/plugin/maga-opus-gate/hooks/gate-check.mjs, studio/shared/prefs-schema.mjs, studio/daemon/{git-workflow,anchors}-service.mjs, studio/modules/{autonomy-pill,settings/views}.mjs, test/low-friction-governance.test.mjs): Eliminated write-time sanitization popups (anchor-guard.mjs drops rawCwd fallback and appliesTo: ['file'] content regex scans, adds 30-min deduplicated consent for lockedFiles, and skips hook-layer shell tombstones in research-cluster repos while honoring scope elsewhere); moved secret/cluster-PII enforcement to the Git commit/push boundary (secret-scanner.mjs scanning --cached, -a/-am, compound git add && git commit, pathspecs, @{u}..HEAD, and blocking --no-verify/-n with structured deny); fixed E1 read-only shell false-denials (shell-parser.mjs removes bare \bopen\b, git-guard.mjs distinguishes cp source vs destination); added unified per-repo profile (live-daemon / app-repo / research-cluster) with slow-path gitignore auto-exemption on worktree-only/protect-main; switched fleet to non-blocking opusGateMode: 'semi' (migrating persisted v2.0 fleet configs), abolished PreToolUse deny in gate-check.mjs, and silenced routine review checkpoints in research-cluster repos; added T0 irreversible force_ask guards for DeleteConversation, high-value rm -rf, and destructive cluster/SSH kills; and upgraded Milestone Handoff with tail-preserving checkpoint digests, active parent schedule handover notices, and default verify-and-continue flow.
  • [win] Windows Non-ASCII & Prebuilt CI Matrix + PR Smoke Checklist (.github/workflows/ci.yml, .github/pull_request_template.md, test/{windows,sidebar-overview-stream,studio-update}.test.mjs): Added a windows-latest CI regression matrix running under temporary Chinese + space + parens TEMP/HOME/USERPROFILE/STATE_DIR directories, unpacked prebuilt archive smoke checks (install.ps1 -Plan/-DryRun, install.mjs install/uninstall, lowercase-drive & 8.3 short-path studio/cli.mjs + update-worker.mjs, spaced npm.cmd invocation), and unit regressions for virtual-list collapse loops, --ag-win-top-bar overlay clearance, Windows detectLandingAction / single-& shell parsing, and anchor-guard retry locks.

Fixed

  • [cross] Empty-Pinned Sidebar 360px Virtual-List Flicker Loop (user/src/modules/sidebar/hide-native-projects.mjs, test/sidebar-overview-stream.test.mjs): Stopped syncSidebarHideNativeProjects() from estimating a 360px bootstrap height and toggling data-ag-sb-unified="empty" <-> "pinned" in a tight loop when pinnedCount === 0 && coordCount === 0 (display: none collapses the scroll viewport and TanStack Virtual unmounts idx="0", falling back to sticky section-header at idx > 0); also collapses stale "pinned" state back to "empty" when indexed is empty while the store confirms zero kept items.
  • [win] Recursive cpSync EIO, Non-ASCII tar.exe ANSI Mangling, Background File Pickers, Top-Bar Overlay Overlap & Entry/Updater/Hook Parity (core/daemon/{env,projects,overview-skills}.mjs, studio/{cli,deploy-meta,pack-release,setup-hooks,tar-gz}.mjs, studio/daemon/update-worker.mjs, studio/styles/{receipt-drawer,decision-inbox,fork-race}.css, studio/plugin/maga-opus-gate/hooks/{gate-check,lib/git-landing}.mjs, studio/plugin/maga-git-workflow/{hooks/git-guard,lib/shell-parser}.mjs, studio/plugin/maga-anchors/hooks/anchor-guard.mjs, studio/plugin/maga-auto-compact/hooks/compact-check.mjs, .githooks/guard-main-branch.mjs, cli/statusline.mjs, remote/gateway/server.mjs, install.mjs): Replaced all fs.cpSync calls with a portable readdirSync + copyFileSync helper (copyPathRecursiveSync) avoiding Node 22 Windows non-ASCII EIO; added a zero-dependency pure-Node POSIX ustar+PAX .tar.gz helper (studio/tar-gz.mjs) on win32, switched pack-release.mjs Windows zipping to [System.IO.Compression.ZipFile]::CreateFromDirectory(..., $true) (literal-path, Unicode-safe, preserves root prefix), and bypassed ANSI-only tar.exe on non-ASCII Windows paths in update-worker.mjs (routing directly to .NET [System.IO.Compression.ZipFile]::ExtractToDirectory with $ErrorActionPreference = 'Stop', avoiding PSModulePath / Expand-Archive failures across pwsh 7 + Windows PowerShell 5.1); hosted OpenFileDialog / FolderBrowserDialog under a hidden TopMost owner Form (buildWinFilePickerPsScript / buildWinFolderPickerPsScript); offset #agy-receipt-drawer, #agy-decision-inbox, and #agy-fork-race-modal below --ag-win-top-bar; normalized Windows 8.3 short paths and drive-letter casing via realpathSync.native + lowercase comparison (isDirectEntryExecution & standalone entrypoint guards); invoked npm.cmd via cmd.exe /d /s /c (windowsVerbatimArguments: true) without shell: true truncation and stopped the Windows daemon before git-stable/git-edge updates with restart-on-rollback; fixed Windows backslash/exe/cmd/PowerShell parsing in git-landing.mjs and single-& splitting in shell-parser.mjs; added EPERM/EBUSY/EACCES rename retries in anchor-guard.mjs and windowsHide: true on remaining sync probes.