# Upgrade intelligence before CI runs

Plan / Pillar 3. Breadcrumb: [Home](https://osty.dev/) / Plan

Osty Plan answers whether `vA -> vB` will run on your fleet before a pull request exists. It normalizes Debian tracker, Ubuntu USN, Alpine SecDB and RHEL CSAF backports, reads ELF `DT_NEEDED` and `VERNEED` glibc floors, flags SPDX license changes, finds compiler-verified breaking call sites, and orders upgrades into topological waves.

Table: Compatibility checks Osty runs on every upgrade

| Check | Source of truth | Outcome when it fails |
| --- | --- | --- |
| Distro backport | Debian security tracker, Ubuntu USN and OVAL, Alpine SecDB, Red Hat CSAF and VEX | The installed package already carries the fix: `FIXED_BACKPORT`, no upgrade needed. |
| ELF ABI floor | `DT_NEEDED` and `VERNEED` entries in each binary, wheel, native addon and image layer | `ENV_BLOCKED` with the exact symbol, for example `GLIBC_2.34 > 2.31`. |
| License | SPDX expression of the old and new version | `LICENSE_BLOCKED`, for example MIT to BSL-1.1 or SSPL in a minor release. |
| Breaking call sites | Go, TypeScript, Pyright, JVM bytecode and Rust analyzers | `MIGRATION_REQUIRED` with the call sites that use a removed or changed API. |
| Rollout order | Graph of shared base images and internal libraries | Downstream services wait for the upstream wave. |
| All checks pass | Every row above | `DROP_IN_SAFE`, eligible for a verified pull request. |

Explain offline why an advisory is or is not actionable:

```bash
osty explain --cve CVE-2024-5535
```

## How does Osty stop Trivy and Grype false positives on Debian and Ubuntu backports?

Distributions fix CVEs by patching the version they already ship instead of moving to the upstream release. Debian 12 can carry an OpenSSL fix in `3.0.11-1~deb12u2` while the upstream advisory says fixed in `3.0.14`, so a scanner that compares upstream version ranges reports a vulnerability that is already patched.

Osty reads each distro's own tracker, compares versions with that distro's rules, and marks the finding `FIXED_BACKPORT` or `NOT_AFFECTED` with the feed, snapshot digest and justification. Advisory snapshots are Ed25519-signed so the same evidence works offline.

Table: Distro feeds Osty normalizes

| Distribution | Feed |
| --- | --- |
| Debian | Debian security tracker |
| Ubuntu | Ubuntu Security Notices (USN) and Ubuntu OVAL |
| Alpine | Alpine SecDB |
| RHEL | Red Hat CSAF and VEX |

## How does Osty check whether an upgrade breaks glibc ABI compatibility?

Osty parses the ELF headers of every native binary in the new version: Python wheels, Node native addons and image layers. `DT_NEEDED` lists the shared libraries a binary loads, and `VERNEED` lists the symbol versions it requires, such as `GLIBC_2.34`. Osty compares those floors with the glibc and libraries in each target base image.

A package that needs `GLIBC_2.34` on a workload running Debian 11 with glibc 2.31 is classified `ENV_BLOCKED` with that proof, and the plan points to the base image upgrade that has to ship first.

## How does Osty detect a license change such as MIT to BSL-1.1 on a minor upgrade?

Each upgrade compares the SPDX license expression of the current and target versions. With `blockLicenseChanges: true`, any move to a more restrictive license blocks the merge, and `allowedLicenses` limits upgrades to the licenses your organisation accepts.

## How does Osty find breaking call sites before CI?

Changelog claims are never trusted on their own. A breaking change only drives a migration when the compiler-level API diff between `vA` and `vB` confirms it and your code calls the changed symbol. The same native analyzers used for [reachability](https://osty.dev/see) find each call site.

Upgrades of a dependency's dependency are pinned only after the parent package's own calls into it are checked, so an override does not silently break the library that depends on it.

## In what order should a base-image patch roll out across downstream services?

Osty builds a graph of which services build on which base images and internal libraries, then orders work into topological waves. A patched OpenSSL base image ships first, internal libraries next, and services last, so no service is rebuilt against a base that has not been fixed yet.

1. Wave 1: shared base images such as a Debian bookworm runtime image.
2. Wave 2: internal libraries and intermediate images built on wave 1.
3. Wave 3: services, ordered by tier and exposure.

The ordering rule is checked as the TLA+ invariant `NoDownstreamBeforeUpstreamWave`. [Ship](https://osty.dev/ship) executes the waves as Temporal campaigns.

## Frequently asked questions

### Does Osty replace Trivy or Grype?

No. Your scanner stays the source of each finding, and Osty removes the ones a distro backport, a build-stage exclusion or a compiler call graph proves are not actionable.

### Can crowd CI results skip local verification?

No. Opt-in, k-anonymized CI pass and fail signals for public packages add confidence to an upgrade plan, but every upgrade still runs your own CI.

### What happens when a breaking change is claimed in a changelog but not in the API?

Nothing is migrated on the claim alone. Upstream prose is treated as untrusted, and only a compiler-confirmed API change drives a migration.

## Related pages

- [See](https://osty.dev/see): Runtime-to-source lineage, `osty stamp` provenance, stale deploy detection, ghost production workloads and native-compiler reachability.
- [Ship](https://osty.dev/ship): Fleet campaigns on Temporal, offline AI migrations capped at `VERIFIED_PR`, the Policy Patch Verifier, CI side-effect classification, canary gates and a stateful-safe kill switch.
- [Guard](https://osty.dev/guard): Pre-install supply-chain firewall: Firecracker honey-secret detonation, artifact-vs-Git diffs, behavior baselines, dependency-confusion defense and `osty-proxy`.
- [Architecture](https://osty.dev/architecture): Plane 1 (`osty-brain`), the control plane (`osty-control`, PostgreSQL 17, Temporal) and the thin edge (`osty-edge`, `osty-proxy`, `osty-sensor`), plus the accepted ADRs behind them.

## See your fleet in 10 minutes

Connect a read-only GitHub App and cloud role. Osty installs nothing in your environment and writes nothing to your repositories, and the report shows false positives, stale deploys and unowned workloads.

Get a free X-Ray: https://osty.dev/xray

Written by Osty Engineering. Published 2026-11-29. Updated 2026-11-29.

Canonical: https://osty.dev/plan
