forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on main

2026-08-10

✨ feat(panel): the volume is a slider, and an empty timeline refuses to playAhmet Kaan Gümüş · c377b3d
✨ feat(panel): the volume is a slider, and an empty timeline refuses to play

The level is a hundred steps now rather than twenty, so a drag along the
bar reads as continuous; the keys still move five percent a press and
mute is still the button beside it.

And a timeline with nothing on it is end-of-stream from its one black
frame onward, so the transport read it as "played out" and restarted a
clock that had nothing to run against: the button said Pause and no
press of it ever paused. Nothing to play is a message now, and the
button dims -- unless it is playing, which a delete can leave it doing.
✨ feat(timeline): a jumpcut reaches as far as you tell it toAhmet Kaan Gümüş · 88fbed0
✨ feat(timeline): a jumpcut reaches as far as you tell it to

A ripple used to be the whole timeline's business. It is a choice now:
the card's first row says whether an apply reaches this take (its picture
and its sound), this track alone, or every track -- and a track nobody
named does not move, which is how a podcast track loses its silences
while the music under it stays where it was.

The engine takes an arbitrary set of lanes, not a kind or a range, so
what "selected" means stays the front-end's business. It refuses, by
name, a scope that would take one half of a take with it rather than
quietly widening to the other half: widening would edit a track the user
did not name, which is the surprise scoping exists to end. Naming the
take is a row, and detaching is the other answer -- the refusal says both.

The notice names what it reached: "5 SILENCES CUT on A1 — other tracks
untouched".
🐛 fix(timeline): a silence refusal names the file and the frame it meansAhmet Kaan Gümüş · 564ba30
🐛 fix(timeline): a silence refusal names the file and the frame it means

A still handed to the silence card answered in the mp4 demuxer's words
("a box with a larger size than it"), which is true of a container and
useless to a person: a picture has no sound for the same reason a silent
video has none, so it is refused in the same sentence, by name.

And a rate that cannot be cut at the *end* of a silence said the start
instead -- a frame the cut would have been fine at, and the wrong place to
send anyone looking.
✨ feat(timeline): silences are cut out or played fast in one pressAhmet Kaan Gümüş · d4ac3fc
✨ feat(timeline): silences are cut out or played fast in one press

A scan of the selected clip's own sound (RMS dBFS over 20 ms windows, off
the decode path the waveform already takes) marks every silence on the
lane before anything moves; `enter` cuts them all out with a ripple, `f`
plays them at 4x with the room they no longer need closed behind them.
Either way it is one edit and one undo press, however many it found.

Four numbers, all keyboard-driven from the card: the threshold, the quiet
short enough to forgive, the padding kept either side of speech, and the
kept sliver short enough to swallow -- the last of which is what stops a
breath between two silences surviving as one-frame confetti.

`set_speed` does not ripple, so speed mode closes the gaps itself; a clip
on another lane lapping over a silence is refused by name, because the
lanes would shrink by different amounts. A source with no audio track at
all is refused by name too rather than read as one long silence.

Output is ordinary clips: `.edith` stays v8.
🐛 fix(timeline): a hole punched into a slow clip leaves no overlapAhmet Kaan Gümüş · c892972
🐛 fix(timeline): a hole punched into a slow clip leaves no overlap

`place` punches a hole with `clear`, and `clear` handed the remainder
whatever source range rounding produced. At a quarter speed one source
frame *is* four timeline frames, so a punch three frames into such a clip
left a head that reached past the hole and overlapped what was placed --
the lane invariant, broken by the one edit that is allowed to overwrite.
`Speed::fit` now answers `None` for a room nothing fits in and both
remainders go through it: no fit, no remainder.

The sweep that found it found a second of the same shape. `set_speed` put
one rate on a whole linked group without asking whether the group still
covered one span: two halves of *different source lengths* can occupy the
same frames at 4x (rounding collapses neighbouring lengths onto one
footprint) and re-rating them pulls the halves apart, which is a project
that will not load again. Refused by name now, like the collision is.

The trim walls move with it: one frame of clip always survives, and at a
rate below real time one frame of clip is several frames of timeline
(`Speed::room`). A trim that cannot fit refuses before it snapshots rather
than writing a range wider than its room.

Both fuzz sweeps go to 2000 seeds -- 200 walked straight past this, and a
sweep this cheap has no business being the narrow one -- and place now
lands speeded clips over speeded clips on purpose. Falsified: with the
guard removed, `place`'s own `sorted_disjoint` assert fires.

Grafted from the rival build of this feature, which the judge preferred on
these three points:

- floor/ceil pairing on `Speed`: `source_at` (floor) is what an export
  encodes, `timeline_at` (ceil) is the stamp playback puts on a decoded
  frame, and the pair makes the frame the pump is holding *exactly* the
  frame the export writes, at every rate (`speed_maps_both_ways`, 3751
  speeds). The floor/floor this had put the preview a whole held frame off
  the export at slow rates.
- the picture now **honours** a rate: the export walk takes the source
  frame each timeline frame shows and encodes a held one again rather than
  decoding it twice. `Span::source_len` reads the last shown frame's own
  source frame and not one more.
- the refusal narrows to the mp4's *copied audio lane* only. AV1 has no
  audio to copy and honours a speeded take whole; WAV and FLAC always did.

EVIDENCE: a mixed-rate mp4 (2x then 1x on one lane) reopens as 135 frames
at 30 fps and its bright frames are exactly [15, 16, 75, 76, 77, 78] --
the fixture's four-frame flash halved inside the fast clip, whole inside
the slow one -- read back both by the engine's own decoder and by ffmpeg.
✨ feat(timeline): clips play at a speed of their ownAhmet Kaan Gümüş · f8effe8
✨ feat(timeline): clips play at a speed of their own

A clip gains a rate (`Speed`, thousandths of real time, 0.25x to 4x) and
every speed question is answered at the mapping seams that were already
there: `Clip::frames` is the source range divided by the rate, `end` is
built on it, and `map`/`span_at`/`composite_span_at` walk the offset
through `Speed::source_at`. `in_frame`/`out_frame` stay *source* frames,
so a trim and a split still address the file.

The picture needs no new decoder: the span says how many source frames it
reads, and `try_frame` brings the decoder's numbers back through the same
rate -- at 2x two decoded frames land on one timeline frame and the
display's drop-when-behind policy takes it from there. The sound is
resampled per segment inside the worker playback and the audio export
already share (linear interpolation, carried across packet seams), so the
pitch moves with the rate: tape, not pitch-preserve, and the card says so.
Each segment is told how much timeline it owes and pads or trims to it,
which is what keeps a run of speeded cuts from drifting.

Rounding is where a rate could break the lane, so it does not: `Speed::fit`
never hands a trim more source than its room holds, and `Speed::split_at`
refuses a cut a slow clip's rate cannot address rather than leaving two
halves that no longer add up. The fuzz sweeps set_speed in with the rest.

- card in the eq/colour pattern, on `j` and in the clip menu; a drag is one
  undo step for the whole linked group, 1.00x reachable by hand and by `r`
- clip boxes carry a "2.00x" mark, and their width, waveform and details
  row are the timeline length
- WAV/FLAC honour it; mp4 and AV1 *refuse* by name -- that path copies AAC
  packets and a resample is not a copy (ponytail names the upgrade path)
- .edith v8 carries the rate; v7 and older load at 1.00x
- `assets/test_speed_sync.mp4`: one flash, one beep, same instant. At 2x
  they still land together, to the frame.
🐛 fix(timeline): a pasted still never lands on the audio laneAhmet Kaan Gümüş · b586b85
🐛 fix(timeline): a pasted still never lands on the audio lane

`Project::paste` routed by `is_audio` alone, so a *copied* still clip --
the one door that does not go through `place_stream_at` -- was pasted as
a grouped take across `V1` and `A1`. The A1 half is a PNG the audio
worker demuxes: "file contains a box with a larger size than it", which
silences the whole session rather than that clip, and the save it writes
is one `open_project` then refuses by name. An `is_image` arm mirrors the
audio-only one.

Same-shape sweep of every clip-level door that routes by source kind:
- `Project::paste` (project.rs) -- this defect, fixed.
- `PlaybackSession::place_stream_at` -- already routed, image arm returns
  on the video lane before the audio fork.
- `PlaybackSession::open`/`open_project` -- both directions refused by
  name at load.
- `Project::move_to_lane` -- refuses a move across kinds, so no clip can
  cross by drag. Clean.
- `Project::place`, `split`, `regroup`, `lift`, `delete_in`, `trim` --
  the caller names the lane or the lane never changes. Clean, and the
  loader is the backstop for a hand-written file either way.
- `Player::insert_source` (app) -- guarded both ways already.

Falsification: with the `(_, true) => &[LaneKind::Video]` arm removed the
new test fails at the lane count (A1 1 -> 2), and with that assertion
lifted it fails on the WAV export with the demux error above -- the two
consequences the test names, both reachable.

Two doc corrections found with it: `Still::open` now says alpha is
dropped by `to_rgb8` (a transparent PNG lands opaque, with the blend as
the ponytail), and `first_audio_of` no longer implies an image-first
timeline accepts a later audio import -- it widens which source is
asked, not what "the timeline is silent" means.

tests: images 7/7 (new `pasting_a_copied_still_never_reaches_the_audio_lane`
asserts no A1 clip, no audio clip from a picture, the WAV export still
carries the sound, and the save reopens), engine lib 155, saveload 12,
audio_files 16, lanes 5 (serial), bin 56.
Merge branch 'main' into worktree-agent-ae7a2aef268502a46Ahmet Kaan Gümüş · 934361c
Merge branch 'main' into worktree-agent-ae7a2aef268502a46

# Conflicts:
#	crates/engine/Cargo.toml
✨ feat(timeline): still images import and place as clipsAhmet Kaan Gümüş · 30d430d
✨ feat(timeline): still images import and place as clips

A PNG, JPEG or WebP is a source like any other: it imports into the
library, drags onto a video lane, shows at the playhead, trims, saves and
exports. `engine::is_image` is the door, beside `is_audio`, and every
choice it forces is made in one place.

The decisions, spelled out:

- Extensions: png, jpg, jpeg, webp -- exactly what the `image` crate is
  built with here. Anything else is refused by the door that refuses a
  .txt.
- Length: an image has none, so it is *held to* ten minutes (600 s at the
  timeline's rate) and *placed* at five seconds. The cap is finite on
  purpose -- a u32::MAX sentinel would hand a trim drag a wall past
  anything the timeline can hold -- and it is recomputed identically at
  load, so a clip trimmed out to it reopens.
- Image-first project: its own picture is the canvas (a still *has* a
  resolution, unlike a song) at 30 fps, silent, one 5 s clip on V1. The
  A2 audio-only precedent for everything else.
- Scaling: none of its own. The still is decoded once to I420 and goes
  through the same grade, the same `Composer` and the same conversion a
  decoded picture does, so a 640x360 image on a 1280x720 canvas is
  letterboxed by its fit policy and never stretched.
- Lanes: the mirror of a song. A still goes on the video lane it was
  asked for or on V1, never on an audio one, and never as a grouped take
  -- a clip on A1 playing a PNG is a segment the audio worker cannot
  open. Hand-written projects are refused by name.
- The timeline's audio parameters are now the first source that *could*
  have any, so an image as source 0 no longer holds every later import to
  its silence.

Playback opens a still worker (one conversion, then a memcpy per frame,
as the black-gap worker does); the export's `ClipDecoder` hands the same
planes out for as long as the span runs, so a mixed video/still timeline
encodes at the cut.

tests: engine/tests/images.rs -- import registers only, placed pixels
match the file's own (top/bottom bands catch a flip, RGB order catches a
swap), trim walls at the cap, .edith round trip incl. the audio-lane
refusal, mp4 export pixel-checked at the cut, audio-lane placement lands
on V1. Fixture: scripts/gen_fixtures.sh writes assets/test_still.png.
🔀 merge(export): AV1 format meets the library-only importAhmet Kaan Gümüş · c5aa329
🔀 merge(export): AV1 format meets the library-only import

Test import list resolved: format_key/format_refusal in, mp4_refusal and
the deleted lane_clips/source_frames helpers out.
🔀 merge(import): library-only import meets the library row menuAhmet Kaan Gümüş · b514187
🔀 merge(import): library-only import meets the library row menu

The row menu (C3) and the source lengths this branch made native meet in one
place: the card's Length line and its "plays in N clips" count now read the
engine's own `file_frames` and walk `session.lanes()`, since the app's
clips-derived length helper and its free `lane_clips` walker are gone.

Two tests assumed an import that places: `removing_a_source_takes_its_frame_
count_with_it` and `removing_a_row_is_refused_while_it_plays_and_takes_the_
row_away` both need a take on the timeline to have something to refuse, so
each drags its import onto the end first.

New coverage: the audio fork of `open_library` -- a song as the first import
into an empty window. Empty timeline over the 1920x1080@30 song canvas, the
row at its own 90 frames, not undoable, a file it never took in refused by
name, and the drag that follows plays it on A1 alone.
✨ feat(export): AV1 comes back out, in a Matroska file this editor reopensAhmet Kaan Gümüş · dd3a2a8
✨ feat(export): AV1 comes back out, in a Matroska file this editor reopens

The export card's second picture format. AV1 already *arrives* here as
Matroska (`mp4 0.14` has no `av01` sample entry at all, so `demux` walks
the EBML by hand); it now leaves the same way, through an `MkvMuxer`
written beside the mp4 one -- EBML header, `Info`, one `V_AV1` track whose
`CodecPrivate` is a real `av1C` record built from the first keyframe's
sequence header OBU, then clusters that open on every keyframe. The
segment size and the duration are the only two fields patched at `finish`.
Matroska rather than AV1-in-mp4 because the reader for it already exists:
the round trip closes against this project's own `Demuxer`.

Picture only, and said so on the row before a destination is picked ("AV1
picture in .mkv — no sound: export WAV or FLAC for that"). Matroska
carries no sound this project can *write* -- no AAC or Opus encoder here
-- and an AAC track copied in would be one this engine's own reader leaves
silent (`AudioSession::open` refuses Matroska audio). A silent track
written anyway is the one failure a user would not notice.

The encoder pair mirrors H.264's: `rav1e` in software, the plugin's new
`vh_enc_av1_open` on the GPU. The hardware seat is wired, tested and
**opt-in** (`VE_HW_AV1=1`): the vendored cros-codecs AV1 encoder took the
radeonsi box this was written on into an amdgpu hard recovery, and a
driver reset is not an export. `rav1e` is not a new dependency at all --
`ravif` already locks the same 0.8.1 -- and is built with `asm` off (no
`nasm` in this build) and `threading` on: 39 s for the 5 s 720p fixture,
progress reported the whole way.

HEVC and VP9 are rows too, refused by name: no encoder in this stack and
patent-encumbered, and superseded by the AV1 row above.
✨ feat(import): imported files land in the library, never on the timelineAhmet Kaan Gümüş · 5cb33d8
✨ feat(import): imported files land in the library, never on the timeline

An import is not a decision about where a file plays. It registers a source,
notes its native length and stops there; the timeline changes when the user
drags the row onto a lane.

- `PlaybackSession::import`/`import_audio` probe, check and register only,
  returning the source index. No clip, no reseek, and no undo step -- a
  library row changes nothing playable, so there is nothing for `z` to take
  back, and the notice no longer pretends otherwise.
- `PlaybackSession::file_frames` is the native length of a file this session
  has taken in, so a row that has never been placed is placeable at its full
  length. `place_stream_at` takes it from there instead of a `frames`
  argument, and the app drops the clips-derived guesser that returned 0 for a
  source with no clips.
- `PlaybackSession::open_library` is the first import into an empty window:
  the file's canvas, rate and clock over an empty timeline.
- Doors: the Import button, a file dropped on the window and every argv
  argument after the first fill the library. A file *named first* at launch is
  an open, not an import, and still becomes the timeline.
- Fixture + tests: a 25 fps H.264 file, refused by name at both video doors.
🔀 merge(main): library row menu meets the edge-trim source lengthsAhmet Kaan Gümüş · 5f60e19
🔀 merge(main): library row menu meets the edge-trim source lengths

Both sides appended a test at the same place in the app suite; both kept.

Seam: `PlaybackSession::counts` (the per-source frame lengths a trim is
walled by) is indexed exactly as `sources` is, and `remove_source` is the
one thing that shortens that list -- so it takes the matching count out
too. Left behind, the gone file's length walled the survivor and the next
import landed its count one index late, tripping `note_frames`'s
alignment assert.
🐛 fix(timeline): Group reaches the sound before a video layer over itAhmet Kaan Gümüş · ccd1ffa
🐛 fix(timeline): Group reaches the sound before a video layer over it

`span_partner` walked the lanes in storage order, and a project file may hold
them in any order: with the audio lane stored after a second video one, Group on
a detached picture paired it with the layer above it and left the sound out. The
walk now takes the lanes of the *other* kind first -- "group this" means the
other half of the take -- and keeps a same-kind lane as the fallback, so two
video lanes are still groupable where no sound covers the span.

The test builds exactly that order, which only a saved project can hold: the
project is written, its audio lines moved to the end, and loaded back.
🔀 merge(playback): audio-only sessions carry their frame count for trimAhmet Kaan Gümüş · a3e9dc2
🔀 merge(playback): audio-only sessions carry their frame count for trim

The audio-only branch predates the trim feature's per-source counts;
open_audio_only now feeds them like open does (verifier-prescribed seam fix).
🔀 merge(main): detach and group beside the colour drag and the edge trimAhmet Kaan Gümüş · 7cce619
🔀 merge(main): detach and group beside the colour drag and the edge trim

The one conflict is the test module's import list: both sides added names to
it, so the resolution is the union of the two.
🔀 merge(main): edge trim beside the colour drag on the root carriersAhmet Kaan Gümüş · dcd2d0f
🔀 merge(main): edge trim beside the colour drag on the root carriers

Both features hang a drag off the root's mouse-move and mouse-up, which is
where they collided. Kept both, in press-target order: equalizer, trim,
colour, scrub. They cannot overlap -- a gesture belongs to whatever was
pressed, and no two of those hitboxes are the same element.
✨ feat(audio): a song opens as a timeline of its ownAhmet Kaan Gümüş · eb9a278
✨ feat(audio): a song opens as a timeline of its own

An audio file could not start a project: `PlaybackSession::open` refused
every `is_audio` path because a timeline was scaffolded from source 0's
*picture*. It now scaffolds the canvas instead -- 1080p at 30 fps H.264,
the rate a later video import is held to -- takes its length from the
audio, puts the one clip on `A1` and leaves the video lane empty, so the
existing gap path plays it black while the song keeps the clock.

`open_project` does the same when source 0 has no picture, so an
audio-only `.edith` loads. An mp4 of such a timeline is refused by name
in `export::start` (it would be black over the sound) and the export
card says so on the MP4 row before a destination is picked; WAV and FLAC
export as they always did. The Export button now re-asks that question
too, since mp4 is the default and a timeline can lose its picture after
the format was chosen.
✨ feat(timeline): a take detaches into halves and groups back togetherAhmet Kaan Gümüş · 0c00d5c
✨ feat(timeline): a take detaches into halves and groups back together

A music video's picture and its sound come apart on demand: Detach hands every
half of the group an id of its own, so each one selects, moves, trims and is
removed alone, and Group puts two clips covering the same frames back into one
take. Both are menu items and both are keys ("d" and ctrl+g), like every other
gesture here.

Engine: Project::ungroup(lane, idx) and Project::group(a, a_idx, b, b_idx), one
snapshot each, metadata only. A group id is one span on however many lanes
(links_are_consistent), so group refuses clips whose bounds disagree and names
the bounds to trim to; two clips of one lane, an index that is not there and a
pair that is already one take are refused in the engine's own words. Whatever
either side was grouped with is merged in, since all of it covers that span.

whole_take now reads the same rule on the picture as on the sound: a group id no
other lane carries is half a take on either lane, so Delete on a detached half
leaves the other half exactly where it is instead of rippling it away.
🐛 fix(timeline): a ripple-closed clip's head no longer overflows on grabAhmet Kaan Gümüş · affa0a3
🐛 fix(timeline): a ripple-closed clip's head no longer overflows on grab

`trim_room` read a clip's head room as `start - in_frame`, which assumes a
clip never carries more source in front of it than the timeline has room for.
A ripple delete leaves exactly that: cut at 5, delete the first piece, and
the survivor slides back to frame 0 still holding in-point 5. Grabbing its
left edge then subtracted with overflow -- a panic in debug on every pointer
sample of the drag, and a wrapped `lo` in release, which is a clamp that
means nothing.

Saturating, because frame 0 is the other wall that room was always bounded
by: a head can be pulled back to the start of the timeline and no further,
whatever the file still has behind it.
🔒 fix(export): an empty timeline is refused by the engine, in every formatAhmet Kaan Gümüş · dc82aff
🔒 fix(export): an empty timeline is refused by the engine, in every format

Grafted from the rival empty-timeline candidate: the app's `is_empty`
refusal was the only fence, so an export started by anything that is not
that button still wrote a file of no frames. The refusal now lives in
`export::start`, in the rival's exact words.

Placed ahead of the format match rather than inside `run`, so a WAV and a
FLAC refuse in the same words an mp4 does -- `run_audio` would otherwise
have written a zero-sample file or refused as "no audio to export", which
names the wrong thing. The app keeps its own check: two fences, and only
the app's has a keystroke to blame.

The end-to-end test asserts the exact message for all three formats and
that no file is left behind.
✨ feat(timeline): clips are trimmed by dragging their edgesAhmet Kaan Gümüş · 222336b
✨ feat(timeline): clips are trimmed by dragging their edges

A 6 px strip at each end of a clip box takes the press the body-drag would
otherwise take (gpui `occlude`), so one gesture stays one thing: an edge
trims, the middle still moves the clip to another lane, and both ends still
select and open the clip menu. The box follows the pointer while the button
is down and the engine hears about it once, at the release -- one edit, one
undo step for the whole drag, exactly as an equalizer gesture works.

`Project::trim` clamps rather than refuses: one frame of clip always
survives, an edge never crosses its neighbour on the lane, an in-point never
walks back past the source's first frame, and an out-point never runs past
the file's own last frame -- a clip ending past it is a project that will not
open again. `Project` does not know how long a file is, so `PlaybackSession`
now keeps the frame counts it already computes at every import and fills them
in. Linked halves trim together to one clamped edge, the tightest wall of the
group winning, because a link is one span on however many lanes.

`trim_room` is the same clamp without the mutation: the drag asks it where
the edge may land, so the width drawn is the width the release commits. A
timeline drawn to fit the window has no room past its own last frame, so
while a tail is dragged the bed is drawn out to as far as that tail may go --
without it the last clip could be pulled in and never let back out.
✨ feat(colour): sliders are dragged and the graded frame is drawn over themAhmet Kaan Gümüş · 8d8d880
✨ feat(colour): sliders are dragged and the graded frame is drawn over them

The colour card loses its stepper buttons: each row's bar is now pressed and
pulled straight to a value, which is what a slider is for. The press takes the
undo step and every sample after it is a live write (`set_color_live`), so a
whole drag is one `z` rather than one per pixel -- and because a live write
reseeks like any other edit, the picture regrades under the hand.

Above the rows, an RGB histogram of the frame on screen: counted off the BGRA
the decoder handed over, which is already through the grade, so pulling
brightness tilts the graph as it moves. Every 253rd pixel of a 1080p frame
(HIST_SAMPLES), 64 bins a channel, square-rooted so a flat black area does not
draw the rest as a line.

The arrow keys still move the same values, on the same 0.05 grid a drag snaps
to, and the bar is 4 px to look at but a whole row to hit.
✨ feat(library): a right-click on a media row opens its own menuAhmet Kaan Gümüş · 97d941e
✨ feat(library): a right-click on a media row opens its own menu

Add at playhead, Remove from library, Reveal in files and Properties,
built like the clip menu down to the scrim and the clamp -- a click away
or any stroke closes it.

Remove goes through a new `Project::remove_source`, which refuses by name
while clips still play from the file (the refusal names the lanes and how
many clips each holds), keeps the last entry standing, and renumbers every
clip that indexed past the one that went. It retires the undo stack: the
history holds lanes alone, so a snapshot older than the removal could name
a source that is gone -- the notice says so, and the ponytail names the
upgrade path.
✨ feat(timeline): the last clip deletes and the timeline emptiesAhmet Kaan Gümüş · 9a6ef81
✨ feat(timeline): the last clip deletes and the timeline empties

The never-empty-TIMELINE invariant is gone: an emptied timeline is now a
state of the model, not an edge case a refusal kept unreachable. Emptiness
is honest all the way down -- `PlaybackSession::span` is an `Option<Span>`
whose `None` *is* the empty timeline, and `start_span` feeds it one black
frame, so the viewer shows the nothing that is there rather than the last
picture of the clip that was deleted.

* `Project::lift` and `Project::ripple_delete` refuse only what is not an
  edit (a bad index, an empty range, a delete with nothing left to take --
  the last so a no-op still costs no undo step);
* `Project::from_parts` and the `.edith` loader take an all-empty project
  and refuse a *laneless* one instead, which is the invariant that was
  really being defended;
* `without_orphan_sources` keeps source 0 when no clip names anything: it
  carries the frame rate the timeline counts in, and pruning it wrote a
  project that could not be loaded back;
* the app's two "the timeline cannot be emptied" notices are gone, and an
  export of an empty timeline is refused by name instead of writing a file
  of no frames.

The never-empty-CLIP invariant (len >= 1) is untouched.
✨ feat(eq): the equalizer is a curve you drag, not five barsAhmet Kaan Gümüş · df00890
✨ feat(eq): the equalizer is a curve you drag, not five bars

The card now draws the clip's own frequency response across a log axis
(20 Hz - 20 kHz) with a handle per band on it: press anywhere in the box
and the nearest band follows the pointer up and down, and the curve
redraws on every sample of the drag, so the shape bends under the hand.
One undo step per gesture, as before -- the write is still the release's.

The curve is read from `EqParams::response_db`, which evaluates the very
biquad coefficients `EqState` filters with at z = e^jw. There is no
second copy of the maths, so a drawn curve cannot drift from what is
heard; a new test measures a sine through `process` at nine frequencies
and holds it to what the curve claimed, within half a dB.

The keyboard path is untouched: 1-5 pick a band, up/down move it, r
flattens, esc closes -- and a readout under the graph names the picked
band, which the sum of five curves cannot.
✨ feat(timeline): clips drag from one track to anotherAhmet Kaan Gümüş · 28fe52d
✨ feat(timeline): clips drag from one track to another

A clip already on the timeline is now a drag source, and a lane bed takes
one: dropped on another lane of the same kind it moves there, keeping the
timeline frames it covered, as a single undo step.

Its group id travels with it, which desyncs nothing -- a link means "one
span, however many lanes" and names no lane -- so a picture moved to V2 is
still the take its sound belongs to.

Refused by name rather than overwriting: a picture let go on an audio lane
(and the other way round), and a landing that would touch a clip already
there, which `place` would have painted over.
✨ feat(export): the done notice opens the file's locationAhmet Kaan Gümüş · cbb8a50
✨ feat(export): the done notice opens the file's location

A finished export names a file that is now on disk, so the bar it announces
itself in became the way to it: clicking the DONE line asks the desktop's
FileManager1 to show that file selected, falling back to opening its folder
with xdg-open, and retires the notice as any click always did. The path is
kept beside the notice and read only while that line is the one showing, so a
later message turns the bar back into a plain dismissal.
🐛 fix(engine,ui): paste respects lane kinds; bounds and rebind capture hardenedAhmet Kaan Gümüş · 11603ec
🐛 fix(engine,ui): paste respects lane kinds; bounds and rebind capture hardened

Four bugs a hunter sweep found, each with the door it comes in through:

- `Project::paste` put the clipboard clip in the first lane of *every* kind,
  so an audio-only clip copied off A1 landed on V1 too: a wav as a video
  source, a decode that fails, and a save the next open refuses. It now asks
  the source what it is, the same question `place_stream_at` asks an import,
  and reaches A1 only when there is no picture.
- The `resolution` line was applied unbounded while the keystroke capped at
  8K, so a crafted `resolution 4294967295 4294967295` panicked `open_black`
  with a capacity overflow. One bound now (`engine::is_resolution`) with both
  doors asking it, and the load door refuses by line like every other
  malformed line.
- `open_room` shifted starts unbounded, and the file format permits a clip
  ending at the very last frame: a paste wrapped it round to the front of the
  lane -- a debug panic, or in release an overlap no reload accepts. The edit
  door refuses the paste that would push anything past `u32::MAX`; the load
  bound stays where it is, since the wrap was the edit's to prevent.
- A rebind captured whatever gpui reported, so shift+= wrote `play +` and the
  next load threw the *whole* keybindings file away, losing every other
  rebind. Capture now takes only a chord the file can spell and read back, and
  a line the parser cannot use costs that line alone -- the magic line is the
  only thing that still refuses the file.
✨ feat(timeline): clips select from the keyboardAhmet Kaan Gümüş · cc90921
✨ feat(timeline): clips select from the keyboard

tab selects the clip under the playhead -- again for the next lane's --
and [ / ] walk the selection along its own lane, wrapping at both ends.
shift+tab stays unspellable (a chord carries only ctrl and parse refuses
an uppercase key), so the brackets are the pair.

One selection and not a second: every door -- click, right-click, all
three keys -- goes through Player::select, so the group-scoped tint a
click draws is the tint a key draws. Project::lane_clip_at is what the
walk asks, per lane, rather than the UI re-deriving where a clip ends.

This is what makes delete, lift, the equalizer and the grade reachable
with no pointer at all: the equalizer card had never been rendered live,
because nothing but a click could select the audio clip it needs.
✨ feat(engine): project resolution stands apart from media resolutionAhmet Kaan Gümüş · 19e294a
✨ feat(engine): project resolution stands apart from media resolution

A timeline had one resolution because its first source did: import refused
anything else by name, and there was nowhere to say otherwise. A project now
carries its own picture size and every clip is composed onto it, so media of
different resolutions share a timeline the way they do in any editor.

* scale::Composer is the one definition of that composition -- fit_rect,
  scale_i420, compose_i420 onto a black canvas -- and both playback and export
  call it, so what is written is what was watched. A canvas of the picture's
  own size is a pass-through that allocates nothing and touches no byte.
* Grade first, place second: a grade belongs to the clip's pixels at the
  resolution they were shot at, and the letterbox bars are not the clip.
* Per-clip fit policy (fit/fill/stretch/centre), one byte inline in Clip -- it
  lands in padding the clip already had.
* .edith v7: a `resolution <w> <h>` line and a fit word per clip line. v6..v1
  still load, defaulting to source 0's picture and Fit, which is what those
  projects always meant.
* The fps refusal stays: mixing frame rates is resampling the timeline, a
  different problem, and a refusal is the honest answer until it is solved.
* UI: `p` cycles the fit policy of the clip on screen (and a clip-menu item),
  ctrl+r cycles the project resolution through the usual sizes with the media's
  own among them, and the export card says which size it writes.