Files
Jeremy d94a3593ad refactor: group crates into foundation, api, local and app (#203)
Crates move from a flat crates/ folder into four folders by what they reach:
foundation (core, http, features, native, media), api (hosted services
that take a key), local (ComfyUI, SAM 3 and the built-in engines) and app
(client, widgets, agents, MCP gateway).

Package names are unchanged, so consumers pinned to a git revision are not
affected. Path dependencies need the new folder.

Every path that named a crate folder is rewritten: workspace members and
dependencies, relative paths inside crates (manifests, #[path] test
support, include_str!), docs, consumer-smoke and the mutation tools. The
TLS scan in ai-http now walks every group. docs/LAYOUT.md describes the
folders and where a new crate goes.
2026-11-15 11:33:20 +00:00

10 lines
756 B
Python

"""Deliberate-bug cases for group `nw`: the native setup widget.
Loaded by mutation_check.py. The case breaks one rule and names the test that should notice.
Format: (name, file, old, new, package, test target, test filter).
"""
NW = [
('native-widget-download-without-visible-licence-approval', 'crates/app/ai-egui/src/native_setup.rs', 'session.blocker().is_none()', 'plan.available()', 'craft-ai-egui', 'native_setup_view', 'it_reviews_the_tool_destination_and_licence_before_any_download'),
('native-widget-calls-checked-files-ready', 'crates/app/ai-egui/src/native_setup.rs', 'ui.label("Files checked. This model has not been tried yet.");', 'ui.label("Ready");', 'craft-ai-egui', 'native_setup_view', 'checked_files_are_offered_for_use'),
]