mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
They shared a name and the lane died on it. `SPEC_REF` is the ref of the DOCUMENT — hanzoai/ci's client lane exports a hanzoai/cloud sha or v-tag — and this script also handed it to `git clone --branch` against hanzoai/openapi, which is a different repository and has never had a ref by that name. `git ls-remote hanzoai/openapi 5126939` returns nothing, and neither does v1.801.495, so every CI regeneration died at the clone before the generator ran. By hand it appeared to work, because with SPEC_REF unset the default was `main` and both repositories happen to have a branch called that — which is the worst kind of coincidence, one that makes a broken path look tested. The generator is cloned at its own default branch now, from git.hanzo.ai, and the document reaches the driver as a value: hanzoai/ci passes it digest-checked, and without that the driver reads this tree's .spec-lock and fetches the same bytes from the same forge. A hand run and a CI run project the same document instead of whatever main happens to be.