This repository was archived by the owner on May 12, 2026. It is now read-only.
Fix CI preflight discovery + create self-contained CEG instrument package - #139
Draft
justinlietz93 with Copilot wants to merge 4 commits into
Draft
Fix CI preflight discovery + create self-contained CEG instrument package#139justinlietz93 with Copilot wants to merge 4 commits into
justinlietz93 with Copilot wants to merge 4 commits into
Conversation
…_package Co-authored-by: justinlietz93 <[email protected]>
Co-authored-by: justinlietz93 <[email protected]>
Co-authored-by: justinlietz93 <[email protected]>
Copilot
AI
changed the title
[WIP] Build self-contained CEG instrument package
Fix CI preflight discovery + create self-contained CEG instrument package
Feb 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI preflight suite has been failing since the glob pattern
"Derivation/code/tests/**/test_*preflight*.py"is never shell-expanded (quoted), so pytest sees a literal path and emits "file or directory not found". Additionally,test_ceg_harness_preflight.pyimported a non-existentinstrumented_cegmodule.Changes
CI fix
.github/workflows/preflight-push.yml: replace broken quoted glob withfind ... | sort | xargs python -m pytestNew module:
instrumented_ceg.pyDerivation/code/physics/metriplectic/instrumented_ceg.py— thin wrapper aroundrun_assisted_echoexposingrun_ceg_harness(spec, *, write_artifacts=True):write_artifacts=Falsemonkey-patchescommon.io_pathshelpers inside atry/finallyto suppress all disk I/O (for test/programmatic use)diagnosticskey summarising per-gate pass/fail fromgate_ledger_summarytest_ceg_harness_preflight_smokepreflight testSelf-contained CEG package
Derivation/Metriplectic/CEG_Metriplectic_Assistance/ceg_package/— flat directory that works with zero repo knowledge:All
physics.*/common.*repo imports replaced with relative.imports throughoutceg_instrument/. Public API:Original prompt
Build a SELF-CONTAINED CEG instrument package — zero friction
The previous approach was wrong — it just pointed at files scattered across the repo. The recipient (Asad, Liquid AI) needs a flat, self-contained directory he can copy out of the repo and run immediately with zero knowledge of the repo structure.
Create
Derivation/Metriplectic/CEG_Metriplectic_Assistance/ceg_package/that contains ALL the code, data, paper references, and instructions in ONE place. No symlinks, no "go find it in the repo" — actual copied/adapted files.Directory structure to create:
File contents:
ceg_package/README.md