Skip to content

feat(debug): collaborative UI debugging via AvaloniaMcp, F12 DevTools, and UiDiagnosticLogger - #61

Closed
spelech wants to merge 7 commits into
mainfrom
feature/collaborative-debug-mcp
Closed

spelech wants to merge 7 commits into
mainfrom
feature/collaborative-debug-mcp

Conversation

@spelech

@spelech spelech commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

Enables human-AI collaborative UI debugging in \Debug\ builds using open-source \AvaloniaMcp\ and Avalonia DevTools (F12).

Changes

  1. App Integration & Configuration:

    • Added conditional \Debug\ package references for \AvaloniaMcp.Diagnostics\ (0.4.0) and \Avalonia.Diagnostics\ (11.3.22) in \LocalLLMServerManager.csproj.\
    • Initialized .UseMcpDiagnostics()\ in \Program.cs\ and \ his.AttachDevTools()\ in \MainWindow.axaml.cs\ under #if DEBUG.\
    • Fully stripped in \Release\ configuration to ensure zero overhead in production.\
  2. UI Diagnostic Logging & Unit Tests:\

    • Created \UiDiagnosticLogger\ (\IUiDiagnosticLogger) in \LocalLLMServerManager.Shared/Services/UiDiagnosticLogger.cs\ with thread-safe bounded FIFO history.\
    • Added 6 comprehensive unit tests in \LocalLLMServerManager.Tests/UiDiagnosticLoggerTests.cs.\
  3. Developer Documentation:\

    • Added \docs/guide/collaborative-debugging.md\ detailing the dual-channel debugging architecture, 15 MCP tools, named pipe mechanics, and collaborative bug-hunting workflows.\
    • Added sidebar navigation mapping in \docs/.vitepress/config.mts.\

Quality Gates

  • Unit Tests: 705 tests total (698 passed, 0 failed, 7 skipped).\
  • Linter: Clean (
    pm run lint\ passed).\
  • Typecheck: Clean (
    px tsc --noEmit\ passed).\
  • Documentation: Clean build (
    pm run docs:build\ passed).

…styling across hubs

- Pre-populate curated starter models and default downloads on initial launch for Hugging Face and CivitAI hubs so hubs are never empty.
- Fix pipeline tag matching and VLM modality categorization for Hugging Face search.
- Connect CivitAI starter models to hardware and model type filters (FilteredStarterModels) with explicit Checkpoint / LoRA / All Type toggles.
- Add high-contrast active state indicators with checkmarks across Hugging Face, CivitAI, Ollama Models, Can I Run It, and Settings Studio Presets.
- Update and add comprehensive unit test suites in HuggingFaceSearchViewModelTests, CivitaiSearchViewModelTests, and SearchServicesTests.
…iagnosticLogger

- Add conditional Debug package references for AvaloniaMcp.Diagnostics (0.4.0) and Avalonia.Diagnostics (11.3.22)
- Wire .UseMcpDiagnostics() in Program.cs and this.AttachDevTools() in MainWindow.axaml.cs under #if DEBUG
- Implement thread-safe UiDiagnosticLogger and add 6 xUnit tests in UiDiagnosticLoggerTests.cs
- Add comprehensive collaborative debugging developer guide in docs/guide/collaborative-debugging.md and link in VitePress sidebar
@spelech

spelech commented Sep 20, 2026

Copy link
Copy Markdown
Owner Author

Superseded by commits merged via #60 (1c07632, 967c39e, 7f8e543) which already fully integrated AvaloniaMcp, F12 DevTools, and UiDiagnosticLogger into main.

@spelech spelech closed this Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant