diff --git a/.current-epic/task-state.json b/.current-epic/task-state.json index b078e2c..3478624 100644 --- a/.current-epic/task-state.json +++ b/.current-epic/task-state.json @@ -27,7 +27,7 @@ "last_error": null }, "B": { - "phase": "implementor-spawned", + "phase": "completed", "job_id": "general-purpose:implementor-B3", "jira_key": "PM-88", "jira_url": "https://radiant-industries.atlassian.net/browse/PM-88", @@ -74,12 +74,11 @@ "last_error": null }, "E": { - "phase": "pending", + "phase": "review-blocked", "jira_key": "PM-78", "jira_url": "https://radiant-industries.atlassian.net/browse/PM-78", "title": "Thomas-compatible Rust LDraw semantic core", "workspace": "../epic-86-task-E", - "bookmark": "epic-86-task-E", "task_cache": ".current-epic/task-E.md", "plan_path": ".current-epic/plan-E.md", "task_context_dir": "../epic-86-task-E/.current-task", diff --git a/flake.nix b/flake.nix index a1b5fee..d656355 100644 --- a/flake.nix +++ b/flake.nix @@ -84,6 +84,9 @@ sed -i '1i #include ' include/LDParse/Cache.hpp # GCC 15 requires explicit lambda capture for offset in Geom.hpp sed -i 's/\[\](uint32_t &index){ index += offset; }/[offset](uint32_t \&index){ index += offset; }/' include/LDParse/Geom.hpp + # Callbacks can be invoked after an MPD NOFILE retargets them to nullptr. + # Ignore those stale parser events instead of asserting in the oracle. + sed -i 's/assert((mTarget != nullptr) \&\& "Invalid target");/if(!mTarget) return R();/' include/LDParse/ModelBuilder/ModelBuilderDefs.hpp cp ${./tools/ldraw-oracle/oracle.cpp} oracle.cpp ''; buildPhase = '' @@ -109,7 +112,7 @@ CxxBidirectionalCoroutines revision: ${coroutinesRev} Oracle schema: ldraw-oracle-v1 EOF - wrapProgram $out/bin/ldraw-oracle --set LD_LIBRARY_PATH \\ + wrapProgram $out/bin/ldraw-oracle --set LD_LIBRARY_PATH \ "$out/lib:${pkgs.lib.makeLibraryPath [ pkgs.boost pkgs.stdenv.cc.cc ]}" runHook postInstall ''; diff --git a/result b/result new file mode 120000 index 0000000..42199e7 --- /dev/null +++ b/result @@ -0,0 +1 @@ +/nix/store/k5ig65nvzynlqzgd357cabbgfz55shv6-ldraw-oracle-0fe78dcee22982f26cceced1b483340faa4d04e9 \ No newline at end of file