clipwright/tests
juancarlos.cavero cb37ae3aec feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips
Every file the pipeline and the clip editor write is now clean. On the free
plan the served file is a wm_<final> copy with the mark burned in
(main.mark_delivery, last step after captions; app._deliver for the editor
endpoints, decided from the caller's plan), and both twins go to R2. An
upgrade re-points the user's library at the clean twins from the Stripe
webhook (cloud.videos.unmark_user_library): no render, no source video,
and the dashboard chases the job result until no served URL carries wm_.

Before, the mark rode the reframe encode, so every derivative inherited it
and the upgrade modal's "upgrade to remove the watermark" was false for the
clips already made. The first cancellation for "clip quality" (29-sep) was a
user who paid 15 minutes after their first job and kept the mark on every
download and restyle.

- /videos guard refuses a marked job's clean deliverables (.marked dotfile),
  so the twin cannot be fetched by stripping the prefix off a URL; editor
  scratch files stay servable. Re-checked after an R2 restore.
- Walk-backs treat wm_ as the outermost layer; _canonical_clip_file globs it.
- Jobs from before this scheme (mark burned into the canonical) never get a
  second copy; a failed mark still serves under the wm_ name.
- Watermark notice once per job when the clips land on a free account, and
  before the first download if skipped; tracked with source=results|download.
  Upsell/banner/win-back copy now promise the instant removal.
2026-10-01 09:35:53 +02:00
..
conftest.py feat(agents): the pipeline as a platform — API keys, MCP server, webhooks 2026-08-03 22:33:16 +02:00
test_account_erasure.py test(ci): skip the Stripe cancel test when the stripe package is absent 2026-08-24 20:47:23 +02:00
test_account_local_purge.py fix(cloud): close the gaps the account-deletion review turned up 2026-08-24 19:26:12 +02:00
test_active_speaker.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_agent_uploads.py feat(mcp): burn the hook line by default, auto_hook=false opts out 2026-08-27 20:26:57 +02:00
test_ai_disclosure.py feat(rgpd): legales, cookies, baja de marketing, marcado AI Act y alertas sin PII 2026-09-07 19:22:52 +02:00
test_alert_classify.py fix: reject too-short sources at submit and stop alerts blaming recovered downloads 2026-08-20 22:54:51 +02:00
test_api_keys.py feat(agents): the pipeline as a platform — API keys, MCP server, webhooks 2026-08-03 22:33:16 +02:00
test_audit_hardening.py test: use documentation-only tailnet addresses in the SSRF tests 2026-09-24 00:45:50 +02:00
test_auto_retry.py feat(queue): auto-retry transient failures, resume on shutdown, queue position 2026-09-22 23:48:23 +02:00
test_autopilot.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
test_billing_states.py fix(ci): keep the subscriber-alert rule importable without the stripe SDK 2026-09-16 23:20:21 +02:00
test_camera_inset.py feat(reframe): layout for a screen with the camera composited into a corner 2026-07-31 13:28:45 +02:00
test_cancellation.py feat(cancel): retention offer as the last step, resume from the account page 2026-09-28 19:03:38 +02:00
test_cleanup_live_jobs.py fix(cleanup): never sweep a job that is still queued or running 2026-09-22 20:21:14 +02:00
test_clip_floor.py fix(selection): score every window and enforce the clip floor 2026-09-23 00:27:14 +02:00
test_clip_ready_marker.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00
test_clip_render_order.py feat(queue): auto-retry transient failures, resume on shutdown, queue position 2026-09-22 23:48:23 +02:00
test_clip_selection.py fix(selection): score every window and enforce the clip floor 2026-09-23 00:27:14 +02:00
test_deploy_drain.py fix(gpu): stop jobs from filling the card (CUDA OOM at peak) 2026-09-22 22:42:52 +02:00
test_download_plan.py feat(download): skip the static IPs when the probe already saw them bot-checked 2026-09-30 16:30:04 +02:00
test_edit_builder.py feat: karaoke subtitles, deterministic Auto-Edit v2, emoji hooks, retries (PR #50 block 1) 2026-07-17 21:26:04 +02:00
test_email_policy.py fix(auth): harden MX verification after code review 2026-08-13 10:07:20 +02:00
test_ffmpeg_utils.py perf(pipeline): GPU cut, CPU VAD, cheap blur, hook+captions in one pass, 6 clip workers 2026-09-25 20:28:22 +02:00
test_filename_limits.py fix(clips): precompose accented titles so the file name survives a fetch() 2026-08-24 00:15:08 +02:00
test_frame_sampler.py perf(pipeline): halve a job's CPU with byte-identical clips 2026-09-25 15:40:22 +02:00
test_free_plan_denied.py fix(billing): withdraw free minutes from temp-mail farms and re-registrations 2026-09-23 01:03:05 +02:00
test_free_tools.py fix(tools): tell a caption-less video from a throttled route; AAC audio in 9:16 MP4s 2026-09-23 01:19:20 +02:00
test_gemini_block_split.py test(selection): fix the expected bisect trace 2026-08-27 19:15:36 +02:00
test_gemini_retry.py fix(gemini): distinguir bloqueo de contenido de fallo transitorio 2026-07-24 00:37:14 +02:00
test_gemini_upload_unicode_name.py fix(gemini): upload the source by handle, not by path 2026-09-21 03:56:59 +02:00
test_generation_controls.py fix(selection): score every window and enforce the clip floor 2026-09-23 00:27:14 +02:00
test_hook_grounding.py fix(hooks): ground GENERAL stretches too when the video is a screencast 2026-09-01 02:18:21 +02:00
test_hook_layers.py test(hook): styles contract, bitmap-emoji scaling, layer walk-back 2026-08-19 16:22:38 +02:00
test_hooks.py feat(hooks): "pill" hook style, the new default 2026-09-26 01:34:54 +02:00
test_job_error_text.py test(ci): saltar los tests que importan main/app en el CI mínimo 2026-07-23 11:40:05 +02:00
test_layout_picker.py perf(render): burn the watermark in the reframe encode; read AV1 sources 2026-09-25 19:47:34 +02:00
test_layout_ranges.py feat(layouts): dashboard layout selector, layouts=none, ranges survive a fast recut 2026-08-25 15:45:19 +02:00
test_lifecycle_emails.py feat(funnel): first free video clipped whole, auto-partial instead of the wall, lifecycle emails 2026-09-28 13:05:43 +02:00
test_llm_backend.py feat(llm): run the moment picker on any OpenAI-compatible server (Ollama, vLLM, LM Studio) 2026-09-01 01:34:48 +02:00
test_log_view.py fix(dashboard): real log times, stage progress, cards that use the width 2026-09-26 01:25:57 +02:00
test_mcp_endpoint.py feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel 2026-08-27 01:17:49 +02:00
test_mcp_oauth.py feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel 2026-08-27 01:17:49 +02:00
test_mcp_protocol.py feat(mcp): list_clips renders as an MCP App clip picker in UI-capable clients 2026-08-05 23:59:02 +02:00
test_mcp_stdio.py feat(mcp): stdio transport for hosts that only launch a subprocess 2026-09-07 11:50:39 +02:00
test_mcp_ui.py feat(mcp): list_clips renders as an MCP App clip picker in UI-capable clients 2026-08-05 23:59:02 +02:00
test_media_path_guard.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00
test_metering_free_plan.py feat(abuse): abrir free a email normal + bloquear dominios desechables 2026-07-21 00:45:54 +02:00
test_no_blocking_http_in_async.py fix(api): upload to Upload-Post off the event loop 2026-09-24 00:37:02 +02:00
test_onboarding_survey.py feat(feedback): in-app cancel flow with reason + review, and a sign-up survey 2026-09-28 18:27:00 +02:00
test_openpanel_revenue.py feat(billing): mirror paid invoices, top-ups and refunds into OpenPanel as revenue 2026-09-03 14:16:19 +02:00
test_panel_layout.py fix(panel): a 2x2 grid for three people, not three bands 2026-07-31 14:24:46 +02:00
test_partial_processing.py feat(free-plan): one whole first video per network every 30 days 2026-09-28 13:33:22 +02:00
test_phantom_clips.py fix(jobs): never report a clip that was never rendered 2026-09-07 15:31:08 +02:00
test_probe_anonymous_fallback.py fix(probe): retry the duration probe anonymously before paying per GB 2026-09-09 12:12:45 +02:00
test_probe_noplaylist.py fix(gpu,proxy): release ASR models in the API, probe one video not the playlist 2026-09-17 17:19:57 +02:00
test_probe_plan.py feat(download): skip the static IPs when the probe already saw them bot-checked 2026-09-30 16:30:04 +02:00
test_process_handover.py feat: hand the Thumbnail Studio video and transcript straight to the clip generator 2026-08-20 19:48:13 +02:00
test_proxy_ledger.py fix(alerts): probe the static pool the way the download asks 2026-09-08 11:30:26 +02:00
test_proxy_watch.py feat(alerts): page when the YouTube session cookies stop being recognised 2026-09-30 13:27:09 +02:00
test_proxy_watch_alerts.py fix(alerts): proxy watcher says what is affected, and needs two misses 2026-08-28 01:21:06 +02:00
test_punch_in.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_recut.py fix(recut): virtual_transcript must keep Whisper's word-boundary spaces 2026-08-19 12:22:39 +02:00
test_reframe_endpoint.py fix(reframe): harden PR #70's manual reframing after review 2026-08-19 12:09:02 +02:00
test_reframe_v2.py fix(reframe): a source already shot vertical is passed through untouched 2026-08-29 00:06:15 +02:00
test_rerender_endpoint.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00
test_restoring_static.py fix(videos): restore a project from R2 before answering 404 under /videos 2026-09-06 12:28:38 +02:00
test_scene_cut_reset.py fix(reframe): cut instead of pan when the source changes shot 2026-08-24 20:41:29 +02:00
test_screencast_layout.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_short_source_gate.py fix: reject too-short sources at submit and stop alerts blaming recovered downloads 2026-08-20 22:54:51 +02:00
test_social_tenant_isolation.py harden(social): fail closed when the server cannot resolve the caller's profile 2026-08-21 21:19:44 +02:00
test_source_access.py fix(source): refuse to mint a signed url for a job we cannot identify 2026-08-31 00:14:18 +02:00
test_sparse_speech.py fix(pipeline): clip wordless footage by vision instead of failing on an empty transcript 2026-08-25 01:12:50 +02:00
test_speaker_tracker.py fix(reframe): ignore lone target jumps so the camera stops swinging 2026-07-26 20:59:04 +02:00
test_split_layout.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_ssrf_guard.py test: use documentation-only tailnet addresses in the SSRF tests 2026-09-24 00:45:50 +02:00
test_static_probe_cookies.py fix(alerts): probe the static pool the way the download asks 2026-09-08 11:30:26 +02:00
test_subtitle_metering.py fix(subtitles): stop charging quota for burning captions 2026-07-25 17:16:59 +02:00
test_subtitles.py fix(captions): keep apostrophes out of the burned subtitle path 2026-07-29 15:04:50 +02:00
test_thumbnail_studio.py feat(thumbnail): concept-driven thumbnails, crisp burned text, face frames from the video, scored titles 2026-08-27 10:57:34 +02:00
test_transcribe_backends.py perf(pipeline): GPU cut, CPU VAD, cheap blur, hook+captions in one pass, 6 clip workers 2026-09-25 20:28:22 +02:00
test_transcript_checkpoint.py feat(pipeline): keep the transcript across a redeploy so a resumed job does not transcribe twice 2026-08-24 22:05:40 +02:00
test_translate.py feat: karaoke subtitles, deterministic Auto-Edit v2, emoji hooks, retries (PR #50 block 1) 2026-07-17 21:26:04 +02:00
test_watermark_delivery.py feat(watermark): serve the free-plan mark as a copy, so paying removes it from existing clips 2026-10-01 09:35:53 +02:00
test_youtube_non_video_urls.py fix(proxy): refuse every YouTube URL that is not one video, by allowlist 2026-09-21 03:56:59 +02:00
test_yt_clients.py fix(probe): retry the duration probe anonymously before paying per GB 2026-09-09 12:12:45 +02:00