@inerrata-corporation/errata 2.0.0-dev.53 → 2.0.0-dev.54

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
  "REVEALED_BY",
134
134
  "DOCUMENTED_BY",
135
135
  "EXPLAINS",
136
- "REFERENCES"
136
+ "REFERENCES",
137
+ // Agent authorship of contributed KNOWLEDGE (Agent → Problem/Solution/RootCause/…).
138
+ // The v2-native analog of the forum-shaped AUTHORED_ARTIFACT (Agent → Artifact) /
139
+ // WROTE (Agent → Answer): every /v2/ingest write folds the contributing agent in,
140
+ // so knowledge is attributable and co-contributors accrue as distinct edges
141
+ // (multi-agent corroboration is traversable). `authorAgentId` on the node names
142
+ // the originator; the edges name everyone who contributed.
143
+ "CONTRIBUTED"
137
144
  ];
138
145
  CODE_EDGES = [
139
146
  "DEFINES",
@@ -220,6 +227,8 @@ var init_castalia = __esm({
220
227
  PRODUCED: 0.6,
221
228
  MANIFESTED_IN: 0.6,
222
229
  REVEALED_BY: 0.6,
230
+ CONTRIBUTED: 0.2,
231
+ // agent attribution (Agent → knowledge) — provenance, not signal-flow
223
232
  // Structural
224
233
  PROVIDED_BY: 0.4,
225
234
  SUPPORTS: 0.4,
package/errata.mjs CHANGED
@@ -183,7 +183,14 @@ var init_castalia = __esm({
183
183
  "REVEALED_BY",
184
184
  "DOCUMENTED_BY",
185
185
  "EXPLAINS",
186
- "REFERENCES"
186
+ "REFERENCES",
187
+ // Agent authorship of contributed KNOWLEDGE (Agent → Problem/Solution/RootCause/…).
188
+ // The v2-native analog of the forum-shaped AUTHORED_ARTIFACT (Agent → Artifact) /
189
+ // WROTE (Agent → Answer): every /v2/ingest write folds the contributing agent in,
190
+ // so knowledge is attributable and co-contributors accrue as distinct edges
191
+ // (multi-agent corroboration is traversable). `authorAgentId` on the node names
192
+ // the originator; the edges name everyone who contributed.
193
+ "CONTRIBUTED"
187
194
  ];
188
195
  CODE_EDGES = [
189
196
  "DEFINES",
@@ -264,8 +271,10 @@ var init_castalia = __esm({
264
271
  // git topology, not signal-flow
265
272
  "PARENT",
266
273
  // git topology, not signal-flow
267
- "AUTHORED_BY"
274
+ "AUTHORED_BY",
268
275
  // git authorship, not signal-flow
276
+ "CONTRIBUTED"
277
+ // agent attribution (Agent → knowledge), not signal-flow
269
278
  ]);
270
279
  EDGE_WEIGHT = {
271
280
  // Causal — high signal
@@ -301,6 +310,8 @@ var init_castalia = __esm({
301
310
  PRODUCED: 0.6,
302
311
  MANIFESTED_IN: 0.6,
303
312
  REVEALED_BY: 0.6,
313
+ CONTRIBUTED: 0.2,
314
+ // agent attribution (Agent → knowledge) — provenance, not signal-flow
304
315
  // Structural
305
316
  PROVIDED_BY: 0.4,
306
317
  SUPPORTS: 0.4,
@@ -42799,7 +42810,7 @@ function startLoopLagMonitor(thresholdMs = 1e3) {
42799
42810
  }
42800
42811
 
42801
42812
  // src/engine.ts
42802
- var DAEMON_VERSION = true ? "2.0.0-dev.53" : "2.0.0-alpha.0";
42813
+ var DAEMON_VERSION = true ? "2.0.0-dev.54" : "2.0.0-alpha.0";
42803
42814
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
42804
42815
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
42805
42816
  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.0-dev.53",
3
+ "version": "2.0.0-dev.54",
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
  "REVEALED_BY",
145
145
  "DOCUMENTED_BY",
146
146
  "EXPLAINS",
147
- "REFERENCES"
147
+ "REFERENCES",
148
+ // Agent authorship of contributed KNOWLEDGE (Agent → Problem/Solution/RootCause/…).
149
+ // The v2-native analog of the forum-shaped AUTHORED_ARTIFACT (Agent → Artifact) /
150
+ // WROTE (Agent → Answer): every /v2/ingest write folds the contributing agent in,
151
+ // so knowledge is attributable and co-contributors accrue as distinct edges
152
+ // (multi-agent corroboration is traversable). `authorAgentId` on the node names
153
+ // the originator; the edges name everyone who contributed.
154
+ "CONTRIBUTED"
148
155
  ];
149
156
  CODE_EDGES = [
150
157
  "DEFINES",
@@ -225,8 +232,10 @@ var init_castalia = __esm({
225
232
  // git topology, not signal-flow
226
233
  "PARENT",
227
234
  // git topology, not signal-flow
228
- "AUTHORED_BY"
235
+ "AUTHORED_BY",
229
236
  // git authorship, not signal-flow
237
+ "CONTRIBUTED"
238
+ // agent attribution (Agent → knowledge), not signal-flow
230
239
  ]);
231
240
  EDGE_WEIGHT = {
232
241
  // Causal — high signal
@@ -262,6 +271,8 @@ var init_castalia = __esm({
262
271
  PRODUCED: 0.6,
263
272
  MANIFESTED_IN: 0.6,
264
273
  REVEALED_BY: 0.6,
274
+ CONTRIBUTED: 0.2,
275
+ // agent attribution (Agent → knowledge) — provenance, not signal-flow
265
276
  // Structural
266
277
  PROVIDED_BY: 0.4,
267
278
  SUPPORTS: 0.4,