Technical stack choices align with PRD constraints
Why it matters
Technical constraint violations discovered late are among the most expensive defects to fix. If your PRD required PostgreSQL for compliance reasons and the AI chose SQLite, or if it required a self-hosted deployment and the codebase is locked to a managed platform, you face a rewrite — not a refactor. Vendor lock-in violations against explicit PRD constraints can also carry legal and contractual consequences, particularly in enterprise or regulated environments. ISO 25010:2011 portability measures exactly this: whether the system operates within its specified technical environment.
Severity rationale
High because stack constraint violations discovered after development require partial rewrites to fix and may introduce compliance or contractual risk if the violated constraint was regulatory.
Remediation
Review your package.json and deployment configuration files against each explicit PRD constraint. For database violations, check prisma/schema.prisma or drizzle.config.ts for the provider:
// prisma/schema.prisma
datasource db {
provider = "postgresql" // Verify this matches your PRD constraint
url = env("DATABASE_URL")
}
For deployment constraints, inspect vercel.json, Dockerfile, or fly.toml for managed-service dependencies. If a constraint genuinely cannot be met with the current implementation, document the deviation explicitly in your project notes and get explicit sign-off before proceeding — do not silently violate a PRD constraint.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Goal Alignment Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- iso-25010:2011 · portability.adaptability — Portability — Adaptability
Taxons
History
- 2026-04-18·v1.0.0·Initial import from goal-alignment·automated