Skip to content

privacy: scrub real hub paths/script names from public benchmarks#41

Merged
daviduuuul merged 1 commit into
mainfrom
privacy/scrub-hub-paths
Jun 21, 2026
Merged

privacy: scrub real hub paths/script names from public benchmarks#41
daviduuuul merged 1 commit into
mainfrom
privacy/scrub-hub-paths

Conversation

@daviduuuul

Copy link
Copy Markdown
Owner

Cosa

Rimuove dal repo pubblico i riferimenti al setup locale privato dell'autore, finiti dentro i benchmark.

Punti ripuliti:

  • benchmarks/config-eval/corpus.json (scenari s8/s14/s17) — path assoluti C:\ClaudeCode\.claude\hooks\*.ps1, i nomi reali degli hook-guard, e MEMORY_FILE_PATH → placeholder generici (./hooks/*.ps1, ./memory.jsonl).
  • benchmarks/config-eval/README.md — riga "dogfood" che citava il path dell'hub → $CLAUDE_CONFIG_DIR.
  • benchmarks/drift/PROTOCOL.md — path personale C:\Users\davide\... e C:\ClaudeCode\.staging\...C:\path\to\whippet / $env:TEMP\whippet-drift.

Perché

Non sono segreti, ma espongono un setup locale privato (struttura cartelle, nomi degli script di sicurezza, posizione del file di memoria) in un repo pubblico. Niente di tutto ciò serve al plugin.

Sicurezza del cambiamento

Gli scenari "clean baseline" toccati restano puliti (0 findings): recall invariata 96.5%, npm test verde, JSON valido.

🤖 Generated with Claude Code

The config-eval corpus (s8/s14/s17) and two benchmark docs had the author's
real Claude Code hub pasted in: absolute C:\ClaudeCode\.claude\hooks paths,
the actual guard-script names, the memory.jsonl path, and a personal
C:\Users\davide checkout path. None are secrets, but they expose a private
local setup in a public repo. Replaced with generic placeholders
(./hooks/*.ps1, ./memory.jsonl, $env:TEMP, C:\path\to\whippet). The clean
baseline scenarios stay clean — recall unchanged (96.5%), npm test green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@daviduuuul daviduuuul merged commit 2b70ee0 into main Jun 21, 2026
4 checks passed
@daviduuuul daviduuuul deleted the privacy/scrub-hub-paths branch June 21, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant