@inerrata-corporation/errata 2.0.2-dev.125 → 2.0.2-dev.135

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.
@@ -133,7 +133,14 @@ var init_castalia = __esm({
133
133
  "SOLVED_BY",
134
134
  "MITIGATES",
135
135
  "REPORTED_FAILURE",
136
- "CONTRADICTS"
136
+ "CONTRADICTS",
137
+ // Motif twin-faces (KN-twin-faces): failure-face motif → remedy-face motif
138
+ // across layers (AntiPattern/Weakness ↔ Technique/Pattern). Same
139
+ // problem→fix direction as FIXED_BY/SOLVED_BY. Minted by the nightly LLM
140
+ // twin-face pass — these are the near-identical cross-layer pairs the
141
+ // polarity gate (finding 5) correctly refuses to FUSE; the link carries
142
+ // what fusion can't.
143
+ "REMEDIED_BY"
137
144
  ];
138
145
  CONCEPTUAL_EDGES = [
139
146
  "INSTANCE_OF",
@@ -223,6 +230,10 @@ var init_castalia = __esm({
223
230
  CAUSED_BY: 3,
224
231
  FIXED_BY: 3,
225
232
  SOLVED_BY: 3,
233
+ // Twin-face link (failure motif → remedy motif, KN-twin-faces) — causal-grade
234
+ // but a notch below witnessed FIXED_BY/SOLVED_BY: the pairing is an LLM
235
+ // judgment over descriptions, not an agent-witnessed resolution.
236
+ REMEDIED_BY: 2.5,
226
237
  MANIFESTS_AS: 2,
227
238
  ESCALATES_TO: 1.5,
228
239
  AFFECTS: 1.2,
package/errata.mjs CHANGED
@@ -183,7 +183,14 @@ var init_castalia = __esm({
183
183
  "SOLVED_BY",
184
184
  "MITIGATES",
185
185
  "REPORTED_FAILURE",
186
- "CONTRADICTS"
186
+ "CONTRADICTS",
187
+ // Motif twin-faces (KN-twin-faces): failure-face motif → remedy-face motif
188
+ // across layers (AntiPattern/Weakness ↔ Technique/Pattern). Same
189
+ // problem→fix direction as FIXED_BY/SOLVED_BY. Minted by the nightly LLM
190
+ // twin-face pass — these are the near-identical cross-layer pairs the
191
+ // polarity gate (finding 5) correctly refuses to FUSE; the link carries
192
+ // what fusion can't.
193
+ "REMEDIED_BY"
187
194
  ];
188
195
  CONCEPTUAL_EDGES = [
189
196
  "INSTANCE_OF",
@@ -313,6 +320,10 @@ var init_castalia = __esm({
313
320
  CAUSED_BY: 3,
314
321
  FIXED_BY: 3,
315
322
  SOLVED_BY: 3,
323
+ // Twin-face link (failure motif → remedy motif, KN-twin-faces) — causal-grade
324
+ // but a notch below witnessed FIXED_BY/SOLVED_BY: the pairing is an LLM
325
+ // judgment over descriptions, not an agent-witnessed resolution.
326
+ REMEDIED_BY: 2.5,
316
327
  MANIFESTS_AS: 2,
317
328
  ESCALATES_TO: 1.5,
318
329
  AFFECTS: 1.2,
@@ -51829,7 +51840,7 @@ function startLoopLagMonitor(thresholdMs = 1e3) {
51829
51840
  }
51830
51841
 
51831
51842
  // src/engine.ts
51832
- var DAEMON_VERSION = true ? "2.0.2-dev.125" : "2.0.0-alpha.0";
51843
+ var DAEMON_VERSION = true ? "2.0.2-dev.135" : "2.0.0-alpha.0";
51833
51844
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
51834
51845
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
51835
51846
  var GIT_OP_MUTE_MS = 4e3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.2-dev.125",
3
+ "version": "2.0.2-dev.135",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/pass-worker.mjs CHANGED
@@ -144,7 +144,14 @@ var init_castalia = __esm({
144
144
  "SOLVED_BY",
145
145
  "MITIGATES",
146
146
  "REPORTED_FAILURE",
147
- "CONTRADICTS"
147
+ "CONTRADICTS",
148
+ // Motif twin-faces (KN-twin-faces): failure-face motif → remedy-face motif
149
+ // across layers (AntiPattern/Weakness ↔ Technique/Pattern). Same
150
+ // problem→fix direction as FIXED_BY/SOLVED_BY. Minted by the nightly LLM
151
+ // twin-face pass — these are the near-identical cross-layer pairs the
152
+ // polarity gate (finding 5) correctly refuses to FUSE; the link carries
153
+ // what fusion can't.
154
+ "REMEDIED_BY"
148
155
  ];
149
156
  CONCEPTUAL_EDGES = [
150
157
  "INSTANCE_OF",
@@ -274,6 +281,10 @@ var init_castalia = __esm({
274
281
  CAUSED_BY: 3,
275
282
  FIXED_BY: 3,
276
283
  SOLVED_BY: 3,
284
+ // Twin-face link (failure motif → remedy motif, KN-twin-faces) — causal-grade
285
+ // but a notch below witnessed FIXED_BY/SOLVED_BY: the pairing is an LLM
286
+ // judgment over descriptions, not an agent-witnessed resolution.
287
+ REMEDIED_BY: 2.5,
277
288
  MANIFESTS_AS: 2,
278
289
  ESCALATES_TO: 1.5,
279
290
  AFFECTS: 1.2,