|
| 1 | +# BUILD_PR_10_23_SAMPLE_IMPORT_DESTINATION_PRESET_FIX |
| 2 | + |
| 3 | +## Required Codex Work |
| 4 | + |
| 5 | +### 1. Locate sample-owned presets |
| 6 | +Search sample-owned JSON files only for: |
| 7 | +`games/<project>/` |
| 8 | + |
| 9 | +Focus on: |
| 10 | +- `sample.*.asset-browser.json` |
| 11 | +- Import Hub / Asset Browser preset JSON fields |
| 12 | +- Samples 0204, 1413, 1505 and any other sample-owned presets with this placeholder |
| 13 | + |
| 14 | +### 2. Replace sample destinations |
| 15 | +For every sample-owned preset: |
| 16 | +- Replace game destination templates with sample-local destination templates. |
| 17 | +- Preferred pattern: |
| 18 | + `samples/phase-XX/NNNN/assets/` |
| 19 | + or a more specific sample-local subfolder such as: |
| 20 | + `samples/phase-XX/NNNN/config/` |
| 21 | + `samples/phase-XX/NNNN/assets/vectors/` |
| 22 | + `samples/phase-XX/NNNN/assets/imports/` |
| 23 | + |
| 24 | +Use the smallest correct destination based on asset/category type. |
| 25 | + |
| 26 | +### 3. Preserve catalog source data |
| 27 | +Do not alter: |
| 28 | +- asset IDs |
| 29 | +- asset catalog entries |
| 30 | +- source file paths |
| 31 | +- schema identity |
| 32 | +- sample preview behavior |
| 33 | + |
| 34 | +### 4. Keep game workflow separate |
| 35 | +Do not change files under `games/`. |
| 36 | +Do not remove game-project placeholders from actual game workflow presets. |
| 37 | + |
| 38 | +### 5. Validation report |
| 39 | +Create: |
| 40 | +docs/dev/reports/PR_10_23_SAMPLE_IMPORT_DESTINATION_PRESET_FIX_report.md |
| 41 | + |
| 42 | +Report must include: |
| 43 | +- files changed |
| 44 | +- all replaced destinations before/after |
| 45 | +- confirmation no sample-owned JSON still contains `games/<project>/` |
| 46 | +- confirmation games/ files were not changed |
| 47 | +- confirmation no start_of_day changes |
| 48 | + |
| 49 | +## Constraints |
| 50 | +- One PR purpose only. |
| 51 | +- No schema rewrite. |
| 52 | +- No loader changes unless required by validation. |
| 53 | +- No unrelated UI/data changes. |
0 commit comments