instar 1.3.721 → 1.3.723
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/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +28 -1
- package/dist/commands/server.js.map +1 -1
- package/dist/core/SessionManager.d.ts +48 -4
- package/dist/core/SessionManager.d.ts.map +1 -1
- package/dist/core/SessionManager.js +65 -9
- package/dist/core/SessionManager.js.map +1 -1
- package/dist/core/TopicPinFoldView.d.ts +33 -1
- package/dist/core/TopicPinFoldView.d.ts.map +1 -1
- package/dist/core/TopicPinFoldView.js +58 -2
- package/dist/core/TopicPinFoldView.js.map +1 -1
- package/dist/monitoring/SessionReaper.d.ts +9 -0
- package/dist/monitoring/SessionReaper.d.ts.map +1 -1
- package/dist/monitoring/SessionReaper.js +10 -2
- package/dist/monitoring/SessionReaper.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +3 -3
- package/upgrades/1.3.722.md +73 -0
- package/upgrades/1.3.723.md +74 -0
- package/upgrades/side-effects/closeout-lease-carveout-and-firstparty-bootstrap.md +148 -0
- package/upgrades/side-effects/u4-1-poolreference-skew-fix.md +47 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA+CH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAU3D,OAAO,EAAE,eAAe,EAAiC,MAAM,iCAAiC,CAAC;AAyBjG,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AA6H7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAgFtD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,g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OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAUT;AAyID,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAi/CD,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,cAAc,EAAE,cAAc,EAC9B,YAAY,CAAC,EAAE,YAAY,EAC3B,WAAW,CAAC,EAAE,WAAW,EACzB,WAAW,CAAC,EAAE,WAAW,EACzB,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,EAGvE,UAAU,CAAC,EAAE,MAAM,OAAO,8BAA8B,EAAE,WAAW,GAAG,IAAI,EAK5E,qBAAqB,CAAC,EAAE,MAAM,OAAO,gCAAgC,EAAE,kBAAkB,GAAG,IAAI,EAKhG,mBAAmB,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,GACpD,IAAI,CAijBN;AA2lBD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAy4jBtE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
|
package/dist/commands/server.js
CHANGED
|
@@ -15318,6 +15318,10 @@ export async function startServer(options) {
|
|
|
15318
15318
|
terminate: (id, reason, opts) => sessionManager.terminateSession(id, reason, {
|
|
15319
15319
|
bypassActiveProcessKeep: opts?.bypassActiveProcessKeep,
|
|
15320
15320
|
bypassRecentUserMessageForConfirmedMove: opts?.bypassRecentUserMessageForConfirmedMove,
|
|
15321
|
+
// F8 carve-out: the topic-moved closeout's lease bypass must reach
|
|
15322
|
+
// the authority — dropping it here would silently restore the
|
|
15323
|
+
// not-lease-holder veto the carve-out exists to lift.
|
|
15324
|
+
bypassLeaseForTopicMovedCloseout: opts?.bypassLeaseForTopicMovedCloseout,
|
|
15321
15325
|
workEvidence: opts?.workEvidence,
|
|
15322
15326
|
}),
|
|
15323
15327
|
markReaping: (id) => sessionManager.markReaping(id),
|
|
@@ -16579,7 +16583,7 @@ export async function startServer(options) {
|
|
|
16579
16583
|
// would suspect-halt the peer's whole stream) and quarantined STICKILY +
|
|
16580
16584
|
// DURABLY (R-r3-2) beside the pin store.
|
|
16581
16585
|
const { TopicPinSkewQuarantine } = await import('../core/TopicPinSkewQuarantine.js');
|
|
16582
|
-
const { TopicPinFoldView } = await import('../core/TopicPinFoldView.js');
|
|
16586
|
+
const { TopicPinFoldView, poolReferenceFromCapacities } = await import('../core/TopicPinFoldView.js');
|
|
16583
16587
|
const { SustainedOnlineTracker } = await import('../core/SustainedOnlineTracker.js');
|
|
16584
16588
|
const autoSessionsMod = await import('../core/AutonomousSessions.js');
|
|
16585
16589
|
const pinSkewQuarantine = new TopicPinSkewQuarantine({
|
|
@@ -16603,6 +16607,29 @@ export async function startServer(options) {
|
|
|
16603
16607
|
reader: pinAdvisoryReader,
|
|
16604
16608
|
quarantine: pinSkewQuarantine,
|
|
16605
16609
|
selfNode: () => _meshSelfId, // late-bound — resolves by first fold
|
|
16610
|
+
// fb-1d51e996-0a3 — the §3.4 pool-relative skew reference. receive()'s
|
|
16611
|
+
// reference is max(last.physical, poolReference), NEVER the bare local
|
|
16612
|
+
// now(): with this dep unwired, a quiet fold clock froze at server boot
|
|
16613
|
+
// and stickily false-quarantined every honest pin record authored more
|
|
16614
|
+
// than maxDriftMs (5min) later — pins are rare events, so this killed
|
|
16615
|
+
// pin replication between long-running servers (live evidence 2026-07-02:
|
|
16616
|
+
// the Laptop quarantined the Mini's honest unpin tombstone against a
|
|
16617
|
+
// 46-min-stale boot-time reference; the Mini even quarantined its OWN
|
|
16618
|
+
// fresh PUT after a bounce). max(now, freshest clock-OK peer heartbeat
|
|
16619
|
+
// self-stamp): moves with wall time AND is pool-relative, so a
|
|
16620
|
+
// slow-clocked receiver doesn't quarantine a legitimately-ahead peer.
|
|
16621
|
+
// Suspect-clocked peers (registry skew FSM) never raise the floor.
|
|
16622
|
+
// Late-bound closure: machinePoolRegistry is assigned during boot and
|
|
16623
|
+
// read at fold time; no registry yet → now() alone (the single-machine
|
|
16624
|
+
// degenerate case — the pool is self).
|
|
16625
|
+
poolReference: () => {
|
|
16626
|
+
try {
|
|
16627
|
+
return poolReferenceFromCapacities(Date.now(), machinePoolRegistry?.getCapacities() ?? []);
|
|
16628
|
+
}
|
|
16629
|
+
catch {
|
|
16630
|
+
return Date.now(); /* @silent-fallback-ok — a registry fault degrades to the moving now() floor, never back to the frozen boot-seed reference */
|
|
16631
|
+
}
|
|
16632
|
+
},
|
|
16606
16633
|
foldMaxBytes: () => {
|
|
16607
16634
|
const v = ws13Cfg().ws13FoldMaxBytes;
|
|
16608
16635
|
return typeof v === 'number' && Number.isFinite(v) && v > 0 ? v : 64 * 1024 * 1024;
|