Workbench
Loading Explorer Lesson and Evidence Route
The guided workbench will appear after the first sample finishes loading.
Explorer helps you check whether an output is actually connected to real inputs or only looks like it is.
The tools can identify ignored inputs and literal-derived results. Those findings do not establish who wrote the code or whether an intentional constant is a defect.
You edit Bosatsu. Bosatsu checks recursion and pattern coverage; Yichus supplies explicit IO operations through its runtime. Those checks do not establish the behavior of arbitrary external implementations. Yichus is this site's static-analysis toolkit (overview). It compiles Bosatsu in your browser to Matchless IR, the compiled typed form the checkers read, and it answers queries over the compiled program's dependency graph.
The queries report connectivity facts, not verdicts: an output with literal-only ancestry can be a legitimate constant (load the Pure computation sample to see that case), and a connected output can still be wrong. The judgment stays with you. Same vocabulary as input connectivity and the fact tools.
Takeaway: use this workbench to inspect typed structure, then make the correctness judgment with domain context. The Explorer guide recipe gives the matching CLI route.
Do It lets you perform each action in the
workbench. Watch UI Agent presents the same lesson
as scripted browser actions. Watch Terminal Agent
presents scripted CLI and MCP calls (MCP is the tool protocol the
browser and Node engines speak); it does not start an
autonomous agent. All three modes use the current sample and
lesson definitions in
explorer-lessons.js.
When a lesson says Make the judgment, pause and make a mental prediction before reading the evidence. The page has no answer-recording control; the prediction is for comparison with the explanation that follows.
Replay lesson reloads the lesson sample at its worked binding and opens the guide. Back to worked example reloads the same sample and focus without opening the guide. Free play keeps the lesson context while allowing edits and sample changes; its button returns to guided flow. Takeaway: any experimental edit has a one-click route back to the committed sample in the demo source directory.
Sample Source and Compiled Scope
Takeaway: the editor contains the exact Bosatsu package sent to the in-browser compiler. Each preset comes from the committed Explorer samples.
Work with your agent
WebMCP connects your agent to this page. Connection and tool instructions. Use yichus_page_feedback to read the current editor and displayed feedback. The agent can use yichus_page_edit to update the current source and yichus_page_action to run a listed button, then read feedback for completion and diagnostics. Autocomplete suggestions remain available for you to accept with Tab.
Analysis and navigation run in a background worker. Editing, resetting, or switching samples clears the previous results and cancels pending work. After Analyze, wait for “Analysis complete” before reading the new results. A failed analysis leaves no program available for navigation.
Compiler Diagnostics
Takeaway: fix the reported file, line, and column before interpreting any Explorer result. The browser compiler route is implemented by ExplorerCompileService.
Matchless Explorer Results
The rendered explorer uses the same analysis pipeline as the
yichus CLI: both read Matchless, the compiler's
post-typecheck intermediate form, so a browser query and the
matching CLI query report the same facts. Takeaway: start with
the plain-language evidence, then open the raw payload when you
need exact nodes and edges. The
compile service
owns the browser analysis entry point.
Selected Binding Evidence Prompt
Analyze a sample and the guided workbench will tell you what to look for first.
Load a sample, analyze it, and the workbench will surface one plain-language explanation before the raw payload.
The next useful move will appear here once the focused binding is known.
Takeaway: the sentence is a reading aid over the structured result, while the raw payload remains the source of exact field values. The Explorer recipe explains how to reproduce the trace from the CLI.
Where this fits
What this is about: Catch code that ignores its inputs