Skip to content

Releases

v0.6.0 - Antigravity v2.34.0 Alignment & Hook Engine Modernization

Choose a tag to compare

@HengWeiBin HengWeiBin released this 23 Nov 01:34

Release Notes: oh-my-antigravity v0.6.0

We are pleased to release oh-my-antigravity v0.6.0! Building on v0.5.0/v0.5.1, this release aligns the hook engine, agent definitions, and Antigravity skill guides with Google Antigravity v2.34.0, modernizes injected hook messages from deprecated ephemeralMessage to systemMessage, enriches HookContext, fixes EditErrorRecoveryHook file unlocking in production hooks.json, and binds continuation hooks strictly to active Boulder plans.


🌟 What's New in v0.6.0

1. ⚡ Hook Engine Modernization (systemMessage, HookContext, & EditErrorRecoveryHook Fix)

  • Migrated Deprecated ephemeralMessage → systemMessage: Updated all 6 production hook emitters (CodegraphRecommendationHook, SubagentSkillAutoloaderHook, AgentUsageReminderHook, CompactionTodoPreserverHook, InitProjectDirReplacerHook, KeywordDetectorHook, and TodoContinuationEnforcerHook) to emit {"systemMessage": {"systemMessage": ...}} per the official Antigravity Hooks contract.
  • Fixed EditErrorRecoveryHook Production Unlock Matcher: Added view_file, view_file_outline, view_code_item, and read_file to PostToolUse.matcher in hooks.template.json and portable hooks.json so locked files actually unlock when inspected after an edit failure.
  • Enriched HookContext: Added workspace_paths, transcript_path, artifact_directory_path, invocation_num, and execution_num fields to HookContext (scripts/hooks/models.py) and populated them cleanly in HookEngine.build_context.
  • Boulder Session Binding (v0.5.1): Scoped StopPlanContinuationHook, CompactionTodoPreserverHook, and TodoContinuationEnforcerHook to active .omo/boulder.json plans bound to the current conversation.

2. 🤖 Agent Frontmatter & Antigravity v2.34.0 Docs Alignment

  • Clean Static Agent Frontmatter: Removed redundant runtime-only enable_mcp_tools: true from all 11 agent profiles (agents/*.md), retaining inheritMcp: true and inheritCustomizations: true, and added a regression check in test_release_readiness.py.
  • /antigravity-subagents Guide Refresh: Updated coverage to v2.34.0 (including browser host input lock protections), added a Tool Alias Reminder note, and aligned the atlas example with agents/atlas.md.
  • /antigravity-hooks Guide Refresh: Removed the duplicated PostInvocation section, clarified top-level named hook groups and committed portable hooks.json, and synchronized Section 4.1 HookContext / BaseHook contracts with scripts/hooks/models.py and engine.py.

3. 📦 Release, Installers & Verification

  • Version & Asset Sync: Bumped plugin.json, pyproject.toml, uv.lock, assets/banner.svg, README.md, README.zh-TW.md, install.ps1, and install.sh to v0.6.0, updated Antigravity README badges to 2.32.0+, and synced scripts/verify_assets.py to 47 Bundled Skills.
  • Full Verification:
    • uv run pytest scripts/tests/: 226 passed
    • uv run ruff check scripts/: 0 errors
    • uv run python scripts/verify_assets.py: All SVG/XML assets compliant
    • agy plugin validate .: 47 skills, 11 agents, 1 hooks validated

Full Changelog: v0.5.1...v0.6.0

v0.5.0 - Antigravity v2.32.0 & OMO v5.1.70 Alignment

Choose a tag to compare

@HengWeiBin HengWeiBin released this 14 Nov 14:10

Release Notes: oh-my-antigravity v0.5.0

We are proud to announce oh-my-antigravity v0.5.0! This release aligns the plugin with Google Antigravity v2.32.0 and upstream oh-my-openagent (v5.1.70), adding portable hook execution, updated runtime tool support, 3 new bundled skills (47 total), and updated agent profiles and guide documentation.


🌟 What's New in v0.5.0

1. 🚀 Google Antigravity v2.32.0 Hook Engine & Portable hooks.json

  • Portable Plugin Hooks: Checked in portable root hooks.json using uv run python ./scripts/... and added --portable mode to scripts/setup_hooks.py while keeping hooks.template.json / explicit path rendering for legacy installers.
  • Current Runtime Tool Support: Updated PreToolUse / PostToolUse regex matchers and all Python hook interceptors (permission, write_existing_file_guard, notepad_write_guard, edit_error_recovery, comment_checker, plan_format_validator) to support read_file, write_file, and edit_file (Path, Content, Replacement, Append) alongside legacy aliases.
  • Official Hook Contract Alignment: Updated HookContext and serialization for hookEventName, toolCall.id, continuationActive, PreInvocation injectSteps.errorMessage, Stop "decision": "continue" semantics, [~] in-progress plan tasks, and review-file exclusions.
  • Schema-Compliant Manifest: Updated plugin.json suggestedPrompts to the 3-item schema limit (/ulw-plan, /debugging, /review-work).

2. 🤖 Agent Profiles & Runtime Tool-Alias Safety

  • Frontmatter & Refusal Boundaries: Added inheritMcp: true across all 11 agent profiles (agents/*.md), added ulw-execute and Refusal is Final boundaries to atlas.md and sisyphus.md.
  • Conflict-Free tools: Whitelists: Deduplicated tools: entries across all 11 agent definitions so runtime alias resolution never triggers tool name conflict: multiple tools resolved with name "read_file", and added test_agent_tools_no_alias_conflicts as an automated regression gate.

3. 🎯 Upstream OMO v5.1.70 Skills Sync (44 → 47 Bundled Skills)

  • 3 New Bundled Skills: Added /ulw-execute (ulw-execute), /mass-ulw (mass-ulw), and /browser (browser).
  • Shared & Orchestration Skills Refresh: Synced shared skills from oh-my-openagent v5.1.70 (including programming, ulw-plan, remove-ai-slops, debugging, frontend, ulw-research, visual-qa, ultimate-browsing, git-master with PowerShell invariants, etc.) and updated ulw-loop (with define-goal.md), ultrawork, teammode, and hyperplan.
  • Antigravity Guides Updated: Synchronized antigravity-hooks and antigravity-subagents with v2.32.0 specs (CWD semantics, PLUGIN_ROOT/PLUGIN_DATA, agents.json, Gemini 4 Carbon/Argon/Hydrogen & Orchestrator mode, 5 multi-agent mechanisms, Mermaid & LaTeX syntax fixes).

4. 🧪 Verification & GitHub Pages

  • 217 Passing Tests & Clean Lint: uv run pytest scripts/tests/ (217 passed) and uv run ruff check scripts/ (0 errors).
  • Antigravity Plugin Validation: agy plugin validate . passes cleanly (47 skills, 11 agents, 1 hooks).
  • Landing Page Updated: Updated the multilingual GitHub Pages site (gh-pages) for v0.5.0 and all 47 bundled skills.

Full Changelog: v0.4.0...v0.5.0

v0.4.0 - Hook Engine Alignment, Safety Guards & Skills Refresh

Choose a tag to compare

@HengWeiBin HengWeiBin released this 07 Nov 10:16

Release Notes: oh-my-antigravity v0.4.0

We are proud to announce oh-my-antigravity v0.4.0! This major upgrade brings official Antigravity specification alignment, robust multi-layer safety guards, anti-guessing recovery mechanisms, refusal termination policies, and an overhaul of our native skills catalog.


🌟 What's New in v0.4.0

1. 🚀 Hook Engine Official Specification Alignment

  • Zero I/O Prompt Extraction: extract_user_prompt prioritizes lastUserInput directly from the hook payload, avoiding disk I/O.
  • Enhanced Hook Context: Added ool_error payload propagation to HookContext.
  • PreInvocation Termination Contract: Supports erminationBehavior="terminate" with structured errorMessage.
  • Stop Phase Blocking Contract: Implemented official decision="block" semantics for Stop hooks.

2. 🛡️ Unread Existing File Overwrite Guard (WriteExistingFileGuard)

  • Prevents destructive blind writes by intercepting write attempts on non-empty existing files that have not yet been viewed in the current session.
  • Whitelist and scratch exemption mechanisms ensure smooth operation for scratch and transient logs.

3. 🔄 Surgical Edit Error Recovery & Anti-Guessing Protection (EditErrorRecovery)

  • Implements two-tier defensive recovery: captures edit failures, emits diagnostic hints, and locks repeated blind replacement attempts until �iew_file refreshes the file context.

4. 🛑 Non-Bypassable Refusal Principle (Rule 5: Refusal is Final)

  • Formalized in
    ules/oh-my-openagent-rules.md: when a user or permission guard says NO, STOP, or CANCEL, the refusal is absolute.
  • Embedded terminal boundary protocols into hephaestus.md and sisyphus-junior.md to prevent retry bypasses.

5. 🎯 Native Skills Refresh & Catalog Cleanups

  • New eval-integrity Skill: Rigorous benchmark suite and LLM evaluation auditing.
  • Upgraded �isual-qa Skill: 3-state verdicts (Good, Needs Work, Needs Human Review) with automated pre-checks.
  • Streamlined git-master Skill: Refocused on 4 core modes (Commit, Rebase, History, Status).
  • Official Documentation: Synchronized subagent and hooks guides (inheritMcp, inheritCustomizations, lash_lite, /teamwork).
  • Purged legacy cross-skill ghost tool references across the entire catalog (44 skills total).

6. 🧪 Comprehensive Test Coverage & Linting

  • 190 Passing Unit & Integration Tests: 100% test pass rate across all interceptor pipelines and safety guards.
  • Zero Ruff Violations: Clean lint checks across the codebase.

Full Changelog: v0.3.1...v0.4.0

v0.3.0 - Native 5-Phase Hooks Engine & Antigravity Native Rules Compatibility

Choose a tag to compare

@HengWeiBin HengWeiBin released this 27 Oct 05:24

Release Notes: oh-my-antigravity v0.3.0

We are thrilled to announce oh-my-antigravity v0.3.0! This milestone release delivers native 5-phase lifecycle hook engine support, deep alignment with Google Antigravity native rules and subagent architectures, dynamic parameter mutations, and streamlined startup optimizations.


🌟 What's New in v0.3.0

1. 🚀 Native 5-Phase Lifecycle Hook Engine (#11)

  • Official SessionStart Phase: Added dedicated scripts/session_start.py entrypoint and LifecycleEvent.SESSION_START pipeline, executing once at session startup before model interactions begin.
  • Complete 5-Phase Support: Fully aligns hooks.json and hooks.template.json with Antigravity's official lifecycle: SessionStart, PreInvocation, PreToolUse, PostToolUse, and Stop.

2. ⚡ Google Antigravity Native Rules Compatibility (#10)

  • Native YAML Frontmatter: Added trigger: always_on and descriptions to rules/oh-my-openagent-rules.md, delegating rule ingestion entirely to Antigravity's native engine.
  • Eliminated Redundant Injectors: Purged legacy DirectoryAgentsInjectorHook and RulesInjectorHook, preventing duplicate rule and agent injections on every conversation turn.

3. ✨ Dynamic PreToolUse Argument Mutation & Decision Precedence (#8, #10)

  • Argument Mutation (overwrite: object): PreToolUse hooks now support shallow mutation of tool inputs before execution.
  • 5-Tier Decision Precedence: Formalized deterministic precedence resolution (deny/deny_unless_prior_grant > force_ask > ask > auto_approve > allow).

4. 🎯 One-Time Startup Optimization (#11)

  • Codegraph Migration: Moved CodegraphRecommendationHook from PreInvocation to SessionStart, eliminating redundant filesystem and MCP probing across multi-turn interactions.

5. 📚 Documentation & Skill Alignment (#12)

  • Updated antigravity-hooks Skill: Complete guide for 5-phase lifecycle, argument mutation, auto-approval, and host CLI configuration paths.
  • Updated Bilingual Documentation: Synchronized English and Traditional Chinese READMEs with the new version and release notes.

6. 🧪 Comprehensive Test Coverage

  • 154 Passing Unit & Integration Tests: 100% test pass rate across all interceptor pipelines, release readiness checks, and platform installers.
  • 100% Clean Ruff Linting: Strict adherence to modern Python 3.13 standards.

Full Changelog: v0.2.0...v0.3.0

v0.2.0 - Multi-Platform Hooks Engine & Antigravity 2.22.0+ Alignment

Choose a tag to compare

@HengWeiBin HengWeiBin released this 11 Oct 07:20

Release Notes: oh-my-antigravity v0.2.0

We are excited to announce oh-my-antigravity v0.2.0! This milestone release introduces native cross-platform hook execution across Linux and macOS, aligns with Google Antigravity 2.22.0+ orchestration specifications, and refines the subagent harness.


🌟 What's New in v0.2.0

1. 🐧 Cross-Platform Hooks Architecture (Linux, macOS & Windows) (#8)

  • Dynamic Template Rendering: Added hooks.template.json with dynamic {{PYTHON}} and {{PLUGIN_DIR}} placeholders.
  • Automated Setup Engine: Added scripts/setup_hooks.py to auto-detect qualified Python 3.13+ runtimes (python3, python, uv run python) and render quote-free, normalized paths.
  • Enhanced Turnkey Installers: install.sh and install.ps1 now automatically generate local hooks.json upon clone or update, with automatic fallback mechanisms.
  • Zero-Conflict Git Workflows: Untracked hooks.json from git and added to .gitignore so local generated configurations never conflict with git pull --ff-only.
  • Quote-Stripping Prevention: Normalized all command paths into quote-free patterns, preventing Windows cmd.exe /c argument corruption ([Errno 22]).

2. ⚡ Google Antigravity 2.22.0+ Alignment

  • Model tiering optimization across conductor and worker agents.
  • Synchronous hook engine refinement with zero external runtime dependencies.
  • Updated skill catalog and permissions validation.

3. 🧪 Comprehensive Test & Quality Verification

  • 162 passing unit & integration tests across all interceptor pipelines, release readiness, and installers.
  • 100% clean Ruff linting across the codebase.

Full Changelog: v0.1.1...v0.2.0

v0.1.0 - Initial Release: Release Readiness Package for Google Antigravity 2.0

Choose a tag to compare

@HengWeiBin HengWeiBin released this 23 Sep 13:52

Release Notes: oh-my-antigravity v0.1.0

We are thrilled to announce the initial official release of oh-my-antigravity v0.1.0 — the premier multi-agent orchestration harness engineered specifically for Google Antigravity 2.0!

Ported and redesigned from code-yeongyu/oh-my-openagent, oh-my-antigravity elevates Antigravity into a coordinated software engineering team with deep architectural role separation, strict permission boundaries, and zero-overhead lifecycle hooks.


🚀 Key Highlights & Capabilities

1. 🎭 11 Specialized Agent Personas & 42 Turnkey Skills

  • Conductors & Orchestrators: sisyphus, atlas, and prometheus plan, decompose, and orchestrate complex tasks without touching or dirtying source code directly.
  • Execution Workers: hephaestus and sisyphus-junior execute verified implementations and unit tests under strict file edit controls.
  • Specialized Advisors & Reviewers: oracle, librarian, explore, and more ensure deep research and multi-phase verification.
  • 42 Bundled Domain Skills: Complete workflows spanning debugging, ast-grep, code-review, TDD, frontend design, git mastery, and session mining.

2. ⚡ Zero-Overhead Python Hook Engine

  • Fully synchronous lifecycle interception across PreInvocation, PreToolUse, PostToolUse, and Stop.
  • Built entirely on Python 3.13+ standard libraries with zero runtime external dependencies and sub-millisecond dispatch latency.
  • Strict role-based permission enforcement: conductors cannot mutate source code directly, and workers cannot tamper with plugin configuration or rules.

3. 📦 Cross-Platform One-Line Turnkey Installation

  • Native Antigravity CLI:
    agy plugin install https://github.com/HengWeiBin/oh-my-antigravity.git
  • macOS & Linux One-Liner:
    curl -fsSL https://raw.githubusercontent.com/HengWeiBin/oh-my-antigravity/main/install.sh | bash
  • Windows PowerShell One-Liner:
    irm https://raw.githubusercontent.com/HengWeiBin/oh-my-antigravity/main/install.ps1 | iex
  • Automated pre-flight checks ensuring Python 3.13+ runtime availability and idempotent directory configuration.

4. 🌐 Full Bilingual Documentation & Architecture Diagrams

  • Complete English README.md and Traditional Chinese README.zh-TW.md editions with bidirectional navigation.
  • High-contrast vector identity (assets/logo.svg) and hero banner (assets/banner.svg).
  • Interactive Mermaid architecture diagrams detailing hook lifecycle interception and subagent orchestration topologies.

5. 🤝 Open-Source Collaboration & Health

  • Full CONTRIBUTING.md guide covering development setup, test execution, linting routines, and subagent/skill authoring standards.
  • Structured GitHub issue forms for bug reports and feature requests, alongside comprehensive PR verification checklists.
  • MIT Licensed with explicit upstream attribution to @code-yeongyu.

🧪 Verification & Quality

  • 150 test cases passing across hook engines, permission policies, session resolvers, installers, doc links, and release readiness suites.

Full Changelog: https://github.com/HengWeiBin/oh-my-antigravity/commits/v0.1.0