instar 1.3.720 → 1.3.722
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 +24 -1
- package/dist/commands/server.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/SessionActivitySentinel.d.ts.map +1 -1
- package/dist/monitoring/SessionActivitySentinel.js +3 -0
- package/dist/monitoring/SessionActivitySentinel.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +2 -2
- package/upgrades/1.3.721.md +55 -0
- package/upgrades/1.3.722.md +73 -0
- package/upgrades/eli16/digest-safety-prompt.eli16.md +61 -0
- package/upgrades/side-effects/digest-safety-prompt.md +112 -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,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAUT;AAyID,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO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,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,CAq4jBtE;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
|
@@ -16579,7 +16579,7 @@ export async function startServer(options) {
|
|
|
16579
16579
|
// would suspect-halt the peer's whole stream) and quarantined STICKILY +
|
|
16580
16580
|
// DURABLY (R-r3-2) beside the pin store.
|
|
16581
16581
|
const { TopicPinSkewQuarantine } = await import('../core/TopicPinSkewQuarantine.js');
|
|
16582
|
-
const { TopicPinFoldView } = await import('../core/TopicPinFoldView.js');
|
|
16582
|
+
const { TopicPinFoldView, poolReferenceFromCapacities } = await import('../core/TopicPinFoldView.js');
|
|
16583
16583
|
const { SustainedOnlineTracker } = await import('../core/SustainedOnlineTracker.js');
|
|
16584
16584
|
const autoSessionsMod = await import('../core/AutonomousSessions.js');
|
|
16585
16585
|
const pinSkewQuarantine = new TopicPinSkewQuarantine({
|
|
@@ -16603,6 +16603,29 @@ export async function startServer(options) {
|
|
|
16603
16603
|
reader: pinAdvisoryReader,
|
|
16604
16604
|
quarantine: pinSkewQuarantine,
|
|
16605
16605
|
selfNode: () => _meshSelfId, // late-bound — resolves by first fold
|
|
16606
|
+
// fb-1d51e996-0a3 — the §3.4 pool-relative skew reference. receive()'s
|
|
16607
|
+
// reference is max(last.physical, poolReference), NEVER the bare local
|
|
16608
|
+
// now(): with this dep unwired, a quiet fold clock froze at server boot
|
|
16609
|
+
// and stickily false-quarantined every honest pin record authored more
|
|
16610
|
+
// than maxDriftMs (5min) later — pins are rare events, so this killed
|
|
16611
|
+
// pin replication between long-running servers (live evidence 2026-07-02:
|
|
16612
|
+
// the Laptop quarantined the Mini's honest unpin tombstone against a
|
|
16613
|
+
// 46-min-stale boot-time reference; the Mini even quarantined its OWN
|
|
16614
|
+
// fresh PUT after a bounce). max(now, freshest clock-OK peer heartbeat
|
|
16615
|
+
// self-stamp): moves with wall time AND is pool-relative, so a
|
|
16616
|
+
// slow-clocked receiver doesn't quarantine a legitimately-ahead peer.
|
|
16617
|
+
// Suspect-clocked peers (registry skew FSM) never raise the floor.
|
|
16618
|
+
// Late-bound closure: machinePoolRegistry is assigned during boot and
|
|
16619
|
+
// read at fold time; no registry yet → now() alone (the single-machine
|
|
16620
|
+
// degenerate case — the pool is self).
|
|
16621
|
+
poolReference: () => {
|
|
16622
|
+
try {
|
|
16623
|
+
return poolReferenceFromCapacities(Date.now(), machinePoolRegistry?.getCapacities() ?? []);
|
|
16624
|
+
}
|
|
16625
|
+
catch {
|
|
16626
|
+
return Date.now(); /* @silent-fallback-ok — a registry fault degrades to the moving now() floor, never back to the frozen boot-seed reference */
|
|
16627
|
+
}
|
|
16628
|
+
},
|
|
16606
16629
|
foldMaxBytes: () => {
|
|
16607
16630
|
const v = ws13Cfg().ws13FoldMaxBytes;
|
|
16608
16631
|
return typeof v === 'number' && Number.isFinite(v) && v > 0 ? v : 64 * 1024 * 1024;
|