@agfpd/iapeer 0.2.61 → 0.2.62

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agfpd/iapeer",
3
- "version": "0.2.61",
3
+ "version": "0.2.62",
4
4
  "description": "Foundation core for the iapeer multi-agent ecosystem: identity, registry, storage, codec.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -122,7 +122,10 @@ export async function runShadowFidelity(opts: ShadowOptions): Promise<void> {
122
122
  for (;;) {
123
123
  if (opts.maxMinutes && Date.now() - t0 >= opts.maxMinutes * 60000) break
124
124
  if (existsSync(stopFile)) break
125
- if (i > 0 && i % 15 === 0) enumerate(models, opts, tracker)
125
+ // Re-enroll every ~3 ticks (~15s), not 15 (~75s): a freshly-woken peer must be enrolled
126
+ // and sampled DURING its not-ready phase for a readiness transition (the center cell) to
127
+ // register — a 75s enroll-lag could first-sight it already-ready and miss the transition.
128
+ if (i > 0 && i % 3 === 0) enumerate(models, opts, tracker)
126
129
  tracker.tickStart(models.size)
127
130
  for (const o of models.values()) {
128
131
  try {