@geonosis/policy 1.4.0 → 2.0.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.
package/README.md CHANGED
@@ -4,10 +4,23 @@ A threshold is not a number. It is a number, plus the authority that set it, the
4
4
  and the reason it exists — and that difference is what lets the person who was just blocked learn
5
5
  something instead of filing a ticket.
6
6
 
7
- This is the kernel two repos arrived at independently: a precedence lattice with a full trace, a read
8
- that resolves **authored rule → config row → the caller's own constant** and RECORDS the third case,
9
- the learning loop that reads those recordings back, and a permission lattice with the runtime lifted
10
- out of it.
7
+ That sentence is true of **two tiers**, and the earlier version of this README claimed only the
8
+ first, which is why one consumer read the whole package as not applicable and was right to.
9
+
10
+ | tier | the question it answers | what it costs |
11
+ |---|---|---|
12
+ | **runtime** — `definePolicy` / `readPolicy` | what does *this tenant*, in *this region*, for *this order* get? | a store behind three ports, a boot, and an `await` at every read |
13
+ | **compile-time** — `declareThreshold` | on whose authority is this number 3000? | one call, no ports, no store, no async, no override |
14
+
15
+ Most thresholds are the second question. `LIVENESS_TIMEOUT_MS = 3000` decides behaviour in code and
16
+ will never be tenant-settable; what it lacks is not a lattice, it is an authority. Putting it behind
17
+ the runtime tier would have cost a port and an await to answer a question nobody was asking, and
18
+ that is precisely why it stayed a magic number.
19
+
20
+ The runtime half is the kernel two repos arrived at independently: a precedence lattice with a full
21
+ trace, a read that resolves **authored rule → config row → the caller's own constant** and RECORDS
22
+ the third case, the learning loop that reads those recordings back, and a permission lattice with
23
+ the runtime lifted out of it.
11
24
 
12
25
  ```ts
13
26
  import { definePolicy, readPolicy } from '@geonosis/policy'
@@ -55,6 +68,8 @@ and drown the one signal anybody is looking for.
55
68
  | `journalRowForEvent` | The other three signals' missing input: real lifecycle events as countable rows. |
56
69
  | `rulesToSeed(seed, existing)` | Seeding idempotent by id AND by coverage. |
57
70
  | `runPolicyAdapterConformance(harness)` | The suite every storage adapter passes, answering with a report rather than an exit code. |
71
+ | `declareThreshold({ value, authority, reason, subject?, revisit? })` | The compile-time tier. Frozen, so there is no runtime override; refused **at the declaration** — which is module load — when the authority, the reason or the value is missing, or the `revisit` is not an ISO date. |
72
+ | `expiredThresholds(list, now)` · `describeThreshold` · `isThreshold` | A `revisit` that has passed is REPORTED, never thrown: a build that started failing on a date is a build that gets its date deleted. |
58
73
  | `@geonosis/policy/permissions` | `definePolicies` / `hasPermission` / `resolvePermissions` / `checkPermissions` / `createPolicyCatalog` / `expandPolicies`. |
59
74
  | `@geonosis/policy/medusa` · `/drizzle` | Two stores behind the same ports. Neither imports the store it adapts. |
60
75
 
@@ -76,20 +91,60 @@ and drown the one signal anybody is looking for.
76
91
  `proofs/022-W7-parity/` lists every one of its 65 kernel cases against this package, the ten that
77
92
  stay consumer-side, and the seven behaviours that deliberately differ.
78
93
 
79
- ## during.day does not adopt this, and here is the measurement
94
+ ## A threshold without an authority is a gate
95
+
96
+ ```json
97
+ { "packs": [{ "pack": "thresholds", "options": { "sourceRoots": ["packages", "apps"] } }] }
98
+ ```
99
+
100
+ `@geonosis/verify-arch`'s `thresholds` pack, two checks:
101
+
102
+ - **T1.1** — a module-scope `const` whose name is threshold-shaped (`_MS`, `_LIMIT`, `MAX_`, `_TTL`,
103
+ `_SECONDS`, …) and whose value is a bare number. It is a number that decides behaviour and can say
104
+ only "me, an hour ago" when asked why.
105
+ - **T1.2** — one such name declared with **two different values** in two files. That is the half no
106
+ per-file linter can reach: `grep` finds both, and only something holding the whole graph can say
107
+ they disagree.
108
+
109
+ The name shapes are a **default** rather than an empty list, for the reason `rails` defaults its
110
+ threat classes and not its `caps.auth`: `_MS` and `MAX_` are the units and bounds a threshold is
111
+ spelled in, and none of them is one repo's word for one repo's thing. A repo adds its own with
112
+ `names`, excuses one with `allow`, and names its own wrapper with `helper`.
113
+
114
+ A bound declared **inside a function** is left alone — it is a step in an algorithm, not a
115
+ repo-wide decision — and the anchor that does that is column zero.
116
+
117
+ ## during.day, corrected
118
+
119
+ The earlier version of this section read: *"Its thresholds are lint-enforced constants … They are
120
+ not [policy]. `grep -E '_LIMIT|_THRESHOLD|MAX_|_CAP'` across all 34 [`constants.ts` files] returns
121
+ nothing."* Both halves need correcting.
122
+
123
+ **The grep was over the wrong denominator.** It searched the 34 `constants.ts` files, and the
124
+ fixture is not in one: `LIVENESS_TIMEOUT_MS = 3000` lives in
125
+ `apps/api/src/lib/health-status.ts`, module-private, three lines above its only use. Run over the
126
+ whole of `packages/` and `apps/` on 2026-09-02, the pack finds **seven**, and the four cache TTLs
127
+ that section listed as *not policy* are among them:
128
+
129
+ ```
130
+ packages/db/src/constants.ts:6 PLACEMENT_CACHE_SECONDS = 300
131
+ packages/db/src/constants.ts:7 PLACEMENT_HOT_READ_SECONDS = 30
132
+ packages/auth/src/constants.ts:10 PRINCIPAL_HOT_READ_SECONDS = 30
133
+ apps/web/features/document/lib/history-stack.ts:1 MAX_PAST = 100
134
+ apps/edge/src/constants.ts:5 API_KEY_CACHE_SECONDS = 300
135
+ apps/edge/src/constants.ts:9 UNKNOWN_KEY_CACHE_SECONDS = 60
136
+ apps/api/src/lib/health-status.ts:8 LIVENESS_TIMEOUT_MS = 3000
137
+ ```
80
138
 
81
- Its thresholds are lint-enforced constants (`ARTICLE XIII §13.3`, `constants-in-constants-file`), so
82
- the obvious reading is that they are policy waiting for a home. They are not. All 34 `constants.ts`
83
- files under `packages/` and `apps/` were enumerated: every `SCREAMING_SNAKE` export is a Tailwind
84
- class, a cache TTL or KV prefix (`SESSION_COOKIE_CACHE_SECONDS`, `PLACEMENT_CACHE_SECONDS`), a regex,
85
- a literal defaults record (`INVOICE_DEFAULTS = { title: 'INVOICE' }`), or a UI enum.
86
- `grep -E '_LIMIT|_THRESHOLD|MAX_|_CAP'` across all 34 returns nothing.
139
+ **And "not policy" was the wrong conclusion from the right observation.** The observation — none of
140
+ them carries an authority, a subject or a reason — is exactly what separates a policy rule from a
141
+ constant, and the answer to it is the compile-time tier, not the runtime one. §13.3 is a law about
142
+ WHERE a constant lives; `declareThreshold` is about who said so. Seven declarations, no store, no
143
+ port, no await.
87
144
 
88
- None of them carries an authority, a subject or a reason, which is exactly what separates a policy
89
- rule from a constant. §13.3 is a law about WHERE a constant lives, not about thresholds a tenant may
90
- set. What that repo could adopt today, without changing a line of behaviour, is the shape of the
91
- call — its constant passed as `fallback`, so the gap becomes countable — and that is worth precisely
92
- as much as its journal is fed, which today is not at all.
145
+ What that repo could still adopt on the runtime side, without changing a line of behaviour, is the
146
+ shape of the call — its constant passed as `fallback`, so the gap becomes countable — and that is
147
+ worth precisely as much as its journal is fed, which today is not at all.
93
148
 
94
149
  **D-027 status: one consumer with pull.** C3 of `docs/challenge-2026-08-30.md` ranked this behind
95
150
  `@geonosis/integrations` for that reason and it was right to; this package ships inside 1.0.0 with
package/dist/index.cjs CHANGED
@@ -27,11 +27,15 @@ __export(index_exports, {
27
27
  appliesTo: () => appliesTo,
28
28
  assertScopeOrder: () => assertScopeOrder,
29
29
  curate: () => curate,
30
+ declareThreshold: () => declareThreshold,
30
31
  definePolicy: () => definePolicy,
31
32
  demote: () => demote,
32
33
  describePolicy: () => describePolicy,
34
+ describeThreshold: () => describeThreshold,
33
35
  emptyPlaybook: () => emptyPlaybook,
36
+ expiredThresholds: () => expiredThresholds,
34
37
  generatePolicyMarkdown: () => generatePolicyMarkdown,
38
+ isThreshold: () => isThreshold,
35
39
  journalRowForEvent: () => journalRowForEvent,
36
40
  observeJournal: () => observeJournal,
37
41
  playbookGuidance: () => playbookGuidance,
@@ -830,3 +834,32 @@ var rulesToSeed = (seed, existing) => {
830
834
  )
831
835
  );
832
836
  };
837
+
838
+ // src/threshold.ts
839
+ var DECLARED = /* @__PURE__ */ Symbol.for("com.microcompanies.geonosis.threshold");
840
+ var ISO_DATE = /^\d{4}-\d{2}-\d{2}$/;
841
+ var refuse = (what) => {
842
+ throw new Error(
843
+ `declareThreshold: ${what}. Next: give it one, or leave it as a plain constant and say why it needs no authority.`
844
+ );
845
+ };
846
+ var filled = (value) => typeof value === "string" && value.trim() !== "";
847
+ var declareThreshold = (input) => {
848
+ if (!filled(input.authority)) refuse("a threshold whose authority is nobody is a magic number");
849
+ if (!filled(input.reason)) refuse("a threshold with no reason cannot teach anyone what it is for");
850
+ if (input.value === void 0) refuse("a threshold with no value decides nothing");
851
+ if (input.revisit !== void 0 && !ISO_DATE.test(input.revisit)) {
852
+ refuse(
853
+ `revisit "${input.revisit}" is not an ISO date \u2014 a date nobody can compare never expires`
854
+ );
855
+ }
856
+ return Object.freeze({ ...input, [DECLARED]: true });
857
+ };
858
+ var isThreshold = (value) => typeof value === "object" && value !== null && DECLARED in value;
859
+ var expiredThresholds = (thresholds, now) => thresholds.filter((one) => one.revisit !== void 0 && new Date(one.revisit) <= now);
860
+ var describeThreshold = (threshold) => [
861
+ `${String(threshold.value)}`,
862
+ threshold.subject === void 0 ? "" : ` for ${threshold.subject}`,
863
+ ` \u2014 ${threshold.authority}: ${threshold.reason}`,
864
+ threshold.revisit === void 0 ? "" : ` (revisit ${threshold.revisit})`
865
+ ].join("");
package/dist/index.d.cts CHANGED
@@ -380,4 +380,49 @@ type ExistingPolicyRule = PolicyRule & {
380
380
  */
381
381
  declare const rulesToSeed: <T extends PolicyRule>(seed: readonly T[], existing: readonly ExistingPolicyRule[]) => T[];
382
382
 
383
- export { type ConformanceCheck, type ConformanceReport, DEFAULT_MIN_OBSERVATIONS, type DescribePolicyOptions, type DomainJournalRow, type ExistingPolicyRule, JournalObservationEntry, type JournalRowOptions, type Learning, LearningError, type LearningEvidence, type LearningKind, type LearningStatus, type Observation, type ObserveOptions, type Playbook, Policy, PolicyAdapter, type PolicyAdapterHarness, PolicyConfigReader, PolicyData, PolicyDecision, type PolicyInput, PolicyJournal, PolicyKindSpec, type PolicyMarkdownOptions, type PolicyOrDefaultInput, PolicyQuery, PolicyReading, PolicyRule, PolicyRuleReader, PolicyRuleRow, PolicyScope, PolicyTierSpec, type ReadPolicyOptions, UnusableRule, appliesTo, assertScopeOrder, curate, definePolicy, demote, describePolicy, emptyPlaybook, generatePolicyMarkdown, journalRowForEvent, observeJournal, playbookGuidance, playbookRules, policyOrDefault, promote, readPolicy, reflect, resolveConstraint, rulesToSeed, runPolicyAdapterConformance, specificityOf, toPolicyRule, toPolicyRules, unsetKindsOf, unsupportedScopesOf, unusableRulesOf, usableRulesOf };
383
+ /**
384
+ * The compile-time tier: a threshold that no tenant sets and no config row overrides, declared where
385
+ * it is used.
386
+ *
387
+ * The runtime lattice answers "what does this tenant, in this region, for this order, get?" — and it
388
+ * needs a store, a boot and an await to answer it. Most thresholds are not that question.
389
+ * `LIVENESS_TIMEOUT_MS = 3000` decides behaviour in code and will never be tenant-settable; what it
390
+ * is missing is not a lattice, it is an authority. That is all this tier adds, and the reason it
391
+ * adds nothing else: a threshold whose declaration cost an async call and a port would go back to
392
+ * being a number.
393
+ */
394
+ interface ThresholdInput<Value> {
395
+ /** Who or what set it: a person and a date, a contract, a standard, an incident. */
396
+ readonly authority: string;
397
+ /** Why this number and not another. The sentence the person who was just blocked needs. */
398
+ readonly reason: string;
399
+ /** ISO date. When somebody should look at it again; absent means the authority is permanent. */
400
+ readonly revisit?: string;
401
+ /** What it reaches. Absent where the name says it. */
402
+ readonly subject?: string;
403
+ readonly value: Value;
404
+ }
405
+ declare const DECLARED: unique symbol;
406
+ type Threshold<Value> = {
407
+ readonly [DECLARED]: true;
408
+ } & Readonly<ThresholdInput<Value>>;
409
+ /**
410
+ * Declared, frozen, and refused where it is incomplete.
411
+ *
412
+ * The refusal is at the declaration and not at the first read, because a declaration runs when the
413
+ * module loads: a threshold missing its authority breaks the boot of whatever imports it, which is
414
+ * the earliest anyone can be told and the last moment it is cheap.
415
+ */
416
+ declare const declareThreshold: <Value>(input: ThresholdInput<Value>) => Threshold<Value>;
417
+ declare const isThreshold: (value: unknown) => value is Threshold<unknown>;
418
+ /**
419
+ * The thresholds whose revisit date has passed.
420
+ *
421
+ * Reported, never thrown. A declaration that started failing the build on a date would have its
422
+ * date deleted by the first person it stopped, and the tier would be back to numbers with prose
423
+ * beside them.
424
+ */
425
+ declare const expiredThresholds: (thresholds: readonly Threshold<unknown>[], now: Date) => Threshold<unknown>[];
426
+ declare const describeThreshold: (threshold: Threshold<unknown>) => string;
427
+
428
+ export { type ConformanceCheck, type ConformanceReport, DEFAULT_MIN_OBSERVATIONS, type DescribePolicyOptions, type DomainJournalRow, type ExistingPolicyRule, JournalObservationEntry, type JournalRowOptions, type Learning, LearningError, type LearningEvidence, type LearningKind, type LearningStatus, type Observation, type ObserveOptions, type Playbook, Policy, PolicyAdapter, type PolicyAdapterHarness, PolicyConfigReader, PolicyData, PolicyDecision, type PolicyInput, PolicyJournal, PolicyKindSpec, type PolicyMarkdownOptions, type PolicyOrDefaultInput, PolicyQuery, PolicyReading, PolicyRule, PolicyRuleReader, PolicyRuleRow, PolicyScope, PolicyTierSpec, type ReadPolicyOptions, type Threshold, type ThresholdInput, UnusableRule, appliesTo, assertScopeOrder, curate, declareThreshold, definePolicy, demote, describePolicy, describeThreshold, emptyPlaybook, expiredThresholds, generatePolicyMarkdown, isThreshold, journalRowForEvent, observeJournal, playbookGuidance, playbookRules, policyOrDefault, promote, readPolicy, reflect, resolveConstraint, rulesToSeed, runPolicyAdapterConformance, specificityOf, toPolicyRule, toPolicyRules, unsetKindsOf, unsupportedScopesOf, unusableRulesOf, usableRulesOf };
package/dist/index.d.ts CHANGED
@@ -380,4 +380,49 @@ type ExistingPolicyRule = PolicyRule & {
380
380
  */
381
381
  declare const rulesToSeed: <T extends PolicyRule>(seed: readonly T[], existing: readonly ExistingPolicyRule[]) => T[];
382
382
 
383
- export { type ConformanceCheck, type ConformanceReport, DEFAULT_MIN_OBSERVATIONS, type DescribePolicyOptions, type DomainJournalRow, type ExistingPolicyRule, JournalObservationEntry, type JournalRowOptions, type Learning, LearningError, type LearningEvidence, type LearningKind, type LearningStatus, type Observation, type ObserveOptions, type Playbook, Policy, PolicyAdapter, type PolicyAdapterHarness, PolicyConfigReader, PolicyData, PolicyDecision, type PolicyInput, PolicyJournal, PolicyKindSpec, type PolicyMarkdownOptions, type PolicyOrDefaultInput, PolicyQuery, PolicyReading, PolicyRule, PolicyRuleReader, PolicyRuleRow, PolicyScope, PolicyTierSpec, type ReadPolicyOptions, UnusableRule, appliesTo, assertScopeOrder, curate, definePolicy, demote, describePolicy, emptyPlaybook, generatePolicyMarkdown, journalRowForEvent, observeJournal, playbookGuidance, playbookRules, policyOrDefault, promote, readPolicy, reflect, resolveConstraint, rulesToSeed, runPolicyAdapterConformance, specificityOf, toPolicyRule, toPolicyRules, unsetKindsOf, unsupportedScopesOf, unusableRulesOf, usableRulesOf };
383
+ /**
384
+ * The compile-time tier: a threshold that no tenant sets and no config row overrides, declared where
385
+ * it is used.
386
+ *
387
+ * The runtime lattice answers "what does this tenant, in this region, for this order, get?" — and it
388
+ * needs a store, a boot and an await to answer it. Most thresholds are not that question.
389
+ * `LIVENESS_TIMEOUT_MS = 3000` decides behaviour in code and will never be tenant-settable; what it
390
+ * is missing is not a lattice, it is an authority. That is all this tier adds, and the reason it
391
+ * adds nothing else: a threshold whose declaration cost an async call and a port would go back to
392
+ * being a number.
393
+ */
394
+ interface ThresholdInput<Value> {
395
+ /** Who or what set it: a person and a date, a contract, a standard, an incident. */
396
+ readonly authority: string;
397
+ /** Why this number and not another. The sentence the person who was just blocked needs. */
398
+ readonly reason: string;
399
+ /** ISO date. When somebody should look at it again; absent means the authority is permanent. */
400
+ readonly revisit?: string;
401
+ /** What it reaches. Absent where the name says it. */
402
+ readonly subject?: string;
403
+ readonly value: Value;
404
+ }
405
+ declare const DECLARED: unique symbol;
406
+ type Threshold<Value> = {
407
+ readonly [DECLARED]: true;
408
+ } & Readonly<ThresholdInput<Value>>;
409
+ /**
410
+ * Declared, frozen, and refused where it is incomplete.
411
+ *
412
+ * The refusal is at the declaration and not at the first read, because a declaration runs when the
413
+ * module loads: a threshold missing its authority breaks the boot of whatever imports it, which is
414
+ * the earliest anyone can be told and the last moment it is cheap.
415
+ */
416
+ declare const declareThreshold: <Value>(input: ThresholdInput<Value>) => Threshold<Value>;
417
+ declare const isThreshold: (value: unknown) => value is Threshold<unknown>;
418
+ /**
419
+ * The thresholds whose revisit date has passed.
420
+ *
421
+ * Reported, never thrown. A declaration that started failing the build on a date would have its
422
+ * date deleted by the first person it stopped, and the tier would be back to numbers with prose
423
+ * beside them.
424
+ */
425
+ declare const expiredThresholds: (thresholds: readonly Threshold<unknown>[], now: Date) => Threshold<unknown>[];
426
+ declare const describeThreshold: (threshold: Threshold<unknown>) => string;
427
+
428
+ export { type ConformanceCheck, type ConformanceReport, DEFAULT_MIN_OBSERVATIONS, type DescribePolicyOptions, type DomainJournalRow, type ExistingPolicyRule, JournalObservationEntry, type JournalRowOptions, type Learning, LearningError, type LearningEvidence, type LearningKind, type LearningStatus, type Observation, type ObserveOptions, type Playbook, Policy, PolicyAdapter, type PolicyAdapterHarness, PolicyConfigReader, PolicyData, PolicyDecision, type PolicyInput, PolicyJournal, PolicyKindSpec, type PolicyMarkdownOptions, type PolicyOrDefaultInput, PolicyQuery, PolicyReading, PolicyRule, PolicyRuleReader, PolicyRuleRow, PolicyScope, PolicyTierSpec, type ReadPolicyOptions, type Threshold, type ThresholdInput, UnusableRule, appliesTo, assertScopeOrder, curate, declareThreshold, definePolicy, demote, describePolicy, describeThreshold, emptyPlaybook, expiredThresholds, generatePolicyMarkdown, isThreshold, journalRowForEvent, observeJournal, playbookGuidance, playbookRules, policyOrDefault, promote, readPolicy, reflect, resolveConstraint, rulesToSeed, runPolicyAdapterConformance, specificityOf, toPolicyRule, toPolicyRules, unsetKindsOf, unsupportedScopesOf, unusableRulesOf, usableRulesOf };
package/dist/index.js CHANGED
@@ -767,6 +767,35 @@ var rulesToSeed = (seed, existing) => {
767
767
  )
768
768
  );
769
769
  };
770
+
771
+ // src/threshold.ts
772
+ var DECLARED = /* @__PURE__ */ Symbol.for("com.microcompanies.geonosis.threshold");
773
+ var ISO_DATE = /^\d{4}-\d{2}-\d{2}$/;
774
+ var refuse = (what) => {
775
+ throw new Error(
776
+ `declareThreshold: ${what}. Next: give it one, or leave it as a plain constant and say why it needs no authority.`
777
+ );
778
+ };
779
+ var filled = (value) => typeof value === "string" && value.trim() !== "";
780
+ var declareThreshold = (input) => {
781
+ if (!filled(input.authority)) refuse("a threshold whose authority is nobody is a magic number");
782
+ if (!filled(input.reason)) refuse("a threshold with no reason cannot teach anyone what it is for");
783
+ if (input.value === void 0) refuse("a threshold with no value decides nothing");
784
+ if (input.revisit !== void 0 && !ISO_DATE.test(input.revisit)) {
785
+ refuse(
786
+ `revisit "${input.revisit}" is not an ISO date \u2014 a date nobody can compare never expires`
787
+ );
788
+ }
789
+ return Object.freeze({ ...input, [DECLARED]: true });
790
+ };
791
+ var isThreshold = (value) => typeof value === "object" && value !== null && DECLARED in value;
792
+ var expiredThresholds = (thresholds, now) => thresholds.filter((one) => one.revisit !== void 0 && new Date(one.revisit) <= now);
793
+ var describeThreshold = (threshold) => [
794
+ `${String(threshold.value)}`,
795
+ threshold.subject === void 0 ? "" : ` for ${threshold.subject}`,
796
+ ` \u2014 ${threshold.authority}: ${threshold.reason}`,
797
+ threshold.revisit === void 0 ? "" : ` (revisit ${threshold.revisit})`
798
+ ].join("");
770
799
  export {
771
800
  DEFAULT_MIN_OBSERVATIONS,
772
801
  LearningError,
@@ -775,11 +804,15 @@ export {
775
804
  appliesTo,
776
805
  assertScopeOrder,
777
806
  curate,
807
+ declareThreshold,
778
808
  definePolicy,
779
809
  demote,
780
810
  describePolicy,
811
+ describeThreshold,
781
812
  emptyPlaybook,
813
+ expiredThresholds,
782
814
  generatePolicyMarkdown,
815
+ isThreshold,
783
816
  journalRowForEvent,
784
817
  observeJournal,
785
818
  playbookGuidance,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geonosis/policy",
3
- "version": "1.4.0",
3
+ "version": "2.0.0",
4
4
  "types": "./dist/index.d.ts",
5
5
  "description": "A threshold is a value plus the authority that set it, the subject it reaches and the reason it exists. The precedence lattice, the rule → config → constant read with its fallback journalled once per boot, the learning loop, the generated policy prose, and a permission lattice with the runtime lifted out.",
6
6
  "keywords": [