| Age | Commit message (Collapse) | Author |
|
security-guidance: review commits and pushes made through the PowerShell tool
|
|
security-guidance: keep the pip temp folder to a real folder of this user
|
|
security-guidance: review what a commit-and-push command sends out beyond its own commit
|
|
security-guidance: stop custom rule regexes that run too long
|
|
security-guidance: custom rule globs can be relative to the project
|
|
security-guidance: read yaml, torch and numpy load calls across their arguments
|
|
security-guidance: hold back a host's token by the host, not the output setting
|
|
security-guidance: find Claude Code for the gateway sign-in check on Windows
|
|
security-guidance: push review of a merge reviews what the push added
|
|
security-guidance: pack the custom rule counts into one telemetry key
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
newest listed
The commit reviewer asked its CLI for the opus alias, so an out-of-date
CLI reviewed on an older model. It now uses the same lookup as the diff
review, at medium effort, and keeps the alias when the endpoint can't
list models. The retry model comes from the same lookup. Model names
remain only for a direct API call when the endpoint can't list.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: Claude <noreply@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
its own commit
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
security-guidance: bump version to 2.0.19
|
|
security-guidance: keep project rules after the session changes folder
|
|
security-guidance: set an environment variable for the launcher's interpreter probes
|
|
security-guidance: count reviewer verdicts the CLI refused
|
|
security-guidance: send a claude.ai token as a bearer, hold back a gateway's
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
# Conflicts:
# plugins/security-guidance/README.md
|
|
In a session signed in to a Claude apps gateway the check only knew macOS and
Linux paths, so Windows reviews were skipped unless SG_AGENTIC_CLI_PATH was
set. Look at the native installer's claude.exe too.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
security-guidance: count commits that no commit hook saw
|
|
security-guidance: stop the commit reviewer renewing a stored login
|
|
security-guidance: say when a Stop finding is in a file the session has no record of editing
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
The test helper opened the first JSON file in the state directory, which can
be the review model cache depending on directory order. Select the session
state file by its prefix and require exactly one.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
interpreter probes
sg-python.sh asks a candidate interpreter for its version and, for a
packaged Windows alias, for its real path, with `python -c`. Both calls
import only os and sys, so they now run with PYTHONSAFEPATH=1, which tells
Python not to add its usual first entry to the import path.
The variable is set for those two calls alone, so the hook starts with the
same environment as before. Python older than 3.11 ignores the variable.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
The reviewed prefix could end on the merged-in branch, so the diff held
everything the first parent has that the branch lacks. Keep the base on
HEAD's first-parent line. A merge whose history is all reviewed is sent as
its combined diff, so only its conflict resolutions and hand edits are read.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
reviewer's token
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
A record lost before one Stop was treated as whole by the next, and a prompt
that was never stored as having no edits, so the note could name the
session's own file. File names in the note are quoted as JSON.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Measure only, for #5746: one key on the commit and push review row when the
reviewer's verdict was refused, and how many were wrapped in their own key.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
A claude.ai token that arrives as ANTHROPIC_API_KEY (from an apiKeyHelper) is
refused by the API as a key; send it as a bearer. On hosts other than Claude
Code, a bearer that is not a claude.ai token is not sent without a base URL.
Other hosts' base URLs and cloud providers are left alone.
Fixes #6955
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|