instar 1.3.719 → 1.3.720

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.
Files changed (73) hide show
  1. package/dist/commands/server.d.ts.map +1 -1
  2. package/dist/commands/server.js +213 -31
  3. package/dist/commands/server.js.map +1 -1
  4. package/dist/core/CoherenceJournal.d.ts.map +1 -1
  5. package/dist/core/CoherenceJournal.js +9 -1
  6. package/dist/core/CoherenceJournal.js.map +1 -1
  7. package/dist/core/CoherenceJournalReader.d.ts +56 -0
  8. package/dist/core/CoherenceJournalReader.d.ts.map +1 -1
  9. package/dist/core/CoherenceJournalReader.js +148 -0
  10. package/dist/core/CoherenceJournalReader.js.map +1 -1
  11. package/dist/core/LeaseAcquisitionTrigger.d.ts +35 -0
  12. package/dist/core/LeaseAcquisitionTrigger.d.ts.map +1 -0
  13. package/dist/core/LeaseAcquisitionTrigger.js +53 -0
  14. package/dist/core/LeaseAcquisitionTrigger.js.map +1 -0
  15. package/dist/core/OwnershipReconciler.d.ts +106 -2
  16. package/dist/core/OwnershipReconciler.d.ts.map +1 -1
  17. package/dist/core/OwnershipReconciler.js +265 -12
  18. package/dist/core/OwnershipReconciler.js.map +1 -1
  19. package/dist/core/PlacementExecutor.d.ts +14 -1
  20. package/dist/core/PlacementExecutor.d.ts.map +1 -1
  21. package/dist/core/PlacementExecutor.js +17 -2
  22. package/dist/core/PlacementExecutor.js.map +1 -1
  23. package/dist/core/PostUpdateMigrator.d.ts +5 -3
  24. package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
  25. package/dist/core/PostUpdateMigrator.js +33 -7
  26. package/dist/core/PostUpdateMigrator.js.map +1 -1
  27. package/dist/core/SustainedOnlineTracker.d.ts +47 -0
  28. package/dist/core/SustainedOnlineTracker.d.ts.map +1 -0
  29. package/dist/core/SustainedOnlineTracker.js +67 -0
  30. package/dist/core/SustainedOnlineTracker.js.map +1 -0
  31. package/dist/core/TopicPinFoldView.d.ts +138 -0
  32. package/dist/core/TopicPinFoldView.d.ts.map +1 -0
  33. package/dist/core/TopicPinFoldView.js +235 -0
  34. package/dist/core/TopicPinFoldView.js.map +1 -0
  35. package/dist/core/TopicPinMutation.d.ts +46 -0
  36. package/dist/core/TopicPinMutation.d.ts.map +1 -0
  37. package/dist/core/TopicPinMutation.js +66 -0
  38. package/dist/core/TopicPinMutation.js.map +1 -0
  39. package/dist/core/TopicPinReplicatedStore.d.ts +3 -0
  40. package/dist/core/TopicPinReplicatedStore.d.ts.map +1 -1
  41. package/dist/core/TopicPinReplicatedStore.js +5 -0
  42. package/dist/core/TopicPinReplicatedStore.js.map +1 -1
  43. package/dist/core/TopicPinSkewQuarantine.d.ts +44 -0
  44. package/dist/core/TopicPinSkewQuarantine.d.ts.map +1 -0
  45. package/dist/core/TopicPinSkewQuarantine.js +136 -0
  46. package/dist/core/TopicPinSkewQuarantine.js.map +1 -0
  47. package/dist/core/TopicPlacementPinStore.d.ts +29 -2
  48. package/dist/core/TopicPlacementPinStore.d.ts.map +1 -1
  49. package/dist/core/TopicPlacementPinStore.js +23 -5
  50. package/dist/core/TopicPlacementPinStore.js.map +1 -1
  51. package/dist/core/types.d.ts +29 -2
  52. package/dist/core/types.d.ts.map +1 -1
  53. package/dist/core/types.js.map +1 -1
  54. package/dist/monitoring/guardManifest.d.ts.map +1 -1
  55. package/dist/monitoring/guardManifest.js +46 -0
  56. package/dist/monitoring/guardManifest.js.map +1 -1
  57. package/dist/scaffold/templates.d.ts.map +1 -1
  58. package/dist/scaffold/templates.js +1 -0
  59. package/dist/scaffold/templates.js.map +1 -1
  60. package/dist/server/AgentServer.d.ts +4 -0
  61. package/dist/server/AgentServer.d.ts.map +1 -1
  62. package/dist/server/AgentServer.js +2 -0
  63. package/dist/server/AgentServer.js.map +1 -1
  64. package/dist/server/routes.d.ts +6 -0
  65. package/dist/server/routes.d.ts.map +1 -1
  66. package/dist/server/routes.js +160 -15
  67. package/dist/server/routes.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/data/builtin-manifest.json +64 -64
  70. package/src/data/state-coherence-registry.json +18 -0
  71. package/src/scaffold/templates.ts +1 -0
  72. package/upgrades/1.3.720.md +125 -0
  73. package/upgrades/side-effects/u4-1-pin-persistence.md +49 -0
@@ -0,0 +1,35 @@
1
+ /**
2
+ * LeaseAcquisitionTrigger — U4.1 §2D's "becoming placement router triggers one
3
+ * immediate reconciler tick" (docs/specs/u4-1-pin-persistence.md).
4
+ *
5
+ * A tiny, pure transition detector polled on a short cadence: when
6
+ * `holdsLease()` goes false→true (lease acquisition — and BOOT-as-holder,
7
+ * since the initial state is deliberately false), it fires `onAcquired()`
8
+ * exactly once for that acquisition. Replay is a reconciler INPUT, never a
9
+ * second transfer-initiating pass — the fired tick is the SAME
10
+ * `OwnershipReconciler.tick()` the cadence runs.
11
+ *
12
+ * Epoch fencing: the trigger fires only while the lease is STILL HELD at
13
+ * fire time (the poll reads `holdsLease()` and fires in the same breath); a
14
+ * stale router — one that lost the lease between polls — observes false and
15
+ * fires nothing. Every action inside the tick is additionally CAS-fenced by
16
+ * the ownership registry, so even a raced fire initiates nothing a
17
+ * non-holder could not legitimately do on its own cadence.
18
+ *
19
+ * Fail-open toward silence: an unreadable lease skips the acquisition tick
20
+ * (the 30s cadence tick still converges); a throwing `onAcquired` never
21
+ * poisons the transition state (the next acquisition still fires).
22
+ */
23
+ export interface LeaseAcquisitionTriggerDeps {
24
+ holdsLease: () => boolean;
25
+ onAcquired: () => void;
26
+ }
27
+ export declare class LeaseAcquisitionTrigger {
28
+ private readonly d;
29
+ /** Starts FALSE so the first held observation (boot as the holder) fires. */
30
+ private wasHolder;
31
+ constructor(deps: LeaseAcquisitionTriggerDeps);
32
+ /** One poll step. Returns true when the acquisition fire happened. */
33
+ poll(): boolean;
34
+ }
35
+ //# sourceMappingURL=LeaseAcquisitionTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeaseAcquisitionTrigger.d.ts","sourceRoot":"","sources":["../../src/core/LeaseAcquisitionTrigger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,OAAO,CAAC;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAA8B;IAChD,6EAA6E;IAC7E,OAAO,CAAC,SAAS,CAAS;gBAEd,IAAI,EAAE,2BAA2B;IAI7C,sEAAsE;IACtE,IAAI,IAAI,OAAO;CAiBhB"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * LeaseAcquisitionTrigger — U4.1 §2D's "becoming placement router triggers one
3
+ * immediate reconciler tick" (docs/specs/u4-1-pin-persistence.md).
4
+ *
5
+ * A tiny, pure transition detector polled on a short cadence: when
6
+ * `holdsLease()` goes false→true (lease acquisition — and BOOT-as-holder,
7
+ * since the initial state is deliberately false), it fires `onAcquired()`
8
+ * exactly once for that acquisition. Replay is a reconciler INPUT, never a
9
+ * second transfer-initiating pass — the fired tick is the SAME
10
+ * `OwnershipReconciler.tick()` the cadence runs.
11
+ *
12
+ * Epoch fencing: the trigger fires only while the lease is STILL HELD at
13
+ * fire time (the poll reads `holdsLease()` and fires in the same breath); a
14
+ * stale router — one that lost the lease between polls — observes false and
15
+ * fires nothing. Every action inside the tick is additionally CAS-fenced by
16
+ * the ownership registry, so even a raced fire initiates nothing a
17
+ * non-holder could not legitimately do on its own cadence.
18
+ *
19
+ * Fail-open toward silence: an unreadable lease skips the acquisition tick
20
+ * (the 30s cadence tick still converges); a throwing `onAcquired` never
21
+ * poisons the transition state (the next acquisition still fires).
22
+ */
23
+ export class LeaseAcquisitionTrigger {
24
+ d;
25
+ /** Starts FALSE so the first held observation (boot as the holder) fires. */
26
+ wasHolder = false;
27
+ constructor(deps) {
28
+ this.d = deps;
29
+ }
30
+ /** One poll step. Returns true when the acquisition fire happened. */
31
+ poll() {
32
+ let holder;
33
+ try {
34
+ holder = !!this.d.holdsLease();
35
+ }
36
+ catch {
37
+ // @silent-fallback-ok — an unreadable lease fails toward SILENCE by design
38
+ // (U4.1 §2D): the acquisition tick is an optimization; the 30s cadence tick
39
+ // still converges, so skipping is the safe direction, never a lost pin.
40
+ return false;
41
+ }
42
+ const fired = holder && !this.wasHolder;
43
+ this.wasHolder = holder;
44
+ if (fired) {
45
+ try {
46
+ this.d.onAcquired();
47
+ }
48
+ catch { /* a throwing tick never poisons the transition state */ }
49
+ }
50
+ return fired;
51
+ }
52
+ }
53
+ //# sourceMappingURL=LeaseAcquisitionTrigger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeaseAcquisitionTrigger.js","sourceRoot":"","sources":["../../src/core/LeaseAcquisitionTrigger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAOH,MAAM,OAAO,uBAAuB;IACjB,CAAC,CAA8B;IAChD,6EAA6E;IACrE,SAAS,GAAG,KAAK,CAAC;IAE1B,YAAY,IAAiC;QAC3C,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC;IAChB,CAAC;IAED,sEAAsE;IACtE,IAAI;QACF,IAAI,MAAe,CAAC;QACpB,IAAI,CAAC;YACH,MAAM,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;QACjC,CAAC;QAAC,MAAM,CAAC;YACP,2EAA2E;YAC3E,4EAA4E;YAC5E,wEAAwE;YACxE,OAAO,KAAK,CAAC;QACf,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;QACxC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;QACxB,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,CAAC;gBAAC,IAAI,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;YAAC,CAAC;YAAC,MAAM,CAAC,CAAC,wDAAwD,CAAC,CAAC;QACjG,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
@@ -123,6 +123,41 @@ export interface OwnershipReconcilerDeps {
123
123
  suspended: boolean;
124
124
  hlc: HlcTimestamp;
125
125
  }>;
126
+ /**
127
+ * U4.1 §2E (R-r2-2) — the SUSTAINED-online gate for pin-driven actuation
128
+ * toward a machine: Case-A cooperative-transfer initiation and Case-D adopt
129
+ * proceed only when the target has been continuously online for
130
+ * ws13SustainedOnlineMs (anti-flap hysteresis; an offline/flapping pinned
131
+ * target yields `pending`, never a transfer→abort churn loop). Absent ⇒
132
+ * plain-online gating (today's behavior — tests/single-machine unaffected).
133
+ */
134
+ sustainedOnline?: (machineId: string) => boolean;
135
+ /**
136
+ * U4.1 §2E brake (iii): a topic with a LIVE autonomous run defers pin-driven
137
+ * transfers INDEFINITELY as pending — the safe-point deadline override does
138
+ * NOT apply to pin-driven moves, and the consent gate is never auto-confirmed
139
+ * or retried in a loop. Absent ⇒ no autonomous-run signal (today's behavior).
140
+ */
141
+ hasLiveAutonomousRun?: (sessionKey: string) => boolean;
142
+ /** U4.1 §2D pacing: bounded MOVE-INITIATING actions (transfers + adoptions +
143
+ * force-claims) per tick — a lease flap can never trigger a transfer storm.
144
+ * Claims and aborts are exempt (they complete/unwind in-flight handoffs).
145
+ * Default 2 (ws13MaxMovesPerTick). */
146
+ maxMovesPerTick?: number;
147
+ /** U4.1 §2D: desired≠actual persisting past this raises `pinState: diverged`
148
+ * + ONE deduped attention item per episode. Default 10min (ws13DivergedWindowMs). */
149
+ divergedWindowMs?: number;
150
+ /** U4.1 §2E brake (ii): a pending pin older than this raises ONE deduped
151
+ * fulfil-or-unpin attention item. Default 24h (ws13PendingPinMaxAgeMs). */
152
+ pendingPinMaxAgeMs?: number;
153
+ /** U4.1 P17 escalation seam (deduped upstream by id). Absent ⇒ no escalation. */
154
+ raiseAttention?: (item: {
155
+ id: string;
156
+ title: string;
157
+ body: string;
158
+ priority: string;
159
+ sourceContext: string;
160
+ }) => void;
126
161
  now?: () => number;
127
162
  logger?: (msg: string) => void;
128
163
  }
@@ -138,12 +173,36 @@ export interface ReconcileTickReport {
138
173
  deferredBusy: number;
139
174
  deferredDebounce: number;
140
175
  deferredNoEvidence: number;
141
- /** U4.2 named code fix: a LOCAL pin toward an unknown/offline machine defers
142
- * the cooperative transfer (the same online-gate advisory pins already had). */
176
+ /** U4.2 named code fix (upgraded by U4.1 R-r2-2 to SUSTAINED-online): a pin
177
+ * toward an unknown/offline/not-yet-sustained machine defers the cooperative
178
+ * transfer — `pinState: pending`, zero transfer/abort churn cycles. */
143
179
  deferredTargetOffline: number;
180
+ /** U4.1 §2E (iii): pin-driven move deferred indefinitely — live autonomous run. */
181
+ deferredAutonomousRun: number;
182
+ /** U4.1 §2D pacing: move-initiating actions withheld this tick (over ws13MaxMovesPerTick). */
183
+ deferredPaced: number;
144
184
  dryRun: boolean;
145
185
  skipped?: 'disabled' | 'single-machine' | 'self-id-unresolved';
146
186
  }
187
+ /**
188
+ * U4.1 §2D — the verified pin actuation state on the placement read
189
+ * (docs/specs/u4-1-pin-persistence.md; joint enum with U4.2 §2.4, R-r3-4).
190
+ * `suspended-pending-owner-return` is derived from U4.2's replicated
191
+ * `topic-claim-annotation` via the ONE comparison authority
192
+ * (`claimSuspensionExcludesPin`); readers MUST tolerate it from day one.
193
+ */
194
+ export type PinState = 'actuated' | 'pending' | 'diverged' | 'suspended-pending-owner-return';
195
+ export interface PinStateReport {
196
+ pinned: boolean;
197
+ preferredMachine?: string;
198
+ pinState?: PinState;
199
+ /** The winning pin record's HLC PHYSICAL component (R-r2) — never a separate
200
+ * wall-clock read, so the displayed hold-start can never disagree with the
201
+ * ordering authority. */
202
+ pinHeldSince?: number;
203
+ /** Named honesty for `pending` (e.g. the pinned machine's offline status). */
204
+ pendingReason?: string;
205
+ }
147
206
  /** Read-only per-topic decision explanation (Observable Intelligence): what the
148
207
  * reconciler WOULD do for one topic right now, and why — for live debugging a
149
208
  * stuck convergence without acting. Produced by OwnershipReconciler.explainTopic. */
@@ -184,6 +243,13 @@ export declare class OwnershipReconciler {
184
243
  * the owner cooperatively transfers toward; the force-claim path never reads it.
185
244
  */
186
245
  private effectivePins;
246
+ /** The union WITHOUT the suspension filter — pinStateOf() needs to SEE a
247
+ * suspended pin (to report `suspended-pending-owner-return`) that tick()
248
+ * must never ACT on (U4.1 §2D / U4.2 §2.4 composition).
249
+ * `includeOfflineAdvisory` (READ surfaces only): the known-and-online
250
+ * advisory filter protects ACTUATION; the placement READ still wants to
251
+ * report an offline-target advisory pin honestly as `pending`. */
252
+ private effectivePinsRaw;
187
253
  /**
188
254
  * U4.2 §2.4 — a stale-owner claim SUSPENDS the topic's pin (derived at read
189
255
  * time from the replicated `topic-claim-annotation`; the pin record is never
@@ -198,6 +264,22 @@ export declare class OwnershipReconciler {
198
264
  * of pinned topics. Safe to call on any cadence.
199
265
  */
200
266
  tick(): ReconcileTickReport;
267
+ /** Open attention episodes (a flap WITHIN an open episode never re-raises). */
268
+ private readonly divergedEpisodes;
269
+ private readonly agedPendingEpisodes;
270
+ /** Convergence (or pin removal) closes both episodes for the topic. */
271
+ private closePinEpisodes;
272
+ /**
273
+ * Raise the two U4.1 attention items for a topic currently in desired≠actual
274
+ * conflict: `u41:pin-diverged:<topicId>` when the conflict has persisted past
275
+ * ws13DivergedWindowMs (declarative intent with no controller escalation is a
276
+ * wish), and `u41:pin-pending-aged:<topicId>` when the pin itself has sat
277
+ * unfulfilled past ws13PendingPinMaxAgeMs (fulfil-or-unpin — covers the
278
+ * decommissioned/rebuilt-machineId case AND the owner-side offline-target
279
+ * pending, R-r2-2). Both are once-per-episode; the attention store dedupes by
280
+ * id as the backstop.
281
+ */
282
+ private escalatePinDivergence;
201
283
  /**
202
284
  * U4.2 — the engine's single CAS funnel (one actor, §2.7.6). Stamps the
203
285
  * EXTENDED nonce grammar `${self}:stale-owner-release:${sessionKey}:${episodeId}:${now}`
@@ -213,6 +295,28 @@ export declare class OwnershipReconciler {
213
295
  * the exact gap that left the cross-machine stuck-move bug a black box (2026-06-30).
214
296
  */
215
297
  explainTopic(sessionKey: string): TopicReconcileExplanation;
298
+ /**
299
+ * U4.1 §2D — the VERIFIED pin actuation state for one topic (the placement
300
+ * read's `pinState` + `pinHeldSince`). The read reflects the verified actual
301
+ * owner vs the pin, never intent alone (P20: Verify the State, Not Its
302
+ * Symbol). Derivation:
303
+ * - a live claim suspension excluding the pin → `suspended-pending-owner-return`
304
+ * (U4.2 §2.4 joint enum value; the ONE comparison authority is
305
+ * `claimSuspensionExcludesPin` — never a re-implemented comparison);
306
+ * - owner === pin target && active → `actuated`;
307
+ * - desired≠actual persisting past ws13DivergedWindowMs → `diverged`;
308
+ * - otherwise → `pending` (with the target's offline status named).
309
+ * `pinHeldSince` is the winning record's HLC PHYSICAL component (R-r2).
310
+ */
311
+ pinStateOf(sessionKey: string): PinStateReport;
312
+ /** U4.1 §2A — GuardRegistry self-registration getter (`expectRuntime: true`
313
+ * honesty: the manifest declares a runtime report ONLY because this exists
314
+ * and server.ts registers it at boot). */
315
+ guardStatus(): {
316
+ enabled: boolean;
317
+ dryRun: boolean;
318
+ lastTickAt: number;
319
+ };
216
320
  /** Reconciler status (Observable Intelligence): last tick report + when, plus the
217
321
  * live enabled/dryRun gate and machine-count the reconciler actually sees. */
218
322
  status(): {
@@ -1 +1 @@
1
- {"version":3,"file":"OwnershipReconciler.d.ts","sourceRoot":"","sources":["../../src/core/OwnershipReconciler.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAEzF,OAAO,KAAK,EAAY,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGpF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,MAAM,WAAW,qBAAqB;IACpC,SA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