Skip to content

v0.31.0 — front door

Choose a tag to compare

@DareDev256 DareDev256 released this 13 Nov 20:20
· 68 commits to main since this release
757fbeb

Front door. The first things a stranger sees (the GitHub card, the PyPI
page, the README's first screen) were stale and on four palettes. Now they
are current, generated by scripts, on one palette, and held by tests that
have each been seen failing. No new operations; the outputs that moved are
listed under Changed, so a cut in progress can tell which apply.

Not verified in Claude Desktop. The view timeline is drawn by the
official ext-apps reference host and by headless stub hosts; it has not
been captured in Claude Desktop for this release
(scripts/capture-claude-desktop.md has the steps for when it is).

Changed (existing outputs moved)

  • One palette, fcpxml/palette.py. True black ground, one cyan accent
    (#00E5FF; #007A8A for text and lines on white), red only for failure.
    The view app, the legacy preview:// render, the preview_check
    waveform plate and trace, the README hero, the social card, the logo and
    the README badges all read it. Out: the amber, pink, purple, green, yellow
    and default blue of the legacy render, the warm-brown title clip, the
    purple logo tile and the six badge colours. The one other cyan is the
    badges' #33EBFF, kept because the contrast rule needs it: shields.io
    picks white text on #00E5FF (1.8:1) and #333 just past it (8.7:1).
    The tokens file says so. The card frame is flattened onto the ground.
  • The view app follows the host's theme (hostContext.theme, else the
    OS preference): a white ground with the same cyan as a fill and the darker
    cyan for text and lines. Clip labels sit on a scrim only over a thumbnail.
  • view_timeline's summary agrees with diagnose. Gaps are counted by
    the same function validate_timeline reports (_detect_gaps), so the
    music-video fixture reads "0 gaps (gap-based storyline)" instead of
    "1 gaps" beside diagnose's 0; markers count the ones on clips too, so a cut
    with three chapter markers no longer reads "0 timeline markers". Counts
    are singular when they are one.
  • gen prices re-read on each vendor's own page, 2026-11-12. Gemini Omni
    1.2 Flash (omni-1.2-flash, $0.07/s at 720p, 3 to 15 s; quoted as at
    least one 10 s call, 11 to 15 s as 15) replaces Omni 1.1, which routes to
    1.2 and bills at 1.2 rates from 2026-12-03. Runway Aleph is Aleph 2.0 at
    $0.28/s with a 2 s minimum (was $0.15/s). Kling 2.5 ($0.07/s) and Wan 2.5
    ($0.15/s at 1080p) are unchanged and now confirmed. Luma has no per-second
    price on its page and stays unpriced. Every quote names its source page
    (price_source), says whether that page is the vendor's own
    (price_confirmed_on_vendor_page), prints UNVERIFIED when it is not, and
    says how many days old the table is.
  • A ripple that removes time removes it from the sequence. Every rippled
    edit (silence and transcript cuts, rippled deletes) moved the later clips
    and left the sequence's declared duration alone, so cutting 6.33 s out of
    a 37 s cut wrote a file that still said 37 s, and the removed time came
    back as an empty tail in the app and in every report that reads the
    duration. A sequence that ended where its spine ended still does after the
    ripple; one that declared a deliberate run-out keeps it.
  • The view app never draws a cut label. A clip name, ruler time, marker
    name or gap label that does not fit is hidden whole (its clip, tick or flag
    stays, the name is in the tooltip) instead of printing "Ope...", "00:" or
    "00:00:2("; marker names take a second row before giving up, so a marker
    is no longer dropped without a trace; the view fits the whole sequence
    (zoom to fit), and the gap hatch is drawn on gaps only.
  • Nothing in the view app touches. The playhead starts under the two
    marker rows, so a marker at the playhead keeps its flag and name (at 390
    its head sat on "Opening"), its head 2 px under the second row's flag (it
    touched "Interview" at 390 with a clip selected); ruler times clear the head by 9 px; the lanes
    end 8 px above the border (the last lane's clips sat 2 to 4 px from it).
    Disabled buttons read at 4.5:1 (the mute token on the button fill, where a
    45% opacity read 4.1:1). Thumbnails are extracted at 108 px on the short
    side, twice what a spine tile shows.
  • The view app moves between results; it never dissolves. A new
    payload in the same app animates from the old one the way Final Cut closes
    a gap: the pieces of a split clip appear where that footage sat and slide
    together, the clips after them slide left, a new clip is laid in from its
    left edge, and new markers land whole, one after another, left to right.
    An undo moves back: the pieces stretch back over the footage between them
    until, 80% of the way, the clip they came from takes over; a clip with no
    successor shrinks out where it was, its name fading out before it is too
    narrow; markers with none leave in turn, right to left. Several clips laid
    in, or leaving, at once go in turn too, so the number on screen changes
    one at a time. 520 ms, ease-in-out, so a split is seen apart before it
    closes (with the first ease-out curve it closed within 3 frames of 30).
    Only position, size, colour and (in steps) visibility animate, never
    opacity. A clip's scrim is drawn the whole time; its name is held
    transparent while the clip is narrower than the name and fades in over
    120 ms once it fits (the moment solved from the motion's own curve), so
    no frame shows a cut name and none drops a name that fits.
    prefers-reduced-motion jumps. Web Animations, so a recorder can pause
    and seek them. The frame redraws on a width change only (hosts resize to
    the content's height after a render, which used to redraw and cut the
    motion short).
  • The spine stays put. A spine with nothing above it keeps an empty
    lane-1 row, so a clip laid on lane 1 (gen_broll) appears in place
    instead of pushing the spine and the panels under it down.
  • A ruler tick is its time. A tick whose time does not fit the view is
    dropped whole, line and all (a 30 s tick at the end of a 30.7 s cut showed
    with no label). Ticks sit on whole seconds of the timecode they print: a
    timecode second at 23.98 is 1001/1000 of a real one, so a tick placed on
    real seconds read 00:00:29:23. A ruler time the playhead's line or head
    would cut through is hidden while it is there (at 390 with a clip selected
    it cut "00:00:0|0:00").
  • Thumbnails tile along a clip at their own aspect, repeated at the
    clip's height like Final Cut's filmstrip, instead of one frame stretched
    to the clip (about 2.5x wide on the hero's long set).
  • The legacy preview:// page: clip fills read at 3:1 against their
    lane with a thin accent strip on top, and a name that does not fit its
    block is hidden (pure CSS; the page has no script) instead of cut to "O.".
  • A generated clip's marker is named for its prompt ("generated: ");
    the provider and model move to the marker's note ("generated by
    gemini/omni-1.2-flash"), so the file keeps its provenance and the ruler, and
    every screenshot of it, carries no model id to go stale.
  • Every clip label over a thumbnail reads at 4.5:1 or better. The scrim
    is full shade (75% black) before the text starts (it faded across the text,
    so "Studio" read at 2.7:1), and role text over a thumbnail takes the label
    colour.
  • The README hero is cut from the author's own gym session (the SLVLING
    form pass, where he is the only person in frame): "Session cut" with Bench,
    Squat (the long set), Press and Finish, its audio a test tone so the rests
    are real silence. Four silent 640x360 proxies live in
    demo/hero/footage/, each joined from segments of the same three clips so
    that its midpoint, where the app takes its thumbnail, shows its own lift:
    Bench lying on the bench (the bar across the frame, the plates of the
    ceiling fan behind it), Squat three 5 s sets (standing, half way
    down, at the bottom) with 1.5 s rests, Press the arm driving the bar,
    Finish the floor and the plates (5.5, 18, 5 and 5.5 s, so every name fits
    at phone width, cut and uncut). The B-roll is one real Gemini Omni Flash
    generation bought once (build.py --generate, prompt only, capped at
    US$0.70, never bought twice) and replayed on every build; this recording's
    attempt was refused by the API before generating (HTTP 403), so nothing
    was spent and the tile is a stand-in: the clip is named "B-roll (mocked)",
    its marker "mock b-roll: Toronto skyline at dusk", and it carries a solid
    MOCK badge (accent ink on the accent fill, inside the tile, revealed as it
    grows, never over its label). No price, model id, frame size or version is
    printed in the hero or the card: scripts/image_text.py makes both
    builders refuse.
  • The README hero is a composed stage around the real timeline view.
    Four rounds recorded the whole chat client, where the timeline was 14% of
    the frame. Now the ui://fcp/timeline view alone (the app as served, one
    instance fed the real view_timeline results in order) is drawn 2.24x on
    true black, covering 69% of a 1280x736 frame at rest, with no SELECTION
    or SERVER panel. Every change in the view is the app's own motion. 18.1 s
    at 30 fps:
    • Frame 0 is the finished cut and the poster (the MP4 also carries it as
      an attached picture). The prompt types over it, laid out at its final
      two-line wrap from the first character, line 2 under the text column.
    • The app rewinds, everything together (the B-roll collapses as its name
      and MOCK fade, the squat's pieces stretch back into one clip, the
      markers leave); the clips then leave in turn (the app is handed the
      imported cut with its clips taken out) and the stage is empty for a
      moment, so the timeline is not on screen before the call that draws it.
    • Each call lands whole in a chip (the calls in the README's hero-calls
      block) and its result note types at 42 characters a second, then holds:
      1.57 s or more for every result, 1.9 s for the prompt. view_timeline
      draws the imported cut in, clip by clip.
    • A virtual camera (a CSS transform on the stage, never a crop of the
      output) starts each push 0.3 s before the change, pushes 1.4x onto the
      squat as it splits (the pieces seen apart, then closing over 14
      frames), pans along the marker row as the markers land (the whole row
      fits only 1.2x), pushes onto lane 1 as the B-roll is laid in, and eases
      back out. Text the frame's edge would cut fades out whole before it
      gets there.
    • The loop ends on frame 0's picture; the last 0.3 s is the one
      crossfade, into the same picture.
      The MP4 (1.4 MB) and the GIF (864 wide, 15 fps, 4.6 MB, a still picture
      one frame with its delay) come from the same frames. The recorder refuses
      any frame with a doubled, dropped or clipped name (cut by its clip, by
      the view's edge or by the frame's edge, leaving clips included), a
      thumbed clip without its scrim, a thumbnail not tiled at its aspect, the
      view under 60% of the frame, text under 10 px when the frame is shown
      358 px wide (measured from every text the view shows in any state: 10.04
      px), a push outside 1.25-1.4x or one whose subject is not whole, a caption
      past the frame, a result held fully typed under 1.5 s (the prompt under
      1.8 s) or shown whole twice, a split that moves for under 12 frames, a
      frame that changes the clips on screen by more than one without motion on
      both sides, or a name the app had to hide in any state; build.py
      refuses a hold over 1.5 s, a loop whose last frame is not frame 0, and a
      GIF over 5 MB.
  • The unedited recording is the same run. demo/hero/record_client.js
    records the app inside a chat client, uncropped, from the same
    states.json as the close-up (the round-6 file came from another run:
    "3.83s removed" and other thumbnails). build.py refuses unless both
    recordings showed the run's calls and notes, result digests and
    thumbnail digests, and writes docs/assets/hero-run.json with each
    file's sha256. "Staged close-up of the real app's results · unedited
    recording →" sits directly under the hero, whose alt text and caption say
    what is real (the view, the results, the motion) and what is composed
    (the stage, the captions, the timing, the empty beat, the camera).

Added (tooling, no new operations)

  • scripts/social_card.py: the 1280x640 GitHub card from the palette and a
    real frame: the logo, the name and the install chip (32 px) on one row,
    the promise at 44 px on two balanced lines, and the finished timeline's
    marker rows and lanes at 1.75x (docs/assets/card-frame.png, cropped
    inside the panel to the spine's own border; no ruler times, which were
    5 px at 390, their height given to the lanes), on one 1120 px column. The
    subtitle and the prompt are README text: at 390 px a card is shown at 0.3
    scale. No version and no star count; it refuses to write a card whose
    text wraps, collides, leaves the card or is under 30 px (9 px at 390).
    The card and the logo are frozen: tests pin their bytes (the card was
    thawed once, in round 7, and re-pinned), and the hero build writes the
    card's picture only with --card.
    scripts/check_social_preview.py compares what github.com serves with it.
  • scripts/logo.py: the logo redrawn in code from the tokens (SVG + PNG).
  • scripts/pypi_readme.py and two publish steps: the README's relative
    images and links are pinned to the release tag before the build (an
    in-page anchor goes to the README on GitHub: PyPI drops heading ids), and
    the BUILT description is checked for any relative path or bare anchor and
    every image URL for a 200 before upload. Through 0.30.0 every image on PyPI
    was broken.
  • scripts/image_text.py: the patterns no image may carry (a price, a model
    or provider id, a frame size, a version, a star count), used by the hero
    recorder and the card script, which refuse on a match.
  • demo/hero/footage.py and demo/hero/footage/: the hero's silent
    footage proxies, and logo-small.svg / logo-small-400.png, the no-glyph
    mark for 96 px and under (the README header uses it).
  • scripts/capture-claude-desktop.md: how to capture the app in Claude
    Desktop by window id, and what to record if it does not draw.
  • README: "Where the timeline draws", a dated table of which hosts draw the
    app and which get text; the editors' own MCP moves (Resolve 21.1, Adobe,
    Apple); Mac only (Final Cut for iPad has no FCPXML path); the MCP protocol
    as a dated spec version; SpliceKit's last release re-read; the roadmap
    through 0.31.0; one name, fcp-mcp-server, with the subtitle "Reads and
    writes FCPXML, no plugin, no patch" under the bold benefit line, and the
    install command on the first screen, above the hero; three
    badges on one hue with dark text (PyPI's live version, the license, and
    CI's live tests status, never a baked "passing") and a text line "Python
    3.10+ · Final Cut Pro for Mac 10.4 to 12.4", so no version range is baked
    into an image; the logo (a PNG, so PyPI shows it) on a true black tile with
    a #2A2A32 hairline, which reads at 16, 32 and 64 px on black, on white
    and on GitHub's dark grey; the hero GIF inline with the prompt and the
    calls as text under it.

Tests

  • test_palette.py: every colour in a surface file is a token; tokens are
    grey, cyan or red; text pairs read at 4.5:1 in both modes; the rendered app
    and legacy preview carry only tokens; at most three README badges on the
    tokens, none carrying a version or a range PyPI does not supply.
  • test_schema_budget.py: the advertised schema (30,714 characters for the
    15 tools, measured the same way on both SDKs) may not grow; shrinking it
    by more than 500 asks for the budget to be lowered.
  • test_front_door.py: the retired tagline, the old name (outside the
    registry identity), the retired Omni model and the version on the old card
    are at zero outside this changelog; one display name.
  • test_pypi_readme.py, and in test_gen.py the price table's sources and
    its age (red after 45 days, which the daily CI run notices).
  • test_app_labels.py: the real app shell in headless Chromium at 1440 and
    390 on both fixtures and a stress payload; any visible label that is
    truncated, outside its clip or cut by the view fails it, and so does a cut
    name on the legacy page. A new CI job (rendered-labels) installs the
    browser and runs it, failing rather than skipping without one.
  • test_sequence_duration.py: a cut and a rippled delete shorten a sequence
    that ended with its spine, on a 0 s and a 01:00:00:00 start; a deliberate
    run-out is kept.
  • The badge colour must be past shields.io's dark-text line (white on
    #00E5FF read at 1.8:1), the version badge must be dynamic, block fills
    must read at 3:1, and the PyPI check refuses an SVG from the repository.
  • test_hero_assets.py (the stage): the MP4's first DECODED frame (not
    its poster) is the finished still and the GIF's first frame the same
    composition scaled, with an instrument check that a later frame reads as
    different; the poster is also attached; the GIF is under 5 MB, a still
    picture one frame with its delay (red on a GIF re-timed with repeats),
    none over 1.5 s, looping; no hold over 1.5 s (and the check sees a planted
    2 s one); the loop is seamless (red on one cut at 6 s); no frame of the
    view outside the seam is a dissolve, each in-between frame fitted as a mix
    of the held pictures either side, overall and tile by tile (a 0.4 s
    dissolve planted between two holds fails it, and so does the round-4
    MP4; clips leaving in turn do not); every caption is held 1.5 s or more,
    the prompt 1.8 s, read off the MP4's caption band (red with 0.6 s cut out
    of a hold); the recorder's own numbers: coverage, type, every result's
    hold, the split's 14 frames, every push 1.25-1.4x, a loop of 16 s or
    more (each rule seen red); both recordings are the files the run record
    names and showed its calls, results and thumbnails (red on the round-6
    unedited recording and on one changed note); the card frame has no
    transparency.
  • test_front_door.py: the README's call list under the hero is the calls
    the recordings showed (hero-run.json), in their order; the install
    command is above the hero and the "Staged close-up ... unedited recording
    →" line directly under it; no text on the card is under 30 px; the first screen's "Python X+
    · Final Cut Pro for Mac A to B" says what pyproject.toml and the
    Compatibility table say.
  • test_app_motion.py (rendered, in the rendered-labels job): a split
    clip's pieces start where their footage sat and the gap closes, nearly
    all of it still open 100 ms in (red on the round-6 curve); no animation
    fades (and the check goes red on a planted fade); a new clip grows from
    nothing; new markers land whole, in turn; frame by frame at 390 every
    thumbed name keeps its scrim, is never shown cut and fades in within a
    frame of fitting (red on the round-5 hidden label); a clip 3x wider than
    its thumbnail repeats it at 16:9 (red when stretched); the playhead never
    cuts a visible ruler time; every tick time ends in :00 at 23.98, 29.97
    and 24; an undo holds the long clip back while its pieces stretch, shows
    the leaving clip's name whole at first and never cut, takes the markers
    off in turn, and changes the clip count one step at a time (red when it
    snaps, and when the leaving name is cut away at once); every clip leaving
    at once, or arriving, steps one at a time (red without turns); reduced
    motion jumps; the spine's top does not move when lane 1 fills; every
    visible ruler tick shows its whole time.
  • test_front_door.py: the social card, its picture and the four logo files
    are pinned by sha256 (red on a one-byte change), and the hero build passes
    --card only when asked; test_palette.py: the tests badge is shields'
    live workflow status (red on a static "passing").
  • test_app_labels.py: the playhead's head touching any visible label, its
    line covering a marker flag, its head closer than 1.5 px under the flag
    above it, or a clip within 6 px of the track's bottom border fails it; test_palette.py: disabled buttons at 4.5:1 in both modes.
  • The label scrim: composited over white, yellow, cyan and black frames at
    4.5:1, full before the text starts, and measured on a rendered clip over a
    pure white thumbnail; the stale-image patterns and both builders using them;
    the small logo at 96 px and under.
  • Every new guard has a test that plants the failure and sees it go red.