Skip to content
pi-c Check-in [541190af05]
Login

Check-in [541190af05]

Overview
Comment:Hooks: a PreToolUse allow may rewrite the call (updatedInput) and a PostToolUse answer may replace the result (updatedToolOutput), as in Claude Code; the rewrite is merged into the journaled input before the tool runs, the replacement is written over the effect and the tool_result entry in one transaction; the search tools' own fields reload from a rewrite; tests for a rewritten bash call, a rewritten grep pattern and a redacted result
Timelines: family | ancestors | descendants | both | hook-fields
Files: files | file ages | folders
SHA3-256: 541190af050a4657124ee9af279e8f8ba193699ddc04e8fe43f76c3ed085f77d
User & Date: dlair on 2026-11-22 21:42:46.857
Other Links: branch diff | manifest | tags
Context
2026-11-23
15:36
merge trunk into hook-fields; loop_pending is the pending call's type name now closed check-in: 60d2ca1498 user: dmestas tags: hook-fields
2026-11-22
21:42
Hooks: a PreToolUse allow may rewrite the call (updatedInput) and a PostToolUse answer may replace the result (updatedToolOutput), as in Claude Code; the rewrite is merged into the journaled input before the tool runs, the replacement is written over the effect and the tool_result entry in one transaction; the search tools' own fields reload from a rewrite; tests for a rewritten bash call, a rewritten grep pattern and a redacted result check-in: 541190af05 user: dlair tags: hook-fields
20:44
land keys-b

via mac, quarry check-in: 21577db451 user: dmestas tags: trunk

Changes