Repository navigation
Commit d5f2840
Test a failed draft database setup; say what quitting forgets and what stays (#31)
- AgentCatalogTests: a file that exists but is not SQLite (the handle is
opened, setup SQL fails) and a path under a regular file both return nil
from SQLiteDraftStore, 50 times each, with no crash and the file left
byte-identical. Stated in the test: this does not prove the handle is closed
once; SQLite rejects a second close quietly here, and the run also passes
with `db = nil` removed.
- docs P-06: quitting drops helper connections, receipt proofs, this-run
approvals of unidentified hosts, the instruction share selection and the
closed-draft key memory; drafts stay in drafts.sqlite and registered apps'
approvals, revocations and receipt choices in agent-approvals.json. The old
line said open drafts and approval records were lost on quit.
Agent: Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent b42d5ad commit d5f2840
2 files changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
270 | 286 | | |
271 | 287 | | |
272 | 288 | | |
| |||
367 | 383 | | |
368 | 384 | | |
369 | 385 | | |
370 | | - | |
| 386 | + | |
371 | 387 | | |
372 | 388 | | |
373 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments