github agent-sh/agnix v0.65.0

50 minutes ago

One new rule brings the catalog to 787: KR-RV-007 notes a REVIEW_RULES.yaml below the repository root, which Kiro reviewer does not read. The rest of the release closes gaps the December 5 and December 6 reviews had listed as left open; what stays as it is, by decision, is in the December 6 review. The Claude Code hook rules run on inline hooks in a plugin manifest, CUR-039 reports a project .cursor/cli.json whose permissions lacks allow or deny, GRK-WF-001 keeps checking after a shape warning, PI-MCP-006 resolves a command path with a space, and the root review files of a Kiro monorepo are checked. The Neovim integration sends the files the language server detects from their path, and the JetBrains plugin the Markdown, JSON and TOML ones and those with an agent file name. Several existing rules check more than before (CC-HK-025 reports the StopFailure matcher overloaded, CC-AG-019 reports mode in subagent frontmatter, CC-SK-005 warns about a miscased built-in agent name), so a configuration that was clean on 0.64.1 can get a new finding.

Added

  • KR-RV-007 (LOW) notes a REVIEW_RULES.yaml below the root of a repository
    that uses Kiro. Kiro reviewer reads the file only at the repository root, so
    the copy is never applied; a rule is limited to one project with
    file-patterns in the root file. Not reported in a directory of test
    data, examples, scaffolding (templates/), build output (dist/) or other
    people's code, in a directory that the exclude patterns match or a
    .gitignore of the repository ignores, or in a folder that is another
    repository (it has a .git entry). The content rules KR-RV-002 to KR-RV-006 do not run on
    such a copy, as before.

Fixed

  • CUR-039 now reports a project .cursor/cli.json whose permissions
    object has no allow or no deny list, one error per missing list. The
    Cursor CLI checks the project file against a schema that requires both and
    stops with "Invalid project config" without them. cli-config.json is not
    reported: there the CLI fills a missing list from its defaults. A project
    file that was clean before can get this error.
  • GRK-WF-001 no longer stops at a warning about the shape of a Grok workflow's
    front-matter comment. After a #! line below line 1, an opening that is
    not exactly /**, a line without the * prefix or a close that is not a
    bare */, the keys are still checked where the two --- lines can be
    read, so an unknown key, a missing name or the other GRK-WF-002 to
    GRK-WF-004 findings show in the same run. Each shape problem is reported
    once per file, and a comment with no close is reported on the line where it
    breaks off.
  • KR-RV-001 to KR-RV-006 now check the root REVIEW.md and
    REVIEW_RULES.yaml of a monorepo whose only .kiro/ directory sits in a
    project below the root, such as packages/api/.kiro/. Kiro reviewer reads
    both files from the repository root, wherever Kiro is set up. Before, the
    root files were checked only when kiro was in tools, the root had a
    .kiro/ directory or a workflow ran kirodotdev/kiro-reviewer-action.
    The search goes four levels below the root and reads at most 2,000
    directories. It does not enter hidden directories, symbolic links, another
    repository (a submodule or a nested clone), directories of test data,
    examples, scaffolding, build output and other people's code (by name, such
    as templates/, test-fixtures/, e2e/ and dist/; build-tools/ or
    demo-app/ is a project like any other), or what the exclude patterns
    or the .gitignore files of the repository leave out. A .kiro/ below the
    root that is itself ignored or excluded does not count, since a CI
    checkout does not have it; one in the repository root counts as before. It
    runs only when its answer is used and once per repository in a validation
    run.
    In such a monorepo the root REVIEW.md is now typed as review
    instructions, so KR-RV-001 runs on it beside the generic Markdown rules. In
    editors, it shows only the CC-RV and KR-RV rules.
  • PI-MCP-006 no longer reports a relative command whose folder name has a
    space, such as "my tools/server", where agnix cannot look the path up. Pi
    runs a command with a path separator as a path in the server's working
    directory. For a project .pi/mcp.json agnix now looks in that directory
    (the folder that holds .pi, or the server's cwd inside the project)
    and reports the command when no such folder exists there. Before, it looked
    in the lint root and did not look at all when the server set cwd. Where
    the directory is not known (the user-level file, a cwd outside the
    project or under ~, a cwd or command with .., a file that is not
    directly in .pi/, no project root), a command of the shape
    name word/... is reported when its first word is a launcher or a later
    word can only be an argument: an option, or a path that starts at a root,
    at ~, at ./ or ../, or at a Windows drive. The launchers are node,
    npx, npm, pnpm, yarn, bun, bunx, deno, tsx, ts-node,
    python (also python3, python3.12), uv, uvx, pipx, poetry,
    pdm, go, cargo, java, dotnet, php, ruby, perl, docker,
    sh, bash, zsh, pwsh, powershell and cmd. node dist/index.js,
    npx @scope/pkg, bun run src/index.ts and bash scripts/start.sh are
    therefore still reported there, as in 0.64.1; my tools/server is not.
  • CC-HK-025 now reports a StopFailure matcher overloaded. The hooks
    reference says an HTTP 529 gives server_error, and in the three Claude
    Code builds traced for this (2.1.78, 2.1.250 and 2.1.337) nothing writes
    overloaded into the StopFailure error. The message names
    server_error, and another unknown value in the same matcher gets a
    finding of its own. The value verification_required, which Claude Code
    2.1.337 produces and the hooks reference does not list, is accepted.
  • The CC-HK rules now run on inline hooks in a Claude Code plugin manifest
    (hooks written as an object, or objects inside a hooks array, in
    .claude-plugin/plugin.json), as they do on the plugin's
    hooks/hooks.json. Such hooks were not checked before. A fix is offered
    only inside the manifest's hooks value; an object inside a hooks array
    is reported at the array element and gets no fix. An inline object that wraps
    the events in another hooks key, the shape of a hooks file, is reported
    as that.
  • The CC-HK-001 fix renames the event key under hooks. It renamed the
    first key of that name in the file, which could be a key of env or of
    another map written before hooks.
  • CC-SK-005 now warns about a skill agent that differs from a built-in
    agent name only by letter case or separator, such as EXPLORE or
    general_purpose. Claude Code matches the name exactly and otherwise runs
    the skill on general-purpose. The warning offers the built-in name as an
    unsafe fix, and a subagent with exactly that name turns it off. The
    warning is given only when absence
    of such a subagent was established: a project skill, with every
    .claude/agents/ directory up to the repository root inside the lint
    root read in full. It is not given for a workspace opened below the
    repository root, without a .git entry, for a skill in a plugin or in
    the user-level .claude directory, or when part of the search could
    not be read (a symlink out of the lint root, an unreadable or oversized
    file, a search bound).
  • CC-AG-019 now reports mode in subagent frontmatter. Claude Code does not
    read the key; agnix had accepted it.
  • The JetBrains plugin and the Neovim plugin now open files agnix-lsp
    detects from their path (the next entry says which each one opens), not a
    short list (skills, memory files,
    .claude/settings.json, MCP files, Copilot instructions, Cursor .mdc
    rules and the Pi, Antigravity and Grok directories), so rules for the rest
    show in those editors. That includes REVIEW.md (CC-RV-001 to CC-RV-004,
    KR-RV-001) and REVIEW_RULES.yaml (KR-RV-002 to KR-RV-006), added in agnix
    0.64.0, and the Codex CLI, OpenCode, Kiro, Copilot, Cursor, Cline, Gemini
    CLI, Amp and Windsurf files the VS Code extension already opened. Both
    plugins use the VS Code extension's pattern list, and common names such as
    settings.json, hooks.json or config.toml are still opened only in
    the directory that makes them agent files.
  • Neovim opens every such file, including Grok Build workflow files
    .grok/workflows/<name>.js (GRK-WF-001 to GRK-WF-004). The JetBrains
    plugin opens the Markdown, JSON and TOML ones and the files whose name
    alone says agent file (REVIEW_RULES.yaml, the ignore files,
    opencode.jsonc, copilot-setup-steps.yml, *.kiro.hook).
    It still does not open Grok Build workflows, OpenCode tools and plugins,
    .codex/rules/*.rules, a Codex skill's agents/openai.yaml, YAML and
    JSONC files with common names, or Cline .txt rules and hook scripts:
    LSP4IJ maps a server by file name, and a mapping for every .js, .ts,
    .yaml or .txt file changes how LSP4IJ treats ordinary files of those
    types. Neither plugin opens files the server types from a sibling marker,
    the file's content or configuration instead of the path, such as the
    commands/ and policies/ files of a Gemini CLI extension outside
    .gemini/extensions/, the package.json of a Pi package, the rules of a
    standalone Antigravity plugin or Markdown typed by [files] globs.
  • Both plugins match directory names, and the file names and extensions
    inside them, without regard to case, as the server does
    (.KIRO/HOOKS/audit.JSON); a name that counts in any directory, such as
    SKILL.md, needs its exact case. As before, agnix-lsp validates only
    files inside the root the editor gives it (the project in JetBrains, the
    nearest root marker or the working directory in Neovim, the first
    workspace folder in VS Code), so a user-level or system file such as
    ~/.codex/hooks.json is linted when that root contains it.
  • The VS Code extension starts for, and watches, Antigravity project folders
    named _agents/ or _agent/, and its patterns for Grok Build personas,
    roles and workflows include /etc/grok/. A unit test of the extension now
    fails when the pattern lists of the three editors drift apart.

Changed

  • CUR-039 and GRK-WF-001 rule texts say what the new checks rest on, and
    their evidence was read again on 2026-12-06 (Cursor CLI 2026.12.04-3564be9,
    Grok Build 2.0.13, the Grok workflows guide and changelog).
  • The rule texts of PI-MCP-006 and of the KR-RV gate in
    knowledge-base/VALIDATION-RULES.md say which commands are reported and
    which are not, where Kiro reviewer reads its files from, and how a Kiro
    project below the root is found.
  • The WS-008 message and text follow the Devin Local customizations page,
    which replaced the Cascade memories and AGENTS.md pages. PE-005, REF-001,
    XP-004, XP-006, AS-004, AS-008, CC-SK-030 and CC-SK-031 quote the current
    wording of the VS Code, Gemini CLI and Claude API pages.
  • The hook event table in knowledge-base/agent-config-optional-fields.md
    follows the live hooks reference. See the follow-up section of the
    December 6 review.

Don't miss a new agnix release

NewReleases is sending notifications on new releases.