aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/search.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 12:46:14 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 12:46:14 +0200
commiteb0f3b598cfed68cdf93036ce2607205e1323124 (patch)
tree7a0a5c2335656557c569b2690d380ff387ef88ef /examples/tools/search.sh
parentaa971ce69e1fff2da10c4892a8f8da424f825dc2 (diff)
downloaddesktop-assistant-eb0f3b598cfed68cdf93036ce2607205e1323124.tar.gz
desktop-assistant-eb0f3b598cfed68cdf93036ce2607205e1323124.zip
History: enforce modes on existing paths, index turns, strip NUL
From review of the storage commit. makedirs and connect leave an existing directory or file at whatever mode it had, so a history dir made earlier with the default umask stayed 0755; both are now chmodded. A NUL in a search ended the FTS string and raised instead of returning nothing. The index on turns(conv, seq) serves the seq lookup per save, load_conv and the cascade, which otherwise scan every turn. The self-check now also asserts that an OR query matches nothing, which a non-raising but unquoted query would not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/search.sh')
0 files changed, 0 insertions, 0 deletions