You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5a572a4
Browse filesBrowse the repository at this point in the historyBrowse files
Every other section is one word: commit, branch, push, tag, files.
The flags become --agent-enabled, --agent-allow-mcp-servers and
--agent-allow-api-endpoints, and the env vars CCHK_AGENT_ENABLED,
CCHK_AGENT_ALLOW_MCP_SERVERS and CCHK_AGENT_ALLOW_API_ENDPOINTS.
| `agent_config.enabled` | `false` | `--agent-config-enabled` | `CCHK_AGENT_CONFIG_ENABLED` | Report risky settings in the agent config files a commit touches, with `--files`: MCP servers approved without asking (CC601), API requests sent to another endpoint (CC602), commands run without asking or outside the sandbox (CC603), and agent workflows anyone can start (CC604). Covers Claude Code, Codex, Gemini CLI, Cursor CLI, GitHub Copilot in VS Code and the Claude Code GitHub Action; the list is [`agent_configs.toml`](https://github.com/commit-check/commit-check/blob/main/commit_check/agent_configs.toml) |
157
-
| `agent_config.allow_mcp_servers` | `[]` | `--agent-config-allow-mcp-servers` | `CCHK_AGENT_CONFIG_ALLOW_MCP_SERVERS` | MCP servers, by name, that the agent config may approve (CC601) |
158
-
| `agent_config.allow_api_endpoints` | `[]` | `--agent-config-allow-api-endpoints` | `CCHK_AGENT_CONFIG_ALLOW_API_ENDPOINTS` | API endpoint URLs the agent config may send requests to (CC602), such as your company's LLM gateway |
156
+
| `agent.enabled` | `false` | `--agent-enabled` | `CCHK_AGENT_ENABLED` | Report risky settings in the agent config files a commit touches, with `--files`: MCP servers approved without asking (CC601), API requests sent to another endpoint (CC602), commands run without asking or outside the sandbox (CC603), and agent workflows anyone can start (CC604). Covers Claude Code, Codex, Gemini CLI, Cursor CLI, GitHub Copilot in VS Code and the Claude Code GitHub Action; the list is [`agent_configs.toml`](https://github.com/commit-check/commit-check/blob/main/commit_check/agent_configs.toml) |
157
+
| `agent.allow_mcp_servers` | `[]` | `--agent-allow-mcp-servers` | `CCHK_AGENT_ALLOW_MCP_SERVERS` | MCP servers, by name, that the agent config may approve (CC601) |
158
+
| `agent.allow_api_endpoints` | `[]` | `--agent-allow-api-endpoints` | `CCHK_AGENT_ALLOW_API_ENDPOINTS` | API endpoint URLs the agent config may send requests to (CC602), such as your company's LLM gateway |
159
159
| `pull_request.ai_declaration_checkboxes` | `[]` (off) | — | — | The AI declaration checkboxes of your pull request template (often headed "AI disclosure"), e.g. `["No AI tools were used", "AI tools were used"]`. A description checked with `--ai-attribution-only` must tick exactly one of them (CC501). Each entry matches a box whose text starts with it, ignoring case and bold; boxes in HTML comments and code blocks do not count |
160
160
161
161
Output and appearance are per-run flags, not configuration: `--format json`,
0 commit comments