Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:37
· 103 commits to main since this release
Immutable release. Only release title and notes can be modified.
f16dc3e

Gantry for coding agents: skills, a Claude Code hook and gantry mcp

New

  • gantry skills install [--agent A]... [--dry-run], skills list, skills hooks <name> and skills mcp <agent> [--read-only].
    • Installs six skills for Claude Code, Cursor, Copilot, Codex, Gemini and Aider: gantry, gantry-file, gantry-close, gantry-pass, gantry-amend and gantry-adopt.
    • A lock file records each skill's SHA-256. A file you have edited is never overwritten; the new version is staged under .gantry/pending/ instead.
  • gantry hook claude-code lints the Gantry file a Claude Code edit names. It exits 2 with that file's errors, fenced as untrusted data, and is silent otherwise.
  • gantry mcp [--read-only], a stdio MCP server.
    • Read tools: gantry_show, gantry_query, gantry_ruling_for_platform, gantry_lint, gantry_rules, gantry_evidence_list and gantry_evidence_get. gantry_evidence_get returns the frame itself as image content, up to 5 MiB, so an agent can look at it.
    • Write tools: gantry_defect_new, gantry_defect_close, gantry_ruling_amend and gantry_evidence_add. Each supports preview, format: diff and baseVersion conflict checks, and writes the same bytes as the CLI.
    • Project text in every result is fenced in <untrusted-data>, and error messages never quote project files.
    • gantry_evidence_add reads only a regular file inside the project, at most 64 MiB, and never under .git, however Windows spells it.
  • gantry amend --evidence <frame>, plus the matching evidence argument on gantry_ruling_amend.

Docs

  • docs/reference/mcp.md, docs/guides/agents.md and a README "Agents" section.

Full changes: #4