# Graph Report - wpstack-ai-alt-genius  (2026-06-22)

## Corpus Check
- 11 files · ~75,785 words
- Verdict: corpus is large enough that graph structure adds value.

## Summary
- 76 nodes · 82 edges · 6 communities detected
- Extraction: 84% EXTRACTED · 16% INFERRED · 0% AMBIGUOUS · INFERRED: 13 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output

## Community Hubs (Navigation)
- [[_COMMUNITY_Community 0|Community 0]]
- [[_COMMUNITY_Community 1|Community 1]]
- [[_COMMUNITY_Community 2|Community 2]]
- [[_COMMUNITY_Community 3|Community 3]]
- [[_COMMUNITY_Community 4|Community 4]]
- [[_COMMUNITY_Community 5|Community 5]]

## God Nodes (most connected - your core abstractions)
1. `Aialtg_Settings` - 37 edges
2. `Aialtg_Image_Descriptor` - 15 edges
3. `Aialtg_Helpers` - 13 edges
4. `Aialtg_Cron` - 6 edges
5. `fetchModels()` - 3 edges
6. `Aialtg_Generator` - 2 edges
7. `populateModels()` - 2 edges
8. `showFallbackInput()` - 2 edges

## Surprising Connections (you probably didn't know these)
- None detected - all connections are within the same source files.

## Communities

### Community 0 - "Community 0"
Cohesion: 0.07
Nodes (1): Aialtg_Settings

### Community 1 - "Community 1"
Cohesion: 0.15
Nodes (1): Aialtg_Image_Descriptor

### Community 2 - "Community 2"
Cohesion: 0.17
Nodes (1): Aialtg_Helpers

### Community 3 - "Community 3"
Cohesion: 0.33
Nodes (1): Aialtg_Cron

### Community 4 - "Community 4"
Cohesion: 0.5
Nodes (1): Aialtg_Generator

### Community 5 - "Community 5"
Cohesion: 0.83
Nodes (3): fetchModels(), populateModels(), showFallbackInput()

## Knowledge Gaps
- **Thin community `Community 0`** (29 nodes): `Aialtg_Settings`, `.add_admin_menu()`, `.__construct()`, `.get_allowed_mimes()`, `.get_provider_placeholders()`, `.get_providers()`, `.redirect_legacy_settings_url()`, `.register_settings()`, `.render_allowed_formats_field()`, `.render_alt_prompt_field()`, `.render_api_key_field()`, `.render_caption_prompt_field()`, `.render_cron_enabled_field()`, `.render_cron_interval_field()`, `.render_cron_section_info()`, `.render_description_prompt_field()`, `.render_enable_alt_field()`, `.render_enable_caption_field()`, `.render_enable_description_field()`, `.render_enable_title_field()`, `.render_global_context_field()`, `.render_model_field()`, `.render_nvidia_api_keys_field()`, `.render_options_section_info()`, `.render_provider_field()`, `.render_save_gen_meta_field()`, `.render_section_info()`, `.render_title_prompt_field()`, `class-aialtg-settings.php`
  Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 1`** (13 nodes): `wpstack-ai-alt-genius.php`, `Aialtg_Image_Descriptor`, `.activation_logic()`, `.add_attachment_meta_box()`, `.add_media_column()`, `.__construct()`, `.deactivation_cleanup()`, `.handle_fix_json_errors()`, `.handle_reset_request()`, `.handle_retry_failed_request()`, `.load_textdomain()`, `.manage_media_column_content()`, `.render_meta_box()`
  Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 2`** (12 nodes): `Aialtg_Helpers`, `.get_nvidia_keys()`, `.is_enabled()`, `.model_supports_vision()`, `.preserve_secret_field()`, `.resolve_api_key()`, `.vision_keywords()`, `class-aialtg-helpers.php`, `.render_cron_batch_field()`, `.sanitize_settings()`, `.enqueue_admin_assets()`, `.handle_get_models_request()`
  Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 3`** (7 nodes): `Aialtg_Cron`, `.add_custom_cron_schedule()`, `.check_cron_health()`, `.__construct()`, `.process_cron_batch()`, `.process_single_image()`, `class-aialtg-cron.php`
  Too small to be a meaningful cluster - may be noise or needs more connections extracted.
- **Thin community `Community 4`** (4 nodes): `Aialtg_Generator`, `.process_image()`, `class-aialtg-generator.php`, `.handle_ajax_request()`
  Too small to be a meaningful cluster - may be noise or needs more connections extracted.

## Suggested Questions
_Questions this graph is uniquely positioned to answer:_

- **Why does `Aialtg_Settings` connect `Community 0` to `Community 1`, `Community 2`, `Community 3`, `Community 4`, `Community 6`?**
  _High betweenness centrality (0.580) - this node is a cross-community bridge._
- **Why does `Aialtg_Image_Descriptor` connect `Community 1` to `Community 2`, `Community 4`?**
  _High betweenness centrality (0.240) - this node is a cross-community bridge._
- **Why does `Aialtg_Helpers` connect `Community 2` to `Community 3`, `Community 4`?**
  _High betweenness centrality (0.178) - this node is a cross-community bridge._
- **Are the 5 inferred relationships involving `Aialtg_Settings` (e.g. with `.manage_media_column_content()` and `.handle_get_models_request()`) actually correct?**
  _`Aialtg_Settings` has 5 INFERRED edges - model-reasoned connections that need verification._
- **Are the 6 inferred relationships involving `Aialtg_Helpers` (e.g. with `.handle_get_models_request()` and `.enqueue_admin_assets()`) actually correct?**
  _`Aialtg_Helpers` has 6 INFERRED edges - model-reasoned connections that need verification._
- **Should `Community 0` be split into smaller, more focused modules?**
  _Cohesion score 0.07 - nodes in this community are weakly interconnected._