Skip to content
CAI
Software that uses CAICheck a score

Danmoreng/diffusion-desk

40.8

Weak · 16 November 2026

27.1k

lines of production code

Kotlin

with C++, TypeScript

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

12 commits (1 fix) modifying public

A change to existing behaviour in public — 12 commits (1 fix), 4 files: “feat: integrate SD and Llama backends with unified WebUI”; “feat: implement VRAM arbitration, monitoring panel, and automatic LLM reloading”; “feat: integrate llama.cpp for unified LLM and Stable Diffusion support”; and 9 more.

public · medium confidence · unverified

12 commits (2 fixes) modifying webui/src/router

A change to existing behaviour in webui/src/router — 12 commits (2 fixs), 1 file: “sub-routes for manager view tabs”; “feat: integrate SD and Llama backends with unified WebUI”; “feat(webui): implement inpainting and standalone ESRGAN upscaler”; and 8 more.

webui/src/router · medium confidence · unverified

14 commits (0 fixes) modifying webui/src

A change to existing behaviour in webui/src — 14 commits, 6 files: “feat: integrate SD and Llama backends with unified WebUI”; “ui: move sidebar toggle to branding section”; “feat: add first-run setup wizard and dynamic config persistence”; and 10 more.

webui/src · medium confidence · unverified

14 commits (4 fixes) modifying src/server

A change to existing behaviour in src/server — 14 commits (4 fixs), 2 files: “Add Compose LLM worker support and tagging workflows”; “chore(deps): upgrade vendored submodules”; “Complete transition to DiffusionDesk and fix LLM worker functionality”; and 10 more.

src/server · medium confidence · unverified

15 commits (1 fix) modifying libs

A change to existing behaviour in libs — 15 commits (1 fix), 4 files: “Use upstream stable-diffusion cancellation”; “feat: integrate SD and Llama backends with unified WebUI”; “chore(deps): upgrade vendored submodules”; and 11 more.

libs · medium confidence · unverified

2 commits (0 fixes) modifying gradle

A change to existing behaviour in gradle — 2 commits, 2 files: “Update core dependencies”; “feat(desktop): add initial compose desktop shell”.

gradle · medium confidence · unverified

27 commits (4 fixes) modifying src/workers

A change to existing behaviour in src/workers — 27 commits (4 fixs), 4 files: “Use upstream stable-diffusion cancellation”; “Add Compose LLM worker support and tagging workflows”; “feat: implement architectural hardening, SPA routing, and internal security layer”; and 24 more.

src/workers · medium confidence · unverified

27 commits (7 fixes) modifying scripts

A change to existing behaviour in scripts — 27 commits (7 fixs), 9 files: “Add Compose LLM worker support and tagging workflows”; “Update Compose desktop README”; “feat: integrate SD and Llama backends with unified WebUI”; and 24 more.

scripts · medium confidence · unverified

33 commits (5 fixes) modifying webui/src/views

A change to existing behaviour in webui/src/views — 33 commits (5 fixs), 8 files: “sub-routes for manager view tabs”; “feat: integrate SD and Llama backends with unified WebUI”; “Feat: Implement Style preview image generation and display”; and 30 more.

webui/src/views · medium confidence · unverified

35 commits (13 fixes) modifying src/utils

A change to existing behaviour in src/utils — 35 commits (13 fixs), 5 files: “feat(orchestrator): enhance VRAM arbitration and resource management logic”; “feat: integrate SD and Llama backends with unified WebUI”; “feat: Implement binary image transfer for single-image generations to reduce VRAM/bandwidth usage. Added 'no\_base64' flag for testing. Updated VRAM arbitration test script for better robustness”; and 31 more.

src/utils · medium confidence · unverified

37 commits (3 fixes) modifying webui/src/stores

A change to existing behaviour in webui/src/stores — 37 commits (3 fixs), 3 files: “feat(ui): implement generation history and background queue system”; “feat: integrate SD and Llama backends with unified WebUI”; “Enhance assistant: local param tool, UI improvements, context usage tracking”; and 34 more.

webui/src/stores · medium confidence · unverified

4 commits (0 fixes) modifying composeApp/src/commonMain

A change to existing behaviour in composeApp/src/commonMain — 4 commits, 1 file: “feat(desktop): integrate jewel ui theme”; “feat(desktop): add initial compose desktop shell”; “style(desktop): refine compose chrome colors”; and 1 more.

composeApp/src/commonMain · medium confidence · unverified

48 commits (16 fixes) modifying src/orchestrator/services

A change to existing behaviour in src/orchestrator/services — 48 commits (16 fixs), 16 files: “Refactor Orchestrator: Modular Services & Thread-Safe DB”; “feat(orchestrator): enhance VRAM arbitration and resource management logic”; “Enhance assistant: local param tool, UI improvements, context usage tracking”; and 45 more.

src/orchestrator/services · medium confidence · unverified

52 commits (1 fix) modifying composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/core

A change to existing behaviour in composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/core — 52 commits (1 fix), 29 files: “Add assistant tool registry and ESRGAN upscale page”; “Add Compose LLM worker support and tagging workflows”; “Add Compose gallery database”; and 49 more.

composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/core · medium confidence · unverified

52 commits (12 fixes) modifying src/orchestrator

A change to existing behaviour in src/orchestrator — 52 commits (12 fixs), 10 files: “perf(gallery): optimize image loading with thumbnails and lazy loading”; “Refactor Orchestrator: Modular Services & Thread-Safe DB”; “feat(orchestrator): enhance VRAM arbitration and resource management logic”; and 49 more.

src/orchestrator · medium confidence · unverified

55 commits (4 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 55 commits (4 fixs), 11 files: “Use upstream stable-diffusion cancellation”; “Refactor Orchestrator: Modular Services & Thread-Safe DB”; “Add Compose LLM worker support and tagging workflows”; and 51 more.

(repo-wide) · low confidence · unverified

56 commits (12 fixes) modifying src/sd

A change to existing behaviour in src/sd — 56 commits (12 fixs), 8 files: “Use upstream stable-diffusion cancellation”; “feat(orchestrator): enhance VRAM arbitration and resource management logic”; “feat: integrate SD and Llama backends with unified WebUI”; and 53 more.

src/sd · medium confidence · unverified

58 commits (5 fixes) modifying webui/src/components

A change to existing behaviour in webui/src/components — 58 commits (5 fixs), 18 files: “perf(gallery): optimize image loading with thumbnails and lazy loading”; “style(ui): tighten tool call margins in assistant panel”; “feat(ui): Implement infinite scroll and fix empty state logic in Gallery”; and 55 more.

webui/src/components · medium confidence · unverified

6 commits (0 fixes) modifying webui

A change to existing behaviour in webui — 6 commits, 7 files: “feat: integrate SD and Llama backends with unified WebUI”; “feat: implement architectural hardening, SPA routing, and internal security layer”; “Rename project to Diffusion Desk”; and 2 more.

webui · medium confidence · unverified

61 commits (0 fixes) modifying composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop

A change to existing behaviour in composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop — 61 commits, 3 files: “Add assistant tool registry and ESRGAN upscale page”; “feat(desktop): integrate jewel ui theme”; “Add editable Ideogram composition boxes”; and 58 more.

composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop · medium confidence · unverified

70 commits (1 fix) modifying composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/viewmodel

A change to existing behaviour in composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/viewmodel — 70 commits (1 fix), 8 files: “Add assistant tool registry and ESRGAN upscale page”; “Add editable Ideogram composition boxes”; “Improve assistant JSON field update errors”; and 67 more.

composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/viewmodel · medium confidence · unverified

9 commits (0 fixes) modifying composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/composition

A change to existing behaviour in composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/composition — 9 commits, 2 files: “Refactor desktop app startup and UI flow”; “Simplify structured composition element actions”; “Enable cached multi-turn LLM prompting for staged ideograms”; and 6 more.

composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/composition · medium confidence · unverified

9 commits (4 fixes) modifying src

A change to existing behaviour in src — 9 commits (4 fixs), 4 files: “feat: implement architectural hardening, SPA routing, and internal security layer”; “Complete transition to DiffusionDesk and fix LLM worker functionality”; “feat: enable Linux/CUDA support and refactor VRAM management”; and 6 more.

src · medium confidence · unverified

92 commits (4 fixes) modifying composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/screens

A change to existing behaviour in composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/screens — 92 commits (4 fixs), 13 files: “Add assistant tool registry and ESRGAN upscale page”; “feat(desktop): integrate jewel ui theme”; “Add editable Ideogram composition boxes”; and 89 more.

composeApp/src/desktopMain/kotlin/com/diffusiondesk/desktop/screens · medium confidence · unverified

Test coverage

1 commit adding/updating tests in composeApp/src/desktopTest/kotlin/com/diffusiondesk/desktop/core/api; 1 commit adding/updating tests in composeApp/src/desktopTest/kotlin/com/diffusiondesk/desktop/core/coroutines; 16 commits adding/updating tests in composeApp/src/desktopTest/kotlin/com/diffusiondesk/desktop/core; 2 commits adding/updating tests in composeApp/src/desktopTest/kotlin/com/diffusiondesk/desktop/screens; 20 commits adding/updating tests in composeApp/src/desktopTest/kotlin/com/diffusiondesk/desktop/viewmodel; 6 commits adding/updating tests in scripts/tests; 8 commits adding/updating tests in composeApp/src/desktopTest/kotlin/com/diffusiondesk/desktop/composition.

Dependencies

29 commits updating dependencies (7 manifests)

A dependency / build maintenance change in (dependencies) — 29 commits (3 fixs), 7 files: “feat(desktop): integrate jewel ui theme”; “Limit Compose native target format to host OS”; “Add Compose LLM worker support and tagging workflows”; and 25 more.

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 40.8.

Lenses

  • Code Health 62.7
  • Architecture 84.1
  • Maturity 78.2
  • Readiness 24.5
  • Security 71.0
  • Accessibility 36.2
  • Performance 100.0

Changes since last survey

  • 293 commits — 248 feature/other, 45 fixes

By area

  • composeApp/src — 103 commits
  • webui/src — 48 commits
  • src/orchestrator — 36 commits
  • (root) — 33 commits
  • src/sd — 13 commits
  • public/assets — 8 commits
  • docs/DEVELOPMENT_PLAN.md — 7 commits
  • src/utils — 7 commits
  • (repo) — 4 commits
  • .github/workflows — 4 commits
  • docs/archive — 4 commits
  • libs/llama.cpp — 3 commits
  • public/app — 3 commits
  • composeApp/build.gradle.kts — 2 commits
  • docs/COMPOSE_BLUEPRINT_DIFF.md — 2 commits
  • scripts/run.ps1 — 2 commits
  • src/server — 2 commits
  • webui/public — 2 commits
  • docs/.nojekyll — 1 commit
  • docs/IDEOGRAM4_COMPOSITION_ASSISTANT_PLAN.md — 1 commit

Notable commits

  • fix: Complete transition to DiffusionDesk and fix LLM worker functionality
  • fix: Enable Orchestrator logging: - Move sd_log_cb to common.cpp for shared use - Register log callback in Orchestrator main loop - Fix missing log output from LOG_ macros in main process
  • fix: Fix Ideogram queued generation stability
  • fix: Fix LLM offload deadlock by using recursive_mutex and add read timeout
  • fix: Fix Linux build ambiguity for SQLite bind and add Linux DB test script
  • fix: Fix Linux build: Include unistd.h for getpid()
  • fix: Fix Windows build: Resolve Winsock/Windows.h include conflicts
  • fix: Fix Windows packaging Gradle working directory
  • fix: Fix Windows release native build inputs
  • fix: Fix blurry images and restore CLI argument short names
  • fix: Fix compact generation parameter sizing
  • fix: Fix memory leaks, thread-safety, and validation logic
  • fix: Fix missing newlines in log messages
  • fix: Fix model reloading issues and path normalization in Orchestrator
  • fix: Fix stable-diffusion upstream API compatibility
  • fix: Fix: Correct stb_image_write linkage for Linux build
  • fix: Fix: Immediate tagging and LLM auto-reload
  • fix: Frontend fixes: Assistant Panel layout and GenerationForm cleanup.
  • fix: Refactor orchestrator and workers: - Introduce ToolService for LLM tool use - Implement Database migration system (v1-v3) - Add VRAM usage tracking and projection heuristic - Fix missing API route registrations in SD Worker (/v1/models, /v1/config, etc) - Update UI with projected VRAM indicator
  • fix: UI improvements: deprecate vision debugger, implement assistant drag-and-drop, and fix chat layout
  • …and 273 more

Architecture

  • 0 containers · 1 bounded contexts · 0 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

Danmoreng/diffusion-desk was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 16 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit cda0ebcfaf61ca77c48f8aabae84208496524d81 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.84+preprod-d645ca9bbedd.