refactor: manifest_read.php uses manifest.xml as primary lookup

Priority order: manifest.xml > .manifest.xml (legacy) > .moko-platform (v4)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Miller
2026-05-21 17:18:03 -05:00
parent c33106de1c
commit d37b547e87
+4 -4
View File
@@ -47,11 +47,11 @@ foreach ($argv as $i => $arg) {
$root = realpath($path) ?: $path;
$manifestFile = null;
// Priority: .manifest.xml > .moko-platform (backward compat)
// Priority: manifest.xml (current standard)
$candidates = [
"{$root}/.mokogitea/.manifest.xml",
"{$root}/.mokogitea/.moko-platform",
"{$root}/.mokogitea/.mokostandards", // legacy v4
"{$root}/.mokogitea/manifest.xml",
"{$root}/.mokogitea/.manifest.xml", // legacy (dot-prefixed)
"{$root}/.mokogitea/.moko-platform", // legacy v4
];
foreach ($candidates as $candidate) {