# noplayername/aicc-mmcs architecture

> Architecture diagram of the GitHub repository noplayername/aicc-mmcs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/noplayername/aicc-mmcs
- Repository: https://github.com/noplayername/aicc-mmcs

## Overview

This appears to be a Laravel foundry-production application for ACE and JSH operations: users record furnace plans, charging materials, energy and tapping data, then review reports and exports. The tree also shows balancing, material adjustments, ladle transfer and master-data features. Sampled sources confirm several JSH and ACE model/repository relationships, plus JSH service-to-repository wiring. Livewire and export implementations were not sampled, so those workflow links are shown as unverified rather than asserted.

Main entry points: [`app/Http/Livewire`](https://github.com/noplayername/aicc-mmcs/tree/main/app/Http/Livewire) (Operational screens), [`app/Models/Jsh/MaterialUse/ChargingHead.php`](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/MaterialUse/ChargingHead.php) (JSH charging heads), [`app/Repositories/MaterialUseJsh/MaterialUseJshRepository.php`](https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/MaterialUseJsh/MaterialUseJshRepository.php) (JSH material repository), [`app/Repositories/PlanProductionJsh/PlanProdRepository.php`](https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/PlanProductionJsh/PlanProdRepository.php) (JSH plan repository)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and navigation"]
  node_auth["Authentication<br/>[AuthService.php]"]
end

subgraph group_production["Production operations"]
  node_livewire["Operational screens"]
  node_planning["Production planning"]
  node_jshops["JSH material operations"]
  node_aceops["ACE material operations"]
  node_balancing["Balancing"]
  node_adjustments["Material adjustments"]
  node_ladle["Ladle transfer"]
end

subgraph group_persistence["Production data"]
  node_jshhead["JSH charging heads<br/>[ChargingHead.php]"]
  node_jshfurnace["JSH furnace heads<br/>[FurnaceHead.php]"]
  node_jshusage["JSH material usage"]
  node_jshplan["JSH production plans<br/>[ProdPlan.php]"]
  node_molding["Molding models<br/>[Models.php]"]
  node_basejsh["Shared model base<br/>[BaseModelJsh.php]"]
  node_acehead["ACE charging heads"]
  node_acefurnace["ACE furnace heads<br/>[FurnaceHeadAce.php]"]
  node_jshrepo["JSH material repository"]
  node_jshplanrepo["JSH plan repository"]
  node_aceplanrepo["ACE plan repository"]
  node_db[("Configured databases")]
end

subgraph group_insights["Reports and exports"]
  node_jshreportrepo["JSH report queries"]
  node_acereportrepo["ACE report queries"]
  node_reportservices["Report services"]
  node_reportviews["Report screens"]
  node_exports["Spreadsheet exports"]
end

node_operator(("Operator"))

node_operator -.->|"signs in"| node_auth
node_operator -.->|"uses screens"| node_livewire
node_auth -->|"authenticates"| node_operator
node_livewire -.->|"submits plans"| node_planning
node_livewire -.->|"records inputs"| node_jshops
node_livewire -.->|"records inputs"| node_aceops
node_livewire -.->|"opens balancing"| node_balancing
node_livewire -.->|"submits adjustments"| node_adjustments
node_livewire -.->|"records transfer"| node_ladle
node_jshops -->|"delegates"| node_jshrepo
node_planning -->|"delegates"| node_jshplanrepo
node_jshplanrepo -->|"queries plans"| node_jshplan
node_jshplanrepo -->|"reads charges"| node_jshhead
node_jshrepo -->|"creates charges"| node_jshhead
node_jshrepo -->|"saves usage"| node_jshusage
node_jshhead -->|"belongs to"| node_jshfurnace
node_jshhead -->|"relates usage"| node_jshusage
node_jshplan -->|"references model"| node_molding
node_jshhead -->|"extends"| node_basejsh
node_acefurnace -->|"has charges"| node_acehead
node_acehead -->|"extends"| node_basejsh
node_jshreportrepo -->|"queries plans"| node_jshplan
node_reportservices -->|"requests reports"| node_jshreportrepo
node_reportservices -.->|"requests reports"| node_acereportrepo
node_reportviews -.->|"requests reports"| node_reportservices
node_reportviews -.->|"downloads reports"| node_exports
node_jshplanrepo -.->|"reads data"| node_db
node_jshrepo -.->|"writes data"| node_db

click node_auth "https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/Auth/AuthService.php"
click node_livewire "https://github.com/noplayername/aicc-mmcs/tree/main/app/Http/Livewire"
click node_planning "https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/PlanProductionJsh/PlanProductionService.php"
click node_jshops "https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseJsh/MaterialUseJshService.php"
click node_aceops "https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseAce/MaterialUseAceService.php"
click node_balancing "https://github.com/noplayername/aicc-mmcs/tree/main/app/Http/Livewire/Balancing"
click node_adjustments "https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseAce/MaterialAdjustAceService.php"
click node_ladle "https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseAce/LadleTfAdjustService.php"
click node_jshhead "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/MaterialUse/ChargingHead.php"
click node_jshfurnace "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/MaterialUse/FurnaceHead.php"
click node_jshusage "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/MaterialUse/MaterialUsageJsh.php"
click node_jshplan "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/ProdPlan.php"
click node_molding "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/Molding/Models.php"
click node_basejsh "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/BaseModelJsh.php"
click node_acehead "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Ace/MaterialUse/ChargingHeadAce.php"
click node_acefurnace "https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Ace/MaterialUse/FurnaceHeadAce.php"
click node_jshrepo "https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/MaterialUseJsh/MaterialUseJshRepository.php"
click node_jshplanrepo "https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/PlanProductionJsh/PlanProdRepository.php"
click node_aceplanrepo "https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/PlanProductionAce/PlanProdRepositoryAce.php"
click node_jshreportrepo "https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/Report/Jsh/JshReportRepository.php"
click node_acereportrepo "https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/Report/Ace/AceReportRepository.php"
click node_reportservices "https://github.com/noplayername/aicc-mmcs/tree/main/app/Services/Report"
click node_reportviews "https://github.com/noplayername/aicc-mmcs/tree/main/app/Http/Livewire/Report"
click node_exports "https://github.com/noplayername/aicc-mmcs/tree/main/app/Exports"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_auth toneBlue
class node_livewire,node_planning,node_jshops,node_aceops,node_balancing,node_adjustments,node_ladle toneAmber
class node_jshhead,node_jshfurnace,node_jshusage,node_jshplan,node_molding,node_basejsh,node_acehead,node_acefurnace,node_jshrepo,node_jshplanrepo,node_aceplanrepo,node_db toneMint
class node_jshreportrepo,node_acereportrepo,node_reportservices,node_reportviews,node_exports toneRose
class node_operator toneIndigo
```

## Components

### Access and navigation

- [Authentication](https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/Auth/AuthService.php): `app/Services/Auth/AuthService.php`

### Production operations

- [Operational screens](https://github.com/noplayername/aicc-mmcs/tree/main/app/Http/Livewire): `app/Http/Livewire`
- [Production planning](https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/PlanProductionJsh/PlanProductionService.php): `app/Services/PlanProductionJsh/PlanProductionService.php`
- [JSH material operations](https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseJsh/MaterialUseJshService.php): `app/Services/MaterialUseJsh/MaterialUseJshService.php`
- [ACE material operations](https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseAce/MaterialUseAceService.php): `app/Services/MaterialUseAce/MaterialUseAceService.php`
- [Balancing](https://github.com/noplayername/aicc-mmcs/tree/main/app/Http/Livewire/Balancing): `app/Http/Livewire/Balancing`
- [Material adjustments](https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseAce/MaterialAdjustAceService.php): `app/Services/MaterialUseAce/MaterialAdjustAceService.php`
- [Ladle transfer](https://github.com/noplayername/aicc-mmcs/blob/main/app/Services/MaterialUseAce/LadleTfAdjustService.php): `app/Services/MaterialUseAce/LadleTfAdjustService.php`

### Production data

- [JSH charging heads](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/MaterialUse/ChargingHead.php): `app/Models/Jsh/MaterialUse/ChargingHead.php`
- [JSH furnace heads](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/MaterialUse/FurnaceHead.php): `app/Models/Jsh/MaterialUse/FurnaceHead.php`
- [JSH material usage](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/MaterialUse/MaterialUsageJsh.php): `app/Models/Jsh/MaterialUse/MaterialUsageJsh.php`
- [JSH production plans](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/ProdPlan.php): `app/Models/Jsh/ProdPlan.php`
- [Molding models](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Jsh/Molding/Models.php): `app/Models/Jsh/Molding/Models.php`
- [Shared model base](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/BaseModelJsh.php): `app/Models/BaseModelJsh.php`
- [ACE charging heads](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Ace/MaterialUse/ChargingHeadAce.php): `app/Models/Ace/MaterialUse/ChargingHeadAce.php`
- [ACE furnace heads](https://github.com/noplayername/aicc-mmcs/blob/main/app/Models/Ace/MaterialUse/FurnaceHeadAce.php): `app/Models/Ace/MaterialUse/FurnaceHeadAce.php`
- [JSH material repository](https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/MaterialUseJsh/MaterialUseJshRepository.php): `app/Repositories/MaterialUseJsh/MaterialUseJshRepository.php`
- [JSH plan repository](https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/PlanProductionJsh/PlanProdRepository.php): `app/Repositories/PlanProductionJsh/PlanProdRepository.php`
- [ACE plan repository](https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/PlanProductionAce/PlanProdRepositoryAce.php): `app/Repositories/PlanProductionAce/PlanProdRepositoryAce.php`
- **Configured databases**

### Reports and exports

- [JSH report queries](https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/Report/Jsh/JshReportRepository.php): `app/Repositories/Report/Jsh/JshReportRepository.php`
- [ACE report queries](https://github.com/noplayername/aicc-mmcs/blob/main/app/Repositories/Report/Ace/AceReportRepository.php): `app/Repositories/Report/Ace/AceReportRepository.php`
- [Report services](https://github.com/noplayername/aicc-mmcs/tree/main/app/Services/Report): `app/Services/Report`
- [Report screens](https://github.com/noplayername/aicc-mmcs/tree/main/app/Http/Livewire/Report): `app/Http/Livewire/Report`
- [Spreadsheet exports](https://github.com/noplayername/aicc-mmcs/tree/main/app/Exports): `app/Exports`

### Other components

- **Operator**

## Connections

- Operator → Authentication: signs in
- Operator → Operational screens: uses screens
- Authentication → Operator: authenticates (evidence: `app/Services/Auth/AuthService.php`)
- Operational screens → Production planning: submits plans
- Operational screens → JSH material operations: records inputs
- Operational screens → ACE material operations: records inputs
- Operational screens → Balancing: opens balancing
- Operational screens → Material adjustments: submits adjustments
- Operational screens → Ladle transfer: records transfer
- JSH material operations → JSH material repository: delegates (evidence: `app/Services/MaterialUseJsh/MaterialUseJshService.php`)
- Production planning → JSH plan repository: delegates (evidence: `app/Services/PlanProductionJsh/PlanProductionService.php`)
- JSH plan repository → JSH production plans: queries plans (evidence: `app/Repositories/PlanProductionJsh/PlanProdRepository.php`)
- JSH plan repository → JSH charging heads: reads charges (evidence: `app/Repositories/PlanProductionJsh/PlanProdRepository.php`)
- JSH material repository → JSH charging heads: creates charges (evidence: `app/Repositories/MaterialUseJsh/MaterialUseJshRepository.php`)
- JSH material repository → JSH material usage: saves usage (evidence: `app/Repositories/MaterialUseJsh/MaterialUseJshRepository.php`)
- JSH charging heads → JSH furnace heads: belongs to (evidence: `app/Models/Jsh/MaterialUse/ChargingHead.php`)
- JSH charging heads → JSH material usage: relates usage (evidence: `app/Models/Jsh/MaterialUse/ChargingHead.php`)
- JSH production plans → Molding models: references model (evidence: `app/Models/Jsh/ProdPlan.php`)
- JSH charging heads → Shared model base: extends (evidence: `app/Models/Jsh/MaterialUse/ChargingHead.php`)
- ACE furnace heads → ACE charging heads: has charges (evidence: `app/Models/Ace/MaterialUse/FurnaceHeadAce.php`)
- ACE charging heads → Shared model base: extends (evidence: `app/Models/Ace/MaterialUse/ChargingHeadAce.php`)
- JSH report queries → JSH production plans: queries plans (evidence: `app/Repositories/Report/Jsh/JshReportRepository.php`)
- Report services → JSH report queries: requests reports (evidence: `app/Services/Report/JshReportService.php`)
- Report services → ACE report queries: requests reports
- Report screens → Report services: requests reports
- Report screens → Spreadsheet exports: downloads reports
- JSH plan repository → Configured databases: reads data
- JSH material repository → Configured databases: writes data
