github agent-sh/agnix v0.62.0

2 hours ago

Five new rules bring the catalog to 763: four check Kiro hooks and settings, and one checks OpenCode MCP connection pooling.

Added

  • KR-HK-012 and KR-HK-005 accept SubagentStop in standalone Kiro hooks and
    V3 profile arrays. An explicit pin below CLI 3.6.0 reports that the hook is skipped.
  • CDX-CFG-024 validates approvals_reviewer under
    apps.<app_id>.tools.<tool_id> (Codex rust-v0.172.0 tagged schema).
  • CUR-016 validates clone in .cursor/environment.json. Unknown fields, invalid values,
    and duplicate or conflicting options across fields and extraArgs are errors.
  • KR-HK-032 (Info): the Kiro PermissionRequest trigger (Kiro CLI 3.4.0,
    "Hooks That Rewrite Tool Inputs and Answer Permission Prompts") needs
    Kiro CLI 3.4.0 in a V3 session; an older CLI (3.3.x and earlier) skips
    the hook, and the camelCase alias permissionRequest is accepted on
    3.4.0+. Reported when the Kiro version is unpinned or pinned below
    3.4.0; the matcher is checked with Pre Tool Use semantics, and
    agent-embedded hooks get the info instead of the KR-HK-005
    unknown-trigger warning (#1850).
  • KR-HK-033 (Info): a PreToolUse command action whose STDOUT decision
    carries updatedInput rewrites the tool call's inputs only on Kiro CLI
    3.4.0+ ("Before 3.4.0, the exit code was the only decision a CLI Hook
    could make"); on older CLI the JSON is plain output and the rewrite
    never happens (#1850).
  • KR-SET-013 (Warning): Kiro CLI 3.3.0's
    compaction.autoCompactionThreshold must be a number from 0 to 100 with
    at most two decimal places ("kiro-cli settings accepts 0 to 100 with
    at most two decimal places", settings reference; a workspace cli.json
    can override the key). The 3.1.0 chat.enableSessionRecap boolean also
    joins the known-settings list (#1830).
  • KR-HK-031 (Info): PreCompact/PostCompact compaction hooks need Kiro
    CLI 3.1.0; an older CLI skips the hook (the V3 engine table mirrors
    kiro-cli 2.32.1). A matcher on a compaction trigger has no documented
    behavior, so KR-HK-020 stays silent for them.
  • OC-CFG-023 (Error): a pool value in an OpenCode 2 mcp.servers entry
    must be a boolean. v2.2.6's packages/schema/src/mcp.ts declares
    pool: Schema.Boolean on local and remote servers (opt-in connection
    sharing; only 2026-07-28-protocol connections are shared).

Changed

  • PI-CFG-002 checks Pi v1.6.1 notices and its four boolean fields. The legacy
    showCacheMissNotices boolean remains accepted (#1895).
  • Review Antigravity CLI 1.5.18, Cline v4.1.28, Cursor 3.32.10, Kimi Code
    2.8.1, Kiro CLI 3.6.2 and OpenCode v2.4.2. No additional static validation
    constraints were identified in these releases. See the
    release and spec review.
  • Review the 2026-11-25 tool releases against their live sources (baselines:
    Antigravity CLI 1.5.17, Claude Code v2.1.332, Codex rust-v0.172.0, Cursor
    3.32.4, Gemini CLI v0.71.1, Grok CLI 1.0.92, Kimi Code 2.7.3, Kiro CLI
    3.6.0, OpenCode v2.4.1) and refresh the reviewed spec sentinels
    (knowledge-base/reviews/2026-11-25-release-triage.md).
  • OC-004 accepts the OpenCode automations boolean from 2.4.0. It warns on older pins or a non-boolean value.
  • KR-SET-005 accepts chat.notificationSound from Kiro CLI 3.6.0 (global only) and reports it as unknown on older pins.
  • GRK-SBX-002 types workspace_write as a boolean and accepts minimal as
    an extends value (Grok CLI 1.0.82).
  • Review Antigravity CLI 1.5.15 against its live sources (auto-updater
    manifest, agy changelog release notes and the published
    settings/plugin schemas) and advance the release baseline. No new
    validation constraints: the notes list no settings.json,
    mcp_config.json, hooks.json, plugin.json or rules change - the
    AGY_CLI_AUTO_COMPACT_OVERRIDE syntax extension is an environment
    variable rather than a validated file, the Orchestrator thinking
    Effort default change leaves saved orchestrator choices
    untouched, and both published schemas are byte-identical to the
    vendored bundles (sources.json verified_on refreshed) (#1881).
  • Review Claude Code v2.1.330, Cursor 3.31.15, Kimi Code 2.7.2, Pi
    v1.6.0, Antigravity CLI 1.5.14, Cline v4.1.27 and OpenCode 2 v2.3.2
    against their live sources (npm dist-tags, agy changelog, tagged
    schema compares, api2.cursor.sh and GitHub releases); advance all
    seven release baselines. No new validation constraints: the Claude
    Code 2.1.330 npm tarball changes only SDK types (cli.js is
    byte-identical), Kimi Code 2.7.2's bundled CLI key set is unchanged,
    Pi v1.6.0 changes model lists and two schema descriptions, and
    OpenCode 2 v2.3.2's new compaction.background boolean (default
    true) replaces the removed background_compaction experimental flag
    without touching a key agnix constrains.
  • Re-derive the vendored Antigravity settings constraints (the
    published schema drops the title setting and marks enableTelemetry,
    hooks, the boolean statusLine form and customModelsConfig.modelId
    deprecated) and Pi settings constraints at the v1.6.0 tag (recovering
    four deprecated markers the previous bundle missed); root
    additionalProperties: true keeps unknown keys tolerated, and
    deprecated is annotation-only, so no diagnostic changes.
  • Refresh the twelve spec baseline hashes from the 2026-11-22 drift
    sentinel (#1878); the MCP spec revision stays 2026-07-28, MCP-021's
    wildcard-bind guidance is still verbatim on the streamable-http page,
    and the mcp-spec-security entry now points at the canonical
    /docs/2026-07-28/tutorials/security/ URL. CC-PL-004's requirement
    text records that flagging missing description/version is an agnix
    heuristic (the manifest reference no longer marks them recommended).
  • Address the three P2 findings of PR #1862's round-2 review, verified
    against live vendor sources on 2026-11-20:
    • The minimal sandbox builtin (GRK-SBX-001) is reserved only when the
      pinned grok-code version is 1.0.82 or later; a 1.0.81-pinned config
      with a custom profiles.minimal no longer errors (unpinned files
      keep the latest-release behavior). Boundary tests on both sides.
    • The MCP headers_helper string type (GRK-MCP-001) is required only
      from grok-code 1.0.88; a pin below 1.0.88 does not read the field,
      so any value keeps the unknown-field treatment. Boundary tests on
      both sides. keys.vim = "all" (GRK-CFG-003) needs no gate: adding an
      enum member only widens the accepted set, so no pinned-older config
      can newly fail (unknown-enum semantics are version-independent).
    • The oauth.mode typed check (KR-MCP-007) is skipped for a Kiro
      version pinned below 3.5.0 (the pre-3.5.0 V3 contract strips the
      unknown field); unpinned files and >= 3.5.0 pins keep the check.
      New pinned-older test (3.4.x/3.2.x/2.x pass, 3.5.0 still reports).
    • OpenCode 1 v1.19.5...v1.19.6: complete tagged tree comparison of
      packages/schema/src (64 files, byte-identical; the rest of the
      delta is release infra, updater/i18n and version bumps) confirms the
      v1.19.6 advance is baseline-only; no rule change.
  • Address PR #1862 review findings against the 2026-11-20 baseline sweep,
    all verified against live vendor sources on 2026-11-20:
    • Grok Code: the derived contract and NATIVE-TOOL-CONTRACTS pins advance
      from CLI 1.0.77 to 1.0.89 after an item-by-item triage of every x.ai
      changelog entry from 1.0.78 through 1.0.89. Three items touch a
      validated surface: keys.vim = "all" joins the enum ("/vim-mode all
      enables full Vim editing inside the agent prompt", 1.0.79, GRK-CFG-003),
      the minimal sandbox builtin joins GRK-SBX-001's reserved names
      ("New minimal sandbox profile", 1.0.82), and the MCP headers_helper
      string command joins the typed server fields ("MCP servers can now
      specify a headers_helper command", 1.0.88, GRK-MCP-001). Every other
      item in range is TUI/dashboard/runtime or installer work with no static
      config surface; workspace_write (1.0.82 custom sandbox profiles)
      stays open-typed because no vendor source documents its type yet.
    • Codex CLI: the closed allow-lists behind CDX-CFG-011 and CDX-CFG-006
      are reconciled against the tagged rust-v0.170.0 and rust-v0.171.0
      config.schema.json (diffed against the 0.169.0 set pinned on
      2026-11-15; none of the additions are named in release notes). Nine
      [features] flags are accepted (multi_environment_mcp in 0.170.0;
      catalog_apps_instructions, file_backed_tool_audio,
      guardian_nested_approval_context, mcp_shared_repl_cwd,
      per_environment_context, restored_history_prewarm,
      safe_image_decoder and utc_environment_date in 0.171.0) plus the
      tui.status_line_provider preference, with a TOML/JSON/YAML
      regression and evidence repinned to the tagged schemas.
    • Kiro CLI 3.5.0: auth.portalUrl joins the known-settings list as a
      string ("Set auth.portalUrl and kiro-cli login opens that portal in
      your browser instead of the default one", CLI changelog; the settings
      reference table has not caught up yet), and MCP oauth.mode joins
      KR-MCP-007's typed oauth.* fields as a string (browser/enterprise
      /auto; "Kiro CLI V2 sessions ignore it", so the finding is V3-only).
      The AuthPortalUrl policy, auth_portal_url in managed-settings.json
      and the top-level identityProvider block are documented no-rule-change
      surfaces: KR-PM validates only rules/policies, Kiro ignores extra
      managed settings keys by design, and the settings mcp.json variant
      has no unknown-top-level-key rule.
    • Claude Code v2.1.328: CC-HK-029 accepts onFailure on mcp_tool
      hooks ("Added onFailure: "block" for mcp_tool hooks, as for command
      and HTTP hooks", tagged release notes published 2026-11-19; the hooks
      reference "MCP tool hook fields" table has not caught up yet). A pinned
      version below 2.1.328 keeps the no-effect note, now naming the
      mcp_tool minimum.
  • Advance the 2026-11-20 baselines to the live markers (#1852, #1853,
    #1855, #1856, #1857, #1858, #1859, #1860, #1861): Claude Code v2.1.329
    (covers v2.1.328), Codex CLI rust-v0.171.0 (covers rust-v0.170.0),
    Cursor 3.31.11 (covers 3.31.10), Gemini CLI v0.70.0 (covers v0.69.0),
    Kiro CLI 3.5.0, Antigravity CLI 1.5.13 (covers 1.5.12), Grok Code
    1.0.89 (covers 1.0.78-1.0.88), Kimi Code @moonshot-ai/kimi-code
    2.7.1 (covers 2.6.3; baseline-only, validator still pending) and
    OpenCode 1 v1.19.6. Every
    marker was re-verified against its live source before writing; no
    rule change was needed.
  • Claude Code v2.1.326/v2.1.327 (#1849): CC-PL-010 drops from
    HIGH/error to MEDIUM/warning and CC-PL-009's detection note records
    that v2.1.326 ignores a malformed plugin.json display field such as
    author or homepage with a note instead of refusing the plugin
    ("they now load, with their hooks and MCP servers"); the manifest
    reference table still carries the older "fails to load" sentence.
    v2.1.327 changes no validated surface (baseline-only). The
    --allowedTools startup warning, the settings depth cap and the HTTP
    hook Content-Length/Transfer-Encoding change touch nothing agnix
    validates.
  • Spec drift (#1851): all four drifted sources re-fetched under the
    sentinel recipe (live hashes reproduce the issue values byte for
    byte) and none changes a rule: opencode-rules is prose-level (the
    CLAUDE.md fallback, precedence list and "doesn't automatically parse
    file references" claims behind OC-AGM-003 and XP-001..006 are
    intact), pi-models changed one supportsMessageThreads description
    word (constraint-identical to the vendored v1.5.2 skeleton), and the
    two Antigravity schemas are annotation-only against the vendored
    copies (no key, type or constraint change). All four baseline hashes
    and last_checked refresh.
  • Advance the 2026-11-18 baselines to the live markers (#1848, #1849,
    #1850): Claude Code v2.1.327 (covers v2.1.326), Kiro CLI 3.4.0 and
    Antigravity CLI 1.5.11 (covers 1.5.10; the changelog source remains
    a version marker only).
  • Supply-chain CI repair: ignore RUSTSEC-2026-0543 (chrono unmaintained)
    in cargo audit and cargo-deny, tracked in
    docs/RUSTSEC-ADVISORIES.md like the two existing unmaintained-crate
    ignores. The advisory entered the RustSec database the week of
    2026-11-16 and breaks the Security Audit job on main and every open
    PR; it is unmaintained-only (no vulnerability, patched = []), and
    chrono reaches the tree non-optionally through rmcp (still true in
    rmcp 3.11.0, 2026-11-17) and schemars, so no dependency change can
    remove it today.
  • Claude Code v2.1.323/v2.1.325 (#1827, #1845): CC-PL-021 no longer
    treats subagentStatusLine as a key that takes effect (the setting is
    removed; only the deprecated agent still applies), CC-PL-017 accepts
    the new plugin.json engines field, and CC-MP-002 no longer reports
    npm/pip/uv/cargo/github/gh as reserved marketplace names
    (v2.1.323 un-reserved them). The five drifted Claude doc baselines
    (hooks, memory, plugins-reference, skills, sub-agents) refresh to the
    live sentinel hashes; every affected rule's claims were re-verified
    against the live text (33 hook events unchanged, memory limits
    unchanged, skill frontmatter fields unchanged, agent model values
    unchanged).
  • Codex CLI rust-v0.168.0/rust-v0.169.0 (#1846): accept the twelve new
    [features] flags (agent_message_board_mcp,
    async_compaction_root_only, cli_resume_account_check,
    command_sessions_world_state, daybreak_program_propagation,
    gateway_setup_wizard, guardian_denial_reconsideration,
    guardian_include_additional_context, hosted_search_policy,
    image_generation_animation, mcp_lazy_stdio_startup, tui_workspace)
    and the three new tui keys (collapse_turn_details, default_hosts,
    sidebar_width_percent) behind CDX-CFG-011 and CDX-CFG-006, evidence
    repinned to the tagged rust-v0.169.0 schema.
  • Advance the 2026-11-15 baselines to the live markers (#1827-#1830,
    #1842, #1844, #1846): Kiro CLI 3.3.0, OpenCode 2 v2.3.0 (provider
    settings.tls validates without a rule; the provider settings object
    is open), Antigravity CLI 1.5.9 (settings/plugin schema drift is
    annotation-only), Kimi Code 2.6.2 and Cursor 3.30.14 (baseline-only).
  • Batch the 10 open dependabot PRs (#1832-#1841): crate bumps uuid
    1.29.2, jsonschema 0.61.1 (manifest + lockfile), notify 8.2.2,
    toml 1.2.0+spec-1.1.0 and arc-swap 1.9.5, plus pinned-action bumps
    github/codeql-action v4.39.3 (3 uses), softprops/action-gh-release
    v3.0.4, anthropics/claude-code-action v1.0.271, actions/setup-java
    v6.2.0 and taiki-e/install-action v2.90.3, with the
    .github/workflows/README.md pin rows refreshed to match. Also
    bump the transitive quinn-proto 0.11.19 and quinn-udp 0.5.16
    (lockfile only) to clear RUSTSEC-2026-0523, RUSTSEC-2026-0524
    and RUSTSEC-2026-0538, which the refreshed advisory database
    raised against reqwest's quinn 0.11.9.
  • Accept the nine Codex CLI [features] flags added by the tagged
    rust-v0.167.0 through rust-v0.167.2 configuration schemas (CDX-CFG-011,
    #1826): incremental_tools_legacy_gcp (the rust-v0.167.2 flat-bool
    opt-out from incremental tool updates on Google Cloud Vertex AI, the
    release's only config change) plus apps_early_resource_discovery,
    code_mode_host_output_truncation, gcp_setup_wizard,
    incremental_exec_tools, incremental_tools_legacy,
    interrupt_on_cancel, suppress_model_change_announcements and
    tui_extensions_statusline, schema additions the 0.167.0/0.167.1
    release notes never name. Rule evidence repinned to the rust-v0.167.2
    tagged schema; regression covers TOML, JSON and YAML. rust-v0.168.0
    (published 2026-11-13) is left for its own issue and triage.
  • Advance the 2026-11-13 baselines (#1825, #1826): Codex CLI
    rust-v0.167.2 and Antigravity CLI 1.5.8 (issue #1825 reported 1.5.6;
    the live installer manifest moved on, and all four published
    Antigravity schemas/docs are byte-identical to the 2026-11-11
    baselines, so it is baseline-only with last_checked refreshed).
  • Re-vendor the Pi settings and models constraint schemas from v1.5.2
    (#1817, #1818). models.schema.json adds the compat booleans
    requiresNonNullAssistantContent and requiresToolsWithToolHistory,
    the promptCacheKeyMode enum (auto/enabled/disabled) and
    supportsMessageThreads; settings.schema.json changes only the
    cacheWarming default to idle, a global-only setting already flagged
    in project configuration by PI-CFG-003. Pi rule evidence repinned to
    the v1.5.2 tag; no rule semantics change.
  • Accept the Kiro CLI 3.2.0 chat.keybindings.viewDiagram string setting
    (KR-SET-005/008; opens the newest wide Mermaid diagram on its own
    screen, 2026-11-10 changelog) in the settings table and the
    not-loaded list, with the table and list count tests advanced to 144.
  • Advance the 2026-11-11 baselines: Antigravity CLI 1.5.5 (issue #1815
    reported 1.5.4; the live marker moved on; the settings-schema drift is
    annotation-only and the discovery doc still matches AGY-RL-004), Grok
    Code 1.0.77 (hooks stay open-world, so the 1.0.71 failClosed flag
    validates; the contract comment is reconciled through 1.0.77), Claude
    Code v2.1.322, Codex CLI rust-v0.167.1, Gemini CLI v0.68.0, Kimi Code
    2.5.3, Kiro CLI 3.2.0 and OpenCode 2 v2.2.7 (all baseline-only).
  • Repoint the opencode-rules spec source (#1818): the doc moved
    byte-identical to
    services/site/src/docs/v1/content/rules.mdx in anomalyco/opencode;
    the old packages/web URL returns 404. Refresh the pi-models,
    pi-settings, antigravity-discovery and antigravity-settings baseline
    hashes after review (#1818).
  • Advance the Cursor baseline to 3.29.15. Voice chat with agents
    (2026-11-06) is the only changelog entry published after 2026-11-05 Build
    Live Apps; the Agent SDK (2026-10-20), cloud-agent canvases and
    environments (2026-10-16) and Origin app marketplace (2026-10-13) entries
    predate it, were untriaged on 2026-11-06 and are covered by the 2026-11-09
    triage. None changes a validated config surface.
  • Advance the Cursor baseline to 3.29.9 (the 2026-11-05 Build Live Apps
    release changes no validated config surface) and the Kimi Code baseline to
    @moonshot-ai/kimi-code@2.5.2 (runtime, web and server changes; no
    tool-specific validation exists yet).
  • Advance the Claude Code baseline to v2.1.319, Codex CLI to
    rust-v0.167.0, Kiro CLI to 3.1.0, OpenCode 2 to v2.2.6, Antigravity CLI
    to 1.5.3 and Gemini CLI to v0.67.0. Of these, only Kiro 3.1.0
    (compaction hooks) and OpenCode v2.2.6 (pool) change a validated
    surface; the rest are baseline-only (see
    knowledge-base/reviews/2026-11-08-release-triage.md).
  • Refresh the claude-code-hooks and claude-code-skills spec baseline
    hashes: the 2026-11-08 drift is prose-level; the schemas already cover
    all documented events, matcher lists, handler types and frontmatter
    fields.

Fixed

  • CC-HK-001, CC-HK-003 and CC-HK-021 accept PreSkillShellCommand (Claude
    Code v2.1.332). Older pins reject it in settings, hook files, agent and skill
    frontmatter, and exclude it from suggestions and fixes.
  • CC-PL-017 and CC-MP-005 accept optionalDependencies in plugin manifests
    and marketplace entries (Claude Code v2.1.331); CC-PL-019 checks its
    versions too.
  • GRK-SBX-002 reports unknown keys in sandbox.toml (root and profiles) as
    errors when grok-code is pinned to 1.0.90 or later or left unpinned: the
    CLI reports them as errors and ignores the whole file ("unknown keys in
    sandbox.toml are reported as errors", CLI 1.0.90).
  • CC-AG-019 no longer reports autoCompactWindow values above 1,000,000
    as ignored: the sub-agents reference documents "a token count of
    100000 or more" with no upper bound, so any integer of at least
    100000 is accepted (the plain-integer and string checks are unchanged).
  • Rule docs pages for empty-file rules (WS-001, KIRO-004, CDX-AG-001, CLN-001, COP-001) show the empty or whitespace-only file that triggers them instead of a generic "Configuration omitted required fields" placeholder.

Don't miss a new agnix release

NewReleases is sending notifications on new releases.