@vantageos/backend-doctor 0.1.0 → 0.1.1

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.
package/dist/registry.js CHANGED
@@ -8,6 +8,7 @@ import { makeOracleDetector } from "./detectors/shared.js";
8
8
  import { SOURCE_BACKFILL_DETECTORS } from "./detectors/source/backfill.js";
9
9
  import { SOURCE_CONTRACT_DETECTORS } from "./detectors/source/contract.js";
10
10
  import { IDENTITY_DETECTORS } from "./detectors/source/identity.js";
11
+ import { SOURCE_ISOLATION_DETECTORS } from "./detectors/source/isolation.js";
11
12
  import { SOURCE_JOBS_DETECTORS } from "./detectors/source/jobs.js";
12
13
  import { SOURCE_LIFECYCLE_DETECTORS } from "./detectors/source/lifecycle.js";
13
14
  import { SOURCE_READBUDGET_DETECTORS } from "./detectors/source/readbudget.js";
@@ -19,7 +20,7 @@ import { R46_STANDARD_PIN, STANDARD_SOURCE_DETECTORS, } from "./detectors/standa
19
20
  import { STANDARD_DOC_DETECTORS } from "./detectors/standard/standard-doc.js";
20
21
  import { makeR14, makeR38 } from "./detectors/structural.js";
21
22
  /** The standard both pins the whole wave against. */
22
- export const STANDARD_PIN = "analysis/vantagepeers/backend-standard/backend-standard.md @ a9d7877b4947ed8ae61d234433debb2182a2ba44 (elpiarthera/ElPi-Corp)";
23
+ export const STANDARD_PIN = "analysis/vantagepeers/backend-standard/backend-standard.md @ 4265226eb6698c7dfbae3ced77df564e877908ad (elpiarthera/ElPi-Corp)";
23
24
  export const REGISTRY = [
24
25
  ...PER_ROW_PREDICATES.map((spec) => ({
25
26
  detector: makeOracleDetector(spec),
@@ -98,6 +99,15 @@ export const REGISTRY = [
98
99
  // site (the human decides refusal vs a tighter index vs a declared bound),
99
100
  // present on a wide scan that DOES refuse (the tasks.list SCAN_CAP shape).
100
101
  ...SOURCE_REFUSAL_DETECTORS,
102
+ // R-50 — org isolation on a reactively-subscribed read must be a TYPED EMPTY /
103
+ // UNAUTHORIZED RESULT, never an uncaught throw. Reads the convex source: a
104
+ // public `query` (subscribed via useQuery) whose no-org path throws an
105
+ // org-keyed ConvexError / a throw-on-no-org helper, with no fail-closed
106
+ // resolver (`withOrgScope`) or documented contract, hands the subscribing
107
+ // client an uncaught Server Error (the 2026-08-30 vCRM-Preview incident:
108
+ // workspaces:ensureCurrent + prefs:sidebar). Extends the R-11 isolation
109
+ // family; a mutation refusing an unauthorized write (R-16) is out of scope.
110
+ ...SOURCE_ISOLATION_DETECTORS,
101
111
  ...SOURCE_CONTRACT_DETECTORS,
102
112
  ...IDENTITY_DETECTORS,
103
113
  // The four STANDARD-DOCUMENT detectors (R-42/R-15/R-32/R-39): each reads the