summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
13 daysMerge pull request #7034 from anthropics/mhegazy/sg-bump-2019Mohamed Hegazy
security-guidance: bump version to 2.0.19
13 daysMerge pull request #7029 from anthropics/mhegazy/sg-project-rules-after-cdMohamed Hegazy
security-guidance: keep project rules after the session changes folder
13 daysMerge pull request #7050 from anthropics/mhegazy/sg-launcher-probe-envMohamed Hegazy
security-guidance: set an environment variable for the launcher's interpreter probes
13 daysMerge pull request #7032 from anthropics/mhegazy/sg-refused-verdict-countMohamed Hegazy
security-guidance: count reviewer verdicts the CLI refused
13 daysMerge pull request #7031 from anthropics/mhegazy/sg-credential-routingMohamed Hegazy
security-guidance: send a claude.ai token as a bearer, hold back a gateway's
13 dayssecurity-guidance: keep the user's own rules out of the commit count testsmhegazy/sg-custom-rule-countsMohamed Hegazy
Co-authored-by: mhegazy <mhegazy@anthropic.com>
13 daysMerge mainMohamed Hegazy
Co-authored-by: mhegazy <mhegazy@anthropic.com>
13 daysMerge pull request #7033 from anthropics/mhegazy/sg-unseen-commit-countMohamed Hegazy
security-guidance: count commits that no commit hook saw
13 daysMerge pull request #6921 from anthropics/mhegazy/sg-reviewer-oauth-tokenMohamed Hegazy
security-guidance: stop the commit reviewer renewing a stored login
13 daysMerge pull request #6838 from anthropics/mhegazy/sg-stop-finding-names-unwrittenMohamed Hegazy
security-guidance: say when a Stop finding is in a file the session has no record of editing
13 dayssecurity-guidance: tests read the session state file by nameMohamed Hegazy
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>
13 dayssecurity-guidance: keep the user's own rules out of the custom rule testsMohamed Hegazy
Co-authored-by: mhegazy <mhegazy@anthropic.com>
13 dayssecurity-guidance: set an environment variable for the launcher's ↵mhegazy/sg-launcher-probe-envMohamed Hegazy
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>
2026-11-07security-guidance: bump version to 2.0.19mhegazy/sg-bump-2019Mohamed Hegazy
Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-07security-guidance: read blank and off variables as not set for the ↵mhegazy/sg-reviewer-oauth-tokenMohamed Hegazy
reviewer's token Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-07security-guidance: keep an incomplete edit record incomplete for the whole turnmhegazy/sg-stop-finding-names-unwrittenMohamed Hegazy
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>
2026-11-07security-guidance: count reviewer verdicts the CLI refusedmhegazy/sg-refused-verdict-countMohamed Hegazy
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>
2026-11-07security-guidance: send a claude.ai token as a bearer, hold back a gateway'smhegazy/sg-credential-routingMohamed Hegazy
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>
2026-11-07security-guidance: count commits that no commit hook sawmhegazy/sg-unseen-commit-countMohamed Hegazy
A commit review starts from a hook on the Bash tool, so a commit made any other way starts none. The Stop row now carries turn_commits: how many commits the turn made, how many have no review, and how many of those no commit hook saw. Count only; what is reviewed does not change, and no hook entry is added. Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-07security-guidance: count how custom rules are writtenMohamed Hegazy
Measure only: path globs a wider reading would change, refused and counted repeats in regexes, and the slowest custom regex, on the Stop row. Which rules apply does not change. Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-07security-guidance: keep project rules after the session changes foldermhegazy/sg-project-rules-after-cdMohamed Hegazy
Project rules and guidance were read from the session's current folder, so one cd dropped them silently. Read the project's own folder too while the session is elsewhere in the project; in a linked worktree, the same folder of that worktree. Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-06Merge branch 'main' into mhegazy/sg-reviewer-oauth-tokenMohamed Hegazy
2026-11-06Merge pull request #7014 from anthropics/mhegazy/sg-bump-2018Mohamed Hegazy
security-guidance: bump version to 2.0.18
2026-11-06Merge pull request #6997 from anthropics/mhegazy/sg-net-err-on-verdictMohamed Hegazy
security-guidance: clear net_err when a review gets through
2026-11-06Merge pull request #7000 from anthropics/mhegazy/sg-index-copy-all-gitlinksMohamed Hegazy
security-guidance: drop every gitlink from the index copy
2026-11-06Merge pull request #6985 from anthropics/mhegazy/sg-sdk-install-timeoutMohamed Hegazy
security-guidance: a timed-out SDK install leaves no download behind and pauses before retrying
2026-11-06Merge pull request #6920 from anthropics/mhegazy/sg-interp-reparse-telemetryMohamed Hegazy
security-guidance: count Windows sessions whose Python is behind a link (measurement only)
2026-11-05Add plugin.json to the 14 plugins that have none (#7013)Jake Marsh
The twelve language-server plugins, receipts and session-report had no .claude-plugin/plugin.json, so their folders didn't load or validate on their own. Each manifest only carries fields copied unchanged from the plugin's marketplace entry; marketplace.json is not touched. kotlin-lsp and php-lsp READMEs gain a sentence describing what the plugin does, and kotlin-lsp gets the title its siblings have.
2026-11-06security-guidance: fail the snapshot in the no-edit-record test the way main ↵Mohamed Hegazy
takes it The turn baseline no longer uses git stash create, so the git stand-in fails write-tree instead.
2026-11-06Merge remote-tracking branch 'origin/main' into ↵Claude
mhegazy/sg-stop-finding-names-unwritten # Conflicts: # plugins/security-guidance/hooks/security_reminder_hook.py
2026-11-05Add champion-kit plugin (#7017)Kevin Martin
Squash merge of 1 commit
2026-11-05security-guidance: bump version to 2.0.18mhegazy/sg-bump-2018Claude
Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-05Merge main into mhegazy/sg-sdk-install-timeoutmhegazy/sg-sdk-install-timeoutClaude
Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-05Merge main into mhegazy/sg-index-copy-all-gitlinksmhegazy/sg-index-copy-all-gitlinksClaude
Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-05Merge main into mhegazy/sg-net-err-on-verdictmhegazy/sg-net-err-on-verdictClaude
Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-05Merge main into mhegazy/sg-interp-reparse-telemetrymhegazy/sg-interp-reparse-telemetryClaude
Co-authored-by: mhegazy <mhegazy@anthropic.com>
2026-11-05Merge main into mhegazy/sg-interp-reparse-telemetrymhegazy
Both sides add a metric after the launcher probe timings on the SessionStart row; keep launcher_direct, then interp_reparse as the last key.
2026-11-05Merge pull request #6835 from anthropics/mhegazy/sg-secret-rename-pairingMohamed Hegazy
security-guidance: keep a renamed file paired with its old name in the Stop review
2026-11-05Merge pull request #6965 from anthropics/mhegazy/sg-agentic-stop-on-authMohamed Hegazy
security-guidance: stop the commit reviewer on refused credentials, end hung reviews in time
2026-11-05Merge pull request #6627 from anthropics/mhegazy/sg-review-sessions-not-savedMohamed Hegazy
security-guidance: do not save review runs as session transcripts
2026-11-05Merge pull request #6998 from anthropics/mhegazy/sg-count-unmatched-bash-startsMohamed Hegazy
security-guidance: count Bash hook starts that match no commit or push
2026-11-05Merge pull request #6922 from anthropics/mhegazy/sg-prompt-snapshotMohamed Hegazy
security-guidance: take the turn baseline without git stash create
2026-11-05Merge pull request #6919 from anthropics/mhegazy/sg-add-failure-fixMohamed Hegazy
security-guidance: keep new files in the Stop review when git add -N fails
2026-11-05Merge pull request #6930 from anthropics/fix/sg-blank-base-urlMohamed Hegazy
security-guidance: treat a blank ANTHROPIC_BASE_URL as unset
2026-11-05Merge pull request #6918 from anthropics/mhegazy/sg-launcher-alias-real-pathMohamed Hegazy
security-guidance: stop starting the packaged Python alias on every hook
2026-11-05Merge pull request #6999 from anthropics/mhegazy/sg-windows-cli-pathMohamed Hegazy
security-guidance: on Windows, name the CLI for the Agent SDK by its full path
2026-11-05Merge pull request #7001 from anthropics/mhegazy/sg-state-dir-owner-onlyMohamed Hegazy
security-guidance: keep the state folder to its user
2026-11-05Merge pull request #7002 from anthropics/mhegazy/sg-git-log-signature-offMohamed Hegazy
security-guidance: read git log output without signature checks
2026-11-05Merge pull request #7003 from anthropics/mhegazy/sg-project-config-filesMohamed Hegazy
security-guidance: read project config files only as real files
2026-11-05security-guidance: keep the native install in sessions started above the ↵mhegazy/sg-windows-cli-pathMohamed Hegazy
home folder Co-authored-by: mhegazy <mhegazy@anthropic.com>