Terminal UI (TUI)

An interactive terminal dashboard for browsing the corpus and running the engine.

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

cargo run -p regelrecht-tui

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

Further reading

RegelRecht

An exploration by Bureau Architectuur of the Dutch Ministry of the Interior into the possibilities of transparent, executable legislation.

Links

GitHub repository
How it works
Stay informed
Documentation

Contact

regelrecht@minbzk.nl

Part of

Bureau Architectuur
Ministry of the Interior and Kingdom Relations