github agent-sh/agnix v0.63.1

one hour ago

A patch release with no new rules; the catalog stays at 764. It follows the December 5 review of new releases of ten tools and removes false positives on Claude Code, Codex, OpenCode, Antigravity, Grok, Copilot and Cursor configuration. Existing rules also check a few new surfaces (the Pi MCP protocol option, the Antigravity title setting, the Codex MCP hook context limit, more Claude Code settings scopes), so a configuration that was clean on 0.63.0 can get a new finding.

Fixed

  • GitHub Copilot instruction, agent and prompt files saved with a UTF-8 BOM
    keep their frontmatter. VS Code drops the BOM, but agnix did not find the
    frontmatter after it, so a valid *.instructions.md got a false COP-002
    "missing frontmatter" warning whose fix inserted a second frontmatter block.
  • A YAML comment in the frontmatter of a Cursor rule or a Copilot instruction
    file is no longer read as a key. A comment with a colon, such as
    # Note: applies to Rust files, got a false CUR-005 or COP-004 "unknown
    frontmatter key '# Note'" warning.
  • agnix-mcp answers a request line over 16 MiB with a JSON-RPC
    Invalid request error that carries the request ID. It used to drop the
    line without a reply, which left the client waiting (rmcp 3.12.1).
  • Claude Code hooks: the Interrupt event added in v2.1.335 was reported as
    an invalid hook event (CC-HK-001) in settings, plugin hook files, and skill
    and agent frontmatter. It is accepted now. A matcher other than user,
    session or system is reported (CC-HK-025), and a pinned Claude Code
    version below 2.1.335 keeps the error, with a message that says the hook
    never runs there (#1930).
  • Claude Code tools: REPL, ListPlugins, ListSkills, SearchPlugins,
    SearchSkills, SuggestPluginInstall, SuggestSkills and
    propose_skills from the tools reference were reported as unknown tool
    names in subagent tools and disallowedTools (CC-AG-009, CC-AG-010) and
    skill allowed-tools and disallowed-tools (CC-SK-008, which also missed
    SendFeedback). The first seven were also reported in permissions.deny
    and permissions.ask rules (CC-SET-035). They are known now.
  • Codex 0.174.0 (#1934): CDX-CFG-006 and CDX-CFG-011 reported the seven new
    feature flags (code_mode_all_tools_schema, code_mode_mcp_result_dedup,
    compact_filesystem_context, defer_image_generation,
    guardian_native_action_framing, statsig_gates,
    web_search_indexed_default), tui.default_cloud_environments and
    mcp_servers.<name>.http_headers_helper_env_vars as unknown, and
    CDX-REQ-001 reported the [gateway] table of requirements.toml. They
    are accepted now. A codex pin below 0.174.0 still reports them.
  • Codex managed requirements.toml: CDX-REQ-001 reported sixteen valid
    top-level keys as unknown, because its list was pinned to Codex 0.146.0
    (config_server, model_provider, model_providers, network_proxy,
    otel, auto_review, application, in_app_browser,
    allowed_login_methods, allowed_chatgpt_workspaces,
    cli_auth_credentials_store, chatgpt_base_url,
    allow_browser_and_computer_use, additional_developer_instructions,
    guardian_extra_policy, unsafe_enforce_sqlite_journal_mode). They are
    accepted now. CDX-REQ-004 only read [experimental_network]; it now
    checks [network_proxy], the name Codex documents, and the alias, and
    each message names the table it found.
  • Codex config: the root [code_mode], [responses] and [rollout_trace]
    tables (in the tagged schema since 0.171.0) were reported as unknown keys
    by CDX-004 and CDX-CFG-006, transparent_tcp in a permission profile's
    network table by CDX-CFG-026, and windows.sandbox = "mxc" by
    CDX-CFG-027. All are accepted now.
  • OpenCode policy actions (OC-POL-001): websearch.use (OpenCode 2.2.6) and
    experimental.tool.auto and experimental.permission.save (OpenCode
    2.4.4) were reported as invalid statements that OpenCode drops. They are
    accepted when [tool_versions] opencode is not pinned or can name a
    release that has them (a full version at or above that release, the minor
    line the action arrived on, or a bare major); a pin that names only older
    releases, such as 2.3 for the 2.4.4 actions, still reports them. The two
    experimental actions get the tool.use resource-form warning
    (<action>:<value>), and the error lists the accepted actions in
    OpenCode's schema order (#1931).
  • OpenCode CLAUDE.md fallback (OC-AGM-003): a CLAUDE.md with no AGENTS.md
    beside it was reported as ignored by OpenCode 2 (warning for OpenCode 2
    projects, info for unpinned ones). OpenCode 2.3.1 reads it again, so the
    rule now fires only when [tool_versions] opencode names only 2.x releases
    below 2.3.1 (a full version such as 2.3.0, or 2.0, 2.1 or 2.2),
    and the message names the pin. Unpinned projects, a bare 2 or 2.3 pin,
    2.3.1 and later, and 1.x get no diagnostic, and neither does a CLAUDE.md in
    the global or a system config directory, which OpenCode does not read as a
    global instruction file on any release.
  • Antigravity CLI 1.5.23 to 1.5.25 (#1933): AGY-CFG-002 reported
    colorScheme: "adaptive" as an invalid setting. The value is accepted
    when no Antigravity version is pinned or the pin is 1.5.23 or later; an
    older pin and a misspelled value still report it. A pin that does not name
    one release is read as the current release when its line reaches the gate
    (1.5, 1, latest), here and for the 1.5.21 skill discovery; a line
    that ended earlier (1.4) is an older pin.
  • Antigravity settings: AGY-CFG-002 did not check the title setting, so
    "title": {"type": "script"} passed while the same mistake under
    statusLine was reported. title is checked again as a command object or
    the deprecated boolean. The bundled settings constraints had lost it on
    2026-11-22.
  • Antigravity plugins: AGY-HK-001 and AGY-HK-002 reported a plugin
    hooks.json in the Agent Plugins format ($schema, a hooks object,
    UserPromptSubmit) as broken native hooks. A plugin whose plugin.json
    declares an agent-plugins.org schema is no longer checked as native
    hooks. A plugin.json that does not declare it keeps the checks; the
    hooks.json schema counts only when no manifest can be read. A workspace
    or global hooks.json is unchanged.
  • Pi mcp.json: a per-server protocol other than auto or 2026-07-28 is
    reported (PI-MCP-002). Pi 1.8.0 rejects such a server, but agnix accepted
    any value, so a typo such as "protocol": "2025-11-25" passed. Pi 1.7 and
    earlier ignore the field (#1936).
  • A file tagged with Pi's new mcp.json schema ID
    ("$schema": "https://pi.dev/schemas/mcp.schema.json") is validated as Pi
    MCP configuration wherever it lives. Before, a renamed copy was skipped and
    an mcp.json outside .pi/ got only the generic MCP checks, so the PI-MCP
    rules never ran on it. Files another client reads from their location
    (.mcp.json, mcp-config.json, MCP files under .cursor/, .vscode/,
    .github/, .claude/, .codex/, .copilot/ or .kiro/) keep that
    client's rules even with the ID.
  • GRK-CFG-003 no longer reports the ~/.grok/config.toml that the Grok Build
    2.0 installer writes. [cli] channel = "unified" (or "unified-alpha", or
    any custom channel) produced "Grok field violates the documented enum
    constraint", because only stable, alpha and enterprise were accepted.
    cli.channel is a string now: the public names are compared trimmed and
    lowercased, and any other name is accepted when the same file defines the
    table [cli.channels.<name>]. A name with no such table still gets a
    GRK-CFG-003 warning that names the channel and the missing table.
  • The release watcher reads Grok Build releases again. The changelog feed
    moved to grok.com/product/build/changelog/rss.xml and its items link
    #v<version> without a date, so the grok-build-rss extractor found no
    release while Grok Build went from 1.0.92 to 2.0.x. The extractor accepts
    the grok.com host, path and anchor, and still accepts the older x.ai form.

Changed

  • The npm package is now @avifen/agnix, starting with 0.63.0: npx @avifen/agnix . or npm install -g @avifen/agnix. The installed command is still agnix. The unscoped agnix package stays at 0.62.0 and gets no further releases for now.
  • Codex 0.174.0 hooks: additionalContextLimit on an mcp_tool handler is
    checked. A value of the wrong type is CDX-HK-000, a limit on an event that
    cannot emit additional context is CDX-HK-004, and 0 or a value above
    10000 is CDX-HK-004 because Codex clamps it to 10000 with a warning. A pin
    below 0.174.0 skips these checks, since older loaders ignore the field.
  • CC-SET-034 follows the Claude Code settings reference as read on
    2026-12-05. Keys that had no finding outside the files Claude Code reads
    them from are reported: managed-only allowedAdminConsoleOrgUUIDs
    (v2.1.336), disableWindowsBashCommandSplit, attributionProjectPolicy,
    disableDirectMcpSkills, disableRemotePreviewScripts and
    enforceAnthropicSignIn; user or managed axScreenReader,
    permissions.denyInsteadOfPrompting and sshHostCommands; and
    sandbox.allowNestedUserNamespaces: true in project and local settings
    (false still applies).
  • CC-SET-034 env checks: reported in every settings file are
    CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR (v2.1.337),
    CLAUDE_CODE_ATTRIBUTION_PROJECT,
    CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT,
    CLAUDE_CODE_DISABLE_MOUNTED_DRIVE_RM_PROMPT,
    CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK,
    CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS,
    CLAUDE_CODE_WARN_DISK_FREE_GIB and CLAUDE_CODE_WARN_MEMORY_FREE_GIB;
    reported in project and local settings are OTEL_RESOURCE_INCLUDE_HOST,
    CLAUDE_CODE_OAUTH_TOKEN, CLAUDE_CODE_OAUTH_REFRESH_TOKEN,
    CLAUDE_CODE_OAUTH_SCOPES and every CLAUDE_AX_* variable.
  • OC-AGM-003 is renamed "CLAUDE.md Ignored by OpenCode 2 Before 2.3.1" and
    applies to OpenCode >=2.0.0 <2.3.1.
  • CUR-025, CUR-026 and CUR-039 cite archived copies of the Cursor CLI
    configuration and permissions references (Wayback captures of 2026-10-08
    and 2026-10-20). The live URLs now redirect to Grok Build pages that do not
    describe .cursor/cli.json or ~/.cursor/cli-config.json. The rules are
    unchanged and describe the legacy Cursor CLI.
  • Advance the reviewed baselines: Claude Code v2.1.337 (covering v2.1.335 and
    v2.1.336), Codex CLI 0.174.0, OpenCode 2 v2.4.5 (covering v2.4.4), Kiro CLI
    3.8.1, Pi v1.8.0, Antigravity CLI 1.5.25 (covering 1.5.23 and 1.5.24),
    Grok Build 2.0.9 (was 1.0.92), Kimi Code 2.9.0, Cursor 3.33.23 and Gemini
    CLI v0.72.0. Kiro, Kimi Code, Cursor and Gemini CLI are baseline-only. The
    spec sentinel now also tracks Pi's published mcp.json schema, and the
    grok-build-reference baseline is refreshed. See the
    December 5 review.

Don't miss a new agnix release

NewReleases is sending notifications on new releases.