Skip to content
CAI
Software that uses CAICheck a score

pkgxdev/pkgx

56.7

Adequate · 14 November 2026

2.7k

lines of production code

Rust

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Initial repository structure and documentation for pkgx

This change introduces the foundational files for the pkgx project, including the Apache 2.0 license, a comprehensive README detailing installation and usage across macOS, Linux, Windows, Docker, and CI/CD environments, and a tea.yaml file for repository ownership validation. It also adds configuration files such as .envrc for Cargo environment sourcing, .gitignore for build artifacts, .gitbook.yaml for documentation redirects, and AGENTS.md for contributor guidelines.

(repo-wide) · high confidence

New Docker images for Arch Linux, BusyBox, Ubuntu, and Debian variants

Users can now run pkgx in a wider variety of container environments with the addition of new Dockerfiles for Arch Linux, BusyBox, Ubuntu, and Debian. The Debian builds are split into two distinct profiles: a default "fat" image that includes development libraries (libc6-dev, g++, etc.) for compiling code, and a "slim" image containing only the runtime binaries for a smaller footprint. Additionally, a BusyBox variant is provided for minimal environments, and Ubuntu/Arch images are available for those specific base systems.

docker · high confidence

New scripts for Docker Hub image maintenance and release publishing

Added two new scripts to the repository: \find-orphaned-docker-hub-images.py\ identifies Docker Hub image tags that have unique digests (orphaned tags) for the \pkgxdev/pkgx\ image, aiding in cleanup; and \publish-release.sh\ automates the creation of draft GitHub releases, triggers the continuous deployment workflow, and finalizes the release after verifying the build status.

scripts · high confidence

Support parallel installation of multi-version dependencies

The library now allows packages with non-intersecting version constraints to coexist in the same environment. Specifically, \unicode.org\, \openssl.org\, and \abseil.io\ are recognized as multi-version projects; if their dependency requirements cannot be satisfied by a single version, the system installs separate instances for each distinct ABI line (e.g., OpenSSL 1.1 and 3) rather than failing with a conflict error.

crates/lib/src · high confidence

Behavioural changes

Configurable distribution URL and pantry tarball via build-time environment variables

The library now allows overriding the default distribution endpoint and the pantry tarball filename at build time. By setting the \PKGX\_DIST\_URL\ environment variable, users can point the binary to a custom distribution server (defaulting to \https://dist.pkgx.dev\ or \https://dist.pkgx.dev/v2\ on Windows). Additionally, the \PKGX\_PANTRY\_TARBALL\_FILENAME\ variable allows specifying a custom tarball name (defaulting to \pantry.tar.xz\). This is achieved through a new \build.rs\ script that injects these values into the compiled binary.

crates/lib · high confidence

Introduce new CLI modes and structured JSON output

The CLI now supports distinct operational modes: --query (-Q) to check program availability or list all available programs, --help (-h) for usage information, and --version (-v) to display the version. Users can now request structured output via --json=v2, which provides detailed package metadata including environment variables, runtime environment, associated programs, and companions. The tool also supports the @latest version specifier for packages, allows changing the working directory with --chdir (-C), and provides a --sync flag to force a database sync before execution.

crates/cli · high confidence

Dependencies

Initial dependency configuration for pkgx workspace

The project establishes a Rust workspace structure with \crates/cli\ (version 2.11.0) and \crates/lib\ (version 0.9.0), defining core dependencies such as \tokio\, \rusqlite\, \nix\, and \reqwest\ (0.13). The CLI crate includes \indicatif\ for progress reporting and configures \native-tls\ with vendored OpenSSL for non-macOS builds to ensure standalone operation in minimal environments.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 61 → 57 (-4.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 93 → 90 (-2.5)
  • Architecture 95 → 95 (+0.0)
  • Maturity 55 → 55 (+0.0)
  • Readiness 54 → 51 (-3.5)
  • Security 60 → 49 (-11.0)
  • Performance 100 → 100 (+0.0)

Resolved (4)

  • Duplicated block (14–15 lines × 2) (crates/lib/src/pantry.rs)
  • No ADRs found
  • Rotate the exposed credentials — git history can't be un-committed
  • Secret: square-access-token (deno.lock)

New (30)

  • Duplicated block (12–13 lines × 2) (crates/lib/src/pantry.rs)
  • Edited copies of one member (4 members, 9+ corresponding lines) (crates/cli/src/query.rs)
  • Low coverage: crates/cli/src/args.rs (crates/cli/src/args.rs)
  • Low coverage: crates/cli/src/dump.rs (crates/cli/src/dump.rs)
  • Low coverage: crates/cli/src/execve.rs (crates/cli/src/execve.rs)
  • Low coverage: crates/cli/src/help.rs (crates/cli/src/help.rs)
  • Low coverage: crates/cli/src/main.rs (crates/cli/src/main.rs)
  • Low coverage: crates/cli/src/query.rs (crates/cli/src/query.rs)
  • Low coverage: crates/cli/src/resolve.rs (crates/cli/src/resolve.rs)
  • Low coverage: crates/cli/src/spinner.rs (crates/cli/src/spinner.rs)
  • Low coverage: crates/cli/src/which.rs (crates/cli/src/which.rs)
  • Low coverage: crates/cli/src/x.rs (crates/cli/src/x.rs)
  • Low coverage: crates/lib/src/cellar.rs (crates/lib/src/cellar.rs)
  • Low coverage: crates/lib/src/client.rs (crates/lib/src/client.rs)
  • Low coverage: crates/lib/src/config.rs (crates/lib/src/config.rs)
  • Low coverage: crates/lib/src/env.rs (crates/lib/src/env.rs)
  • Low coverage: crates/lib/src/install.rs (crates/lib/src/install.rs)
  • Low coverage: crates/lib/src/install_multi.rs (crates/lib/src/install_multi.rs)
  • Low coverage: crates/lib/src/inventory.rs (crates/lib/src/inventory.rs)
  • Low coverage: crates/lib/src/pantry.rs (crates/lib/src/pantry.rs)
  • …and 10 more

Changes since last survey

  • 4 commits — 3 feature/other, 1 fixes

By area

  • (repo) — 2 commits
  • .github/workflows — 1 commit
  • docs/pkgx.md — 1 commit

Notable commits

  • fix: Merge pull request #1298 from Jah-yee/fix/docs-typos-supresses-soemthing
  • change: Bump taiki-e/install-action from 2.87.31 to 2.88.1
  • change: Merge pull request #1299 from pkgxdev/dependabot/github_actions/taiki-e/install-action-2.88.1
  • change: docs: fix two typos in pkgx documentation

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

pkgxdev/pkgx was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 1a9512aa4675e3388ee1854aba5348926e2e9d95 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.