den icon indicating copy to clipboard operation
den copied to clipboard

Remove the #694 transition defaults on 2027-01-01

Open sini opened this issue 3 weeks ago • 0 comments

The #694 migration window ends on 2027-01-01 (removalDate in nix/lib/migrations.nix). A release on that date removes the transition defaults, so a user's host-class content stays with the user unless a host accepts it, as described in #750.

What goes: the user-aspects/transition-default and mutual-provider/transition-default policies, the transition warning and its denTransitionDefaultLost list, den.lib.migrations.transitionActive, the den.internal.transitionDefaults switch with its end-state.nix test harness, and the test cells that only exist for the transition.

What stays: den.batteries.user-aspects and den.batteries.mutual-provider as opt-in batteries. den.migrations.user-host-content.acknowledged stays for one more release as a stub that throws "the #694 migration ended on 2027-01-01; remove this setting".

If your config still relies on a transition default, that content stops reaching the host when this lands. The release notes say so, and the transition sections come out of the crossing-scopes, whats-changed and receiving-content docs in the same change.

Original write-up

The #694 release (the #746, #747, #753 and #756 stack) ships with a migration window. On 2027-01-01 (removalDate in nix/lib/migrations.nix), a scheduled release removes it.

What gets removed

  • The transition defaults. These are the user-aspects/transition-default and mutual-provider/transition-default policies that resolveEntity adds to every classed kind through den.default.includes.
  • The transition warning (checkLost in nix/lib/aspects/fx/resolve.nix) and its _module.args.denTransitionDefaultLost list.
  • den.lib.migrations.transitionActive and everything that reads it.
  • The defaults-off switch den.internal.transitionDefaults, and the test-support/end-state.nix harness that sets it in templates/ci.
  • The transition-only cells: deadbugs/issue-694-migration.nix and the transition columns of the #754 grid.

What stays, for one release

  • den.migrations.user-host-content.acknowledged becomes a throwing stub, with this message: "the #694 migration ended on 2027-01-01; remove this setting".

After the removal

  • den.batteries.user-aspects and den.batteries.mutual-provider stay as opt-in batteries.
  • A user's host-class content stays with the user unless a host accepts it: the end state described in #750.

Checks

  • The full suite runs with no transition harness. Every cell that pinned transition behaviour is removed or flipped to the end state.
  • Release note: configs that still rely on a transition default lose that content on the host.
  • Docs: remove the transition sections from explanation/crossing-scopes.mdx and whats-changed.mdx, and the transition text in receiving-content.mdx.

Tracking: #694, #750.

sini avatar Nov 10 '26 23:11 sini