Agent Wranglers

Compliance and governance playbook

Rules for meeting and proving a software company's duties under privacy, AI, security, accessibility and platform law, written as data and checks.

  • Required 35
  • Recommended 56

A compliance playbook for software companies and the apps they run. It covers the duties a company must meet and be able to prove. That means records of processing, processors, transfers, breach reporting, whistleblowing channels, audit logs, access reviews and security controls. It also covers the EU AI Act and sanctions screening. A chapter on security laws covers NIS2, DORA and the Cyber Resilience Act. Another covers the Data Act, product liability, the European Accessibility Act and the digital identity wallet. A chapter shows how US privacy and AI laws differ from the GDPR. The last chapter covers the Digital Services Act for online platforms, including ads and the protection of minors. A regulatory calendar lists the deadlines from 2026 to 2030, and the proposals to watch.

Most rules hold for every project. Rules from the law of one place carry a region, such as EU, SE for Sweden, UK, CH for Switzerland or a US state. This playbook is not legal advice. It turns common legal duties into registers, jobs and checks that engineers can run. A lawyer still decides which laws apply to you and what they mean for your case. Every date and article here was checked against the official texts in October 2026.

Each rule keeps its facts as data next to the code, such as a YAML file. A check fails when the data and the system disagree. Auditors then get evidence from the same runs that keep the system working. The privacy chapter of the website playbook covers consent, the privacy policy and data requests. The personal data chapter of the data playbook covers columns, deletion and masking. This playbook links to both and does not repeat them.

Start with Scope and ownership. It decides which laws apply, so you know which of the later chapters you need.

Chapters

  1. Scope and ownership

    Decide which laws and standards apply from recorded facts, give every duty one owner, and keep every legal date in one calendar that warns you.

    • Required 4
    • Recommended 7
  2. Records and data map

    Keep the data map and the GDPR record of processing as data next to the code. Check them against the system and screen new features for a DPIA.

    • Required 4
    • Recommended 6
  3. Processors and transfers

    List every vendor that touches your data with its contract, region and transfer basis, publish your subprocessors, and check AI providers' terms on training.

    • Required 3
    • Recommended 6
  4. Breaches and reporting

    Plan for breaches, start every reporting clock from one recorded moment, log each breach with its decision and run a whistleblowing channel.

    • Required 2
    • Recommended 5
  5. Audit logs and access

    Record who did what in a log nobody can change, and keep it for a set time. Prove every quarter that only the right people have access.

    • Required 1
    • Recommended 5
  6. Controls and evidence

    Turn each policy into controls with an owner and an automated check. Map them to SOC 2 or ISO 27001 and collect dated evidence from CI and the cloud.

    • Recommended 7
  7. AI Act

    Register every AI feature with your role and its risk class under the EU AI Act. Rule out banned uses and track the dates that apply to you.

    • Required 4
    • Recommended 5
  8. Security laws

    Decide whether NIS2, DORA and the Cyber Resilience Act reach you. Register where the law asks, map the measures to controls, and report on time.

    • Required 3
    • Recommended 7
  9. Product and data laws

    Meet the laws on what you sell. That covers the Accessibility Act, the Data Act for cloud and connected products, product liability and digital identity.

    • Required 3
    • Recommended 2
  10. US privacy and AI laws

    US state privacy laws differ from the GDPR in scope, sales, sensitive data and deadlines. Federal health and state AI rules add more. Keep them as data.

    • Required 5
    • Recommended 4
  11. Online platforms

    Decide which Digital Services Act duties fit your service. Take notices about illegal content, explain every removal and handle appeals.

    • Required 6
    • Recommended 2

Evidence

Rules from regional law

Most rules here hold for every project. The rules below come from the law of one region. Follow them when your project serves people there.

European Union (EU)

United Kingdom (UK)

United States (US)

Switzerland (CH)

Sweden (SE)

California (US-CA)

All 91 rules on one page

This is a lot to check. An Expert can check it for you.

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/compliance">Agent Wranglers compliance and governance playbook</a>. In code you write, add a comment next to it with the same link.