summaryrefslogtreecommitdiff
path: root/core/File.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 12:50:53 -0300
committerGabriel Schneider <[email protected]>2026-11-19 12:54:16 -0300
commita355c7fee38bd940da12f330408639fc3875234b (patch)
tree00afa5180d1d58d2c10b9e67d2c9b58de75d99ce /core/File.zig
parentea833164aa83d02119301a204b91ff9a8eeff27a (diff)
downloadpardes-a355c7fee38bd940da12f330408639fc3875234b.tar.gz
pardes-a355c7fee38bd940da12f330408639fc3875234b.zip
tape: the two rules the global was hiding, as tests (the handle's step 3, its first part; pardes-handle-1's reading): every place that sets the global tape aside sets the core's field aside, a source check at the end of core/tape.zig over every function of core/ outside tests that writes `on` (`tape.on = `, or `on = ` in tape.zig), which must write a core's `tape` too (`p.tape = `, never an options' `opts.tape`) or be on `sets_on_alone` with why (startFromEnv: no core yet, the next one made takes `on`; replayBytes: its core is made with the tape in its options; Stepping's begin and end: the core stepped holds the tape already, which `enter` checks in a safe build), a listed function that writes none named stale; shown failing with dumpRoundTrip's two field lines taken out ("core/tape.zig: dumpRoundTrip sets tape.on and no core's `tape`"); and the idle tape: a client draws its own frame between its steps with `on` null and its core's field its own tape, neither replaying nor speculating, so `enter` must not record into an idle replica's tape when it reads the field (step 9's): the rule written at `enter`, and a test (a replica joined from a core's dump, Replica.draw twice) that its tape holds the bytes it held, not stepping, the host's side; shown failing with `enter` and `leave` made to read the field ("expected 0, found 6795"); no product line changed; core-test 840/983 (143 skipped; rollback's "a copy put back is the core as it was" failed once in the first run, an edit's second crossing a clock second, and its next test crashed on the epoch it left held; both passed in the next run), shell-test 1018/1021
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/File.zig')
0 files changed, 0 insertions, 0 deletions