# ============================================================================== # AI-Native Unified Process (UP-AI v1.0) - Declarative Technology Profile # ============================================================================== # This configuration file defines the active architecture, technology stack, # archetype (greenfield vs. brownfield), testing frameworks, and integration # sandboxes for the target project. # # All UP-AI agent skills dynamically read this profile during Inception, # Elaboration, Construction, and Transition phases. # ============================================================================== project: name: "Universal Enterprise Platform" code: "UEP" version: "1.0.0" description: "Enterprise software modern platform" # Archetype: 'greenfield' (0-to-1 development) or 'brownfield' (legacy modernization/migration) archetype: "greenfield" # Inception Configuration inception: # Source document paths requirements_inputs: - "01_BRD/PRD_Specification.md" # Brownfield-only sources (ignored if archetype is greenfield) legacy_sources: source_code_dir: "02_legacy_source_code" database_dump_dir: "02_legacy_source_code/schema" screenshots_dir: "03_legacy_screen_shots" # Architecture & Target Technology Stack stack: architecture_pattern: "modular_monolith" # Options: modular_monolith | microservices | event_driven | serverless multi_tenancy: enabled: true model: "row_level_security" # Options: row_level_security | schema_per_tenant | database_per_tenant backend: language: "python" # Options: python | typescript | go | java | csharp | rust framework: "fastapi" # Options: fastapi | django | express | nestjs | gin | spring_boot | dotnet_core orm: "sqlalchemy" # Options: sqlalchemy | prisma | typeorm | gorm | hibernate | ef_core migrations: "alembic" # Options: alembic | prisma | flyway | golang_migrate | dbup api_standard: "rest_openapi" # Options: rest_openapi | graphql | grpc test_framework: "pytest" coverage_tool: "pytest-cov" frontend: framework: "react" # Options: react | vue | angular | svelte | nextjs | flutter language: "typescript" state_management: "zustand" # Options: zustand | redux_toolkit | pinia | context_api ui_library: "tailwind_shadcn" # Options: tailwind_shadcn | mui | ant_design | vanilla_css design_system_tokens: "04_generated_documentation/06_wireframes/DESIGN.md" test_framework: "vitest" e2e_framework: "playwright" authentication: provider: "keycloak" # Options: keycloak | auth0 | cognito | supabase_auth | firebase_auth | custom_oidc protocol: "oidc_pkce" token_standard: "jwt_bearer" authorization_model: "rbac_abac" # Options: rbac | rbac_abac | casbin | opa database: primary: "postgresql" # Options: postgresql | mysql | mariadb | mongodb | dynamodb cache_and_streams: "valkey" # Options: valkey | redis | none search_engine: "none" # Options: elasticsearch | opensearch | pg_trgm | none # Wave 0 Integration Sandboxes # Every third-party external dependency MUST declare a deterministic mock/sandbox adapter. sandboxes: - id: "identity_provider" service_name: "Auth & Identity" mock_adapter_path: "sandbox/identity_mock.py" mock_mode: "deterministic" # Options: deterministic | replay | live_proxy - id: "payment_gateway" service_name: "Payment & Settlement" mock_adapter_path: "sandbox/payment_mock.py" mock_mode: "deterministic" - id: "messaging_service" service_name: "SMS / Email Notification" mock_adapter_path: "sandbox/notification_mock.py" mock_mode: "deterministic" # Governance & Process Tailoring (CMMI Level 3 / UP-AI v1.1) governance: # Tailoring Tier Options: # - 'tier_1_high_assurance' (Mission-critical / Financial: All 18 stages, >=95% coverage across all tiers, dual QA) # - 'tier_2_standard_enterprise' (Default: Core UP flow, differentiated coverage, standard QA deliverables) # - 'tier_3_fast_track' (Internal prototypes: Direct to construction, unit/smoke testing, minimal ceremony) tailoring_tier: "tier_2_standard_enterprise" enforce_deterministic_gates: true gate_validator_script: "scripts/verify_traceability_gates.py" # Quality Targets & Gate 14.1 Mandates quality_targets: # Differentiated Coverage Budgets (UP-AI v1.1) coverage_thresholds: backend_domain_fsm: 95.0 # Hard gate for core business FSMs, algorithms, security integration_adapters: 90.0 # Deterministic sandbox verification frontend_components: 80.0 # UI component branch coverage + mandatory Playwright E2E test_coverage_threshold: 95.0 # Baseline fallback required_test_dimensions: - "happy_path" - "alternate_and_boundary" - "negative_validation_failures" - "fsm_invariants_and_concurrency" required_test_levels: - "unit" - "api_contract_bruno" - "browser_e2e_playwright" - "smoke" - "manual_qa_workbook_21_sheets" # Enforced by Gate 14.1