- Default (build) mode picks up only *.json files for which NO variant folder
(../<name>/) exists yet, so an existing variant is never clobbered by a
build run (e.g. by a just-copied, not-yet-adjusted json). At the end it lists
the jsons that were NOT picked up and advises that they possibly need to be
re-built via 'build_all.sh --rebuild'.
- '--rebuild' mode picks up only *.json files whose variant folder already
exists, and advises about the jsons without a variant yet (build them with
the default mode).
- Both modes print a 'N built, M failed, K not picked up' summary, exit non-zero
on any build failure, and keep the owner follow-up actions (reset themes in
the LS admin, flushassets, Ctrl+F5).
- README build/rebuild sections and AGENTS.md updated to the two modes.
Verified in a /tmp sandbox: build mode built only the json without a variant
folder and listed the existing ones with the --rebuild advice; --rebuild built
only existing variants and listed the new json with the build advice; on the
real definitions dir the default mode built 0 and skipped all 3 (variants
exist) without touching ../respondage_respondage/config.xml (md5 unchanged).
export_public.sh exit 0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>