Authoritative design: docs/design/squad-audit-v1.adoc (Squad Audit
v1). Machine-readable state: .machine_readable/6a2/STATE.a2ml
(completion 0, phase “In development”). This file must not contradict
either.
The diagram below describes the legacy v0 profiles/swipe/listings
stack, which remains in-tree pending a quarantine/removal decision. The
Squad Audit v1 engine lives in packages/shared/src/matching/ and is
not yet wired into any app.
┌─────────────────────────────────────────┐
│ STUDENT USERS │
│ (Web App / Mobile App) │
└──────────┬───────────────────┬──────────┘
│ │
▼ ▼
┌───────────────────┐ ┌───────────────────┐
│ REACT WEB CLIENT │ │ EXPO MOBILE APP │
│ (Vite, Tailwind) │ │ (React Native) │
└──────────┬────────┘ └──────────┬────────┘
│ │
└──────────┬───────────┘
│
▼
┌─────────────────────────────────────────┐
│ API LAYER (DENO/NODE) │
│ (Entity Matching, Auth, Listings) │
└──────────┬───────────────────┬──────────┘
│ │
▼ ▼
┌───────────────────────┐ ┌────────────────────────────────┐
│ SHARED PACKAGE │ │ VERISIMDB INTERFACE │
│ - Domain Models │ │ - Hexad encoding │
│ - Compatibility Logic │ │ - Vector/Text search │
└──────────┬────────────┘ └──────────┬─────────────────────┘
│ │
└────────────┬─────────────┘
▼
┌─────────────────────────────────────────┐
│ PERSISTENCE LAYER │
│ (verisimdb - Vector Search) │
└─────────────────────────────────────────┘
┌─────────────────────────────────────────┐
│ REPO INFRASTRUCTURE │
│ Deno-first API .machine_readable/ │
│ Deno Workspace .ac.uk Domain Check │
└─────────────────────────────────────────┘
No completion percentages are claimed here; STATE.a2ml records completion 0, phase “In development”.
| Component | State | Notes |
|---|---|---|
Legacy v0 marketplace ( |
Working, LEGACY |
Profiles / swipe / listings over VerisimDB. |
Matching engine ( |
Active development |
Squad Audit v1 engine per |
|
LEGACY v0 only |
Wired to the legacy swipe + listings flow; not wired to the matching engine. |
|
LEGACY v0 only |
Wired to the legacy flow; not wired to the matching engine. |
Test coverage |
Matching-engine unit tests only |
|
|
Present |
STATE.a2ml is the source of truth for completion status. |
User Profile ───► Hexad Encoding ───► verisimdb (Write)
│ │ │
▼ ▼ ▼
Matching UI ◄───► API Layer ◄───────► Vector Search
This file is maintained by both humans and AI agents. When updating:
-
After changing a component’s real state: Update its row in the status table — describe what exists, never a completion percentage
-
After adding a component: Add a new row in the status table
-
After architectural changes: Update the ASCII diagram
-
Date: Update the
Last updatedcomment at the top of this file -
Consistency: Never contradict
.machine_readable/6a2/STATE.a2mlordocs/design/squad-audit-v1.adoc