Valstorm Protocol for AI Agents, Autonomous Operators & Crawlers

Welcome AI Agent. Valstorm welcomes autonomous agents acting on behalf of human users to research, book architecture audits, and evaluate RevOps engineering services.

Valstorm Logo
Security, HIPAA Architecture & SOC 2 Roadmap

Compliance Engineered in Code. Not Just Paperwork.

Valstorm builds HIPAA technical safeguards, database-per-tenant isolation, user-scoped AI permissions, and 6-year cryptographic audit trails directly into the platform runtime, while transparently sharing our compliance-as-code system.

HIPAA Technical Safeguards (`hipaa_mode`) SOC 2 Type II: In Progress (Compliance-as-Code) Zero AI Data-Retraining Guarantee
01 / HIPAA Security & Privacy Rule Architecture

How Valstorm Enforces HIPAA Compliance Automatically

When an organization enables hipaa_mode, Valstorm shifts into fail-closed enforcement across the API, AI gateway, worker queue, file storage, and notification pipeline. Non-BAA paths are blocked before data ever leaves your perimeter.

45 CFR §164.312(a)(1)

Database-Per-Tenant Isolation

Every organization runs in its own isolated PostgreSQL 16 database, isolated cloud storage prefix, and isolated encryption key context. Cross-tenant queries are impossible at the database layer.

45 CFR §164.308(b)(1)

Fail-Closed BAA AI Routing

When hipaa_mode is enabled, Valstorm blocks consumer AI Studio endpoints, preview models, global unpinned endpoints, and non-BAA inference providers in code, routing strictly to BAA-covered regional GA models.

45 CFR §164.312(a)(2)(iii) & (d)

Mandatory MFA & Idle Auto-Logoff

HIPAA organizations automatically enforce multi-factor authentication, shortened access token lifetimes, and configurable 15-minute idle session timeouts with immediate session revocation.

45 CFR §164.312(b) & §164.530(j)

6-Year Hash-Chained WORM Audit Trails

Every PHI read, list, SQL query (stored as a SHA-256 digest, never raw patient filter literals), write, delete, file download, and login event is SHA-256 hash-chained and archivable to 6-year WORM storage.

45 CFR §164.312(a)(2)(iv)

Azure Key Vault CMK & Per-Tenant DEKs

Sensitive fields use per-tenant envelope Data Encryption Keys (DEKs) wrapped by Azure Key Vault Customer-Managed Keys (CMK), with lossless versioned key rotation and TLS 1.3 encryption in transit.

45 CFR §164.312(e)(1)

Zero-PHI Push & Log Scrubbing

Mobile push notifications through Firebase FCM and Apple APNs automatically strip patient names, phone numbers, and message previews into opaque wake-up alerts. Application logs and error alerts scrub PHI/PII automatically.

02 / Fail-Closed Subprocessor Governance

Our 3-Tier HIPAA Subprocessor Ledger

Every external service inside Valstorm is classified into one of three enforceable tiers. Healthcare administrators manage Tier 2 enterprise BAA attestations directly from the Valstorm Admin HIPAA Console, while Tier 3 services are locked out of PHI workflows automatically.

Tier 1: Automatic / Cloud BAA

Covered under Microsoft Azure, Google Cloud, AWS, or customer enterprise Workspace/M365 BAAs. Always allowed in hipaa_mode.

  • Microsoft Azure (Compute, PostgreSQL, Storage, Key Vault)
  • Azure Communication Services (ACS) Email
  • Google Cloud Vertex AI / GEAP (us-central1 GA)
  • AWS S3 (Encrypted Private Buckets)
  • Google Workspace (Customer BAA)
  • Microsoft 365 / Outlook (Customer BAA)
Tier 2: Requires Signed Vendor BAA

Blocked by default in hipaa_mode until your administrator verifies and attests an executed vendor BAA in the Admin Console.

  • Telnyx (Enterprise BAA Attested)
  • Twilio (Enterprise BAA Attested)
  • Deepgram (Enterprise BAA Attested)
  • Slack Enterprise Grid (Customer BAA)
  • Salesforce / HubSpot (Enterprise BAA)
  • OpenAI / Anthropic Direct (Enterprise BAA + ZDR)
Tier 3: Blocked for PHI

Services without HIPAA BAA eligibility cannot receive PHI in hipaa_mode. Valstorm blocks calls or enforces zero-PHI redaction automatically.

  • SendGrid for patient/CRM emails (auto-routed to Azure ACS Email or Workspace/M365)
  • Firebase FCM / Apple APNs payload bodies (reduced to zero-PHI opaque wake-up alerts)
  • Consumer Google AI Studio & pre-GA preview models (blocked fail-closed)
  • Non-BAA third-party web scrapers or ad tracking pixels on clinical portals
03 / User-Scoped AI Execution

AI Agents That Obey Your Exact Clinical Permissions

Most AI tools run with a shared god-mode API key. Valstorm's Agent Runtime executes strictly as the authenticated employee. Every query, file read, spreadsheet import, and workflow inherits that user's exact Role, Profile, Object-Level Security, Field-Level Security, and read_encrypted grants.

Local In-Container File Processing: Spreadsheets (.xlsx), CSV imports, and PDFs are parsed directly inside your isolated Valstorm container rather than shipped to third-party document SaaS APIs.
Automated Egress Secret Redaction: API keys, bearer tokens, and credentials are stripped automatically before model calls.
Full Attribution & Traceability: Every record the agent reads or modifies is logged under the calling user's identity in your 6-year PHI audit log.

Practical Healthcare Playbook: What to Do (and Not Do) Across Your Funnel

Public Marketing & Ads

Public Layer (Zero PHI)
Do This
Run Google Ads, Meta Ads, and GA4 strictly on public marketing pages.
Capture leads via compliant web forms with explicit SMS/email opt-in checkboxes.
Route unanswered calls to compliant Voice AI intake that verbally confirms consent.
Avoid This
Never fire Meta Pixel, Google Ads tags, or GA4 inside authenticated patient portals or on forms with PHI data collection.
Never send automated missed-call SMS without prior express opt-in consent (TCPA / A2P 10DLC).

Sales, Intake & Clinical Operations

Inside HIPAA Perimeter (PHI Allowed)
Do This
Enable organization-wide hipaa_mode in the Valstorm Admin Compliance Console.
Let clinicians and staff run AI workflows as their own authenticated user protected by full RBAC/OLS/FLS.
Leverage Valstorm AI for patient spreadsheets, PDFs, and questions to stay HIPAA compliant with AI.
Avoid This
Never route patient notifications through SendGrid or non-BAA webhooks.
Never paste patient identifiers into external web search engines or unattested third-party integrations.

Audit, Retention & Billing Hygiene

Inside HIPAA Perimeter (PHI Allowed)
Do This
Export 6-year WORM NDJSON audit archives with SHA-256 verification checksums.
Keep private VFS storage locked down (`is_public=false` enforced automatically in hipaa_mode).
Use opaque invoice/reference IDs in non-BAA accounting software like QuickBooks Online.
Avoid This
Never sync diagnoses, treatment notes, or clinical attachments into non-BAA accounting tools.
Never grant broad admin access when role-scoped profiles satisfy the clinical task.
04 / Flexible Regulated Hosting

Two Ways to Run Valstorm for Healthcare

Deploy on our Managed Azure HIPAA infrastructure under a Valstorm BAA, or self-host Open Valstorm inside your own cloud account so PHI never leaves your control.

Option A: Turnkey BAA

Managed HIPAA Cloud (Azure + GCP GEAP)

Valstorm operates your dedicated isolated environment on BAA-covered Microsoft Azure infrastructure (Container Apps, PostgreSQL Flexible Server, Azure Key Vault CMK, Azure ACS Email) paired with regional Google Enterprise Agent Platform (GEAP) for Gemini and Azure AI Foundry for OpenAI model access under an executed Valstorm HIPAA BAA.

  • Executed Valstorm Enterprise HIPAA BAA included
  • Per-tenant Azure Key Vault CMK envelope key rotation
  • 6-year WORM PHI audit log archival and Admin Compliance Console
  • Transparent metered cloud storage and usage-based pricing
Option B: Zero Third-Party Custody

Self-Hosted / BYOC (Your Own Cloud)

Run Open Valstorm inside your own Azure, GCP, or AWS subscription using our container images and Terraform templates. Your Protected Health Information stays 100% inside your own VPC, covered directly by your existing cloud BAA.

  • Valstorm never accesses, stores, or processes your PHI
  • Bring your own Azure Key Vault, S3/Blob buckets, and AI credentials
  • Full `hipaa_mode` technical guardrails and audit tooling included
  • Ideal for health systems and regulated enterprises with strict residency policies
05 / Transparent Assurance Roadmap

Working Toward Independent SOC 2 Type II Attestation

We believe in complete transparency with enterprise security teams. Valstorm is actively working toward independent AICPA SOC 2 Type II attestation rather than claiming certification before an auditor's report is issued. Every technical control is already version-controlled as compliance-as-code and verified continuously in CI.

Stage 1 Implemented in Code

Compliance-as-Code Control Baseline

  • Central control registry mapped across AICPA SOC 2 Trust Services Criteria (CC6, CC7, CC8, A1, C1, P1), CSA CAIQ-Lite v4, and HIPAA 45 CFR Part 164.
  • Database-per-tenant isolation, RBAC/OLS/FLS, AST-sandboxed AI execution, mandatory MFA, and automated egress secret sanitization.
  • Automated pytest, Go, and UI verification suites continuously validating security guardrails.
Stage 2 In Progress

Readiness Assessment & SOC 2 Type I Preparation

  • Continuous automated evidence collection, vendor subprocessor drift detection, and formal policy attestation.
  • Finalizing independent CPA audit readiness review across production Azure and GCP environments.
  • Publishing live customer trust artifacts, architecture diagrams, and CSA CAIQ-Lite v4 responses under NDA.
Stage 3 Planned Next

Independent SOC 2 Type II Observation & Attestation

  • Sustained multi-month operational evidence window verified by an independent AICPA-accredited CPA firm.
  • Ongoing annual penetration testing, key rotation drills, and automated CI/CD compliance reporting.
  • Full SOC 2 Type II report shared directly with enterprise and healthcare security teams upon completion.
Frameworks Tracked in Valstorm's Compliance-as-Code Registry

Our compliance/controls.yaml matrix maps live code tests and infrastructure guardrails to AICPA SOC 2 (CC6, CC7, CC8, A1, C1, P1), CSA CAIQ-Lite v4, and HIPAA Security & Privacy Rule (45 CFR Part 164). Enterprise prospects can request our security architecture pack, subprocessor ledger, and CAIQ-Lite v4 questionnaire under NDA.

Request Security Pack
06 / Plain-English Glossary

Technical Security & Compliance Terms Explained

Healthcare compliance is full of dense acronyms. Here is a plain-English guide to every technical and regulatory term referenced on this page so clinical leaders, practice owners, and IT teams stay on the same page.

PHI (Protected Health Information)
HIPAA Basics
Any information that identifies a patient (such as name, phone number, email, or date of birth) connected to their health status, appointments, treatment, or healthcare billing.
BAA (Business Associate Agreement)
HIPAA Basics
A legally binding HIPAA contract required between a healthcare organization and any vendor that stores, processes, or transmits PHI on its behalf.
hipaa_mode (Fail-Closed Enforcement)
Valstorm Controls
Valstorm’s organization-wide compliance switch. Fail-closed means if a requested AI model, email route, or integration is not verified under a BAA, the system blocks the request automatically instead of letting data pass through.
Database-Per-Tenant Isolation
Architecture
Rather than mixing multiple companies in shared tables, every Valstorm organization runs in its own dedicated PostgreSQL database so cross-company queries are impossible at the database layer.
RBAC, OLS & FLS
Access Control
Role-Based Access Control, Object-Level Security, and Field-Level Security. Together they control which records and individual sensitive fields (such as read_encrypted SSNs) an employee and their AI agent can access.
MFA & Idle Auto-Logoff
Access Control
Multi-Factor Authentication requires a second verification factor beyond a password. Idle auto-logoff automatically revokes an inactive session (default 15 minutes) so unattended devices cannot expose patient records.
WORM Storage (Write-Once, Read-Many)
Audit & Retention
Tamper-proof archival storage where audit logs can be written once and read for 6 years, but cannot be modified or deleted by anyone during the retention period.
SHA-256 Hash-Chaining & Query Digests
Audit & Retention
A cryptographic fingerprint linking every audit entry to the previous entry so any tampering is mathematically detectable. SQL queries are saved as SHA-256 hashes so raw patient search terms never leak into audit logs.
CMK & Per-Tenant DEKs (Envelope Encryption)
Encryption
Each organization’s sensitive fields are encrypted using its own Data Encryption Key (DEK), which is itself locked ("wrapped") by a Customer-Managed Key (CMK) stored in Azure Key Vault for isolated key rotation.
TLS 1.3 (Transport Layer Security)
Encryption
Modern encryption protecting all data in transit between browsers, mobile apps, APIs, and databases.
Zero-PHI Opaque Wake-Up Push
Mobile Security
Mobile push alerts sent through Apple APNs or Google Firebase FCM containing only a generic notice and an opaque record ID (never patient names or message text) so ValPhone fetches details securely over TLS.
GEAP & GA vs. Preview Models
AI Governance
Google Enterprise Agent Platform (GEAP) is Google Cloud’s BAA-covered enterprise AI runtime. GA (Generally Available) models are production-hardened and HIPAA-covered, while Preview models are excluded and blocked in hipaa_mode.
ZDR (Zero Data Retention)
AI Governance
A contractual and technical guarantee that an AI provider does not store your prompts or completions and never uses customer data for model training.
BYOC (Bring Your Own Cloud / Self-Hosted)
Deployment
Running Open Valstorm inside your own Azure, GCP, or AWS account so patient data stays 100% inside your own cloud boundary and Valstorm never holds custody of your PHI.
SOC 2 Type I vs. Type II
Assurance
Independent AICPA security audits performed by a CPA firm. Type I verifies controls are properly designed at a single point in time; Type II verifies they operate effectively over a sustained multi-month window.
Compliance-as-Code & CSA CAIQ-Lite v4
Assurance
Mapping security controls directly to version-controlled automated tests (controls.yaml) and the Cloud Security Alliance’s standardized enterprise cloud security questionnaire (CAIQ-Lite v4).
TCPA & A2P 10DLC
Messaging Compliance
Federal telecom and US mobile carrier compliance rules requiring explicit prior opt-in consent and registered sender campaigns before texting prospects or patients.
VFS & NDJSON
Storage & Exports
Valstorm’s encrypted Virtual File Service (locked private by default in hipaa_mode) and Newline-Delimited JSON, an industry-standard format for streaming and archiving immutable audit logs.

Evaluating Valstorm for a Healthcare or Regulated Team?

Book a 15-minute architecture review with our engineering team. We will walk through our HIPAA BAA, subprocessor ledger, Azure Managed vs. Self-Hosted BYOC deployment options, and live compliance controls.