Crash/slowness/cost pass on the API-key rail (Vera-QA-passed). Full diagnosis: Deliverables/2026-05-27-cloverleaf-larry-v0812-crash-slowness-cost.md. - Crash fix: CR-coerce at 3 response-path accounting sites (non-streaming cost, streaming cost, _record_ctx_used) via coerce_int promoted to lib/cygwin-safe.sh — guards CRLF-tainted jq usage counts on Cygwin/MobaXterm (v0.7.5 Anomaly-#4 recurrence on the response path). - Slowness: collapsed per-delta jq forks in the SSE hot path (3 -> 2 forks/event on text, 1 on ignored deltas) — dominant fix for the laggy per-turn render on Windows fork emulation. Plus per-session PHI sidecar /health probe caching. - Cost: prompt caching wired in — system sent as block array + last tool marked cache_control: ephemeral, billing the ~12.7K static prefix at the cache-read rate after turn 1 (~90% prefix cut, lower TTFB). - PHI tier-5 notice now default-silent (LARRY_PHI_NOTICE=1 to re-enable). Co-Authored-By: Clover (Claude Opus 4.7) <noreply@anthropic.com>
30 lines
467 B
Plaintext
30 lines
467 B
Plaintext
# Larry runtime artifacts (created in $LARRY_HOME, not the source repo, but
|
|
# included here for defensive hygiene in case someone runs Larry from the repo dir).
|
|
sessions/
|
|
journal/
|
|
knowledge/
|
|
.env
|
|
.api-key
|
|
.api-key.*
|
|
.oauth-optin-warned
|
|
bin/jq
|
|
bin/jq.exe
|
|
*.larry-prerollback.*
|
|
*.larry-tmp.*
|
|
.phi-notice-shown
|
|
.phi-avail-*
|
|
.b64-py3-notice-shown
|
|
.last-stream-headers
|
|
|
|
# Editor / OS noise
|
|
.DS_Store
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Backup files from sed -i
|
|
*.bak
|
|
*.bak2
|