|
| 1 | +<!-- SPDX-License-Identifier: PMPL-1.0-or-later --> |
| 2 | +<!-- TOPOLOGY.md — Project architecture map and completion dashboard --> |
| 3 | +<!-- Last updated: 2026-02-19 --> |
| 4 | + |
| 5 | +# Checky Monkey — Project Topology |
| 6 | + |
| 7 | +## System Architecture |
| 8 | + |
| 9 | +``` |
| 10 | + ┌─────────────────────────────────────────┐ |
| 11 | + │ USERS / CLIENTS │ |
| 12 | + │ (Browser Ext, CLI, Web HUD) │ |
| 13 | + └───────────────────┬─────────────────────┘ |
| 14 | + │ |
| 15 | + ▼ |
| 16 | + ┌─────────────────────────────────────────┐ |
| 17 | + │ INTERFACE LAYER │ |
| 18 | + │ ┌───────────┐ ┌───────────────────┐ │ |
| 19 | + │ │ Web │ │ API Gateway │ │ |
| 20 | + │ │ Frontend │ │ (GraphQL/REST) │ │ |
| 21 | + │ └─────┬─────┘ └────────┬──────────┘ │ |
| 22 | + └────────│─────────────────│──────────────┘ |
| 23 | + │ │ |
| 24 | + ▼ ▼ |
| 25 | + ┌─────────────────────────────────────────┐ |
| 26 | + │ CORE LOGIC (HASKELL) │ |
| 27 | + │ │ |
| 28 | + │ ┌───────────┐ ┌───────────────────┐ │ |
| 29 | + │ │ Analysis │ │ Ingress │ │ |
| 30 | + │ │ Engine │ │ Gateway │ │ |
| 31 | + │ └─────┬─────┘ └────────┬──────────┘ │ |
| 32 | + │ │ │ │ |
| 33 | + │ ┌─────▼─────┐ ┌────────▼──────────┐ │ |
| 34 | + │ │ CUBS │ │ Distribution │ │ |
| 35 | + │ │ Logic │ │ (IPFS/HTTP) │ │ |
| 36 | + │ └─────┬─────┘ └────────┬──────────┘ │ |
| 37 | + └────────│─────────────────│──────────────┘ |
| 38 | + │ │ |
| 39 | + ▼ ▼ |
| 40 | + ┌─────────────────────────────────────────┐ |
| 41 | + │ DATA LAYER │ |
| 42 | + │ ┌───────────┐ ┌───────────────────┐ │ |
| 43 | + │ │ CUBS DB │ │ PostgreSQL │ │ |
| 44 | + │ │ (Content) │ │ (Metadata) │ │ |
| 45 | + │ └───────────┘ └───────────────────┘ │ |
| 46 | + └─────────────────────────────────────────┘ |
| 47 | +
|
| 48 | + ┌─────────────────────────────────────────┐ |
| 49 | + │ REPO INFRASTRUCTURE │ |
| 50 | + │ Nix / flake.nix .machine_readable/ │ |
| 51 | + │ Justfile Tri-Perimeter CF │ |
| 52 | + └─────────────────────────────────────────┘ |
| 53 | +``` |
| 54 | + |
| 55 | +## Completion Dashboard |
| 56 | + |
| 57 | +``` |
| 58 | +COMPONENT STATUS NOTES |
| 59 | +───────────────────────────────── ────────────────── ───────────────────────────────── |
| 60 | +CORE ENGINE (HASKELL) |
| 61 | + Ingress Gateway ████░░░░░░ 40% Greasy Fork/Git scrapers pending |
| 62 | + Analysis Engine ██████░░░░ 60% Static analyzer scaffolding |
| 63 | + CUBS Logic ████████░░ 80% Content hashing stable |
| 64 | + Distribution (IPFS) ████░░░░░░ 40% Kubo integration active |
| 65 | +
|
| 66 | +INTERFACES & DB |
| 67 | + API Gateway (Servant) ██████████ 100% GraphQL/REST types stable |
| 68 | + Web Frontend (ReScript) ██░░░░░░░░ 20% UI components prototyping |
| 69 | + PostgreSQL Schema ██████████ 100% Relational metadata verified |
| 70 | +
|
| 71 | +REPO INFRASTRUCTURE |
| 72 | + Nix Development Env ██████████ 100% Reproducible builds verified |
| 73 | + Justfile ██████████ 100% Build/Test automation |
| 74 | + .machine_readable/ ██████████ 100% STATE.a2ml tracking |
| 75 | +
|
| 76 | +───────────────────────────────────────────────────────────────────────────── |
| 77 | +OVERALL: █████░░░░░ ~50% Core pipeline functional, UI pending |
| 78 | +``` |
| 79 | + |
| 80 | +## Key Dependencies |
| 81 | + |
| 82 | +``` |
| 83 | +Ingress ──────► Analysis Engine ──────► CUBS Store ──────► Distribution |
| 84 | + │ │ │ |
| 85 | + ▼ ▼ ▼ |
| 86 | + Metadata Sync ─────────► API Layer ────────► Clients |
| 87 | +``` |
| 88 | + |
| 89 | +## Update Protocol |
| 90 | + |
| 91 | +This file is maintained by both humans and AI agents. When updating: |
| 92 | + |
| 93 | +1. **After completing a component**: Change its bar and percentage |
| 94 | +2. **After adding a component**: Add a new row in the appropriate section |
| 95 | +3. **After architectural changes**: Update the ASCII diagram |
| 96 | +4. **Date**: Update the `Last updated` comment at the top of this file |
| 97 | + |
| 98 | +Progress bars use: `█` (filled) and `░` (empty), 10 characters wide. |
| 99 | +Percentages: 0%, 10%, 20%, ... 100% (in 10% increments). |
0 commit comments