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
Resume and patch-reference updates previously replaced worker and synthesis sidecars in place. They now append private, immutable revisions while retaining the legacy files as current compatibility projections.
14
+
15
+
## Durable facts
16
+
17
+
- Initial emissions and every update append six-digit JSON revisions below `revisions/worker-results/` and `revisions/synthesis/`.
18
+
- A first update of a legacy run imports the compatibility projection as revision 000001 before appending the new revision.
19
+
- A failed compatibility projection write must not replace the old projection after immutable evidence has been written.
20
+
- Revision files use mode 0600. POSIX writes fsync each new directory entry, the revision file, and the leaf directory before updating the projection.
21
+
- Existing readers continue loading `worker-results.json` and `synthesis.json`; no receipt schema or dependency changed.
- RED receipts: `20260728-030303-work-verify-9ae890`, `20260728-031100-work-verify-052751`, `20260728-031433-work-verify-ca2331`, `20260728-031552-work-verify-cf2e04`
27
+
- GREEN receipts: `20260728-031646-work-verify-d12faa`, `20260728-031656-work-verify-8bfb8d`, `20260728-031822-work-verify-4cb89a`, `20260728-031829-work-verify-d68b11`
28
+
29
+
## Recommended memory action
30
+
31
+
no-card
32
+
33
+
## Target document
34
+
35
+
.learnings/LEARNINGS.md
36
+
37
+
## Suggested document content
38
+
39
+
### Write-once run sidecar revisions
40
+
41
+
Worker and synthesis evidence is append-only under `revisions/<sidecar>/`, while the original sidecar paths remain current compatibility projections. On the first update of a legacy run, archive the exact old bytes before appending the updated document. Persist revision evidence before replacing the projection, and retain the new revision if projection replacement fails. On POSIX, directory-entry fsync ordering is part of the durability contract.
0 commit comments