@almadar/core 10.54.0 → 10.55.0

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.
@@ -1,5 +1,5 @@
1
- import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-BlFO53UR.js';
2
- import { T as TraitEventListener, a as TraitReference } from './trait-RzDL-lSo.js';
1
+ import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-DxD-XTI8.js';
2
+ import { T as TraitEventListener, a as TraitReference } from './trait-WnYkvPdZ.js';
3
3
  import { J as JsonValue } from './expression-Fk8bQWef.js';
4
4
 
5
5
  /**
@@ -308,6 +308,19 @@ interface FactoryTraitSignature {
308
308
  * fed to catalog prose + knob-embeddings for binding-discovery. */
309
309
  entityBindingDescription?: string;
310
310
  entityBindingSynonyms?: string;
311
+ /** Entity names this trait's state-machine effects reference
312
+ * (`stateMachine.transitions[].effects[]` — `persist create/update/delete`
313
+ * and `fetch`), deduplicated. Distinct from `linkedEntity` (the trait's
314
+ * OWN binding): this is every OTHER entity an effect reads or writes,
315
+ * e.g. `CheckoutWizard`'s `persist create OrderRecord` names
316
+ * `'OrderRecord'` here even though the trait itself is bound to
317
+ * `Checkout`. `subset_closure` (`packages/almadar-rabit`) uses this to
318
+ * detect a roster subset that would otherwise dangle a persist-effect
319
+ * reference the relation-field/`linkedEntity` walk alone can't see —
320
+ * measured cause of `ORB_EFF_FETCH_INVALID_ENTITY` on a scoped roster
321
+ * (`docs/Almadar_Studio_Failures_2026-08-04.md` §N). Absent = topology
322
+ * unknown (legacy catalogs), same convention as `transitionEvents`. */
323
+ effectEntityRefs?: ReadonlyArray<string>;
311
324
  }
312
325
  /** One event a trait emits or listens for, with its authored annotations — the
313
326
  * per-event analogue of `FactorySignatureEntityField` / `FactoryConfigParam`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/core",
3
- "version": "10.54.0",
3
+ "version": "10.55.0",
4
4
  "description": "Core schema types and definitions for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",