Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

docs(policy): correctness fixes use the stability escape hatch; deliberate default changes keep the deprecation window (#6261)

Dmytro Mishkin1f8cbaaf20a9
diff --git a/ROADMAP.md b/ROADMAP.md
index c3fb361bd..169634998 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -42,12 +42,13 @@ Four engineering north stars shape the roadmap below.
default-value bugs, so downstream users face a single loud migration instead of
a drizzle of breaking changes. The window runs *under* the
[stability policy](https://kornia.readthedocs.io/en/latest/get-started/stability.html),
- not around it: every semantic or default change gets the policy's deprecation
- treatment (at least one minor release of warnings, landing at a 0.x minor
- boundary) β€” "coordinated" means the changes are batched into one migration,
- not that the deprecation rules are waived. Only clearly-broken-output bugs
- (NaN, crashes) use the policy's correctness escape hatch and land early as
- ordinary bugfixes.
+ not around it: a deliberate change to a default or convention gets the
+ policy's deprecation treatment (at least one minor release of warnings,
+ landing at a 0.x minor boundary) β€” "coordinated" means the changes are batched
+ into one migration, not that the deprecation rules are waived. Correctness
+ fixes (NaN, crashes, wrong math, or a result that contradicts what the
+ operation is documented to do) use the policy's escape hatch and land when
+ ready, with a release note that says what the old behavior was.
3. **Freeze** β€” after the window, a **Tier A ("Kornia Core")** set is declared:
symbols with the strongest guarantees (autograd, gradcheck, compile, dtype/
device correctness, explicit conventions, semantic stability). Tier A starts
diff --git a/docs/source/get-started/stability.rst b/docs/source/get-started/stability.rst
index bf56eccd6..688994702 100644
--- a/docs/source/get-started/stability.rst
+++ b/docs/source/get-started/stability.rst
@@ -45,10 +45,13 @@ contract and the tiers above (stable core / best-effort / experimental) are what
you may rely on.
The repair window itself runs under the promises on this page, not around them:
-every semantic or default change it ships gets the promise-2 deprecation
-treatment β€” at least one minor release of warnings, landing at a 0.x minor
-boundary, with old-vs-new reference vectors β€” and only clearly-broken-output
-bugs (NaN, crashes) use the correctness escape hatch below.
+a deliberate change to a default or convention that works as documented gets the
+promise-2 deprecation treatment β€” at least one minor release of warnings, landing
+at a 0.x minor boundary, with old-vs-new reference vectors. A fix for a
+correctness bug (NaN, a crash, wrong math, or a result that contradicts what the
+operation is documented to do) uses the escape hatch below instead: it lands when
+it is ready, without a warning cycle, and its release note says what the old
+behavior was.
What counts as public API
-------------------------