@inerrata-corporation/errata 2.0.2-dev.352 → 2.0.2-dev.361

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.
@@ -15329,6 +15329,14 @@ var init_wire = __esm({
15329
15329
  * deployment a self-corroboration). Optional + additive: absent leaves the
15330
15330
  * gate fail-open for that node, exactly today's behaviour. */
15331
15331
  originSession: external_exports.string().min(3).max(64).optional(),
15332
+ /** Epoch ms of the ORIGINATING local node's creation — when the knowledge was
15333
+ * actually captured, as opposed to when its public twin reached the cloud.
15334
+ * Stored as `observedAt`; the network board's chronological view orders on
15335
+ * it. Without this the wire carried NO timestamp at all, so a node captured
15336
+ * days ago surfaced as "new" the moment it was generalized and published —
15337
+ * the board showed ingest order wearing a chronology's clothes. Optional +
15338
+ * additive: absent keeps ingest-time ordering for that node. */
15339
+ originCreatedAtMs: external_exports.number().int().positive().optional(),
15332
15340
  extractionSource: external_exports.enum(INGEST_EXTRACTION_SOURCES),
15333
15341
  validationSource: external_exports.enum(VALIDATION_SOURCES).optional(),
15334
15342
  /** Org-membrane (M2): the daemon's anchor tag — it owns the lockfile, so it
package/errata.mjs CHANGED
@@ -15630,6 +15630,14 @@ var init_wire = __esm({
15630
15630
  * deployment a self-corroboration). Optional + additive: absent leaves the
15631
15631
  * gate fail-open for that node, exactly today's behaviour. */
15632
15632
  originSession: external_exports.string().min(3).max(64).optional(),
15633
+ /** Epoch ms of the ORIGINATING local node's creation — when the knowledge was
15634
+ * actually captured, as opposed to when its public twin reached the cloud.
15635
+ * Stored as `observedAt`; the network board's chronological view orders on
15636
+ * it. Without this the wire carried NO timestamp at all, so a node captured
15637
+ * days ago surfaced as "new" the moment it was generalized and published —
15638
+ * the board showed ingest order wearing a chronology's clothes. Optional +
15639
+ * additive: absent keeps ingest-time ordering for that node. */
15640
+ originCreatedAtMs: external_exports.number().int().positive().optional(),
15633
15641
  extractionSource: external_exports.enum(INGEST_EXTRACTION_SOURCES),
15634
15642
  validationSource: external_exports.enum(VALIDATION_SOURCES).optional(),
15635
15643
  /** Org-membrane (M2): the daemon's anchor tag — it owns the lockfile, so it
@@ -22108,6 +22116,19 @@ function toWirePayload(batch, runId) {
22108
22116
  // attrs travel; node-level bookkeeping (embedding, momentum counters,
22109
22117
  // bi-temporal fields) is local-stratum and never crosses.
22110
22118
  attrs: n.attrs ?? {},
22119
+ // The SESSION independence key. The daemon's shareable() projection has
22120
+ // stamped this since the session-unit fix — and this map silently dropped
22121
+ // it, so `authoringSession` landed null on every cloud node and the
22122
+ // server-side self-corroboration gate was permanently fail-open. The
22123
+ // client-side gate caught this session's own nodes; nothing caught a
22124
+ // later session on the SAME machine citing them.
22125
+ ...n.originSession ? { originSession: n.originSession } : {},
22126
+ // When the knowledge was CAPTURED locally (epoch ms). Deliberately an
22127
+ // exception to "temporal fields never cross": cloud `createdAt` is ingest
22128
+ // time, and the network board's chronological view was ordering on it —
22129
+ // ingest order wearing a chronology's clothes. One scalar, no bi-temporal
22130
+ // machinery crosses with it.
22131
+ ...n.createdAt ? { originCreatedAtMs: n.createdAt } : {},
22111
22132
  extractionSource: n.extractionSource,
22112
22133
  // Org-membrane anchor tag (OM-anchor-tag): the batch builders set these
22113
22134
  // on wire-bound projections only; the door re-validates the claim on the
@@ -53243,7 +53264,7 @@ function startLoopLagMonitor(thresholdMs = 1e3) {
53243
53264
  }
53244
53265
 
53245
53266
  // src/engine.ts
53246
- var DAEMON_VERSION = true ? "2.0.2-dev.352" : "2.0.0-alpha.0";
53267
+ var DAEMON_VERSION = true ? "2.0.2-dev.361" : "2.0.0-alpha.0";
53247
53268
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
53248
53269
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
53249
53270
  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.352",
3
+ "version": "2.0.2-dev.361",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/pass-worker.mjs CHANGED
@@ -15184,6 +15184,14 @@ var init_wire = __esm({
15184
15184
  * deployment a self-corroboration). Optional + additive: absent leaves the
15185
15185
  * gate fail-open for that node, exactly today's behaviour. */
15186
15186
  originSession: external_exports.string().min(3).max(64).optional(),
15187
+ /** Epoch ms of the ORIGINATING local node's creation — when the knowledge was
15188
+ * actually captured, as opposed to when its public twin reached the cloud.
15189
+ * Stored as `observedAt`; the network board's chronological view orders on
15190
+ * it. Without this the wire carried NO timestamp at all, so a node captured
15191
+ * days ago surfaced as "new" the moment it was generalized and published —
15192
+ * the board showed ingest order wearing a chronology's clothes. Optional +
15193
+ * additive: absent keeps ingest-time ordering for that node. */
15194
+ originCreatedAtMs: external_exports.number().int().positive().optional(),
15187
15195
  extractionSource: external_exports.enum(INGEST_EXTRACTION_SOURCES),
15188
15196
  validationSource: external_exports.enum(VALIDATION_SOURCES).optional(),
15189
15197
  /** Org-membrane (M2): the daemon's anchor tag — it owns the lockfile, so it