Skip to content

Non-Functional Requirements

Document ID: PRD-005
File Path: docs/01-product/non-functional-requirements.md
Version: 1.0.0
Status: Draft
Owner: Product Team
Last Updated: 2026-06-27


This document defines the non-functional requirements (NFRs) — the quality attributes the Wovyr AI Platform must meet. It elaborates PRD §13 and aggregates the per-service targets specified throughout the docs.


NFR-<attribute>-<n> · measured by <metric> · target <value>

Targets are validated by performance, chaos, and security testing.


IDRequirementTarget
NFR-PERF-1API latencyp95 < 200 ms
NFR-PERF-2LLM Gateway overhead (non-cached)p95 < 8 ms (gateway NFRs)
NFR-PERF-3Memory warm retrievalp95 < 30 ms (memory NFRs)
NFR-PERF-4Tool warm sandbox startp95 < 20 ms (tool NFRs)

IDRequirementTarget
NFR-REL-1Core service availability99.99%
NFR-REL-2Durable workflow execution (survive restart)No lost executions (checkpointing)
NFR-REL-3Graceful degradation on dependency failureValidated by chaos
NFR-REL-4Provider failover success when any healthy> 99% (resilience)

IDRequirementTarget
NFR-SCALE-1Horizontal scaling of stateless servicesLinear with replicas
NFR-SCALE-2Memory corpusBillions of records (memory)
NFR-SCALE-3Concurrent tool executionsThousands (worker pool)
NFR-SCALE-4Autoscaling reaction< 30 s to add capacity

IDRequirementTarget
NFR-SEC-1Cross-tenant data leakage0 (hard) (authorization)
NFR-SEC-2Encryption in transit & at restAlways (encryption)
NFR-SEC-3Untrusted code isolationEnforced sandboxing (tool isolation)
NFR-SEC-4Auditability of sensitive actions100% (audit)

IDRequirementTarget
NFR-MAINT-1Clean Architecture boundariesEnforced (ADR-0006)
NFR-EXT-1Extend without core changesVia plugins
NFR-MAINT-2Test coverage on critical pathsHigh (testing)

IDRequirementTarget
NFR-OBS-1Logs, metrics, traces on every serviceAlways (observability)
NFR-OBS-2Request correlation across servicesrequest_id/trace_id everywhere
NFR-OBS-3Cost observabilityPer tenant/project/model (cost)

IDRequirementTarget
NFR-PORT-1Cloud-neutral deploymentDocker/K8s, self-host or managed (deployment)
NFR-PORT-2Provider independenceNo hard vendor lock-in (provider SDK)
NFR-PORT-3Air-gapped operationSupported (distribution)

IDRequirementTarget
NFR-COMP-1Support SOC 2 / ISO 27001 / GDPR controlsDesigned-for (security index)
NFR-COMP-2Data residency / retention controlsConfigurable (ABAC + retention)

IDRequirementTarget
NFR-UX-1Dashboard accessibilityWCAG 2.1 AA (dashboard)
NFR-UX-2Time-to-first-agentMinutes (hello agent)


VersionDateDescription
1.0.02026-06-27Initial Non-Functional Requirements