Repository navigation
Open
Labels
enhancementNew feature or request
Milestone
Description
Summary
Add an optional Homebrew installation channel for codex-unlock, initially through a maintainer-controlled third-party tap such as abruption/homebrew-tap. npm remains supported. Defer a direct homebrew/core submission for now; reassess it separately when project age, adoption/notability, and Homebrew maintainer expectations make it appropriate.
Verified baseline (2026-09-24)
- Latest GitHub release and npm
latestare[email protected](release commitaaa7e7c7138d3f27c1fa7b41cf627841c386193b). package.jsonsupports Node^22.13.0 || ^24.0.0, macOS and Linux, and depends on nativefs-ext-extra-prebuilt@^2.2.14.docs/platform-support.mdcurrently verifies macOS 15 and Ubuntu 24.04 on both x64 and arm64, with real advisory-lock evidence. The CLI also requireslsoffor owner correlation.- Homebrew's default
nodeformula currently resolves to Node 26.x, outside this package's engine range; Homebrew also providesnode@24. The formula must explicitly usenode@24, not assume the ambientnodeis compatible. - The published npm tarball is
https://registry.npmjs.org/codex-unlock/-/codex-unlock-0.3.0.tgz(registry SRI:sha512-tJ8PinnHH2kaJ8OeCSzQVkLPmyM8HeW4uItplUOfotcoNewoReQxw2XA4qj9vQpewKzwp99DsFg0o9n+jWuPiQ==).
Acceptance criteria
- Provide a documented opt-in third-party tap install, upgrade, and uninstall path; do not submit to
homebrew/coreas part of this work. - Formula explicitly depends on and runs with
node@24, even when a different/default Node is earlier on the user'sPATH. - Verify the actual native addon load and lock-probe/owner-correlation path on every currently supported OS/architecture pair: macOS arm64 and x64, Linux arm64 and x64. Tests must use a real advisory lock plus
lsofevidence, not only--versionor file-existence checks; unsupported or missing evidence remains fail-closed. - Ensure
lsofis available to the installed formula on both macOS and Linux, declaring a dependency where the platform does not provide a supported system executable. - Pin the immutable npm release tarball and record/verify its SHA-256. Make the full runtime dependency resolution reproducible as well (e.g. pinned, checksummed resources or a verified vendored dependency set); do not build from a mutable branch or resolve floating dependency ranges at install time.
brew testexercises the installed CLI and native lock-probe path. The formula passesbrew audit --strictand is covered by CI for the supported platform matrix.- Document package-manager ownership and avoid overwriting or silently shadowing an existing npm-global
codex-unlockexecutable. Give clear manager-specific upgrade/uninstall instructions and test the collision behavior; never modify npm's global prefix or installation automatically. - Update installation/platform documentation without implying Windows support or changing npm's supported engine contract.
Non-goals
- Direct
homebrew/coresubmission now. - Creating or publishing a formula/tap as part of the request that opened this issue; those are implementation/release work tracked here for a later explicit development step.
- Automatically switching package managers, changing
PATH, or self-updating either installation.
Related: session-peer issue #185.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity