feat: scratchpad tool + fix Claude auth token expiry warning

- Add cortex/tools/scratch.py with scratch_read/write/append/clear tools
- Register all four scratch tools in the orchestrator tool registry
- Create inara/SCRATCH.md as the backing file (never distilled/archived)
- Fix auth.py: expiresAt reflects short-lived access token (~8h) not the
  1-year refresh token — suppress expiry warning when refreshToken is present

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-03-20 21:10:03 -04:00
parent 31a5ef0541
commit 1b32667872
4 changed files with 169 additions and 4 deletions

7
inara/SCRATCH.md Normal file
View File

@@ -0,0 +1,7 @@
# Inara — Scratchpad
Transient working notes. Nothing here is distilled or archived.
Use this for mid-task context, half-formed ideas, or anything too long
for a chat response but not worth saving to memory or a journal.
---