Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: commit-check/commit-check
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.24.2
Choose a base ref
...
head repository: commit-check/commit-check
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.25.0
Choose a head ref
  • 6 commits
  • 14 files changed
  • 2 contributors

Commits on Nov 24, 2026

  1. docs: use the released 2.24.2 in the pipe's README and pipe.yml (#741)

    docs: name the released pipe version in the pipe's source files
    
    Co-authored-by: Xianpeng Shen <[email protected]>
    shenxianpeng and shenxianpeng authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    0648285 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2026

  1. Configuration menu
    Copy the full SHA
    e991812 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2026

  1. Configuration menu
    Copy the full SHA
    393487d View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2026

  1. feat: check agent config files for risky settings (#744)

    * feat: check agent config files for risky settings
    
    Add four rules that run with --files and read the agent config files a
    commit touches: CC601 agent-mcp-auto-approve, CC602 agent-api-endpoint,
    CC603 agent-full-access and CC604 agent-open-trigger. They are off until
    [agent_config] enabled = true.
    
    What each agent's files and settings are is data, in
    commit_check/agent_configs.toml: Claude Code, Codex, Gemini CLI, Cursor
    CLI, GitHub Copilot in VS Code and the Claude Code GitHub Action, each
    setting with a link to the agent's documentation. Another agent is one
    more table there and a test case.
    
    * refactor: shorten the agent config rule messages
    
    * fix: list every agent config finding and name its commit
    
    - rename allowed_mcp_servers and allowed_api_endpoints to
      allow_mcp_servers and allow_api_endpoints, with their env vars and
      flags, to match the other allow_ keys
    - list every finding under the failure line, and every finding in the
      JSON value, instead of the first one and a count
    - over a push of several commits, name the commit a finding is in
    - count a YAML setting only inside the step that uses the action, read
      composite actions, and keep * within one directory
    
    * refactor: rename CC604 to agent-unrestricted-trigger
    
    "open" read as "open the trigger". "unrestricted" says what the rule
    checks, a "*" with no restriction, and matches the name an existing
    linter gives the same check.
    
    * fix: close gaps in reading agent config files
    
    - read JSON with comments in linear time: a "/*" or string that never
      closes no longer makes the check take seconds on a large file
    - follow every key path that is present, so a decoy "env.X" key cannot
      hide the env block beside it
    - read quoted YAML values as YAML does, so "*" is "*"
    - count only a step's direct "with:" inputs, not text in its prompt
    - report a file too large or unreadable as not read, instead of passing
      it as checked
    
    * fix: read quoted uses and with keys, and skip files nested too deep
    
    A step written with "uses": or "with": as quoted keys is now read.
    A file nested deeper than Python's parsers go is treated as one that
    does not parse, instead of ending the run with an error.
    
    * refactor: rename [agent_config] to [agent]
    
    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.
    
    * fix: read YAML keys as YAML does in agent workflows
    
    Keys are now read the way values already were: a quoted key with
    escapes, such as "with", is with, and a tag or anchor before a
    key or value, such as !!str or &name, is passed over. One line reader
    now serves uses, with and the setting, instead of a pattern each.
    
    * fix: read agent workflows in linear time, and with: !!map
    
    - match a line's indent and list dash one way only, so a long line of
      spaces that is not a key fails at once instead of in quadratic time
    - walk each line of a workflow once, however many uses: or with: lines
      it holds
    - read the inputs of "with: !!map" and "with: &name", a tag or anchor
      on the inputs' mapping
    shenxianpeng authored Nov 27, 2026
    Configuration menu
    Copy the full SHA
    5920654 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4404c35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    145bc18 View commit details
    Browse the repository at this point in the history
Loading