Sub topic 3
Record-keeping and automatic logging in practice
This chapter assumes you can write hash-chained audit events, read Python, and understand the ML lifecycle from training to monitoring. It applies those controls to the EU AI Act (Regulation (EU) 2024/1689).
Automatic logging under Article 12
High-risk systems must record events automatically over their lifetime. The logs must help identify risk situations, support post-market monitoring, and support operational monitoring. Providers keep logs for at least six months under Article 19, and deployers do the same under Article 26.
Technical documentation and transparency
Article 11 and Annex IV require technical documentation before a high-risk system is placed on the market, and you must keep it current. Article 13 requires instructions for use that tell deployers the intended purpose, accuracy levels, known risks, and what logs they can read.
Designing for human oversight
Article 14 requires that people can understand outputs, notice automation bias, and override or stop the system. In practice, show the reviewer the score and its main inputs, and record each human decision as an audit event.
Quality management and conformity assessment
Article 17 requires a documented quality management system (QMS) covering design, data management, testing, monitoring, and incident handling. Article 43 requires a conformity assessment before market placement. Depending on the system, this is an internal check or a notified body review.
General-purpose AI model obligations
Providers of general-purpose AI models (Article 53) keep technical documentation, give information to downstream providers, publish a summary of training content, and follow a copyright policy. Models with systemic risk (Article 55) also need adversarial testing and incident reporting.
Post-market monitoring and incident reporting
Article 72 requires a post-market monitoring plan that uses data from deployers. Article 73 requires reporting serious incidents to market surveillance authorities. The deadline is generally 15 days after you become aware of the incident, and shorter for some severe cases.
Mapping your controls to the Act and finding gaps
Build a table that links each obligation to the evidence your pipeline produces. Then ask what is missing.
| Obligation | Article | Evidence from engineering | Gap check |
|---|---|---|---|
| Automatic logging | Art. 12, 19 | Hash-chained audit events with model version and timestamp | Are logs kept for at least six months? |
| Technical documentation | Art. 11, Annex IV | Release record with lineage and evaluation report | Is it updated after each change? |
| Human oversight | Art. 14 | Reviewer decision events | Can the reviewer override the output? |
| QMS | Art. 17 | Written procedures and approval workflow | Are procedures reviewed on a schedule? |
| Post-market monitoring | Art. 72 | Drift and error dashboards | Does someone own the review? |
| Incident reporting | Art. 73 | Incident log with timestamps | Can you meet the reporting deadline? |
Exercise
A reviewer cannot override a model's score in your system. Which obligation does this most directly violate, and what engineering change fixes it?
Show answer
It violates human oversight under Article 14. Add an override path that records the reviewer's decision as an audit event, and allow the reviewer to stop or reverse the output.