|
| 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 | +# stapeln — Project Topology |
| 6 | + |
| 7 | +## System Architecture |
| 8 | + |
| 9 | +``` |
| 10 | + ┌─────────────────────────────────────────┐ |
| 11 | + │ OPERATOR / ADMIN │ |
| 12 | + │ (Visual Designer / Drag-and-Drop)│ |
| 13 | + └───────────────────┬─────────────────────┘ |
| 14 | + │ |
| 15 | + ▼ |
| 16 | + ┌─────────────────────────────────────────┐ |
| 17 | + │ UI LAYER (RESCRIPT TEA) │ |
| 18 | + │ ┌───────────┐ ┌───────────────────┐ │ |
| 19 | + │ │ Paragon │ │ Cisco View │ │ |
| 20 | + │ │ (Vertical)│ │ (Network Topo) │ │ |
| 21 | + │ └─────┬─────┘ └────────┬──────────┘ │ |
| 22 | + │ ┌─────▼─────┐ ┌────────▼──────────┐ │ |
| 23 | + │ │ Lago Grey │ │ Simulation │ │ |
| 24 | + │ │ (Images) │ │ Mode (WASM) │ │ |
| 25 | + │ └─────┬─────┘ └────────┬──────────┘ │ |
| 26 | + └────────│─────────────────│──────────────┘ |
| 27 | + │ │ |
| 28 | + ▼ ▼ |
| 29 | + ┌─────────────────────────────────────────┐ |
| 30 | + │ BACKEND CORE (ELIXIR) │ |
| 31 | + │ (Phoenix, GraphQL, Orchestration) │ |
| 32 | + └──────────┬───────────────────┬──────────┘ |
| 33 | + │ │ |
| 34 | + ▼ ▼ |
| 35 | + ┌───────────────────────┐ ┌────────────────────────────────┐ |
| 36 | + │ REASONING ENGINE │ │ SECURITY & DATA │ |
| 37 | + │ - miniKanren (Guile) │ │ - VeriSimDB (Multimodal) │ |
| 38 | + │ - OWASP Rules │ │ - A2ML (Attested Docs) │ |
| 39 | + │ - Gap Analysis │ │ - K9-SVC (Nickel Contracts) │ |
| 40 | + └──────────┬────────────┘ └──────────┬─────────────────────┘ |
| 41 | + │ │ |
| 42 | + └────────────┬─────────────┘ |
| 43 | + ▼ |
| 44 | + ┌─────────────────────────────────────────┐ |
| 45 | + │ CONTAINER RUNTIME │ |
| 46 | + │ (Podman, Firewalld, nftables) │ |
| 47 | + └─────────────────────────────────────────┘ |
| 48 | +
|
| 49 | + ┌─────────────────────────────────────────┐ |
| 50 | + │ REPO INFRASTRUCTURE │ |
| 51 | + │ Deno Tooling .machine_readable/ │ |
| 52 | + │ Justfile / Cargo 0-AI-MANIFEST.a2ml │ |
| 53 | + └─────────────────────────────────────────┘ |
| 54 | +``` |
| 55 | + |
| 56 | +## Completion Dashboard |
| 57 | + |
| 58 | +``` |
| 59 | +COMPONENT STATUS NOTES |
| 60 | +───────────────────────────────── ────────────────── ───────────────────────────────── |
| 61 | +USER INTERFACES |
| 62 | + Paragon/Cisco/Settings Views ██████████ 100% TEA pattern stable |
| 63 | + Lago Grey Designer ██████████ 100% Ice formation logic verified |
| 64 | + Simulation Mode ████░░░░░░ 40% WASM packet kernel prototyping |
| 65 | + Attack Surface Analyzer ████░░░░░░ 40% UI sample data only |
| 66 | +
|
| 67 | +BACKEND & SECURITY |
| 68 | + Phoenix / GraphQL API ████████░░ 80% CRUD endpoints active |
| 69 | + miniKanren Engine ████░░░░░░ 40% Rules scaffolding verified |
| 70 | + Ephemeral Pinholes ██████░░░░ 60% Auto-expiry logic stable |
| 71 | + VeriSimDB Integration ████░░░░░░ 40% Documentation stubs |
| 72 | +
|
| 73 | +REPO INFRASTRUCTURE |
| 74 | + Deno Build Tasks ██████████ 100% rescript@11 verified |
| 75 | + .machine_readable/ ██████████ 100% STATE tracking active |
| 76 | + WCAG 2.3 AAA Compliance ██████████ 100% Accessibility verified |
| 77 | +
|
| 78 | +───────────────────────────────────────────────────────────────────────────── |
| 79 | +OVERALL: ████░░░░░░ ~35% Infrastructure stable, Core maturing |
| 80 | +``` |
| 81 | + |
| 82 | +## Key Dependencies |
| 83 | + |
| 84 | +``` |
| 85 | +miniKanren Rules ──► Gap Analysis ───► Paragon View ───► Security Score |
| 86 | + │ │ │ │ |
| 87 | + ▼ ▼ ▼ ▼ |
| 88 | +VeriSimDB ──────► Trace Audit ─────► Cisco View ──────► Simulation |
| 89 | +``` |
| 90 | + |
| 91 | +## Update Protocol |
| 92 | + |
| 93 | +This file is maintained by both humans and AI agents. When updating: |
| 94 | + |
| 95 | +1. **After completing a component**: Change its bar and percentage |
| 96 | +2. **After adding a component**: Add a new row in the appropriate section |
| 97 | +3. **After architectural changes**: Update the ASCII diagram |
| 98 | +4. **Date**: Update the `Last updated` comment at the top of this file |
| 99 | + |
| 100 | +Progress bars use: `█` (filled) and `░` (empty), 10 characters wide. |
| 101 | +Percentages: 0%, 10%, 20%, ... 100% (in 10% increments). |
0 commit comments