mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
The generator now emits VM_SCRIPTS_HASH and a monotonic VM_SCRIPTS_STAMP (kept while the scripts are unchanged; max(previous + 1, now) on a change). Provisioning records the stamp in /opt/orca/bin/.scripts-stamp (source builds use the fetched commit's stamp), installEntryPoints writes the Worker's, and ensureEntryPoints probes stamp + marker in one command and skips images whose stamp is newer than the Worker's. Golden refreshes use ensureEntryPoints too, so a lagging Worker cannot bake older scripts into a refreshed golden.