TUI Wizard
xript-wiz is an interactive terminal wizard for working with xript manifests. Built in Rust, it dogfoods the xript ecosystem — its UI is rendered via xript-ratatui, the same fragment renderer available to any Rust host application.
Install
Section titled “Install”cargo install xript-wizOr build from source:
cd tools/wizcargo build --releaseThe home screen is a menu of six actions. Use arrow keys or j/k to navigate, Enter to select, q to quit.
The selected item is highlighted with colored borders. Validate, Scaffold, and Sanitize are interactive versions of the corresponding CLI subcommands. Audit and Diff are unique to the wizard.
Analyzes a manifest’s capability coverage and identifies security gaps. Enter a path to a manifest file (with tab completion), then the wizard produces a report.
The report covers:
- Capabilities summary — count and risk distribution (low, medium, high)
- Ungated bindings — bindings without capability gates (potential security surface)
- Unused capabilities — defined but never referenced (dead weight)
- Capability gaps — referenced in bindings but never defined (incomplete manifest)
The report border is green when clean, yellow when issues are found, red on errors.
Compares the current manifest against the version at the last git tag, surfacing what changed in bindings, capabilities, and slots.
The wizard runs git describe --tags to find the last tag, retrieves the old manifest via git show, and diffs the two. Sections with no changes are omitted. If nothing changed, the report reads “No changes since last tag.”
Keybindings
Section titled “Keybindings”| Key | Action |
|---|---|
↑ / k | Navigate up |
↓ / j | Navigate down |
Enter | Select / submit |
Tab | Apply completion suggestion |
Esc | Back to home (or quit from home) |
q | Quit (from home) |
Ctrl+C | Force quit |