Repository navigation
AGY Studio v1.6.0
Introduced the experimental Anti-Drift Anchors & One-Click Milestone Handoff (maga-anchors) 3-pillar suite, decoupled --channel stable|edge end-user installers, expanded Remote Control with Artifact & Git Diff viewers, and added declarative Host Contract probes alongside worktree governance materialization.
Added
[cross]Release Channel Decoupling (--channel stable|edge), Tag-Aware Provenance & OSS Contributor Onboarding (install.sh,install.ps1,studio/deploy-meta.mjs,CONTRIBUTING.md,.github/pull_request_template.md,docs/INSTALL_AGENT.md): Decoupled end-user installs frommainHEAD by adding--channel stable|edge(-Channelon Windows, defaulting tostablevia GitHubreleases/latestwithpackage.json-major-guardedgit ls-remotefallback and detached-tag /origin/maincheckout without brokengit pull --ff-only); added exactv*tag recognition indeploy-meta.mjsso clean release-tag checkouts emit no misleading non-mainwarnings; updated AI & source install instructions; and addedCONTRIBUTING.mdplus.github/pull_request_template.mdseparating external Fork/PR contribution rules from maintainer worktree/smoke workflows.[cross]One-Click Automated Milestone Handoff (studio/daemon/anchors-service.mjs,user/src/modules/projects/handoff-launch.mjs,user/src/entry.mjs,studio/modules/anchors-pill.mjs,studio/styles/anchors-pill.css,studio/host/contracts.mjs): Upgraded theG >= 3Anchors Handoff popover from copy-only fallback to full 1-click desktop chat creation & navigation (一键新建并交接, with optional 1-linenextStep, unsent draft chip without clearing source composer, and secondary仅复制button): daemon packages async--no-optional-locksgit branch/HEAD/dirty-file snapshots, prioritizedCHECKPOINT+ post-compaction visibleUSER_INPUT/PLANNER_RESPONSE.contentexcerpts (strictly zerothinking/CoT via I12), hardened<untrusted_reference>tag sanitization, and optional idle anchor flushing; desktop renderer checksnewConvoResourceSelectorscope fail-closed before submit, rolls back with source draft restoration on pre-submit failures, verifies new conversation postcondition without double-submitting (uncertainstate on timeout), and probeshasNewConvoResourceSelectorinnpm run probe:host.[cross]Anti-Drift Anchors, Compaction Generation Badge & Deterministic Lock Plugin (studio/plugin/maga-anchors/,studio/daemon/anchors-service.mjs,studio/modules/anchors-pill.mjs,studio/styles/anchors-pill.css): Added managedmaga-anchors3-pillar anti-drift system: (1) liveGcompaction generation badge on the context ring +G >= 3zero-model-tokenuser_markdownnudge & user-initiated Milestone Handoff (CreateConversationwith<untrusted_reference>sanitization and read-back verification); (2) out-of-band UTF-8-safetranscript_full.jsonltail scanner pairing verbatim user corrections with redacted CoT comprehension checks on an approval card (Accept/Edit/Reject->Stop-flushed.agents/rules/anchors.local.mdunder a 400-token Evict-to-Admit budget, with zero CoT ever written to rules or streamed to Remote); and (3) zero-LLM.agents/locks.jsonPreToolUseforce_askguard +>= 3repeated-failure action-loop escalation toopus-gatedebug.[cross]Worktree Local Governance Materialization, Repo-Wide Size Ratchet & Host Contract Probe (studio/plugin/maga-git-workflow/lib/worktree-core.mjs,studio/host/contracts.mjs,studio/probe-host.mjs,test/size-baseline.json,studio/capture-chrome-fixture.mjs): Automatically materializes untracked local governance files (AGENTS.md,GEMINI.md,ENV.md,.agents/{skills,rules}) as isolated copies into sibling worktrees with SHA-256-verified cleanup onwt:clean(preventing symlink write-through into primary checkouts), blocks agent self-tampering of.agents/locks.json, replaces hardcoded size lists with agit ls-filesrepo-wide< 2,000-line guard + monotonic shrink-onlytest/size-baseline.jsonratchet, stampshostVersioninto Chrome layout fixtures, and adds read-onlynpm run probe:host.[remote]Remote Control Phase 0 & Phase 1 — Artifact & Git Diff Drawer, Dynamic Skills & 30-Day Usage (core/daemon/remote/{artifacts-bridge,git-bridge,studio-bridge}.mjs,remote/gateway/ws-server.mjs,remote/pwa/src/{viewer-drawer,overview-panel,timeline-view,workspace-shell}.mjs,user/src/modules/remote-tap-helpers.mjs): Added mobile/web Artifact Markdown & live Git status/diff inspection drawer (viewer-drawer.mjs), dynamic skill slash discovery, 30-day usage breakdown in Remote Overview, and modularizedremote-tap.mjs(8ece99e).[cross]Real-Machine Chrome DOM Geometry Fixtures & Dual-OS Regression Suite (studio/cdp-probe.mjs,studio/capture-chrome-fixture.mjs,test/fixtures/{darwin,win32}/chrome-layout.json,test/windows.test.mjs): Addednpm run capture:chrome-fixtureto capture sanitized, privacy-free Electron.bg-sidebar/ sidebar-track / control rect snapshots over CDP and exercisechrome-geometry.mjs+computeSettingsDrawerTopInsetagainst both macOS and Windows layouts innpm test.[cross]Live Smoke Verification & Release Tag Pre-Push Gate (studio/smoke-live.mjs,.githooks/guard-release-tag.mjs,.githooks/pre-push,studio/setup-hooks.mjs): Addednpm run smoke:liveto verifydoctor+ live CDP invariants and stamp GitHub Commit Statuses (smoke/darwin,smoke/win32), and extended.githooks/pre-pushonrefs/tags/v*to block stranded unmerged remote branches (MAGA_ALLOW_STRANDED_TAG=1) and missing dual-OS live smoke checks (MAGA_SKIP_SMOKE=1).[cross]Automated Tag GitHub Release Packaging (.github/workflows/ci.yml,studio/pack-release.mjs): AddedreleaseCI job onv*tags (needs: [stranded-branches, test]) that validatespackage.jsonversion alignment, packs and checksum-verifies macOS.tar.gz+ Windows.zip, extractsCHANGELOG.mdnotes viaextractChangelogNotes, and creates/updates the GitHub Release idempotently.
Changed & Fixed
[cross]Pre-Release Audit Hardening (user/src/modules/projects/handoff-launch.mjs,studio/plugin/maga-anchors/hooks/anchor-guard.mjs,test/anchors.test.mjs): Cancelled latescopeGuardsubmissions after handoff launch timeout (launch_cancelled), switchedflushQueuedAnchorWritesForRepoto atomic queue claiming (renameSync) so concurrent anchor accepts cannot be clobbered, resolved existing parent prefixes innormalizeRelComparefor symlinked nonexistent targets, and inspectedReplacementChunksformulti_replace_file_content.[cross]Domain-Neutralanchors/SKILL.mdExample & Core De-Jargon Governance Test (studio/plugin/maga-anchors/skills/anchors/SKILL.md,test/host-contracts-and-gov.test.mjs): Replaced the ML-specific.agents/locks.jsonschema example inanchors/SKILL.mdwith a domain-neutral engineering example (noting compatibility with experiment aliases andexcludeFilesbasename matching), and added a hermetic governance test asserting trackedcore,studio,user/src,remote,vendor, andinstall.mjssources remain free of ML research jargon.[cross]Anti-Drift Anchors Pre-Release Hardening, Settings Kill Switch & Docs (studio/plugin/maga-anchors/hooks/anchor-guard.mjs,studio/daemon/anchors-service.mjs,studio/modules/{anchors-pill,settings/{views,events}}.mjs,README{,.zh-CN}.md): Persisted incrementaltranscriptCheckpointsaccumulation inanchor-guard.mjs+getAnchorsStatussoG >= 3nudges and status work reliably even whennode:sqliteis unavailable; resolved.agents/locks.jsonupward from the edited target file's directory (dirname(absTarget)) so cross-repo absolute edits cannot slip past repository locks; added ananchorsMode(Off/Semi-auto) segmented control under Conversation Settings with reactive pill/menu hide and plugin sync; replaced the hardcodedENV.mdexemption with schema-drivenexcludeFiles/exclude_files; localizedG >= 3inlineuser_markdownnotices viauser/config.jsonmodules.i18nand balanced EN/ZHCORRECTION_CUE_REpatterns; and documented Experimental Anti-Drift Anchors (with a general non-ML.agents/locks.jsonexample) plus Remote Artifact/Git Diff drawers in both READMEs.[cross]Anchors Handoff Pill Layout & Row 1 Container Invariant (studio/modules/anchors-pill.mjs,studio/styles/anchors-pill.css,test/anchors.test.mjs): Changed#agy-anchors-pillfrom a top-level<button>to a<div>wrapper containingbutton.agy-anchors-go(matching#agy-resume-pill,#agy-opus-gate-pill, and#agy-auto-compact-pill) so it no longer hijacks.agy-composer-footer > div:first-child > button:first-of-type(28×28square+button styles, text overflow ontoTurbo, and pushing+to Row 2); aligned Row 1 capsule styling & Light/Dark popover tokens, ensured clickingG >= 3always renders handoff controls even before status RPC returns, and added a class-wideOWN_ROW1_PILL_IDSnon-button container regression test.[win]Windows CI Test Stability (test/host-contracts-and-gov.test.mjs,test/studio.test.mjs): Normalized\r\nline endings when reading Git-checked-out trackedAGENTS.mdunder defaultcore.autocrlf=true, and replaced the hardcoded 30ms post-mutation sleep in theMagaKerneldirty-topic routing test with a bounded condition wait sowindows-latestCI no longer flakes under timer jitter.[cross]Governance & Hermetic Test Hygiene (core/daemon/win-service.mjs,studio/daemon/git-workflow-service.mjs,install.mjs,studio/rules/fast-io.md,studio/plugin/maga-opus-gate/rules/AGENTS.md,test/{windows,git-guardrails,install,audit-regressions}.test.mjs): InjectedfsImplinto Windows service helpers and blocked raw Windows drive writes on POSIX hosts; isolatedANTI_CLAUDE_STATE_DIRin CLI guardrail tests so livegit-workflow-events.jsonstays test-free; preserved/sanitizedlocalOnlyPathsinsetGitWorkflowPolicy; madefast-io.mdandmaga-opus-gaterules project-neutral; retired dead upstreamSKILL.mdandrules/claude-execution-sync.md; and updated README Windows footers.[cross]Remote Control Quota Bars & Epoch Reset Countdowns (remote/pwa/src/overview-panel.mjs,remote/pwa/src/ui-helpers.mjs,core/daemon/remote/studio-bridge.mjs): Rendered quota/usage progress bars via CSSOM for strict CSP compliance and normalized epoch reset countdown formatting.[cross]Remote Control Native Slash Commands (user/src/modules/remote-tap.mjs): Encoded/compactand slash commands sent from Remote Control as nativeSlashCommandScopeItempayload chunks.