# Blueprint Sampah Modul — Batch 1

> Bukti bahwa folder/file/method berikut **aman dihapus**.
> Semua item sudah diverifikasi: tidak ada route, tidak ada include/require, tidak ada referensi config.

---

## A. Folder Backup — 17 Folder (~144 MB)

| Folder | File | Size | Bukti |
|--------|------|------|-------|
| `variant_cutover_backup/` | 70 | 9.7 MB | Tidak ada referensi di routes.php, config/*.php, heMenu, heNavigation |
| `pembelian_05mei2026/` | 79 | 11.4 MB | Sama |
| `pembelian_26apr2026/` | 78 | 11.4 MB | Sama |
| `pembelian_28apr2026/` | 74 | 8.6 MB | Sama |
| `kasOLD/` | 73 | 10.8 MB | Sama |
| `penerimaanOLD/` | 59 | 10.0 MB | Sama |
| `opname_v0/` | 57 | 10.6 MB | Sama |
| `opname_ori/` | 54 | 10.3 MB | Sama |
| `pindahgudang_/` | 58 | 7.8 MB | Sama |
| `pindahgudang_29apr2026/` | 65 | 10.3 MB | Sama |
| `pembelianimport_26apr2026/` | 74 | 9.4 MB | Sama |
| `taxes_24apr2026/` | 69 | 10.0 MB | Sama |
| `pembelianprojek__/` | 72 | 8.2 MB | Sama |
| `akunting_/` | 3 | 51 KB | Sama |
| `produksi_sebelum_geser_bom/` | 62 | 9.8 MB | Sama |
| `laporankeuangan_ori_sebelum_suport_neraca_adjustment/` | 7 | 2.6 MB | Sama |
| `laporankeuangan_sebelum_adj_20240118/` | 7 | 2.6 MB | Sama |

**Total: ~1,039 file, ~144 MB**

> **Catatan:** `akunting_/` hanya 3 file (51 KB) — kemungkinan cuma stub/sisa rename.

---

## B. File Controller Backup — 17 File (~2.5 MB)

| File | Size | Bukti |
|------|------|-------|
| `Data_.php` | 82 KB | Tidak ada di routes.php / config. Class name tidak match filename |
| `Data_korekiai.php` | 324 KB | Class `Data` (duplikat `Data.php`). Tidak bisa di-load CI karena filename != class name |
| `Data_ori.php` | 263 KB | Tidak ada referensi di routes/config |
| `Ledger_ori.php` | 257 KB | Sama |
| `ReportORI.php` | 237 KB | Sama |
| `ReportModif.php` | 244 KB | Sama |
| `AutoLoanInterest_old_20200919.php` | 168 KB | Sama — nama mengandung "old" |
| `AutoLoanInterest_old_20200919 - Copy.php` | 168 KB | Sama — file copy |
| `AutoLoanInterest_sblm_update_30-08-2020.php` | 168 KB | Sama |
| `SetupLoanInterest_old_20200919.php` | 104 KB | Sama |
| `SetupLoanInterest_old_20200919 - Copy.php` | 104 KB | Sama |
| `RunRugilaba_bak.php` | 126 KB | Sama — "bak" = backup |
| `SetupDepresiasiTmp.php` | 149 KB | Sama — "Tmp" = temporary |
| `_tray_bak.php` | 57 KB | Sama |
| `Welcome_original.php` | 30 KB | Sama |
| `ProductPkgEditor1.php` | 17 KB | Class `ProductPkgEditor1`. Cek: tidak ada route |
| `arrayjs.js` | 70 KB | File JavaScript di folder controller — tidak bisa di-load CI |

---

## C. File Sisa Lainnya

| Path | Size | Keterangan |
|------|------|------------|
| `application/modules/pembelian.rar` | ~3-5 MB (est) | File RAR di folder modules — bukan PHP |
| `application/controllers/nbproject/` | ? | Folder project NetBeans |
| `application/modules/.idea/` | ? | Folder project PHPStorm |
| `application/controllers/.idea/` | ? | Folder project PHPStorm |

---

## Rekomendasi

1. **Buang folder backup A** — langsung `Remove-Item -Recurse`. Tidak perlu blueprint terpisah.
2. **Buang file controller B** — langsung `Remove-Item`. Tidak perlu blueprint terpisah.
3. **Buang file sisa C** — bersihkan IDE artifacts.
4. **Bersihin `checklist-sampah-modul.md`** setelah eksekusi.

---

## Perintah Eksekusi (PowerShell)

```powershell
# Folder backup
$backupFolders = @(
    'application\modules\variant_cutover_backup',
    'application\modules\pembelian_05mei2026',
    'application\modules\pembelian_26apr2026',
    'application\modules\pembelian_28apr2026',
    'application\modules\kasOLD',
    'application\modules\penerimaanOLD',
    'application\modules\opname_v0',
    'application\modules\opname_ori',
    'application\modules\pindahgudang_',
    'application\modules\pindahgudang_29apr2026',
    'application\modules\pembelianimport_26apr2026',
    'application\modules\taxes_24apr2026',
    'application\modules\pembelianprojek__',
    'application\modules\akunting_',
    'application\modules\produksi_sebelum_geser_bom',
    'application\modules\laporankeuangan_ori_sebelum_suport_neraca_adjustment',
    'application\modules\laporankeuangan_sebelum_adj_20240118'
)
foreach ($f in $backupFolders) {
    Remove-Item -Path "W:\san_staging\$f" -Recurse -Force
}

# File controller backup
$backupFiles = @(
    'application\controllers\Data_.php',
    'application\controllers\Data_korekiai.php',
    'application\controllers\Data_ori.php',
    'application\controllers\Ledger_ori.php',
    'application\controllers\ReportORI.php',
    'application\controllers\ReportModif.php',
    'application\controllers\AutoLoanInterest_old_20200919.php',
    'application\controllers\AutoLoanInterest_old_20200919 - Copy.php',
    'application\controllers\AutoLoanInterest_sblm_update_30-08-2020.php',
    'application\controllers\SetupLoanInterest_old_20200919.php',
    'application\controllers\SetupLoanInterest_old_20200919 - Copy.php',
    'application\controllers\RunRugilaba_bak.php',
    'application\controllers\SetupDepresiasiTmp.php',
    'application\controllers\_tray_bak.php',
    'application\controllers\Welcome_original.php',
    'application\controllers\ProductPkgEditor1.php',
    'application\controllers\arrayjs.js'
)
foreach ($f in $backupFiles) {
    Remove-Item -Path "W:\san_staging\$f" -Force
}

# IDE artifacts
Remove-Item -Path "W:\san_staging\application\controllers\nbproject" -Recurse -Force
Remove-Item -Path "W:\san_staging\application\modules\pembelian.rar" -Force

# Update AGENTS.md setelah hapus (manual via prompt)
```

---

## Verifikasi Setelah Eksekusi

Jalankan ini untuk pastikan tidak ada yang指向 file yang sudah dihapus:

```powershell
# Pastikan tidak ada route mengarah ke controller yang dihapus
Select-String -Path "W:\san_staging\application\config\routes.php" -Pattern "Data_|Data_korekiai|Data_ori|Ledger_ori|ReportORI|ReportModif"

# Pastikan tidak ada include ke folder backup
Select-String -Path "W:\san_staging\application\config" -Pattern "variant_cutover_backup|pembelian_05mei2026|pembelian_26apr2026|kasOLD"
```
