| Age | Commit message (Collapse) | Author |
|
|
|
(40b5dbe)
|
|
security-guidance: state what the hooks report as usage data
|
|
security-guidance: say which Python failed when none works
|
|
|
|
When every interpreter the launcher tried failed, its message was the same
as with no Python at all, so a version manager's shim with no version set
read as Python not being installed.
The first line now names python3, python and py -3 with what they did,
because Claude Code's terminal shows only the first line of a failed hook.
A later line has all of them. The interpreters' own output is not
repeated. Nothing changes in which interpreter is started, in the exit
code or in the number of processes.
See anthropics/claude-code#86709.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
bump(vercel): 882e66c2 → 50af4780
|
|
|
|
The README says what the values in the hooks' metrics field are, that Claude
Code can add them to its usage metrics, and how to turn that off.
The deserialization warning describes the .pyc serializer instead of naming
its module. A header test builds its made-up keys at run time.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
|
|
Squash merge of 1 commit
|
|
security-guidance: bump version to 2.0.21
|
|
security-guidance: keep the interpreter check working through a .bat shim
|
|
security-guidance: skip other repositories whose settings change what git runs
|
|
Squash merge of 3 commits
|
|
bump(aikido): 75e45f33 → e72df774
|
|
|
|
Squash merge of 1 commit
|
|
Squash merge of 1 commit
|
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
The hooks run git in the session's repository and in those the session
moves to. A repository other than the session's own is now skipped when
its own config has settings that change what git runs. An index copy made
in another repository holds only the entries for files.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
pyenv-win's python names end in a batch file. In its released version
(3.1.1) cmd.exe read the ">=" in the check as a redirect: every hook left
an empty "(3" file in the project, and the interpreter was rejected. With
no other Python no hook ran.
The check now uses only characters that arrive unchanged. On Windows a
name that loses the argument counts as unable to read the hook script, so
the launcher goes on to its real interpreter.
See #7172.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
|
|
feat(discord): add list_emojis tool
|
|
security-guidance: commit and push reviews no longer hold a large diff in memory
|
|
|
|
feat(discord): add create_thread tool
|
|
Windows can release a killed process's file lock a moment after the
process ended, so the wait that follows may see it held once more.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
# Conflicts:
# plugins/security-guidance/hooks/security_reminder_hook.py
|
|
security-guidance: keep a review's result and time on full metric rows
|
|
security-guidance: review text files renamed to code names
|
|
security-guidance: tell the commit reviewer its text is not read
|
|
security-guidance: review a commit-and-push again when the commit review gave no verdict
|
|
|
|
|
|
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
security-guidance: use the CA file macOS ships when Python has none
|
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
|
|
A python.org Python on macOS has no CA certificates until its "Install
Certificates" command is run, so every review from it failed to verify
the API's certificate. Where Python's default TLS context holds no
certificate at all, the plugin now adds /etc/ssl/cert.pem, the file
Apple's own Python uses. Verification is unchanged.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
The commit and push reviews captured, decoded and split the whole
`git show -p` / `git diff` before looking at the number of files. An
import of 5,800 files and 4.6 M lines took 6.4 GB, and the review was
then skipped for its file count.
Read git's output as it arrives and keep what the review uses: the
characters of each file the prompt takes, a count of the added lines
after them, and past the file cut-off only the file names.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
With findings, the critical and high counts could be cut from a full row. They now come with the result. commit_review_on and push_sweep_on, which are always true on a reviewed row, go last instead.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
security-guidance: fewer false edit warnings on ordinary JavaScript
|
|
security-guidance: edit hook no longer waits on App Installer's python alias
|
|
security-guidance: match git commit and push continued on the next line
|
|
security-guidance: custom rule globs can use braces
|
|
A text file whose name or folder says it holds secrets (api_keys.txt,
tokens.txt, secrets/prod.md) was read whole when it was renamed to a code
name. It now stays out of the review, and so does a file that recent commits
renamed from such a name.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|
|
report a failure the push review did not
A message-only amend made while the first review was running counted as
reviewed at once. When that review then failed, a later push reviewed
nothing. The amend now waits for that review.
A failed commit review stayed quiet for the push review of its own command,
which can itself end quietly (a cap, no network, killed). It now waits for
the push review, and reports unless that one got a verdict or told of its
own failure.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
|