2 Commits

Author SHA1 Message Date
RRFZ
e64840d1a5 fix(learning_journal): wait for the Windows journal lock instead of failing
The journal's cross-process lock read byte 0 of the lock file before
taking msvcrt.LK_LOCK, to see whether the file still needed its one
byte. Windows byte-range locks are mandatory, so while another process
held that byte the read failed with PermissionError and the second
writer crashed instead of waiting for the lock.

Size the file with seek/tell, as the grants, cron and Codex-auth locks
already do, then lock.
2026-10-31 21:29:49 -04:00
Bingxi Zhao (Frank)
64bc0d8e7c feat(learning): expose a durable workspace journal overview (#1407)
Adapt the journal foundation from PR #1226 and add a read-only mission, handoff and confirmed-record panel. Share its snapshot with turn injection, preserve corrupt files, and serialize worker writes.

Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>
2026-10-08 03:11:15 +08:00