Overview
| Comment: | ctx guard: keep secrets out of the conversation. PreToolUse turns back direct reads of secret files (Read on .env, cat/grep of one, < from one, env or printenv alone) with a way to use them unprinted; ctx guard post (PostToolUse) returns the tool's result with the archive's redaction applied, as updatedToolOutput for pic and updatedMCPToolOutput for Claude Code's MCP tools. Redaction now also catches Doppler service tokens with a config (dp.st.prd.TOKEN), version 4, so the archive is redacted again. |
|---|---|
| Timelines: | family | ancestors | descendants | both | secrets-guard |
| Files: | files | file ages | folders |
| SHA3-256: |
100c35d51c207858f574c24513b29b7f |
| User & Date: | dmestas on 2026-11-24 13:30:12.222 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-24
| ||
| 13:52 | guard post: one pass over the JSON's strings (linear, every duplicate key, NULs kept), a field named data redacted with only base64 blobs left alone, and a host name under dp.st. not taken for a Doppler token check-in: eb30db897d user: dmestas tags: secrets-guard | |
| 13:30 | ctx guard: keep secrets out of the conversation. PreToolUse turns back direct reads of secret files (Read on .env, cat/grep of one, < from one, env or printenv alone) with a way to use them unprinted; ctx guard post (PostToolUse) returns the tool's result with the archive's redaction applied, as updatedToolOutput for pic and updatedMCPToolOutput for Claude Code's MCP tools. Redaction now also catches Doppler service tokens with a config (dp.st.prd.TOKEN), version 4, so the archive is redacted again. check-in: 100c35d51c user: dmestas tags: secrets-guard | |
| 11:37 | land stats-pic-journal check-in: 0ee3d8ff0d user: context-bot tags: trunk | |
Changes
Modified docs/howto.md
from [656c1f1ddc]
to [6c78d0f593].
[diff]
Modified src/ctx.c
from [8bd63b342c]
to [694867cecd].
[diff]
Modified test/run.sh
from [f003475b63]
to [86a707ccbd].
[diff]