1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
//! **The selection's own facts, selected out of the answered forest** (REMOTE
//! §9.7, bl-48ae) — [`visible`](super::expand::visible)'s sibling: a second pure
//! selection over the same `Reply::Conversations` payload, this one keyed by
//! which row the operator has picked rather than by which rows are open.
//!
//! Until bl-48ae the §11 seat asked this of `AppModel::focused_conversation`,
//! which re-derived [`AgentView`](crate::boundary::answer::agent::AgentView) off
//! the window's own snapshot on the frame thread — the last in-process read of
//! REMOTE §11's residual, and the one that could not simply become a standing
//! question: four of its consumers are **frame-synchronous**. The composer's
//! target line names the conversation, §11's visible-selection invariant unfolds
//! the ancestors, and two act gates (`x` stops the selection, the §3.6 danger
//! row aims at its root) are read at the click. A fact that landed an ask period
//! after the selection would blink a name, hide the row the operator was just
//! sent to, or refuse a gesture they had just made.
//!
//! **None of them is a wire read, because the forest already answers them.**
//! Since bl-44e9 `Query::Conversations` lands the whole descent forest with
//! per-row rollups, and a `ConvRow` has carried the §8.2 gates since bl-1eb0 —
//! so every one of these facts is a *selection* out of an answer this seat is
//! already holding, and the ask that pays for them is the list's own. Nothing
//! new is asked, nothing is latched, and the answer changes in the same frame
//! the selection does.
//!
//! What is **not** here is the selection's own detail — the config it
//! resolves, its
//! §6 marks, its §8.6 park, its `Nudge` gate. Those are facts about one agent
//! rather than about the list, they gate no gesture (an unpainted button cannot
//! be clicked), and they ride the standing `Query::Agent` at the seat
//! ([`crate::shell::seat`]) exactly as the transcript beside them does.
//!
//! Two rules keep this honest. **Depth is the parentage**: the answer is
//! pre-order, so a row's ancestors are exactly the shallower rows above it —
//! the same fact [`parent_of`](super::expand::parent_of) reads one generation
//! at a time. And **absence is a value, not a refusal**, which is
//! [`agent`](crate::boundary::answer::agent::agent)'s own ruling: a selection
//! this forest does not carry reads as its own root, unnamed, unstoppable and
//! not present, because that is what such a conversation honestly is.
use ConvRow;
use crateFlight;
/// What a seat knows about its selection the instant it is made: the identity,
/// the conversation it belongs to, the chain §11 unfolds to keep it visible,
/// what the conversation is called, what is in flight in it, and the three gates
/// the composer's verbs read.
///
/// Every field but [`ball`](Self::ball) is
/// [`AgentView`](crate::boundary::answer::agent::AgentView)'s under the same
/// name — the parity is pinned in `boundary::answer::agent::tests`, so the two
/// projections of one derivation cannot come to disagree. `ball` has no twin
/// on purpose: it is the **row's** own field (bl-296f), carried by the forest
/// since the §11 list has always painted it, so pushing a second copy onto the
/// per-agent answer would mint exactly the disagreement that test exists to
/// prevent.
/// Read `agent_id`'s seat facts out of an answered forest. Pure and total: no
/// row for the id is answered rather than refused, on
/// [`agent`](crate::boundary::answer::agent::agent)'s own ruling.
/// The rows above `at` that are its ancestors, outermost first: walking back,
/// each row shallower than the shallowest seen so far is the next generation up.
/// Pre-order makes that the whole of the parentage — the rule
/// [`parent_of`](super::expand::parent_of) reads one step at a time, iterated to
/// depth 0.