Install what the default-application roles are curated to

Seeding is deliberately conservative: a role whose preferred applications
are all missing is left alone rather than forced. That is right, and it
is also silent -- so a curated handler nobody installs presents as the
machine quietly going back to deciding defaults by installation order,
which is the problem seeding exists to fix. None of Loupe, Papers,
Decibels, Nautilus, mpv or sushi was declared anywhere.

Preview works, on org.gnome.NautilusPreviewer2 rather than the interface
its bus name suggests, but it opened tiled -- shoving the file manager
aside for something meant to be an overlay -- so it gets a float and
center rule sized to leave the file underneath visible.

xdg-utils and desktop-file-utils were undeclared too; seeding from
link-dotfiles started calling them, and the dependency contract said so.

Claude-Session: https://claude.ai/code/session_01BRvzt4H8XXLPVH5MyYdk9L
This commit is contained in:
Gabriel Brown
2026-08-19 09:35:12 -04:00
parent 91306ce810
commit 2b3b762793
6 changed files with 82 additions and 5 deletions
@@ -33,15 +33,23 @@ install seeds `org.gnome.Loupe`, `org.gnome.Papers` and `org.gnome.Decibels`
only when they exist; otherwise it correctly leaves the role alone and the
machine falls back to installation order — the exact problem we just fixed.
- Declare Loupe, Papers, Decibels and sushi in the dependency list so
`declared-dependencies-contract` fails when a curated handler is missing.
- Wire preview: confirm space-to-preview from the file manager, and decide
whether preview is worth a compositor-level keybind for the focused selection.
- Extend the family contract to assert every seeded candidate is installable.
- Declare Loupe, Papers, Decibels, Nautilus, mpv and sushi so a fresh machine
actually has what seeding prefers.
- Wire preview.
- Extend the family contract to assert every preferred handler is a declared
package.
**Done when** a fresh machine gets the same handlers this one has, and the
contract fails loudly if a curated application is not a declared dependency.
**Landed 2026-08-19.** The previewer answers on `org.gnome.NautilusPreviewer2`,
not the `NautilusPreviewer` interface its bus name suggests, and it opened
*tiled* -- shoving the file manager aside for something meant to be an overlay
-- so it now has a float-and-center window rule. No compositor keybind: the
selection to preview lives in the file manager, and nothing outside it knows
what is selected. `xdg-utils` and `desktop-file-utils` were also undeclared,
which the dependency contract caught the moment seeding started calling them.
## Phase 2 — Make GTK applications wear our accent (small)
The named accents theme our own surfaces; Loupe, Papers, Nautilus and every other