@cotal-ai/runtime 0.49.0 → 0.50.0

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.
@@ -93,12 +93,20 @@ export declare function wasStarved(w: LoopLagWindow): boolean;
93
93
  *
94
94
  * `fault` is TODAY'S ANSWER AND IT IS UNCHANGED: the caller raises, the interpreter records
95
95
  * `L4000`, and a genuine broken host or handler reads exactly as it did before this file existed.
96
- * The one thing that moves is the case where the error is deadline-shaped AND this process can show
97
- * its own loop was not running, which was never evidence about the plane at all.
96
+ * The two things that move are the cases where the error is DEADLINE-SHAPED, which was never
97
+ * evidence about the plane's health at all, only about a reply that did not arrive in time:
98
+ *
99
+ * - `starved`, when this process can show its own loop was not running (#1508). The deadline
100
+ * could not fire because nothing could.
101
+ * - `transient`, when the loop WAS running (#1619). The deadline fired honestly and the reply
102
+ * was merely late, which is a property of one request and not of the pause behind it.
98
103
  */
99
104
  export type PauseCondition = {
100
105
  readonly condition: "starved";
101
106
  readonly window: LoopLagWindow;
107
+ } | {
108
+ readonly condition: "transient";
109
+ readonly window: LoopLagWindow;
102
110
  } | {
103
111
  readonly condition: "fault";
104
112
  };
@@ -125,21 +133,51 @@ export declare const STARVED_ATTEMPTS = 6;
125
133
  */
126
134
  export declare const STARVED_YIELD_MS = 250;
127
135
  /**
128
- * Perform a pause-plane operation, and do not let this host's own starvation be recorded as the
129
- * effect's failure.
136
+ * How many CONSECUTIVE late replies a pause operation gets before the plane is declared unable to
137
+ * answer it (#1619).
138
+ *
139
+ * COUNTED SEPARATELY from {@link STARVED_ATTEMPTS}, and not merged with it, because the two are
140
+ * different diagnoses with different remedies and an operator acts on which one they got: one says
141
+ * give this host capacity, the other says the broker is not answering. Counting them apart also
142
+ * keeps the whole call bounded no matter how the two interleave — neither counter is ever reset, so
143
+ * an alternating sequence cannot retry forever between them.
144
+ */
145
+ export declare const POLL_ATTEMPTS = 6;
146
+ /**
147
+ * The first wait between late replies, DOUBLED each time and capped at {@link POLL_BACKOFF_MAX_MS}.
148
+ *
149
+ * Backoff rather than the flat yield starvation uses, because the two are waiting for different
150
+ * things to recover. A starved loop needs the CPU back, which the next macrotask already measures;
151
+ * a plane answering late is usually a broker under momentary load, and re-issuing at the same
152
+ * cadence adds to exactly the queue that is already behind. Each attempt additionally costs the
153
+ * client's own deadline before it can fail again, so the bound is real wall-clock time either way.
154
+ */
155
+ export declare const POLL_BACKOFF_MS = 250;
156
+ export declare const POLL_BACKOFF_MAX_MS = 2000;
157
+ /**
158
+ * Perform a pause-plane operation, and do not let this host's own starvation, or one late reply
159
+ * from the plane, be recorded as the effect's failure.
130
160
  *
131
161
  * THE OPERATION MUST BE IDEMPOTENT, which the pause plane's are by construction: `arm` mints
132
162
  * idempotently-if-identical and otherwise attaches, and `settle` reads a one-use fact that is
133
- * either there or not. Re-entering either after a starved attempt observes the same world.
163
+ * either there or not. Re-entering either after a starved or unanswered attempt observes the same
164
+ * world.
134
165
  *
135
166
  * A SLEEP PROMISES AT-LEAST, NOT AT-MOST, so a starved one COMPLETES LATE rather than failing: the
136
167
  * broker armed a real timer, it fired while this process was off the CPU, and the fact is waiting
137
168
  * to be read. Retrying reads it and the step settles `ok`. That is the whole repair for the
138
169
  * incident in #1508, the run in it would have completed.
139
170
  *
171
+ * AND A PARKED STEP IS NOT ITS POLLS (#1619). While a pause is parked this host issues roughly one
172
+ * 5s plane read per second for the step's whole duration, so the chance that ONE of them gets a
173
+ * late reply grows with how long the step waits — measured, the asks over 7.5 minutes died and the
174
+ * ones under 4.5 did not. A late reply says nothing about the pause, which is durable on the plane
175
+ * and still answerable, so it is re-read rather than raised.
176
+ *
140
177
  * WHAT IS NOT SWALLOWED: a failure that is not deadline-shaped is raised on the FIRST attempt with
141
- * no retry and no inspection of the loop, and a deadline-shaped failure on a loop that was running
142
- * is raised the same way. Both keep `L4000` and its message exactly as they are today.
178
+ * no retry and no inspection of the loop, keeping `L4000` and its message exactly as they are
179
+ * today. And neither retry is unbounded: each condition carries its own count, and exhausting
180
+ * either fails under a code that names what was measured.
143
181
  */
144
182
  export declare function servedDespiteStarvation<T>(operation: () => Promise<T>, lag: LoopLagObserver, what: string, onStarved?: (note: string) => void): Promise<T>;
145
183
  //# sourceMappingURL=host-starvation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"host-starvation.d.ts","sourceRoot":"","sources":["../src/host-starvation.ts"],"names":[],"mappings":"AA8CA;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,SAAS,IAAI,MAAM,CAAC;IACpB,wGAAwG;IACxG,IAAI,IAAI,MAAM,CAAC;CAChB;AAED,qBAAqB;AACrB,eAAO,MAAM,WAAW,EAAE,SAGzB,CAAC;AAMF;iGACiG;AACjG,eAAO,MAAM,YAAY,MAAM,CAAC;AAEhC,uFAAuF;AACvF,MAAM,WAAW,WAAW;IAC1B,uFAAuF;IACvF,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,2CAA2C;AAC3C,MAAM,WAAW,aAAa;IAC5B,mCAAmC;IACnC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,iEAAiE;IACjE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,+BAA+B;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;;;;;;OAOG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,oCAAoC;IACpC,IAAI,IAAI,WAAW,CAAC;IACpB,gDAAgD;IAChD,KAAK,CAAC,IAAI,EAAE,WAAW,GAAG,aAAa,CAAC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Z"}
@@ -204,7 +204,7 @@ export function classifyPauseFailure(error, window) {
204
204
  if (!isDeadlineShaped(error))
205
205
  return { condition: "fault" };
206
206
  if (!wasStarved(window))
207
- return { condition: "fault" };
207
+ return { condition: "transient", window };
208
208
  return { condition: "starved", window };
209
209
  }
210
210
  // ─────────────────────────────────────────────────────────────────────────────────────────────
@@ -232,24 +232,56 @@ export const STARVED_ATTEMPTS = 6;
232
232
  */
233
233
  export const STARVED_YIELD_MS = 250;
234
234
  /**
235
- * Perform a pause-plane operation, and do not let this host's own starvation be recorded as the
236
- * effect's failure.
235
+ * How many CONSECUTIVE late replies a pause operation gets before the plane is declared unable to
236
+ * answer it (#1619).
237
+ *
238
+ * COUNTED SEPARATELY from {@link STARVED_ATTEMPTS}, and not merged with it, because the two are
239
+ * different diagnoses with different remedies and an operator acts on which one they got: one says
240
+ * give this host capacity, the other says the broker is not answering. Counting them apart also
241
+ * keeps the whole call bounded no matter how the two interleave — neither counter is ever reset, so
242
+ * an alternating sequence cannot retry forever between them.
243
+ */
244
+ export const POLL_ATTEMPTS = 6;
245
+ /**
246
+ * The first wait between late replies, DOUBLED each time and capped at {@link POLL_BACKOFF_MAX_MS}.
247
+ *
248
+ * Backoff rather than the flat yield starvation uses, because the two are waiting for different
249
+ * things to recover. A starved loop needs the CPU back, which the next macrotask already measures;
250
+ * a plane answering late is usually a broker under momentary load, and re-issuing at the same
251
+ * cadence adds to exactly the queue that is already behind. Each attempt additionally costs the
252
+ * client's own deadline before it can fail again, so the bound is real wall-clock time either way.
253
+ */
254
+ export const POLL_BACKOFF_MS = 250;
255
+ export const POLL_BACKOFF_MAX_MS = 2_000;
256
+ /**
257
+ * Perform a pause-plane operation, and do not let this host's own starvation, or one late reply
258
+ * from the plane, be recorded as the effect's failure.
237
259
  *
238
260
  * THE OPERATION MUST BE IDEMPOTENT, which the pause plane's are by construction: `arm` mints
239
261
  * idempotently-if-identical and otherwise attaches, and `settle` reads a one-use fact that is
240
- * either there or not. Re-entering either after a starved attempt observes the same world.
262
+ * either there or not. Re-entering either after a starved or unanswered attempt observes the same
263
+ * world.
241
264
  *
242
265
  * A SLEEP PROMISES AT-LEAST, NOT AT-MOST, so a starved one COMPLETES LATE rather than failing: the
243
266
  * broker armed a real timer, it fired while this process was off the CPU, and the fact is waiting
244
267
  * to be read. Retrying reads it and the step settles `ok`. That is the whole repair for the
245
268
  * incident in #1508, the run in it would have completed.
246
269
  *
270
+ * AND A PARKED STEP IS NOT ITS POLLS (#1619). While a pause is parked this host issues roughly one
271
+ * 5s plane read per second for the step's whole duration, so the chance that ONE of them gets a
272
+ * late reply grows with how long the step waits — measured, the asks over 7.5 minutes died and the
273
+ * ones under 4.5 did not. A late reply says nothing about the pause, which is durable on the plane
274
+ * and still answerable, so it is re-read rather than raised.
275
+ *
247
276
  * WHAT IS NOT SWALLOWED: a failure that is not deadline-shaped is raised on the FIRST attempt with
248
- * no retry and no inspection of the loop, and a deadline-shaped failure on a loop that was running
249
- * is raised the same way. Both keep `L4000` and its message exactly as they are today.
277
+ * no retry and no inspection of the loop, keeping `L4000` and its message exactly as they are
278
+ * today. And neither retry is unbounded: each condition carries its own count, and exhausting
279
+ * either fails under a code that names what was measured.
250
280
  */
251
281
  export async function servedDespiteStarvation(operation, lag, what, onStarved = (note) => console.error(note)) {
252
282
  let last;
283
+ let starved = 0;
284
+ let unanswered = 0;
253
285
  for (let attempt = 1;; attempt += 1) {
254
286
  const mark = lag.mark();
255
287
  try {
@@ -263,10 +295,26 @@ export async function servedDespiteStarvation(operation, lag, what, onStarved =
263
295
  throw error;
264
296
  last = verdict.window;
265
297
  const evidence = describe(last);
266
- if (attempt >= STARVED_ATTEMPTS) {
267
- throw new EffectError("L4025", "host-starved", `${what} could not be served: this host did not schedule the run's process across ${attempt} consecutive attempts (${evidence}). `
298
+ if (verdict.condition === "transient") {
299
+ unanswered += 1;
300
+ if (unanswered >= POLL_ATTEMPTS) {
301
+ throw new EffectError("L4026", "pause-unanswered", `${what} could not be served: the pause plane did not answer ${unanswered} consecutive reads before their client deadline, while this host's own event loop was running (${evidence}). `
302
+ + `The pause and its timer are intact on the plane and nothing about the program or the resource it waits on is at fault; `
303
+ + `the run can be resumed once the broker is answering.`, { attempts: unanswered, lagMs: last.lagMs, elapsedMs: last.elapsedMs, ticksExpected: last.ticksExpected, ticksObserved: last.ticksObserved });
304
+ }
305
+ // SAID OUT LOUD, for the same reason the starved notice is: a run that is merely taking a
306
+ // while looks identical to one whose plane reads keep timing out, and the operator is the
307
+ // person who can act on the difference.
308
+ onStarved(`${what}: attempt ${attempt} reached its client deadline while this host WAS scheduling the run's process (${evidence}); the plane's reply was late, retrying rather than failing the step`);
309
+ // Unrefed, as below: a retry loop is not a reason for a finished process to stay alive.
310
+ await new Promise((r) => setTimeout(r, Math.min(POLL_BACKOFF_MS * 2 ** (unanswered - 1), POLL_BACKOFF_MAX_MS)).unref?.());
311
+ continue;
312
+ }
313
+ starved += 1;
314
+ if (starved >= STARVED_ATTEMPTS) {
315
+ throw new EffectError("L4025", "host-starved", `${what} could not be served: this host did not schedule the run's process across ${starved} consecutive attempts (${evidence}). `
268
316
  + `The pause and its timer are intact on the plane and nothing about the program or the resource it waits on is at fault; `
269
- + `the run can be resumed once the host has capacity.`, { attempts: attempt, lagMs: last.lagMs, elapsedMs: last.elapsedMs, ticksExpected: last.ticksExpected, ticksObserved: last.ticksObserved });
317
+ + `the run can be resumed once the host has capacity.`, { attempts: starved, lagMs: last.lagMs, elapsedMs: last.elapsedMs, ticksExpected: last.ticksExpected, ticksObserved: last.ticksObserved });
270
318
  }
271
319
  // SAID OUT LOUD, once per starved attempt. The operator reading a slow run is the person who
272
320
  // can act on this, and "the host is overloaded" is not deducible from a run that is merely
@@ -1 +1 @@
1
- {"version":3,"file":"host-starvation.js","sourceRoot":"","sources":["../src/host-starvation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,EAAE,WAAW,EAAE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{ RunJournalStore, RunJournalUnavailable } from "./journal-store.js";
12
12
  export { startRun, driveRun, PauseToken, type RunLease, type DriveRequest, type DriveOutcome, type AdoptingHandler, type SeatAdoptingHandler } from "./run-driver.js";
13
- export { MeshHandler, EpfSettleWatcher, CheckpointAnswerMissing, waitConsumerName, waitConsumerConfig, rearmOutstandingPauses, outstandingPauseTokens, readSupervise, spawnArgs, type MeshHandlerBinding, type SettleWatcher, } from "./mesh-handler.js";
13
+ export { MeshHandler, EpfSettleWatcher, CheckpointAnswerMissing, waitConsumerName, waitConsumerConfig, rearmOutstandingPauses, outstandingPauseTokens, readSupervise, spawnArgs, canonicalCwd, type MeshHandlerBinding, type SettleWatcher, } from "./mesh-handler.js";
14
14
  export { resolveCheckpoint, locateOpenCheckpoint, answerOpenCheckpoint, openCheckpointToken, CheckpointNotOpen, type OpenCheckpoint, type ResolveCheckpointDeps, type ResolveCheckpointRequest, type ResolveCheckpointResult, } from "./resolve-checkpoint.js";
15
15
  export { renderRunContext, UnrenderableNotice, type RunContextRender } from "./run-context.js";
16
16
  export { migrateRun, commitMigration, migrationSeats, MigrationNotAdmissible, type MigrateRequest, type MigrateReport, type MigrateOrphan, type MigrateOverrides, type MigrateDivergence, type OrphanVerdict, } from "./migrate.js";
17
17
  export { planFork, commitFork, ForkNotAdmissible, CutJournal, CutReached, type ForkRequest, type ForkPlan, type ForkRefusal, type ForkCommitResult, } from "./fork.js";
18
18
  export { runWorkflow } from "./run-command.js";
19
- export { cotalLangRunHost } from "./run-host.js";
19
+ export { cotalLangRunHost, journalOutcomeOf } from "./run-host.js";
20
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,K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,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAE,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtK,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,aAAa,EACb,SAAS,EACT,YAAY,EACZ,KAAK,kBAAkB,EACvB,KAAK,aAAa,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,EACL,UAAU,EACV,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,aAAa,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -10,13 +10,13 @@
10
10
  */
11
11
  export { RunJournalStore, RunJournalUnavailable } from "./journal-store.js";
12
12
  export { startRun, driveRun, PauseToken } from "./run-driver.js";
13
- export { MeshHandler, EpfSettleWatcher, CheckpointAnswerMissing, waitConsumerName, waitConsumerConfig, rearmOutstandingPauses, outstandingPauseTokens, readSupervise, spawnArgs, } from "./mesh-handler.js";
13
+ export { MeshHandler, EpfSettleWatcher, CheckpointAnswerMissing, waitConsumerName, waitConsumerConfig, rearmOutstandingPauses, outstandingPauseTokens, readSupervise, spawnArgs, canonicalCwd, } from "./mesh-handler.js";
14
14
  export { resolveCheckpoint, locateOpenCheckpoint, answerOpenCheckpoint, openCheckpointToken, CheckpointNotOpen, } from "./resolve-checkpoint.js";
15
15
  export { renderRunContext, UnrenderableNotice } from "./run-context.js";
16
16
  export { migrateRun, commitMigration, migrationSeats, MigrationNotAdmissible, } from "./migrate.js";
17
17
  export { planFork, commitFork, ForkNotAdmissible, CutJournal, CutReached, } from "./fork.js";
18
18
  export { runWorkflow } from "./run-command.js";
19
- export { cotalLangRunHost } from "./run-host.js";
19
+ export { cotalLangRunHost, journalOutcomeOf } from "./run-host.js";
20
20
  // Self-register `cotal run` — the workflow-run operator surface — and the `run-host` the manager
21
21
  // drives runs through (SPEC 14.3). Importing this package from a composition root (bin/run.ts) is
22
22
  // what puts the command on the CLI and the host in the manager's reach; library users who import
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAuG,MAAM,iBAAiB,CAAC;AACtK,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,aAAa,EACb,SAAS,GAGV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oB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,CAAC,UAAU,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { type CheckpointRef, type CheckpointSettleFact, type EpCaller, type RunA
2
2
  import type { NatsConnection } from "@nats-io/transport-node";
3
3
  import type { JetStreamClient, JetStreamManager } from "@nats-io/jetstream";
4
4
  import { type KV } from "@nats-io/kv";
5
- import { type AskRequest, type AgentHandleValue, type ChannelHandleValue, type ConclaveRequest, type WaitRequest, type CheckpointRaw, type CheckpointRequest, type EffectContext, type JournalEntry, type MonitorRequest, type NotifyRequest, type ObserveRequest, type SleepRequest, type SpawnRequest, type TurnRequest, type TurnResultValue } from "@cotal-ai/lang";
5
+ import { EffectError, type AskRequest, type AgentHandleValue, type ChannelHandleValue, type ConclaveRequest, type WaitRequest, type CheckpointRaw, type CheckpointRequest, type EffectContext, type JournalEntry, type MonitorRequest, type NotifyRequest, type ObserveRequest, type SleepRequest, type SpawnRequest, type TurnRequest, type TurnResultValue } from "@cotal-ai/lang";
6
6
  import type { RunPauseHost } from "./run-pause-host.js";
7
7
  import type { RunWaitHost } from "./run-wait-host.js";
8
8
  import { type LoopLagObserver } from "./host-starvation.js";
@@ -136,6 +136,49 @@ export declare class MeshHandler {
136
136
  */
137
137
  private managerService;
138
138
  private manager;
139
+ /**
140
+ * One manager call, with a SPEC 13.2 bind refusal REPAIRED rather than raised.
141
+ *
142
+ * A run resolves the manager on the class rail and binds the incarnation that answered its
143
+ * describe. The invoke is a second, independent trip through the same anycast queue, so in a
144
+ * space with more than one manager it routinely reaches another member, and that member refuses
145
+ * before dispatching. The refusal is honest for one command and destructive for a run: it says
146
+ * the command did not run and its remedy is to re-issue, but raised as the effect's own failure
147
+ * it ends the run and consumes the run id and its journal (#1638).
148
+ *
149
+ * So a refusal the responder MARKS as pre-effect is re-issued instead of returned. It is a first
150
+ * attempt and not a second: the marker together with `not-executed` is the responder's own
151
+ * statement that no effect of the command exists, which is what {@link replyRefusedBeforeEffect}
152
+ * checks, and it is the same licence core's `Endpoint.invokeService` re-issues on. The stale
153
+ * class handle is dropped first, so the re-issue re-describes rather than rebinding the
154
+ * incarnation that was just refused.
155
+ *
156
+ * BOUNDED, because a re-issue draws the same queue again. The describe and the invoke stay two
157
+ * independent trips, so a space of m managers still splits (m-1)/m of the time and the repair
158
+ * converges geometrically rather than deterministically; after {@link BIND_SPLIT_REISSUES} of
159
+ * them the refusal surfaces unchanged, still stating that the command did not run. What removes
160
+ * the residual is addressing one instance, and the run's caller holds no instance-rail grant for
161
+ * a command its program did not place (SPEC 13.9, `run-driver-grants.ts`), so that is a wider
162
+ * change than this one.
163
+ *
164
+ * A PINNED handle is never repaired. It addresses one instance by name, so a refusal from it is
165
+ * that incarnation answering about itself, and re-resolving onto the class rail would reinstate
166
+ * the anycast fallback #1616 removed.
167
+ */
168
+ private invokeManager;
169
+ /**
170
+ * #1616 item 5 — PHASE A, RESOLVE ON THE HOST THAT WILL LAUNCH. A directory is a fact about one
171
+ * filesystem, so the only process that can canonicalize it is the manager instance that will
172
+ * `chdir` into it. This asks the PINNED instance for the canonical form and returns it together
173
+ * with the identity that answered, so phase B dispatches the resolved path and the journal records
174
+ * which host resolved it. There is deliberately NO envelope `id`: a resolve binds no goal, takes
175
+ * no reservation and allocates nothing, so a retry or a crash between the phases costs nothing.
176
+ *
177
+ * EVERY failure direction is a REFUSAL. A path the target cannot resolve is not passed through as
178
+ * the raw string: the raw string would launch somewhere plausible on the manager's own root, which
179
+ * is the fail-open outcome this repair exists to remove.
180
+ */
181
+ private resolveCwd;
139
182
  /** The branded goal-fact context over this handler's own connection, memoized the same way. */
140
183
  private actions;
141
184
  private actionCtx;
@@ -719,6 +762,31 @@ export declare function readSupervise(raw: unknown, persona: string): AgentSuper
719
762
  /** The manager `spawn` args a {@link SpawnRequest} submits: persona names the persona file
720
763
  * (`name`), `join` becomes the seat's channel subscriptions. `permits` stay on the run (they
721
764
  * bind at `turn`); `supervise` travels because the manager is who restarts the process. */
765
+ /**
766
+ * #1616 proof item 5 — ALIAS NORMALIZATION POLICY. One clone reached through a symlink and through
767
+ * its realpath is ONE writable directory, and the single-writer rule keys on identity, so the two
768
+ * forms must collapse before any claim is taken. THE CANONICAL FORM IS THE REALPATH: it is the form
769
+ * the kernel and the child's own `process.cwd()` report, so a claim keyed on it matches what any
770
+ * concurrent run or imperative spawn path observes, whichever alias that caller typed. The symlink
771
+ * path is NOT canonical — normalizing toward it would require resolving every other alias to it,
772
+ * which has no unique answer. Resolution is done ONCE, on the serving host, before the claim and
773
+ * before launch; an unresolvable path is a refusal, never a pass-through of the raw string.
774
+ */
775
+ export declare function canonicalCwd(cwd: string): string;
776
+ /** What phase A establishes and the step journal keeps: the canonical directory as the SERVING host
777
+ * stated it, plus the authoritative identity that stated it. Phase B dispatches `cwd` from here. */
778
+ export interface CwdResolution {
779
+ cwd: string;
780
+ endpoint: string;
781
+ instanceId: string;
782
+ host?: string;
783
+ }
784
+ /** The single named refusal every phase-A failure direction produces: the target does not serve
785
+ * `resolve-cwd`, refuses the path, or answers with something that is not an absolute directory.
786
+ * `L4000` is the host declining the request, and it is raised before any submission, so nothing is
787
+ * bound, allocated or launched. There is no raw-path arm: a fall-back to the caller's string is
788
+ * fail-OPEN, and launching somewhere plausible is the outcome being removed. */
789
+ export declare function cwdResolutionRefusal(persona: string, instanceId: string, cwd: string, cause: string): EffectError;
722
790
  export declare function spawnArgs(req: SpawnRequest): Record<string, unknown>;
723
791
  /**
724
792
  * RE-ARM the timers of every pause this run is still holding, under THIS driver's coordinates.
@@ -1 +1 @@
1
- {"version":3,"file":"mesh-handler.d.ts","sourceRoot":"","sources":["../src/mesh-handler.ts"],"names":[],"mappings":"AAmBA,OAAO,EA4CL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EAGzB,KAAK,QAAQ,EAKb,KAAK,gBAAgB,EAItB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAA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