Guardrails

Your standards.
Every spec.

Enterprises ship with constraints — design systems, approved tech stacks, compliance frameworks. SpecGraph makes sure every specification respects your organizational guardrails from day one.

Design System
Tech Stack
Security
API Standards
Performance
Data Architecture
01

Design System

CVI, branding & accessibility

Most teams discover brand violations weeks into development — wrong fonts in mockups, inaccessible color combinations in production, inconsistent spacing across components. SpecGraph embeds your entire design system into the specification process from the start. Every AI-generated PRD section, every wish evaluation, and every exported spec references your exact tokens, so coding agents produce pixel-accurate UIs without manual correction.

Brand colors with hex values, contrast ratios, and usage rules for primary, secondary, and accent palettes
Typography system — approved font families, weight scales, line heights, and responsive sizing rules
Component patterns — button variants, input states, card layouts, modal behaviors, and interaction guidelines
Accessibility standards — target WCAG level (A/AA/AAA), screen reader support, keyboard navigation, and focus management
Dark mode token mappings, responsive breakpoint rules, and platform-specific adaptations (web, mobile, email)
Spacing and layout grid — base unit, padding scales, margin conventions, and maximum content widths
02

Tech Stack

Frameworks, infrastructure & tooling

Without tech stack guardrails, every team makes different assumptions — one engineer picks a framework the ops team can't deploy, another introduces a database the DBA team won't support. SpecGraph locks in your approved technologies at the specification level, so every generated requirement, every architecture decision, and every coding agent instruction uses the exact frameworks, versions, and infrastructure your organization has standardized on.

Frontend & backend frameworks with pinned versions, migration paths, and approved plugin ecosystems
Database engines, ORM choices, query builders, and connection pooling strategies for each data tier
Infrastructure decisions — cloud provider, region constraints, CDN, object storage, and serverless boundaries
CI/CD pipeline stages, deployment strategy (blue-green, canary, rolling), and environment promotion rules
Monitoring, observability, and logging stack — APM tool, log aggregator, alerting thresholds, and SLO definitions
Package management policies — approved registries, license allowlists, and vulnerability severity thresholds
03

Security & Compliance

SOC 2, GDPR, HIPAA & beyond

Compliance failures caught at code review cost months of rework. Compliance failures caught in production cost millions. SpecGraph validates every specification against your security posture before anyone writes a line of code. Authentication models, data handling rules, encryption requirements, and audit logging standards are embedded into the PRD itself — so the exported spec that coding agents consume is compliant by construction, not by afterthought.

Compliance frameworks — SOC 2 trust criteria, GDPR data subject rights, HIPAA safeguards, PCI-DSS scope definitions
Authentication requirements — OAuth 2.0 flows, SAML federation, MFA enforcement, session timeout policies
Authorization models — RBAC role hierarchies, ABAC attribute policies, row-level security, and least-privilege defaults
Encryption standards — algorithms for data at rest and in transit, key rotation schedules, and secrets management
Audit logging — what events to capture, retention periods, tamper-proof storage, and incident response triggers
Data classification and handling — PII tagging, cross-border transfer rules, right-to-delete workflows, and anonymization
04

API & Integration Standards

Contracts, versioning & documentation

APIs are the seams where systems meet — and where most architectural debt accumulates. One team uses REST with snake_case, another uses camelCase with different pagination patterns, a third introduces GraphQL without telling anyone. SpecGraph enforces a single API contract standard across every specification, so every endpoint, webhook, and integration point follows the same naming conventions, versioning strategy, and error format from day one.

API style — REST conventions, GraphQL schema patterns, or gRPC service definitions with naming rules
Versioning strategy — URL path versioning, header-based, or semantic versioning with deprecation timelines
Pagination, filtering, and sorting conventions — cursor-based vs offset, query parameter naming, max page sizes
Error response format — standard error envelope, error code taxonomy, and localization requirements
Rate limiting policies — per-endpoint limits, burst allowances, retry-after headers, and quota management
API documentation standards — OpenAPI spec version, example requirements, and changelog conventions
05

Performance & Scalability

Budgets, targets & load requirements

Performance requirements are the most commonly under-specified part of any PRD — teams say "it should be fast" and discover at launch that "fast" means different things to different stakeholders. SpecGraph captures concrete performance budgets, load targets, and scalability constraints upfront. Every specification includes measurable targets that coding agents can optimize for, turning vague expectations into testable acceptance criteria.

Page load budgets — Largest Contentful Paint, First Input Delay, Cumulative Layout Shift, and Time to Interactive targets
API response time SLAs — p50, p95, and p99 latency targets per endpoint category (read, write, search, batch)
Concurrent user targets — expected daily active users, peak concurrent sessions, and geographic distribution
Database query budgets — max query time, N+1 detection rules, connection pool sizing, and index requirements
Bundle size limits — JavaScript budget per route, image optimization rules, and lazy loading boundaries
Scalability architecture — horizontal scaling triggers, auto-scaling policies, caching layers, and CDN strategy
06

Data Architecture

Modeling, migrations & governance

Data decisions made during spec phase are the hardest to change later — wrong normalization, missing indexes, or unclear ownership boundaries compound into technical debt that haunts teams for years. SpecGraph captures your data architecture standards early: naming conventions, relationship patterns, migration strategies, and governance rules. The result is specifications where every entity, every field, and every relationship follows your organization's data playbook.

Naming conventions — table names, column names, enum values, foreign key patterns, and index naming rules
Schema design patterns — normalization level, soft delete strategy, audit columns (created_at, updated_at, deleted_at)
Migration strategy — forward-only migrations, rollback requirements, zero-downtime DDL rules, and seed data policies
Data ownership — which team owns which tables, approval process for schema changes, and cross-domain access rules
Backup and recovery — RPO/RTO targets, point-in-time recovery windows, and disaster recovery testing cadence
Data lifecycle — retention policies per data category, archival strategy, and purge automation requirements
How it works

Upload once.
Enforce everywhere.

Upload your standards

Drop in your design system PDFs, tech stack decision records, security policy documents, or compliance frameworks. Any format — PDF, DOCX, TXT, images.

AI structures them

AI reads your documents and generates structured specifications for each guardrail — brand tokens, approved technologies, compliance requirements — organized and ready to enforce.

Every spec respects them

From PRD generation to wish evaluation to final export, your guardrails travel with every specification. AI agents receive your constraints alongside the requirements.

The difference

Without guardrails,
specs drift.

Without guardrails
×Engineering picks a framework the security team hasn't approved
×Design team uses colors that violate brand guidelines
×Third-party dependencies fail compliance audit
×Authentication model doesn't meet SOC 2 requirements
×Specs reference deprecated APIs and unsupported tooling
×Discovered at code review — months of rework
With SpecGraph guardrails
Every spec references your approved tech stack by default
AI-generated PRDs include your brand tokens and design system
Compliance frameworks are baked into every requirement
Authentication and authorization follow your security policies
Dependencies are validated against your approved list
Constraints enforced at spec time — not discovered at code review

Your design system.
Your tech stack.
Your compliance.
Every specification.