Skip to content

build: Intel macOS engine, and npm descriptions for v0.1.0 - #1328

Merged
swapnilpaliwal-sd merged 2 commits into
mainfrom
fix/darwin-x64
Sep 25, 2026
Merged

swapnilpaliwal-sd merged 2 commits into
mainfrom
fix/darwin-x64

Conversation

@swapnilpaliwal-sd

@swapnilpaliwal-sd swapnilpaliwal-sd commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Ships v0.1.0 for every Mac, not just Apple Silicon, and gives the npm packages descriptions people can read.

Intel macOS engine

  • build-engines.yml: the macOS job is now a matrix. darwin-arm64 builds on macos-15 and darwin-x64 on macos-15-intel. Each builds on its own architecture, so the smoke step runs the binary natively.
  • package.json: adds @axiomcode/engine-darwin-x64 to optionalDependencies. publish-npm refuses a real publish unless every platform pinned there was built.
  • The driver needs no change: run-souffle.sh already maps Darwin/x86_64 to darwin-x64.

npm descriptions

  • @axiomcode/code-graph: "AxiomCode Graph: a resolved call graph of your codebase grounded in formal methods, so you and your coding agents can see who calls what, what a change breaks, and which tests it reaches."
  • Each engine package: "The macOS (Intel) engine for AxiomCode Graph (@axiomcode/code-graph), a resolved call graph of your codebase grounded in formal methods." The same wording is used for macOS (Apple Silicon), Linux x64, Linux arm64 and Windows x64. Each package's README links back to the main package and says it installs automatically.

Also

protect-main.sh now records the ruleset settings that were applied by hand while merging #1318.

Release

The unpublished v0.1.0 draft and tag from #1318 were removed. Merging this tags v0.1.0 on this commit and opens a fresh draft. Publishing that draft ships five engine packages plus @axiomcode/code-graph.

macOS shipped for Apple Silicon only, so on an Intel Mac npm installed no
engine and the driver fell back to a local compile that needs Souffle and a
C++ toolchain. build-engines' macOS job is now a matrix: darwin-arm64 on
macos-15 and darwin-x64 on macos-15-intel, each on its own architecture so the
smoke step runs the binary natively. package.json pins the new package, and
publish-npm already requires every pinned platform before a real publish.
run-souffle.sh already maps Darwin/x86_64 to darwin-x64.

Also records in protect-main.sh the ruleset settings applied by hand while
merging the release PR.
The npm one-liner read like an internal note ("parser (IR extraction) +
type-directed reasoning engine ..."). It now leads with the product name
and says what it does, as esbuild, Biome and Turborepo do. Each engine
package names its platform in words, e.g. "The macOS (Intel) engine for
AxiomCode Graph (@axiomcode/code-graph)", and its README links back to the
main package and says it installs automatically.
@swapnilpaliwal-sd swapnilpaliwal-sd changed the title build: ship an Intel macOS engine (darwin-x64) build: Intel macOS engine, and npm descriptions for v0.1.0 Sep 25, 2026
@swapnilpaliwal-sd
swapnilpaliwal-sd enabled auto-merge (squash) September 25, 2026 06:55
@swapnilpaliwal-sd
swapnilpaliwal-sd merged commit 42320ad into main Sep 25, 2026
15 checks passed
@swapnilpaliwal-sd
swapnilpaliwal-sd deleted the fix/darwin-x64 branch September 25, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant