forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/app/src/tests/mod.rsClear filter

2026-10-23

🚚 edith moves to git.tahinli.comAhmet Kaan Gümüş · b02f499
🚚 edith moves to git.tahinli.com

The working tree as of 2026-10-23, as one commit on top of the last one
here. It carries the work up to that date plus the test-slimming work:
integration tests merged into one binary per crate, nextest config,
doctest = false, debug line tables only, perf tests behind --ignored,
and faster generators, reverse, undo, subtitle-export, hevc, stabilise
and hear tests.

2026-09-30

🔀 merge(gain): monitoring owns the gain and re-arms the deviceAhmet Kaan Gümüş · 8c1aee4
🔀 merge(gain): monitoring owns the gain and re-arms the device

# Conflicts:
#	crates/app/src/tests/mod.rs
fix(player): one owner for the monitoring level, so a preview close cannot undo itAhmet Kaan Gümüş · 8b784e6
fix(player): one owner for the monitoring level, so a preview close cannot undo it

The level is the *window's*, but it was pushed at whichever session
happened to be on screen (`apply_volume` went through
`active_session()`, preview-or-timeline). Open a preview, press M, press
Esc: the preview is quiet, the notice goes, and the timeline plays at
the level from before the preview -- usually full -- while the control
still reads "Muted". Shown level and heard level disagreed and nothing
said so. `open_preview` pushed at the preview directly rather than
through the one door, which is the same defect wearing a different hat.

The app keeps exactly one copy of the level (`Player::volume`, a setting
of the window and not of any session) and every session is a follower
of it. The engine cannot own it: a preview and the timeline are two
sessions with two devices, and the level has to outlive both, so the
owner is above them.

* `push_gain(gain, sessions)`: the push, over every session handed in.
  A free function over the sessions rather than a `&self` method so the
  round trip can be driven without a `Player`, which takes a gpui
  `Context` this test binary has no `TestAppContext` to build.
* `apply_volume` is a call to it with both session slots; `open_preview`
  and `close_preview` call it, so no door can swap the session on screen
  without telling the new one what the window is showing.

Witnesses: `a_preview_close_leaves_the_timeline_at_the_level_the_window_shows`
round-trips the level through the real push and reads it back out of the
device (`PlaybackSession::gain`), with a control that a session outside
the push is untouched. `the_window_level_is_pushed_at_every_session_and_on_every_swap`
pins the wiring the first cannot execute; reverting the push to the
active session alone fails it.
fix(app): a refused file names the refusal on its library rowAhmet Kaan Gümüş · c2e0146
fix(app): a refused file names the refusal on its library row

`engine::decode::probe` answers a stream this machine has no seat for
with an `Err` carrying the plugin's own words. `Player::refill` took
`engine::decode::probe(&path).ok()`, so the refusal and "a file with no
decoder to name" both became a missing map entry -- and a missing entry
drew an empty second line, the same line a song draws. A file that cannot
be decoded therefore looked exactly like a file that needs no word, and
the freeze that followed looked like the end of the film.

The map now holds a `Decoder` that can say all three things: asked and
not answered, the seat it will open on, or the refusal in the words the
decoder used. The row's existing detail line carries it; no second label
mechanism, and no change to what import or open does with the file.

Witness: `a_refused_file_names_the_refusal_on_its_row` drives the real
`engine::decode::probe` -- a `.mkv` that is not a container, refused by
the demuxer with no plugin and no hardware -- and asserts the row detail
equals the refusal. Red before (the row drew ""), green after, and red
again with `Decoder::detail`'s refusal arm reverted, and with
`From<engine::Result<..>>` mapping `Err` back to `Pending`.

2026-09-24

🐛 fix(player): a history step takes its settings and its pick back with itAhmet Kaan Gümüş · 7023001
🐛 fix(player): a history step takes its settings and its pick back with it

Four refuted claims from the bughunt review, each a thing an undo restored in
the session and left stale in everything that reads it.

Engine, the order a restored step runs in: `restored_step` reseeked inside
`edit` and adopted the entry's settings only afterwards, so the landing was
computed from the values the step had just undone -- a rate undo clamped the
playhead to the pre-undo rate's idea of the timeline's end and handed the
worker the last frame for a playhead at three seconds. The closure, then
`adopt_settings`, then the reseek; the same ordering reopens a proxy undo
through the switch that just went back.

Engine, the sweep's shape: `parts()` left the palette out, so the D4
round-trip's `parts` equality passed with `self.subtitles = prev.subtitles`
deleted outright. `SubtitleTrack` compares now and `parts` carries the
palette; the D4 test asserts the palette itself, which is the assertion that
cannot go vacuous.

App, the window's own copies: `^z`/`^y` refresh neither `self.fps` nor the two
proxy switches, so after a rate undo every cut, step and fade in this window
was counted at the rate just undone, the Settings rows showed a project the
session no longer had, and the stale switch was pushed at the next session
made. `history_step` re-reads all three off the session, which is a free
function over the session because this binary has no `TestAppContext` to build
a `Player` in -- `Player::undo` is the call plus the repaint.

App, the subtitle pick: a `^z` of a removal restores the palette and left the
pick where it was, so it named a different track than the one on screen -- the
desync `sub_pick_after_removal` prevents at the removal door. The pick follows
the track it names across the step (`sub_pick_after_restore`), the drawn
plate is dropped when the palette or the pick moved under it, and the two
docs claiming a subtitle removal is not an undo step say what it does now.

2026-09-16

✨ feat(audio): the look panel picks the strand colour and reads a typed oneAhmet Kaan Gümüş · 880e8a0
✨ feat(audio): the look panel picks the strand colour and reads a typed one

The CLIP tab's look section gains a Colour | Strand target over the disk
(Strand only once the waveform has two or more strands) and a field that
shows and takes the colour as #RRGGBB or rgb()/rgba(); an unreadable string
is refused in words and changes nothing. The wheel acts on the picked slot.

Every sample after the press is a live write, so one drag is one undo step
rather than sixty. And every click door that writes the project arms
autosave -- the look family, the settings rows, the library's source
removal -- which none of them did: a colour picked and then closed was lost
with no prompt, and the ledger never said "unsaved".
🐛 fix(audio): coalesce the visualizer wheel drag like the colour barsAhmet Kaan Gümüş · ed847d4
🐛 fix(audio): coalesce the visualizer wheel drag like the colour bars

One pointer sample wrote one edit(Dirty::Picture) -> start_picture: a full
picture rebuild at the playhead per sample, so a drag queued a reopen per
step and the window froze for the sum -- the shape drag_color's own comment
already names. The wheel now holds a sample while a rebuild is in flight
(stash_or_write, busy = a pending reseek), flushes it on release, and draws
its mark from the held sample so the hand leads the picture.

2026-09-14

✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menuAhmet Kaan Gümüş · dfcec06
✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menu

Visualizer is no longer wav-only: h on a video clip with sound paints
that file's soundtrack. Style bits live on the clip (outline, smooth,
fast, colour) and toggle from CLIP. `?` type-to-filters the keys list.
Group / Ungroup / Regroup are clip-menu rows, not chords-only.

2026-09-10

🐛 fix(engine): tests never open a playback deviceAhmet Kaan Gümüş · 429bf04
🐛 fix(engine): tests never open a playback device

PlaybackSession::open connected a real PipeWire stream for every
fixture — the 1 Hz pulse was the bip-bop on the speakers. VE_NO_AO=1
and cargo-test binaries under target/*/deps/ get a wall-clock silent
sink instead; VE_AO=1 still forces the ignored ao_output suite onto
the device.

2026-09-09

✨ feat(app): every spine verb answers a right-click on the thing it acts onAhmet Kaan Gümüş · cb302ca
✨ feat(app): every spine verb answers a right-click on the thing it acts on

The rail is going (option C: nothing on screen), so the verbs it listed need
the door DESIGN §9 names -- the menu of the thing under the cursor. The clip
menu gains the cut machinery (the trim pair, their trim-to-playhead pair and
the loop-trim) on the subject cut a right-click already names; the ruler and
the empty bench open the timeline's own menu (walking the cuts at either
stride, the zoom trio, snap with its state in the row, the undo pair); a lane
head opens the track's (the three adds, and the one remove of its own kind,
never another lane's).

Destructive rows sit under a rule line wherever they are listed, which moved
Delete and Lift to the foot of the clip menu. Every row is still an ActionId
the keyboard reaches, so label and chord keep coming out of the registry, and
`every_verb_the_spine_carried_is_a_right_click_row` fails the moment one of
them loses its pointer door again.
✨ feat(app): the export moment's row 3 is the encode optionsAhmet Kaan Gümüş · f916eb3
✨ feat(app): the export moment's row 3 is the encode options

The choices were only in the Settings room and nothing on the moment
pointed there (user: "couldn't find how to change encode options,
simplifying doesn't mean getting rid of advanced settings"). Row 3's
readout becomes the controls it was reporting: three ghost segments --
picture `c`, sound `b`, encoder `g` -- driving the very setters the
Settings rows drive, plus a `settings ^,` ghost as the door to the rest.
The Encoder chord moves `e` -> `g` on both surfaces, since `e` is the
moment's own Export press and a ghost wears no shifted letter.

2026-08-27

🎨 style(app): cargo fmt pass over the media-kind verb-filtering diffAhmet Kaan Gümüş · 9ac15de
🎨 style(app): cargo fmt pass over the media-kind verb-filtering diff

No behavior change -- just rustfmt normalizing line wraps the prior
commit left ragged.

2026-08-26

🧪 test(app): assert the bitrate refusals on the shared NumberEdit itselfAhmet Kaan Gümüş · 9dc7454
🧪 test(app): assert the bitrate refusals on the shared NumberEdit itself

Lane E left commit_mbps dead in the live build (the card now commits through
ui::widgets::NumberEdit) while tests still asserted the dead fn's wording —
a placebo. The fn is gone; the same empty/zero/floor/ceiling refusals are
asserted on the widget, the door the card actually uses.
🔥 remove(ui): the legacy tree — darkroom is the only roomAhmet Kaan Gümüş · 5dcc6c2
🔥 remove(ui): the legacy tree — darkroom is the only room

Delete the whole legacy UI (timeline.rs, toolbar.rs, inspector.rs, legacy
render body, OLD_GUI gate — the env read is gone, not a switch) and every
helper only it reached: ~6,900 LOC out. Darkroom stance is the only room.

Real gaps the removal flushed out, fixed here:
- typed bitrate in the export card was completely dead — NumberEdit
  digits/backspace/enter/esc now wired in param_card_key
- ActionId::CancelExport was a no-op while the progress card promised the
  chord — now calls cancel_export (ctrl+esc, oracle-enabled during export)
- actions card had no pointer entry — "?" ghost is clickable, scrim
  click closes, inner list swallows
- snap toggle got a button beside zoom-fit in the VIEW group

Dead-by-construction machinery deleted with its tests: key rebinding
(rebinding/rebind_action/capture never set live), keys_search (no search
box exists), cancels_export/format_key/next_audio_kbps, 17 layout.rs
consts/fns, and the rest of the 32 no-—tests dead-code warnings; both
`cargo build -p edith` and `--tests` are warning-free, 245 tests green.

2026-08-21

2026-08-20

fix(ui): the maximize-a-card branch compiles and its own claims get testsAhmet Kaan Gümüş · db1e199
fix(ui): the maximize-a-card branch compiles and its own claims get tests

Two compile errors from the wip checkpoint, both fixed at the root rather
than per call site:

- dark_card_head now returns `impl IntoElement + use<>`: edition 2024's
  default precise-capturing rule was pulling cx's elided lifetime into its
  opaque return type, so any hoisted `let head = dark.then(|| dark_card_head(
  ..., cx));` kept cx borrowed until head's own use -- fighting every other
  cx.listener(...) built in between. Fixing the return-type capture (rather
  than reordering all seven cards defensively) closes the whole class; only
  subtitle_style_card and silence_card actually needed the hoist once that
  was true.
- inspector.rs's OLD_GUI=1 tree threads its existing `room: Size<Pixels>`
  through to color_card/transform_card/speed_card/silence_card/mix_card/
  subtitle_style_card, same as eq_card already did.
- below_picture_floor gained a bench_h parameter on main (the seam feature);
  every darkroom card's maximize-scrim .top() call now reads the live
  Split::Bench height instead of a stale one-arg call.
- a pre-existing structural test's 1200-char window onto dark_card_head no
  longer reached the help tooltip once the maximize glyph/tooltip grew the
  function ahead of it; widened to fit.

Three new tests in tests/cards.rs: EQ box growth vs. eq_x/eq_y's untouched
0..1 mapping, below_picture_floor's floor-plus-band-equals-window invariant
across bench heights (using the real two-arg signature), and the maximize
flag's save/load/corrupt-file round trip via the same XDG_CONFIG_HOME
scratch-path pattern tests/media.rs already uses.
🐛 fix(ui): a card's own ? tooltip stops hiding from its own cardAhmet Kaan Gümüş · d4c877b
🐛 fix(ui): a card's own ? tooltip stops hiding from its own card

Tip::render suppressed every tooltip while OVERLAID was set, but a card
being open is exactly what sets OVERLAID -- so the card-head `?` glyph
that carries the how-to text moved off the card body could never paint
while its own card was on screen. Add OverlayTip, exempt from OVERLAID,
for tips anchored on the overlay itself; dark_card_head's help now uses
it. Underlying-UI tips are untouched and still stand aside for a modal.

2026-08-19

🧹 chore(app): the compiler has nothing left to sayAhmet Kaan Gümüş · 47519e8
🧹 chore(app): the compiler has nothing left to say

The uniform lanes_shown/rows_below pair went with their last caller
(the mixed math is the render's), their pins moved onto the mixed
variants, and the escape rule's re-export is the tests' alone.
✨ feat(app): fullscreen fills the screen with the player, not the appAhmet Kaan Gümüş · 24cc062
✨ feat(app): fullscreen fills the screen with the player, not the app

Fullscreen used to hand the OS window to the monitor with all of the
chrome still on it -- a bigger editor, not a bigger picture. It now
draws the picture region alone, the way every consumer player does,
and asks the platform's own toggle to agree with it.

Escape leaves it, and is answered before any menu or preview under it
gets a look at the stroke: one stroke, one effect, so an escape with a
preview open behind fullscreen leaves fullscreen first and stops the
preview on the second. F11 toggles it either way.

Driven live in the nested-sway harness on a 4K H.264 mp4: the click on
Fullscreen left only the letterboxed picture on screen (no topbar,
library, inspector or timeline pixels) with sway fullscreen_mode=1;
Escape brought the whole layout back at fullscreen_mode=0; F11 in and
Escape out repeated it. 174/174 app tests green.
✨ feat(app): the project's sound rate gets a picker beside its two siblingsAhmet Kaan Gümüş · 2c88d10
✨ feat(app): the project's sound rate gets a picker beside its two siblings

Resolution and rate have long had a card row and a stroke; the mix's own
sample rate (engine already honours it end to end) had neither. Wires
PlaybackSession::sample_rate/set_sample_rate through a third
pending_settings slot, a SampleRate pick/choice, and a project-panel row
next to Size and Rate -- reachable before any file is open the same way
the other two are.
✨ feat(app): resolution and rate are choosable before any file opensAhmet Kaan Gümüş · dc9a2c2
✨ feat(app): resolution and rate are choosable before any file opens

A pick made on an empty player waits in pending_settings and lands on
the next session the moment it is built, the same way a saved project's
own numbers do. The inspector rows and the Resolution keystroke work
with nothing open; a .edith's saved settings still win over a stale
pre-import pick. Engine test proves a later import never touches an
explicit resolution or rate.
✨ feat(app): the export card leads with presetsAhmet Kaan Gümüş · e6a4f45
✨ feat(app): the export card leads with presets

Primary pane: destination, Web / Small file / Master / Audio only /
Custom presets (keys v/l/t/u, refusal-aware rows), and an Advanced fold
(s) holding the full codec matrix and machine notes. Master writes
HEVC/High so its re-editing promise stays true; default state lands on
Web.
🎨 style(app): subtitle lanes go thin and library subtitles get real groupsAhmet Kaan Gümüş · 2efce0f
🎨 style(app): subtitle lanes go thin and library subtitles get real groups

SUB_LANE_H=24 (WCAG hit-target floor) with per-kind lane math restores
the thin caption look f85f4db lost; lane remove moves to right-click on
the eye. Library subtitle group headers are always on when several
sources exist, foldable per source, with tint and track count.
✨ feat(app): a library full of subtitles reads as its films againAhmet Kaan Gümüş · 791ea9f
✨ feat(app): a library full of subtitles reads as its films again

Group headers in the Text tab used to vanish under sub_headers_fit's
viewport gate, which was the one thing carrying "whose tracks these
are" once a window got short -- so a short window left every track
looking like it belonged to whichever film happened to be scrolled
into view. The row list already scrolls past SUB_ROWS_H, so the gate
was solving a problem the scrollbar had already solved: headers are
now drawn whenever there is more than one source, full stop.

Each header now also says how many tracks it holds and folds its
rows shut on a click (Player::sub_folded, session-lifetime, never
saved) -- a plain toggle and not the click-cycling pattern this
codebase has already thrown out once. Its hit target moved up to
HIT_MIN to earn the click.

A standalone .srt was already its own named group (by its own
filename) rather than a sourceless catch-all, so no "External"
bucket was needed for it.
🐛 fix(app): the export card's presets pick their own bundle, not the codec row's leftoversAhmet Kaan Gümüş · 4b92704
🐛 fix(app): the export card's presets pick their own bundle, not the codec row's leftovers

Six judge-confirmed defects in one pane: a refused preset click still wrote
a quality (checked the refusal after the write, not before), refused
presets rendered bright and clickable with no reason shown, the card opened
on Custom because the launch default (Mp4, Auto) matched no bundle, the
five preset rows were pointer-only, and the status line still advertised
g/r after they moved into Advanced. Master now bundles HEVC/High instead of
H.264/High, so its own "for re-editing later" detail (intra-only, every
frame a cut point) is true of what it actually writes.
⚡ perf(app): the silence scan starts at import, not at the cardAhmet Kaan Gümüş · 99d87d4
⚡ perf(app): the silence scan starts at import, not at the card

Moves the whole-source RMS decode engine::silence::levels_with_progress
was only ever asked for when the silence card opened
(Player::start_silence_scan) into Player::cache_media, the same
per-repaint "unseen sources" door the waveform, proxy and stream
probes already run through. The scan is now landed under a
whole-source sentinel key (full_scan_key, out_frame = u32::MAX) in
the very silence_levels map the card reads, so scan_silences slices a
clip's own [in, out) window out of it (slice_whole_levels) before
ever falling back to the on-demand per-clip scan the card used to
start unconditionally.

silence_bg tracks scans in flight per (path, stream): its presence is
the dedupe against a re-add of the same source, and remove_source /
close_session cancel it via the same Progress::cancel flag
start_silence_scan already used, so a source that leaves mid-decode
does not write levels into a library that no longer holds it.

Caveat: the background decode is still O(file length) -- ~1700x
realtime per engine::silence::levels' own doc comment, so a
several-hour file is still seconds of background work, just no
longer on the card's critical path, and a card opened before that
finishes still falls back to its own on-demand scan.
🐛 fix(app): the caption strip is thin again, and the header still fits its own doorsAhmet Kaan Gümüş · 0a5590f
🐛 fix(app): the caption strip is thin again, and the header still fits its own doors

f85f4db drew subtitle lanes as full LANE_H media rows and kept only a 4px cue
band -- SUB_LANE_H (== HIT_MIN, 24px) undoes that: a caption lane's row, its
box and its bed all draw at it now, branched off `lane.kind` at the one place
a row's height is set.

A thinner header has no room for two stacked HIT_MIN targets, so the
subtitle lane's remove control moves off its own row onto the right button of
the show/hide eye -- the same door a caption's own box already answers to.
20px, the other harness candidate the task asked for, was never shippable:
the eye button is the row's one surviving hit target and fills the whole row,
so anything under HIT_MIN there is a WCAG 2.5.8 target shrunk to chase a
pixel count.

lanes_h_mixed/lanes_shown_mixed/rows_below_mixed generalise the panel's
overflow math off each lane's own height instead of assuming every row is
LANE_H, so a caption track in the stack does not throw off the "N more
below" affordance. The uniform lanes_h/lanes_shown/rows_below and their
pinned tests are untouched.

2026-08-15

🐛 fix(timeline): the strips are their own mouse regions, and a jump is a proportionAhmet Kaan Gümüş · 640189f
🐛 fix(timeline): the strips are their own mouse regions, and a jump is a proportion

The lane stack's strip lay over the beds as painted pixels and as
nothing else: a press fell through to the clip beneath it -- selected
it, started its drag, opened its menu -- and a notch over it scrolled
the stack twice, once by the strip's own handler and once by the
column's native scroll behind it. The strip now occludes: gpui's hit
test stops at it, so nothing under it hears a button or a wheel, and
the wheel it answers with is the column's own unit (pixel_delta, a
line a notch) so a notch there moves the stack exactly as far as a
notch over the names does. An occluder is also deaf itself to the root
that follows every drag, so the thumb's two listeners ride on the strip
exactly as drag_scrim's do -- a vertical thumb drag never leaves the
strip's own 14 px, and a drag that does is picked up by the root's
copies without a seam. The time axis's strip takes the press and the
wheel for the same reason: its row sits over nothing today, but a
gesture it drew was not its to share.

The time axis's click-beside-the-thumb jump was worked out in pixels at
the view's own pps, which lands at span-over-duration of the target --
the first drag sample, read through the track's proportion like every
other, then snapped the view to where the hand had not put it. The jump
now goes through that same proportion, so the thumb centres on the
press, at its own width and at its floor width alike, and the drag that
carries on from the press lands exactly where the jump left the view.

2026-08-14

✨ feat(subs): one subtitle track is shown and every placed one is exportedAhmet Kaan Gümüş · 1139174
✨ feat(subs): one subtitle track is shown and every placed one is exported

The picture drew every subtitle lane at once, so three lanes of different
words were three plates over one film and two hundred were nonsense. One
lane draws now -- the one whose header dot is lit -- and clicking another
lane's header moves the picture to it. The pick is resolved against the
lanes there are at the moment it is read (`subs::active_lane`), so one lane
needs no picking, the first lane added draws, and removing the shown lane
promotes the first one left instead of blanking the picture.

The overlay asks the shown lane for its cues and no other, so a frame costs
what one lane costs whatever the stack is.

What travels in a file is untouched by that pick: every subtitle lane on the
timeline is its own track in the output. What did travel wrongly is a track
sitting in the *palette* on no lane at all -- with every subtitle lane
emptied, the engine's palette fallback wrote all of them into the file.
`Player::export_subs` now answers with the tracks a lane places, which is
the same sentence the card says.
🧹 chore(app): the dead imports and the arguments nothing readsAhmet Kaan Gümüş · 07ee3c7
🧹 chore(app): the dead imports and the arguments nothing reads

A build printed thirteen warnings and every one of them was something the
code had stopped using: four imports nobody names any more, a picture
duration the timeline is handed and never reads, and the export flag a
rewrite of the hint line left behind.

Removed rather than hushed. An unused argument is a caller handing over
something the callee has no use for, and the two bindings that were
computed and dropped read state on every frame to throw it away.

What is left of the thirteen is five dead-code warnings whose only
callers are tests -- a panel-height ladder, a volume label, the theme's
focus stroke, the palette lookup beside it -- and taking those out means
taking their tests out, which is a decision about that code and not a
warning to be tidied on the way past.
🧹 chore(app): the subtitles toggle says what is placed, not what is pickedAhmet Kaan Gümüş · d6c0e92
🧹 chore(app): the subtitles toggle says what is placed, not what is picked

Under lanes the picture reads the subtitle lanes, so the toggle's notice
naming the palette row named a track the stroke never touches: it now counts
the captions actually placed, and so does the toolbar's own label ('No subs'
for a palette full of tracks nobody dragged anywhere).

- actions.rs: toggle_subtitles words itself off placed captions; subtitle_track
  (the last pick-shows-it reader) gone, placed_captions in its place.
- toolbar.rs: the subs control reads placed captions.
- subs.rs/export.rs: docs that still said a pick draws.
✨ feat(app): the words get a track of their own, dragged and trimmed like everything elseAhmet Kaan Gümüş · eef3d5d
✨ feat(app): the words get a track of their own, dragged and trimmed like everything else

The subtitle strip under the lanes is gone and the subtitle lanes the engine
model landed are drawn as lanes: the same row, the same header, the same bed.
A palette row is dragged out of the Subtitles list onto one, a placement is
dragged along it or onto another subtitle track, either end is trimmed, and the
box's own × lifts it off -- a caption is not in the clip selection's index
space, so no stroke reaches it and a lane holding one may not be removed.

The row is `lane_row`, unbranched: a subtitle lane holds no `Clip` and every
other lane holds no `SubClip`, so the two lists are never both full and there is
no second kind of row to keep in step. Headers reorder and remove through the
machinery every lane already had.

An `Ok` is never a toast: `move_sub` and `trim_sub` answer a pick-up-put-back
and an edge stopped at a wall with `Ok` and no undo step, so only the refusals
are shown, in the engine's own words after the head. A subtitle lane refuses
media in `lane_refuses`, so the shadow is red on the way down.

Each lane's header carries its eye, on by default and dropped wholesale when a
lane is removed or reordered -- what reads it over the picture is the next
slice; nothing is saved yet either.
✨ feat(app): the seat that writes the picture is picked on the card, not by an env pinAhmet Kaan Gümüş · 50af5b5
✨ feat(app): the seat that writes the picture is picked on the card, not by an env pin

The export card gains an Encoder row: Auto, Hardware or Software, three rows in a
list like every other setting with more than two values -- `e` steps it, a click
opens the list, and the planned line under the rows re-probes and says which seat
it measured.

Auto is what every export did before (the GPU where there is one). Hardware is
the GPU or a refusal in words -- `Enc::open` refuses before the muxer exists, so
nothing is written -- and it is now the only door to the plugin's AV1 seat, which
`VE_HW_AV1=1` used to guard: an env pin nobody exporting a film would ever find.
A person who picks it for AV1 gets a plain row naming what happened on this box's
driver, and the pick still stands.

Software forces the CPU encoder, which also takes the zero-copy path off the
table by construction (`Enc::dma_want` answers only for the two hardware seats).

Kept with the project: `.edith` gains an `encoder` line at v14, written only when
it is not Auto, and a v13 file loads as Auto.

- engine: `ExportSettings::force_sw` -> `seat: EncoderSeat`; `hw_seat` returns the
  refusal instead of falling back; `planned_video` says `NO_HW_SEAT` where it would
- app: `Pick::Encoder`/`Choice::Encoder`, card row, `e` in the card's own keyboard
  and in the keys menu (`FIXED`)
- tests: the backends sweep runs all three seats (the AV1 hardware seat excepted,
  as before), and asserts the refusal is only what a missing seat produces
✨ feat(app): the stand-ins are made when a project asks, not whenever a big film arrivesAhmet Kaan Gümüş · 269b0c2
✨ feat(app): the stand-ins are made when a project asks, not whenever a big film arrives

A project now says whether an import makes a proxy by itself. On is the
default and the line left out, so every project that came before behaves
exactly as it did; off makes nothing at all, and turning Proxies on is
what asks for the ones the project is missing -- the only ask there is,
since no per-source item exists.

The file grows an `autoproxy` line and the version goes to 13: a v12
project makes them by itself, which is all any project could do.

The switch is a button beside Proxies in the PROJECT panel, ctrl+o, and
a row on the actions card -- the three doors together, as the two
sync tests require.
🐛 fix(app): the cue steps over the bar hanging off the pictureAhmet Kaan Gümüş · 0c26d06
🐛 fix(app): the cue steps over the bar hanging off the picture

A notice, the import line and the seek line hang off the bottom edge of
the picture region, and the cue plate sat at a fixed 8 px off that same
edge -- so every message was drawn across the line being read, and cost
the reader both of them.

The plate now sits above whatever those bars measured (`height_probe`
-> `sub_bottom`) and comes straight back down the frame they leave: the
no-notice position is unchanged to the pixel, which is the position
people are used to. A picture cue (PGS) is slid up by the same
measurement with cancelling top/bottom insets, so the disc's canvas
keeps the height -- and so the fit -- it had with nothing hanging
there, rather than being refitted into a shorter box.

Measured and not counted: a notice wraps to as many lines as the window
is narrow (31 px on one line, 43 on two), and any constant here would
be right at exactly one width. The probe asks for one more frame when
that height changes, because the window a notice arrives on may be
paused and never draw again by itself.

2026-08-13

🐛 fix(tests): a card's body ends where the card doesAhmet Kaan Gümüş · f6f8156
🐛 fix(tests): a card's body ends where the card does

`every_card_closes_without_the_keyboard` read a card's source "up to the
next `\n    fn `" out of every source file joined end to end -- and these
methods are `pub(crate) fn`, which that cut matches none of. So each body
ran tens of thousands of characters past its own end, through the rest of
its file and into the next one: `mix_card`'s scrim could stop closing the
card and the guard still passed, on five other cards' `close_card` calls
downstream of it.

Two helpers in the tests' own module now, because a slice that starts at
`ui_source()` spills by construction and there are 42 seams to spill at:
`source_from` cuts inside the one file its needle is in, and `fn_body`
ends a method at the `    }` at the impl's own indent. The inspector's
occlusion rule reuses the first; the concatenation keeps its old job of
answering whether a line is written anywhere, and says so.
🔧 chore(tests): the window's tests move out of the file they were testingAhmet Kaan Gümüş · e87ada1
🔧 chore(tests): the window's tests move out of the file they were testing

Two thirds of `main.rs` was its own test module: sixteen thousand lines,
of which six thousand were the tests. They are `src/tests/` now -- shared
imports and fixtures in `mod.rs`, the tests themselves under the five
headings they already fell into: editing, view, cards, media, layout.

Pure motion, except for the scans. Several guards read the window's own
source to hold a structural rule, and they read it with `include_str!`
over a list of file names -- a list that goes quietly wrong the moment a
region moves house, which is exactly what this commit does to six
thousand lines and the next one will do to more. They walk `src/` at run
time now: every `.rs` under it, found rather than named, so a rule cannot
be passed by moving the code out from under it. A stray colour in a file
nobody declared as a module is caught; under the old list it was not.