Detector profile foundation
The internal profile foundation implements the accepted defaults in ADR 0012. It is a design and validation surface, not runtime configuration: no public YAML or CEL field was added, request evaluation does not merge layers, and none of these examples is activated or approved for production enforcement.
Fixed composition model
Every effective profile has one immutable, digest-pinned named baseline and may have at most one industry overlay followed by one tenant overlay. Operations are accepted only for typed slots in the detector's pinned capability contract. Tenant changes may tighten. A broadening can be represented only inside a declared ceiling and must carry replay and gate impacts; the current capability contracts export no broadening slot.
The final snapshot is selected from authenticated server-side integration and deployment identity. A request body, header, provider field, profile name, or tenant claim cannot select or modify it.
EXAMPLE-BANK
Australian banking is the first industry overlay and certification example. The
synthetic organization is always displayed as EXAMPLE-BANK, uses slug
example-bank, and uses reserved domains bank.example and api.bank.example.
The central placeholder registry and
schema define that
identity. Validation rejects unknown EXAMPLE-<INDUSTRY> IDs and known real bank
names in executable policy and test fixtures. Sourced research and authoritative
quotations are intentionally excluded from that organization-name lint.
The examples are:
- Australian banking industry overlay: HPI-I and VSN, record-only, unchanged recognition, tightening-only enforcement, example certification status only.
- EXAMPLE-BANK tenant overlay: additional evidence requirements only; no new labels, paths, normalization, suppression, redaction, or block action.
- EXAMPLE-BANK deployment binding: an authenticated control-plane binding to one complete snapshot.
The examples preserve the current HPI-I and VSN baseline semantics. They do not authorize HPI-I/VSN processing, promote either detector, or change the default runtime policy.
Identity and validation
Each profile patch records and validates:
- baseline profile ID, version, path, and exact-byte configuration digest;
- detector ID/version and a deterministic source-artifact digest;
- capability-contract ID/version and exact-byte digest;
- parent industry layer digest for tenant overlays;
- recognition and enforcement impact plus required replay suites; and
- the effective profile digest calculated from canonical JSON containing its identity, provenance, impact, and operations.
The source-artifact digest is SHA-256 over each sorted source path, a NUL byte, the exact file bytes, and a trailing NUL byte. Canonical subjects use UTF-8 JSON with sorted keys and no insignificant whitespace. These are internal prototype rules pending the normative cross-language JCS decision; the validation script prevents silent drift today.
Run python3 scripts/validate-profile-foundation.py for the focused check or
npm run validate for the full contract suite. The focused validator also proves
that operations name declared slots, layer permissions and ceilings are obeyed,
the industry import is singular, and the deployment snapshot contains exactly
the tenant effective-profile digests and current example policy digest.
Governance boundaries
Temporary suppressions keep findings visible and skip only policy action. They
must carry reason, owner, risk approver, ticket, exact trusted scope, and expiry.
Raw identifiers and enumerable value hashes are forbidden. Risk-owner approval
is mandatory for any required, block, or fail-closed transition in addition
to replay, maturity, legal, and operational gates.
Before legacy G1 release-gate promotion, both detectors still need the independently authored governed holdout, critical-slice and hard-negative/adversarial evidence, determinism/resource attestations on the promoted commit, OD-029 fixture approval, and detector-owner, independent-engineer, privacy-telemetry, risk-threshold, confidence-calibration, taxonomy/governance, and legal/domain approvals described in the baseline profiles.