Repository navigation
Close the findings of the 0.7.0 release audit - #265
Merged
Merged
Conversation
Redaction keeps provider rules only. The catch-all rules (generic-api-key, kingfisher.generic/http/auth/curl, curl-auth-*, hashicorp-tf-password, credentials.1, uri.1) flagged 53 spans on the bench fixture, none a secret, and one cost FR-CAL-155 its edge. A span that holds a graph or requirement id is never redacted, and a database URL on a loopback host or with an interpolated or masked password is left as written. The fixture now redacts nothing. redact_secrets = false in zerograph.toml, or ZEROGRAPH_REDACT_SECRETS for one run, turns redaction off. zerograph families now redacts the lines it prints, as the extractor does. The plugin hook stays silent on every event that committed 0.6.x entries in .claude/settings.json still answer, and under Codex on the events left in $CODEX_HOME/hooks.json, so a session hears one brief. npm-pack rewrites an HTML src="..." to the tagged raw URL, so the README logo shows on the npm page. The 0.7.0 notes name the redaction, the two MCP tool changes, the double-hook fix and the GRAMMAR 6 to 7 re-read. The mcp help names the plugins. The comparison GIF shows each frame 10 s.
Codex sets CLAUDE_PLUGIN_ROOT as well as PLUGIN_ROOT, so the hook could not
tell the harnesses apart and under Codex read Claude's legacy settings. The
Codex plugin's hook command now passes --codex (main({harness:'codex'}) on
Windows). A legacy entry silences the plugin only where its matcher matches
the tool, the session source or the agent type, and a Codex entry spelled
with ~, $HOME or ${HOME} is found.
The loopback and placeholder exemption applies to the database URL rules
only, so a provider token in a local URL is still redacted. The host is
parsed as an address rather than matched by prefix, and a password counts
as a placeholder only when the whole of it has that shape.
cache_status is listed as a new tool and reindex as a change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
redact_secrets = falsein zerograph.toml, orZEROGRAPH_REDACT_SECRETSfor one run. Documented in docs/configuration.md, including that coverage is by provider pattern and a genericpassword = "..."is not caught.zerograph familiesredacts the example lines it prints..claude/settings.jsonstill answer (when their script exists), and under Codex on events left in$CODEX_HOME/hooks.json. Codex reads no repo-level hooks file, so the machine file is the analogue. Codex copy synced.src="..."to the tagged raw URL, so the README logo renders on npm.cache_statusandreindexbuilding without a store, the double-hook fix, and a Before upgrading line for the GRAMMAR 6 to 7 full re-read.mcphelp names the plugins. Comparison GIF shows each frame for 10 s.Test plan
cargo test --all-targets(new: tests/redaction.rs, the exact fixture false positives, id spans, loopback DB URLs)cargo clippy --all-targets -- -D warningsclaude plugin validate --stricton agent/claude-code and agent/codex;claude plugin test26 passscripts/npm-pack.shdry run: logo points at raw v0.7.0