evidence.md 16 KB

TextureCraft — evidence ledger (tag v0.6.1)

Audit basis: this checkout is tag v0.6.1, commit 34a196190fe2daa2f43017a0f32b254cca4836f2 (shallow checkout pinned to the release tag; git rev-parse HEAD confirms, git describe --tags says v0.6.1). Inspection date 2026-11-12. The installed bundle prints TextureCraft 0.6.1 (34a1961 2026-11-12) (bundle ai.storyteller.texturecraft, CFBundleShortVersionString 0.6.1); Contents/MacOS holds only TextureCraft, so no installed CLI exists. The GUI was never launched — only --version/--help, which print and exit. The previous round's skill described v0.4.0 (16e9d21516434a63ac457f49ffd09005f649c02f).

1. Capability claims → evidence → tier

# Claim Evidence (repo-relative) Tier
1 177 unique engine command ids (172 at v0.4.0; 5 added, 0 removed) every cmd!/query! registration with a string id in crates/engine/src, tests excluded (see §5); added: bake.preview, effect.colorSelection.pick, textureSet.meshMap.import, tool.fillSelection, tool.swapMaskValue implemented
2 59/59 menu items live (58/58 at v0.4.0) docs/parity.md, generated by TC_UPDATE_PARITY=1 cargo test -p texturecraft-ui-egui parity; the added row is Help › Check for Updates (ui.help.checkForUpdates) implemented (generated, test-enforced)
3 15 control methods + auth (13 at v0.4.0) dispatch arms in crates/ui-egui/src/control.rs (13 dotted + ping) plus the deferred ui.screenshot at control.rs request path; ui.bake.start / ui.bake.cancel are the new arms implemented
4 22 MCP tools, same names as v0.4.0 crates/automation/src/server.rs #[tool(...)] entries (18 headless + 4 bridge-only) implemented
5 17 headless serve methods, unchanged crates/automation/src/rpc.rs pub const METHODS implemented
6 10 CLI subcommands with the same flags, unchanged apps/texturecraft-cli/src/main.rs SUBCOMMANDS and USAGE (info, commands, run, batch, bake, export, render, new, mcp, serve); hand-rolled parser implemented
7 Live bake preview: the app bakes one map at a time and shows each finished map on the model crates/engine/src/bake/streamed_bake.rs, crates/engine/src/bake_preview.rs (BakePreview, preview_json, apply_streamed_bake), crates/engine/src/bake/bake_task.rs run_streaming; driven by crates/ui-egui/src/control.rs ui.bake.start / ui.bake.cancel and crates/ui-egui/src/bake_job.rs; docs/control-protocol.md § Live bake preview implemented
8 Painting is refused while a bake preview shows crates/engine/src/bake_preview.rs PAINTING_PAUSED / painting_blocked, called from crates/engine/src/painting.rs implemented
9 ui.inspect reports baking, bakeStatus and bakePreview; session.inspect reports bakePreview crates/ui-egui/src/control.rs (baking, bakeStatus, bakePreview), crates/engine/src/inspect.rs bakePreview implemented
10 Bake mode draws the high poly, cage, UV seams, low poly and where transfer rays miss crates/render/src/bake_visualization.rs, crates/render/src/cage_gpu.rs, crates/render/src/high_poly_gpu.rs, crates/bake/src/cage/high_poly_reach.rs, crates/ui-egui/src/bake_mode/bake_visualization_panel.rs + bake_visualization_toggles.rs implemented (UI read from code/tests, not exercised visually)
11 Curvature bakes from the mesh by default crates/core/src/bake/curvature_method.rs — #[default] moved from NormalMap to Mesh; crates/core/src/bake/curvature_settings.rs now derives Default implemented
12 Normal-map curvature follows the surface, one band per edge crates/bake/src/map/normal_curvature.rs; test a_rounded_edge_is_one_convex_band in crates/bake/src/test/normal_map_curvature.rs implemented
13 Curvature generators have a mode and seven detail sizes crates/core/src/layer/curvature_detail.rs (SIZES 7 radii, BROAD_WEIGHTS, EDGE_WEIGHTS, CurvatureMode), crates/core/src/layer/curvature_mode.rs, crates/compose/src/curvature_sizes.rs; reported by crates/engine/src/inspect.rs generator_json implemented
14 textureSet.meshMap.import places many baked-map files by file name crates/engine/src/meshmap_import_cmds.rs (512 files / 2 GiB caps, assigned/unmatched), crates/engine/src/meshmap_file_name.rs (Body_ao.1001.png), one undo step, desktop only implemented (desktop only)
15 New Project can import baked-map files at creation crates/ui-egui/src/new_project_advanced.rs calls textureSet.meshMap.import with the chosen files implemented
16 Symmetry: movable plane, world axis, angle span, toolbar on/off that keeps settings tool.brush params symmetryOn, symmetryOffset, symmetryAxis, symmetryAngleSpan in crates/engine/src/tool_cmds.rs; crates/paint/src/stamp_source.rs (StampSource maps a copy back to its source); crates/ui-egui/src/symmetry/ (manipulator, drag, overlay, settings popup) implemented
17 Path tool previews a draft and its points are editable in the views crates/engine/src/path_draft.rs; crates/ui-egui/tests/it/path_in_view.rs implemented
18 Polygon fill grows to triangle / polygon / UV island / mesh; boxes with hit test, visible-only and 2D-view points/boxes crates/engine/src/fill_mode.rs (FillMode 4 variants), crates/engine/src/fill_hit_test.rs, crates/engine/src/polygon_fill.rs, crates/engine/src/polygon_fill_drag.rs; tool.fillMode and tool.fillSelection params in crates/engine/src/tool_cmds.rs; tool.click box/uv params implemented
19 Shift+click paints a straight line in the 2D view crates/ui-egui/tests/it/shift_lines_2d.rs; crates/ui-egui/src/uv_paint_point.rs implemented
20 X inverts the mask paint value tool.swapMaskValue (["Tools"], shortcut X) in crates/engine/src/tool_cmds.rs; test crates/ui-egui/tests/it/mask_value_swap.rs implemented
21 effect.set swaps a filter's type in place, keeping position/blend/opacity crates/engine/src/mask_cmds.rs effect.set params; docs/control-protocol.md; tests crates/engine/tests/it/filter_swap.rs and crates/ui-egui/tests/it/filter_picker.rs implemented
22 A color-selection effect can pick its ID color from the ID map effect.colorSelection.pick in crates/engine/src/color_selection_cmds.rs (≤256 colors); editor crates/ui-egui/src/color_selection_editor.rs implemented
23 Layers panel thumbnails render off the UI thread and never touch the main composite crates/engine/src/thumbs.rs (ThumbService, ThumbSnapshot, debounce, 64 px G-buffer), crates/compose/src/thumb.rs, crates/ui-egui/src/layer_panel.rs; described in docs/architecture.md implemented
24 UI state (including panel layout and prefs) is stored as ui.json; old RON state is migrated, unreadable states are kept crates/ui-egui/src/ui_state_store.rs (ui.json, legacy ui RON key, unreadable-state copies), apps/texturecraft/src/main.rs saved_prefs implemented
25 Project open limit (default 8 GiB decompressed, minimum 1) and a parallel save with a cores/RAM budget crates/formats/src/project_file/project_open_limit.rs, load_budget.rs, entries.rs (DEFAULT_RESERVED_CORES = 1, DEFAULT_RAM_PERCENT = 50), crates/ui-egui/src/state.rs prefs; the "Max project size on open" paragraph in docs/control-protocol.md implemented
26 Help › Check for Updates; startup checks are skipped when --control drives the app crates/ui-egui/src/updates_ui.rs, crates/ui-egui/src/menus.rs, apps/texturecraft/src/main.rs checks_for_updates_at_start implemented
27 Bake settings model, bake.tile.set, cage/skew paint, no auto-rebake crates/engine/src/bake/mesh_map_command.rs, crates/engine/src/bake/tile_command.rs, bake.cage.paint/bake.cage.reset; bake.autoRebake* absent from the registry implemented (unchanged)
28 Path confinement also refuses host paths nested in files entries crates/automation/src/workspace.rs HOST_PATH_KEYS + names_host_path over files, test nested_file_paths_are_denied; docs/control-protocol.md implemented
29 10 baked maps (unchanged) crates/core/src/bake/baked_map.rs BakedMap::ALL (12 before v0.4.0) implemented
30 10 UI languages (unchanged) crates/ui-egui/src/i18n.rs COUNT = 10 / LANGUAGES (en, fr, de, es, pt-BR, it, ja, zh-Hans, ko, ar) implemented

2. Counts: v0.4.0 → v0.6.1 (same methods both tags)

Surface v0.4.0 v0.6.1 Status at v0.6.1
Engine command ids 172 177 changed (+5, −0)
Menu items live 58 / 58 59 / 59 changed
Control methods 13 (+auth) 15 (+auth) changed
MCP tools 22 22 unchanged at v0.6.1
Serve methods 17 17 unchanged at v0.6.1
CLI subcommands 10 10 unchanged at v0.6.1
Library filters 31 31 unchanged at v0.6.1
Smart masks 24 24 unchanged at v0.6.1
Procedural / smart materials 72 / 21 72 / 21 unchanged at v0.6.1
Procedurals / environments 23 / 6 23 / 6 unchanged at v0.6.1
Generator kinds 7 7 unchanged at v0.6.1
Brush alphas / presets 67 / 18 67 / 18 unchanged at v0.6.1
Channels / blend modes 21 / 32 21 / 32 unchanged at v0.6.1
Baked maps 10 10 unchanged at v0.6.1
Export presets 10 10 unchanged at v0.6.1
Texture formats 8 8 unchanged at v0.6.1
Mesh import / export formats 12 / 5 12 / 5 unchanged at v0.6.1
Built-in meshes 9 9 unchanged at v0.6.1
UI languages 10 10 unchanged at v0.6.1
Project format_version 2 2 unchanged at v0.6.1

Corrected against the published v0.4.0 skill. Its 172 engine ids, 58/58 menus, 13 control methods and every "unchanged" count were correct for v0.4.0; this round re-derived them rather than trusting the text, and re-dated the unchanged ones explicitly. The two removed baked maps and the format-version change belong to the v0.4.0 delta and are history here, not current changes.

3. Doc-vs-code drift at this tag (code wins)

Doc statement Code reality
docs/features.md "polygon fill (triangle, UV island or the whole mesh)" FillMode has four variants: triangle, polygon (the source quad/n-gon), UV island and mesh (crates/engine/src/fill_mode.rs)
docs/features.md "X/Y/Z mirror and radial symmetry" The symmetry plane is movable (symmetryOffset), the radial axis is selectable and copies can spread over symmetryAngleSpan degrees; a toolbar toggle keeps the settings (crates/engine/src/tool_cmds.rs, crates/ui-egui/src/symmetry/)
ROADMAP.md "63 procedural materials", "30 library filters", "19 channel types" MATERIALS has 72 m( rows, FILTERS 31 def( rows, Channel::ALL 21 variants
ROADMAP.md "Honest parity estimate (2026-11-04)" and "Current focus" (release v0.1.0) Not refreshed for this release; the estimate predates v0.6.1 and the current-focus list still describes the v0.1.0 release run
README.md "textures out … at 8, 16 or 32 bits" Depth is per format: PNG/TIFF 8/16, EXR 16/32 float, HDR 32, others 8 (crates/formats/src/export/mod.rs bit_depths)
docs/control-protocol.md MCP project_new built-in list Omits udim_plane, which project.new/project_new accept (9 BUILTINS in crates/geom/src/primitives.rs)
docs/control-protocol.md CLI --version sample Still shows an old TextureCraft 0.1.0 (abc1234 2026-10-14) string
Release notes for v0.6.1 (craft-update, CI, Flatpak) Say nothing about the feature work in this diff; the delta paragraph comes from the code, not the notes

4. Uncertain / not verified here

  • GUI never launched. UI-only changes (live bake preview on screen, bake visualization panel, symmetric manipulator, layer thumbnails, levels editor, filter picker, properties popup, display tone mapping, panel persistence) were read from crates/ui-egui/src and its tests, not exercised visually.
  • The control channel's token flow, ui.bake.start/ui.bake.cancel and the MCP tools were read from code/docs; no live app session or MCP client was run.
  • The "~12× CPU" bake and "~25× CPU" path-tracer figures are the repo's own claims (docs/features.md), not benchmarked for this audit.
  • The GitHub compare in the round context lists 193 commits and caps at 300 files; the shallow clone holds one commit, so the commit list cannot be re-derived here — only the tree diff (322 files, +30,258/−4,287) and docs//ROADMAP.md state are reproducible.
  • The v0.2.0 → v0.3.0 history was not re-measured (that tag is not in the clone); it is folded into CHANGES.md from the previous round's text. The v0.3.0 → v0.4.0 paragraph in SKILL.md is carried too: v0.4.0's id set was re-extracted here, but v0.3.0 is absent, so its 162 ids, 216-file diff and 86-commit compare come from the previous round.

5. Verification commands (read-only)

git -C <clone> rev-parse HEAD                       # 34a196190fe2daa2f43017a0f32b254cca4836f2
git -C <clone> describe --tags                      # v0.6.1
# engine command ids (macro registrations with a string id; tests excluded):
perl -0777 -ne 'while (/\b(?:cmd|query)!\(\s*"([^"]+)"/g) { print "$1\n" }' \
  $(find crates/engine/src -name '*.rs' -not -path '*tests*') | sort -u | wc -l   # 177
grep -c '^    def(' crates/engine/src/filter_lib.rs                               # 31
grep -c 'SmartMask { id:' crates/engine/src/smart_masks.rs                        # 24
grep -cE '^\s+m\(' crates/engine/src/materials.rs                                 # 72
grep -cE '^\s+sm\(' crates/engine/src/materials.rs                                # 21
grep -c 'id: "' crates/paint/src/presets.rs                                       # 18
grep -c '#\[tool(' crates/automation/src/server.rs                                # 22
sed -n '/pub const METHODS/,/^];/p' crates/automation/src/rpc.rs | grep -c '"'    # 17
sed -n '/const SUBCOMMANDS/,/^];/p' apps/texturecraft-cli/src/main.rs | grep -c '("' # 10
grep -m1 "menu items live" docs/parity.md                                         # 59 of 59 (100%)
grep -n "COUNT: usize" crates/ui-egui/src/i18n.rs                                 # 10
grep -n "pub const ALL: \[BakedMap" crates/core/src/bake/baked_map.rs             # 10
grep -n "FORMAT_VERSION" crates/core/src/project.rs                               # 2
grep -n "MESH_EXTENSIONS" crates/formats/src/mesh_import/mod.rs                   # 12
grep -n "MESH_EXPORT_FORMATS" crates/engine/src/file_cmds.rs                      # 5
grep -n "pub const BUILTINS" crates/geom/src/primitives.rs                        # 9
grep -o 'pub const ALL: \[Channel; [0-9]*' crates/core/src/channel.rs             # 21
grep -o 'SHAPES: \[ShapeDef; [0-9]*' crates/paint/src/alphas.rs                   # 31
grep -o 'GLYPHS: \[(char, &str); [0-9]*' crates/paint/src/alphas.rs               # 36 (67 alphas together)
perl -0777 -ne 'if (/pub fn builtin_presets\(\).*?\n\}/s) { $f=$&; @m = $f =~ /preset\(\s*"/g; print scalar(@m), "\n" }' \
  crates/formats/src/presets.rs                                                   # 10
# control methods: dotted dispatch arms + ping + the deferred ui.screenshot
grep -cE '^\s+"[a-zA-Z]+\.[a-zA-Z.]+" =>' crates/ui-egui/src/control.rs           # 13, plus ping and ui.screenshot
git -C <clone> diff --stat v0.4.0..HEAD                                           # 322 files, +30,258/-4,287

To compare id sets, extract v0.4.0 sources with git archive v0.4.0 crates/engine/src | tar -x -C <tmp> and run the same extractor (172 at v0.4.0). The five added ids at v0.6.1 are bake.preview, effect.colorSelection.pick, textureSet.meshMap.import, tool.fillSelection, tool.swapMaskValue; nothing was removed. The control-method delta is ui.bake.start and ui.bake.cancel.

Round 2026-11-12 (refresh)

  • Pinned to v0.6.1 = 34a196190fe2daa2f43017a0f32b254cca4836f2; installed TextureCraft 0.6.1 (34a1961 2026-11-12).
  • Re-measured the full count table at both tags with one method; the body now dates every unchanged set ("unchanged at v0.6.1") instead of leaving old sentences undated.
  • New delta grounded in the code diff: live bake preview and its control methods, bake-setup visualization, curvature defaults and detail sizes, batch mesh-map import, symmetry plane, path/polygon-fill/2D painting additions, mask-value swap, filter swap and ID-color picking, asynchronous thumbnails, persistent UI state, project open/save budgets, update check.
  • Every repo path cited in SKILL.md re-resolved against this checkout; all previous citations still exist at v0.6.1.