@telora/daemon 0.22.4 → 0.22.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-info.json +5 -3
- package/dist/backends/index.d.ts.map +1 -1
- package/dist/backends/index.js +2 -0
- package/dist/backends/index.js.map +1 -1
- package/dist/ci/ci-sensor-loop.d.ts +36 -2
- package/dist/ci/ci-sensor-loop.d.ts.map +1 -1
- package/dist/ci/ci-sensor-loop.js +48 -9
- package/dist/ci/ci-sensor-loop.js.map +1 -1
- package/dist/ci/ci-status.d.ts.map +1 -1
- package/dist/ci/ci-status.js +1 -0
- package/dist/ci/ci-status.js.map +1 -1
- package/dist/completion/detector.d.ts +9 -0
- package/dist/completion/detector.d.ts.map +1 -1
- package/dist/completion/detector.js +18 -0
- package/dist/completion/detector.js.map +1 -1
- package/dist/completion/event-phases.d.ts +24 -8
- package/dist/completion/event-phases.d.ts.map +1 -1
- package/dist/completion/event-phases.js +81 -45
- package/dist/completion/event-phases.js.map +1 -1
- package/dist/completion/event.d.ts +9 -0
- package/dist/completion/event.d.ts.map +1 -1
- package/dist/completion/event.js +4 -0
- package/dist/completion/event.js.map +1 -1
- package/dist/completion/exit-classification.d.ts +2 -2
- package/dist/completion/exit-classification.d.ts.map +1 -1
- package/dist/completion/exit-classification.js +2 -0
- package/dist/completion/exit-classification.js.map +1 -1
- package/dist/completion/index.js +1 -1
- package/dist/completion/liveness-firing.d.ts +27 -0
- package/dist/completion/liveness-firing.d.ts.map +1 -0
- package/dist/completion/liveness-firing.js +79 -0
- package/dist/completion/liveness-firing.js.map +1 -0
- package/dist/completion/stdin-turn-tracker.d.ts +19 -0
- package/dist/completion/stdin-turn-tracker.d.ts.map +1 -0
- package/dist/completion/stdin-turn-tracker.js +57 -0
- package/dist/completion/stdin-turn-tracker.js.map +1 -0
- package/dist/completion/supervision-firing-record.d.ts +190 -0
- package/dist/completion/supervision-firing-record.d.ts.map +1 -0
- package/dist/completion/supervision-firing-record.js +232 -0
- package/dist/completion/supervision-firing-record.js.map +1 -0
- package/dist/completion/team-lifecycle.d.ts.map +1 -1
- package/dist/completion/team-lifecycle.js +3 -0
- package/dist/completion/team-lifecycle.js.map +1 -1
- package/dist/completion/team-phase.d.ts.map +1 -1
- package/dist/completion/team-phase.js +2 -1
- package/dist/completion/team-phase.js.map +1 -1
- package/dist/directive/directive-dispatch.d.ts +7 -1
- package/dist/directive/directive-dispatch.d.ts.map +1 -1
- package/dist/directive/directive-dispatch.js +75 -12
- package/dist/directive/directive-dispatch.js.map +1 -1
- package/dist/directive/directive-executor.d.ts +1 -1
- package/dist/directive/directive-executor.d.ts.map +1 -1
- package/dist/directive/directive-executor.js +10 -6
- package/dist/directive/directive-executor.js.map +1 -1
- package/dist/directive/directive-queue.d.ts +35 -9
- package/dist/directive/directive-queue.d.ts.map +1 -1
- package/dist/directive/directive-queue.js +15 -8
- package/dist/directive/directive-queue.js.map +1 -1
- package/dist/directive/directive-verify-hold-gate.d.ts +20 -0
- package/dist/directive/directive-verify-hold-gate.d.ts.map +1 -0
- package/dist/directive/directive-verify-hold-gate.js +47 -0
- package/dist/directive/directive-verify-hold-gate.js.map +1 -0
- package/dist/drift/staleness-sensor.d.ts +62 -67
- package/dist/drift/staleness-sensor.d.ts.map +1 -1
- package/dist/drift/staleness-sensor.js +233 -68
- package/dist/drift/staleness-sensor.js.map +1 -1
- package/dist/drift/staleness.d.ts +8 -0
- package/dist/drift/staleness.d.ts.map +1 -1
- package/dist/drift/staleness.js +7 -1
- package/dist/drift/staleness.js.map +1 -1
- package/dist/focus/focus-engine.js +1 -1
- package/dist/focus/focus-engine.js.map +1 -1
- package/dist/focus/focus-executor.d.ts.map +1 -1
- package/dist/focus/focus-executor.js +12 -6
- package/dist/focus/focus-executor.js.map +1 -1
- package/dist/focus/focus-team-state.d.ts.map +1 -1
- package/dist/focus/focus-team-state.js +1 -0
- package/dist/focus/focus-team-state.js.map +1 -1
- package/dist/focus/focus-worktree-state.d.ts.map +1 -1
- package/dist/focus/focus-worktree-state.js +4 -2
- package/dist/focus/focus-worktree-state.js.map +1 -1
- package/dist/focus/listener-spawn.d.ts +59 -6
- package/dist/focus/listener-spawn.d.ts.map +1 -1
- package/dist/focus/listener-spawn.js +164 -39
- package/dist/focus/listener-spawn.js.map +1 -1
- package/dist/focus/listener.d.ts.map +1 -1
- package/dist/focus/listener.js +20 -11
- package/dist/focus/listener.js.map +1 -1
- package/dist/focus/team-actionable-work.d.ts +90 -0
- package/dist/focus/team-actionable-work.d.ts.map +1 -0
- package/dist/focus/team-actionable-work.js +113 -0
- package/dist/focus/team-actionable-work.js.map +1 -0
- package/dist/merge/focus-merge.d.ts.map +1 -1
- package/dist/merge/focus-merge.js +2 -1
- package/dist/merge/focus-merge.js.map +1 -1
- package/dist/nexus/return.d.ts +60 -1
- package/dist/nexus/return.d.ts.map +1 -1
- package/dist/nexus/return.js +78 -2
- package/dist/nexus/return.js.map +1 -1
- package/dist/queries/schemas.d.ts +61 -0
- package/dist/queries/schemas.d.ts.map +1 -1
- package/dist/queries/schemas.js +12 -2
- package/dist/queries/schemas.js.map +1 -1
- package/dist/shell/heartbeat-metadata.d.ts +91 -0
- package/dist/shell/heartbeat-metadata.d.ts.map +1 -0
- package/dist/shell/heartbeat-metadata.js +169 -0
- package/dist/shell/heartbeat-metadata.js.map +1 -0
- package/dist/shell/heartbeat.d.ts +7 -22
- package/dist/shell/heartbeat.d.ts.map +1 -1
- package/dist/shell/heartbeat.js +120 -89
- package/dist/shell/heartbeat.js.map +1 -1
- package/dist/shell/model-resolution.d.ts +54 -0
- package/dist/shell/model-resolution.d.ts.map +1 -1
- package/dist/shell/model-resolution.js +50 -0
- package/dist/shell/model-resolution.js.map +1 -1
- package/dist/shell/unified-shell.d.ts.map +1 -1
- package/dist/shell/unified-shell.js +21 -12
- package/dist/shell/unified-shell.js.map +1 -1
- package/dist/spawn/helpers.d.ts.map +1 -1
- package/dist/spawn/helpers.js +6 -1
- package/dist/spawn/helpers.js.map +1 -1
- package/dist/spawn/model-routing.d.ts +14 -19
- package/dist/spawn/model-routing.d.ts.map +1 -1
- package/dist/spawn/model-routing.js +57 -39
- package/dist/spawn/model-routing.js.map +1 -1
- package/dist/spawn/process-spawn.d.ts +32 -1
- package/dist/spawn/process-spawn.d.ts.map +1 -1
- package/dist/spawn/process-spawn.js +43 -5
- package/dist/spawn/process-spawn.js.map +1 -1
- package/dist/spawn/spawn-cooldown.d.ts.map +1 -1
- package/dist/spawn/spawn-cooldown.js +2 -1
- package/dist/spawn/spawn-cooldown.js.map +1 -1
- package/dist/spawn/worktree-session.d.ts +53 -5
- package/dist/spawn/worktree-session.d.ts.map +1 -1
- package/dist/spawn/worktree-session.js +61 -29
- package/dist/spawn/worktree-session.js.map +1 -1
- package/dist/testing/fixtures/index.js +1 -1
- package/dist/types/focus.d.ts +12 -2
- package/dist/types/focus.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/session.d.ts +1 -1
- package/dist/types/session.d.ts.map +1 -1
- package/dist/update/auto-update-idle.d.ts +22 -0
- package/dist/update/auto-update-idle.d.ts.map +1 -1
- package/dist/update/auto-update-idle.js +8 -1
- package/dist/update/auto-update-idle.js.map +1 -1
- package/dist/update/auto-update.d.ts +0 -6
- package/dist/update/auto-update.d.ts.map +1 -1
- package/dist/update/auto-update.js +20 -6
- package/dist/update/auto-update.js.map +1 -1
- package/dist/update/version-check.d.ts +73 -0
- package/dist/update/version-check.d.ts.map +1 -1
- package/dist/update/version-check.js +107 -11
- package/dist/update/version-check.js.map +1 -1
- package/dist/worktree/verify-interlock.d.ts +34 -0
- package/dist/worktree/verify-interlock.d.ts.map +1 -1
- package/dist/worktree/verify-interlock.js +27 -1
- package/dist/worktree/verify-interlock.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supervision firing records -- the falsifiability instrument.
|
|
3
|
+
*
|
|
4
|
+
* The mechanisms that can END, HOLD, or RESPAWN a team (teardown-at-first-result,
|
|
5
|
+
* the spawn-gate-vs-exit respawn, the liveness badge, stall detectors, the verify
|
|
6
|
+
* interlock) were unfalsifiable: nothing recorded whether a firing was later
|
|
7
|
+
* borne out, so a false positive (the 80-spawn storm, the 5 lost compactions on
|
|
8
|
+
* 2026-09-06) was discoverable only by grepping the log after the cost was paid.
|
|
9
|
+
*
|
|
10
|
+
* This module gives every such mechanism a small firing record with a LATER-
|
|
11
|
+
* classified verdict: a firing predicts an outcome ("this team has no more
|
|
12
|
+
* actionable work"; "this respawn has work to do"; "this team is unresponsive"),
|
|
13
|
+
* and once reality is known the firing is classified true_positive (the
|
|
14
|
+
* prediction was borne out) or false_positive (it was not). The per-mechanism
|
|
15
|
+
* false-positive RATE is then a reading (surfaced in the heartbeat + metrics),
|
|
16
|
+
* and demotion from block to observe becomes a policy driven by that reading
|
|
17
|
+
* rather than a human hand-diagnosing a stuck mode.
|
|
18
|
+
*
|
|
19
|
+
* In-memory + bounded (a per-mechanism ring buffer): this is a live falsifiability
|
|
20
|
+
* signal for the running daemon, not a durable audit log. The ratchet pattern
|
|
21
|
+
* (scripts/ratchet-*.mjs) is the precedent for demote-on-reading; this is its
|
|
22
|
+
* runtime analogue.
|
|
23
|
+
*
|
|
24
|
+
* @module completion/supervision-firing-record
|
|
25
|
+
*/
|
|
26
|
+
/** The supervision mechanisms covered first (the three implicated 2026-09-06). */
|
|
27
|
+
export declare const SUPERVISION_MECHANISM: {
|
|
28
|
+
/** The completion handler ends a team at its first `result`. Predicts: the team
|
|
29
|
+
* had no more actionable work / nothing queued still to run. */
|
|
30
|
+
readonly TEARDOWN_AT_FIRST_RESULT: "teardown_at_first_result";
|
|
31
|
+
/** The spawn gate respawns a focus its exit classifier just declared done.
|
|
32
|
+
* Predicts: the respawned focus has team-actionable work. */
|
|
33
|
+
readonly SPAWN_GATE_VS_EXIT_RESPAWN: "spawn_gate_vs_exit_respawn";
|
|
34
|
+
/** The liveness badge marks a team unresponsive. Predicts: the team is wedged
|
|
35
|
+
* (not a legitimate multi-minute park). */
|
|
36
|
+
readonly LIVENESS_BADGE: "liveness_badge";
|
|
37
|
+
};
|
|
38
|
+
export type SupervisionMechanism = (typeof SUPERVISION_MECHANISM)[keyof typeof SUPERVISION_MECHANISM];
|
|
39
|
+
/** A firing's later-classified verdict. */
|
|
40
|
+
export type FiringVerdict = 'true_positive' | 'false_positive' | 'unclassified';
|
|
41
|
+
/** One recorded firing of a supervision mechanism. */
|
|
42
|
+
export interface SupervisionFiring {
|
|
43
|
+
/** Monotonic id, unique within this daemon run. */
|
|
44
|
+
id: number;
|
|
45
|
+
/** Which mechanism fired (a SUPERVISION_MECHANISM value; a string so a new
|
|
46
|
+
* mechanism can record without a type change). */
|
|
47
|
+
mechanism: string;
|
|
48
|
+
/** The focus the firing acted on. */
|
|
49
|
+
focusId: string;
|
|
50
|
+
/** Epoch ms the mechanism fired. */
|
|
51
|
+
firedAt: number;
|
|
52
|
+
/** The outcome the mechanism PREDICTED when it fired (free text, per mechanism). */
|
|
53
|
+
predicted: string;
|
|
54
|
+
/** Verdict, classified later from the observed outcome. */
|
|
55
|
+
verdict: FiringVerdict;
|
|
56
|
+
/** Epoch ms the verdict was classified (absent while unclassified). */
|
|
57
|
+
classifiedAt?: number;
|
|
58
|
+
/** The outcome actually observed at classification time (absent while unclassified). */
|
|
59
|
+
observed?: string;
|
|
60
|
+
}
|
|
61
|
+
/** Aggregate reading for one mechanism over a window. */
|
|
62
|
+
export interface FiringStats {
|
|
63
|
+
mechanism: string;
|
|
64
|
+
total: number;
|
|
65
|
+
truePositives: number;
|
|
66
|
+
falsePositives: number;
|
|
67
|
+
unclassified: number;
|
|
68
|
+
/** falsePositives / (truePositives + falsePositives); null when none are
|
|
69
|
+
* classified yet (a rate over zero classified firings is undefined, never 0). */
|
|
70
|
+
falsePositiveRate: number | null;
|
|
71
|
+
}
|
|
72
|
+
/** Max firings retained per mechanism (oldest evicted). Bounds memory; the rate
|
|
73
|
+
* is a recency signal, not a full history. */
|
|
74
|
+
export declare const FIRING_BUFFER_CAP = 256;
|
|
75
|
+
/**
|
|
76
|
+
* Settle window: a prediction that survives this long with no falsifying event is
|
|
77
|
+
* swept to true_positive. It is also the FP horizon by construction -- an active
|
|
78
|
+
* classifier (e.g. a teardown falsified by a re-ready focus) can only fire while
|
|
79
|
+
* the firing is still unclassified, i.e. younger than this. So a teardown a focus
|
|
80
|
+
* contradicts QUICKLY (the storm) is FP; one that stands past the window is TP.
|
|
81
|
+
* One knob. 3 minutes: longer than a spawn cooldown / re-ready cycle, short
|
|
82
|
+
* enough that the rate reflects recent behavior.
|
|
83
|
+
*/
|
|
84
|
+
export declare const FIRING_SETTLE_WINDOW_MS = 180000;
|
|
85
|
+
/**
|
|
86
|
+
* Record a mechanism firing. Returns the firing id so the caller can classify it
|
|
87
|
+
* later once the predicted outcome is known. The buffer is bounded per mechanism.
|
|
88
|
+
*/
|
|
89
|
+
export declare function recordFiring(args: {
|
|
90
|
+
mechanism: string;
|
|
91
|
+
focusId: string;
|
|
92
|
+
predicted: string;
|
|
93
|
+
now?: number;
|
|
94
|
+
}): number;
|
|
95
|
+
/**
|
|
96
|
+
* Classify a recorded firing from the outcome it predicted: `borneOut` true means
|
|
97
|
+
* the prediction held (true_positive), false means it did not (false_positive).
|
|
98
|
+
* A no-op if the id is unknown (evicted or never recorded) or already classified.
|
|
99
|
+
*/
|
|
100
|
+
export declare function classifyFiring(id: number, args: {
|
|
101
|
+
borneOut: boolean;
|
|
102
|
+
observed: string;
|
|
103
|
+
now?: number;
|
|
104
|
+
}): void;
|
|
105
|
+
/**
|
|
106
|
+
* Aggregate the reading for one mechanism over the firings within `windowMs`
|
|
107
|
+
* (default: all retained). The false-positive rate is over CLASSIFIED firings
|
|
108
|
+
* only; null when none are classified yet.
|
|
109
|
+
*/
|
|
110
|
+
export declare function firingStats(mechanism: string, opts?: {
|
|
111
|
+
windowMs?: number;
|
|
112
|
+
now?: number;
|
|
113
|
+
}): FiringStats;
|
|
114
|
+
/**
|
|
115
|
+
* Classify the MOST RECENT still-unclassified firing of `mechanism` for `focusId`
|
|
116
|
+
* from the outcome it predicted, and report whether one was found. The active
|
|
117
|
+
* classification path: a caller that observes the falsifying (or confirming)
|
|
118
|
+
* event for a focus -- e.g. the spawn gate respawning a focus a teardown just
|
|
119
|
+
* declared work-free -- classifies that specific prior firing without threading
|
|
120
|
+
* its id through unrelated code. A no-op (returns false) when the focus has no
|
|
121
|
+
* unclassified firing of that mechanism (e.g. a first-ever spawn, no prior
|
|
122
|
+
* teardown).
|
|
123
|
+
*/
|
|
124
|
+
export declare function classifyLatestUnclassifiedFiring(mechanism: string, focusId: string, args: {
|
|
125
|
+
borneOut: boolean;
|
|
126
|
+
observed: string;
|
|
127
|
+
now?: number;
|
|
128
|
+
}): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Settle sweep: classify every still-unclassified firing older than `olderThanMs`
|
|
131
|
+
* as borne out (true_positive) -- the prediction HELD because no falsifying event
|
|
132
|
+
* arrived within the settle window (FPs are classified actively at their
|
|
133
|
+
* falsifying event, so an aged unclassified firing is one nothing contradicted).
|
|
134
|
+
* Optionally scoped to one `mechanism`. Returns the number classified. Idempotent
|
|
135
|
+
* and cheap; call it from the poll loop.
|
|
136
|
+
*/
|
|
137
|
+
export declare function sweepAgedFirings(args: {
|
|
138
|
+
olderThanMs: number;
|
|
139
|
+
now?: number;
|
|
140
|
+
mechanism?: string;
|
|
141
|
+
observed?: string;
|
|
142
|
+
}): number;
|
|
143
|
+
/** Min classified firings before demotion can be recommended -- a single early FP
|
|
144
|
+
* must not disable a mechanism. */
|
|
145
|
+
export declare const DEMOTE_MIN_CLASSIFIED = 8;
|
|
146
|
+
/** Window the demotion policy reads the rate over (1 hour). */
|
|
147
|
+
export declare const DEMOTE_WINDOW_MS = 3600000;
|
|
148
|
+
/**
|
|
149
|
+
* Demotion policy -- the CONDITION a mechanism must meet to be demoted to
|
|
150
|
+
* observe-only. This is the pure predicate; the heartbeat surfaces it as a
|
|
151
|
+
* reading (demotionRecommended) and the action sites ENFORCE it via
|
|
152
|
+
* isMechanismDemoted (below). "Converge first" (the focus statement) was about
|
|
153
|
+
* not DELETING supervision code -- demotion to observe-only is a runtime,
|
|
154
|
+
* reversible, data-driven gate, which the AC requires be enforced, not merely
|
|
155
|
+
* reported (AC/FRT #10: "demoted to observe-only -- it records but no longer
|
|
156
|
+
* kills or holds -- by policy").
|
|
157
|
+
*
|
|
158
|
+
* A mechanism has earned demotion when, over the window, it has at least
|
|
159
|
+
* DEMOTE_MIN_CLASSIFIED classified firings AND ZERO true positives -- it has NEVER
|
|
160
|
+
* been right in a meaningful sample. The min-sample guard keeps a single early FP
|
|
161
|
+
* from disabling a mechanism. The reading is over a window and self-lifting: as a
|
|
162
|
+
* demoted mechanism's firings age (or sweep to TP because, no longer acting, it
|
|
163
|
+
* has nothing left to falsify them), the condition clears and the mechanism
|
|
164
|
+
* re-arms -- a brief circuit-break during a storm, not a permanent disable.
|
|
165
|
+
*/
|
|
166
|
+
export declare function isDemotionRecommended(mechanism: string, opts?: {
|
|
167
|
+
windowMs?: number;
|
|
168
|
+
minClassified?: number;
|
|
169
|
+
now?: number;
|
|
170
|
+
}): boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Enforcement gate: whether a mechanism is currently DEMOTED and its caller must
|
|
173
|
+
* therefore skip the kill/hold/respawn (record the firing, take no action). The
|
|
174
|
+
* single seam every action site reads so the block-to-observe policy lives in one
|
|
175
|
+
* place -- and so it can later diverge from the raw reading (e.g. an operator
|
|
176
|
+
* kill-switch, or a per-mechanism min-sample) without touching every call site.
|
|
177
|
+
* Same condition as isDemotionRecommended today; a distinct name so an action
|
|
178
|
+
* site reads as enforcement ("if demoted, do not terminate") rather than as the
|
|
179
|
+
* advisory reading the heartbeat shows.
|
|
180
|
+
*/
|
|
181
|
+
export declare function isMechanismDemoted(mechanism: string, opts?: {
|
|
182
|
+
windowMs?: number;
|
|
183
|
+
minClassified?: number;
|
|
184
|
+
now?: number;
|
|
185
|
+
}): boolean;
|
|
186
|
+
/** The mechanisms that currently have at least one recorded firing. */
|
|
187
|
+
export declare function firingMechanisms(): string[];
|
|
188
|
+
/** Test-only: clear all recorded firings and reset the id counter. */
|
|
189
|
+
export declare function __resetFiringRecordsForTesting(): void;
|
|
190
|
+
//# sourceMappingURL=supervision-firing-record.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supervision-firing-record.d.ts","sourceRoot":"","sources":["../../src/completion/supervision-firing-record.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,kFAAkF;AAClF,eAAO,MAAM,qBAAqB;IAChC;qEACiE;;IAEjE;kEAC8D;;IAE9D;gDAC4C;;CAEpC,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE,2CAA2C;AAC3C,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAEhF,sDAAsD;AACtD,MAAM,WAAW,iBAAiB;IAChC,mDAAmD;IACnD,EAAE,EAAE,MAAM,CAAC;IACX;uDACmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,oFAAoF;IACpF,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,OAAO,EAAE,aAAa,CAAC;IACvB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wFAAwF;IACxF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yDAAyD;AACzD,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAA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kBT;AAED;oCACoC;AACpC,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,+DAA+D;AAC/D,eAAO,MAAM,gBAAgB,UAAY,CAAC;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,IAAI,GAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAO,GACrE,OAAO,CAIT;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,MAAM,EACjB,IAAI,GAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAO,GACrE,OAAO,CAET;AAED,uEAAuE;AACvE,wBAAgB,gBAAgB,IAAI,MAAM,EAAE,CAE3C;AAED,sEAAsE;AACtE,wBAAgB,8BAA8B,IAAI,IAAI,CAGrD"}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
+
// Pinned by: packages/daemon/src/completion/liveness-firing.test.ts,
|
|
3
|
+
// packages/daemon/src/completion/supervision-firing-record.test.ts,
|
|
4
|
+
// packages/daemon/src/completion/teardown-demotion-gate.test.ts,
|
|
5
|
+
// packages/daemon/src/focus/respawn-demotion-gate.test.ts,
|
|
6
|
+
// packages/daemon/src/focus/supervision-firing-correlation.test.ts,
|
|
7
|
+
// packages/daemon/src/shell/supervision-firing-rates.test.ts
|
|
8
|
+
// PINNED-BY-END
|
|
9
|
+
/**
|
|
10
|
+
* Supervision firing records -- the falsifiability instrument.
|
|
11
|
+
*
|
|
12
|
+
* The mechanisms that can END, HOLD, or RESPAWN a team (teardown-at-first-result,
|
|
13
|
+
* the spawn-gate-vs-exit respawn, the liveness badge, stall detectors, the verify
|
|
14
|
+
* interlock) were unfalsifiable: nothing recorded whether a firing was later
|
|
15
|
+
* borne out, so a false positive (the 80-spawn storm, the 5 lost compactions on
|
|
16
|
+
* 2026-09-06) was discoverable only by grepping the log after the cost was paid.
|
|
17
|
+
*
|
|
18
|
+
* This module gives every such mechanism a small firing record with a LATER-
|
|
19
|
+
* classified verdict: a firing predicts an outcome ("this team has no more
|
|
20
|
+
* actionable work"; "this respawn has work to do"; "this team is unresponsive"),
|
|
21
|
+
* and once reality is known the firing is classified true_positive (the
|
|
22
|
+
* prediction was borne out) or false_positive (it was not). The per-mechanism
|
|
23
|
+
* false-positive RATE is then a reading (surfaced in the heartbeat + metrics),
|
|
24
|
+
* and demotion from block to observe becomes a policy driven by that reading
|
|
25
|
+
* rather than a human hand-diagnosing a stuck mode.
|
|
26
|
+
*
|
|
27
|
+
* In-memory + bounded (a per-mechanism ring buffer): this is a live falsifiability
|
|
28
|
+
* signal for the running daemon, not a durable audit log. The ratchet pattern
|
|
29
|
+
* (scripts/ratchet-*.mjs) is the precedent for demote-on-reading; this is its
|
|
30
|
+
* runtime analogue.
|
|
31
|
+
*
|
|
32
|
+
* @module completion/supervision-firing-record
|
|
33
|
+
*/
|
|
34
|
+
/** The supervision mechanisms covered first (the three implicated 2026-09-06). */
|
|
35
|
+
export const SUPERVISION_MECHANISM = {
|
|
36
|
+
/** The completion handler ends a team at its first `result`. Predicts: the team
|
|
37
|
+
* had no more actionable work / nothing queued still to run. */
|
|
38
|
+
TEARDOWN_AT_FIRST_RESULT: 'teardown_at_first_result',
|
|
39
|
+
/** The spawn gate respawns a focus its exit classifier just declared done.
|
|
40
|
+
* Predicts: the respawned focus has team-actionable work. */
|
|
41
|
+
SPAWN_GATE_VS_EXIT_RESPAWN: 'spawn_gate_vs_exit_respawn',
|
|
42
|
+
/** The liveness badge marks a team unresponsive. Predicts: the team is wedged
|
|
43
|
+
* (not a legitimate multi-minute park). */
|
|
44
|
+
LIVENESS_BADGE: 'liveness_badge',
|
|
45
|
+
};
|
|
46
|
+
/** Max firings retained per mechanism (oldest evicted). Bounds memory; the rate
|
|
47
|
+
* is a recency signal, not a full history. */
|
|
48
|
+
export const FIRING_BUFFER_CAP = 256;
|
|
49
|
+
/**
|
|
50
|
+
* Settle window: a prediction that survives this long with no falsifying event is
|
|
51
|
+
* swept to true_positive. It is also the FP horizon by construction -- an active
|
|
52
|
+
* classifier (e.g. a teardown falsified by a re-ready focus) can only fire while
|
|
53
|
+
* the firing is still unclassified, i.e. younger than this. So a teardown a focus
|
|
54
|
+
* contradicts QUICKLY (the storm) is FP; one that stands past the window is TP.
|
|
55
|
+
* One knob. 3 minutes: longer than a spawn cooldown / re-ready cycle, short
|
|
56
|
+
* enough that the rate reflects recent behavior.
|
|
57
|
+
*/
|
|
58
|
+
export const FIRING_SETTLE_WINDOW_MS = 180_000;
|
|
59
|
+
const firings = new Map();
|
|
60
|
+
let nextId = 1;
|
|
61
|
+
/**
|
|
62
|
+
* Record a mechanism firing. Returns the firing id so the caller can classify it
|
|
63
|
+
* later once the predicted outcome is known. The buffer is bounded per mechanism.
|
|
64
|
+
*/
|
|
65
|
+
export function recordFiring(args) {
|
|
66
|
+
const id = nextId++;
|
|
67
|
+
const firing = {
|
|
68
|
+
id,
|
|
69
|
+
mechanism: args.mechanism,
|
|
70
|
+
focusId: args.focusId,
|
|
71
|
+
firedAt: args.now ?? Date.now(),
|
|
72
|
+
predicted: args.predicted,
|
|
73
|
+
verdict: 'unclassified',
|
|
74
|
+
};
|
|
75
|
+
const buf = firings.get(args.mechanism) ?? [];
|
|
76
|
+
buf.push(firing);
|
|
77
|
+
if (buf.length > FIRING_BUFFER_CAP)
|
|
78
|
+
buf.shift();
|
|
79
|
+
firings.set(args.mechanism, buf);
|
|
80
|
+
return id;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Classify a recorded firing from the outcome it predicted: `borneOut` true means
|
|
84
|
+
* the prediction held (true_positive), false means it did not (false_positive).
|
|
85
|
+
* A no-op if the id is unknown (evicted or never recorded) or already classified.
|
|
86
|
+
*/
|
|
87
|
+
export function classifyFiring(id, args) {
|
|
88
|
+
for (const buf of firings.values()) {
|
|
89
|
+
const firing = buf.find((f) => f.id === id);
|
|
90
|
+
if (!firing)
|
|
91
|
+
continue;
|
|
92
|
+
if (firing.verdict !== 'unclassified')
|
|
93
|
+
return;
|
|
94
|
+
firing.verdict = args.borneOut ? 'true_positive' : 'false_positive';
|
|
95
|
+
firing.classifiedAt = args.now ?? Date.now();
|
|
96
|
+
firing.observed = args.observed;
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Aggregate the reading for one mechanism over the firings within `windowMs`
|
|
102
|
+
* (default: all retained). The false-positive rate is over CLASSIFIED firings
|
|
103
|
+
* only; null when none are classified yet.
|
|
104
|
+
*/
|
|
105
|
+
export function firingStats(mechanism, opts = {}) {
|
|
106
|
+
const now = opts.now ?? Date.now();
|
|
107
|
+
const cutoff = opts.windowMs === undefined ? -Infinity : now - opts.windowMs;
|
|
108
|
+
const buf = (firings.get(mechanism) ?? []).filter((f) => f.firedAt >= cutoff);
|
|
109
|
+
let truePositives = 0;
|
|
110
|
+
let falsePositives = 0;
|
|
111
|
+
let unclassified = 0;
|
|
112
|
+
for (const f of buf) {
|
|
113
|
+
if (f.verdict === 'true_positive')
|
|
114
|
+
truePositives++;
|
|
115
|
+
else if (f.verdict === 'false_positive')
|
|
116
|
+
falsePositives++;
|
|
117
|
+
else
|
|
118
|
+
unclassified++;
|
|
119
|
+
}
|
|
120
|
+
const classified = truePositives + falsePositives;
|
|
121
|
+
return {
|
|
122
|
+
mechanism,
|
|
123
|
+
total: buf.length,
|
|
124
|
+
truePositives,
|
|
125
|
+
falsePositives,
|
|
126
|
+
unclassified,
|
|
127
|
+
falsePositiveRate: classified === 0 ? null : falsePositives / classified,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Classify the MOST RECENT still-unclassified firing of `mechanism` for `focusId`
|
|
132
|
+
* from the outcome it predicted, and report whether one was found. The active
|
|
133
|
+
* classification path: a caller that observes the falsifying (or confirming)
|
|
134
|
+
* event for a focus -- e.g. the spawn gate respawning a focus a teardown just
|
|
135
|
+
* declared work-free -- classifies that specific prior firing without threading
|
|
136
|
+
* its id through unrelated code. A no-op (returns false) when the focus has no
|
|
137
|
+
* unclassified firing of that mechanism (e.g. a first-ever spawn, no prior
|
|
138
|
+
* teardown).
|
|
139
|
+
*/
|
|
140
|
+
export function classifyLatestUnclassifiedFiring(mechanism, focusId, args) {
|
|
141
|
+
const buf = firings.get(mechanism);
|
|
142
|
+
if (!buf)
|
|
143
|
+
return false;
|
|
144
|
+
for (let i = buf.length - 1; i >= 0; i--) {
|
|
145
|
+
const f = buf[i];
|
|
146
|
+
if (f && f.focusId === focusId && f.verdict === 'unclassified') {
|
|
147
|
+
f.verdict = args.borneOut ? 'true_positive' : 'false_positive';
|
|
148
|
+
f.classifiedAt = args.now ?? Date.now();
|
|
149
|
+
f.observed = args.observed;
|
|
150
|
+
return true;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return false;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Settle sweep: classify every still-unclassified firing older than `olderThanMs`
|
|
157
|
+
* as borne out (true_positive) -- the prediction HELD because no falsifying event
|
|
158
|
+
* arrived within the settle window (FPs are classified actively at their
|
|
159
|
+
* falsifying event, so an aged unclassified firing is one nothing contradicted).
|
|
160
|
+
* Optionally scoped to one `mechanism`. Returns the number classified. Idempotent
|
|
161
|
+
* and cheap; call it from the poll loop.
|
|
162
|
+
*/
|
|
163
|
+
export function sweepAgedFirings(args) {
|
|
164
|
+
const now = args.now ?? Date.now();
|
|
165
|
+
const cutoff = now - args.olderThanMs;
|
|
166
|
+
const bufs = args.mechanism
|
|
167
|
+
? [firings.get(args.mechanism)].filter((b) => b !== undefined)
|
|
168
|
+
: [...firings.values()];
|
|
169
|
+
let swept = 0;
|
|
170
|
+
for (const buf of bufs) {
|
|
171
|
+
for (const f of buf) {
|
|
172
|
+
if (f.verdict === 'unclassified' && f.firedAt < cutoff) {
|
|
173
|
+
f.verdict = 'true_positive';
|
|
174
|
+
f.classifiedAt = now;
|
|
175
|
+
f.observed = args.observed ?? 'settle window elapsed with no falsifying event';
|
|
176
|
+
swept++;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
return swept;
|
|
181
|
+
}
|
|
182
|
+
/** Min classified firings before demotion can be recommended -- a single early FP
|
|
183
|
+
* must not disable a mechanism. */
|
|
184
|
+
export const DEMOTE_MIN_CLASSIFIED = 8;
|
|
185
|
+
/** Window the demotion policy reads the rate over (1 hour). */
|
|
186
|
+
export const DEMOTE_WINDOW_MS = 3_600_000;
|
|
187
|
+
/**
|
|
188
|
+
* Demotion policy -- the CONDITION a mechanism must meet to be demoted to
|
|
189
|
+
* observe-only. This is the pure predicate; the heartbeat surfaces it as a
|
|
190
|
+
* reading (demotionRecommended) and the action sites ENFORCE it via
|
|
191
|
+
* isMechanismDemoted (below). "Converge first" (the focus statement) was about
|
|
192
|
+
* not DELETING supervision code -- demotion to observe-only is a runtime,
|
|
193
|
+
* reversible, data-driven gate, which the AC requires be enforced, not merely
|
|
194
|
+
* reported (AC/FRT #10: "demoted to observe-only -- it records but no longer
|
|
195
|
+
* kills or holds -- by policy").
|
|
196
|
+
*
|
|
197
|
+
* A mechanism has earned demotion when, over the window, it has at least
|
|
198
|
+
* DEMOTE_MIN_CLASSIFIED classified firings AND ZERO true positives -- it has NEVER
|
|
199
|
+
* been right in a meaningful sample. The min-sample guard keeps a single early FP
|
|
200
|
+
* from disabling a mechanism. The reading is over a window and self-lifting: as a
|
|
201
|
+
* demoted mechanism's firings age (or sweep to TP because, no longer acting, it
|
|
202
|
+
* has nothing left to falsify them), the condition clears and the mechanism
|
|
203
|
+
* re-arms -- a brief circuit-break during a storm, not a permanent disable.
|
|
204
|
+
*/
|
|
205
|
+
export function isDemotionRecommended(mechanism, opts = {}) {
|
|
206
|
+
const s = firingStats(mechanism, { windowMs: opts.windowMs ?? DEMOTE_WINDOW_MS, now: opts.now });
|
|
207
|
+
const classified = s.truePositives + s.falsePositives;
|
|
208
|
+
return classified >= (opts.minClassified ?? DEMOTE_MIN_CLASSIFIED) && s.truePositives === 0;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Enforcement gate: whether a mechanism is currently DEMOTED and its caller must
|
|
212
|
+
* therefore skip the kill/hold/respawn (record the firing, take no action). The
|
|
213
|
+
* single seam every action site reads so the block-to-observe policy lives in one
|
|
214
|
+
* place -- and so it can later diverge from the raw reading (e.g. an operator
|
|
215
|
+
* kill-switch, or a per-mechanism min-sample) without touching every call site.
|
|
216
|
+
* Same condition as isDemotionRecommended today; a distinct name so an action
|
|
217
|
+
* site reads as enforcement ("if demoted, do not terminate") rather than as the
|
|
218
|
+
* advisory reading the heartbeat shows.
|
|
219
|
+
*/
|
|
220
|
+
export function isMechanismDemoted(mechanism, opts = {}) {
|
|
221
|
+
return isDemotionRecommended(mechanism, opts);
|
|
222
|
+
}
|
|
223
|
+
/** The mechanisms that currently have at least one recorded firing. */
|
|
224
|
+
export function firingMechanisms() {
|
|
225
|
+
return [...firings.keys()];
|
|
226
|
+
}
|
|
227
|
+
/** Test-only: clear all recorded firings and reset the id counter. */
|
|
228
|
+
export function __resetFiringRecordsForTesting() {
|
|
229
|
+
firings.clear();
|
|
230
|
+
nextId = 1;
|
|
231
|
+
}
|
|
232
|
+
//# sourceMappingURL=supervision-firing-record.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supervision-firing-record.js","sourceRoot":"","sources":["../../src/completion/supervision-firing-record.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,qEAAqE;AACrE,sEAAsE;AACtE,mEAAmE;AACnE,6DAA6D;AAC7D,sEAAsE;AACtE,+DAA+D;A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;IACjG,MAAM,UAAU,GAAG,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,cAAc,CAAC;IACtD,OAAO,UAAU,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC,aAAa,KAAK,CAAC,CAAC;AAC9F,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,kBAAkB,CAChC,SAAiB,EACjB,OAAoE,EAAE;IAEtE,OAAO,qBAAqB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAChD,CAAC;AAED,uEAAuE;AACvE,MAAM,UAAU,gBAAgB;IAC9B,OAAO,CAAC,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;AAC7B,CAAC;AAED,sEAAsE;AACtE,MAAM,UAAU,8BAA8B;IAC5C,OAAO,CAAC,KAAK,EAAE,CAAC;IAChB,MAAM,GAAG,CAAC,CAAC;AACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-lifecycle.d.ts","sourceRoot":"","sources":["../../src/completion/team-lifecycle.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"team-lifecycle.d.ts","sourceRoot":"","sources":["../../src/completion/team-lifecycle.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA+B5D;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAChD,OAAO,CAsET;AAED;;;;;;;;;;GAU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AGG;AACH,wBAAsB,wBAAwB,CAC5C,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC,CAyBf;AAuCD;;;;;;;;;;;;GAYG;AACH,wBAAsB,gCAAgC,CACpD,MAAM,EAAE,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC,CAwIf"}
|
|
@@ -6,6 +6,7 @@ import { getReadyFocuses } from '../queries/focus-discovery.js';
|
|
|
6
6
|
import { sendMessage } from '@telora/daemon-core';
|
|
7
7
|
import { clearNarration } from '../shell/heartbeat.js';
|
|
8
8
|
import { clearFocusClock } from '../shell/activity-clock-registry.js';
|
|
9
|
+
import { clearStdinTurnTracking } from './stdin-turn-tracker.js';
|
|
9
10
|
import { getActiveTeams, markShuttingDown, getShuttingDownAt, clearShuttingDown, clearTeamActivity, getTeamLastActivityAt, releaseFocusSlot, } from '../focus/focus-team-state.js';
|
|
10
11
|
import { resolveIdleTeamStallHours } from '../verify/stall-detector-config.js';
|
|
11
12
|
import { describeTeamClockLiveness, formatClockNote } from './team-liveness-log.js';
|
|
@@ -211,6 +212,7 @@ export function reapStuckShuttingDownTeams(deps) {
|
|
|
211
212
|
clearShuttingDown(focusId);
|
|
212
213
|
clearTeamActivity(focusId);
|
|
213
214
|
clearFocusClock(focusId);
|
|
215
|
+
clearStdinTurnTracking(focusId);
|
|
214
216
|
reapedFocusIds.push(focusId);
|
|
215
217
|
}
|
|
216
218
|
return { reaped: reapedFocusIds.length, reapedFocusIds };
|
|
@@ -282,6 +284,7 @@ export function reapDeadProcessTeams(deps) {
|
|
|
282
284
|
clearShuttingDown(focusId);
|
|
283
285
|
clearTeamActivity(focusId);
|
|
284
286
|
clearFocusClock(focusId);
|
|
287
|
+
clearStdinTurnTracking(focusId);
|
|
285
288
|
reapedFocusIds.push(focusId);
|
|
286
289
|
}
|
|
287
290
|
return { reaped: reapedFocusIds.length, reapedFocusIds };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-lifecycle.js","sourceRo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AS,oCAAoC;wBACjG,+BAA+B,CAChC,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,GAAG,CAAC,IAAI,CACN,oBAAoB,QAAQ,CAAC,MAAM,4CAA4C,IAAI,CAAC,SAAS,OAAO;wBACpG,mBAAmB,SAAS,GAAG,CAChC,CAAC;gBACJ,CAAC;gBACD,SAAS;YACX,CAAC;YAED,oEAAoE;YACpE,6DAA6D;YAC7D,GAAG,CAAC,IAAI,CACN,iDAAiD,IAAI,CAAC,SAAS,mBAAmB,CACnF,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,GAAG,CAAC,IAAI,CACN,8DAA8D,IAAI,CAAC,SAAS,IAAI,EAC/E,GAAa,CAAC,OAAO,CACvB,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-phase.d.ts","sourceRoot":"","sources":["../../src/completion/team-phase.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"team-phase.d.ts","sourceRoot":"","sources":["../../src/completion/team-phase.ts"],"names":[],"mappings":"AA6CA;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,eAAe,GAAG,mBAAmB,GAAG,UAAU,CAAC;AAcnG,gGAAgG;AAChG,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE3D;AAED,sEAAsE;AACtE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE5D;AAED,4EAA4E;AAC5E,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,kFAAkF;AAClF,wBAAgB,0BAA0B,IAAI,IAAI,CAEjD;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE;IACxC,aAAa,EAAE,OAAO,CAAC;IACvB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;CACvB,GAAG,mBAAmB,GAAG,SAAS,CAMlC;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1C,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,uBAAuB,IAAI,MAAM,EAAE,CAAC;IACpC,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IACnD,wBAAwB,IAAI,MAAM,EAAE,CAAC;IACrC,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7C;AAWD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,GAAE,gBAA0C,GAClD,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAsBrC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
-
// Pinned by: packages/daemon/src/completion/
|
|
2
|
+
// Pinned by: packages/daemon/src/completion/no-actionable-work-exit.test.ts,
|
|
3
|
+
// packages/daemon/src/completion/team-phase.test.ts,
|
|
3
4
|
// packages/daemon/src/shell/heartbeat-team-phases.test.ts
|
|
4
5
|
// PINNED-BY-END
|
|
5
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-phase.js","sourceRoot":"","sources":["../../src/completion/team-phase.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,
|
|
1
|
+
{"version":3,"file":"team-phase.js","sourceRoot":"","sources":["../../src/completion/team-phase.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,6EAA6E;AAC7E,uDAAuD;AACvD,4DAA4D;AAC5D,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAAE,cA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EAAE;IACpD,aAAa;IACb,uBAAuB;IACvB,wBAAwB;IACxB,wBAAwB;IACxB,iBAAiB;CAClB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAiB,CAC/B,UAA4B,uBAAuB;IAEnD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAS;QACjC,GAAG,OAAO,CAAC,qBAAqB,EAAE;QAClC,GAAG,OAAO,CAAC,uBAAuB,EAAE;QACpC,GAAG,OAAO,CAAC,wBAAwB,EAAE;QACrC,GAAG,mBAAmB;KACvB,CAAC,CAAC;IACH,MAAM,GAAG,GAAwC,EAAE,CAAC;IACpD,KAAK,MAAM,OAAO,IAAI,UAAU,EAAE,CAAC;QACjC,MAAM,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QAClD,0EAA0E;QAC1E,uEAAuE;QACvE,IAAI,UAAU;YAAE,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACpD,MAAM,KAAK,GAAG,gBAAgB,CAAC;YAC7B,aAAa,EAAE,UAAU;YACzB,mBAAmB,EAAE,OAAO,CAAC,wBAAwB,CAAC,OAAO,CAAC;YAC9D,UAAU,EAAE,OAAO,CAAC,iBAAiB,CAAC,OAAO,CAAC;YAC9C,YAAY,EAAE,mBAAmB,CAAC,GAAG,CAAC,OAAO,CAAC;SAC/C,CAAC,CAAC;QACH,IAAI,KAAK;YAAE,GAAG,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;IAClC,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -86,10 +86,16 @@ export declare function resolveDirectiveExecutionMode(execution: string | null |
|
|
|
86
86
|
* Exported for testing.
|
|
87
87
|
*/
|
|
88
88
|
export declare function executeDirective(config: DaemonConfig, focusId: string, directive: StageDirective, focusWorkflowStageId: string, stageName?: string, focusOverrideModel?: string | null): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* A human summary of a directive's compaction recipe (preserve / shed), or null
|
|
91
|
+
* when it carries none. Pure + exported so the "compact rides the spawn" log and
|
|
92
|
+
* the no-team stash are testable without driving the DB-touching dispatch path.
|
|
93
|
+
*/
|
|
94
|
+
export declare function compactRecipeSummary(directive: StageDirective): string | null;
|
|
89
95
|
/**
|
|
90
96
|
* Inject mode: send /compact + assembled context + prompt to the active team's stdin.
|
|
91
97
|
*/
|
|
92
|
-
export declare function executeInjectDirective(config: DaemonConfig, focusId: string, directive: StageDirective, sessionType?: 'coding' | 'review', spec?: LineageSpec, focusOverrideModel?: string | null): Promise<void>;
|
|
98
|
+
export declare function executeInjectDirective(config: DaemonConfig, focusId: string, directive: StageDirective, sessionType?: 'coding' | 'review', spec?: LineageSpec, focusOverrideModel?: string | null, originStageId?: string | null): Promise<void>;
|
|
93
99
|
/**
|
|
94
100
|
* Result of a bounded-retry attempt to run a directive. The retry is on
|
|
95
101
|
* ANY thrown error (assembly resolver throws, fetch failures, Supabase
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directive-dispatch.d.ts","sourceRoot":"","sources":["../../src/directive/directive-dispatch.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"directive-dispatch.d.ts","sourceRoot":"","sources":["../../src/directive/directive-dispatch.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAgB7D;;;;;;;;;;;;;GAaG;AACH,e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