An empty agent folder setting meant no file access, so an agent reached
through the launcher's MCP entry could neither open nor save a file, and
nothing told it where to put files.
- default_folder(app): Documents/ArtCraft/Agents/<App> (dirs::document_dir,
else ~/Documents), only for plain app names.
- AgentSettings::folders / folders_with: the person's own folders win; an
empty setting falls back to the default, created on first use.
- The live client's headless sessions use it (LiveConfig::default_folder).
- FOLDERS_TOOL, folders_tool, folders_answer: the tool each app offers so an
agent learns the folders it may use.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
coordinates, the balloons id scope).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The painted pointer art and painted_image move from runtime::cursor to primitives::pointer_art, which
draws them; EditorSurrounding moves to runtime::ime, which reads it; StyleCx::face moves to
contract::items beside measure_under. EditorSurrounding gets text() and unavailable() constructors now
its variants are non_exhaustive. painted_image is reached as craft_ui::primitives::painted_image.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A face measured by MeasureCx::face is part of its composite's measure
call: that call's answer and the inputs the faces read are the record
the layout memory keeps and checks. The face recorded a leaf of its own
under one id shared by every face of the composite, so only the first
face was kept, and a change to it that left the composite's size alone
dropped the kept measurements and asked for a discard pass.
measure_face measures a face as measure_under does, without the leaf.
TextRun::least (MeasureCx::least) returns the run laid out whole with its
least width, so a text measured at Proposal::Min no longer lays the whole
line out a second time for its height. A fitted select face takes its cap
from the same call. A select of 29 blend modes plus the mixed word lays out
56 texts per Min ask instead of 86.