You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
store: validate ts shape at read time (row identity must not be an arbitrary string) #15
parseLine accepts any string as ts, and ts is the row identity across the system: supersede chains, the blocklist (hide-by-ts), undo matching, and the viewer's action buttons all key off it. A malformed file edit or a row produced by an older/buggy writer yields addressable rows with arbitrary identity strings — which is what made the pre-#9 injection row fully operable (it could be targeted, blocked, rendered).
Cheap reader-side hardening so readers never trust the store: at load time (memory.tsloadAll / the evidence + deletions readers), treat a row whose ts is not a valid ISO-8601 timestamp as malformed — skip it with a one-time warning (or count it in a malformed tally surfaced by memory_status) instead of silently promoting it to a live, addressable row.
Notes
Pairs with the page.html escaping ticket (both are "validate at the boundary" for the same fields); the two together make the viewer row-identity surface safe regardless of file contents.
Keep parsing permissive at the tokenizer level (logfmt.ts must stay a dumb parser); the shape check belongs in the store layer that knows the schema.
Activity
chore: drop the security review doc from this branch
chore(release): 0.5.0 [skip ci]
abogartz-opencode-self-improvement commentedon Oct 22, 2026
🎉 This issue has been resolved in version 0.5.0 🎉
The release is available on:
Your semantic-release bot 📦🚀