|
| 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 | +# Cloud Sync Tuner — Project Topology |
| 6 | + |
| 7 | +## System Architecture |
| 8 | + |
| 9 | +``` |
| 10 | + ┌─────────────────────────────────────────┐ |
| 11 | + │ USER / TERMINAL │ |
| 12 | + │ (Ada TUI / CLI Interface) │ |
| 13 | + └───────────────────┬─────────────────────┘ |
| 14 | + │ |
| 15 | + ▼ |
| 16 | + ┌─────────────────────────────────────────┐ |
| 17 | + │ CLOUD SYNC TUNER (ADA) │ |
| 18 | + │ (Configuration, VFS Management) │ |
| 19 | + └──────────┬───────────────────┬──────────┘ |
| 20 | + │ │ |
| 21 | + ▼ ▼ |
| 22 | + ┌───────────────────────┐ ┌────────────────────────────────┐ |
| 23 | + │ ZIG FFI INTERFACE │ │ SDP SECURITY (CICADA) │ |
| 24 | + │ - zig-rclone │ │ - Post-quantum Identity │ |
| 25 | + │ - zig-wireguard │ │ - Unix Socket IPC │ |
| 26 | + │ - zig-fuse-ext │ │ - WireGuard Tunnel │ |
| 27 | + └──────────┬────────────┘ └──────────┬─────────────────────┘ |
| 28 | + │ │ |
| 29 | + └────────────┬─────────────┘ |
| 30 | + ▼ |
| 31 | + ┌─────────────────────────────────────────┐ |
| 32 | + │ SYSTEM LAYER │ |
| 33 | + │ ┌───────────┐ ┌───────────┐ ┌───────┐│ |
| 34 | + │ │ librclone │ │ libfuse3 │ │ libwg ││ |
| 35 | + │ └───────────┘ └───────────┘ └───────┘│ |
| 36 | + └───────────────────┬─────────────────────┘ |
| 37 | + │ |
| 38 | + ▼ |
| 39 | + ┌─────────────────────────────────────────┐ |
| 40 | + │ EXTERNAL CLOUD APIS │ |
| 41 | + │ (Dropbox, GDrive, OneDrive) │ |
| 42 | + └─────────────────────────────────────────┘ |
| 43 | +
|
| 44 | + ┌─────────────────────────────────────────┐ |
| 45 | + │ REPO INFRASTRUCTURE │ |
| 46 | + │ Justfile / GPR .machine_readable/ │ |
| 47 | + │ Wolfi Containers Laminar Integration │ |
| 48 | + └─────────────────────────────────────────┘ |
| 49 | +``` |
| 50 | + |
| 51 | +## Completion Dashboard |
| 52 | + |
| 53 | +``` |
| 54 | +COMPONENT STATUS NOTES |
| 55 | +───────────────────────────────── ────────────────── ───────────────────────────────── |
| 56 | +CORE APPLICATION |
| 57 | + Ada TUI Interface ██████████ 100% Menu navigation stable |
| 58 | + rclone VFS Config ██████████ 100% Optimal cache modes verified |
| 59 | + Smart Sync Logic ████████░░ 80% Bandwidth scheduling refining |
| 60 | +
|
| 61 | +INTERFACE & SECURITY |
| 62 | + Zig FFI Bridge ██████████ 100% rclone/wg/fuse bindings stable |
| 63 | + SDP (Cicada) ██████████ 100% PQ identity integration active |
| 64 | + FUSE Mount Management ██████████ 100% Mount/unmount verified |
| 65 | +
|
| 66 | +DESKTOP & ACCEL |
| 67 | + System Tray Daemon ██████░░░░ 60% Sync status icon active |
| 68 | + File Manager Ext ████░░░░░░ 40% Nautilus/Dolphin icons pending |
| 69 | + aria2 Acceleration ██████████ 100% Multi-connection fetch active |
| 70 | +
|
| 71 | +REPO INFRASTRUCTURE |
| 72 | + Justfile ██████████ 100% Standard build tasks |
| 73 | + Wolfi/nerdctl build ██████████ 100% Reproducible containers |
| 74 | + .machine_readable/ ██████████ 100% STATE.a2ml tracking |
| 75 | +
|
| 76 | +───────────────────────────────────────────────────────────────────────────── |
| 77 | +OVERALL: █████████░ ~90% v1.0 Production-ready |
| 78 | +``` |
| 79 | + |
| 80 | +## Key Dependencies |
| 81 | + |
| 82 | +``` |
| 83 | +Ada TUI ──────► Zig FFI ──────► libfuse3 ──────► OS Mount |
| 84 | + │ │ |
| 85 | + ▼ ▼ |
| 86 | + libwireguard ───► librclone ───► Cloud API |
| 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