docs(skills): record-browser-gif — assets-branch publishing + mandatory GUI-PR gifs

Every PR that changes product-user-visible GUI behavior now includes a
demonstration GIF with real provenance (that branch's built tree, real
key, real model rounds). Recording stays side-effect-free; the skill
gains a bounded final publication step: GIFs go on an append-only
orphan assets branch (one per PR series) and embed via the blob URL
with ?raw=true, never on the PR branch itself.

Folds in the operational lessons from the Code Mode UI series:
.playwright-mcp/ screenshot roots (now gitignored), per-PR staging and
precise server teardown, one-call DOM polling for transient states,
exact-text completion predicates, prompt engineering for UI states,
and the export-before-invoke GIF_SKILL_DIR encoder pitfall.

Agent Note: implemented/process/2026-07-26-gui-pr-gif-evidence-and-assets-branch (+ zh pair); the 2026-07-23 recording note now defers publication policy to it.
This commit is contained in:
Tianyi Cui
2026-07-26 23:21:44 +08:00
parent 7c038f275d
commit 8ceb638bb5
8 changed files with 154 additions and 22 deletions
+1
View File
@@ -28,3 +28,4 @@ python/**/__pycache__/
python/**/.pytest_cache/
apps/web/dist/
.artifacts/
.playwright-mcp/