forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-11-15

2026-11-10

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

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.
fix(player): the equalizer commit arms on the curve having movedAhmet Kaan Gümüş · a5f4c04
fix(player): the equalizer commit arms on the curve having moved

`Player::commit_eq` called `session.set_eq(...)` and then armed, dropping the
door's answer entirely. Worse, that answer is the weak shape the family already
knows about: `Project::set_eq` returns false only for an index that is not there
and a curve that is not finite, and otherwise snapshots and rewrites the very
slot the clip already holds -- so it says true for a re-commit of the curve
already in force. The "Flatten all" button reaches `commit_eq` with every gain
already at zero, and the card's own close armed autosave, the `unsaved` ghost
and the close prompt over a project nothing had changed.

The arm now rides the same pair `apply_fit` already rides for `set_fit`: the
curve having moved, read back with `eq_of`, and then the door's own answer. A
missing index, a non-finite curve and a no-op commit are all unarmed; a real
change arms exactly once.

`reset_after_reseek` moves inside the gate with the arm rather than staying
outside it: it exists because `set_eq` reseeks inside the engine, so on a write
that did not take there is no reseek whose flags need clearing.

The scan case joins `every_click_door_that_writes_the_project_arms_autosave` in
the family's `fn_body` shape, and holds the two-part gate: without the
`eq_of` comparison the door's bool alone would pass. Shown RED against the
pre-fix source with the arm and the comparison reverted separately.
fix(player): the mix card's arm rides the mix door's own answerAhmet Kaan Gümüş · 5d1e7d9
fix(player): the mix card's arm rides the mix door's own answer

`Player::nudge_mix` called `mark_dirty()` before it asked the session
anything, so every press armed autosave -- the ledger's `unsaved` ghost, a
sidecar write, the close prompt -- whether or not a value moved. Both doors it
goes through already answer the question: `set_lane_gain_db` and `set_limiter`
each return false for a value already in force. So a fader held against its
wall (the clamp is reached, the number written is the number there), a ceiling
already at its clamp, and a re-tapped limiter switch all lit `unsaved` over a
project whose bytes had not moved, and asked the user to save work nobody did.

The arm moves inside the match, on the bool the door returned. The nudge's own
math is untouched: the mixer is still handed the value on every press, so what
the ear hears while the arrow is held is unchanged -- a no-op press is simply no
longer an edit.

The scan case joins the family in
`every_click_door_that_writes_the_project_arms_autosave`, in the same
`fn_body` shape, and asserts both halves: the arm is after the gate and absent
before it. Shown RED against the pre-fix source.

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.
🐛 test(autosave): bound each history arm before asserting it armsAhmet Kaan Gümüş · 87eae13
🐛 test(autosave): bound each history arm before asserting it arms

The history check read everything after each gate, so Redo's `mark_dirty()` satisfied Undo's -- deleting Undo's own arm kept the test green (verifier finding H2). Each arm is now cut at the arm that follows it: `ActionId::Redo =>` for Undo, `ActionId::AddVideoLane =>` for Redo.
🐛 fix(autosave): every edit door arms the flag only when it wroteAhmet Kaan Gümüş · f7e750c
🐛 fix(autosave): every edit door arms the flag only when it wrote

Eight doors armed `mark_dirty()` before the call that decides whether anything happened, so a stroke that changed nothing -- a clip let go where it was picked up, a caption dragged back to its own frame or dropped on an overlap ("NOT PLACED"), one that is not there any more ("NOTHING LIFTED"), a trim, a fade or a `[`/`]` nudge released against the wall the edge already stood on -- still armed autosave, the ledger's `unsaved` ghost and `Player::close_needs_answer`: a window nobody had touched asked to be saved, and an autosave sidecar was written for it.

Each arm now rides the door's own answer, or the one reading the door's answer cannot give: a caption's own window before and after the trim, and the ramp's own value before and after the fade (`Project::trim_sub` answers `Ok` and `set_fade_*` answers `true` for an edge or a handle that never moved). The history pair left the action table's early arm for its own, since `^z` with an empty history is not a stroke that earned an autosave -- and `Player::undo`/`redo` now clear the selection only alongside the step they took, the same rule the refused split above is held to.
💄 ui(settings): the Encoder row is the picture's ownAhmet Kaan Gümüş · 9c53bb8
💄 ui(settings): the Encoder row is the picture's own

The engine opens no encoder seat for a song, so with an audio-only format picked the settings row was a button that did nothing when pressed. The export moment mounts no such row there; this is that same rule and not a third treatment. The settings/moment parity test also walks a settings pick through undo and redo now.

2026-09-19

💄 ui(settings,export): settings is a centred modal; the budget goes below a megabitAhmet Kaan Gümüş · 9085e57
💄 ui(settings,export): settings is a centred modal; the budget goes below a megabit

- settings page reframed from the full-width below-picture sheet to a
  centred modal card (480px plate of one tabbed column's measure,
  viewport-capped with the rows scrolling, click-away/esc close
  unchanged) — the sheet covered the timeline; new layout guard pins
  the geometry
- export budget floor drops from 1 Mbps to 100 kbps in both the engine
  (MIN_BITRATE) and the app (BPS_MIN), so a typed '600k' travels as
  0.6 Mbps instead of being silently rewritten to 1.0; pins re-seated
  at the new floor, wheel steps unchanged, no-session fallback keeps
  its 6 Mbps meaning as a literal
- DESIGN.md §11.6 names the settings modal as an accepted occlusion
  exception, per its own 'the document changes explicitly' rule

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".

2026-09-15

✨ 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.

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

✨ feat(silence): keep-only invert — cut speech, leave the quietAhmet Kaan Gümüş · 5cd971b
✨ feat(silence): keep-only invert — cut speech, leave the quiet

Silences card gets a Keep only silence switch (k). Off is today's
jumpcut; on, cut/speed act on the complement of the scan so the
quiet stays. Empty quiet still refuses rather than cutting the
whole clip.

Also drop the second tooltip on the card maximize glyph — gpui
panics if .tooltip() is called twice, which crashed every param
card including this one.

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

🐛 fix(app): the export moment's picture cycle wraps, and row 3 says the picture and the soundAhmet Kaan Gümüş · d0aad08
🐛 fix(app): the export moment's picture cycle wraps, and row 3 says the picture and the sound

The cycle walked into the sound-only formats and stopped there: the
picture segment was gated on `has_video`, so on WAV/FLAC/MP3/OGG there
was nothing to press and `c` wore no chord (user: "when selection
reaches the audio clicking is disabled and can't turn it back to
video"). It is a child now, never a maybe, and the cycle wraps from OGG
back to MP4.

Row 3 also carries what a user wants to see without being able to change it
here: the project's picture size and rate, and the sound's codec with
the rate it is spent at -- `copy` where the source's own packets are
carried, since this surface cannot invent that rate.
🐛 fix(app): a settings value says a state, not a cut wordAhmet Kaan Gümüş · 0501b2a
🐛 fix(app): a settings value says a state, not a cut word

The resolution list's checked row read "3840x2160 · the medi…" and the
EDITOR row read "Subtitle font  Font…": prose past MENU_W and a door's
own noun in a value slot (user: "word cut"). Every picker tail is a
state word now -- 'source' on the media's own size, 'unchanged' on the
source sample rate -- and the settings rows carry the state behind the
door: the family in force (or 'default'), the track count on Mix.
🔥 remove(app): the spine — a verb's geography is the thing it acts onAhmet Kaan Gümüş · 8a68541
🔥 remove(app): the spine — a verb's geography is the thing it acts on

User decision 2026-09-09, "option C": nothing on screen. The 56px rail and
`ui/spine_stance.rs` are deleted; the room root is centre | dock and the
picture, time band, bench and ledger take the width. Every verb is now its
key, a right-click on the thing it acts on, or a hover plate — the KEYS tab
is the one list left.

The four verbs that act on the ROOM have no thing to be right-clicked on, so
they sit at the ledger's right end before the position, each wearing its
chord off the keymap and its hover plate off the shared tooltip helper:
`CC t · settings ^, · keys ? · full f11`. `CC` reads ink1 + fill while
subtitles are shown, the state the rail's glyph carried; `keys ?` wears no
second `?`, the same rule.

Persisted layout is untouched: `split_bounds`/`split_size` measure the dock
from the window's right edge and the bench from its height — no formula ever
offset by the rail.

DESIGN.md §3/§4/§5/§9/§12 rewritten in the same diff. The eighteen actions
whose only pointer door was the rail are named with their owning lane in the
parity sweep's exemption list, and the sweep now fails on a stale exemption
so the debt cannot go quiet (three already-covered entries deleted by it).
✨ feat(app): every hitmap control wears its hover plateAhmet Kaan Gümüş · 0fd856c
✨ feat(app): every hitmap control wears its hover plate

The user could not name the band's glyphs. One shape for the whole
room -- `<name> · <chord>` from the shared helper -- and a sweep that
pairs each `hitmap::` emitter with a `.tooltip(` of its own, so a plate
cannot be borrowed from the control next door: counting per function
let the empty-dock hint pay for `dock.sort.cycle`, which sat bare under
a green gate.
⚡️ perf(app): a wheel notch on the budget opens no encoderAhmet Kaan Gümüş · 24934ba
⚡️ perf(app): a wheel notch on the budget opens no encoder

The export moment's seat probe was keyed on the whole export settings, bitrate included, so every notch of the wheel invalidated it and opened a real VA-API encoder to ask the seat again — ten opens for ten notches, 5–32 ms of GPU work each, beside the player's own decoder. The bitrate decides none of that answer, so the probe is asked and keyed without it: one probe when the moment opens, none while the wheel turns.
✨ 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.
🐛 fix(app): every menu lands inside the window, clear of what it namesAhmet Kaan Gümüş · 9d24ad8
🐛 fix(app): every menu lands inside the window, clear of what it names

The three hanging menus mount on the room root instead of inside
`stance-centre`: their anchors are window coordinates, and the dock --
painted after the centre column -- covered every pixel past the seam,
which is the clip menu whose chords were cut mid-word at x=995.

`menu_at` now clears all four edges by `MENU_EDGE`, and `menu_rows_h`
takes both margins off the room first, so a floored menu never buys that
room back off the picture.

The library menu hangs a row below the pointer rather than on it: opened
at the pointer it covered the very row it was about.

Its rows wear the chord of the verb (`Add at playhead ↵`) or nothing at
all -- the prose glosses were §8's instructional copy in the column §4
reserves for strokes -- and the destructive remove says its consequence
in its own label, since nothing prints beside it now.

2026-08-27

🐛 fix(app): Text tab answers the dock filter; guards pin the new menu and escape rulesAhmet Kaan Gümüş · 75f3f17
🐛 fix(app): Text tab answers the dock filter; guards pin the new menu and escape rules

The filter box sat visible over a tab that ignored it -- a dead control.
Subtitle rows now match on track label or file name, groups leaving with
their last row. The two source-scan guards are updated to pin what shipped:
the library menu anchors at the pointer and never routes through
menu_floor's picture clamp, and the modal guard's escape branch goes
through Player::escape_closes_overlay (scan window widened past the
branch's commentary).
🐛 fix(app): Exact quality derives its own format from the source codecAhmet Kaan Gümüş · 233e118
🐛 fix(app): Exact quality derives its own format from the source codec

Picking Exact used to leave the format on whatever preset was active,
so Export refused it with the container-mismatch message minutes
later. pick_quality() now sets the container from the source's own
codec (HEVC/AV1 -> the matching Matroska format) via the new
exact_format() helper, and the Exact row shows exact_refusal()'s
reason inline the moment it's picked (or a source manually changed
away from it) rather than only at Export time.
🎨 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.
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforcedAhmet Kaan Gümüş · 067620b
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforced

Empty states to single nouns, filter placeholder to one word, the
"pick a verb above" plate removed; report strings keep state, lose
instruction clauses. 250 app tests green, zero warnings.

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.
🧪 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.
✨ feat(ui): type-in for the transition duration row (DEBT #111)Ahmet Kaan Gümüş · 1110ca4
✨ feat(ui): type-in for the transition duration row (DEBT #111)

Generalizes export_ui.rs's NumberEdit into ui/widgets.rs with a caller-owned
range/digit-cap/unit instead of the hardcoded Mbps constants, adds a
commit_clamped() alongside the existing refuse-on-commit commit() for rows
whose stepper already clamps silently, and wires it into the Clip tab's
transition duration row (click to open, digits/backspace/enter/esc through
Player::param_card_key, commit through the same set_transition_frames the
± steppers now share).
🔥 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.
✨ feat(ui): editable transition duration in the inspectorAhmet Kaan Gümüş · 8b3853b
✨ feat(ui): editable transition duration in the inspector

A dissolve or crossfade the anchor clip carries now grows a duration
row under selection_section's detail line -- frames, flanked by the
same −/+ steppers mbps_steppers already draws for the export card's
bitrate. Backed by Player::nudge_transition, which routes to
Project::set_transition_out (video) or Project::crossfade (audio); both
already clamp to what the successor clip offers, so a run of presses
past that room stops there. ctrl+f/ctrl+x keep seeding a fresh
transition at one second -- this only moves what is already there.

transition_of (crates/app/src/ui/inspector.rs) is the pure read: a
dissolve is transition_out > 0 on a video lane, a crossfade is both
ends of the join set (fade_out on this clip, fade_in on its adjacent
successor) on an audio lane -- told apart from a plain one-sided fade
drag by that two-sided signature. Pulled out free of Context and of
PlaybackSession, same reason split_drag_owes_save was, so it is
testable without a TestAppContext this binary has none of.

2026-08-21

fix: format Darkroom integrationAhmet Kaan Gümüş · 9a27ee6Browse files
merge oldui-laneverbsAhmet Kaan Gümüş · a0d9dacBrowse files
merge oldui-sourcesAhmet Kaan Gümüş · c41d540Browse files