AGENTS.md
Working in xpd
Release and build invariants
- No unvendored system-header C crates in default builds. Linux and musllinux wheels cross-compile with
maturin build --release --zig, where system headers such as/usr/include/opensslare unavailable. Any Linux C dependency (including transitive proc-macro build dependencies such asopenssl-sysviasqlx-macros) must be vendored in both[target.'cfg(target_os = "linux")'.dependencies]and[target.'cfg(target_os = "linux")'.build-dependencies], or kept behind an opt-in feature. - Keep
Releasebuilds fast on self-hosted runners. Wheel builds run onhomelab(Linux, musllinux, sdist) andmini(macOS aarch64) viapitchforkdaemons (github-runner-xpd), withlto = "thin"andcodegen-units = 16in[profile.release]andcancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') }}in.github/workflows/release.yml. Windows wheels run onworkflow_dispatch. - Never push over a red
CIorReleaserun onmain.lefthookpre-pushmirrorsCI(cargo deny check,check_sample_marks.py,check_rule_conflicts.py). Fix any failure locally before pushing. - Ship a release in one push, then tag. Bump
Cargo.toml,Cargo.lock,.claude-plugin/plugin.json, andmcp.jsontogether in one commit onmain. Wait for that commit'sReleasewheel run onmainto pass, then push the signed tagvX.Y.Zto publish to PyPI and create the GitHub Release.