Skip to content

impact and path need Soufflé on the user's machine: the query programs are not shipped compiled #1330

Description

@swapnilpaliwal-sd

On a machine without Soufflé, axiomcode impact (and any verb that runs a query program) exits 2:

this query needs soufflé and none is installed … — or a compiled rule binary in …/scripts/dl/.cache/, which runs without it

The engine packages ship the five language engines prebuilt, but not the query programs under plugins/axiomcode/skills/axiomcode/scripts/dl/ (impact.dl, path.dl, path-opt.dl, path-every.dl). Those are compiled on first use, which needs Soufflé and a C++ compiler on the user's machine. dl_program.py already keys its cache on the rules alone so that a shipped binary would work without Soufflé, but nothing ships one.

Reproduced on a fresh Ubuntu 24.04 VM after npm i -g @axiomcode/code-graph@0.1.0.

Fix: compile the query programs in build-engines.yml on every platform, ship them in each @axiomcode/engine-<platform> package, and have dl_program.py use the packaged binary when its rules hash matches.

Activity

  1. added
    bugSomething isn't working
    engineResolution / call-graph engine rules
    on Sep 25, 2026
  2. swapnilpaliwal-sd commented on Sep 25, 2026

    @swapnilpaliwal-sd
    ContributorAuthor

    Fixed by #1335, merged into dev (72daad6); ships in 0.1.1.

  3. added
    buildBuild, packaging and developer setup
    platformOS / toolchain portability
    skillAgent-facing query skill (skills/axiomcode)
    on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingbuildBuild, packaging and developer setupengineResolution / call-graph engine rulesplatformOS / toolchain portabilityskillAgent-facing query skill (skills/axiomcode)

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions