Explorer + Debugger: Unified Workflow
The yichus explore command now combines static graph analysis (explorer) with
runtime provenance tracing (debugger) in a single daemon. Load source files, explore
the dependency graph, generate traces, and debug values, all through one interface.
Pipeline Demo: Multifile Data Flow
This demo uses a 5-file data pipeline (demos/pipeline/) to show cross-file
exploration and debugging working together.
Files
- types.bosatsu: Record, ValidationResult
- ingest.bosatsu: IO reads from database
- transform.bosatsu: Pure data transforms
- validate.bosatsu: Real vs fabricated validation
- pipeline.bosatsu: Orchestrator
What to look for
- IO ingest and pipeline have real IO operations
- pure transform is fully pure, with no IO
- trust validate has a suspicious
hardcoded_passpath
1. Load and explore (static analysis)
2. Generate trace and debug (runtime provenance)
Architecture
Explorer (Static)
Compiles Bosatsu to Matchless IR, builds a dependency graph, and answers structural queries about which bindings exist, where their IO sites are, and what the trust signals say.
Debugger (Runtime)
Generates a provenance trace from source, capturing every computed value and its dependencies. Supports explain, focus, find-by-value, and path queries.
Unified Daemon
A single Unix socket server holds both the explorer workspace and debugger trace state. Both sides share the same protocol, the same CLI command and the same MCP server.