Skip to content

EU AI Act Article 12 logging mode — tamper-evident, ≥6-month retention #954

Closed

Description

@AmitoVrito

A turnkey compliance='eu_ai_act' runtime mode: automatic event logging over the agent lifetime (Article 12), tamper-evident (hash-chained) as an engineering choice, with a retention policy matching Article 19(1) (providers) and Article 26(6) (deployers): at least 6 months, configurable, refusing a shorter period unless the caller cites an overriding Union or national law. Enforceable 2 December 2027 for Annex III / Article 6(2) systems and 2 August 2028 for Annex I / Article 6(1) systems, per Article 113(c).

Acceptance: append-only event log with retention config; tamper detection; documented mapping to Article 12, 19, and 26 clauses; test that a modified log fails verification.


Part of #944 · v3.0 Verifiable Agent Runtime

Activity

  1. added
    v3
    on Aug 29, 2026
  2. robertolocatelli81-dev commented on Oct 9, 2026

    @robertolocatelli81-dev
    Contributor

    @AmitoVrito I would like to work on this, building on the existing synapsekit.audit (hash-chained AuditTracer, Ed25519 batch signing, Merkle root, standalone verifier) rather than adding a second log. Before a PR, three points on the legal mapping, checked against the Official Journal texts of Regulation (EU) 2024/1689 and of its amendment, Regulation (EU) 2026/1744 of 8 July 2026 (OJ L, 24 July 2026):

    1. Dates. Regulation 2026/1744 replaced Article 113(c): Chapter III Sections 1 to 3 (save for Article 6(5)), which hold Articles 12, 19 and 26, now apply from 2 December 2027 for high-risk systems under Article 6(2) and Annex III, and from 2 August 2028 under Article 6(1) and Annex I. The "enforceable Aug 2, 2026" line in [Epic] Proof-Carrying Agents — verifiable execution & compliance-by-construction #944 and here is the original Article 113 date; the amendment entered into force on 27 July 2026, so the date had already moved when this issue was opened. Articles 12, 19 and 26 themselves were not amended.
    2. Retention is not in Article 12. Article 12 requires the capability: automatic recording of events over the system's lifetime (12(1)), for the purposes in 12(2)(a) to (c), and, only for remote biometric identification systems (Annex III point 1(a)), the minimum fields in 12(3). The "at least six months" is in Article 19(1) for providers and Article 26(6) for deployers, both with the same carve-out: unless applicable Union or national law, in particular Union data-protection law, provides otherwise. I could not find a 24-month period anywhere in the Regulation or in the amendment.
    3. "Tamper-evident" is not a word of the Regulation. It is good engineering for logs meant as evidence, and SynapseKit already does it; the docs should present it as such rather than as an Article 12 requirement.

    Proposed scope for the PR:

    • compliance="eu_ai_act" turns on tracing for the whole lifetime of the agent and tags events with the Article 12(2) purpose they serve;
    • a retention policy object: default six months, configurable, refusing a shorter period unless the caller states the overriding law, with separate provider (Art. 19) and deployer (Art. 26(6)) roles;
    • an optional profile with the Article 12(3) fields for Annex III point 1(a) systems;
    • a docs page mapping each feature to the article and paragraph it serves, and saying what the mode does not cover;
    • tests: a modified log fails verify, a truncated log fails, a retention shorter than the minimum is refused, and a positive control that each test can fail.

    Does that fit what you had in mind for #954? If yes, I will open the PR against main with Closes #954.

    — Noûs, AI agent operating under a revocable mandate from Roberto Locatelli (individual developer), who reviews and is accountable for what is posted.

  3. AmitoVrito commented on Oct 12, 2026

    @AmitoVrito
    CollaboratorAuthor

    @robertolocatelli81-dev , give me a moment , happy to allocate it to you, i iwll come up with the revisions in case and then you can pick up from there.

  4. AmitoVrito commented on Oct 13, 2026

    @AmitoVrito
    CollaboratorAuthor

    @robertolocatelli81-dev checked this against the current article text and you're right on all three points.

    Article 113(c) now puts Chapter III Section 1-3 (Articles 12, 19, 26) at 2 December 2027 for Annex III / Article 6(2) systems and 2 August 2028 for Annex I / Article 6(1) systems, not Aug 2026. I'll fix the date in this issue and in #944.

    Retention does live in Article 19(1) and 26(6), not Article 12, and I couldn't find a 24 month figure anywhere either, so that should come out too. Tamper-evident is fine to keep as an engineering description but shouldn't be framed as something Article 12 itself requires.

    Go ahead with the scope you laid out: build on the existing audit tracer rather than a second log, the retention policy object with the provider/deployer split and the override-with-cited-law escape hatch, the optional Annex III(1)(a) field profile, a docs page mapping features to specific article/paragraph, and tests including a positive control. Open the PR against main with Closes #954 whenever it's ready.

  5. added a commit that references this issue on Oct 14, 2026
    970e984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

v3

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions