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
//! The picker's write half (§9.4) — since bl-3f46 a single boundary gesture,
//! and since bl-4841 a posted one.
//!
//! The pick used to be composed here: plan both files, apply `models.yaml`
//! through the §9.2 pipeline, then stage `providers.yaml` and drive `lernie
//! config`. All of that is now the chokepoint's
//! [`PickModel`](crate::boundary::Action::PickModel) arm, so a click, a
//! `/model` line and a deposit are one implementation and the pane is what it
//! should be: the construction of a variant, and the sentence its **receipt**
//! earns.
//!
//! **The receipt lands later** (REMOTE §9.8). The gesture crosses loopback mTLS
//! and a frame may not wait on a socket, so the click writes the sentence a
//! clean landing means and [`settle`] folds what actually came back — the same
//! line, its in-flight mark dropped, or the reason appended. The memos are
//! dropped at the *landing* rather than at the fire, because until the receipt
//! arrives the pre-write world is still the world.
//!
//! Coverage-excluded glue like the rest of `src/shell/*`; the gesture it posts
//! is tested in `boundary::config`.
use PickerState;
use crateAppModel;
use crateAction;
use cratePick;
use Path;
/// Fire one pick. The sentence is what committing it means — the whole pair,
/// which is what the vanished Set button's label used to say up front (bl-fb6b)
/// — carried in flight and confirmed by the receipt.
pub
/// Fire the §9.4 drift clause's **keeping** exit (bl-2d19), on the same line the
/// pick above it writes: one sentence per gesture, in one place, whichever of
/// the two the operator spent.
///
/// lernie's own confirmation is on stderr (the mark is a ref the operator did
/// not name, taking effect at a moment they did not choose), so the sentence
/// says when it lands rather than that it happened.
pub
/// Fold whatever the picker's act earned, once, on the frame it arrives.
///
/// Every derived fact the pane holds is dropped **here**: the branch moved and
/// `models.yaml` may have gained an entry, so the next paint re-reads rather
/// than showing the pre-write world. A retarget writes a ref mark and nothing
/// else — the conversation's own executor lands it at its next step — so the
/// freeze the drift row states is still true; re-deriving it costs two oid
/// reads and is what keeps this one fold rather than two.
pub