Skip to content

Terminal UI (TUI)

The TUI is an interactive terminal dashboard for developers working with the regulation corpus and engine.

Overview

  • Language: Rust (Ratatui + Crossterm)
  • Location: packages/tui/
  • Binary: rrtui

What it does

A full-screen terminal application that lets you browse the corpus, run the execution engine, execute BDD tests, validate regulations, inspect execution traces, view pipeline status, and monitor logs. Uses the engine crate directly for execution.

Screens

ScreenPurpose
DashboardOverview of corpus and pipeline status
CorpusBrowse and search law files
EngineExecute laws with custom parameters
TraceInspect execution trace trees
BDDRun and view BDD test results
ValidationRun schema validation
PipelineMonitor harvest/enrich job status
LogsView log output

Running

bash
cargo run -p regelrecht-tui

No configuration needed. Reads the corpus from local filesystem paths.

Further reading