@inerrata-corporation/errata 2.0.14-dev.3228 → 2.0.14-dev.3289

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 (3) hide show
  1. package/errata.mjs +527 -531
  2. package/package.json +1 -1
  3. package/pass-worker.mjs +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.14-dev.3228",
3
+ "version": "2.0.14-dev.3289",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/pass-worker.mjs CHANGED
@@ -26505,8 +26505,10 @@ function markFixCandidates(store2, t) {
26505
26505
  // band, so comparing it raw would retire a fresh ask on a
26506
26506
  // frequently-surfaced problem before anyone had seen the question once.
26507
26507
  fixCandidateShownBase: Number(p.attrs["shownCount"] ?? 0)
26508
- },
26509
- lastUpdatedAt: t
26508
+ }
26509
+ // No `lastUpdatedAt`: raising a question is bookkeeping, not a new
26510
+ // observation of the problem, and the passive block's recent-problems band
26511
+ // sorts on that field (see clearSettledFixCandidates).
26510
26512
  });
26511
26513
  resolved++;
26512
26514
  }
@@ -26537,7 +26539,7 @@ function clearSettledFixCandidates(store2, t) {
26537
26539
  delete attrs["fixCandidateSymbol"];
26538
26540
  delete attrs["fixCandidateFile"];
26539
26541
  attrs["fixCandidateClearedAt"] = t;
26540
- store2.updateNode(p.id, { attrs, lastUpdatedAt: t });
26542
+ store2.updateNode(p.id, { attrs });
26541
26543
  if (answered) report.answered++;
26542
26544
  else if (ignored) report.ignored++;
26543
26545
  else report.unsubstantiated++;