RAIA™ Specification

The Pyramid Compliance Cockpit

The Compliance Dashboard is a single-screen hub showing the Golden Record ledger checklist (ID, Safety certificates, Deposit registrations, and Rent ledger tracking) with instant manual action trigger

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

The Compliance Dashboard is a single-screen hub showing the Golden Record ledger checklist (ID, Safety certificates, Deposit registrations, and Rent ledger tracking) with instant manual action trigger

🧩 Section A: In Plain English

The Pyramid Compliance Cockpit

The Compliance Dashboard is a single-screen hub showing the Golden Record ledger checklist — ID, safety certificates, deposit registrations, and rent ledger tracking — with instant manual action triggers.

Forensic Database Audit & Visual Spec

The Pyramid Compliance Cockpit

A real-time forensic database audit of our 249 active tenancies. This dashboard maps raw relational indicators directly to the 3 tiers of our operational pyramids, resolving polymorphic link blindspots and detailing the precise visual architecture for our human agency team.

1. Portfolio Performance & Confidence Score

Source: v_rra_compliance_checklist & tbl_asset_ownership
Active Tenancies

249

100% in tbl_tenancies

Active rental agreements currently in legal occupation.

Tier 1 Compliance

100%

299/299 Landlords Vetted

All beneficial owners are fully resolved, named, and verified in individual registers.

Tier 2 Compliance

26.1%

134 Assets Expired/Missing

Critical risk. Property safety certifications (EICR & Gas Safety) have severe documentation gaps.

Audit Confidence

35.4%

Orphaned Polymorphic Links

Documents physically exist on disk/asset folders but lack critical tenancy-level mapping.

2. The Interactive Pyramid Workflow

Click layers below to filter core database entries

Our operations are governed by three hierarchical layers. By mapping compliance states directly to these layers, we establish an absolute, non-negotiable dependency chain. Staff can click on any layer of the pyramid to isolate failures.

T1: OWNER T2: PROPERTY T3: TENANCY
Active Filter: Tier 1 — Owner AML & Identity

Tier 1 Peak — Owner Onboarding & AML

The sovereign peak. Establishes a verified legal or corporate beneficial identity before any asset onboarding is authorized.

Total Linked Owners:299
Vetting Verification Rate:100%
Database Schemas:tbl_profiles, tbl_persons

3. Real-Time Forensic Database Audit

249 Active Tenancies

A precise cross-referencing audit of our active tenancy agreement records and safety compliance folders. This reveals exactly where unlinked documents exist and must be auto-healed:

Sovereign Tier Document / Certification Type Linked Records Linked Ratio Missing (Gap) Risk Severity
TIER 1 👤 Landlord AML & KYC Verification 299 100% 0 SECURE BASE

4. Red Team Design: Bulletproof Visual Architecture

A standard property-tech dashboard fails during active operation due to a series of systemic visual anti-patterns. We analyze these flaws and optimize the layout for instant, foolproof human scanning:

🚨 Anti-Pattern A: The "92% Compliance" Lie

The Flaw: Displaying high overall percentage scores (e.g. "95% Compliant") which looks reassuring to directors but dangerously hides 5 properties with expired gas certs, which carries immediate personal criminal liability for the landlord.

The Visual Optimization: Absolute Non-Negotiable Gating. The Tier 2 core of the pyramid must turn crimson red and blink if a single active asset has an expired CP12 or EICR. No averages allowed.

🛡️ Anti-Pattern B: The Linkage Blindspot

The Flaw: Showing "Missing AST" on the tenancy ledger card because it was linked at the asset level. Staff spend hours chasing the landlord for a copy, while it actually sits in the asset documents folder.

The Visual Optimization: Bilateral Polymorphic Resolution. The UI displays a warning: "AST linked to Asset but missing on Tenancy" with a one-click **"Resolve & Self-Heal"** button to copy the link.

👁️ Anti-Pattern C: Informational Flooding

The Flaw: Listing hundreds of open document checklist rows. Staff experience alert fatigue and miss critical items.

The Visual Optimization: 3-Tier High-Contrast Heatmap. A single high-contrast mini-pyramid on each property card. Green/Amber/Red. Staff can hover over a tier to immediately see exactly what is missing in a neat popup.

5. Production React Code Snippet (Pyramid Widget)

The development team can drop this exact visual widget directly into the Next.js portal (matching our dual-brand, zero-trust standard):

TypeScript / React
interface PyramidWidgetProps {
  tiers: {
    t1: 'compliant' | 'warning' | 'critical'; // Owner Onboarding
    t2: 'compliant' | 'warning' | 'critical'; // Property Safety
    t3: 'compliant' | 'warning' | 'critical'; // Tenancy Execution
  };
  onSelectTier?: (tier: number) => void;
}

export default function PyramidComplianceWidget({ tiers, onSelectTier }: PyramidWidgetProps) {
  const colors = {
    compliant: 'fill-emerald-500 hover:fill-emerald-400',
    warning: 'fill-amber-500 hover:fill-amber-400 animate-pulse',
    critical: 'fill-rose-600 hover:fill-rose-500 animate-pulse border-red-500',
  };

  return (
    <div className="flex flex-col items-center p-4 bg-[#0a0a0f] border border-[#1f2330] rounded-xl">
      <svg className="w-full max-w-[200px]" viewBox="0 0 200 180" fill="none" xmlns="http://www.w3.org/2000/svg">
        {/* Tier 1 Peak */}
        <polygon 
          onClick={() => onSelectTier?.(1)}
          className={`cursor-pointer transition-all duration-300 ${colors[tiers.t1]}`}
          points="100,10 145,70 55,70" 
        />
        {/* Tier 2 Core */}
        <polygon 
          onClick={() => onSelectTier?.(2)}
          className={`cursor-pointer transition-all duration-300 ${colors[tiers.t2]}`}
          points="55,70 145,70 165,115 35,115" 
        />
        {/* Tier 3 Base */}
        <polygon 
          onClick={() => onSelectTier?.(3)}
          className={`cursor-pointer transition-all duration-300 ${colors[tiers.t3]}`}
          points="35,115 165,115 185,160 15,160" 
        />
      </svg>
    </div>
  );
}
🔧 Section C: Developer Guide

Architecture Details

Component-based UI architecture built on React/Next.js with Tailwind CSS. The system uses a design token system for consistent theming, a component library for reusable UI elements, and server-side rendering for performance. State management follows a unidirectional data flow pattern.

  • Core Component: UI component system and design token engine
  • Data Flow: User Input → Component State → Action Dispatch → Data Fetch → Re-render → Display
  • Integration Points: Next.js, Tailwind CSS, React context, REST API layer

Configuration Reference

Key configuration parameters for this system:

Parameter Type Default Description
theme_mode string light UI theme mode (light, dark, system)
animation_enabled boolean true Enable/disable UI animations
grid_columns integer 12 Layout grid column count
UI ARCHITECTURE — COMPONENT → STATE → RENDER 1. COMPONENT LAYER Reusable UI Components Design Token System 🧩 Components 2. STATE LAYER State Management Action Dispatch ⚛️ State 3. RENDER LAYER SSR / Client Render Responsive Layout 🖥️ Render Component-based UI: design tokens → reusable components → state management → server-side rendering Design tokens · Component library · SSR · Responsive grid · Theme system Components / UI Layer State / Data Flow Render / Presentation Data flow →

Figure 2: UI component architecture — component interaction and data flow.

Troubleshooting

Issue Cause Resolution
Layout shift on page load Missing dimensions on dynamic content Add explicit width/height or aspect-ratio CSS
Theme mismatch CSS variable not defined in current theme Ensure all CSS variables are defined in both light and dark themes
Repo Reference RAIA

This component is part of the RAIA (Real estate Artificial Intelligence Agent) platform mono-repo. Implementation details, API contracts, and integration tests are available in the repository.