Craft Anything: understand how any software works, and craft your own.
Rust
Let people resize the plan above the prompt box, and keep the size (#829)
BFlat12214281a298
diff --git a/crates/ui-egui/src/fr.tsv b/crates/ui-egui/src/fr.tsvindex ad2a6f35..99db4c4d 100644--- a/crates/ui-egui/src/fr.tsv+++ b/crates/ui-egui/src/fr.tsv@@ -877,4 +877,5 @@ Close window Fermer la fenêtreFull screen Plein écranZoom Réduire/agrandirBring all to front Tout ramener au premier plan+Drag to give the plan more or less room; double-click to reset Faites glisser pour donner plus ou moins de place au plan ; double-cliquez pour rétablirCopy the message Copier le messagediff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex 9736aa42..a21ff9b1 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -1442,4 +1442,5 @@ Close window Zavřít oknoFull screen Celá obrazovkaZoom ZvětšitBring all to front Vše do popředí+Drag to give the plan more or less room; double-click to reset Přetažením dáte plánu víc nebo míň místa; dvojklikem vrátíte výchozí výškuCopy the message Zkopírovat zprávudiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex 2badea0f..3adb7dc7 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -1442,4 +1442,5 @@ Close window Fenster schließenFull screen VollbildZoom ZoomenBring all to front Alle nach vorne bringen+Drag to give the plan more or less room; double-click to reset Ziehen, um dem Plan mehr oder weniger Platz zu geben; Doppelklick setzt zurückCopy the message Die Nachricht kopierendiff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex e63650c3..01beea23 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -1442,4 +1442,5 @@ Close window 윈도우 닫기Full screen 전체 화면Zoom 확대/축소Bring all to front 모두 앞으로 가져오기+Drag to give the plan more or less room; double-click to reset 끌어서 계획이 차지하는 공간을 조절하고, 두 번 클릭하면 원래대로 돌아갑니다Copy the message 메시지 복사diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex d64a76fb..76b51e77 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -1442,4 +1442,5 @@ Close window Закрыть окноFull screen Полноэкранный режимZoom Изменить масштабBring all to front Все окна — на передний план+Drag to give the plan more or less room; double-click to reset Перетащите, чтобы дать плану больше или меньше места; двойной щелчок возвращает как былоCopy the message Скопировать сообщениеdiff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex c8eb4a32..f4353727 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -1442,4 +1442,5 @@ Close window 关闭窗口Full screen 全屏幕Zoom 缩放Bring all to front 前置全部窗口+Drag to give the plan more or less room; double-click to reset 拖动以调整计划占用的空间;双击恢复默认Copy the message 复制这条消息diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 6de1c5ae..d11f0972 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -1442,4 +1442,5 @@ Close window 關閉視窗Full screen 全螢幕Zoom 縮放Bring all to front 將全部視窗移至最前+Drag to give the plan more or less room; double-click to reset 拖曳以調整計畫佔用的空間;按兩下恢復預設Copy the message 複製這則訊息diff --git a/crates/ui-egui/src/ja.tsv b/crates/ui-egui/src/ja.tsvindex 8f0e716a..6d4874bc 100644--- a/crates/ui-egui/src/ja.tsv+++ b/crates/ui-egui/src/ja.tsv@@ -879,4 +879,5 @@ Close window ウインドウを閉じるFull screen フルスクリーンZoom 拡大/縮小Bring all to front すべてを手前に移動+Drag to give the plan more or less room; double-click to reset ドラッグでプランの高さを変更、ダブルクリックで元に戻すCopy the message メッセージをコピーdiff --git a/crates/ui-egui/src/project.rs b/crates/ui-egui/src/project.rsindex 6de1e1b9..e0311b90 100644--- a/crates/ui-egui/src/project.rs+++ b/crates/ui-egui/src/project.rs@@ -618,11 +618,41 @@ fn plan(feed: &[FeedItem]) -> Option<&[PlanStep]> {craft_anything_engine::feed::visible_plan(feed)}+/// How tall the plan's steps get before they scroll, unless the person dragged the divider above+/// the plan to another height (#826), and the least they can be dragged to.+const PLAN_HEIGHT: f32 = 240.0;+const PLAN_MIN: f32 = 48.0;++/// The divider between the feed and the plan. Dragging it (or Up and Down while it has focus)+/// sets how tall the plan's steps are, kept across restarts; a double-click goes back to the usual+/// height. `shown` is the height the steps had on the last frame.+fn plan_divider(ui: &mut Ui, t: &Tokens, height: &mut Option<f32>, shown: f32) {+ let hint = tr("Drag to give the plan more or less room; double-click to reset");+ let (rect, resp) = ui.allocate_exact_size(Vec2::new(ui.available_width(), 10.0), egui::Sense::click_and_drag());+ resp.widget_info(|| egui::WidgetInfo::labeled(egui::WidgetType::Other, true, &hint));+ let resp = resp.on_hover_cursor(egui::CursorIcon::ResizeVertical).on_hover_text(&hint);+ let active = resp.hovered() || resp.dragged() || resp.has_focus();+ ui.painter().rect_filled(egui::Rect::from_center_size(rect.center(), Vec2::new(36.0, 3.0)), 2.0, if active { t.text_faint } else { t.card_border });+ widgets::focus_ring(ui, &resp, rect);+ let mut by = -resp.drag_delta().y;+ if resp.has_focus() {+ ui.memory_mut(|m| m.set_focus_lock_filter(resp.id, egui::EventFilter { vertical_arrows: true, ..Default::default() }));+ by += ui.input(|i| f32::from(i8::from(i.key_pressed(egui::Key::ArrowUp)) - i8::from(i.key_pressed(egui::Key::ArrowDown)))) * 24.0;+ }+ if resp.double_clicked() {+ *height = None;+ } else if by != 0.0 {+ let most = (ui.ctx().content_rect().height() * 0.6).max(PLAN_MIN);+ *height = Some((height.unwrap_or(shown) + by).clamp(PLAN_MIN, most));+ }+}+/// The builder's checklist, pinned above the prompt box: what's done, what it's on now, what's/// next, and while it works how long it has been at it. Shown while it works, and afterwards only/// if something was left undone. `fold` offers a control to fold it away (between runs); the-/// returned flag says the person pressed it.-fn checklist(ui: &mut Ui, steps: &[PlanStep], t: &Tokens, began: Option<std::time::Instant>, fold: bool) -> bool {+/// returned flag says the person pressed it. Its steps scroll past `height`; the height they+/// were shown at is kept under `shown_id` for the divider above.+fn checklist(ui: &mut Ui, steps: &[PlanStep], t: &Tokens, began: Option<std::time::Instant>, fold: bool, height: f32, shown_id: egui::Id) -> bool {let done = steps.iter().filter(|s| s.status == PlanStatus::Done).count();let mut folded = false;widgets::card(t).inner_margin(Margin::symmetric(16, 12)).show(ui, |ui| {@@ -646,31 +676,35 @@ fn checklist(ui: &mut Ui, steps: &[PlanStep], t: &Tokens, began: Option<std::tim});});ui.add_space(6.0);- for s in steps {- ui.horizontal(|ui| {- let (r, _) = ui.allocate_exact_size(Vec2::splat(18.0), egui::Sense::hover());- match s.status {- PlanStatus::Done => {- ui.painter().circle_filled(r.center(), 7.0, t.success);- icons::paint(ui, r.shrink(4.0), "check", 10.0, t.canvas);- }- PlanStatus::Doing => {- ui.painter().circle_stroke(r.center(), 6.5, egui::Stroke::new(1.5, t.accent));- ui.painter().circle_filled(r.center(), 3.0, t.accent);- }- PlanStatus::Todo => {- ui.painter().circle_stroke(r.center(), 6.5, egui::Stroke::new(1.0, t.field_border));- }+ let list =+ egui::ScrollArea::vertical().id_salt("plan-steps").max_height(height).min_scrolled_height(height).auto_shrink([false, true]).show(ui, |ui| {+ for s in steps {+ ui.horizontal(|ui| {+ let (r, _) = ui.allocate_exact_size(Vec2::splat(18.0), egui::Sense::hover());+ match s.status {+ PlanStatus::Done => {+ ui.painter().circle_filled(r.center(), 7.0, t.success);+ icons::paint(ui, r.shrink(4.0), "check", 10.0, t.canvas);+ }+ PlanStatus::Doing => {+ ui.painter().circle_stroke(r.center(), 6.5, egui::Stroke::new(1.5, t.accent));+ ui.painter().circle_filled(r.center(), 3.0, t.accent);+ }+ PlanStatus::Todo => {+ ui.painter().circle_stroke(r.center(), 6.5, egui::Stroke::new(1.0, t.field_border));+ }+ }+ let text = RichText::new(&s.text).size(theme::BODY);+ let text = match s.status {+ PlanStatus::Done => text.color(t.text_faint).strikethrough(),+ PlanStatus::Doing => text.color(t.text).strong(),+ PlanStatus::Todo => text.color(t.text_dim),+ };+ ui.add(egui::Label::new(text).wrap());+ });}- let text = RichText::new(&s.text).size(theme::BODY);- let text = match s.status {- PlanStatus::Done => text.color(t.text_faint).strikethrough(),- PlanStatus::Doing => text.color(t.text).strong(),- PlanStatus::Todo => text.color(t.text_dim),- };- ui.add(egui::Label::new(text).wrap());});- }+ ui.data_mut(|d| d.insert_temp(shown_id, list.inner_rect.height()));});folded}@@ -1683,7 +1717,14 @@ fn composer(app: &mut CraftApp, ui: &mut Ui, width: f32, t: &Tokens) {if let Some(steps) = plan(&app.state.feed).filter(|p| running || p.iter().any(|s| s.status != PlanStatus::Done)) {let began = app.open_run().filter(|_| running).map(RebuildRun::started);let mut fold = false;- ui.allocate_ui(Vec2::new(width, 0.0), |ui| fold = checklist(ui, steps, t, began, !running));+ let shown_id = egui::Id::new("plan-steps-shown");+ let mut height = app.state.plan_height;+ ui.allocate_ui(Vec2::new(width, 0.0), |ui| {+ let shown = ui.data(|d| d.get_temp::<f32>(shown_id)).unwrap_or(PLAN_HEIGHT);+ plan_divider(ui, t, &mut height, shown);+ fold = checklist(ui, steps, t, began, !running, height.unwrap_or(PLAN_HEIGHT), shown_id);+ });+ app.state.plan_height = height;if fold {app.fold_plan();}diff --git a/crates/ui-egui/src/state.rs b/crates/ui-egui/src/state.rsindex 73202b50..7a7b6411 100644--- a/crates/ui-egui/src/state.rs+++ b/crates/ui-egui/src/state.rs@@ -453,6 +453,9 @@ pub struct UiState {/// The project's prompt box asks questions about the build instead of asking for changes.#[serde(default)]pub just_ask: bool,+ /// How tall the plan's steps are, dragged by the person (#826); `None`: the usual height.+ #[serde(default)]+ pub plan_height: Option<f32>,/// What the Pin dialog is choosing.#[serde(skip)]pub pin_draft: crate::pins::PinDraft,@@ -570,6 +573,7 @@ impl Default for UiState {sidebar_folded: false,pins_collapsed: false,just_ask: false,+ plan_height: None,pin_draft: Default::default(),answers: BTreeMap::new(),plugin_form: PluginForm::default(),diff --git a/crates/ui-egui/tests/smoke.rs b/crates/ui-egui/tests/smoke.rsindex b5e8998c..461aa339 100644--- a/crates/ui-egui/tests/smoke.rs+++ b/crates/ui-egui/tests/smoke.rs@@ -391,6 +391,41 @@ fn the_builders_checklist_is_pinned_above_the_prompt_box() {h.get_by_label("Keep score");}+/// #826: a long plan scrolls instead of pushing the feed away, and the divider above it sets how+/// tall it is, with the keyboard too; a double-click goes back to the usual height.+#[test]+fn a_long_plan_scrolls_and_its_divider_sets_its_height() {+ use craft_anything_ui_egui::state::{FeedItem, PlanStatus, PlanStep};+ const DIVIDER: &str = "Drag to give the plan more or less room; double-click to reset";+ let mut h = harness(move || {+ let mut a = demo::app(demo::engine(Mode::Beginner, true));+ demo::fill_project(&mut a);+ let steps = (1..=40).map(|n| PlanStep { text: format!("Step {n}"), doing: String::new(), status: PlanStatus::Todo }).collect();+ a.state.feed.push(FeedItem::Plan(steps));+ a+ });+ h.run_steps(3);+ let top = |h: &Harness<'static, CraftApp>| h.get_by_label(DIVIDER).rect().top();+ let usual = top(&h);+ assert!(usual > 820.0 / 3.0, "the feed keeps room above a long plan: the plan starts at {usual}");+ h.get_by_label(DIVIDER).focus();+ h.run_steps(2);+ h.key_press(egui::Key::ArrowUp);+ h.run_steps(3);+ let taller = h.state().state.plan_height.expect("Up gives the plan more room");+ assert!((top(&h) - (usual - 24.0)).abs() < 1.0, "the plan grew upwards by a step: {} from {usual}", top(&h));+ // Both clicks in one frame, so they're a double-click.+ let at = h.get_by_label(DIVIDER).rect().center();+ h.hover_at(at);+ h.step();+ for pressed in [true, false, true, false] {+ h.input_mut().events.push(egui::Event::PointerButton { pos: at, button: egui::PointerButton::Primary, pressed, modifiers: egui::Modifiers::NONE });+ }+ h.run_steps(3);+ assert_eq!(h.state().state.plan_height, None, "a double-click resets {taller}");+ assert!((top(&h) - usual).abs() < 1.0);+}+#[test]fn the_sidebar_lists_projects_and_moves_between_them() {let mut h = harness(|| {diff --git a/docs/STATUS.md b/docs/STATUS.mdindex b211a44b..f0943f8f 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -48,7 +48,7 @@ workspace clippy, layers, fmt and the secret scan of all history were clean. Chi| WebAssembly tag interfaces | `formats_wasm_compare` resolves retained imported and defined tag exports to their declared parameter types. Identical unresolved or invalid diagnostics may still count as unchanged; those counts do not establish interface compatibility, and invalid/partial limitations remain present | Synthetic core modules with tag changes and re-exports, mixed index spaces, import/tag limits, and missing or non-function type references; formats and engine tests. No real module corpus or WebAssembly execution was used for this correction || Questions and approvals | A file inbox per project; `core_person_ask`, `core_action_approve` and MCP consent requests become cards in the app | Cross-handle round-trip tests, a full approval round trip through the engine || Runtime assets in pinned builds | Frozen and light pins, size estimates and project copies keep runtime files in `obj` folders. An `obj` directory beside a regular C#, F# or Visual Basic project file is still recognised as compiler output; ambiguous folders are retained. New pins record the direct-launch program relative to the copy so a newer helper cannot replace it; older pins retain discovery behavior | Synthetic filesystem tests cover both pin modes, model bytes, compiler-output controls and project duplication. A Linux tool-level regression starts temporary scripts through `project_pin_open`, with a newer `Build/obj/helper`, and verifies the originally selected program and its output; a missing recorded program is refused. No real pinned application was launched for this correction |-| Desktop app | Simple mode: sidebar with New project and the project history (kept across restarts); New project makes something, works on a project the person already has (Work on my project: its folder's files are the app, edited in place without a question, and the project takes the folder's name), or just looks inside an app or file, a website or a game's files; a Game files screen (a game's archives; pictures from Unreal paks, Unity .assets files and Unity bundles saved as PNG after the person confirms they may unpack the game; uncompressed textures and the block formats DXT1, DXT5 and BC4–BC7), make prompt with picture attachments (picked, dropped, or pasted with Ctrl+V, shown as picture tiles) and, for anything recreated, a Clean room / Deep choice (also in the title bar; in Clean room, Just look inside, Game files, opening a file and the workbench ask for Deep mode instead), project screen (steps with the time spent and the AI cost and tokens of every build, saved in the project's usage.json by the run (a coding agent's figure is shown as an estimate at API prices, not the bill), what the build is on now and its activity as it arrives (kept in `build-activity.log`), pinned builder checklist (its X folds it away between builds, kept in the project, `project_plan_fold`; a later run's checklist shows again), feed (each message and answer has a copy button, shown on hover or keyboard focus, #825), question and approval cards, a Continue card when a build was paused or stopped part-way (the app or computer closed; the project shows Interrupted) that carries on the builder's own session instead of starting over, and "It's done" beside Continue or Try again to keep the build as it is (`project_build_finish`), checks with screenshots and the requirements not met yet, the builder's open questions, preview, play, folder, follow-ups while it builds, which Claude Code takes at its next step; Up in the prompt box takes back the last note still waiting). Projects can start in a folder the person picks, whose files are either the app, edited in place (its stack read from those files unless the request names another, and, with nothing to recreate, judged by its own build and tests, whatever it's written in), or material to start from (asked, or the answer remembered in Settings), and are listed from any number of folders (`project_folders`, `project_list`, `rebuild --project-folder`). Make says which AI builds ("Built by": automatic, or any AI that can build, by name); a pick stays with the project and builds its later changes. With nothing to build with, Start offers the coding agents found on the computer. Settings → AI turns an AI off or removes it, and sets how hard the Claude API or Claude Code thinks (every Claude level, low to max; also `ai effort` in the CLI). Each Claude Code AI can keep its sign-in in a folder of its own (its `CLAUDE_CONFIG_DIR`, so its own account; `ai folder` in the CLI, a folder on that computer over SSH), used for its runs, its sign-in check and its kept session, and Add another adds a second Claude Code for a second account. In the prompt box, Up at the very start and Down at the very end go through earlier prompts when no note is waiting. Questions about a build ("Just ask" under the prompt box, or a message starting with `/btw`, the first slash command; `rebuild_question_ask`) are answered in the conversation, where each folds away and is kept in the project, without a build or a round and changing nothing: Claude Code answers from a read-only copy of the builder's own session. Under each project's prompt box, "Builder's questions: Ask me / Decide yourself" chooses whether the builder's questions come to the person as cards or are decided by the builder, which says what it chose (`project_questions_set`; the default is in Settings and follows Auto mode until picked). Projects can be renamed, duplicated and deleted (right-click in the sidebar, or the project's page; a delete keeps the person's own files). A build can be pinned (Pin this build on its page, or `project_pin_*` from the CLI and MCP): a frozen copy in the project's pinned/ folder (the default) or a light one that shares dependencies and media with the project through hard links (each one's size shown first), opened from the sidebar's collapsible Pinned section (icons with a running dot when folded); a pin or Play runs once per folder unless another copy is asked for, and a start that quits at once says so with its last output. Typed drafts survive a restart. In a narrow window the sidebar folds to icons and the project's details move above its feed; messages float over the screen and errors stay until dismissed. Advanced mode: workbench with every panel wired to real tools, as a screen beside the projects (builds and their questions stay a click away). On macOS the menu bar has the app's actions (open, new project, settings, Simple / Advanced, Clean room / Deep, the command palette, help) with the usual shortcuts | UI unit and smoke tests (egui_kittest), offscreen snapshots of every screen |+| Desktop app | Simple mode: sidebar with New project and the project history (kept across restarts); New project makes something, works on a project the person already has (Work on my project: its folder's files are the app, edited in place without a question, and the project takes the folder's name), or just looks inside an app or file, a website or a game's files; a Game files screen (a game's archives; pictures from Unreal paks, Unity .assets files and Unity bundles saved as PNG after the person confirms they may unpack the game; uncompressed textures and the block formats DXT1, DXT5 and BC4–BC7), make prompt with picture attachments (picked, dropped, or pasted with Ctrl+V, shown as picture tiles) and, for anything recreated, a Clean room / Deep choice (also in the title bar; in Clean room, Just look inside, Game files, opening a file and the workbench ask for Deep mode instead), project screen (steps with the time spent and the AI cost and tokens of every build, saved in the project's usage.json by the run (a coding agent's figure is shown as an estimate at API prices, not the bill), what the build is on now and its activity as it arrives (kept in `build-activity.log`), pinned builder checklist (its X folds it away between builds, kept in the project, `project_plan_fold`; a later run's checklist shows again; its steps scroll past a height set by dragging the divider above it, or with Up and Down, kept across restarts, #826), feed (each message and answer has a copy button, shown on hover or keyboard focus, #825), question and approval cards, a Continue card when a build was paused or stopped part-way (the app or computer closed; the project shows Interrupted) that carries on the builder's own session instead of starting over, and "It's done" beside Continue or Try again to keep the build as it is (`project_build_finish`), checks with screenshots and the requirements not met yet, the builder's open questions, preview, play, folder, follow-ups while it builds, which Claude Code takes at its next step; Up in the prompt box takes back the last note still waiting). Projects can start in a folder the person picks, whose files are either the app, edited in place (its stack read from those files unless the request names another, and, with nothing to recreate, judged by its own build and tests, whatever it's written in), or material to start from (asked, or the answer remembered in Settings), and are listed from any number of folders (`project_folders`, `project_list`, `rebuild --project-folder`). Make says which AI builds ("Built by": automatic, or any AI that can build, by name); a pick stays with the project and builds its later changes. With nothing to build with, Start offers the coding agents found on the computer. Settings → AI turns an AI off or removes it, and sets how hard the Claude API or Claude Code thinks (every Claude level, low to max; also `ai effort` in the CLI). Each Claude Code AI can keep its sign-in in a folder of its own (its `CLAUDE_CONFIG_DIR`, so its own account; `ai folder` in the CLI, a folder on that computer over SSH), used for its runs, its sign-in check and its kept session, and Add another adds a second Claude Code for a second account. In the prompt box, Up at the very start and Down at the very end go through earlier prompts when no note is waiting. Questions about a build ("Just ask" under the prompt box, or a message starting with `/btw`, the first slash command; `rebuild_question_ask`) are answered in the conversation, where each folds away and is kept in the project, without a build or a round and changing nothing: Claude Code answers from a read-only copy of the builder's own session. Under each project's prompt box, "Builder's questions: Ask me / Decide yourself" chooses whether the builder's questions come to the person as cards or are decided by the builder, which says what it chose (`project_questions_set`; the default is in Settings and follows Auto mode until picked). Projects can be renamed, duplicated and deleted (right-click in the sidebar, or the project's page; a delete keeps the person's own files). A build can be pinned (Pin this build on its page, or `project_pin_*` from the CLI and MCP): a frozen copy in the project's pinned/ folder (the default) or a light one that shares dependencies and media with the project through hard links (each one's size shown first), opened from the sidebar's collapsible Pinned section (icons with a running dot when folded); a pin or Play runs once per folder unless another copy is asked for, and a start that quits at once says so with its last output. Typed drafts survive a restart. In a narrow window the sidebar folds to icons and the project's details move above its feed; messages float over the screen and errors stay until dismissed. Advanced mode: workbench with every panel wired to real tools, as a screen beside the projects (builds and their questions stay a click away). On macOS the menu bar has the app's actions (open, new project, settings, Simple / Advanced, Clean room / Deep, the command palette, help) with the usual shortcuts | UI unit and smoke tests (egui_kittest), offscreen snapshots of every screen || CLI | Every tool, `--deep` or `--clean-room` for one run (never saved), `rebuild` (including `--continue-in`, and `--resume` to carry on a stopped build), `mcp --inbox`, `ai`, `setup`, `doctor`, `report` | CLI integration tests || SQLite database files (`db_sqlite_show`) | A rowid alias column (`INTEGER PRIMARY KEY`, including the table-constraint form) shows the rowid; `DESC`, non-`INTEGER` and composite keys keep their stored values | Hand-built fixtures; generated files compared with the official SQLite library || SQLite WITHOUT ROWID tables | Read from the index b-tree, interior records and overflow included; rows in primary-key order, values in declaration order, `rowid` null | Hand-built fixtures; generated files compared with the official SQLite library |