Skip to content

Architecture / Decision records / ADR-HIS-094

ADR-HIS-094 A unit declares the tier of its most critical paths, and an audited action of a lower tier declares its own

Status Accepted
Decided 2026-11-29 by session RC-1-S28-F5
Record Drafted 2026-11-29; approved 2026-11-30 by the Enterprise Architecture Board
Where the rule lives services/ess-reference: service-kit (AuditRecord.tier, AuditEmitter), mod-ess-004 (AuthoringService.STEWARDSHIP_TIER), mod-ess-005 (Governance.STEWARDSHIP_TIER)

Context

The kit of every unit reads one setting, his.unit.tier, in one place. When the audit buffer is full (DEC-ESS-018, architecture 8.4), AuditEmitter lets a Tier 1 unit carry on, with its outbox as the local durable log, and refuses every protected action of any other unit as unavailable.

The gate of slice RC-1 found that ess-reference declared Tier 2. Architecture 5.2 gives the reference services "Tier 1 read paths", and FR-ISE-PLT-002 records a unit's criticality tier (fix RC-1-S28-F5, issue #211). NFR-ESS-004 splits the unit, though:

  • terminology runtime and master-data reads are dependencies of Tier 1 workflows, and inherit Tier 1;
  • administration and stewardship workspaces are Tier 2 or Tier 3.

DEC-ESS-018 says that, with the buffer full, Tier 1 actions continue and the other protected actions block. In this unit the read paths write no audit record, so the buffer never stopped them. The only actions the tier governs are authoring, stewardship and approval, the activation and publication of what has taken effect, and the start-up seed loads. Most of them are the Tier 2 stewardship actions that must block. A unit-wide Tier 1 alone would therefore have let them carry on, against DEC-ESS-018. A unit-wide Tier 2 misstates the unit's criticality.

Decision

  1. A unit declares the tier of its most critical paths in his.unit.tier. For ess-reference that is Tier 1. This is the tier the platform records for it (FR-ISE-PLT-002).
  2. An audited action of a lower tier says so on its audit record. AuditRecord.Builder.tier(int) sets it. The value is not part of the audit event. AuditEmitter decides on the record's tier, or on the unit's tier when the record names none. An action can only lower its tier: the effective tier is the lower criticality of the two, max(record, unit).
  3. In ess-reference, the audited stewardship actions declare Tier 2. The constant STEWARDSHIP_TIER holds it:
  4. in mod-ess-004: create, submit, second review, approve, retire, roll back and export of a terminology version;
  5. in mod-ess-005: change proposals, batches and decisions, which the registries of mod-ess-010 also go through.

A new audited stewardship action declares its tier the same way. 4. Three audited actions keep the unit's tier, because the Tier 1 read paths depend on them. Their audit stays in the outbox until the audit service is back: - the scheduled activation of an approved terminology release, which makes it current for lookups; - the publication of a master-data version that has taken effect. MasterDataChanged feeds the consumers' published local copies (architecture 5.2), and the validity ends from which MOD-ESS-001 suspends roles; - the start-up seeds of mod-ess-005 and mod-ess-010. Refusing them would stop the unit from starting during an audit outage, and its read paths with it. 5. Refusal audits written by PolicyEnforcer keep the unit's tier. The request is refused either way, so recording the refusal never changes the outcome.

Consequences

  • With a full audit buffer, ess-reference keeps answering lookups, validations, expansions and master-data reads, keeps activating and publishing what has taken effect, and still starts. It refuses stewardship changes as unavailable with nothing saved, as DEC-ESS-018 and NFR-ESS-004 require. These tests hold it:
  • UnitTierTest (app): the unit declares Tier 1 and starts with a small buffer;
  • the AuditBufferTierTest of mod-ess-004 and mod-ess-005: reads and stewardship, activation and publication;
  • the kit's AuditBufferTest: the rule itself.
  • The change is to this unit's copy of the kit. Other units made from the template keep the unit-only rule until they need it. A unit raised to Tier 1 that also holds Tier 2 administration should do the same: adm-identity (fix RC-1-S28-F3) and ess-runtime-decision, which RC-1-S28-F4 raised to Tier 1 for every action. The template (services/_template) can take the rule over (follow-up).
  • Forgetting the declaration on a new stewardship action fails open: the action carries on with a full buffer, and its audit stays in the outbox. The module tests catch it only for the actions they exercise.