Three rings, one platform
CyberOS is built in Vietnam, sold globally, and processes both employee and (eventually) client data. The compliance posture therefore satisfies three concentric rings: (1) Vietnamese law for the entity that owns the platform, (2) cross-border requirements for clients in Singapore, the EU, and the US, (3) sectoral standards (ISO/SOC/CSA/AI-CAIQ) that procurement teams at mid-market clients require before signing. Each ring lights up gate-by-gate as the platform crosses phase boundaries.
- Ring 1 - Vietnam home regime (cornerstone, every deployment). Every CyberOS deployment respects PDPL Law 91/2025 + Decree 356, Decree 13/2023 (personal data), Decree 53/2022 (cybersecurity), PDPL Art. 38 (SME grace), and the NQ 142/2024 + TT 80/2021 tax framework. Non-negotiable.
- Ring 2 - cross-border (where customers are). GDPR for EU-resident clients, EU AI Act Annex III section 4 because REW + LEARN are high-risk-adjacent, Singapore PDPA because of the HoldCo flip at P3.
- Ring 3 - international standards (what buyers ask for). ISO/IEC 27001:2022, SOC 2 (Type I -> Type II), ISO 42001 AIMS, ISO 27701 PIMS, CSA STAR L1 -> L2, AI-CAIQ. The procurement checklist gets shorter with each cert.
Gate-by-gate, the deliverables light up as follows:
| Gate | Deliverables |
|---|---|
| P0 exit | A05 DPIA filed; DPO designated; Trust Center live; Stripe SAQ-A AOC; VPAT 2.5 INT |
| P1 exit | SOC 2 Type I + CSA STAR L1 + AI-CAIQ |
| P2 exit | ISO 27001:2022 Stage 1; SOC 2 Type II + CSA STAR L2; EU AI Act Annex III section 4 conformity pack (REW + LEARN) |
| P3 exit | ISO 42001 (AIMS) certified; ISO 27701 (PIMS) if EU/UK push |
| P3+ | Singapore HoldCo flip (if ARR >= $1.5M); GDPR posture (eu-shard residency) |
| P4 | External Authorised Reps (EU/UK) |
| Ongoing | DSAR APIs + 30-day SLA |
Ring 1 - Vietnam home regime
Vietnamese law is the cornerstone. CyberSkill JSC is a Vietnam-incorporated entity processing Vietnamese-citizen personal data. Every architectural decision - RLS-by-default, per-tenant region pinning, Merkle-chained audit, A05 filings, mandatory DPO - exists to satisfy Vietnam first. The internal Compliance Strategy spec documents the obligations; this section traces each regulation to a CyberOS module and task.
Decree 13/2023/NĐ-CP - Personal Data Protection
In force since 2023-07-01.
Vietnam's first comprehensive personal data protection regime. Introduces "sensitive personal data" (health, biometric, financial, criminal-record, ethnic, religious, sexual-orientation), requires a Data Protection Impact Assessment (DPIA) for any processing of sensitive data, mandates data subject consent for cross-border transfer, and establishes a notification regime to the Ministry of Public Security (MoPS / A05) for breaches and cross-border transfer of Vietnamese-citizen data.
Key obligations
- Lawful basis required for every processing activity
- Sensitive-data DPIA before processing (Article 24)
- Cross-border transfer impact assessment (PDPL Art. 20 - submit one original copy to A05 within 60 days of the first transfer; Decree 13's 15-day pre-form regime is superseded)
- Breach notification to MoPS within 72 h (PDPL adds: data-subject notification required for biometric or financial-service incidents)
- Data Subject Access Request (DSAR) within 30 days
- DPO designation (PDPL Art. 38 grace period for SMEs at <10 employees / <VND 10B revenue; CyberSkill JSC qualifies through P1)
- Outright ban on personal-data sale (PDPL Art. 7) - applies to every CRM, PORTAL, and outbound surface
Penalties
- Administrative fines up to VND 100M (~$4,000) per violation
- Compounded by the Law 91/2025 fine schedule
- Service suspension orders for repeat violations
- Criminal liability under Penal Code section 288 for major incidents
CyberOS response (locked in section 8)
- vn-shard Postgres with RLS for all Vietnamese-origin PD; Singapore region default, Vietnam-resident shard available from P2.
- DPIA template as a KB artifact; the DPO (Founder until P3) signs before any new data category is ingested.
- A05 cross-border-transfer impact assessment in the Compliance subgraph; the PDPL Art. 20 60-day post-audit submission is auto-generated; one original copy per transfer activity.
- Sensitive-tagged facts in memory Layer 2 are encrypted-at-rest with per-tenant KMS; never written to Layer 3 without explicit consent.
- The memory ingestion denylist (DEC-036) structurally excludes compensation, equity, government IDs, bank accounts, and health data.
Decree 53/2022/NĐ-CP - Cybersecurity Law implementing decree
In force since 2022-10-01.
Obliges in-scope services - those that store user data of Vietnamese citizens for at least the P0 -> P4 horizon - to maintain data on Vietnamese soil and maintain an in-country office. CyberOS, while sold to a Vietnamese entity, is unlikely to qualify as in-scope until the platform processes data for Vietnamese client end-users (P4 PORTAL).
Trigger criteria (in-scope test)
- Collects Vietnamese-citizen personal info
- Stores that data for at least the P0 -> P4 horizon
- Offers services to >= 100k Vietnamese users, or revenue >= VND 100B
- Receives a data-localisation order from MoPS
CyberOS response
- Employee data on Vietnamese soil from P2 onward (DEC-027)
- PORTAL designed so a VN-client-facing tenant defaults to vn-shard residency
- Vietnam office maintained - CyberSkill JSC HCMC HQ
- Annual review with VN counsel at every phase gate
PDPL Art. 38 - SME grace period
In force 2026-01-01 (PDPL Law 91/2025).
Law 91/2025/QH15 Article 38 ("Quy định chuyển tiếp cho doanh nghiệp nhỏ và vừa") provides a transitional regime for small and medium-sized enterprises that defers certain obligations - most notably the formal DPO appointment and the dedicated DPIA team requirement - until the entity crosses the SME threshold (10 employees / VND 10B revenue / processing > 100,000 data subjects). CyberSkill JSC currently qualifies as a micro-enterprise under this article.
DEC-053 (rev. 2026-05-15): CyberSkill JSC operates under the PDPL Art. 38 grace-period regime in P0-P1 (Founder serves as DPO; informal DPIA). At P2 entry, CyberSkill graduates pre-emptively to the full PDPL regime - formal DPO appointment, registered processing activities, formal DPIA - regardless of whether the SME threshold has been crossed. Hiring a formal DPO at P0 is a $50-80k/year cost the regulator does not require for an entity at this stage.
- P0-P1 (P0 start to P1 exit): Art. 38 grace period; Founder serves as DPO; DPIA informal but maintained.
- P2 (P2 start): graduate pre-emptively; appoint a formal DPO; run a formal DPIA; register processing activities with MoPS A05.
- Compliance module (CP): tracks the Art. 38 grace-period flag per tenant; one-click graduation UX for tenants who buy CyberOS.
Law 91/2025/QH15 + Decree 356/2025 - PDPL elevation
In force 2026-01-01.
Vietnam's Personal Data Protection Law (PDPL) - Law 91/2025 - elevates Decree 13's decree-level obligations into national law with significantly higher penalties. Decree 356/2025 is the implementing decree, locking the DPO requirement, mandatory A05 filings, and the breach-notification 72-hour clock.
What the PDPL adds vs Decree 13
- Fine ceiling raised to 5% of preceding-year revenue
- DPO becomes a national-law requirement (not just decree-level)
- Cross-border-transfer impact assessment formalised
- Civil right of action by data subjects
- "Right to explanation" for automated decisions (parallels the EU AI Act)
CyberOS response
- DEC-055: every CUO output that touches a person ships with a "Why this?" affordance (persona version + memory citations) - implements right-to-explanation by design
- The CP module's Compliance Cockpit shows live PDPL conformance per tenant
- Per-tenant DPIA template auto-pre-fills with subgraph-declared data categories
- Breach notification timer wired to the OBS module
NQ 142/2024 + TT 80/2021 - VAT and e-invoice framework
In force 2022; amended 2024.
Mandatory e-invoice issuance, monthly VAT declaration, MST (tax code) validation on every invoice line. CyberOS handles this via the INV module (P2) and the vietnam-mst-validate + vietnam-vat-invoice skills (shipped). vietnam-tax-filing for the monthly VAT return is planned (not yet in the 5-skill public collection).
- e-invoice format: XML (Decree 123/2020), uploaded to GDT (General Department of Taxation) via a T-VAN provider.
- MST validation: 10-digit (entity) or 13-digit (branch); checksum via the Modulus-11 algorithm; live GDT API lookup.
- VAT rates: 0% (export), 5% (essentials), 8% (NQ 142/2024 stimulus, expires periodically), 10% (default).
- Monthly filing: by the 20th of the following month via the
vietnam-tax-filingskill (planned). - Retention: 10 years (Law on Accounting Article 41).
Vietnam traceability - regulations to CyberOS modules and tasks
| Regulation | Obligation | CyberOS module | task / DEC | Phase |
|---|---|---|---|---|
| Decree 13/2023 Art. 24 | DPIA before sensitive-data processing | CP (Compliance) | (task pending) - DEC-053 | P0 |
| Decree 13/2023 Art. 14 | DSAR within 30 days | CP + AUTH | (task pending) | P1 |
| Decree 13/2023 Art. 28 | Cross-border-transfer A05 notification | CP | (task pending) | P0 |
| Decree 13/2023 Art. 23 | 72-hour breach notification | OBS + CP | (task pending) | P0 |
| Decree 53/2022 Art. 26 | Data localisation for in-scope services | (Infra) - per-tenant region pinning | DEC-009, DEC-027 | P2 |
| PDPL Art. 38 | SME grace-period tracking + graduation | CP | DEC-053 (rev. 2026-05-15) | P0 |
| Law 91/2025 + Decree 356 | National-law DPO, fines 5% revenue | CP, HR (DPO role) | (task pending) | P2 |
| Law 91/2025 right-to-explanation | CUO output explainability | AI + CUO | DEC-055 | P0 |
| Penal Code section 288 | Criminal liability prevention | (Infra) - audit chain | N(task pending) | P0 |
| Law on Accounting Art. 41 | 10-year retention | INV + memory archival | DEC-020 | P2 |
| NQ 142/2024 + TT 80/2021 | e-invoice, MST, monthly VAT filing | INV + Skill (3 VN skills) | (task pending)..050 | P2 |
| Labour Code 2019 | SI/PIT remittance, payslip retention | REW | (task pending)..080 | P1 |
Ring 2 - Cross-border
Cross-border obligations are triggered by where the data subject is, not where CyberSkill is incorporated. CyberOS does not actively process EU data subjects in P0-P2 (all employees are Vietnamese, most clients are SEA), but P3 multi-tenant readiness opens the door. Three regimes matter: GDPR for EU residents, the EU AI Act for HR/REW/LEARN flows that touch employment-decision territory, and Singapore PDPA for the HoldCo flip strategy.
GDPR (Regulation EU 2016/679)
In force since 2018-05-25.
Triggered when CyberOS processes EU-resident personal data - P3 onward via the eu-shard. The multi-tenant architecture already supports per-tenant region pinning to eu-central-1 with Bedrock EU endpoints.
Obligations
- Lawful basis tracking (Art. 6 + 9)
- DSAR within 1 month (Art. 12 + 15)
- Right to erasure with downstream propagation (Art. 17)
- 72-hour breach notification to the DPA (Art. 33)
- DPIA for high-risk processing (Art. 35)
- DPA contract template for every customer
- EU/UK Authorised Reps when no EU establishment (Art. 27)
CyberOS posture
- eu-shard via AWS Frankfurt at P3
- DSAR surface via the CP module
- Right-to-erasure propagates: memory UPDATE -> DELETE through Layer 2, timestamped tombstone in Layer 3
- 72-h breach timer wired to OBS
- DPA template auto-attached to every tenant contract
Penalty: up to EUR 20M or 4% of global turnover, whichever is higher.
EU AI Act (Regulation EU 2024/1689) - Annex III section 4 focus
In force 2025-08-01; obligations from 2026-08-02.
Tiers AI systems into four risk categories: prohibited, high-risk, limited-risk, minimal-risk. CUO's default classification across CyberOS modules is limited-risk (Article 50 transparency only - disclose AI interaction). Two specific module integrations are high-risk-adjacent and need explicit boundary work.
DEC-054 locked decision: no CyberOS AI feature, in any module, in any phase, produces a number or grade that ranks, scores, or classifies a person without a human-in-the-loop review on the same surface. Drafts and summaries are permitted; rankings and scores about people are forbidden.
Annex III section 4 - employment-decision high-risk
Annex III section 4 covers "AI systems intended to be used for the recruitment or selection of natural persons, in particular for placing targeted job advertisements, screening or filtering applications, evaluating candidates" - and "evaluating performance, work behaviour or personal traits."
| Module | High-risk-adjacent flow | CyberOS mitigation |
|---|---|---|
| HR | Offer-letter drafting, 1:1 prep, onboarding checklists | Drafts only; the human writes the decision; CUO never assigns a score |
| REW | Payslip narrative explainer, anomaly surfacing | Read-only narrative; "payslip_explain" tool annotated read-only; compute path is deterministic SQL, not LLM |
| LEARN | Career-path next-step suggestion, Hội đồng peer-review summariser | Outcomes-only summaries; no individual scoring; Hội đồng (human council) issues the decision |
| PROJ | Cycle-review draft generation, blocker detection | Drafts/anomalies only; the human owner produces the final evaluation |
| RES | Capacity-vs-forecast rebalancing suggestion | Suggestion only; Question mode; Engineering Lead accepts/rejects |
Article 50 transparency: every AI-touched UI surface carries a small persistent badge (model, persona version, intervention mode) - Notify = ochre, Question = umber, Review = bronze (see the design system). This satisfies the transparency obligation by visible design, not buried disclosure.
Penalty: EUR 35M or 7% of global turnover (prohibited practices); EUR 15M or 3% (high-risk non-compliance).
Singapore PDPA and the HoldCo flip
PDPA in force since 2014; amended 2020/2021.
Singapore's PDPA is similar in structure to GDPR but more permissive on cross-border transfer (no "adequacy-equivalent" regime required). The strategic value of Singapore is the HoldCo flip: at P3 (month 10-12), if ARR >= $1.5M, CyberSkill incorporates a Singapore parent (a private limited "Pte Ltd") and the Vietnamese entity becomes a wholly-owned subsidiary.
Why flip
- Easier fundraising (USD-denominated, well-known to global VCs)
- IP holding company -> cleaner exits
- Dividend flexibility
- Talent equity (ESOP without Vietnamese SP-tax friction)
- SOX/PCAOB pathway if US-listed later
Technical posture supporting the flip
- Singapore-region default for shared infrastructure (ap-southeast-1)
- Every data-model entity tagged with a
legal_entity_ownerfield - Post-flip migration is a tag flip + CRDT-style audit record, not data movement
- IP licences maintained inside the company; the JSC -> Pte Ltd assignment is a one-page doc
Ring 3 - International standards
Procurement teams at mid-market clients require these certs before signing. The compliance ladder is locked in DEC-011: SOC 2 -> ISO 27001 -> ISO 42001, with CSA STAR and AI-CAIQ layered alongside. Each standard adds a phase-gated effort; the architectural choices already satisfy the controls themselves - the work is documentation + audit.
ISO/IEC 27001:2022 - Information security management
Target: Stage 1 at P3, full certification at P4.
The 93 Annex A controls in the 2022 revision are largely satisfied by: encryption at rest (A.10.1), key management (A.10.2), access control by least privilege (A.9.1-A.9.4), change management (A.12.1), logging and monitoring (A.12.4), incident management (A.16.1), supplier relationships (A.15.1). The gap-list to certification readiness is documented in the OBS module.
- Timeline: Stage 1 audit at P3 exit, full certification at P4 mid
- Scope: CyberOS platform + CyberSkill JSC organisation
- Auditor: shortlist Schellman, A-LIGN, KPMG VN
- Key controls already satisfied: RLS (A.9), mTLS in cluster + HTTPS external (A.13), Merkle-chained audit (A.12.4), tenant KMS (A.10.2)
SOC 2 Type I -> Type II
Target: Type I at P1, Type II at P2.
Trust Service Criteria (TSC) covered: Security (mandatory), Availability, Confidentiality. Privacy and Processing Integrity are added when client demand justifies them.
- Type I (point-in-time): at P1 exit - "controls are designed effectively"
- Type II (operating window): at P2 exit - six-month minimum observation window starting at month 4
- Reusable for sub-processor disclosure: CyberOS publishes a SOC 3 (Type II public summary) at the Trust Center
ISO/IEC 42001:2023 - AI management system (AIMS)
Target: P3 exit.
The world's first AI management system standard. Covers AI risk assessment, lifecycle governance, transparency obligations, third-party AI integration controls. Pairs neatly with the EU AI Act Annex III section 4 work - the conformity pack done at P2 for REW + LEARN feeds directly into ISO 42001 evidence.
- AI Impact Assessment (AIIA) for every CUO skill
- Model registry with persona-version stamps (already in the CUO module)
- Continuous monitoring of AI behaviour drift (OBS + LangSmith)
- Third-party AI clauses in Bedrock + Anthropic + OpenAI contracts
ISO/IEC 27701:2019 - Privacy information management (PIMS)
Target: P3 (if EU/UK push).
Extension to ISO 27001 specifically for privacy. Useful for EU/UK consultancies pushing for one-stop GDPR + PDPA evidence. Optional at P3 - pursued only if customer demand justifies.
CSA STAR L1 -> L2 (Cloud Security Alliance)
Target: L1 at P1, L2 at P2.
CSA's Security, Trust, Assurance, Risk (STAR) program. Level 1 = self-assessment (CAIQ questionnaire) - cheap, fast, opens many doors. Level 2 = third-party audit - required by enterprise buyers.
- L1 self-assessment (CAIQ v4.0.3): ~290 questions across 17 control families. Done at P1 exit via the Trust Center.
- L2 third-party attestation: auditor-validated CAIQ. Done at P2 exit when the SOC 2 Type II auditor is engaged.
AI-CAIQ - "Valid-AI-ted" extension
Target: P1 exit.
CSA's AI-extended CAIQ - adds AI-specific control questions (training data provenance, model bias monitoring, prompt safety, persona versioning). Completed alongside L1. The persona-version stamp (DEC-035), model registry, and memory ingestion denylist (DEC-036) cover most of the AI-CAIQ surface by construction.
Compliance gates per phase
Each phase exit ships a discrete bundle of compliance deliverables (see the internal spec, section 11.1). Without these, the phase is not "exited" - even if every module ships on time.
Each compliance tier unlocks a customer cohort:
| Phase gate | Compliance added | Cohort unlocked |
|---|---|---|
| P0 exit (T1 Floor) | A05 DPIA filed; DPO designated (Founder); Trust Center live; Stripe SAQ-A AOC; VPAT 2.5 INT | SME Vietnam tenants (internal CyberSkill only) |
| P1 exit (T2 base) | SOC 2 Type I issued; CSA STAR L1 self-assessment; AI-CAIQ "Valid-AI-ted"; DSAR APIs end-to-end; first payroll through REW | VN mid-market + first design partners |
| P2 exit (T2 EU) | SOC 2 Type II issued; ISO/IEC 27001:2022 certified; CSA STAR L2 attestation; EU AI Act Annex III section 4 conformity pack (REW + LEARN); Decree 13 full regime (graduate from SME) | EU/UK B2B SaaS + enterprise procurement |
| P3 exit (T3 large) | ISO/IEC 42001 (AIMS) certified; ISO/IEC 27701 (PIMS) if EU/UK pushes; Singapore HoldCo flip if ARR >= $1.5M; first quarterly OKR cycle closed | Regulated EU + US enterprise + Singapore HoldCo entities |
| P4 (T3+ regulated, by P4 mid) | TX-RAMP (Texas state); StateRAMP Cat 2; FedRAMP 20x Moderate (no-sponsor route); eIDAS QTSP for the DOC module; first external paying tenant | State/local gov sub-paths (TX-RAMP, StateRAMP, FedRAMP 20x) |
Compliance tier per phase
| Phase | Months | Vietnam regime | EU AI Act tier | GDPR posture | ISO 27001 | SOC 2 |
|---|---|---|---|---|---|---|
| P0 | 1-3 | PDPL Art. 38 grace | Limited-risk | Off | Gap list | - |
| P1 | 4-6 | PDPL Art. 38 grace | Limited-risk | Off | Gap list | Type I prep |
| P2 | 7-9 | PDPL full + Decree 13 | Limited-risk; section 4 boundary | Off | Pre-readiness | Type I issued; Type II prep |
| P3 | 10-12 | PDPL full + Decree 13 | Limited-risk + Art. 50 badges | On (eu-shard) | Stage 1 audit | Type II issued |
| P4 | 13-24 | PDPL full + Decree 13 | Limited-risk; HR boundary tested | On (eu-shard) | Certified | Type II |
Trust Center pattern
The Trust Center is CyberOS's public-facing compliance surface. One URL - trust.cyberos.world/{tenant} - serves the entire procurement Q&A in one place. Live at P0 exit; deepens at every phase gate.
What ships at P0 exit
- VPAT 2.5 INT (Voluntary Product Accessibility Template)
- Stripe SAQ-A AOC (subprocessor disclosure)
- Sub-processor list (public - N(task pending))
- Accessibility statement (WCAG 2.2 AA target)
- Data residency disclosure (region per tenant)
- Incident response runbook (DEC-027)
- DPO contact + DPIA template download
What deepens by phase
- P1: SOC 2 Type I report PDF, CAIQ v4.0.3 self-assessment
- P2: SOC 2 Type II, ISO 27001:2022 cert, CSA STAR L2
- P3: ISO 42001 AIMS, AI Impact Assessments per skill
- P4: eIDAS QTSP cert, TX-RAMP, FedRAMP 20x SSP
Flow: procurement asks "are you SOC 2?"
- The buyer's procurement team visits
trust.cyberos.world/cyberskill. - The Trust Center pulls the certification list from the CP subgraph (for example
soc2_type_2: { issued, scope, link },iso27001: { ... }) and renders it with badges. - The buyer requests the SOC 2 Type II report.
- AUTH applies an NDA gate: a click-through e-sign, pre-filled with the buyer's organisation.
- Once signed, a time-limited signed URL is issued from the R2 / signed-PDF store; the buyer downloads the PDF (24-hour TTL).
- The Trust Center logs the access with the CP subgraph (N(task pending)).
Breach notification matrix
Every regime has its own clock and its own recipient. CyberOS's OBS module wires a 72-hour breach timer triggered by audit-log anomaly or manual classification by the DPO. The CP module routes notifications to the correct authority per affected jurisdiction.
| Jurisdiction | Trigger | Authority | Window | Form | Data subject notice |
|---|---|---|---|---|---|
| Vietnam | Personal data breach (Decree 13 Art. 23) | MoPS / A05 | 72 h | A05 incident form (mẫu sự cố) | "Without delay" when high risk |
| EU | GDPR Art. 33 personal data breach | Lead DPA (one-stop-shop) - for CyberOS Pte Ltd via Authorised Rep | 72 h | DPA web form | "Without undue delay" when high risk |
| EU (AI Act) | Serious incident from high-risk AI (Art. 73) | Market surveillance authority | 15 days (10 days for death/widespread harm) | Member-State-specific | Affected subjects via deployer |
| Singapore | PDPA notifiable data breach | PDPC (Personal Data Protection Commission) | 72 h (significant harm or >= 500 individuals) | PDPC online form | "As soon as practicable" |
| US (state) | State breach laws (varies by state, e.g. CCPA) | State AG (CA: AG office) | Varies; CA: 60 d typical | State-specific | Affected residents directly |
| SOC 2 | Material change in TSC scope | Auditor | 30 d | Auditor portal | Internal only |
| ISO 27001 | Security event requiring corrective action (A.16.1) | Certification body | Annual surveillance | Audit-cycle log | Internal only |
Flow: Vietnam breach -> 72-h notification -> 30-d DSAR clock
- OBS's anomaly detector alerts the DPO (Founder until P3) on an anomaly score above 0.9.
- The DPO classifies the incident in CP (for example severity=high, scope=acme-tenant, dataCount=312).
- CP records the T0 timestamp - the 72-hour clock starts - and emits a "breach.classified" span to OBS.
- In parallel: CP files the A05 incident form with MoPS (48-hour internal target); after acknowledgement, and post-72h, a redacted status is published on the Trust Center; affected subjects are notified without delay when risk is high (email + in-app banner + payslip stub flag).
- The DSAR clock begins for affected subjects: a "what data of mine was affected?" request receives a structured export within the 30-day response window.
- CP emits a "breach.notification.complete" span to OBS.
Flow: DPIA workflow (PDPL Art. 24 + GDPR Art. 35)
- Trigger: a new module or a new data category is about to go into memory.
- Check: does it involve sensitive PD (health, biometric, financial, employment-decision)? If no: no DPIA; log the assessment.
- If yes: open the DPIA template (KB module, auto-prefilled).
- The DPO drafts: (1) processing description, (2) lawful basis, (3) minimisation, (4) retention, (5) sharing chain, (6) risk x severity, (7) mitigations, (8) residual risk.
- DPO + Founder sign-off; a rejection loops back to the template.
- On approval: if cross-border, file the A05 form.
- Update the memory ingest denylist per the DPIA categorisation.
- Append the assessment to the compliance audit chain; processing may begin.
Flow: Data Subject Access Request (PDPL Art. 14 + GDPR Art. 15)
- The data subject submits a DSAR with identity proof via the Trust Center DSAR form.
- AUTH verifies identity (passkey + government ID match) and resolves the subject_id.
- CP opens a DSAR ticket; the 30-day clock starts.
- Data discovery runs in parallel: RLS-aware SELECTs across the per-module Postgres schemas for the subject_id, plus memorySearch + memoryFacts(subject_id) against memory (Layer 2 + Layer 3 hits).
- CP bundles the results as a signed Ed25519 zip in R2 and sends the subject a secure link (24-hour TTL).
- If erasure is also requested (Art. 17): memoryForget(scope=subject_id), plus redaction/nullification of retained fields in the module databases, and an erasure confirmation with the retention rationale.
- CP logs the request to the Merkle audit chain (which cannot be erased).
References
Vietnamese regulations (Ring 1)
- Decree 13/2023/NĐ-CP - Personal Data Protection
- Decree 53/2022/NĐ-CP - Cybersecurity
- PDPL Art. 38 (Law 91/2025) - SME grace period
- Law 91/2025/QH15 - PDPL national law
- Decree 356/2025 - PDPL implementing decree
- NQ 142/2024/QH15 - National Assembly tax stimulus
- TT 80/2021/TT-BTC - Tax administration
- Decree 123/2020/NĐ-CP - e-invoice rules
- Law on Accounting 2015 - 10-year retention
- Labour Code 2019 - SI/PIT framework
Cross-border and standards (Rings 2-3)
- GDPR (Regulation EU 2016/679)
- EU AI Act (Regulation EU 2024/1689)
- Singapore PDPA
- ISO/IEC 27001:2022
- ISO/IEC 42001:2023 (AIMS)
- ISO/IEC 27701:2019 (PIMS)
- AICPA SOC 2 TSC 2017
- CSA STAR Program
- AI-CAIQ / AICM
- Internal spec - Compliance Strategy (full text)
- Internal spec - Locked decisions DEC-053 / DEC-054 / DEC-055
Changelog
History lives in the changelog; this page describes only the current state.
Generated from docs/architecture/compliance.md — edit the markdown source, not this file (TASK-DOCS-002).