diff --git a/.github/scripts/id-pr-checks.txt b/.github/scripts/id-pr-checks.txt index 7b64f89fe8..5f8cc55fb9 100644 --- a/.github/scripts/id-pr-checks.txt +++ b/.github/scripts/id-pr-checks.txt @@ -35,6 +35,7 @@ prod-lines-check test-unit test-crate-integration test-native-shell +test-tui-shell test-rust-examples test-shard-0 test-shard-1 diff --git a/.github/test-suite-registry.json b/.github/test-suite-registry.json index 6505f237b3..73c949e2ad 100644 --- a/.github/test-suite-registry.json +++ b/.github/test-suite-registry.json @@ -312,6 +312,19 @@ "status": "mapped", "notes": "The native-shell check runs every integration target in this non-default workspace member; suite paths trued up 2026-11-17 while repairing the registry ratchet (#10329)." }, + { + "id": "id.tui-shell.capability-statement", + "paths": ["pkgs/id/crates/id-tui-shell/tests/*.rs"], + "invocation": "nix flake check ./pkgs/id (check test-tui-shell runs cargo nextest -p id-tui-shell)", + "venue": { + "workflow": ".github/workflows/id-check.yml", + "job_step": "check_each / test-tui-shell", + "state": "active", + "dispatchable": true + }, + "status": "mapped", + "notes": "The tui-shell check runs every integration target in this non-default workspace member; the first target is the capability-statement check recorded for #12818 (shells v2 slice 2, decision D3)." + }, { "id": "id.bench.compare-script", "paths": [".github/scripts/id-bench-compare.test.sh"], diff --git a/pkgs/id/Cargo.lock b/pkgs/id/Cargo.lock index 2ed76d1902..3ab9d0a894 100644 --- a/pkgs/id/Cargo.lock +++ b/pkgs/id/Cargo.lock @@ -5129,6 +5129,13 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "id-tui-shell" +version = "0.1.0" +dependencies = [ + "serde_json", +] + [[package]] name = "id-web" version = "0.1.0" diff --git a/pkgs/id/Cargo.toml b/pkgs/id/Cargo.toml index c4f241e539..a0915c1181 100644 --- a/pkgs/id/Cargo.toml +++ b/pkgs/id/Cargo.toml @@ -31,6 +31,7 @@ members = [ "crates/id-render", "crates/id-native-shell", "crates/id-hw-shell", + "crates/id-tui-shell", "crates/id-cli", "crates/id-import-notion", ] diff --git a/pkgs/id/crates/id-tui-shell/Cargo.toml b/pkgs/id/crates/id-tui-shell/Cargo.toml new file mode 100644 index 0000000000..7a18cb869a --- /dev/null +++ b/pkgs/id/crates/id-tui-shell/Cargo.toml @@ -0,0 +1,45 @@ +[package] +name = "id-tui-shell" +version = "0.1.0" +edition = "2024" +rust-version = "1.96" +description = "Terminal (TUI) shell for id (more-shells v2 slice 2, #12818): the text-native world-session client on the F13.1 shell contract, capability statement recorded per decision D3" +license = "MIT OR Apache-2.0" + +# TUI shell (#12818, design more-shells v2 §2): a workspace member but +# deliberately NOT a default member, like id-native-shell and +# id-hw-shell, so the ordinary `id` build never acquires this shell's +# dependencies. Per decision D3 of the v2 outline, the crate's first +# recorded content is its capability statement (capability-statement.json), +# recorded before implementation starts; the frame-layer implementation +# (feature completion on #12818) builds on it in this crate. + +[dependencies] +serde_json = "1" + +[lints.rust] +unsafe_code = "warn" +rust_2018_idioms = { level = "warn", priority = -1 } +rust_2024_compatibility = { level = "warn", priority = -1 } +missing_debug_implementations = "warn" +missing_docs = "warn" +trivial_casts = "warn" +trivial_numeric_casts = "warn" +unused_lifetimes = "warn" +unused_qualifications = "warn" + +[lints.clippy] +all = { level = "warn", priority = -1 } +pedantic = { level = "warn", priority = -1 } +nursery = { level = "warn", priority = -1 } +cargo = { level = "warn", priority = -1 } + +# Deny critical issues - these indicate bugs or serious problems +# (mirrors pkgs/id/Cargo.toml and the other shell crates). +# Test modules should add: #[allow(clippy::unwrap_used, clippy::expect_used)] +unwrap_used = "deny" +expect_used = "deny" +panic = "deny" +unimplemented = "deny" +todo = "deny" +dbg_macro = "deny" diff --git a/pkgs/id/crates/id-tui-shell/README.md b/pkgs/id/crates/id-tui-shell/README.md new file mode 100644 index 0000000000..259b6c8021 --- /dev/null +++ b/pkgs/id/crates/id-tui-shell/README.md @@ -0,0 +1,63 @@ +# id-tui-shell + +Terminal (TUI) shell for `id` — more-shells v2 slice 2 (issue +#12818; design `doc/2026-11-23T03-17-14Z_design_more_shells_v2/`, +§2, from the native TUI client idea, issue #1071). A ratatui +client speaking the F13.1 shell contract +(`pkgs/id/contract/shell-contract.v1.json`): it covers the full +text-native workflow of a world session — join, read, act, +reconnect under the v1 history-identity rule — at parity with +the browser shell's text surface. It adds no frame kinds and +needs no host change. + +This crate is a workspace member but deliberately **not** a +default member, like the other shells, so the ordinary `id` +build never acquires this shell's dependencies: + +```sh +cargo build -p id # no TUI shell — default members only +cargo build -p id-tui-shell # the TUI shell +cargo test -p id-tui-shell # capability-statement tests +``` + +## Status + +- **Capability statement — recorded** (this slice, per decision + D3 of the v2 outline: the claimed subset is recorded before + implementation starts). See the section below. +- **Feature completion — open** on issue #12818: the frame + builders, session fold, and three-panel presentation (room / + object selector, room/document, chatroom — #1071) land in + this crate on top of the statement, followed by conformance + on the recorded session plus behavioral completion checks + for the workflow, per the v1 gate. + +## Capability statement + +Per the v2 outline (§2 and decision D3), this shell's +capability statement is recorded in +[`capability-statement.json`](capability-statement.json) before +implementation starts, stated plainly in the hardware shell's +style: the client frames it sends (`join`, `input`, `paste`, +`resize`, `chat`, `form_result`, `records`), the server frames +it presents (`snapshot`, `event`, `view`, `form_result_status`, +`records`, and `error` surfaced as a session refusal), the +capability providers it declares (none — no F13.7 provider is +named for the TUI in #1071, the outline, or #12818), its +reconnect rule (history identity; divergence resolves by +re-snapshot, never by merge), and what it excludes by name +(rich rendering, media, provider offers, world hosting and +program authoring, offline reading, agent-profile surfaces). + +The claimed subset is the browser shell's text surface +(`pkgs/id/web/src/world.ts`, `world-form.ts`) — the parity +anchor #12818 names — not the native GUI shell's wider one: +no screen-region subscription, no semantic diffs, no provider +frames. `tests/capability_statement.rs` pins the statement to +the contract file and to the workflow the issue names, so the +record cannot drift from the contract it is a statement +against; when the builders and the session fold land, the +check grows the same builder/fold oracles the native shell's +statement check carries (#10928). The conformance run is +wired into the check — the `test-tui-shell` flake check runs +this crate's test suite. diff --git a/pkgs/id/crates/id-tui-shell/capability-statement.json b/pkgs/id/crates/id-tui-shell/capability-statement.json new file mode 100644 index 0000000000..dcb7d0f8a1 --- /dev/null +++ b/pkgs/id/crates/id-tui-shell/capability-statement.json @@ -0,0 +1 @@ +{"contract":{"file":"pkgs/id/contract/shell-contract.v1.json","name":"id-shell","version":1},"excludes":["rich rendering — scene (3D) surfaces are not rendered; a view is presented as its text (`data`) fallback and, for screen surfaces, as a terminal cell grid","media — audio surfaces and image rendering are not presented, including the intent/byte image protocol sketched in issue #1071: it needs frame kinds the contract does not name, which the F11.12 gate reserves to a contract revision (v2 outline, non-goals)","provider offers — no F13.7 capability providers are declared or answered; no provider is named for the TUI in issue #1071, the v2 outline, or issue #12818, and provider_request frames are not presented","world hosting and program authoring — the browser shell's install_begin/install_chunk/install_end and compile frames are not sent; the TUI is a world-session client, not a hosting or authoring surface","offline reading — not claimed; that is the browser shell's slice-1 surface (issue #10927). The TUI presents a live session, locally hosted or remote","agent-profile surfaces — semantic_diff and screen_subscription frames are not presented; the TUI's screen read is the view frame, as in the browser shell"],"platform":"terminal","posture":"local-first: the shell is a presentation client of a world host — a local host when one is running, otherwise a remote host reached directly over iroh; it hosts no world and implements no hosted or quota surface","presentation":{"error":"not presented as content: an error frame refuses the session and surfaces as a session failure","events":"presented in the chat panel and folded into the room/object selector (chat_posted, region_changed, object_changed, input_applied, program_changed, system_event)","screen":"terminal cell grid (ratatui): the view frame's screen surface rendered as styled terminal cells, with patch negotiation on join as in the browser shell","surface_less_view":"the legacy `data` text fallback, the same rule the terminal shell presents","text_and_form":"deterministic text projection across three panels (room/object selector, room/document, chatroom — issue #1071); form surfaces render as text panels with their actions, answered with form_result"},"presents":["error","event","form_result_status","records","snapshot","view"],"providers":[],"reconnect":"reconnect presents the last applied sequence and the session's history identity (join `after` / `resume_token`); where continuity cannot be established the shell takes a fresh snapshot — divergence resolves by re-snapshot, never by merge (the v1 history-identity rule)","recorded_for":"shells v2 slice 2 (issue #12818); terms per doc/2026-11-23T03-17-14Z_design_more_shells_v2 (issue #6297), section 2 and decision D3 — the claimed subset, recorded before implementation starts","sends":["chat","form_result","input","join","paste","records","resize"],"shell":"id-tui-shell","statement":"shell-capability-statement","transport":"iroh (contract transport 'iroh', alpn /id-world/1)","version":1,"workflow":["join","read","act","reconnect"]} \ No newline at end of file diff --git a/pkgs/id/crates/id-tui-shell/src/lib.rs b/pkgs/id/crates/id-tui-shell/src/lib.rs new file mode 100644 index 0000000000..7a1eb3394c --- /dev/null +++ b/pkgs/id/crates/id-tui-shell/src/lib.rs @@ -0,0 +1,52 @@ +//! Terminal (TUI) shell for `id` — more-shells v2 slice 2 +//! (#12818; design `doc/2026-11-23T03-17-14Z_design_more_shells_v2`, +//! §2 "TUI — feature completion", from #1071). +//! +//! The TUI is a shell in the F13.1 shell contract's terms, not a +//! debug view: a ratatui client covering the full text-native +//! workflow of a world session — join, read, act, reconnect under +//! the v1 history-identity rule — at parity with the browser +//! shell's text surface. +//! +//! Per decision D3 of the v2 outline, the claimed subset is +//! recorded as this shell's capability statement *before* +//! implementation starts. That statement is this crate's first +//! recorded content: [`CAPABILITY_STATEMENT_JSON`] is the verbatim +//! record (`capability-statement.json` at the crate root), and +//! `tests/capability_statement.rs` pins it to the contract file +//! and to the workflow #12818 names, so the claim cannot drift +//! silently from the contract it is a statement against. The +//! frame builders, session fold, and presentation glue of feature +//! completion land in this crate on top of the statement, and the +//! pinning tests grow with them — the same progression the +//! hardware shell (#10929) and the native shell (#10928) followed. + +/// Shell-contract name this client speaks (F13.1). +pub const CONTRACT_NAME: &str = "id-shell"; + +/// Shell-contract major version this shell's statement is +/// recorded against. +pub const CONTRACT_VERSION: u64 = 1; + +/// The TUI shell's recorded capability statement, verbatim: +/// the client frames it sends, the server frames it presents, +/// the F13.7 providers it declares (none), its posture and +/// reconnect rule, and its exclusions by name. The canonical +/// record is `capability-statement.json` at the crate root; +/// this constant embeds that file so the statement ships with +/// the shell it describes. +pub const CAPABILITY_STATEMENT_JSON: &str = include_str!("../capability-statement.json"); + +/// The recorded capability statement, parsed. The canonical +/// record is the JSON text in [`CAPABILITY_STATEMENT_JSON`]; +/// this is a convenience parse of exactly that text. +/// +/// # Errors +/// +/// Returns the `serde_json` error if the recorded statement +/// shipped in this crate is not valid JSON — a build-time +/// defect the crate's capability-statement tests exist to +/// catch. +pub fn capability_statement() -> Result { + serde_json::from_str(CAPABILITY_STATEMENT_JSON) +} diff --git a/pkgs/id/crates/id-tui-shell/tests/capability_statement.rs b/pkgs/id/crates/id-tui-shell/tests/capability_statement.rs new file mode 100644 index 0000000000..baadd998c8 --- /dev/null +++ b/pkgs/id/crates/id-tui-shell/tests/capability_statement.rs @@ -0,0 +1,277 @@ +//! Capability-statement check (issue #12818, shells v2 slice 2): +//! the recorded statement in `capability-statement.json` at the +//! crate root must match ground truth — the F13.1 contract +//! (`pkgs/id/contract/shell-contract.v1.json`) and the workflow +//! the issue names (join, read, act, reconnect under the v1 +//! history-identity rule, at parity with the browser shell's +//! text surface). +//! +//! Decision D3 of the v2 outline records this statement *before* +//! implementation starts, so at this rung the pins are against +//! the contract and the issue: every claimed frame kind exists +//! in the contract, the claimed sets cover the workflow and +//! claim nothing beyond the text surface, and the exclusions +//! are named. When feature completion lands the frame builders +//! and the session fold in this crate, these tests grow the +//! same builder/fold oracles the native shell's statement check +//! carries (#10928) — a shell claiming frames it cannot present +//! is the failure mode the design exists to prevent. + +#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)] + +use std::collections::BTreeSet; +use std::path::PathBuf; + +use serde_json::{Value, json}; + +fn read_json(relative: &str) -> Value { + let path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join(relative); + let text = + std::fs::read_to_string(&path).unwrap_or_else(|e| panic!("read {}: {e}", path.display())); + serde_json::from_str(&text).unwrap_or_else(|e| panic!("parse {}: {e}", path.display())) +} + +fn statement() -> Value { + read_json("capability-statement.json") +} + +fn contract() -> Value { + read_json("../../contract/shell-contract.v1.json") +} + +fn kind_set(statement: &Value, key: &str) -> BTreeSet { + statement[key] + .as_array() + .unwrap_or_else(|| panic!("statement {key} is an array")) + .iter() + .map(|kind| { + kind.as_str() + .unwrap_or_else(|| panic!("statement {key} entries are strings")) + .to_owned() + }) + .collect() +} + +fn contract_kinds(contract: &Value, key: &str) -> BTreeSet { + contract[key] + .as_object() + .unwrap_or_else(|| panic!("contract {key} is an object")) + .keys() + .cloned() + .collect() +} + +fn assert_sorted_unique(statement: &Value, key: &str) { + let entries: Vec<&str> = statement[key] + .as_array() + .expect("array") + .iter() + .map(|kind| kind.as_str().expect("string")) + .collect(); + let mut sorted = entries.clone(); + sorted.sort_unstable(); + sorted.dedup(); + assert_eq!( + entries, sorted, + "statement {key} must be sorted and unique so diffs stay reviewable" + ); +} + +#[test] +fn statement_is_well_formed_and_names_the_contract() { + let statement = statement(); + let contract = contract(); + assert_eq!(statement["statement"], json!("shell-capability-statement")); + assert_eq!(statement["shell"], json!("id-tui-shell")); + assert_eq!(statement["platform"], json!("terminal")); + assert_eq!( + statement["contract"]["name"], contract["contract"], + "statement must name the contract it is a statement against" + ); + assert_eq!(statement["contract"]["version"], contract["version"]); + assert_eq!( + id_tui_shell::CONTRACT_NAME, + contract["contract"].as_str().expect("contract name"), + "the crate's contract constant names the same contract" + ); + assert_eq!( + id_tui_shell::CONTRACT_VERSION, + contract["version"].as_u64().expect("contract version"), + "the crate's contract version matches the contract file" + ); + assert!( + statement["posture"] + .as_str() + .expect("posture") + .contains("local-first"), + "a shell statement records the local-first posture" + ); + let excludes = statement["excludes"].as_array().expect("excludes array"); + assert!(!excludes.is_empty(), "exclusions are named, not implied"); + for exclusion in excludes { + assert!( + !exclusion.as_str().expect("exclusion string").is_empty(), + "each exclusion is a named statement" + ); + } + assert_sorted_unique(&statement, "sends"); + assert_sorted_unique(&statement, "presents"); +} + +#[test] +fn embedded_statement_is_the_recorded_file() { + let path = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("capability-statement.json"); + let on_disk = std::fs::read_to_string(&path).expect("read recorded statement"); + assert_eq!( + id_tui_shell::CAPABILITY_STATEMENT_JSON, + on_disk, + "the statement embedded in the crate is the recorded file, verbatim" + ); + assert_eq!( + id_tui_shell::capability_statement().expect("embedded statement parses"), + statement(), + "the crate's parsed statement is the recorded statement" + ); +} + +#[test] +fn statement_frames_exist_in_the_contract() { + let statement = statement(); + let contract = contract(); + let client_frames = contract_kinds(&contract, "client_frames"); + for kind in kind_set(&statement, "sends") { + assert!( + client_frames.contains(&kind), + "statement sends {kind}, which the contract does not declare as a client frame" + ); + } + let server_frames = contract_kinds(&contract, "server_frames"); + for kind in kind_set(&statement, "presents") { + assert!( + server_frames.contains(&kind), + "statement presents {kind}, which the contract does not declare as a server frame" + ); + } +} + +#[test] +fn statement_covers_the_issue_workflow() { + let statement = statement(); + let workflow: Vec<&str> = statement["workflow"] + .as_array() + .expect("workflow array") + .iter() + .map(|step| step.as_str().expect("workflow step")) + .collect(); + assert_eq!( + workflow, + vec!["join", "read", "act", "reconnect"], + "the statement records the workflow issue #12818 names, in its words" + ); + + let sends = kind_set(&statement, "sends"); + let presents = kind_set(&statement, "presents"); + // join + reconnect: open the session, and re-open it under + // the history-identity rule (snapshot is the re-join read). + assert!(sends.contains("join"), "the workflow joins"); + assert!( + presents.contains("snapshot"), + "a (re)join presents a snapshot" + ); + // read: records queries and their replies, plus the live + // event and view frames the panels render. + assert!(sends.contains("records"), "read is records queries"); + assert!( + presents.contains("records"), + "read presents records replies" + ); + assert!(presents.contains("event"), "read presents journal events"); + assert!(presents.contains("view"), "read presents views"); + // act: key input, paste, chat, and form answers. + for kind in ["input", "paste", "chat", "form_result"] { + assert!(sends.contains(kind), "act sends {kind}"); + } + assert!( + presents.contains("form_result_status"), + "a form answer is presented its status" + ); + assert!( + presents.contains("error"), + "a refusal is presented as error" + ); + + let reconnect = statement["reconnect"].as_str().expect("reconnect rule"); + assert!( + reconnect.contains("history identity"), + "reconnect names the v1 history-identity rule" + ); + assert!( + reconnect.contains("re-snapshot, never by merge"), + "divergence resolves by re-snapshot, never by merge" + ); +} + +#[test] +fn statement_claims_the_text_surface_not_the_native_gui_surface() { + let statement = statement(); + let sends = kind_set(&statement, "sends"); + let presents = kind_set(&statement, "presents"); + // The parity anchor is the browser shell's text surface + // (pkgs/id/web/src/world.ts, world-form.ts). The wider + // native GUI shell's claims (#10928) are not the TUI's: + // no screen-region subscription, no provider frames. + for kind in ["screen_subscribe", "provider_offer", "provider_reply"] { + assert!( + !sends.contains(kind), + "the TUI does not claim {kind}; that is the native GUI shell's surface" + ); + } + for kind in ["semantic_diff", "screen_subscription", "provider_request"] { + assert!( + !presents.contains(kind), + "the TUI does not present {kind}; that is the native GUI shell's surface" + ); + } + // Nor the browser shell's authoring/hosting surface: the + // TUI is a world-session client only. + for kind in ["install_begin", "install_chunk", "install_end", "compile"] { + assert!( + !sends.contains(kind), + "the TUI does not send {kind}; authoring is excluded by name" + ); + } +} + +#[test] +fn statement_declares_no_providers_and_names_its_exclusions() { + let statement = statement(); + let providers = statement["providers"].as_array().expect("providers array"); + assert!( + providers.is_empty(), + "no F13.7 provider is named for the TUI in #1071, the v2 outline, or #12818; \ + the statement declares none rather than inventing one" + ); + let excludes: Vec<&str> = statement["excludes"] + .as_array() + .expect("excludes array") + .iter() + .map(|exclusion| exclusion.as_str().expect("exclusion string")) + .collect(); + // The v2 outline expects rich rendering and media to head + // the list; the rest are the v1 shells' named exclusions + // restated for a session client, plus the agent-profile + // surface this statement does not claim. + for named in [ + "rich rendering", + "media", + "provider offers", + "world hosting and program authoring", + "offline reading", + "agent-profile surfaces", + ] { + assert!( + excludes.iter().any(|exclusion| exclusion.contains(named)), + "exclusions name {named:?}" + ); + } +} diff --git a/pkgs/id/flake.nix b/pkgs/id/flake.nix index 65c97bc765..5faa929420 100644 --- a/pkgs/id/flake.nix +++ b/pkgs/id/flake.nix @@ -382,6 +382,7 @@ test-unit = mkCheck "test-unit" "test-unit"; test-crate-integration = mkCheck "test-crate-integration" "test-crate-integration"; test-native-shell = mkCheck "test-native-shell" "test-native-shell"; + test-tui-shell = mkCheck "test-tui-shell" "test-tui-shell"; # Rust example guests (#7904): plaza-sdk (examples/rust-world) # and rust-counter (examples/rust-counter) are standalone # crates outside the pkgs/id workspace, so no workspace test diff --git a/pkgs/id/just-recipes.json b/pkgs/id/just-recipes.json index 2d4f65d0ee..63b2fd70d8 100644 --- a/pkgs/id/just-recipes.json +++ b/pkgs/id/just-recipes.json @@ -1468,6 +1468,7 @@ { "arguments": [], "recipe": "web-lint", "star": null }, { "arguments": [], "recipe": "test-sandbox", "star": null }, { "arguments": [], "recipe": "test-native-shell", "star": null }, + { "arguments": [], "recipe": "test-tui-shell", "star": null }, { "arguments": [], "recipe": "test-rust-examples", "star": null }, { "arguments": [], "recipe": "test-web-unit", "star": null }, { "arguments": [], "recipe": "test-web-typecheck", "star": null }, @@ -1479,7 +1480,7 @@ "doc": "CI-safe checks (read-only, no modifications) [bun]", "name": "ci", "parameters": [], - "priors": 15, + "priors": 16, "private": false, "quiet": false, "namepath": "ci", @@ -2833,6 +2834,19 @@ "namepath": "test-shard-sandbox", "shebang": false }, + "test-tui-shell": { + "attributes": [{ "group": "test" }], + "body": [["cargo nextest run -p id-tui-shell"]], + "dependencies": [], + "doc": "Run the id-tui-shell capability-statement tests (#12818): non-default workspace member, so the default-member test recipes never run it.", + "name": "test-tui-shell", + "parameters": [], + "priors": 0, + "private": false, + "quiet": false, + "namepath": "test-tui-shell", + "shebang": false + }, "test-unit": { "attributes": [{ "group": "test" }], "body": [["cargo nextest run --all-features --lib"]], diff --git a/pkgs/id/justfile b/pkgs/id/justfile index 0e932a80e9..9b431b310d 100644 --- a/pkgs/id/justfile +++ b/pkgs/id/justfile @@ -36,7 +36,7 @@ alias check-all := check # CI-safe checks (read-only, no modifications) [bun] [group('check')] -ci: cargo-fmt-check web-fmt-check cargo-check clippy-lint clippy-native-shell web-lint test-sandbox test-native-shell test-rust-examples test-web-unit test-web-typecheck roc-test doc build release +ci: cargo-fmt-check web-fmt-check cargo-check clippy-lint clippy-native-shell web-lint test-sandbox test-native-shell test-tui-shell test-rust-examples test-web-unit test-web-typecheck roc-test doc build release @echo "✓ CI checks passed!" # Auto-fix formatting and lint issues @@ -309,6 +309,11 @@ test-crate-integration: test-native-shell: cargo nextest run -p id-native-shell +# Run the id-tui-shell capability-statement tests (#12818): non-default workspace member, so the default-member test recipes never run it. +[group('test')] +test-tui-shell: + cargo nextest run -p id-tui-shell + # Run the Rust example-guest unit tests (#7904): plaza-sdk (examples/rust-world, 9 tests) and rust-counter (examples/rust-counter, 2 tests) are standalone crates outside the pkgs/id workspace, so the workspace test recipes never run them. [group('test')] test-rust-examples: