Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ADR-26037: Smallest Viable Architecture (SVA) Constraint Framework


title: Smallest Viable Architecture (SVA) Constraint Framework date: 2026-03-02 tags:


ADR-26037: Smallest Viable Architecture (SVA) Constraint Framework

Date

2026-03-02

Status

accepted

Context

Smallest Viable Architecture (SVA) is the governing design principle across 14+ ADRs, three consultant prompts, and the requirements engineering glossary. Despite this, SVA has never been formally defined in its own ADR. Three consultant prompts define SVA constraints with incompatible numbering:

Constraint conceptLocal AI (C1-C4)DevOps (C1-C4)Hybrid (C1-C5)
Non-CLI/non-GitOps workflowC1C1C2
Not runnable locallyC2C2—
Vendor lock-in——C1
Unversionable artifactsC3C3C3
Unjustified orchestrationC4C4C4
Scalability limits——C5

Inconsistency Evidence

The Missing Constraint

The changelog self-filtering warning plan exposed a critical gap. The original plan proposed extending validate_commit_msg.py with 4 functions, 1 dataclass, and 13 tests. This plan satisfied all existing C1-C4 constraints, yet was correctly rejected during implementation because generate_changelog.py --verbose already provided the exact functionality. The plan would have duplicated filtering logic across two scripts. No existing constraint captured this violation.

Decision

Adopt a canonical C1-C6 SVA constraint framework, redesigned from first principles. Each constraint carries a -0.10 penalty on the P-score in the WRC (Weighted Response Confidence) calculation.

C1: Automation-First Operation

C2: Vendor Portability

C3: Git-Native Traceability

C4: Proportional Complexity

C5: Reuse Before Invention

C6: Bounded Scalability

Design Note: “Runnable Locally” (old local C2)

Intentionally dropped as a universal constraint. “Runs on CPU or consumer VRAM” is a deployment context specific to the local AI consultant’s scope, not a universal architectural principle. The hybrid consultant correctly omitted it. For the local AI consultant, this remains part of the P_raw scoring (local stack suitability assessment), not a penalty deduction.

Consequences

Positive

Negative / Risks

Alternatives

References

Participants

  1. Vadim Rudakov

  2. Claude Opus 4.6 (AI Systems Architect)