Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Jul 07:43
· 2 commits to main since this release
23db90b

v0.2.0 β€” Validate, Antigravity, Hardened Updates


Highlights

βœ… grimoire validate β€” SKILL.md Conformance Checker

Static linter for SKILL.md files with optional AI-powered auto-repair. Checks name,
tags, description, body completeness, H1 heading, file size, and lifecycle fields.
--fix runs a deterministic pre-pass then parallel AI repair across all violations.

grimoire validate                 # check all skills in current package
grimoire validate skills/         # check a specific directory
grimoire validate --fix           # auto-repair violations with AI
grimoire validate --fix --dry-run # show repairs without writing

πŸ€– Google Antigravity Agent Support

Antigravity (agy) is now a first-class grimoire agent β€” skills install, uninstall,
doctor detection, compliance checks, and config file management all work out of the box.

πŸ”’ Hardened grimoire update

grimoire update now handles force-pushed remotes and local package modifications
gracefully instead of erroring or silently discarding data.

  • Force-pushed remote: detected and recovered automatically
  • Local modifications: blocked with a clear error message by default
  • --force: explicitly opt into discarding local changes and updating
grimoire update               # safe β€” errors if local package changes exist
grimoire update --force       # discard local changes and update

πŸ› Bug Fixes (Codebase Audit)

A full audit identified and fixed several silent failures:

  • MCP boolean params β€” stable, force, yes were declared as string params;
    LLM-sent JSON booleans were silently ignored. Now use proper WithBoolean/GetBool.
  • grimoire_package_validate β€” used os.Getwd() instead of getProjectDir(),
    ignoring --project-dir pin in MCP server mode.
  • Antigravity project skills path β€” pointed to .agents/skills instead of
    .gemini/antigravity-cli/skills; project-mode installs were invisible.
  • errNotGit sentinel β€” errors.Is comparison never matched due to fmt.Errorf
    without %w creating a new pointer each call; FetchTags errors were never suppressed.
  • SKILL.md frontmatter truncation β€” frontmatter read was capped at 4096 bytes;
    now uses os.ReadFile for correct unbounded reads.
  • --dry-run --stable prompt β€” confirmation prompt appeared before the dry-run
    guard; dry-run now exits before prompting.

πŸ› οΈ Installer Improvements

  • Wizard banner, color output, sudo handling, and $PATH check on first run
  • Windows: warn when symlinks are unavailable and suggest Developer Mode
  • PowerShell: fix OSC 8 hyperlinks rendering as garbage characters

Full Changelog: v0.1.0...v0.2.0

Full Changelog: v0.1.0...v0.2.0

Full Changelog: v0.1.0...v0.2.0