Scope Wall
Path:
loom-sprint-scaffold/loom/src/memory/core/scope-wall.tsRelative: loom/src/memory/core/scope-wall.tsSubproject: loom-sprint-scaffoldCategory: otherLines: 117Bytes: 3,264Imports: 3Exports: 1
Content Preview
- /**
- * H4.3 — Scope Wall.
- *
- * All reads/writes carry a required scope. Default read path filters to the
- * caller's scope. Cross-scope access ONLY via crossScopeRead() which logs a
- * structured record (caller + reason) and appends a trace event.
- *
- * Enforced by construction: scope is a required constructor parameter, not an
- * optional filter. No other code path may join across scopes.
- */
- import { newEventId } from "../../lib/ids";
- import { createLogger } from "../../lib/logger";
- import t