{
  "schema_version": 1,
  "id": "agent-devenv-autoexec",
  "track": "coding",
  "name": "Flag Dev Tools That Run Code on Open",
  "version": "0.0.3",
  "sha256": "80cd6d3873750a9d759d58441d30e9935963071a53ca244df8f75cc702f7bdf7",
  "sha256_v1": "696c1aa79f08cfd3be7bf56355bc2a74a6db8e431aa986fc2133bf66f1cb6724",
  "keyword": "warn",
  "word": "warns",
  "says": "warns on an agent's file writes and at turn end",
  "description": "Warns only (observe): flags files that make a dev tool run code on open, clone or shell entry -- agent hooks, helpers, env/BASE_URL overrides, auto-approve; VS Code folderOpen tasks, trust off, repo executables; devcontainer initializeCommand; .envrc, mise, husky, lefthook, pre-commit; gitconfig exec keys, gitattributes drivers, unsafe .gitmodules. Commit, agent write, turn's end; additions only; unreadable configs refused. Friction: misses interpreted code and unlisted files.",
  "misses": null,
  "where": [
    "write",
    "turn-end"
  ],
  "groups": [
    "agent-config"
  ],
  "eval_cases": 50,
  "eval_executed": 50,
  "latest": {
    "version": "0.0.3",
    "date": "2026-10-27",
    "change": "Title wording only (IR-F40): \"Agent Devenv Autoexec\" is now \"Flag Dev Tools That Run Code on Open\". The id, guard and tests are unchanged."
  },
  "agent_labels": {
    "claude-code": {
      "keyword": "warn",
      "says": "warns on an agent's file writes and at turn end"
    },
    "cursor": {
      "keyword": "warn",
      "says": "warns on an agent's file writes and at turn end"
    },
    "codex": {
      "keyword": "warn",
      "says": "warns on an agent's file writes and at turn end. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run)"
    },
    "copilot": {
      "keyword": "warn",
      "says": "warns at turn end only. It does not check a file write when it happens. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run)"
    },
    "devin": {
      "keyword": "warn",
      "says": "warns at turn end only. It does not check a file write when it happens. If the hook errors, the action goes through (vendor docs only, not witnessed)"
    },
    "grok": {
      "keyword": "ungraded",
      "says": "Not graded yet for Grok"
    },
    "goose": {
      "keyword": "ungraded",
      "says": "Not graded yet for goose"
    },
    "antigravity": {
      "keyword": "ungraded",
      "says": "Not graded yet for Antigravity"
    },
    "openhands": {
      "keyword": "ungraded",
      "says": "Not graded yet for OpenHands"
    },
    "kimi-code": {
      "keyword": "ungraded",
      "says": "Not graded yet for Kimi Code"
    },
    "factory-droid": {
      "keyword": "ungraded",
      "says": "Not graded yet for Factory Droid"
    }
  },
  "source_url": "https://github.com/open-coder-ai/chock-catalog/tree/1e60d211c1bb767152c6ab0167932da06ab3a10f/base/agent-devenv-autoexec",
  "enforces": "advisory",
  "examples": [
    {
      "word": "Warns",
      "prompt": "A change adds a SessionStart hook command to the project's agent settings.",
      "command": null
    },
    {
      "word": "Allowed",
      "prompt": "An existing agent hook stays as it is while another setting changes.",
      "command": null
    }
  ]
}
