@protocolwealthos/compliance@0.3.0
Minor Changes
-
#13
4d0f9f6Thanks @rivendale! - Add a vendor-document advisory metadata schema for SOC 1 / SOC 2 / ISO / DPA / pen-test / insurance / privacy-policy records.The
VendorDocMetadatatype captures the structured facts compliance teams want to surface in dashboards and search:- Identity —
kind,title,sourceRef,sourceSha256(chain-of-custody anchor),issuedAt,expiresAt - Attestation —
auditPeriodStart/End,opinion(unqualified / qualified / adverse / disclaimer / unknown),trustServicesCriteria[]for SOC 2,exceptionCount,findingSummaries[] - DPA / privacy —
subprocessors[](withregionandhasDpa),retentionWindowDays,breachNotificationWindowDays - Pen-test —
highestOpenSeverity,findingsByStatus - Provenance —
humanvsai_advisory. Documents are framed as advisory metadata: the source PDF remains the system of record; if AI extraction disagrees with the PDF, the PDF wins.
Plus two helpers:
isVendorDocCurrent(doc, nowIso)— within validity windowvendorDocsExpiringSoon(docs, nowIso, daysAhead)— for nightly "re-up your SOC 2" reminders
- Identity —