Skip to content

The swiss army knife of lossless video/audio editing

AGENTS.md: remind to post about a new visual feature when it lands in master, pointing to the nightly build

Claudedc498e97b293
diff --git a/AGENTS.md b/AGENTS.md
index 534e163c..d20347da 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -14,7 +14,7 @@ Changelog: `--settings-json` is now validated; invalid input is logged and ignor
When preparing a release, run `yarn release-notes` to collect these since the last tag, and use them to write `versions/<version>.md` (shown in the app's What's New dialog) and the GitHub release notes.
-If a commit adds a visual or especially interesting feature (one that's easy to show in a screenshot or a few seconds of video), tell the user it could be worth its own social media post once it's released (see [Release announcement](#release-announcement)).
+If a commit adds a visual or especially interesting feature (one that's easy to show in a screenshot or a few seconds of video), remind the user, once it's merged to master, to post about it (see [Feature post](#feature-post)).
## Features list
@@ -34,6 +34,14 @@ The stores lag behind GitHub releases, so their "What's new" text must cover eve
- Microsoft Store: max 1500 characters. Mac App Store: max 4000 characters.
- Write them to `store-release-notes/mas-<version>.txt` and `store-release-notes/msstore-<version>.txt`, where `script/storeRelease.ts` reads them, and ask the user to review them before committing. Only run the script with `--prepare` or `--submit` (or the Store release workflow with "submit") after the user approves the text and the dry-run output.
+## Feature post
+
+When a visual or especially interesting feature lands in master, suggest a short post about just that feature, on the same channels and with the same rules as the [Release announcement](#release-announcement):
+
+- Ask the user to make a screenshot or a short silent screen recording (about 10 seconds) that shows it.
+- Say that people can try it now in the latest nightly build (https://mifi.no/llc/nightly/), and that it will be in the next release.
+- Such a clip can also become the homepage's demo (`website/src/assets/home/demo.mp4`, shown in the hero instead of the screenshot).
+
## Release announcement
After a GitHub release is published, draft one post per channel from `versions/<version>.md` and the release link, and show them to the user before posting:
@@ -50,7 +58,6 @@ After a GitHub release is published, draft one post per channel from `versions/<
- Plain text, no issue references. The link counts toward the limit (on X and Mastodon as 23 chars). A patch release that only fixes one platform can be a single line.
- Hashtags go at the end, in CamelCase (readable for screen readers), and count toward the limit. They matter most on Mastodon, which has no recommendation algorithm, so people find posts by following hashtags: use 3–4, e.g. `#LosslessCut #FFmpeg #VideoEditing #OpenSource`. Bluesky: 1–2 (`#LosslessCut #OpenSource`). Instagram: 3–5. X: at most `#LosslessCut`. Discord: none.
- Post to all channels by default.
-- If the release has a visual or especially interesting feature, also suggest a separate short post about just that feature, with a screenshot or a short silent screen recording (about 10 seconds) that shows it. Ask the user to make the recording. Such a clip can also become the homepage's demo (`website/src/assets/home/demo.mp4`, shown in the hero instead of the screenshot).
- Attach an image made with `node script/releaseImage.ts <version> [--bg photo.jpg] [--position top|bottom|left|right|center] [--caption "..."] [--square] "highlight 1" "highlight 2" "highlight 3"` (1600×900 PNG in `dist/`, or 1080×1080 with `--square`, e.g. for Instagram). Ask the user for a recent photo of theirs to use as the background (optional) and a short caption for it (where/what, shown small in the corner). The photo is cropped to keep its most interesting part; look at the result, and if the subject is cut off (e.g. a portrait photo) or hidden behind the text, try `--position` (top/bottom for a portrait photo, left/right for a wide one). Keep highlights short so they fit on one line. Never commit the photo or the image. Add alt text, e.g. "LosslessCut 3.70.1: <highlights>".
- Phone photos are often HEIC: convert with `sips -s format jpeg photo.HEIC --out photo.jpg` (sharp can't read HEIC). Files in `~/Downloads` may not be readable from the shell (macOS privacy protection); ask the user to move the photo to the Desktop.
- `--position` only moves the crop along the axis that gets cut, so a 4:3 photo in the 16:9 image can only move up/down. If the subject still ends up behind the text, crop the photo first (e.g. with sharp's `extract`) so the subject sits in the right half.