Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/patches/0a275297518bfc5d # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-mv#495 (code only) closed derived `0a275297518bfc5d` #495 Imported from GitHub aien-dev/omega-mv#495 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `f4a9849fb127f8d2d664dfc56890752ad180c507` · Head `a1896dcf68a899fe58ffbc32559fd4b3fa5bd4b3` ### Fetch it A git bundle of the pull request's head, 5198 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/0a275297518bfc5d.bundle -o 0a275297518bfc5d.bundle git fetch 0a275297518bfc5d.bundle refs/pull/495/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-mv 495 a1896dcf68a899fe58ffbc32559fd4b3fa5bd4b3 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":495,"url":"https://github.com/aien-dev/omega-mv/pull/495","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:03Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index 81f377ee2..371f42e72 100644 --- a/.crumb +++ b/.crumb @@ -96,14 +96,14 @@ } ], "children_root": "sha256:e1a8c008214ad5dbc33a3e184d7e882dc56d1d50f9bd14c58f8773992961557e", - "compiled_at": "2026-10-16T19:04:20Z", + "compiled_at": "2026-10-18T14:42:37Z", "compiler": "crumb-compile/1", - "digest": "sha256:32086cfe6b319e0c0229bec39553d1b32f7460aa660ad888d5eb5990522e705a", + "digest": "sha256:bc85819f4266c514a276f101111ef94da299d684c6f3f579ff6080340add76ea", "evidence_files": 11127, "evidence_root": "sha256:4528085ec1661c442b64fb5dc8def65067ea2620ff88e42bcf52d58b7642ea6e", "files": 14109, - "generated_at_commit": "88e24bdd57b27817d030d0ad95f62c3f3eacf426", - "source_tree": "sha256:e01c9caa38757306582443fe69f52cb061c3d27250f8ad0b9f4b4f43b009dc14" + "generated_at_commit": "01fb8b5378224721e4d9513abc7352021ff31e15", + "source_tree": "sha256:01c0c4195eef7d2b897d1a88cc1dfab4576a210f05be01a6b7d21d35503623ac" }, "owner_lane": "", "provenance": { diff --git a/Makefile b/Makefile index 3551fea3f..9f2dd3c68 100644 --- a/Makefile +++ b/Makefile @@ -101,10 +101,27 @@ $(OUT_DIR): $(OUT_DIR)/%.o: src/%.c | $(OUT_DIR) $(CC) $(CFLAGS) -c $< -o $@ -$(OUT_DIR)/m16_native.o: $(PHYSICS_DIR)/m16/m16_native.c | $(OUT_DIR) +# omega#488: which physics tree built the objects in $(OUT_DIR). Path and timestamp alone miss a switch of +# PHYSICS_DIR to another checkout whose files are older than the existing objects (m16_native.o and nvrm.o +# stayed built from an unpinned tree, and the chip launches timed out). physics.stamp records the resolved +# PHYSICS_DIR, its HEAD commit and a digest of its uncommitted diff; the recipe runs on every make but rewrites +# the file only when that content changes, so the objects that read physics (listed after the last rule of this +# file) rebuild exactly when the physics tree they were built from changes. +PHYSICS_STAMP = $(OUT_DIR)/physics.stamp +.PHONY: physics-stamp-force +physics-stamp-force: +$(PHYSICS_STAMP): physics-stamp-force | $(OUT_DIR) + @dir=$$(cd "$(PHYSICS_DIR)" 2>/dev/null && pwd -P || echo "missing:$(PHYSICS_DIR)"); \ + commit=$$(git -C "$(PHYSICS_DIR)" rev-parse HEAD 2>/dev/null || echo none); \ + diff=$$(git -C "$(PHYSICS_DIR)" diff --no-ext-diff HEAD 2>/dev/null | sha256sum | cut -d' ' -f1); \ + printf 'dir=%s\ncommit=%s\ndiff_sha256=%s\n' "$$dir" "$$commit" "$$diff" > $@.tmp.$$$$; \ + if cmp -s $@.tmp.$$$$ $@; then rm -f $@.tmp.$$$$; \ + else mv -f $@.tmp.$$$$ $@; echo "physics.stamp: $$dir @ $$commit (objects built from physics will rebuild)"; fi + +$(OUT_DIR)/m16_native.o: $(PHYSICS_DIR)/m16/m16_native.c $(PHYSICS_STAMP) | $(OUT_DIR) $(CC) $(CFLAGS) -c $< -o $@ -$(OUT_DIR)/nvrm.o: $(PHYSICS_DIR)/nvrm/nvrm.c | $(OUT_DIR) +$(OUT_DIR)/nvrm.o: $(PHYSICS_DIR)/nvrm/nvrm.c $(PHYSICS_STAMP) | $(OUT_DIR) $(CC) $(CFLAGS) -c $< -o $@ $(OUT_DIR)/crumbline/%.o: src/crumbline/%.c | $(OUT_DIR) @@ -2604,3 +2621,13 @@ $(GPU_LAUNCH_COST_TEST): tests/gpu_launch_cost_test.c src/omega_gpu_fp8_api.h sr GPU_L2_REUSE_TEST = $(OUT_DIR)/gpu_l2_reuse_test $(GPU_L2_REUSE_TEST): tests/gpu_l2_reuse_test.c src/omega_gpu_fp8_api.h src/omega_gpu_cmdlist.h $(OUT_DIR)/libomega_gpu.a $(CC) $(CFLAGS) -ffp-contract=off -o $@ tests/gpu_l2_reuse_test.c $(OUT_DIR)/libomega_gpu.a -lpthread -lm + +# omega#488: everything that reads the physics tree depends on $(PHYSICS_STAMP) (rule next to m16_native.o). +# - objects whose last build read a physics header, found in their -MMD files (on a fresh build there are no +# .d files and everything compiles anyway; an object whose source starts including physics changes its .c); +# - test binaries compiled straight from the physics sources (their recipes name the sources explicitly, so the +# stamp never reaches a compiler command line). +# This block stays last: the binary names are defined above it. +PHYSICS_HDR_OBJS := $(patsubst %.d,%.o,$(shell grep -l -E '/m16/m16_native\.h|/nvrm/nvrm\.h|/nvidia-open-[0-9.]+/' $(OUT_DIR)/*.d 2>/dev/null)) +$(PHYSICS_HDR_OBJS) $(RX_R12_SILICON) $(RX_R13_TEST_SILICON) $(RX_R13_SILICON) $(RX_COMPOSE_GATE_GPU) \ + $(OUT_DIR)/omega_blackwell_engine_syntax.o: $(PHYSICS_STAMP) ```