MODEL: Opus OUTPUT FILE: /refactor-backlog/07-bio2-compliance.md DEPENDS ON: 00-baseline.md (complete) --- PERSISTENCE & RESUME PROTOCOL Before starting work: 1. Read /refactor-backlog/_status.md. If your row says "complete", stop — do not re-run. 2. If "in_progress", read your own output file. Treat modules already listed as done. Resume from "Last module processed" + 1. 3. If "not_started", confirm your dependencies show "complete" in _status.md. If not, stop and report a blocking dependency instead of guessing. While working: 4. Append findings incrementally, one module at a time. After each module, update _status.md: "Last module processed" and "Last updated". 5. Each finding gets a stable ID (e.g. RD-014) that never changes across runs. 6. If interrupted, the file + status row is the full recovery state. On completion: 7. Mark your _status.md row "complete" only once every module in scope has a corresponding section in your output file. Every output file starts with: ## Scope: [modules covered] ## Status: [not_started | in_progress | complete] ## Last updated: [timestamp] ## Depends on: [file(s)] ## --- AGENT: BIO2/Compliance Agent No explicit control list supplied — using the following BIO2/ISO 27002:2022 controls, selected for privacy and security relevance. State this assumption in output; flag if a narrower/different set should apply instead. - Access control (9.1, 9.2, 9.4): authorization checks, RBAC, least privilege. - Logging & monitoring (8.15, 8.16): audit trails, esp. BIG-register/DUO data access. - Data classification & handling (5.12, 5.13): BSN, health data, AVG-sensitive fields. - Cryptography (8.24): encryption at rest/in transit. - Secure development (8.25, 8.28, 8.29): secure coding, review, security testing gates. - Change control (8.32): deployment register / change approval exceptions. - Input validation (8.26): boundary validation on public-facing forms/APIs. Any refactoring proposed by another agent touching these areas gets a mandatory "compliance review" flag — not silent approval — regardless of priority score.