File size: 1,337 Bytes
b3863ce eb14f7a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | # Structure Mapping Record
Whenever an upstream asset source is reorganized during import, record the mapping between:
- original upstream directory layout
- current on-disk layout in this repository
- reason for the transformation
- whether internal relative references were preserved
## Required fields
For each source, record:
- `upstream_root`
- `original_layout`
- `current_layout`
- `mapping_notes`
- `reference_preservation`
## Why this matters
Without explicit structure mapping, a repository can no longer answer:
- which files came from which upstream directory
- whether a path change was semantic or only organizational
- whether relative XML/mesh references were preserved
- how to re-import a source after upstream updates
## Rule
If you change a source’s on-disk structure, update:
- `docs/source_notes/<source>.md`
- the source’s `metadata.yaml`
- any manifest row that stores `path`
## Current storage layers
```text
assets/<source>/raw/...
assets/<source>/derived/...
```
- `raw/`: source-preserved imported files. Do not overwrite these during processing.
- `derived/`: generated or transformed outputs such as convex decomposition results, collision meshes, cleaned meshes, and format conversions.
Derived outputs must point back to their raw inputs through `metadata.yaml` and `source_refs.yaml`.
|