tangier
tangier makes monorepo CI smart: it maps your app into packages, works out which tests, gates and builds a change actually needs, and skips the rest — including anything you already ran locally.
One pipeline.toml at the repo root holds the map. tangier reads it locally and in CI, so the
developer and the workflow agree on what a change touches.
What it does
- Runs only the tests a change can affect. Tags map paths to packages,
dependscarries a library change to everything that uses it, and items lists turn the selected tags into test runner arguments. - Versions packages by the files that changed, not by commits. An image tag is a hash of the package's files and its dependencies' files. A docs-only commit, a rebase or a revert moves no tag, and a published tag is never rebuilt.
- Skips in CI what already passed locally. A gate records a local pass under a key made from content. CI finds the record and skips the job.
- Builds many packages from one repo, each with its own version. Each SHA bucket has its own
<BUCKET>_VERSION, and a bucket with an[image.*]table builds as an image. CI builds the images a change touched, as one matrix.
An example
askastro, a Python and React monorepo with seven images, maps a service like this:
[smartycore] # a shared library
paths = "lib/smartycore/**"
[astronort-lector] # a service: one image, its own version
paths = "service/lector/**"
depends = ["smartycore", "askastro-db"]
sha = true
unittest_items = "service/lector"
[image.astronort-lector]
dockerfile = "service/lector/Dockerfile"
[gate.test-backend] # run locally before a push; CI reuses the pass
cmd = "bin/test --dirs {unittest-items} --files {unittest-files}"
scope = ["smartypants", "astronort-lector", "test-backend-inputs"]
A change to lib/smartycore selects every service that depends on it, runs their unit tests, and
rebuilds their images. A change to service/lector runs only lector's tests and builds only
lector's image. A pre-push hook runs the gates, and gate run publishes each pass to origin:
tangier gate run --all
One CI workflow handles every event: a pull request runs what its diff selects, a push to main
builds and deploys to uat, and a nightly runs everything with --full.
A plan job runs changemap github-outputs, gate github-outputs and changemap build-matrix.
Every other job's if: reads one of its outputs, so no path rule is copied into YAML.
Install
uvx tangier@0.2.1 --help # run a pinned release from PyPI
uv tool install tangier==0.2.1 # or put it on PATH
Without uv, python3 -m tangier runs it from a checkout.
tangier needs Python 3.11 or later and has no dependencies. It runs on CI runners against the
system Python, with no setup-python step and no package installer.
Documentation
Read the guide in order to learn tangier:
- Map your app: tags,
depends, ignore-by-default. - Selective tests: items lists, runners, file-sets, touched flags.
- Gates: record a local pass, and skip it in CI.
- Packages and builds: content-hash versions and images.
- GitHub Actions: the plan job, gate jobs, builds and the nightly.
- Other features: deploy and tailnet.
Look things up in the reference:
pipeline.toml: every key.- CLI: every command, flag, output name and exit code.
- GitHub Actions: the canonical workflow and the shipped actions.
Follow a checklist:
The reference and checklists are the agent skill in skills/tangier/. Link it into an agent's
skills directory, and the agent reads the same pages:
ln -s /path/to/tangier/skills/tangier ~/.claude/skills/tangier
The design rules live in docs/specs/: changemap and
gate.
Other features
tangier also deploys with kustomize (tangier deploy) and checks the Tailscale path to the cluster
(tangier tailnet check). See other features.
Contributing
See CONTRIBUTING.md for the development loop and the release process.
Metadata
Release files for tangier 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tangier-0.2.1.tar.gz | 179.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tangier-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 320.6 kB
Release files / tangier-0.2.1.tar.gz
| Download URL | tangier-0.2.1.tar.gz |
|---|---|
| Size | 179.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aba7771d79d2f6c16f4cb39492cd382a3ba4e8069ba6553d009588274d3efe75
|
|
BLAKE2b-256 checksum How to use checksums |
3799de7f78c1a39def25ad0275ba13f7f1ccd1d0fce81b8899bd17d35e12a0db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logRelease files / tangier-0.2.1-py3-none-any.whl
| Download URL | tangier-0.2.1-py3-none-any.whl |
|---|---|
| Size | 141.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acfb3daf228f14f66f60a2bee8a062a74c8e5cbf1d03bbdc3a12233a33ba18c3
|
|
BLAKE2b-256 checksum How to use checksums |
80f216233a14e0defa20c173b935284a39e353fcd858ee1d8d98cb7a3a4cc111
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logSecurity for tangier 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tangier-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.