@inerrata-corporation/errata 2.0.2-dev.835 → 2.0.2-dev.866

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 (2) hide show
  1. package/errata.mjs +13 -3
  2. package/package.json +1 -1
package/errata.mjs CHANGED
@@ -56139,7 +56139,7 @@ function watchCensusLine(c = watchCensus()) {
56139
56139
  }
56140
56140
 
56141
56141
  // src/engine.ts
56142
- var DAEMON_VERSION = true ? "2.0.2-dev.835" : "2.0.0-alpha.0";
56142
+ var DAEMON_VERSION = true ? "2.0.2-dev.866" : "2.0.0-alpha.0";
56143
56143
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
56144
56144
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
56145
56145
  var GIT_OP_MUTE_MS = 4e3;
@@ -58630,6 +58630,8 @@ function buildInstanceIngest(store, profile, daemonVersion, ignorePatterns = [],
58630
58630
  sidecarDropped: 0,
58631
58631
  sidecarDropReasons: {},
58632
58632
  sidecarTruncatedAtCap: 0,
58633
+ sidecarNoLexicon: 0,
58634
+ sidecarNoSummary: 0,
58633
58635
  fileRefsSubstituted: 0,
58634
58636
  fileRefLexiconMisses: 0
58635
58637
  };
@@ -58812,6 +58814,7 @@ function buildInstanceIngest(store, profile, daemonVersion, ignorePatterns = [],
58812
58814
  return null;
58813
58815
  }
58814
58816
  let symbolSummaries;
58817
+ if (!opts.lexicon || opts.lexicon.size === 0) composition.sidecarNoLexicon = 1;
58815
58818
  if (opts.lexicon && opts.lexicon.size > 0 && nodes.length > 0) {
58816
58819
  const lexicon = opts.lexicon;
58817
58820
  const isKnown = (tok) => lexicon.has(tok);
@@ -58822,7 +58825,11 @@ function buildInstanceIngest(store, profile, daemonVersion, ignorePatterns = [],
58822
58825
  for (const tok of extractIdentifierTokens(n.description)) {
58823
58826
  if (sidecar[tok]) continue;
58824
58827
  const entry = lexicon.get(tok);
58825
- if (!entry?.summary) continue;
58828
+ if (!entry) continue;
58829
+ if (!entry.summary) {
58830
+ composition.sidecarNoSummary++;
58831
+ continue;
58832
+ }
58826
58833
  const scrubbed = generalize(entry.summary, { level, project: projectIdentity }).text.trim();
58827
58834
  const dropBucket = !scrubbed ? "empty" : sidecarDropBucket(summaryRejectionReason(scrubbed, isKnown));
58828
58835
  if (dropBucket !== null) {
@@ -60375,9 +60382,12 @@ async function startMultiDaemon(opts = {}) {
60375
60382
  });
60376
60383
  }
60377
60384
  let lexicon;
60385
+ let lexiconError;
60378
60386
  try {
60379
60387
  lexicon = buildSymbolLexicon(store);
60380
- } catch {
60388
+ } catch (err2) {
60389
+ lexiconError = err2 instanceof Error ? err2.message : String(err2);
60390
+ console.warn(`[errata] symbol sidecar DISABLED for ${r.entry.name}: lexicon build failed \u2014 ${lexiconError}`);
60381
60391
  }
60382
60392
  let composition = null;
60383
60393
  const instances = buildInstanceIngest(store, r.engine.profile, DAEMON_VERSION, ignore, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.2-dev.835",
3
+ "version": "2.0.2-dev.866",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {