OH

Scope Hierarchy & Deterministic Inheritance

Every definition declares its allowed scopes, type, default and guardrails. Resolution is deterministic: the most-specific permitted active value wins, regulatory and security floors can only become stricter, and overlapping active versions for the same key/scope/effective period are rejected.

CFG-02
Scope tree — tenant AMP-0017 levels
  • 🛡 1 · Platform guardrail system
    • 2 · Jurisdiction pack — UAE (AML/CFT/CPF 2025, PDPL, VAT) floors
      • 🏢 3 · Company — Al Manara Properties Group
        • 🏛 4 · Legal entity — Al Manara Properties LLC (TRN 100234567800003)
          • 📍 5 · Branch — Dubai HQ (RERA ORN 1203)
            • 👥 6 · Department — Residential Sales
              • 👤 7 · User / transaction class — Omar Haddad (preferences only)
            • 👥 6 · Department — Leasing & PM
          • 📍 5 · Branch — Abu Dhabi Branch (ADREC licence)
        • 🏛 4 · Legal entity — Al Manara Property Management LLC

Selection: Legal entity Al Manara Properties LLC. The worked examples on the right resolve against this path down to branch Dubai HQ / user Omar Haddad.

Precedence rules by scope (spec Table 9)
#ScopeTypical contentPrecedence rule
1Platform guardrailSecurity floors, system limits, supported capabilitiesNever weakened by a lower level
2Jurisdiction / regulatory packAML, privacy, tax and labour minimumsMore restrictive rule wins
3CompanyGroup-wide policy, base currency, modulesInherited unless an override is allowed
4Legal entityRegistration, fiscal/tax/payroll policy, authorityOverrides company only for permitted keys
5BranchOperational routing, numbering, queues, cost centersOverrides entity only for permitted keys
6Department / teamSLA, assignment, approval routingNarrow business override
7User preference / transaction classHarmless preference or explicitly approved exceptionNever overrides authority, finance, payroll, compliance, privacy, recording or security policy
Definition declarations — allowed scopes, defaults & guardrails
Definition keyData typeAllowed scopesDefaultGuardrailOverride?
org.authority.expense_thresholdMoney (AED) Company · Branch · DepartmentAED 50,000.00 Max AED 250,000 without CFO chainPermitted (narrower only)
cmp.retention.aml_recordsDuration (years) Jurisdiction · Company5 years UAE AML minimum 5 years from latest trigger — floorLengthen only
tel.recording.policyPolicy aggregate Jurisdiction · EntityDisabled Requires legal + privacy approval before any enablementNo user/branch override
crm.sla.first_response_minutesInteger (min) Company · Branch · Department30 Platform limit ≥ 5 minutesPermitted
fin.numbering.invoice_seriesSequence profile Entity · BranchINV-{entity}-{yy}-{seq6} No gaps or reuse; change is effective-datedBranch prefix only
ui.pref.landing_pageEnum Userwork-queue None — harmless preferenceUser preference
re.permit.trakheesi_policyPolicy aggregate Jurisdiction · BranchPermit required before publication Authority requirement — exception route only, auditedAuthorized exception
sec.session.step_up_thresholdMoney (AED) Platform · CompanyAED 100,000.00 Security floor — lower scopes may only reduce the threshold (stricter)Stricter only
Rows 1–8 of 214 declarations

Worked examples — effective value resolution (17 Jul 2026)

Example 1 — org.authority.expense_thresholdBranch override wins
Context
Expense voucher PV-2026-01187 · Dubai HQ · AED 32,400.00
Effective value
AED 25,000.00 → voucher exceeds it, independent approval chain resolved
Resolved from
Branch Dubai HQ · v5 · active since 01 Mar 2026
LayerValueVerdict
1 · Platform guardrail≤ AED 250,000.00Ceiling holds
3 · CompanyAED 50,000.00Inherited, then overridden
4 · Entity — Al Manara Properties LLCno valuePass-through
5 · Branch — Dubai HQAED 25,000.00Effective (permitted override)
7 · User — Omar Haddadn/aNot an allowed scope

Acceptance CFG-02: the branch transaction uses the permitted branch override and the resolution trace identifies every inherited layer. Open in Resolution Explorer →

Example 2 — cmp.retention.aml_recordsFloor blocks override
Context
Draft v4 proposed 3-year retention for AML evidence
Effective value
5 years from latest applicable trigger (unchanged)
Validation result
CFG-E-FLOOR-VIOLATION — activation blocked (CFG-07 acceptance)
LayerValueVerdict
2 · Jurisdiction — UAE AML/CFT/CPF 2025≥ 5 yearsLegal floor
3 · Company (active v3)5 yearsEffective
3 · Company (draft v4)3 yearsRejected — below floor
6 · Legal hold LH-2026-004 (Falcon Trading FZ-LLC case)indefiniteExtends, never shortens

Rejected draft retained as evidence with reviewer note by Ahmed Al Blooshi (MLRO). Open Compliance Studio →

Example 3 — tel.recording.policyUser scope refused
Context
Agent Layla Hassan requested per-user call recording for coaching
Effective value
Recording disabled — jurisdiction/profile keeps it off
Runtime behavior
CRM call logging continues; no recording request or link is created (CFG-08 acceptance)
LayerValueVerdict
1 · Platform guardrailrecording default OFFBaseline
2 · Jurisdiction — UAE profiledisabled pending legal reviewEffective
4 · Entityno approved enablementPass-through
7 · User requestenable = trueRefused — scope 7 never overrides recording policy

Request logged and routed to Communications & Telephony Studio as a policy change proposal instead.

Conflict resolution rule & overlap guardValidation

Deterministic rule: for a given key, take all active versions on the resolution date, keep only layers the definition permits, apply floors (stricter always wins), then select the most specific remaining scope. The trace lists every layer so the outcome is explainable and reproducible.

VersionScopeEffective periodState
v8Branch — Dubai HQ01 May 2026 → openActive
v9 (attempt)Branch — Dubai HQ15 Jul 2026 → 30 Sep 2026Rejected — overlap
v9 (corrected)Branch — Dubai HQ01 Oct 2026 → open (supersedes v8)Scheduled

Static render mockup — no live data. Source: ERP Modern Development Specification v2.0 · Covers: CFG-02 (scope hierarchy, precedence, deterministic resolution, floors, overlap prevention).