Files
wbin90620andClaude Opus 5.5 4dd48623ea build: a tag naming one package is not held to the client check
`hanzo-tools-fs-v0.3.5` publishes one wheel, built from pkg/hanzo-tools-fs.
The publish job refused it because the client step's check found
pkg/hanzoai/cloud drifted from production, so a release that does not
contain the client sat off PyPI behind it (hanzo-inc/cloud#758).

The client step now asks `onlypkg` first. It prints the pypi: directory a
`name-v1.2.3` / `name-1.2.3` / `[email protected]` tag selects, read with the PyPI
lane's own expression, when that project is not the client's. The client's
project is the directory of the file `client.version:` names, or the root.
A `v*` tag, the client's own tag, a branch push, a dispatch and a tag that
selects nothing still make the check. The `test:` gates still run.

Testing: bash bin/onlypkg_test.sh, 22 cases offline: 17 ask onlypkg about tags, 5 run the whole client step over a drifted projection (package tag passes with no generator and no network; v*, hanzoai-v* and a branch push refuse with DRIFTED; v* over a clean client passes). Two mutations of the skip each fail it.
Risk: a one-package tag publishes over a drifted client. Its wheel does not contain the client, and the `alone` install-and-import still runs before upload.
How to revert: git revert this commit; package tags are then refused on client drift again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-20 03:23:04 -08:00
..
2026-09-23 19:51:55 -07:00