<!-- Vision XIX Labs LLC · POL-01 Information Security Policy · version 1, adopted 2026-12-01 -->
> Published at https://visionxixlabs.com/trust#policies. This is an internal policy adopted by Vision XIX Labs LLC. It is not an audit report or a certification, and adopting it does not make V19 SOC 2 or ISO 27001 compliant. References to `README.md`, `reviews/` and `incidents/` are to internal records, available on request.

# Information Security Policy

| | |
|---|---|
| Policy ID | POL-01 |
| Owner | Founder, Vision XIX Labs LLC (security owner) |
| Status | **Adopted 2026-12-01, version 1.** Effective from the adoption date recorded in `README.md`. |
| Review | At least once a year, and after any security incident or major change |
| Applies to | Everyone with access to V19 production systems, source code or customer data, including contractors and AI agents acting for the company |

## Purpose
Set out how Vision XIX Labs protects V19, its customers' data and its own systems, and point to the specific policies that carry it out.

## Principles
1. **Least privilege.** People, keys and agents get only the access the task needs, for as long as it needs it.
2. **Controls in code first.** Where a rule can be enforced by the product or the pipeline (types, required checks, approvals), it is, rather than relying on memory.
3. **Evidence by default.** Security-relevant actions leave a record: audit log entries, pull requests, CI runs, release attestations.
4. **Honest claims.** Public statements about security describe what is implemented and verified, and name the gaps. No certification or audit is claimed unless a report exists.
5. **Customer data stays scoped.** Customer data is used only to provide the service, never to train models, and only through the subprocessors listed on the trust page.

## Data classification
| Class | Examples | Handling |
|---|---|---|
| Restricted | Customer connector credentials, AI provider keys, signing keys, database credentials, session secrets | Encrypted at rest (AES-256-GCM for stored credentials), never logged, never in source control, held only in the platform secret stores |
| Confidential | Customer workspace records, audit logs, billing records | Access through the product's role checks; exported only by the customer's owner |
| Internal | Source code, CI logs, internal docs | Repository access limited to the owner and approved automation |
| Public | Website, docs, release files, trust page | Reviewed for accuracy before publishing |

## Related policies
POL-02 Access Control · POL-03 Change Management · POL-04 Incident Response · POL-05 Risk Assessment · POL-06 Vendor Management · POL-07 Business Continuity and Disaster Recovery

## Acceptable use
- Company systems are used for company work. Production data is not copied to personal devices or personal accounts.
- Credentials are never shared in chat, email or tickets. If one is exposed, treat it as an incident (POL-04).
- Devices used for company work have full-disk encryption, a screen lock and current OS updates.

## Exceptions
Any exception is written down with the reason, the risk accepted and an expiry date, and approved by the security owner.

---

<!-- Vision XIX Labs LLC · POL-02 Access Control Policy · version 1, adopted 2026-12-01 -->
> Published at https://visionxixlabs.com/trust#policies. This is an internal policy adopted by Vision XIX Labs LLC. It is not an audit report or a certification, and adopting it does not make V19 SOC 2 or ISO 27001 compliant. References to `README.md`, `reviews/` and `incidents/` are to internal records, available on request.

# Access Control Policy

| | |
|---|---|
| Policy ID | POL-02 |
| Owner | Founder, Vision XIX Labs LLC (security owner) |
| Status | **Adopted 2026-12-01, version 1.** Effective from the adoption date recorded in `README.md`. |
| Review | At least once a year, and after any security incident or major change |
| Applies to | Everyone with access to V19 production systems, source code or customer data, including contractors and AI agents acting for the company |

## Company systems
| System | Who has access | How access is protected |
|---|---|---|
| GitHub (source, CI, releases) | Owner; CI service identities | Owner account with two-factor authentication; branch protection and required checks on `main`; release environment needs owner approval |
| Vercel (hosting) | Owner | Two-factor authentication; deploy tokens stored only as CI secrets |
| Neon (database) | Owner; the application's own database role | Two-factor authentication; application uses a dedicated role; no shared personal credentials |
| Stripe (billing) | Owner | Two-factor authentication |
| Apple Developer, Microsoft Partner Center (signing, store) | Owner | Two-factor authentication; signing keys stored only as CI secrets |
| Cloud test accounts (AWS, Azure, GCP) | Owner; scoped test roles | Two-factor authentication on root/admin users; test roles limited to test resources |

## Rules
1. Every person has their own account. Shared logins are not allowed.
2. Two-factor authentication is required on every system above.
3. Access is granted for a stated purpose and removed when the purpose ends or the person leaves, the same day.
4. Secrets live in the platform secret stores (GitHub, Vercel). They are rotated when someone with access leaves, when exposure is suspected, and at least yearly for long-lived keys.
5. Automation and AI agents use scoped, expiring credentials and their actions are recorded.

## Access review
The security owner reviews who and what has access to each system above **every quarter**, removes anything unneeded, and records the review (date, systems checked, changes made) in `reviews/`.

## In the product
V19 enforces customer access with roles, SSO (OIDC/SAML) with domain proof, optional or required two-step sign-in, SCIM deprovisioning, and API keys that carry only their scopes and expire within 90 days. See `/docs/members` and `/docs/sso-setup`.

---

<!-- Vision XIX Labs LLC · POL-03 Change Management Policy · version 1, adopted 2026-12-01 -->
> Published at https://visionxixlabs.com/trust#policies. This is an internal policy adopted by Vision XIX Labs LLC. It is not an audit report or a certification, and adopting it does not make V19 SOC 2 or ISO 27001 compliant. References to `README.md`, `reviews/` and `incidents/` are to internal records, available on request.

# Change Management Policy

| | |
|---|---|
| Policy ID | POL-03 |
| Owner | Founder, Vision XIX Labs LLC (security owner) |
| Status | **Adopted 2026-12-01, version 1.** Effective from the adoption date recorded in `README.md`. |
| Review | At least once a year, and after any security incident or major change |
| Applies to | Everyone with access to V19 production systems, source code or customer data, including contractors and AI agents acting for the company |

## Scope
Changes to V19's source code, infrastructure configuration, database schema, dependencies and release files.

## Rules
1. **Every change goes through a pull request** to `main`. A repository ruleset blocks direct pushes, force pushes and deletion of `main`, with no bypass.
2. **Checks must pass before merge.** The ruleset requires the type check and test suite; the production build, dependency audit and platform checks must also be green before the owner merges. A failing check is fixed, not skipped or disabled.
3. **Review.** Changes are reviewed before merge. While the team is one person, review is by automated checks plus a second look by the owner on the final diff; when a second engineer joins, a human reviewer other than the author is required for changes to authentication, billing, database and release code.
4. **Database migrations** are additive by default, tested on a branch database first, and applied to production only after a recent backup snapshot is confirmed.
5. **Production deploys** are made from a merged `main` commit, by the owner or with the owner's approval, and V19's own deployments are recorded in V19. Each deploy records the commit it shipped.
6. **Desktop releases** are built in CI from a tagged commit, signed (Apple Developer ID and notarization; GPG for every file), published with an SBOM, checksums and build provenance, and released only after owner approval in the release environment.
7. **Dependencies** are updated through reviewed pull requests; critical advisories are patched within 7 days, high within 30.
8. **Emergency changes** may be deployed before full review only to stop an active incident. They are reviewed within 2 business days and recorded in the incident record.

## Rollback
Every production deploy must have a known previous good version to roll back to. Database changes that cannot be rolled back are called out in the pull request.

---

<!-- Vision XIX Labs LLC · POL-04 Incident Response Plan · version 1, adopted 2026-12-01 -->
> Published at https://visionxixlabs.com/trust#policies. This is an internal policy adopted by Vision XIX Labs LLC. It is not an audit report or a certification, and adopting it does not make V19 SOC 2 or ISO 27001 compliant. References to `README.md`, `reviews/` and `incidents/` are to internal records, available on request.

# Incident Response Plan

| | |
|---|---|
| Policy ID | POL-04 |
| Owner | Founder, Vision XIX Labs LLC (security owner) |
| Status | **Adopted 2026-12-01, version 1.** Effective from the adoption date recorded in `README.md`. |
| Review | At least once a year, and after any security incident or major change |
| Applies to | Everyone with access to V19 production systems, source code or customer data, including contractors and AI agents acting for the company |

## What counts as an incident
Any event that affects, or may affect, the confidentiality, integrity or availability of V19 or customer data. Examples: an exposed credential, unauthorized access, data sent to the wrong customer, a compromised dependency or signing key, a prolonged outage, or a vulnerability report that proves exploitable.

## Severity
| Level | Meaning | Response time |
|---|---|---|
| SEV1 | Confirmed customer data exposure, compromise of production or signing keys, or full outage | Start within 1 hour |
| SEV2 | Likely exposure, partial outage, exploitable vulnerability with no known exploitation | Start within 4 hours |
| SEV3 | Contained issue, no customer impact | Next business day |

## Steps
1. **Detect and record.** Open an incident record (`incidents/YYYY-MM-DD-short-name.md`) with the time, how it was found and who is handling it.
2. **Contain.** Revoke or rotate exposed credentials, disable the affected feature or route, roll back the deploy, or block the attacker, whichever stops the harm fastest.
3. **Assess.** Work out what data and which customers were affected, and since when. Preserve logs and evidence before changing them.
4. **Notify.** For confirmed exposure of customer data, notify affected customers without undue delay and **within 72 hours** of confirmation, with what happened, what data, what we did and what they should do. Meet any stricter contractual or legal deadline. Update the status page for outages.
5. **Recover.** Restore service from a known good version or backup and confirm it works.
6. **Learn.** Within 5 business days, write a short review: timeline, root cause, what worked, and the follow-up actions with owners and dates. Track the actions to completion.

## Contacts
- Security reports come in through `https://visionxixlabs.com/contact?intent=security` and `/.well-known/security.txt`.
- Vendor security contacts: Vercel, Neon, Stripe, GitHub, Apple and Microsoft support portals.

## Testing
Run a tabletop exercise of this plan at least once a year (for example: "the GitHub release key is leaked") and record it in `reviews/`.

---

<!-- Vision XIX Labs LLC · POL-05 Risk Assessment Policy · version 1, adopted 2026-12-01 -->
> Published at https://visionxixlabs.com/trust#policies. This is an internal policy adopted by Vision XIX Labs LLC. It is not an audit report or a certification, and adopting it does not make V19 SOC 2 or ISO 27001 compliant. References to `README.md`, `reviews/` and `incidents/` are to internal records, available on request.

# Risk Assessment Policy

| | |
|---|---|
| Policy ID | POL-05 |
| Owner | Founder, Vision XIX Labs LLC (security owner) |
| Status | **Adopted 2026-12-01, version 1.** Effective from the adoption date recorded in `README.md`. |
| Review | At least once a year, and after any security incident or major change |
| Applies to | Everyone with access to V19 production systems, source code or customer data, including contractors and AI agents acting for the company |

## Process
At least once a year, and before a major architecture change, the security owner:
1. Lists the assets (systems, data, keys) and threats to them.
2. Rates each risk for likelihood (1–5) and impact (1–5); the score is the product.
3. Chooses a treatment for each: reduce, transfer (for example, insurance or a vendor), avoid, or accept. Risks scoring 15 or more cannot be accepted without a dated plan to reduce them.
4. Records the result in the risk register below and reviews progress each quarter.

## Initial risk register (2026-12-01)
| # | Risk | L | I | Score | Treatment |
|---|---|---|---|---|---|
| R1 | Single person holds all admin access (key-person risk; no second approver) | 4 | 5 | 20 | Reduce: documented break-glass access with a trusted second person; hire or contract a second engineer |
| R2 | Compromise of the owner's accounts (GitHub, Vercel, Neon, Apple) | 2 | 5 | 10 | Reduce: hardware-key two-factor on all admin accounts; quarterly access review |
| R3 | Signing key or CI secret leak | 2 | 5 | 10 | Reduce: secrets only in CI secret stores, release approval gate, provenance attestations; rotate on suspicion |
| R4 | Vulnerable or malicious dependency | 3 | 4 | 12 | Reduce: lockfiles, dependency audit on every change, reviewed update PRs, SBOM per release |
| R5 | Cross-tenant data exposure through an application bug | 2 | 5 | 10 | Reduce: organization access checks on every route, tests; add independent penetration test |
| R6 | Database loss or corruption | 2 | 5 | 10 | Reduce: provider point-in-time restore and snapshots; test a restore twice a year (POL-07) |
| R7 | Hosting or database provider outage | 3 | 3 | 9 | Accept for now (no SLA offered); public status page |
| R8 | AI provider retains or misuses prompt data | 2 | 3 | 6 | Reduce: customer choice of provider, own keys, AI off switch; subprocessor list |
| R9 | No insurance for a security incident | 3 | 4 | 12 | Transfer: obtain cyber liability insurance once revenue allows |
| R10 | Inaccurate public security claims | 2 | 4 | 8 | Reduce: claims kept in code-reviewed data files with tests; trust page names gaps |

---

<!-- Vision XIX Labs LLC · POL-06 Vendor Management Policy · version 1, adopted 2026-12-01 -->
> Published at https://visionxixlabs.com/trust#policies. This is an internal policy adopted by Vision XIX Labs LLC. It is not an audit report or a certification, and adopting it does not make V19 SOC 2 or ISO 27001 compliant. References to `README.md`, `reviews/` and `incidents/` are to internal records, available on request.

# Vendor Management Policy

| | |
|---|---|
| Policy ID | POL-06 |
| Owner | Founder, Vision XIX Labs LLC (security owner) |
| Status | **Adopted 2026-12-01, version 1.** Effective from the adoption date recorded in `README.md`. |
| Review | At least once a year, and after any security incident or major change |
| Applies to | Everyone with access to V19 production systems, source code or customer data, including contractors and AI agents acting for the company |

## Before using a new vendor that will process customer data
1. Check its security posture: a current SOC 2 Type II or ISO 27001 report, or an equivalent, and its data location.
2. Confirm a data processing agreement or terms that cover confidentiality, breach notification and deletion.
3. Use only the access and data the purpose requires.
4. Add it to the subprocessor list on the trust page **before** customer data flows to it.

## Current subprocessors
| Vendor | Purpose | Assurance on file |
|---|---|---|
| Vercel | Website and API hosting | SOC 2 Type II (vendor-published) |
| Neon | PostgreSQL database | SOC 2 Type II (vendor-published) |
| Stripe | Billing | PCI DSS Level 1, SOC 2 (vendor-published) |
| Resend | Transactional email | To review |
| AI model providers (directly or via Vercel AI Gateway), DeepInfra | AI features the customer chooses | Provider terms; customer can select, restrict or disable |
| GitHub | Source, CI and release file hosting | SOC 2 Type II (vendor-published) |

## Ongoing
- Review each vendor once a year: is it still needed, is its report current, has its data handling changed. Record the review in `reviews/`.
- Remove vendors that are no longer used and update the subprocessor list the same day.
- Customers are told about new subprocessors through the trust page; enterprise contracts may require advance notice.

---

<!-- Vision XIX Labs LLC · POL-07 Business Continuity and Disaster Recovery Plan · version 1, adopted 2026-12-01 -->
> Published at https://visionxixlabs.com/trust#policies. This is an internal policy adopted by Vision XIX Labs LLC. It is not an audit report or a certification, and adopting it does not make V19 SOC 2 or ISO 27001 compliant. References to `README.md`, `reviews/` and `incidents/` are to internal records, available on request.

# Business Continuity and Disaster Recovery Plan

| | |
|---|---|
| Policy ID | POL-07 |
| Owner | Founder, Vision XIX Labs LLC (security owner) |
| Status | **Adopted 2026-12-01, version 1.** Effective from the adoption date recorded in `README.md`. |
| Review | At least once a year, and after any security incident or major change |
| Applies to | Everyone with access to V19 production systems, source code or customer data, including contractors and AI agents acting for the company |

## Targets
| Measure | Target |
|---|---|
| Recovery point objective (data that may be lost) | 24 hours or less |
| Recovery time objective (time to restore service) | 24 hours |

These are internal targets, not a customer commitment; V19 offers no uptime SLA.

## What protects us
- **Database:** Neon point-in-time restore history and scheduled snapshots. Before every production migration a fresh snapshot is confirmed.
- **Application:** stateless deployments on Vercel; any previous deployment can be promoted back.
- **Source and releases:** GitHub, with a full local clone kept by the owner; release files and signatures in a separate public release repository.
- **Secrets:** documented list of every secret and where it is stored, so each can be re-issued if a platform account is lost.

## Scenarios
| Scenario | Response |
|---|---|
| Bad deploy | Roll back to the previous deployment; fix forward through a pull request |
| Database corruption or deletion | Restore from the most recent good point in time to a branch, verify, then switch the application over |
| Hosting provider outage | Post on the status page; wait for provider recovery (no second region today) |
| Loss of the owner's access | Break-glass recovery codes stored offline; trusted second person can act on documented instructions |
| Lost signing key | Revoke, issue a new key, publish the new fingerprint on the trust page, re-sign the next release |

## Testing
- Restore the production database to a branch **twice a year**, check the data, and record the time it took in `reviews/`.
- Review this plan once a year and after any real recovery.
