# Migration Batch 001 — FriiDump and Unlocker Engineering Knowledge

## Scope

Reviewed curated source trees:

- `friidump(1).zip`
- `xbox-dvd-tools-src(includes BranchA)(1).zip`
- `xbox-dvd-unlocker-src_BranchB(1).zip`

This batch intentionally migrated high-confidence engineering decisions from mature FriiDump and unlocker documentation, then corroborated key implementation claims against source code.

## Sources Reviewed in Depth

### FriiDump

- `friidump-handoff.md`
- `docs/reports/FRIIDUMP_HLDS_LIVE_VALIDATION_0.5.3.5.md`
- `libfriidump/dvd_drive.c`
- `src/friidump.c`

### Unlocker Branch B

- `README_storage_safety.txt`
- `README_xdvd_sidecar.txt`
- `README_xdvd_media_profile.txt`
- `README_raw_option1.txt`
- `README_redump_hash_json_fixes.txt`
- `README_redump_style_option1.txt`
- `README_scsi_start_stop_ready.txt`
- `README_scsi_stop_unit.txt`
- `README_write_media_state.txt`
- `README_zero_fill_filler_policy.txt`
- `xgd1_redump_agent_handoff.md`
- `main.c`
- `utils.c`
- `utils.h`

## Trust Assessment

| Source group | Assessment | Reason |
|---|---|---|
| FriiDump 0.5.3.5 live-validation report | Validated | Contains complete hardware runs and Redump-matching hashes; profile entries and cleanup behavior exist in source |
| FriiDump handoff | Mixed / current historical | Useful project state summary; some future-work ordering may later be superseded |
| Unlocker Branch B engineering READMEs | Partially corroborated to validated | Major safety, sidecar, profile, filler, and SCSI claims were found in source |
| XGD1 Redump handoff | Mixed | Strong current workflow record, but reconstructed filler remains intentionally incomplete and full Redump identity is not yet achieved |
| Branch A source tree | Unreviewed in depth | Retained for later semantic merge and shared-library migration |

## Knowledge Migrated

- Analyzer ↔ FriiDump ↔ hardware validation feedback loop.
- Exact validated GDR-8163B and GCC-4244 profile evidence.
- Live INQUIRY identity outranks case labels.
- TEST UNIT READY alone is insufficient for media preflight.
- Original Xbox engineering media package responsibilities.
- Explicit media/device profile separation.
- XGD1 coordinate-system distinctions.
- Synthetic filler disclosure requirements.
- Storage preflight, write, commit, close, size, and hash safety requirements.
- START/STOP UNIT and TUR semantic limits.
- Read-only write-media-state model for pressed Xbox media.

## PFES Files Updated

- Firmware Interfaces
- Media Acquisition
- Media Representation
- Media Validation
- Media Preservation
- Firmware Emulation
- Artifact Management
- XGD1 Engineering Media Profile

## Retention Recommendations

### Keep

- Current FriiDump source tree.
- FriiDump live-validation reports.
- Representative successful validation logs and profiles.
- Both unlocker branches until semantic merge and regression validation complete.
- XGD1 handoff until its enduring knowledge is fully represented and the merge is complete.
- Sidecar schema examples.

### Archive After Merge

- Superseded unlocker branch READMEs that remain useful only as development history.
- Earlier FriiDump profile-update reports after their unique claims are indexed.

### Regenerate

- Help output, routine build products, and duplicate hash files where canonical source and validation manifests reproduce them.

### Do Not Delete Yet

- Either unlocker branch.
- Representative failed media-preflight logs.
- Red Faction II sidecars and final logs.
- Validation profiles for each live-tested drive/firmware revision.

## Open Work

- Perform semantic merge of unlocker Branch A and Branch B.
- Create a feature and regression matrix before retiring either branch.
- Migrate GCC-4243N A102 live-validation evidence.
- Reconcile older 7.29 GiB hybrid wording with the current 3,820,880-sector Redump-style reconstruction wherever it remains.
- Continue the filler/security-sector acquisition investigation.
