From 6683e03a40c0bbd88dadf6bb30121d41e944207c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 20 Nov 2026 16:18:25 -0300 Subject: docs: PARDES_PAIR, what it is (pardes-pair-3's item 3e): docs/next-run.md a section (the experiment behind its variable, how to turn it on, kept and what `ps` says, the lifetime table as built: Detach, a close, a loss, no daemon, in the columns not kept and kept), docs/typ/running.typ the same as a section "An experiment: PARDES_PAIR" with the table (the book compiles with typst), core/CHANGELOG.md one entry (and the one change without the variable: a TERMed terminal client's goodbye and exit 0); `pardes help` says nothing of it yet Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- core/CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'core') diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index faa02ade..e5d592bb 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -2,6 +2,17 @@ ## Unreleased +- An experiment, behind `PARDES_PAIR=1` until it is the default: `pardes + FILE` in a terminal and `pardes-gui FILE` fork a session with no + frontend of its own and are its first client. Such a session is kept + (started with `new --detach`, or a Detach typed in any client since) or + not: closing a client's window or terminal, or a TERM to it, ends a + session not kept when that was its last client; a client killed outright + leaves it running. `pardes ps` says `(tty, kept)` or `(tty)` of it. + Without the variable nothing changes, but a terminal client (`pardes + attach`) ended by a TERM now says goodbye and exits 0, its terminal put + back, where it died of the signal. + - `pardes new --detach[=NAME]` returns once the session runs (registered and listening), printing its name, exit 0; the session runs on in a session of its own. `pardes --detach=NAME` without `new` is still the -- cgit v1.3