The TUI and UI integration tests moved under tests/all; comments and
step docs name the new paths, and docs/H.2.md and AGENTS.md give the
--test all commands.
Port Effect CLI's wizard: it asks for the selected command's flags and arguments,
or for a subcommand, with Effect's select, confirm, toggle, integer, and text prompts,
prints the command line, and runs it after a confirmation by running the binary
again with it. Required arguments are not checked next to --wizard, so it can ask
for them. The prompts share the Clack kit's raw mode and key decoding.
Port StaticDiagramRenderable's left-drag scrolling and horizontal-wheel capture, record the layout dead ends that show the code as a deviation, and bring the design note up to date.
Port the TS merman parser, layout and drawing: no Rust Mermaid crate draws cells close to TS, and the streaming fallback needs TS's line-numbered syntax errors.
opentui-rust CodeBlock now says whether the closing fence arrived. The LaTeX renderer keeps its last formula only while the fence is open, as TS does, so broken math in a closed fence shows its source before the message completes. Removes F13-latex-closed-fence.
opencode.latex replaces its empty built-in: a sideways-scrolling formula in the theme text colors, the source when the math does not parse, and the last formula that parsed while a fence streams. P-COMP fixtures of the TS renderer in the transcript Markdown match every cell; the remaining differences are under parity/deviations/F13-latex-*. The stop case needs opentui-rust rs-plugin-latex.
pulldown-latex fails on \left(A\rightarrow B\right), \displaylines, and \cfrac[l], so the crate ports the TS parser, layout, and tables (docs/P.2.md). A P-ORACLE over 207 sources from packages/latex tests matches TS exactly.
A scenario step { click: [x, y] } sends a left press and release: mockMouse.click on the TS side, TestApp::click on the Rust side. E.20 uses it to open the working directory dialog.
Lists the grammar crates per feature, the five opentui-rust already links, the substitutes, and the measured cost of the default grammars feature over the oc-rust tip.
carbon-1: a union member that is itself a union with several tags joins the
outer tag, so SessionLogItem routes log.synced to LogSynced and its tag()
delegates to the inner enum.
carbon-2: Schema.NonEmptyArray(T) is Vec<T>, so form fields and tool
content are typed (FormField, ToolContent).
carbon-3: Ref_1 twins that Rust decodes the same as Ref share its type
(FormInfo, ShellInfo, FormAnswer, the inbox payloads, message parts).
carbon-4: untagged unions get a generated Deserialize that skips a member
whose required literal field holds another value, so an LSP server entry
with disabled: false keeps its command.
carbon-5: generated errors implement TaggedError, and DeclaredError::decode
checks the tag.
Call sites in crates/store and crates/ui follow the renamed types.
The migration poll starts 1 s after mount, so a fast scenario sometimes missed it; the runner now stays open past it. The placeholder mask now runs to the end of the row, since placeholders differ in length. Six replays give the same files.
One small file per scenario, found by glob, so the MS1 steps can add theirs without a shared list. TS records cells and requests; Rust replays them over an in-memory transport.
The palette lists reachable commands while its dialog holds the modal mode, so base-mode commands never showed. Commands now sit in a global layer without bindings, and separate layers bind their keys (app.tsx:1303-1335).
Threads, the shared context, routes and views, keys, theme, the module tree and its call-site stubs, and how the TUI is built over an injected client for tests.
parity/oracle/F.5-config.ts drives the real jsonc-parser, Effect
decoder, Config layer, migration, model.json repository, storage, and
JSONL parsers. config_interop.rs compares 293 JSONC cases, 46 decode
and 20 resolve cases, the V1 migration, and byte-equal files over
seven cli.json scenarios with TS-only, Rust-only, and alternating
clients; TS also waits on the Rust locks. Fixes the array removal edge
the corpus found and records the remaining edge cases as deviations.
A fake server serves a scenario's route table and logs requests. P-CLI runs the TS CLI from source and opencode-rs against it in isolated homes and compares exit code, stdout, stderr and requests. P-PTY runs both under a PTY through OpenTUI's embedded terminal and compares the OSC log and screen checkpoints.
The keymap layer on opentui::keymap: generated keybind names, config resolution, the Provider's addons, layers, modes, and the P-ORACLE against @opentui/keymap.
All 48 commands of the TypeScript CLI with clap derive, proven against the dumped Spec tree. A pre-pass and a post-parse check keep the Effect CLI behaviors scripts see: --no-<flag>, boolean literals, repeated flags, k=v values, -w without a following value, the scope of --standalone and --server, and root flags before a subcommand. Help, version, completions for six shells, exit code 1 on usage errors, and stdout that ignores EPIPE. Handlers are stubs that name their step; the root command reports that the TUI is not built yet.