diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 17:04:30 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 17:04:30 +0000 |
| commit | 78712cc90cf84c553751f9ef5969dddc5960a195 (patch) | |
| tree | cdf6848d85393d7ae9d638c1c3649ba41d3e658b /src/json_errors.rs | |
| parent | 5eb207b0c5989d886e671372023bdb66abb679db (diff) | |
| download | genenetwork4-78712cc90cf84c553751f9ef5969dddc5960a195.tar.gz | |
gemma: keep the server's paths out of the reply's notes
The ravanan note carried the invocation verbatim -- "/gnu/store/...-ravanan" and "--store=/home/wrk/tmp/ai-root/slurm-share/..." -- and the workflow note carried the checkout path. Those notes are read in chats and pasted into repositories, so they were publishing the deployment's layout. redact_paths() keeps every token's file name and drops the directories: "which ravanan, which manifest, which workflow" survives, the server's layout does not. A unit test asserts no note can carry an absolute path again.
Diffstat (limited to 'src/json_errors.rs')
0 files changed, 0 insertions, 0 deletions
