Repository navigation
v72: canonical em034 Lady runtime reconstruction - #104
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 97cdf729ab
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| return; | ||
| } | ||
|
|
||
| pendingInfoExportText = formatInfoExport(snapshot, format); |
There was a problem hiding this comment.
Preserve the export payload across activity recreation
If Android recreates the activity while the ACTION_CREATE_DOCUMENT picker is open—for example after a rotation or process reclamation—this instance field returns to its empty initializer. The subsequent REQUEST_EXPORT_INFO result therefore reaches exportInfoToUri() with no payload and reports that the export failed. Save and restore the pending payload (or persist enough data to reconstruct it) across activity recreation.
Useful? React with 👍 / 👎.
| for (std::size_t t = 0U; t < entries.size(); ++t) { | ||
| if (entries[t].archive == 0U && entries[t].container.empty() && | ||
| entries[t].slot == override.texture_slot && | ||
| entries[t].kind.format == Format::Ptx) { | ||
| texture = t; |
There was a problem hiding this comment.
Clear the fallback when an explicit PTX is unavailable
For an em034.pac whose designated PTX slot is missing or unrecognized, texture still contains the nearest-PTX fallback computed before this loop. Because a matching override exits the loop even when its target was not found, the model is then rendered with an explicitly known-wrong texture bank while the inspection report claims explicit appearance pairing. Reset the candidate when an override matches and leave it unpaired unless the requested slot is actually found.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e96a92bf72
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| EvidenceLevel::StructuralConfirmed}); | ||
| } | ||
| } | ||
| if (archive_name.find("em034") != std::string_view::npos) { |
There was a problem hiding this comment.
Preserve the warning for case-insensitive em034 names
When the same archive is named EM034.PAC or uses any other capitalization, archive_variants() still recognizes it and applies the structurally inferred companion attachment, but this case-sensitive substring check fails. The session then omits the non-canonical note, so the UI badge and exported inspection report no longer warn that the placement is not EXE-confirmed. Reuse the case-insensitive archive match rather than checking the original name with find().
Useful? React with 👍 / 👎.
Canonical em034 Lady runtime reconstruction for the v72 device-acceptance line.
This PR remains DRAFT and device-first. Do not merge until the final Android build is physically checked with both Lady costumes.
What is now EXE/corpus-backed:
Presentation/assembly rules:
Validation:
23d81babb0a34140d519de257bd6c12c09a1b265;dmc-native-reader-v72-lady-debugwas produced by the same exact-head run;15e48ec096b8536480a070e79cb5a0f67abcfd9b1a90fc3d5ac68142f03498a1;Physical acceptance still required:
No merge to main before those checks pass.