forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/app/src/player/library.rsClear filter

2026-11-06

2026-10-26

💄 UI pass: proxies off by default, picture-only fullscreen, hover submenus, level in the volume sliderAhmet Kaan Gümüş · f178286
💄 UI pass: proxies off by default, picture-only fullscreen, hover submenus, level in the volume slider

- Proxies: "Make them on import" now defaults to off (pref file and fresh
  sessions); the switches say "proxies" so a search finds them.
- Fullscreen: a button at the transport's right end; fullscreen draws only
  the picture and the transport band; Escape leaves it.
- Context menu: Clip label and Fit are hover submenus like Adjust and
  Compound; moving between two ▸ rows switches the open submenu. A
  right-click inside a selection makes the clicked clip the anchor, so
  Equalizer no longer refuses on a linked video half; Alt+4 on a video
  clip opens the EQ on its linked audio.
- Volume: the live output level rides inside the slider's fill instead of
  as separate bars beside it.
- Hover hints: label and key chips share one centre line, even padding;
  undo steps read as verbs ("Undo Enable/disable clip"), clearer wording.
- Resize while playing: the picture restart waits until the size has held
  still for 200 ms instead of reseeking every 8 px.
- Ripple trim of a start edge no longer trips the lane's overlap check.
- Tests: no longer pinned to one ffmpeg's exact bitrates/offsets; the
  .edith probe test writes its own project; overflow fixes in test helpers.

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(player): the three doors the action table armed on their behalfAhmet Kaan Gümüş · 7285b61
fix(player): the three doors the action table armed on their behalf

A verifier pass found the class not disposed at three sites my earlier commits
left standing, and it was right. `Player::act` pre-arms `mark_dirty` from a
`matches!` list BEFORE it dispatches, and `ActionId::Crossfade` and
`ActionId::Dissolve` were on it -- so the arm had already fired before
`crossfade_selected` / `dissolve_selected` ran, and those two called
`set_transition_out` / `crossfade` directly with no arm and no gate of their
own. Pressing the dissolve chord on the last video clip lit `unsaved`, wrote
the sidecar and raised the close prompt while the engine refused with "NOTHING
TO DISSOLVE -- no neighbour end to end" and the bytes did not move: the same
defect, on the sibling door. `act_lane` had the same shape for `remove_lane`,
which refuses a track still holding clips and the last of its kind.

Exactly those three sites, nothing else in the list:

- `crossfade_selected` and `dissolve_selected` arm on the write that took and
  on the join's own edges, the same gate `set_transition_frames` already rides
  (both engine doors answer "the clips are adjacent", snapshot and clamp
  included). `Crossfade` and `Dissolve` come off the list. The dissolve also
  gains the arm it never had: the clip-menu row
  (`ui::bench_stance.rs:577`) reaches `dissolve_selected` directly and was
  armed by nothing at all, so the key path was armed twice and the menu path
  not once.
- `remove_lane` arms inside its own `Some(Ok(()))`, and `act_lane`'s pre-arm is
  gone, so the key and the header button share the one armed door instead of
  two arms for one step.

On the verifier's risk that all three app witnesses are `fn_body` text
assertions, which a mutation moving the arm elsewhere would pass: the premise
those assertions rest on is now a runnable behavioural test rather than a
prose claim. `project::tests::a_transition_door_says_yes_to_a_write_that_moved_nothing`
drives `set_transition_out` and `crossfade`, shows both answer `true` and each
spend an undo step for a write that moved nothing, shows the edges that did not
move, and shows a refusal still answering `false`. The front-end has no window
harness to drive, so the engine is where this can be pinned by running it.

Witness: `the_action_table_arms_nothing_a_door_answers_for_itself` in the
family's `fn_body` shape, with all five of its assertions proven to bite
separately -- crossfade arm, dissolve arm, the two list entries, the
`remove_lane` arm, and `act_lane`'s absent arm. Red panic lines and the
restored-file sha256s (timeline_edit.rs 9128a0fa, actions.rs ca9debbc,
library.rs 61b2f579) are in the lane report.

2026-09-24

🐛 fix(app,audio): merge the interaction lane into mainAhmet Kaan Gümüş · a78d43d
🐛 fix(app,audio): merge the interaction lane into main

A card no longer swallows undo, redo, save or the clipboard, a refused
split keeps the clip in hand, every edit door arms the flag only when it
wrote, the cue picture cache is keyed by the cue, and a device that dies
under an open file says so and unsays it. Lane: lane-bughunt-inter.

The one hand resolution: `Player::undo` and `Player::redo` carry both
lanes' work in one body -- the interaction lane's bool ("was there a step
to take") and its conditional selection clear, plus the app lane's
write-back of the cached rate, the two proxy switches, the palette's pick
and the plate over the picture. All of that now hangs off
`Player::step_history`, whose own answer is the gate, and the selection
still only goes when a step was taken.
🐛 fix(audio): the sound watch is keyed to the session it describesAhmet Kaan Gümüş · e87ca88
🐛 fix(audio): the sound watch is keyed to the session it describes

The watch cached one reason while `sound_reason` read `active_session()`, so a preview opening or closing -- a *different* session, and the timeline's own unchanged reason restored behind it -- read as a device that came back and then died again, and the phantom line stayed on the strip. `watch_audio` now asks the pure `audio_step` about the session generation its cache describes against the one the frame serves: a swap seeds and announces nothing, and only a change on the *same* session pushes or clears. `close_preview` bumps `session_gen` like every other install and drop (it was the one door that did not), so the key holds at every swap.

Doc corrected with it: this side is the *reader* of `audio_disabled_reason`; the writer of a mid-session death is the engine's own file (nothing in this tree assigns it off the `Audio::died` route yet -- `arm_audio` can only clear it), which is the wave lane's, and no constant of it is spelled here.
✅ test(player): the write-back a history step makes is pinned, and the plate's motive said rightAhmet Kaan Gümüş · 07d3b8b
✅ test(player): the write-back a history step makes is pinned, and the plate's motive said right

The app-level half of a history step -- the three session caches, the pick, and
the drop of the plate -- lives in `Player::step_history`, which is unreachable
from this binary: `Player` needs a `TestAppContext` the test build cannot make
(gpui's own test module is behind `feature = "test-support"`, which nothing
enables). The verifier deleted the whole write-back and the suite stayed green,
so it is pinned the way this repo pins an unreachable surface: a source scan
that both keyboard doors route through `step_history` and that its body still
carries every one of those writes. Non-vacuous by the lane's own recipe --
deleting `self.proxies_on = caches.proxies_on;` turns it red by name.

`Player::sub_image` is keyed by *where* a cue sits (`(lane, start_us)`), never
by the pick, and the drop of it is conservative; three comments said the plate
"was drawn through the pick that no longer stands", which would send a reader
looking for a key that does not exist. Reworded to the real key and motive here,
at the removal door, in `sub_pick_after_removal` (which now names what actually
reads the pick: the dock's picked-row comparison, the heading and its notices),
and in the test that covers it.
🐛 fix(audio): a device that dies under an open file says so, and unsays itAhmet Kaan Gümüş · c80d1f7
🐛 fix(audio): a device that dies under an open file says so, and unsays it

The engine knows: a death sets its `audio_disabled_reason` to its lost-device word, and its own 1 s re-arm clears it again. No consumer on this side ever looked -- both `audio_notice` call sites are the *open* paths -- so a device that died mid-session played on in silence with no message at all, and the strip went on saying nothing after the sound came back.

`Player::watch_audio` is the per-frame check, run from `Player::pump` (the one place every frame passes through): one read of an `Option<&str>` and one compare, with the strings built only on the change itself. `audio_change_notice` is the queue half and reuses the existing notice path -- `push_notice` for the death, and the same line taken back off the strip when the reason clears, only that line. The two open sites seed the cache (`Player::seed_audio_watch`) so a reason unchanged across the open is not announced a second time, and a line left over from the file before comes off.
🐛 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-18

🐛 fix(media): audio routing, session audio re-arm, hw trailing-zero NALs, display-matrix rotationAhmet Kaan Gümüş · bc8b82e
🐛 fix(media): audio routing, session audio re-arm, hw trailing-zero NALs, display-matrix rotation

- is_audio admits .mpeg/.mpg so mp3-with-cover files import (was fed to Mp4Demuxer)
- session audio walks past trackless leading sources and re-arms when a
  sounding file joins a silent timeline (fixes add/remove/add silence)
- engine-hw pump clears trailing cabac_zero_word bytes instead of dying
  with code -2; export falls back to software decode before first frame
- tkhd display matrix read for mp4; 90/180/270 turns baked into preview
  and export pixels; other angles refused by name (UnsupportedRotation)

2026-09-17

⚡ perf(audio): the preview paints at its own size, not the project'sAhmet Kaan Gümüş · 62b680e
⚡ perf(audio): the preview paints at its own size, not the project's

The visualizer rebuilt the picture at the project resolution (1920x1080)
for a preview displayed at ~584x328, so every look edit paid 4-5x what it
needed. `PlaybackSession::set_view_size`/`view_size` now feed every composer
the playback path opens (span, dissolve-B, black) and the app pushes the
Contain-fitted display box from a probe on the picture area, with an 8 px
deadband so a resize drag does not thrash. The export keeps its own seat at
the project resolution and is untouched.

Ring, a test song, ms per painted frame, glow 2/4/8/12/16:
  18.5/35.7/64.7/93.2/117.1  ->  5.7/5.9/9.6/12.9/15.9

"Save frame as PNG" would otherwise have followed the preview down to that
size, so it now asks the seat for one frame at the project's own size and
writes the PNG when it lands (keyed to the session that asked, with a 2 s
bound), and the preview's size comes back on the next repaint.

The painter's per-frame buffers (VizScratch) are owned by the painting
thread: 27 Vecs a frame -> 8, and none on later frames.

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-15

✨ feat(audio): drag the HSV wheel like every other pickerAhmet Kaan Gümüş · f93a86c
✨ feat(audio): drag the HSV wheel like every other picker

Press stays on the disk; moves sample hue/sat on the root the same
way a 4 px colour slider does. Glow stays a width; that is the stamp.
🐛 fix(audio): ring uses the picked colour; glow 0 is 0; HSV diskAhmet Kaan Gümüş · 2ad667f
🐛 fix(audio): ring uses the picked colour; glow 0 is 0; HSV disk

One strand was always the opposite hue (`0 < 1/2`). Glow on Ring
never stamped. Glow 1 then − wrote the unset sentinel and showed 2.
Wheel is a sat×hue disk; Sat row is gone (radius is sat).
✨ feat(audio): HSV wheel, real glow, fixed-length windowAhmet Kaan Gümüş · 20ec2e7
✨ feat(audio): HSV wheel, real glow, fixed-length window

Colour is a standard HSV wheel (0° red at top, radius = sat). Glow
now expands the stroke. The 2s view no longer shrinks at file edges,
which was stretching a bump as it entered.
✨ feat(audio): stable envelope height, full hue/sat, strands and glowAhmet Kaan Gümüş · 7ebfc44
✨ feat(audio): stable envelope height, full hue/sat, strands and glow

The 2s window no longer rescales to its own peak, so a bump keeps its
height as it enters and leaves. Colour is a 64-stop hue bar plus sat
(white→full). Strands and glow go from one line to the dense ring.
Packed on Clip.viz_paint; dialect v22.
✨ feat(audio): Audacity trace, ribbon, fill — colour is a pickerAhmet Kaan Gümüş · 70a02fb
✨ feat(audio): Audacity trace, ribbon, fill — colour is a picker

Visualizer default is a signed-peak polyline (the Audacity line), not
the filled 60 Hz bars. CLIP tab picks Waveform / Ribbon / Fill, Fast
zooms to 0.2s, and colour is 16 swatches + steppers.

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.
✨ feat(audio): create a waveform visualizer as a video clipAhmet Kaan Gümüş · 735b90e
✨ feat(audio): create a waveform visualizer as a video clip

Select an audio clip and press h (or the clip menu). The sound's envelope
is painted as a sliding mirrored waveform onto a video lane, so preview
and export both show it. Paste still never drops a song on V1.

2026-09-12

✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the pluginAhmet Kaan Gümüş · ba33df0
✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the plugin

VP8 was refused by a stale UNSUPPORTED claim ('no VP8 decoder'); the
vendored cros-codecs VP8 decoder is VA-API-only and the test GPU
exposes no VP8 VA-API profile, so the real seat is software: libvpx.so.9
dlopen'd inside libengine_hw.so (vpx.rs), routed before any GPU device
opens, seek = destroy+re-init on the demuxer's keyframe contract,
CAP_VP8 reported as the plugin's seat. Codec::Vp8 plumbed through
demux (V_VP8 + mp4 vp08), colorspace, refusals; export UI gains a
truthful read-only VP8 row; test_vp8.{webm,mp4} fixtures + capability
row + tests/vp8.rs decode/export twins. Verified by the authoring
session: headless playloop 270 frames 0 dropped, 50/50 seeks, live
harness-driven UI playback, cross-provider review PASS (FFI layouts
against shipped libvpx DWARF, valgrind-clean).

2026-09-09

✨ feat(app): closing with unsaved work asks firstAhmet Kaan Gümüş · 4e75992
✨ feat(app): closing with unsaved work asks first

A close request — alt+F4, the titlebar button, a session logout — is
answered instead of obeyed when the timeline holds a clip and the project
file does not hold the latest edit (the same `autosave_dirty` the ledger's
`unsaved` state word reads). The window stays up and raises DESIGN §8's
decision notice above the ledger: red spine, `UNSAVED — save ↵ · discard d
· stay esc`, and while it is up it owns the keyboard.

An empty timeline, or a saved one, closes exactly as before.
🎨 style(app): the ledger reports state, and never cuts a word to do itAhmet Kaan Gümüş · 9e93f65
🎨 style(app): the ledger reports state, and never cuts a word to do it

Notices lose their instructional tails (DESIGN §8): a remedy is a verb and
its chord (`V2 ADDED · undo z`), never a sentence. The strip ellipsises at
its end and elides a long name through its middle first, so the state word
at the front is never what a narrow window drops.

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

🐛 fix(app): DEBT #91 — click-to-stop during Asked wakes the header readAhmet Kaan Gümüş · 4de1efe
🐛 fix(app): DEBT #91 — click-to-stop during Asked wakes the header read

Proxy::Asked now carries the same Arc<AtomicBool> generate_if_wanted polls
at the door and around the header read (crates/engine/src/proxy.rs, prior
commit). start_proxy_for hands it that flag instead of a permanently-false
one; toggle_proxy's Asked arm sets it on click-to-stop, so a stop during
the header walk unwinds mid-read instead of only relabelling the row while
the read finishes on its own.
🐛 fix(engine): DEBT #91 — proxy Asked phase now cancels its header readAhmet Kaan Gümüş · ba29145
🐛 fix(engine): DEBT #91 — proxy Asked phase now cancels its header read

generate_if_wanted takes the same cancel flag Job::cancel later polls: a
click to stop a stand-in while the header is still being read used to have
nothing to set, so the read (a Matroska cluster walk) always ran to
completion before the stop landed. Checked at the door once the seat is
claimed and wrapped around Demuxer::open (demux::with_cancel), so a
pre-set or mid-read cancel unwinds promptly and gives the seat back the
same way a cancelled encode does (Claim's own Drop).
🐛 fix(app,engine): pay debts — audio-only fallbacks, panic-proof proxy, .part sweepAhmet Kaan Gümüş · b05a649
🐛 fix(app,engine): pay debts — audio-only fallbacks, panic-proof proxy, .part sweep

Twelve debts paid in one batch:

- engine: NoVideoTrack fallback at every video door — open_stream,
  open_project scaffold, and import() now route a video-extension file
  whose header holds no picture to the audio-only path instead of
  refusing (argv open, saved-project reload, and library import).
- engine: proxy/export worker wrapped in catch_unwind — a decoder panic
  settles the shared slot with Err instead of stranding Making/Cancelling.
- vendor/cros-codecs: AV1 setup_shear multiplies checked — malformed warp
  params are a parse error, not a process abort (live-proven on an AV1 film:
  clean PROXY FAILED notice, slot released, app alive).
- engine: startup sweep of orphan proxy .part files.
- app: Player::has_video probe cache — lane_refuses gates drops on the
  probed kind, not the extension; Silences hidden on soundless clips;
  audio import toast names rate/channels/length; stale no-session proxy
  label cleared.
- tests: audio-only mp4 fixture + gen_fixtures.sh line, 2 engine
  NoVideoTrack tests, toast/lane/view cases (246 bin + 14 audio_files).

Harness-proven this batch (runs 20260826-2306..2315): split-at-playhead
with undo, lane-remove mouse door, fade-out drag, argv audio-only open,
AV1 proxy clean failure.

2026-08-21

fix: format Darkroom integrationAhmet Kaan Gümüş · 9a27ee6Browse files
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geographyAhmet Kaan Gümüş · 3e04aeb
✨ feat(darkroom): menu styling, source removal with clips, settings chords, spine geography

Baseline of the Darkroom parity work before the old-UI removal lanes branch.
🐛 fix(ui): the Proxies default gets a home and a refusal finds its voiceAhmet Kaan Gümüş · 0a7a759
🐛 fix(ui): the Proxies default gets a home and a refusal finds its voice

D1: the Proxies row hint promised a ~/.config/edith default no code ever
wrote -- toggling it with nothing open vanished on relaunch. Gives Proxies
its own save_proxies_pref/load_proxies_pref, the same sibling file
auto-proxies already keeps, wired into toggle_proxies and read at startup.
Strengthens the settings guard to scan every row's own hint text for a
~/.config/edith claim and demand the matching pref pair exist, not just the
section headers.

D2: pressing ctrl+, during an export was a silent no-op -- the oracle's own
"an export is running" refusal for ActionId::Settings never reached
notify_user because the darkroom's key guard swallowed every key whenever
modal() was true, and modal() folds exporting() in. Splits Player::card_open()
(an actual card/menu owns the keyboard) out of modal() (that, or an export is
running) and points the stance's key guard at card_open() alone, so a bare
export with no card open now falls through to enable()/act() and the refusal
gets spoken like any other. Every other action refused only by an export was
equally mute; this fixes the guard, not the one action.

2026-08-20

🐛 fix(settings): the page stops claiming storage it never usesAhmet Kaan Gümüş · f4ba613
🐛 fix(settings): the page stops claiming storage it never uses

Driving found the EDITOR header saying 'kept in ~/.config/edith' while those
rows wrote nothing there, and Auto proxies persisting nowhere at all — it
reverted to On every relaunch. The engine round-trip was already right; the
gap was the window-level default, which now has its own config file beside
subtitle-style. Each row's hint names its real door instead of one blanket
claim.

Settings also could not open during an export — the exporting card owns the
modal slot — while the oracle and its test asserted it could. The oracle now
agrees with what the user can observe.
✨ feat(ui): the room becomes the one in the mockAhmet Kaan Gümüş · 622904e
✨ feat(ui): the room becomes the one in the mock

Beside the mock, the shipped room was nowhere near it. The dock was the legacy library verbatim — pill tabs, a
Media/Audio/Text row, a filled Import button, an amber accent no chrome may
carry, and a source name clipped and dimmed past reading. It is now the
dock the mock draws: a count line, a chrome-less filter, ghost sort chips,
two-line rows whose names are mono and legible and ellipsize at the end,
an import section, and the hint that names the four gestures.

The spine groups its commands under heads and stacks each glyph over its
chord. The time band leads with the timecode, carries the transport as
ghosts, reads the cut out loud, and ends in the room's one bordered chip —
which now actually exports: the stance had been suppressing the action and
never mounted the card, so the control was wired to nothing. The bench
grows real thumbnails and waveforms in the source's ink, with the name
plate inside the clip where the mock puts it.

The fonts the language always named are bundled at last: Archivo and Spline
Sans Mono, cut to static weights because this text backend cannot read a
variable axis and would have drawn every weight the same. The darkroom is
the room you get now; OLD_GUI=1 opens the old one.

2026-08-19

🐛 fix(app): autosave only arms for a project this window opened or savedAhmet Kaan Gümüş · a80334d
🐛 fix(app): autosave only arms for a project this window opened or saved

A plain media open derived project_path (a guess at where a save would
land) without ever arming autosave for it -- so a dirty, never-saved
scratch session could write a sidecar beside a foreign .edith it never
touched, and the next real open of that file offered the scratch
timeline as "recovery" over the user's own saved work.

autosave_armed now gates every tick: set on install_project (opened
from the .edith itself) and on save_project's Ok, never on a media
open's derived guess. Declining the recovery notice now deletes the
stale sidecar instead of leaving it to reappear on every later open.
✨ feat(app): the project autosaves to a sidecar and offers recoveryAhmet Kaan Gümüş · 5a30a67
✨ feat(app): the project autosaves to a sidecar and offers recovery

A dirty timeline autosaves to <project>.edith.autosave (5s debounce,
60s period, paused during export) via the engine's atomic save. Manual
save deletes the sidecar. On open, a newer sidecar appends a recovery
offer to the LOADED notice: enter recovers, any other key keeps the
file. The real project file is only ever written by manual save.
✨ feat(app): the preview gets a scrub barAhmet Kaan Gümüş · e9c5f4b
✨ feat(app): the preview gets a scrub bar

The preview picture now carries its own seek track along its bottom: the
played share drawn as a fill, a WCAG-tall hit area over a 6 px rail, and
click or drag to jump anywhere in the file. It seeks through the ordinary
`Player::seek`, so it lands on the preview session the way the keyboard
step does and never disturbs the timeline underneath.

Driven headlessly against a 100 s H.264 mp4: the fill advanced
1:35:01 -> 1:39:18 between two shots, a click at the bar's midpoint moved
the clock 1:39:18 -> 0:50:02 with the picture changing, a drag 850 -> 300
px landed 0:09:01, and esc left the timeline region pixel-identical to
its pre-preview shot (compare -metric AE = 0).
✨ 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(engine): a library preview opens the row's own audio streamAhmet Kaan Gümüş · e6a2fc1
✨ feat(engine): a library preview opens the row's own audio stream

PlaybackSession::open_with_audio_stream binds a chosen audio track
instead of always the file's first, closing the corner-cut open_preview
named. Library rows already carry their own stream index (one row per
audio track on a remux), so the preview button now passes it straight
through.
🐛 fix(app): the library preview starts playing the moment it opensAhmet Kaan Gümüş · dc4ce87
🐛 fix(app): the library preview starts playing the moment it opens

open_preview built the session but never called play(), so the row's
own button — whose tooltip promises "plays it" — showed a frozen
first frame until a second click on the transport.
✨ 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): fullscreen, library preview, and frame screenshotsAhmet Kaan Gümüş · fbdd221
✨ feat(app): fullscreen, library preview, and frame screenshots

F11/toolbar fullscreen via gpui toggle_fullscreen; a per-row play
button previews any library file over the timeline without touching
the edit (separate preview session, escape restores); w/toolbar saves
the current frame as PNG under ~/Pictures/edith with no-clobber
suffixes and a notice naming the file.
✨ feat(app): a library row previews its file over the timelineAhmet Kaan Gümüş · 5231711
✨ feat(app): a library row previews its file over the timeline

A row's ▶ button (and esc, or the banner's own Stop) opens the file in
place of the picture without touching the edit's own playhead or undo
stack: PlaybackSession::open already builds exactly this session, so the
pump, transport, seek, step, volume and end-of-stream handling all route
through a new active_session()/active_session_mut() that reads the
preview while one is up and the timeline otherwise.
⚡ 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.

2026-08-15

✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+aAhmet Kaan Gümüş · 66d5395
✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+a

The app half of manual clip grouping: the timeline's selection becomes
a list of picks (Selection, click order kept, anchor = last), ctrl+click
toggles a pick on every clip box, caption box and edge strip, and a
right-click on a picked placement keeps the selection so the menu's
Group row acts on all of it — one pick keeps the span-partner flow.

SelectAll takes ctrl+a (every clip and caption, one selection) and
RemoveAudioLane moves to ctrl+q beside its own letter. The oracle
unhides Group and Detach over captions, words the one-clip-per-lane
refusal, and the caption menu grows the group rows. marked() lights
every pick and its link-mates — captions included — captions wear the
grouped border, trims preview each member by the drag's delta clamped
to its own room, deletes route a grouped caption through the group
door, and a drag's snap excludes the group it carries. The save-format
tests and every affected app suite updated with the new shapes.
✨ feat(library): a stand-in switch on every row — on, off, and one encoder at a timeAhmet Kaan Gümüş · 3da7bd9
✨ feat(library): a stand-in switch on every row — on, off, and one encoder at a time

The ✕ that stopped a stand-in being made read as taking the file out of
the library. What a row shows now is a switch: a hollow dot when the film
plays itself, a filled one when a stand-in plays, a stop square while one
is being made, with how far it has got drawn under it.

A click in the asked window stops rather than starts a second encoder;
the engine takes a claim on the .part before the header is read so no
two encoders ever write one path. A delete that could not happen says so
and the row stays on over the proxy that is still what plays. The off
choice is written beside the cache entry and outlives the session, and
the detail line keeps its width past the switch.

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.
🐛 fix(ui): a stand-in being made can be stoppedAhmet Kaan Gümüş · e534575
🐛 fix(ui): a stand-in being made can be stopped

A proxy is a whole film through a decoder and an encoder, started
without being asked for, and until now there was nothing that could stop
one: the row said "proxy 12%" for as long as it took, on a machine
somebody was trying to cut on.

So the row that shows the encode running carries the way out of it: a ×
beside the percentage, the subtitle row's button and the subtitle row's
rule -- it stops the click there, since the row under it picks a file
and stopping an encode is not a way of choosing one.

The engine already had the stop (`proxy::Job::cancel`, the export's own
checkpoints), so nothing new was invented for it. What is new is the two
states between the click and the end: `Cancelling` holds the job while
the worker winds down -- it gives up at its next frame and deletes its
own half-written file -- and `Cancelled` is where it settles, kept in
the map so no repaint starts the encode that was just stopped all over
again.

The worker's own answer is what settles it, which is what makes the
three claims checkable rather than hopeful: nothing is left under the
name a finished stand-in would have (the cache is looked up by existence
alone, so a file left there is a cut made on a truncated picture), the
`.part` goes with it, and an encode that *beat* the stop settles as the
ready stand-in it is rather than being deleted underneath the switch
that is playing it. Asking twice is asking once.

The new test in tests/export.rs is those four in one pass, on the
software seat: stop it mid-encode, wait for the worker, then look at the
directory.