SCR-AUD — Audit & Governance Screens
Version: 1.0 · Date: 2026-06-11 · Owner: Head of Internal Audit (screens 001-003) / CCO (004-006)
Related: PROC-010, aib-audit-service-api.md, aib-compliance-service-api.md
Primary agent(s): agent:aib-audit, agent:aib-compliance · Human roles: Head of Internal Audit, Audit Committee, CCO, CRO, Senior Management, Board
This function covers the third line of defence and conduct governance: the immutable audit trail (all agent/human/system actions, 10-year retention), the risk-based annual audit plan and 6-phase engagement methodology, findings remediation, whistleblowing (Directive 2019/1937, FL Hinweisgeberschutzgesetz 2023), conduct and conflicts (MiFID II Art. 27(4), Del. Reg. 2017/565, EBA GL on internal governance 2021, CRD Art. 74/91), and the regulatory deadline calendar.
agent:aib-audit operates read-only on operational data (Agent Register: "Read-only (independent)") — it queries audit_log via the aib-audit service API, drafts engagement workpapers, fieldwork samples, and finding texts, and monitors remediation deadlines. agent:aib-compliance drafts conduct/COI assessments and calendar entries via the aib-compliance service API. Per P11 every conclusion is human-disposed: the Head of Internal Audit issues reports, the Audit Committee approves the plan, the CCO disposes conduct cases.
Two structural protections shape these screens: internal audit independence (audit staff and the audit agent never write operational records; management never edits findings) and whistleblower anonymity (identity-free record design, pseudonymous follow-up, access restricted to the assigned investigator).
Purpose: Search and inspect the append-only audit_log — every action by every agent, human, and system, with before/after state. Strictly read-only: the screen has no write capability whatsoever.
Personas: Head of Internal Audit, audit staff, CCO (investigations), FMA inspection support.
| Table | Role in screen |
|---|
audit_log | Sole source: filter by actor, action, entity, date range, regulatory flag |
| Table | agent:aib-audit (via API) | Head of Internal Audit | CCO |
|---|
audit_log | R (GET /audit-log queries only; C is system/trigger-driven) | R | R |
(audit_log is strictly append-only: C by system only — trigger-based per aib-audit-service-api — R for authorized roles, no U, no D ever; retention 10yr, the maximum of all regulatory requirements; records retained per BankG Art. 47)
- Investigation query: human selects entity (e.g. a client, order, STR) → chronological mutation history with
before_state/after_state JSON diffs, actor_type/actor_id, ip_address, session_id.
- Canned compliance checks (from aib-audit-service-api): tipping-off control (
GET /audit-log/str/{id}/tipped-off-checks — must return empty), sanctions unfreeze authorization chains.
- agent:aib-audit runs continuous anomaly queries (e.g. agent actions without matching approval events — P11 verification) and drafts exceptions for SCR-AUD-002 fieldwork.
- Regulatory extract: filter
regulatory_event = 1 + regulation_refs for FMA inspection packages — export is logged (an export itself creates an audit_log entry).
- No record states: rows are immutable facts. The only UI state is the saved-query workspace.
- Gate: bulk export requires Head of Internal Audit or CCO role; every query against client-identifying data is itself audit-logged.
audit_log.actor_type CHECK: ('agent','human','system') — explorer facets on exactly these three.
audit_log.retain_until NOT NULL — retention is set at write time; no UI override exists.
- Schema comment enforced in the app layer: "NO UPDATE/DELETE: enforced at application layer" — the screen renders no edit affordance and the service API exposes no mutating endpoint except internal
POST /audit-log.
Purpose: Manage the annual audit plan and engagements through the 6-phase methodology (planning → fieldwork → testing → analysis → reporting → follow-up).
Personas: Head of Internal Audit (lead), audit staff, Audit Committee (plan approval).
| Table | agent:aib-audit (via API) | Head of Internal Audit | Audit Committee / Board |
|---|
audit_plan | C R (draft risk-based scope) | R U (finalize) | R U (board approval) |
audit_engagement | C R U (draft workpapers, advance phase data) | R U (approve phase gates, issue reports) | R |
workflow_issue | C R U (sync tasks) | R U | R |
audit_log | C (system) | R | R |
- Planning: agent drafts
audit_plan from risk data (KRI breaches, RCSA events, prior findings) with JSON risk_areas; Head of Internal Audit finalizes; Board/Audit Committee approves (board_approved_at/by); available to FMA on request (fma_submitted).
- Engagement: agent prepares samples and test evidence per phase; Head of Internal Audit gates each phase transition (
phase_start/phase_end).
- Reporting: draft report issued (
draft_issued_at) → management response window — management_response_deadline, 5-day window per aib-audit methodology → final report (final_report_at).
- Finding tallies (
findings_critical/high/medium/low) roll up from SCR-AUD-003; engagement closes only when follow-up phase confirms remediation.
audit_plan.status: draft → board_approved → in_progress → completed.
audit_engagement.phase: planning → fieldwork → testing → analysis → reporting → follow_up → closed; status: open → in_progress → draft_report → management_response → closed.
- Gate: plan execution cannot start before board approval (committee gate).
- Gate: final report issuance is Head of Internal Audit only; the agent drafts, never issues.
- SLA: 5-day management response window; retention
retain_until 7yr per aib-audit policy.
audit_plan.status CHECK: ('draft','board_approved','in_progress','completed'); scope_summary NOT NULL.
audit_engagement.phase CHECK: ('planning','fieldwork','testing','analysis','reporting','follow_up','closed'); status CHECK: ('open','in_progress','draft_report','management_response','closed').
workflow_issue.issue_type includes ('audit_engagement','audit_finding_remediation'); priority CHECK: ('critical','high','medium','low').
Purpose: Track audit findings from issuance through management response and remediation; Critical findings escalate to Board + FMA liaison.
Personas: Head of Internal Audit (issuer), remediation owners (management), Audit Committee.
| Table | agent:aib-audit (via API) | Head of Internal Audit | Remediation owner (mgmt) |
|---|
audit_finding | C R U (draft text, monitor due dates) | R U (issue, verify closure, FMA flags) | R U (management_response, remediation fields only) |
workflow_issue | C R U (create remediation tasks) | R | R U (progress) |
compliance_calendar | C R (deadline entries) | R | R |
audit_log | C (system) | R | R |
- Agent drafts findings during the engagement (title, description,
root_cause, regulation_ref e.g. 'SPG_ART_9', 'MIFID_ART_25'); Head of Internal Audit assigns severity and issues with finding_ref (e.g. AIB-AUD-2026-001).
- Critical severity: immediate escalation to Board + FMA liaison required —
fma_liaison_required = 1 (schema comment: always 1 if Critical), fma_notified_at recorded.
- Management records
management_response and remediation plan (remediation_action/owner/due); agent creates the matching workflow_issue and compliance_calendar entry.
- Closure: owner marks work done; agent verifies evidence; Head of Internal Audit sets
remediation_complete = 1 — management cannot close its own finding.
- Overdue
remediation_due items escalate to the Audit Committee pack.
- Finding lifecycle: drafted (agent) → issued (HoIA) → management response → remediation in progress → verified closed (HoIA).
- Gate: severity assignment and closure verification are Head of Internal Audit exclusive (independence — management edits are limited to response/remediation fields).
- Gate: Critical findings auto-set
fma_liaison_required = 1; clearing it requires Audit Committee minute reference.
- Retention:
retain_until 7yr.
audit_finding.severity CHECK: ('Critical','High','Medium','Low') — note capitalized scale.
audit_finding.risk_type CHECK: ('compliance','operational','financial','reputational','regulatory').
title and description NOT NULL; engagement_id NOT NULL — orphan findings impossible.
Purpose: Receive and manage whistleblower reports with anonymity protection (Directive 2019/1937 Art. 9; FL Hinweisgeberschutzgesetz 2023): 7-day acknowledgement, 3-month feedback, pseudonymous follow-up.
Personas: Assigned investigator (restricted), Head of Internal Audit (oversight), CCO (category routing). Deliberately NOT: line management, HR, the subject of the report.
| Table | Role in screen |
|---|
whistleblower_report | Primary record — no reporter identity fields beyond optional pseudonym |
audit_log | Access log (every view of a case is logged) |
| Table | agent:aib-compliance (via API) | Assigned investigator | Head of Internal Audit |
|---|
whistleblower_report | C R U (intake from channels, deadline timers; no access to free-text evidence on anonymous cases) | R U (assessment, status, outcome) | R (oversight metrics, no case detail unless assigned) |
audit_log | C (system) | R (own-case access trail) | R |
- Intake: report arrives via
channel (web/phone/post/external authority/direct to FMA); agent creates the record with reporter_anonymous = 1 default and generates a reporter_pseudonym for anonymous-but-trackable follow-up. No IP, no session linkage is stored for the reporting channel.
- Acknowledgement clock:
acknowledgement_sent_date must be within 7 days of receipt_date (Directive Art. 9) — countdown timer on the queue; agent drafts the acknowledgement, investigator sends.
- Assessment → investigation: investigator (assigned via
assigned_investigator_id) progresses case_status; evidence referenced via evidence_refs JSON, never inline identity data.
- Feedback clock:
follow_up_date within 3 months — second timer.
- Outcome:
closed_substantiated may spawn an audit engagement (SCR-AUD-002) or FMA referral (escalated_to_fma, fma_ref); any inadvertent identity exposure sets confidentiality_breached = 1 and triggers a mandatory review.
case_status: received → acknowledged → assessing → investigating → closed_substantiated | closed_unsubstantiated | referred_to_authority.
- Gate: case detail visible only to
assigned_investigator_id; reassignment requires Head of Internal Audit approval and is audit-logged.
- Gate: anonymity is structural — the UI never prompts for reporter identity; pseudonym is the only correlation key.
- SLA timers with reg basis: 7-day acknowledgement, 3-month feedback (Directive 2019/1937 Art. 9).
whistleblower_report.channel CHECK: ('internal_web','internal_phone','internal_post','external_authority','direct_to_fma').
report_category CHECK: ('aml_cft','fraud','market_abuse','sanctions_breach','data_protection','regulatory_breach','financial_misconduct','other').
case_status CHECK: ('received','acknowledged','assessing','investigating','closed_substantiated','closed_unsubstantiated','referred_to_authority').
- UI rule from schema comments:
acknowledgement_sent_date ≤ receipt_date + 7 days; follow_up_date ≤ receipt_date + 3 months — breaches flag the case red.
Purpose: Oversee annual conduct attestations, conflicts of interest, gifts & entertainment, personal account dealing, plus fit-and-proper (approved persons) and key-function succession.
Personas: CCO (owner), compliance officers, Senior Management, Board (approved persons, succession).
- Attestations: agent generates the annual campaign (one row per staff ×
attestation_type), tracks attestation_due_date and overdue; declared exceptions route to CCO (exception_reviewed_by, exception_cleared).
- COI: agent drafts the case with
conflict_category; CCO selects the management_measure (NOT NULL — a case cannot exist unmanaged) and, where required, client disclosure (disclosure_made_to_client, disclosure_method).
- G&E: agent computes
value_chf vs firm_threshold_chf (default 150.0) and the rolling-12-month cumulative; exceeds_threshold = 1 or cumulative_exceeds_policy = 1 requires a CCO compliance_decision.
- PAD: staff request pre-clearance; agent runs
restricted_list_checked, inside_information_check, conflict_of_interest_check; CCO disposes pre_clearance_decision; post-trade, holding_period_breach (min 30 days) triggers compliance_action_taken.
- Fit-and-proper: agent assembles the CRD Art. 91 criteria flags (knowledge/reputation/conflicts/time commitment, directorship count vs Art. 91(3) limit); Board appoints; FMA approval tracked (
fma_approval_status).
- Succession: agent flags
single_point_of_failure = 1 or key_person_risk_rating in (high,critical) for Board review (board_reviewed).
conflict_of_interest.status: open → managed → resolved (or escalated); material conflicts auto-set escalated_to_cco.
approved_person_register.fma_approval_status: pending → approved | conditionally_approved | rejected | withdrawn; appointment effective only at approved.
- Gate: PAD pre-clearance decisions and G&E decisions are CCO/compliance only; staff cannot self-approve (the requesting
staff_ref is excluded from the approver pool).
- Gate: succession plans and approved-person appointments require Board action; interim appointments may need FMA approval (
interim_appointment_requires_fma_approval).
conduct_attestation.attestation_type CHECK: 10 values incl. ('code_of_conduct','personal_account_dealing_declaration','conflicts_of_interest_declaration','gift_and_hospitality_policy','market_abuse_awareness'); UNIQUE (legal_entity_id, staff_ref, attestation_year, attestation_type).
conflict_of_interest.management_measure CHECK (NOT NULL): ('decline_activity','information_barrier','disclosure_to_client','independent_oversight','recusal','policy_restriction','accepted_minor').
gift_entertainment_record.compliance_decision CHECK: ('approved','approved_with_conditions','declined_return_required','declined_donated_to_charity','not_reviewed_below_threshold'); estimated_value and value_chf NOT NULL.
personal_account_dealing.pre_clearance_decision CHECK: ('approved','approved_with_conditions','rejected','not_required'); holding_period_min_days default 30.
approved_person_register.function_category CHECK: ('management_body_management','management_body_supervisory','senior_management','key_function_holder','other_material_risk_taker').
succession_plan.key_person_risk_rating CHECK: ('low','medium','high','critical'); UNIQUE (legal_entity_id, function_category) — one plan per key function.
Purpose: Single deadline view for all regulatory obligations — STR filing, DORA incident clocks, ICAAP submission, KYC reviews, finding remediation — plus governance meeting and new-product approval schedules.
Personas: CCO (owner), CRO, Head of Internal Audit, Senior Management.
- Agent auto-creates calendar entries from source records (STR 5-day filing, DSR 30-day, DORA incident 4h/72h/1m via SCR-ICT-001, ICAAP 31 Oct, audit-finding remediation due dates) with
reminder_days_before JSON defaults [1,3,7].
- Escalation: entries past
due_date flip to overdue (overdue_since); the assigned agent escalates to the owning human; waivers (status = 'waived') require CCO rationale in notes and are audit-logged.
- Governance meetings: agent assembles agenda packs from pending approvals (ICAAP, limits, plans) and drafts minutes; quorum check (
quorum_met); minutes approved at next meeting (approved_at_next_meeting, approval_date) then signed.
- NPA: agent tracks the sign-off lattice (compliance/risk/legal/tax/operations reviews, stress test per ESMA GL 2023/22 §4.2); committee → CEO → Board approvals where required;
post_launch_review_due auto-creates a future calendar entry (ESMA GL §4.4).
compliance_calendar.status: open → in_progress → completed | overdue | waived.
governance_meeting_minutes.status: draft → approved → signed; signing requires chair (chair_ref).
new_product_approval.status: draft → under_review → conditionally_approved | approved → launched (or withdrawn); launch blocked until all required sign-offs are 1 and, where flagged, board_approval = 1.
- Gate: waiving a deadline is CCO-only with documented rationale; deadline types tied to statutory clocks (
str_filing, dora_incident_*, breach_notification) cannot be waived, only completed.
compliance_calendar.deadline_type CHECK includes ('str_filing','dsr_response','breach_notification','icaap_submission','dora_incident_initial','dora_incident_intermediate','dora_incident_final','audit_finding_remediation','fma_response', …); status CHECK: ('open','in_progress','completed','overdue','waived'); due_date NOT NULL.
governance_meeting_minutes.committee_type CHECK: ('board','audit_committee','risk_committee','alco','credit_committee','remuneration_committee','management_board','compliance_committee','product_committee','it_steering'); quorum_required, attendees, agenda_items NOT NULL; UNIQUE (legal_entity_id, committee_type, meeting_date).
new_product_approval.product_type CHECK: 10 values incl. ('structured_product','fund','mandate_strategy','derivative','crypto_asset'); stress_test_outcome CHECK: ('pass','pass_with_conditions','fail'); status CHECK: ('draft','under_review','conditionally_approved','approved','launched','withdrawn').
- Internal audit independence: Head of Internal Audit and agent:aib-audit are read-only on all operational data (Agent Register tier "Read-only (independent)"); management roles cannot edit
audit_finding severity or closure; audit screens (001-003) report functionally to the Audit Committee, not the CEO line.
- Whistleblower anonymity: SCR-AUD-004 case detail restricted to the assigned investigator; oversight roles see metrics only; every access is audit-logged; no identity fields exist in the record (pseudonym only).
- Conduct SoD: PAD/G&E approvers are compliance roles excluded when they are the declaring
staff_ref; COI cases involving the CCO escalate to the Board.
- agent:aib-compliance: propose/query tier — drafts and timers only; all dispositions human.
audit_log: strictly append-only — C by system only, R for authorized roles, no U, no D ever; 10-year retention.
- Processes: PROC-010 (DORA incident deadlines feeding SCR-AUD-006), PROC-002 (AML investigation → STR filing deadlines)
- Service APIs: aib-audit-service-api.md, aib-compliance-service-api.md, aib-reporting-service-api.md
- Governance: aib-agent-register.md, aib-governance-charter.md, aib-raci-matrix.md, aib-escalation-sop.md
- Data ownership: aib-data-ownership-matrix.md