This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-9p/internal/p9
Levi Neely d10bdf6fcc 9p: remove tailable machinery from non-chat session files
Tailing works well for append-only logs but is fundamentally racy for
files that get overwritten: fast state changes collapse into a single
truncation signal, so tail reads the wrong (already-stale) value.

Remove mutableFile, mutableVers, trackMutable, and the per-fid readBuf
entirely. Only chat retains append-only stat reporting (Qid.Vers +
Length) for tail -f. All other session files (state, usage, backend,
model, agent, cwd) are plain poll-on-read files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 10:20:32 +02:00
..
batchstore.go batchstore: set result to status message on failure 2026-04-16 20:54:27 +02:00
server.go 9p: remove tailable machinery from non-chat session files 2026-04-18 10:20:32 +02:00
sessionfilestore.go 9p: remove tailable machinery from non-chat session files 2026-04-18 10:20:32 +02:00
sessionstore.go s/ls, ollie-tmp-path 2026-04-17 13:05:23 +02:00
skillstore.go 9p: introduce pluggable store interface for all filesystem endpoints 2026-04-14 21:40:17 +02:00
store.go 9p: complete SessionStore integration; /s/ fully backed by store 2026-04-14 21:46:45 +02:00
toolstore.go 9p: introduce pluggable store interface for all filesystem endpoints 2026-04-14 21:40:17 +02:00