summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-22 16:50:34 -0300
committerGabriel Schneider <[email protected]>2026-11-22 16:53:19 -0300
commit9863a63b614d200852853825031189364dcacfdc (patch)
treed235648a2ac14b3e311746ced3433ed6865e2061 /docs
parent6544f73a6b50e5ba68564beea7784593bb54348e (diff)
parentbad506bd45846e012246a33b5d3097b3e92f02bc (diff)
downloadpardes-9863a63b614d200852853825031189364dcacfdc.tar.gz
pardes-9863a63b614d200852853825031189364dcacfdc.zip
integration: the old road deleted and the emulator's boundary on the gathered line: pardes-merge56 (`qvwrwxtu`: the installed tree and the source view's changes to their last slice) and pardes-term-join-9 (`twssqzqw`, fourteen changes on pardes-merge55: every client's terminals by the pty's bytes and nothing else: the delta protocol, its flow control and core/term/screen_state.zig deleted (-3,605 +504 lines), the wire at 30, one soak; S1: abi/term.zig's Ops in replicated and local, the terminal's digest covering what a step reads, every call of the core's into a terminal listed with its rule as a test; a client's own join again judged after its goodbye; a pty's size one fact the core hands its host for every fork, adopt and resize; a closed view sizes no terminal); no textual conflict; one semantic one, resolved here: core/jj.zig's Churn test (the layers' last round) called Authority.init and Replica.init with the road's flag the deletion took away: the argument removed; core-test 916/1073 (157 skipped), shell-test 1115/1118; its gate: .scratch/sketch/reorg/merge57, the numbers in PARDES.md (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs')
-rw-r--r--docs/next-daemon.md11
-rw-r--r--docs/typ/reference.typ2
2 files changed, 12 insertions, 1 deletions
diff --git a/docs/next-daemon.md b/docs/next-daemon.md
index 9ed25f9c..22837941 100644
--- a/docs/next-daemon.md
+++ b/docs/next-daemon.md
@@ -102,6 +102,14 @@ smallest common grid across them.
A `cat` of 1 GB costs screens, not bytes. ghostty stays exact on the
authority, and the local path keeps reading ghostty directly.
+
+ > SINCE 2026-11-22 TERMINALS CROSS AS THE PTY'S BYTES (the user's
+ > ruling: "just start the structural fix"): a session's units carry its
+ > ptys' output and every client feeds its own emulator in the tape's
+ > order (pardes-flip), and the screen-state road is deleted
+ > (pardes-term-join-8: core/term/screen_state.zig, the deltas and their
+ > flight bound, the screen messages; the wire at 30). What this file says
+ > of screen state below is history.
- **The reflective walker.** One comptime `@typeInfo` walk gives:
- the digest;
- the complete dump, which also serves join, Restore and Handover;
@@ -885,6 +893,9 @@ Found and fixed 2026-10-29 (`dev/tui/tui.zig`, `waitInput`).
## Screen-state terminal notes
+(History: deleted 2026-11-22; terminals cross as the pty's bytes, see the
+note under "Terminals cross as authoritative screen state" above.)
+
Built 2026-10-29 (`src/screen_state.zig`), a pure encode and apply pair
over byte buffers for the phase 5 stream; no transport yet. Only tests
reference it, so the tty and GUI binaries carry none of it: no symbol of
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index 425209a0..ac61ca74 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -897,7 +897,7 @@ Terminal panes also have #file("pty/"):
command runs or text is typed at the prompt. A terminal whose program was
killed on the alternate screen is at its prompt once the shell draws one
there: busy is 0, and the next #file("pty/run") reads its output whole.
-- #file("pty/ctl"): `winsize C R` (at least 2 rows, fewer refused `invalid winsize: at least 2 rows`; at most 4096 a side), `sig INT|TERM|HUP|QUIT|KILL`, `exec` (restart the shell in its directory:
+- #file("pty/ctl"): `winsize C R` (the pty's size alone, apart from the terminal's grid, which stays its pane's: until the pane's size changes or its shell is started again, both of which give the pty the grid's; at least 2 rows, fewer refused `invalid winsize: at least 2 rows`; at most 4096 a side), `sig INT|TERM|HUP|QUIT|KILL`, `exec` (restart the shell in its directory:
refused on a command pane, `a command pane does not restart`; `exec: <dir>: no such directory` if it is gone; a shell that cannot start fails
and leaves the old one running).
- #file("pty/run"): one line a write (two lines in one write are refused