Expand description
Interactive REPL for alimentar (ALIM-SPEC-006)
Implements the Interactive Andon concept from the CLI & REPL Quality Specification.
§Design Principles (Toyota Way)
- Genchi Genbutsu (Go and See): Interactive data inspection without compilation
- Jikotei Kanketsu (Self-completion): Complete data quality tasks in one environment
- Poka-Yoke (Mistake Proofing): Schema-aware autocomplete prevents invalid input
- Andon (Visual Control): Color-coded prompts show dataset health status
§Requirements Implemented
- ALIM-REPL-001: Stateful session with dataset caching
- ALIM-REPL-002: <100ms response time for metadata queries
- ALIM-REPL-003: Schema-aware autocomplete with reedline
- ALIM-REPL-004: Contextual help system
- ALIM-REPL-005: Batuta pipeline integration hooks
- ALIM-REPL-006: Reproducible session export
- ALIM-REPL-007: Progressive disclosure commands
§References
- [5] Nielsen (1993). Usability Engineering - 100ms response threshold
- [16] Perez & Granger (2007). IPython - reproducible sessions
Structs§
- Andon
Prompt - Andon-style prompt for REPL
- Command
Parser - Parser for REPL commands (Poka-Yoke input validation)
- Display
Config - Display configuration for REPL output (Mieruka - Visual Control)
- Repl
Session - Stateful REPL session (ALIM-REPL-001)
- Schema
Aware Completer - Schema-aware completer for Poka-Yoke input validation
Enums§
- Health
Status - Health status for Andon display
- Repl
Command - REPL commands matching batch CLI grammar (Standard Work)
Functions§
- run
- Run the interactive REPL