Skip to content

M1: Update scripts/release-check.sh wheel asset paths to ether/_bundled_tools #86

Backlog

Description

@h45sh

Context

scripts/release-check.sh:66-70 verifies the built wheel by checking ZipFile entries via namelist() for tools/nmap/manifest.toml, tools/nuclei/manifest.toml, tools/ffuf/manifest.toml, tools/http_probe/manifest.toml, and tools/dnspython/manifest.toml.

Bundled tool adapters were relocated to ether/_bundled_tools/ in the wheel package, so tools/<name>/manifest.toml is absent from built wheels and scripts/release-check.sh (as well as scripts/release.sh, which invokes it) always exits 1 with Built wheel is missing required bundled assets.

Proof

Built the wheel from origin/dev@db5fc07 into a temporary directory and inspected its zip entries:

uv build --wheel --out-dir /tmp/ether-wheel-test /tmp/ether-audit-A
/home/harsh/Documents/ether/.venv/bin/python3 -c "
import zipfile, glob
wheel = glob.glob('/tmp/ether-wheel-test/*.whl')[0]
with zipfile.ZipFile(wheel) as z:
    names = set(z.namelist())
print('old_present:', [n for n in ['tools/nmap/manifest.toml', 'tools/nuclei/manifest.toml'] if n in names])
print('new_present:', [n for n in ['ether/_bundled_tools/nmap/manifest.toml', 'ether/_bundled_tools/nuclei/manifest.toml'] if n in names])
"
# old_present: []
# new_present: ['ether/_bundled_tools/nmap/manifest.toml', 'ether/_bundled_tools/nuclei/manifest.toml']

Impact

Breaks release preflight (scripts/release-check.sh and scripts/release.sh) on every wheel built from origin/dev. Does not affect runtime GatePolicy.SAFE enforcement.

Acceptance criteria

  • Update scripts/release-check.sh:66-70 to check ether/_bundled_tools/<name>/manifest.toml (and bundle_lock.json)
  • Verify scripts/release-check.sh passes on a clean wheel build from origin/dev

Out of scope

Changing wheel packaging layout in pyproject.toml.

Part of #24


audit:self · run 2026-12-03 · ref origin/dev@db5fc07 · cell interface×supply

Activity

  1. added this to the M1 Truth milestone on Dec 1, 2026
  2. added
    type:bug
    area:packaging
    priority:P2
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagingpriority:P2type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions