Skip to main content

2. Architecture Constraints

Technical Constraints

ConstraintDescriptionImpact
AI Model LatencySentiment analysis must complete within 30 secondsInfluences choice of model architecture and caching strategy
Data PrivacyProperty and borrower data subject to GLBA regulationsRequires encryption at rest and in transit, audit trails
Regulatory ComplianceValuations must be defensible to federal banking regulatorsAI decisions must be explainable, not black-box
API IntegrationMust integrate with existing lender platforms via REST APIsStandardized data formats, backward compatibility requirements
Browser SupportWeb interface must support modern browsers (Chrome, Firefox, Safari, Edge)No IE11 support required

Organizational Constraints

ConstraintDescriptionImpact
Team Size2-person founding team (technical + business)Emphasis on automation, managed services over custom infrastructure
BudgetSeed-stage startup fundingCloud-native architecture, pay-as-you-go services, no on-prem hardware
Time to MarketMVP required within 6 months for pilot lenderIterative development, core features first, advanced features later
ExpertiseDeep CRE domain knowledge, moderate ML experiencePartner with AI consultants for initial model architecture
ConstraintDescriptionImpact
GLBA ComplianceGramm-Leach-Bliley Act requires financial data protectionSOC 2 Type II certification required, access controls, encryption
Fair Lending LawsValuations cannot exhibit bias based on protected classesBias detection in sentiment scoring, regular fairness audits
Data RetentionFinancial records retention for 7 years (FINRA)Immutable audit logs, long-term archival storage
Export ControlsAI technology subject to export restrictionsGeo-fencing for international customers, compliance reviews

Conventions

ConventionDescriptionRationale
Documentation StandardArc42 template for architecture documentationIndustry-recognized format, investor familiarity, comprehensive coverage
Commit MessagesConventional Commits specificationAutomated changelog generation, semantic versioning alignment
Code StyleESLint + Prettier for TypeScript/JavaScriptConsistent code quality, automated formatting, reduced review friction
Diagram FormatMermaid.js (code-based diagrams)Version control friendly, easy updates, no proprietary tools
API DesignRESTful APIs with OpenAPI 3.0 specificationStandard tooling, auto-generated documentation, client library generation

These constraints shaped the technology decisions documented in Solution Strategy.