RepoPilot

storytold / photocraft

Search storytold/photocraft

GitHub

Code

How storytold/photocraft is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely public API
  5. Likely start-up file
  6. Likely start-up file
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a New Image Effect Filter

  • Register the new effect as an action command in crates/engine/src/actions_cmds.rs.
  • Add UI binding in the egui-based UI layer (crates/ui-egui or apps/photocraft).

Add Support for a New File Format

  • Create a new crate in crates/ (e.g., crates/myformat/Cargo.toml) following the pattern of crates/codecs or crates/raw.
  • Add fuzzing harness in crates/myformat/fuzz/ to validate parser robustness (reference: crates/format/fuzz).

Add a New Tool or Paint Brush Variant

  • Register the tool as a command action in crates/engine/src/actions_cmds.rs.

Add a New Platform or Build Target

  • Create platform-specific packaging script in packaging/ (reference: packaging/linux/AppRun, packaging/macos/Info.plist.in).
  • Update xtask build orchestration in xtask/Cargo.toml and xtask/src to support the new target.
  • Add CI configuration referencing scorecard/automation.toml if using GitHub Actions or similar.
  • Test native bindings and platform-specific code paths in apps/photocraft or apps/photocraft-cli.

Change the public API

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points145 per file on average
  • Code issues0 errors, 34 warnings
  • Largest file4,143 lines
  • Hotspot load10 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions9 workflows
  • Tests311 test filesRust test · 0.26 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: crates/automation/tests/it · crates/cms/tests/it · apps/photocraft/tests/it

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.