Commit 15a4deb
sanitize(memory): strip personal data from hex-foundation
Caught during a post-release review — three personalization leaks slipped past
Gate 4's sanitize-check (the check doesn't scan test fixtures or comments):
1. provider.rs hex_root() fallback was the hardcoded path /Users/mrap/hex.
Now uses $HOME/hex (or /tmp/hex as last resort), matching the rest of the
codebase's $HOME-relative pattern.
2. recall.rs test fixture used person:whitney / 'Mike\'s wife'.
Renamed to person:alice / 'a sample person'.
3. recall.rs comments + slug-boost examples used "whitney" / "whitney-chew".
Renamed to "alice" / "alice-johnson".
Note: there is still substantial pre-existing personalization elsewhere in
the codebase (mrap-hex paths in ~8 files, hardcoded /Users/mrap/... in
integration modules, mrap-dev GCP project) — out of scope for this commit
but worth a dedicated sanitize pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4a7f0ac commit 15a4deb
2 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | | - | |
345 | | - | |
| 344 | + | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
0 commit comments