SQLite can store string placeholders like "-", "N/A", or "" in INTEGER columns after schema migrations or manual inserts. snapshotState() was passing these through as-is via type assertions, producing JSON that fails to parse on round-trip. Add toNumeric() helper and apply it to all numeric columns (exit_code, duration_ms, sequence, seq). Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agents | ||
| extensions | ||
| skills | ||
| GSD-WORKFLOW.md | ||