Official Codebase of 3DCodeVerse
Python
remove CI — the owner's call (2026-08-26): no GitHub workflow; ruff and the offline suite run locally before every push
gaoypenge758ebf02103
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymldeleted file mode 100644index b90e5666..00000000--- a/.github/workflows/ci.yml+++ /dev/null@@ -1,56 +0,0 @@-name: CI--on:- push:- paths: ["harness/**", ".github/workflows/ci.yml"]- pull_request:- paths: ["harness/**", ".github/workflows/ci.yml"]--jobs:- lint:- name: ruff (harness)- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v4- - uses: actions/setup-python@v5- with:- python-version: "3.13"- - run: pip install ruff==0.15.20- - run: ruff check --output-format=github .- working-directory: harness-- tests:- # ONE JOB, ONE VERSION. 3.13 is pyproject's requires-python and ruff's- # target-version (the owner fixed a single version on 2026-08-26; the 3.12- # floor and its LTS argument are gone), so this job tests exactly what the- # package claims and the claim cannot drift untested. It was a 3.10 + 3.13 matrix until 2026-08-25;- # across every failure it ever saw, both jobs failed identically — the source- # level is already covered by tests/core/test_portability.py, which is static- # and runs anywhere, so the second interpreter only ever reported one bug- # twice. What the real interpreter DOES buy is the install step below: proof- # that the dependency set still resolves on the floor. Development happens on- # 3.13; ruff's target-version keeps 3.13-only idiom out of the source.- # Node is not installed on the runner, so the node floor (20.6.0, see- # runtime_js/package.json "engines") is only checked by the version logic in- # tests/core/test_portability.py — the `node`-marked tests are deselected below.- name: offline tests (py3.13 — the one supported version)- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v4- - uses: actions/setup-python@v5- with:- python-version: "3.13"- cache: pip- - name: Install the harness (no Blender / node / GPU on the runner)- run: pip install -e ./harness[dev]- # The suite is marked: `live` needs API keys, `blender` needs a Blender- # binary, `node` needs runtime_js/node_modules — none exist on a runner,- # so CI runs the pure-python subset: 1290 selected of 1306, 1284 passed- # on 3.13 locally, out of the 2110 the whole offline suite passes. The- # few skips are data-dependent (recorded runs/batteries a fresh clone- # does not have). Measured with NO credentials in the environment,- # which is what a runner has: every non-`live` test must pass without- # keys (PORT-2).- - name: pytest (pure python subset)- run: python -m pytest tests/core tests/models tests/judges tests/orchestrator_tracks tests/flywheel_cli tests/bench_prompts tests/cost -q -m "not live and not blender and not node"- working-directory: harnessdiff --git a/harness/CLAUDE.md b/harness/CLAUDE.mdindex b1599d76..7a12b229 100644--- a/harness/CLAUDE.md+++ b/harness/CLAUDE.md@@ -30,8 +30,9 @@ score-vs-complexity corpus study) before changing anything.## Supported versions (what other people can run this on)python **3.13** (one fixed version — owner's decision 2026-08-26; no floor, no matrix) ·-node **20.6+** · Blender 4.2+ · Linux x86_64. **CI runs one job on 3.13** that tests exactly-what `requires-python` claims, so the claim cannot drift untested. The version lives in+node **20.6+** · Blender 4.2+ · Linux x86_64. **There is no CI** (removed 2026-08-26 by the+owner): run `ruff check codeverse bench tests` and the offline suite locally BEFORE every+push, with `set -o pipefail` so a `| tail` cannot swallow a red exit. The version lives in`pyproject` `requires-python` + ruff `target-version` + `scripts/setup.sh`, and`spatial/node.py:NODE_MIN` + `runtime_js/package.json` `engines` for node, pinned together by`tests/core/test_portability.py`. Details: `docs/INSTALL.md` §2.1.diff --git a/harness/README.md b/harness/README.mdindex 55b7d8d6..c714a5ca 100644--- a/harness/README.md+++ b/harness/README.md@@ -32,8 +32,8 @@ renders, judges, refines, textures and records every run as data-flywheel materithe same page as one shareable file.**Supported versions:** python **3.13** and node **20.6+** (Linux x86_64; Blender-4.2+ optional). Developed and measured on python 3.13 / node 24 — CI runs both-ends of that range. See `docs/INSTALL.md` §2.1.+4.2+ optional). Developed and measured on python 3.13 / node 24; there is no CI — the offline suite and+`ruff` run locally before every push. See `docs/INSTALL.md` §2.1.```bashbash scripts/setup.sh # install everything + run doctor (idempotent; see docs/INSTALL.md)diff --git a/harness/bench/prompts/turns_v1.yaml b/harness/bench/prompts/turns_v1.yamlindex 42da7d9a..0401e570 100644--- a/harness/bench/prompts/turns_v1.yaml+++ b/harness/bench/prompts/turns_v1.yaml@@ -1,4 +1,4 @@-# turns_v1 — the fewer-turns A/B slice (docs/COST.md §26). Six blender static objects copied+# turns_v1 — the fewer-turns A/B slice (docs/COST.md §29). Six blender static objects copied# VERBATIM from static_objects_v2.yaml (2 medium controls + 4 hard), chosen because each has a# completed 3-round run in bench/out/static_v2_flash/runs/<id> — so a wall-clock, turns-per-# session and calls-per-run baseline exists for the paired read-out. static_v2_flash minutes /diff --git a/harness/docs/INSTALL.md b/harness/docs/INSTALL.mdindex 3d901615..4e62f083 100644--- a/harness/docs/INSTALL.md+++ b/harness/docs/INSTALL.md@@ -56,9 +56,8 @@ cd harness/runtime_js && npm ci && npx puppeteer browsers install chrome && cd .### 2.1 Supported versionsOne fixed Python version — **3.13** — by the owner's decision (2026-08-26): no floor, no-matrix, no compatibility shims. The harness is developed, measured and CI-tested on it-(`.github/workflows/ci.yml`: one `offline tests (py3.13)` job on every push, so the claim in-`requires-python` cannot drift untested).+matrix, no compatibility shims, and — since the same day — no CI: the owner removed the+workflow, so the offline suite and `ruff` are run locally before every push (see CLAUDE.md).| component | version | how it is enforced | notes ||---|---|---|---|@@ -71,7 +70,7 @@ The offline suite on this box, 2026-08-26: **2736 passed of the 2775 selected**data-dependent, 28 deselected are `live`).Moving to another Python later is the same four-line change (`requires-python`, ruff-`target-version`, `PY_FLOOR`, `MIN_PY_MINOR`) plus the CI job's `python-version`.+`target-version`, `PY_FLOOR`, `MIN_PY_MINOR`).### 2.2 What you need installeddiff --git a/harness/pyproject.toml b/harness/pyproject.tomlindex 7ae3f146..3329ff6c 100644--- a/harness/pyproject.toml+++ b/harness/pyproject.toml@@ -8,7 +8,7 @@ version = "0.1.0"description = "3dcodeverse: a data-flywheel harness for LLM-written 3D code (Blender / CadQuery / Three.js / URDF / GLSL) across static objects, articulated objects and scenes."readme = "README.md"# Floor = 3.10 (the oldest interpreter the whole dependency set still resolves on and the-# one fixed version, 3.13 (owner, 2026-08-26): developed, measured and CI-tested on it.+# one fixed version, 3.13 (owner, 2026-08-26): developed and measured on it; no CI (tests run locally before a push).# Nothing in the package uses a 3.11+ stdlib name directly — the three that were used# (StrEnum, datetime.UTC, tomllib) live behind codeverse/_compat.py.requires-python = ">=3.13"@@ -90,7 +90,7 @@ timeout = 600# Live tests are OPT-IN (`pytest -m live`). Without this, a bare `pytest` on a machine# that happens to have API keys configured fires real requests, and during a provider# outage it hangs instead of failing — which is exactly what happened on 2026-08-24.-# Everyone's default run is now the offline suite CI runs.+# Everyone's default run is the offline suite (run locally before every push; there is no CI).addopts = ["-m", "not live"]markers = ["live: needs network + API keys (deselect with -m 'not live')",diff --git a/harness/tests/install/test_hermetic.py b/harness/tests/install/test_hermetic.pyindex 421d5f56..45669328 100644--- a/harness/tests/install/test_hermetic.py+++ b/harness/tests/install/test_hermetic.py@@ -3,7 +3,7 @@PORT-2: every non-``live`` test must pass with NO credentials in the environment.A test that only goes green because this box has 22 Gemini keys is not offline —-it is red on a fresh clone and red on the CI runner, which has none. Guarded by+it is red on a fresh clone (which has none). Guarded byre-running the two tests that reached for ambient credentials in a subprocess whoseenvironment has been stripped of every key source (the env vars AND ``$HOME``, sincethe key file lives at ``~/.config/astra3d/gemini_keys.env``).@@ -22,7 +22,7 @@ import pytestHARNESS = Path(__file__).resolve().parents[2]KEY_ENVS = ("GEMINI_API_KEYS", "GEMINI_API_KEY", "GOOGLE_API_KEY", "GOOGLE_GENAI_API_KEY")-#: the two that PORT-2 caught; both are inside the path list .github/workflows/ci.yml runs+#: the two that PORT-2 caught; both are inside the offline (pure python) subsetCREDENTIAL_FREE = ("tests/models/test_health.py::test_probe_model_treats_a_503_as_final","tests/texturing/test_tools_cli.py::test_texture_pass_tool_runs_with_injected_fakes",@@ -42,7 +42,6 @@ def test_passes_with_no_api_keys_in_the_environment(nodeid: str, tmp_path: Path)# --------------------------------------------------------------------------- PORT-8-CI_YML = HARNESS.parent / ".github" / "workflows" / "ci.yml"INSTALL = HARNESS / "docs" / "INSTALL.md"#: numbers the docs quote as test counts: "N passed", "N selected", "out of the N"_COUNT = re.compile(r"(\d{3,6})\s+(?:passed|selected)|out of the (\d{3,6})")@@ -57,7 +56,7 @@ def _collected() -> int:return int(m.group(m.lastindex))[email protected]("doc", [CI_YML, INSTALL], ids=["ci.yml", "INSTALL.md"])[email protected]("doc", [INSTALL], ids=["INSTALL.md"])def test_quoted_test_counts_are_possible(doc: Path) -> None:"""docs/INSTALL.md §2.1 advertises the floor as 'a tested claim, not an aspiration',so a count no invocation can produce is worse than no count: it read as a broken