forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/app/src/oracle.rsClear filter

2026-10-23

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

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

2026-09-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-09

Merge branch 'worktree-agent-aea4a704971d1657f'Ahmet Kaan Gümüş · 23fb990
Merge branch 'worktree-agent-aea4a704971d1657f'

# Conflicts:
#	DESIGN.md
#	crates/app/src/tests/layout.rs
🔥 remove(app): the clip menu is what this clip can be told, per kindAhmet Kaan Gümüş · 24b3bde
🔥 remove(app): the clip menu is what this clip can be told, per kind

Twenty-two rows scrolled inside their own plate, which is the junk drawer
DESIGN §9 forbids. §8's class refusal, applied as written: the crossfade is
the sound join and the dissolve the picture one, so each is hidden over the
other kind -- a video clip's menu is Cut, the two trims, the loop-trim, the
clipboard pair, Dissolve, Colour, Transform, Silences, Speed, Fit policy and
the two destructive rows under the rule; an audio clip's is the same list
with Crossfade, Equalizer and Silences in place of the picture cards.

Gone from every clip menu: the trim-to-playhead pair (`^[`/`^]` is the
keyboard's version of dragging a clip edge to a spot -- the pointer already
has that gesture), the group trio (ctrl-click the halves *is* the grammar)
and the global mute (the transport carries its button). All six keep their
chords, their KEYS rows and, now, their named exemptions in the layout sweep.
✨ feat(app): every spine verb answers a right-click on the thing it acts onAhmet Kaan Gümüş · cb302ca
✨ feat(app): every spine verb answers a right-click on the thing it acts on

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

Destructive rows sit under a rule line wherever they are listed, which moved
Delete and Lift to the foot of the clip menu. Every row is still an ActionId
the keyboard reaches, so label and chord keep coming out of the registry, and
`every_verb_the_spine_carried_is_a_right_click_row` fails the moment one of
them loses its pointer door again.
🐛 fix(app): a notice reports state in capitals — the guard reads the call siteAhmet Kaan Gümüş · b8a94e6
🐛 fix(app): a notice reports state in capitals — the guard reads the call site

`x` with nothing marked put "Delete — click a clip first" on the ledger: prose
the room is forbidden (DESIGN §8), and instructional at that. The guard that
was meant to catch it scanned only literals whose first word was already in
capitals, so a refusal whose head is the *verb's label* — every refusal the
oracle words — walked past it, along with the eleven card/view notices that
open in lower case.

The scan now finds its subjects by call site (`notify_user`, `push_notice`,
`Enable::No`, `Enable::Hidden`), reads their arguments to the matching paren
and refuses an imperative tell at any length, not only past eight words. The
dispatch shouts the label so a composed refusal opens the way every other
message does: DELETE — nothing selected.
🐛 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): dock clip verbs hide (not grey) for the wrong media kindAhmet Kaan Gümüş · 726f956
🐛 fix(app): dock clip verbs hide (not grey) for the wrong media kind

Mix now refuses by the same class rule as Silence/Equalizer (still or
no-sound clip); the dock's ghost_verb reads Enable::listed() and leaves a
Hidden verb out of the row entirely instead of always drawing it dimmed.
DESIGN.md §8 amended: state refusals grey out, media-kind refusals hide.

2026-08-26

✨ feat(app): keyboard trim-to-playhead (debt #42)Ahmet Kaan Gümüş · ba764f9
✨ feat(app): keyboard trim-to-playhead (debt #42)

Trim was pointer-only. Adds TrimInToPlayhead/TrimOutToPlayhead on
ctrl+{/ctrl+} (the bracket family's last free rung: bare [ ] nudge,
{ } walk selection, ctrl+[ ctrl+] jump sync points), wired through the
same PlaybackSession::trim_clip primitive the pointer drag commits
with, gated by the oracle on a subject cut with the playhead on it,
and given the same spine widget home as the nudge pair.
🐛 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.
🔥 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.
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanelsAhmet Kaan Gümüş · e404617
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanels

The ring built in 75ea728 was unreachable: nothing ever called
window.focus on focus_dock/focus_bench/focus_inspector, so the surface
on_key_down handlers (which do move focus correctly) never fired. Adds
ActionId::FocusPanels bound to F6 (bare Tab stays Select at the root,
unstolen), dispatched in Player::act via window.focus(&self.focus_dock)
to enter the ring at its first stop. Escape inside the ring now hands
focus back to the root (ui::stance::is_focus_exit_key, mirroring
is_focus_cycle_key) instead of bubbling unanswered.

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.

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): a settings page for the project and the editorAhmet Kaan Gümüş · 5178f3f
✨ feat(ui): a settings page for the project and the editor

Splits by the rule that project settings change what is rendered and belong to
the project, while editor settings describe this machine. Reaches its rows
through the openers and pickers that already exist rather than new card bodies.

Reachable two ways on purpose: a visible St glyph on the spine and ctrl+, —
chord-only entry is the defect class this room keeps repeating.
✨ feat(ui): sources get their own colour and the ruler learns to countAhmet Kaan Gümüş · 25a08e3
✨ feat(ui): sources get their own colour and the ruler learns to count

The darkroom's source tints were four greys, so every source carried the
same non-identity and the mock's whole read — each film marking its own
dot, spine and waveform — could not happen. The family gets the real
twelve-hue wheel the language describes, stepped off the reference inks and
held in the contrast band; the other twelve palettes keep their own tints
untouched.

The bench ruler was a filled bar. It has ticks and MM:SS labels now, chosen
so they never crowd, with the playhead's own timecode pinned at its left
edge, and each lane head wears a dot in its first clip's ink.

The dock's import verbs stop lying: they carry real actions with real
chords. Add files takes ctrl+o, which the once-a-project proxy toggle gives
up to a command an editor runs all day. Paste path takes ctrl+l rather than
the mock's ctrl+v, which the timeline's own paste has earned. The tab
letters are gone rather than shown unbound — bare l and i belong to lift
and mark-in.
🐛 fix(ui): the seam loses its hue and the chords become reachableAhmet Kaan Gümüş · 9e2bfd6
🐛 fix(ui): the seam loses its hue and the chords become reachable

The verifier drove the room and found three faults. DARK_SEAM carries an
alpha byte, but the stance handed it to rgb(), so every seam between
regions painted pure blue — the first law broken in the first screenshot.
It goes through rgba() now, a sweep found no other constant of that shape
mismatched, and a new test catches the class: the old guard only grepped
colour literals, so a hue arriving through a theme constant sailed past it.

The stance root read keys with no modal guards, so Home seeked the playhead
while the dock's Colour card was open, and Delete and Cut were reachable the
same way. It now asks the same shared predicate the legacy room asks.
Actions whose surfaces the stance does not draw yet are suppressed rather
than left setting invisible state.

gpui clears the shift modifier for every symbol key and hands over the
shifted glyph instead, so Chord.shift and lookup_shifted never had a
production caller and the stride-ten walk could not fire. The dead
machinery is gone; stride ten is its own pair of actions on < and >, and
selection moves to { and } — on shift+[ it had become keyboard-dead, a
regression the legacy room was carrying too.
✨ feat(ui): the darkroom tokens and the cut chords landAhmet Kaan Gümüş · be320c0
✨ feat(ui): the darkroom tokens and the cut chords land

DESIGN.md §12 steps 1 and 3a. theme.rs gains a thirteenth palette family,
Darkroom, plus the fifteen roles the design contract names: the four-level
ink ladder, the dark surface set, the lamp white, the three notice spines
and the safelight pair. The twelve legacy families alias the new roles onto
their nearest existing one so the palette macro still compiles for all of
them.

keymap.rs gains a shift field on Chord and the cut-machinery actions:
, and . walk cuts (shift strides ten), bare [ and ] trim the subject cut,
/ loop-trims. SelectPrev/SelectNext move to shift+[ and shift+] to hand the
bare brackets to trim as DESIGN.md §6 requires; every surface reads those
labels live, so no stale chord text remains. The oracle refuses all five
with "no subject cut" until one exists. Dispatch stays a no-op arm — a
later step wires the behaviour.

2026-08-19

✨ feat(app): the playhead can loop, on the timeline and in a previewAhmet Kaan Gümüş · 935d48b
✨ feat(app): the playhead can loop, on the timeline and in a preview

A Loop toggle (transport bar button, bare r) restarts playback from
zero on the end crossing instead of halting — the same restart door
play-at-end already used, so loop-off semantics are untouched. One
flag serves both sessions: pump loops whichever is active. The wrap
reopens the decoder; a one-frame seam is the accepted cost.
🐛 fix(app): the project settings answer before the first fileAhmet Kaan Gümüş · f30fe44
🐛 fix(app): the project settings answer before the first file

The oracle refused ActionId::Resolution with no timeline, so the Size,
Rate and sound-rate rows — the whole pre-import settings surface — were
dim exactly when a pending pick means the most. Joins the editor-wide
always-on list; the no-timeline sweep test now pins it.
✨ feat(app): subtitle cue font and size are the user's to chooseAhmet Kaan Gümüş · dd4bbea
✨ feat(app): subtitle cue font and size are the user's to choose

A subtitle-style file beside the theme holds a family and a size
(10-28, default 14); the cue plate reads them live and the line height
scales on the stock ratio. New card lists every system family plus the
platform default, opened from the inspector's Font control or y. A file
the format could not have written falls back whole to the defaults.
✨ feat(app): the player goes fullscreen from the toolbar or F11Ahmet Kaan Gümüş · 1ac24b8
✨ feat(app): the player goes fullscreen from the toolbar or F11

gpui Window::toggle_fullscreen wired as ActionId::Fullscreen (View category,
always enabled — window-level, touches no edit list). Player::act grows a
window parameter to reach the API; topbar gets a state-reflecting
Fullscreen / Exit fullscreen button beside Save/Export.

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(timeline): a caption is taken off the lane by the same stroke and row a clip isAhmet Kaan Gümüş · 888f39d
✨ feat(timeline): a caption is taken off the lane by the same stroke and row a clip is

A placed caption could only be lifted by a ✕ that vanished on narrow
boxes. Captions are now marked by a click, lifted by x/delete and the
menu, and dragged — parity with every other thing on a lane.

The mark is keyed by a caption's start frame, so a refused drop, a
sorted insert or a removal cannot shift it onto the caption beside it.
With a caption marked the playhead actions stay live while its menu
carries only its own rows: the playhead's clip actions — split, rate,
grade, fit — would read as the caption's.

2026-08-14

🐛 fix(ui): the stand-in switches are answerable before the first filmAhmet Kaan Gümüş · 2995059
🐛 fix(ui): the stand-in switches are answerable before the first film

Both proxy switches were dead with nothing open: the availability oracle
refuses everything below "no timeline open", and the state they toggled
lived in the session, so a window with no session had nowhere to keep an
answer and the buttons read a bare "Proxies" with no state at all.

That is backwards for what these two are. They are import options -- one
decides whether an arriving film gets a stand-in made for it, the other
what its picture is then decoded from -- so the moment a person can act
on them is *before* the import, and a switch that waited for a film was
a switch that came too late to stop the encode it was about.

So the pair joins the four the oracle already answers with nothing open
(the snap and the monitoring level), and the window keeps them the way
it keeps its volume: its own, pushed at every session it opens
(`apply_proxies`), and taken back from a project as it loads, since a
`.edith` carries its own two and they are what it was saved with.

The buttons now say on or off with an empty window, an import made while
Auto proxies is off starts no encode, and the keyboard and the pointer
go on answering the same question -- which is the rule that put the four
in the oracle in the first place.

Two dead imports in the same two files go with it: the build printed
them and they are one line each.
✨ feat(app): + S makes a subtitle track, and the file door keeps its own nameAhmet Kaan Gümüş · 6830c39
✨ feat(app): + S makes a subtitle track, and the file door keeps its own name

"if I press button +S it should create subtitle track section": it opened a
file chooser instead, which is the one thing a track button never does. The
button and its "s" now add a `LaneKind::Subtitle` lane exactly as + V and + A
add theirs, ctrl+t takes the last one back, and the chooser survives as
`ImportSubtitles` (ctrl+i) behind the Text tab's own "Add subtitles from a
file…" -- the panel where the tracks it reads are listed.

Every notice follows the split: an import lands rows "in the palette", a lane
says "drag a subtitle from the panel onto it", and a remove with no subtitle
lane says so instead of "open a file first" over an open file.

The export card's Subtitles row was framed around palette picks: with an empty
pick list it dropped the engine's sentence whole, so a lane the export carries
nothing of said nothing at all. The sentence is kept whatever the picks are,
and a row the sentence already speaks for gets no clause of its own.

2026-08-13

🔧 chore(app): the window's file lets sixteen neighbourhoods keep their ownAhmet Kaan Gümüş · 963252a
🔧 chore(app): the window's file lets sixteen neighbourhoods keep their own

main.rs was 10,529 lines with every constant, every helper and the
window itself in one place. The geometry, the transport, the import
state, the menus, the export card, the oracle, the library rows, the
subtitles, the equalizer, the colour card, the viewport and the
timeline's arithmetic each move out to the module they belong to; the
Player and its two impls stay, which is what the file is for.

Pure motion: every line is the line it was, with pub(crate) added only
where a module boundary now stands between it and its caller.
Player::enable still delegates to the one oracle.