|
1 | 1 | <!-- SPDX-License-Identifier: PMPL-1.0-or-later --> |
2 | 2 | <!-- TOPOLOGY.md — Project architecture map and completion dashboard --> |
3 | | -<!-- Last updated: 2026-03-10 --> |
| 3 | +<!-- Last updated: 2026-03-23 --> |
4 | 4 |
|
5 | 5 | # stapeln — Project Topology |
6 | 6 |
|
|
16 | 16 | +-----------------------------------------+ |
17 | 17 | | FRONTEND (RESCRIPT TEA) | |
18 | 18 | | +-----------+ +-------------------+ | |
19 | | - | | 8 Views | | Socket.res | | |
| 19 | + | | 9 Views | | Socket.res | | |
20 | 20 | | | (Tabbed) | | (WebSocket) | | |
21 | 21 | | +-----+-----+ +--------+----------+ | |
22 | 22 | | | ApiClient | | |
|
76 | 76 | ``` |
77 | 77 | COMPONENT STATUS NOTES |
78 | 78 | --------------------------------- ------------------ --------------------------------- |
79 | | -FRONTEND |
80 | | - Frontend UI (8 views) ########.. 80% Views exist; dark mode hardcoded, no durable state sync |
81 | | - Frontend-Backend Wiring ######.... 60% REST wired; WS scaffolded but no live events |
| 79 | +FRONTEND (51 ReScript modules, 0 errors, 0 warnings) |
| 80 | + Frontend UI (9 views) #########. 92% 9 tabs inc. Pipeline Designer; dark mode, undo/redo, auto-save |
| 81 | + Frontend-Backend Wiring #########. 90% REST proxy wired; security/gap views call real API; auto-trigger |
| 82 | + Pipeline Designer (NEW) #########. 90% 3-panel node-graph: canvas, palette, output; 6 templates |
82 | 83 | Lago Grey Designer #######... 70% Catalog + editor; export not fully wired |
83 | | - Drag-and-Drop Canvas #######... 70% Snap-to-grid present; undo/delete partial |
| 84 | + Drag-and-Drop Canvas ########.. 85% Snap-to-grid, full undo/redo stack (50-depth), bezier connections |
| 85 | + Conversational Errors (NEW) #########. 90% UX Manifesto Rule 4; [Fix It] buttons on all API error paths |
84 | 86 | WebSocket Integration #####..... 50% Socket.res exists; no channel push/receive logic |
| 87 | + URL Routing (NEW) ########## 100% AppRouter: URL sync, back/forward, 404 page |
85 | 88 |
|
86 | 89 | BACKEND & API |
87 | | - Phoenix API (REST+GQL+WS) ########.. 80% CRUD + validation live; some endpoints thin |
88 | | - Auth (JWT + Plug) ######.... 60% Module exists; no session/token refresh/revoke |
89 | | - Settings Persistence #######... 70% GenServer store; no DB persistence yet |
| 90 | + Phoenix API (REST+GQL+WS) #########. 92% CRUD + validation + security-scan + gap-analysis all verified |
| 91 | + Auth (JWT + Plug) ######.... 60% Module exists; no session/token refresh/revoke; no login UI |
| 92 | + Settings Persistence ########.. 85% DbStore auto-switches GenServer↔PostgreSQL |
90 | 93 | Firewall Config #####..... 50% Schema present; nftables integration absent |
91 | | - Database Integration #####..... 50% Ecto schemas + conditional Repo; no migrations |
| 94 | + Database Integration ########## 100% PostgreSQL via Podman; migrations run; CRUD verified |
92 | 95 | Codegen Engine ########.. 80% Containerfile + compose output works |
93 | 96 |
|
94 | 97 | SECURITY & ANALYSIS |
95 | | - Security Inspector #######... 70% Scanner module exists; miniKanren rules basic |
96 | | - Gap Analysis #######... 70% Analyzer module exists; rule coverage limited |
97 | | - Security Reasoning (miniKanren) ######.... 60% Core module; small rule set, not deeply tested |
| 98 | + Security Inspector #########. 90% Real vulns from backend; miniKanren + checks + ports; empty state UX |
| 99 | + Gap Analysis #########. 90% Real gaps from backend; 8 checks; fix commands; empty state UX |
| 100 | + Security Reasoning (miniKanren) #######... 70% Port analysis + db vulns working; KeyError fixed |
98 | 101 | Post-Quantum Crypto ###....... 30% Module scaffolded; no real XMSS implementation |
99 | | - Stack Validator ########.. 80% 12 check categories defined; some stub-level |
| 102 | + Stack Validator #########. 90% 12 checks verified returning real findings with scores |
100 | 103 |
|
101 | 104 | SIMULATION & EXPORT |
102 | | - Simulation Mode #######... 70% Packet flow UI; no real backend simulation |
103 | | - Export / Import #######... 70% JSON + compose export; K8s/Helm templates only |
| 105 | + Simulation Mode #######... 70% Packet flow UI fully renders; no real backend simulation |
| 106 | + Export / Import ########.. 80% JSON + compose; working file picker→TEA dispatch; error recovery |
104 | 107 |
|
105 | 108 | ABI / FFI |
106 | 109 | Idris2 ABI (Formal Proofs) #########. 90% 8 genuine proofs, no believe_me, 5 postulates |
107 | | - Zig FFI ########.. 80% CRUD + validate + dispatch; CLI bridge partial |
| 110 | + Zig FFI ########.. 80% CRUD + validate + dispatch; real SHA-256 + Ed25519 |
108 | 111 |
|
109 | 112 | DATA & DOCS |
110 | 113 | VeriSimDB Integration ######.... 60% JSONL fallback + remote client; no query UI |
111 | | - Documentation ######.... 60% Extensive docs; many claims aspirational |
| 114 | + Documentation ########.. 80% STATUS.md truth-aligned; TOPOLOGY.md updated 2026-03-23 |
112 | 115 |
|
113 | 116 | --------------------------------------------------------------------------- |
114 | | -OVERALL: #######... ~65% Solid MVP skeleton; many features partial |
| 117 | +OVERALL: ########.. ~82% End-to-end verified: frontend→proxy→backend→PostgreSQL |
115 | 118 | ``` |
116 | 119 |
|
117 | 120 | ## Key Dependencies |
|
0 commit comments