@inerrata-corporation/errata 2.0.2-dev.1109 → 2.0.2-dev.1116

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.
Files changed (2) hide show
  1. package/errata.mjs +16 -3
  2. package/package.json +1 -1
package/errata.mjs CHANGED
@@ -23067,12 +23067,25 @@ function renderSnapshot(s) {
23067
23067
  }
23068
23068
  lines.push("");
23069
23069
  if (s.remote && s.remote.length > 0) {
23070
+ const stratumOf = (m) => {
23071
+ const v = m.attrs?.["stratum"];
23072
+ return v === "project" || v === "team" || v === "org" ? v : void 0;
23073
+ };
23074
+ const hasOwnOrg = s.remote.some((m) => stratumOf(m) !== void 0);
23070
23075
  lines.push("### From the Errata Network \u2014 collective priors");
23071
23076
  lines.push(
23072
- "_A small sample of knowledge from OTHER codebases facing your stack/domain (not yet local \u2014 the Network holds far more; these ids seed deeper bursts). Weigh accordingly \u2014 it's corroborated across teams, but not from this repo._"
23077
+ "_A small sample of knowledge facing your stack/domain (not yet local \u2014 the Network holds far more; these ids seed deeper bursts). Unmarked entries are network-generalized: corroborated across teams, but not from this repo \u2014 treat as pattern and re-derive locally._"
23073
23078
  );
23079
+ if (hasOwnOrg) {
23080
+ lines.push(
23081
+ "_Entries marked `[org]`/`[team]`/`[project]` are from YOUR org's membrane \u2014 specifics are real and checkable; someone here already hit this, so consider coordinating before re-deriving._"
23082
+ );
23083
+ }
23074
23084
  for (const m of s.remote) {
23075
- lines.push(`- **${m.label}:** ${m.description}${tagOf(m)}`);
23085
+ const stratum = stratumOf(m);
23086
+ lines.push(
23087
+ `- ${stratum ? `\`[${stratum}]\` ` : ""}**${m.label}:** ${m.description}${tagOf(m)}`
23088
+ );
23076
23089
  }
23077
23090
  lines.push("");
23078
23091
  }
@@ -56586,7 +56599,7 @@ function createLivenessWatch(deps) {
56586
56599
  }
56587
56600
 
56588
56601
  // src/engine.ts
56589
- var DAEMON_VERSION = true ? "2.0.2-dev.1109" : "2.0.0-alpha.0";
56602
+ var DAEMON_VERSION = true ? "2.0.2-dev.1116" : "2.0.0-alpha.0";
56590
56603
  var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
56591
56604
  var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
56592
56605
  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.1109",
3
+ "version": "2.0.2-dev.1116",
4
4
  "description": "errata - local-first observation engine for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {