@inerrata-corporation/errata 2.0.2-dev.530 → 2.0.2-dev.538

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/errata.mjs CHANGED
@@ -17738,7 +17738,7 @@ function clearAnsweredRevisits(store, ts) {
17738
17738
  function isRevisitAnswered(store, node2, condition) {
17739
17739
  switch (condition) {
17740
17740
  case "parentProblemOpen": {
17741
- const parents = store.inEdges(node2.id, ["SOLVED_BY"]).map((e) => store.getNode(e.from)).filter((n) => n !== null);
17741
+ const parents = store.inEdges(node2.id, ["SOLVED_BY"]).map((e) => store.getNode(e.from)).filter((n) => n !== null && n.validTo == null);
17742
17742
  return parents.every((p) => p.attrs["resolvedAt"] == null);
17743
17743
  }
17744
17744
  case "dependentStale": {
@@ -54206,7 +54206,7 @@ function startLoopLagMonitor(thresholdMs = 1e3) {
54206
54206
  }
54207
54207
 
54208
54208
  // src/engine.ts
54209
- var DAEMON_VERSION = true ? "2.0.2-dev.530" : "2.0.0-alpha.0";
54209
+ var DAEMON_VERSION = true ? "2.0.2-dev.538" : "2.0.0-alpha.0";
54210
54210
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
54211
54211
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
54212
54212
  var GIT_OP_MUTE_MS = 4e3;
@@ -58705,6 +58705,12 @@ function shouldConsolidate(args2) {
58705
58705
  }
58706
58706
 
58707
58707
  // src/cli.ts
58708
+ var exitCleanOnEpipe = (err2) => {
58709
+ if (err2.code === "EPIPE") process.exit(0);
58710
+ throw err2;
58711
+ };
58712
+ process.stdout.on("error", exitCleanOnEpipe);
58713
+ process.stderr.on("error", exitCleanOnEpipe);
58708
58714
  var ROOT = process.cwd();
58709
58715
  var argv = process.argv.slice(2);
58710
58716
  var cmd = argv[0] ?? "help";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.2-dev.530",
3
+ "version": "2.0.2-dev.538",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/pass-worker.mjs CHANGED
@@ -25113,7 +25113,7 @@ function clearAnsweredRevisits(store2, ts) {
25113
25113
  function isRevisitAnswered(store2, node, condition) {
25114
25114
  switch (condition) {
25115
25115
  case "parentProblemOpen": {
25116
- const parents = store2.inEdges(node.id, ["SOLVED_BY"]).map((e) => store2.getNode(e.from)).filter((n) => n !== null);
25116
+ const parents = store2.inEdges(node.id, ["SOLVED_BY"]).map((e) => store2.getNode(e.from)).filter((n) => n !== null && n.validTo == null);
25117
25117
  return parents.every((p) => p.attrs["resolvedAt"] == null);
25118
25118
  }
25119
25119
  case "dependentStale": {