Skip to content

UX wave U6b-2 file frames: close the gaps no test or scene proves #712

Open

Description

@SSFSKIM

Residue of the UX wave's landing U6b-2 (file frames: a PDF, an HTML page, a video or a sound named by a path, drawn in its tab; board ticket 671; execution document docs/doperpowers/plans/2026-11-15-ux-wave-U6b-2-file-frames.md). Each item is a gap that no unit test or e2e scene proves today. None changes what a person sees; each is buildable from this body once U6b-2 is on master.

  1. A video's seek to a time not yet loaded is unproved. The scenes can only make a video with MediaRecorder, which gives a two-second WebM with no cues and no duration; it loads whole, so a seek never leaves what is buffered. The sound already proves an unloaded seek by its ranged request.
    To do: add a generator under e2e/support/ that makes a longer video with cues (WebCodecs plus a small WebM muxer); have the e2e:code media scene in e2e/code-tools.spec.ts seek the video to a time outside buffered and assert a ranged request after the seek, as it does for the sound.

  2. A click on a path link to a PDF inside the session's folder is unproved. The scenes open such PDFs from the Files tree; a link click is proved only for a PDF outside the folders (e2e/sessions.spec.ts, and the deliverables scene's outside-the-folder case).
    To do: seed an assistant row that links a PDF inside the folder, click the link, and assert the PDF is drawn beside the chat with a rendered-pixel witness (markPixels).

  3. Two scenes take no "nothing created" snapshot, both in e2e/deliverables.spec.ts: "ticket 662 on a file's frame: its dns-prefetch links ask the resolver for nothing" and the scene whose title begins "a token's URL:". Every other scene that opens a file checks that the Library and the session's artifacts are unchanged.
    To do: wrap both in the snapshot of e2e/support/nothing-created.ts.

  4. The frame seam shares the open log's environment variable. The frame-decision and frame-entry lines are written to MAWS_E2E_OPEN_LOG, so every scene that reads the open log must filter lines that start frame-; a future scene that forgets will miscount.
    To do: write the frame seam to a file of its own (for example MAWS_E2E_FRAME_LOG) through the same ordered writer (writeSeam in src/render/policies.ts), and update the readers: the scene of record, the token scene, the outside-the-folder case, and the filters in the code-tools, sessions, remote and cross-build scenes.

  5. The main area off screen, and the artifact's File viewer, have no scene. The main area is off screen while the side column is maximized, floating or a sheet, or a page covers it (the document's Decision Log 35). Unit cases on the real shell hold both (main-out-of-view.test.tsx, file-frame-in-view.test.tsx); no e2e step does.
    To do: one e2e:code step that plays a main-area video, maximizes the side column, asserts no video element is left, restores it, and asserts the video is paused at its time.

  6. The spike is not linted. spikes/file-frame/run.mjs is ignored by the lint configuration, so the branch review's fix to it (the openers writing to FILE_FRAME_OPENED) has no check of any kind.
    To do: bring spikes/file-frame/ under eslint, or rerun the spike once on a build VM to show the openers still record.

Not in this ticket (already rows in docs/tech-debt-tracker.md): an older-service row that stays after a hide which keeps the body mounted; the neighbours' count reading commented tags.

Acceptance: items 1 to 5 each have a scene or step that fails when the behaviour it names is broken; item 6 has one of its two outcomes.

Spawned by: #671

Board note: Residue of U6b-2 (ticket 671); buildable from the body once 671 is on master

Activity

  1. added
    enhancement
    status:ready-for-implementer
    on Nov 16, 2026
  2. SSFSKIM commented on Nov 16, 2026

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-implementer: Residue of U6b-2 (ticket 671); buildable from the body once 671 is on master

  3. added
    priority:P3
    on Nov 16, 2026
  4. added
    expected
    ready-to-work
    and removed
    status:ready-for-implementer
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementexpectedpriority:P3ready-to-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions