@inerrata-corporation/errata 2.0.23-dev.4803 → 2.0.23-dev.4826

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.
@@ -14867,7 +14867,25 @@ function normalizeParam(v) {
14867
14867
  }
14868
14868
 
14869
14869
  // ../../packages/local-shared/src/tag-grammar.ts
14870
- var TAG_CANONICAL_ID_PREFIXES = ["pat", "sol", "drc", "dcause", "dfix", "dprob", "dvuln", "prob", "claim", "err"];
14870
+ var TAG_CANONICAL_ID_PREFIXES = [
14871
+ "motif_community_projn",
14872
+ "motif_community_orgn",
14873
+ "motif",
14874
+ "projn",
14875
+ "orgn",
14876
+ "dtri",
14877
+ "dom",
14878
+ "pat",
14879
+ "sol",
14880
+ "drc",
14881
+ "dcause",
14882
+ "dfix",
14883
+ "dprob",
14884
+ "dvuln",
14885
+ "prob",
14886
+ "claim",
14887
+ "err"
14888
+ ];
14871
14889
  var TAG_HANDLE_SOURCE = String.raw`\[([a-z0-9][\w-]{0,80})\]|((?:${TAG_CANONICAL_ID_PREFIXES.join("|")})_[0-9a-f]{6,})`;
14872
14890
  var TAG_THREAD_SOURCE = String.raw`#([a-z][\w-]{0,63})`;
14873
14891
  var TAG_PLACEHOLDER_HANDLES = /* @__PURE__ */ new Set([
@@ -16004,6 +16022,15 @@ function pageRankScale(ranks) {
16004
16022
  var DEMAND_HOT = Math.log1p(10);
16005
16023
  var DEMAND_WARM = Math.log1p(5);
16006
16024
 
16025
+ // ../../packages/math/src/reader-evidence.ts
16026
+ var FIELD_CODES = {
16027
+ a: "acceptedCount",
16028
+ c: "corroborationCount",
16029
+ f: "failureReportCount",
16030
+ p: "contradictionPressure"
16031
+ };
16032
+ var FIELDS = Object.values(FIELD_CODES);
16033
+
16007
16034
  // ../../packages/local-graph/src/node-select.ts
16008
16035
  var SELECT_INDEXES = [
16009
16036
  "nodes_live_local_community",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata-corporation/errata",
3
- "version": "2.0.23-dev.4803",
3
+ "version": "2.0.23-dev.4826",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
package/pass-worker.mjs CHANGED
@@ -16534,7 +16534,25 @@ var TAG_CANONICAL_ID_PREFIXES, TAG_HANDLE_SOURCE, TAG_THREAD_SOURCE, TAG_PLACEHO
16534
16534
  var init_tag_grammar = __esm({
16535
16535
  "../../packages/local-shared/src/tag-grammar.ts"() {
16536
16536
  "use strict";
16537
- TAG_CANONICAL_ID_PREFIXES = ["pat", "sol", "drc", "dcause", "dfix", "dprob", "dvuln", "prob", "claim", "err"];
16537
+ TAG_CANONICAL_ID_PREFIXES = [
16538
+ "motif_community_projn",
16539
+ "motif_community_orgn",
16540
+ "motif",
16541
+ "projn",
16542
+ "orgn",
16543
+ "dtri",
16544
+ "dom",
16545
+ "pat",
16546
+ "sol",
16547
+ "drc",
16548
+ "dcause",
16549
+ "dfix",
16550
+ "dprob",
16551
+ "dvuln",
16552
+ "prob",
16553
+ "claim",
16554
+ "err"
16555
+ ];
16538
16556
  TAG_HANDLE_SOURCE = String.raw`\[([a-z0-9][\w-]{0,80})\]|((?:${TAG_CANONICAL_ID_PREFIXES.join("|")})_[0-9a-f]{6,})`;
16539
16557
  TAG_THREAD_SOURCE = String.raw`#([a-z][\w-]{0,63})`;
16540
16558
  TAG_PLACEHOLDER_HANDLES = /* @__PURE__ */ new Set([
@@ -26976,6 +26994,15 @@ function pagerankLocal(input) {
26976
26994
  return { scores, iterations: iter, converged };
26977
26995
  }
26978
26996
 
26997
+ // ../../packages/math/src/reader-evidence.ts
26998
+ var FIELD_CODES = {
26999
+ a: "acceptedCount",
27000
+ c: "corroborationCount",
27001
+ f: "failureReportCount",
27002
+ p: "contradictionPressure"
27003
+ };
27004
+ var FIELDS = Object.values(FIELD_CODES);
27005
+
26979
27006
  // ../../packages/local-graph/src/node-select.ts
26980
27007
  var SELECT_INDEXES = [
26981
27008
  "nodes_live_local_community",
@@ -30379,6 +30406,37 @@ var MECHANISMS = [
30379
30406
  effectCounter: "refutesStamped",
30380
30407
  note: "RG-mark; reason text is local-only (wire ships nodeId+witnessKey)"
30381
30408
  },
30409
+ {
30410
+ id: "confirm-local-stamp",
30411
+ what: "stamps a harvested confirm / leaned-on witness onto the LOCAL node (confirmedAt/confirmations)",
30412
+ pass: "capture",
30413
+ // The consumer is errata.search's one formula (apps/daemon one-search.ts
30414
+ // localEvidence → packages/math rankKnowledge reliability). Self-gated and
30415
+ // synthetic-gated at harvest, so a quiet counter can also mean every cite
30416
+ // was the session's own — the written-at-all bar, like refutedAt.
30417
+ fed: {
30418
+ labels: ["Problem", "Solution", "RootCause", "Pattern"],
30419
+ attr: "confirmedAt",
30420
+ minFraction: 0
30421
+ },
30422
+ effectCounter: "confirmsStamped",
30423
+ note: "consumed by one-search rankKnowledge; transport to cloud corroborationCount unchanged"
30424
+ },
30425
+ {
30426
+ id: "supersession-ask",
30427
+ what: "asks how a just-recorded fix relates to earlier fixes for the same symptom; the agent's answer mints SUPERSEDES/BUILDS_ON/ALTERNATIVE_TO",
30428
+ pass: "capture",
30429
+ // Conditional and rare (a fix landing beside earlier ones) — written-at-all
30430
+ // bar. The consumer is supersededBy in rankKnowledge (local lifecycle.ts,
30431
+ // cloud entry-rank.ts) and the superseded/held notes agents read.
30432
+ fed: {
30433
+ labels: ["Solution"],
30434
+ attr: "supersessionAskedAt",
30435
+ minFraction: 0
30436
+ },
30437
+ effectCounter: "structureLinksMinted",
30438
+ note: "the answer is the agent's; nothing is inferred"
30439
+ },
30382
30440
  {
30383
30441
  id: "regression-recognize",
30384
30442
  what: "marks a resolved problem as resolutionSuspect when it recurs at the door",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "errata-context",
3
- "version": "2.0.23-dev.4803",
3
+ "version": "2.0.23-dev.4826",
4
4
  "description": "A minimal 3D view of loaded Errata priors and recent graph bursts.",
5
5
  "author": {
6
6
  "name": "inErrata"
@@ -1,4 +1,4 @@
1
- 08211bb4b884703471ec49f813c41d354603948bade76fd5acd9627748d4d7a3 .codex-plugin/plugin.json
1
+ 560fd81882423ce60885095034e173ba7b0fb9b4b194f213f296f6c6e46c3105 .codex-plugin/plugin.json
2
2
  a7bebae9fb01c838d6c75fc784129e28be571233fa66ff5ee8039b574f35ccf7 assets/icon.png
3
3
  fc38b64e4df1e0b72c35764bef6c4c05430d97c9009ad0ecc8a9e75b4deab232 configure-local.mjs
4
4
  73dc6028b3b070257c7c31f252d11e55a9e096f4aed0f187f10cb21716e1e6d7 dist/client.js