@almadar/core 8.8.0 → 8.8.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.
@@ -172,27 +172,31 @@ interface FactoryConfigParam {
172
172
  * Stays a single free-form string; consumers decide their own
173
173
  * splitting/formatting policy. */
174
174
  synonyms?: string;
175
- /** Visibility tier authored in `.lolo` as `@tier "..."` next to the
175
+ /** Decision-kind tier authored in `.lolo` as `@tier "..."` next to the
176
176
  * knob declaration. Drives the studio Questionnaire's filter +
177
- * disclosure: `internal` knobs are hidden entirely, `advanced` knobs
178
- * collapse under a "Show advanced" toggle, `essential` /
179
- * `customization` knobs render inline. Untagged knobs are treated as
180
- * `customization` by the studio (current visible behavior). */
177
+ * disclosure: `internal` knobs are hidden entirely, `presentation`
178
+ * knobs collapse under the "Polish wording" panel, `domain` knobs
179
+ * render inline. Untagged knobs are treated as `presentation` by the
180
+ * studio (safe default most un-audited knobs are presentation polish). */
181
181
  tier?: FactoryConfigTier;
182
182
  }
183
183
  /**
184
- * Audience tier for a `FactoryConfigParam`. Source-tagged via the
184
+ * Decision-kind tier for a `FactoryConfigParam`. Source-tagged via the
185
185
  * `@tier "..."` annotation in `.lolo` — no heuristic inference on the
186
186
  * consumer side. Missing tag = author did not tag = treat as
187
- * `customization` at render time.
187
+ * `presentation` at render time.
188
188
  *
189
- * - `essential` — every project of this kind needs to answer (app
190
- * name, entity fields, primary nav items).
191
- * - `customization` meaningful refinement most projects will tweak.
192
- * - `advanced` — sensible defaults; only specialised projects override.
193
- * - `internal` platform-internal; the studio never surfaces these.
189
+ * - `domain` — changes how the BUSINESS behaves (currency, retention
190
+ * days, approver roles, SLA hours, lifecycle rules, recipient map,
191
+ * GDPR erasure window). The user MUST own these decisions.
192
+ * - `presentation` — changes how the same business meaning is RENDERED
193
+ * (labels, placeholders, titles, copy, column lists, action lists,
194
+ * layout fidelity like cols/gap/chartType). LLM picks defaults;
195
+ * user can edit post-generation.
196
+ * - `internal` — framework primitives (trait/slot/pattern types,
197
+ * *Event keys, layoutMode); the studio never surfaces these.
194
198
  */
195
- type FactoryConfigTier = 'essential' | 'customization' | 'advanced' | 'internal';
199
+ type FactoryConfigTier = 'domain' | 'presentation' | 'internal';
196
200
  /**
197
201
  * One trait the factory composes into the orbital. The projector reads
198
202
  * these to determine which factory's trait stack covers a given
@@ -391,10 +395,10 @@ interface DomainQuestion {
391
395
  /** Per-property schema for structured objects (`objectForm`).
392
396
  * Propagated from `FactoryConfigParam.properties`. */
393
397
  objectSchema?: Readonly<Record<string, EntityField>>;
394
- /** Visibility tier propagated from `FactoryConfigParam.tier`.
398
+ /** Decision-kind tier propagated from `FactoryConfigParam.tier`.
395
399
  * Undefined when the source `.lolo` did not author an explicit
396
400
  * `@tier` annotation — the studio treats undefined as
397
- * `'customization'`. */
401
+ * `'presentation'`. */
398
402
  tier?: FactoryConfigTier;
399
403
  }
400
404
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/core",
3
- "version": "8.8.0",
3
+ "version": "8.8.1",
4
4
  "description": "Core schema types and definitions for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",