style-gate

The online VERIFY half of the style-replication loop — the first-span-feedback discipline with a different oracle (match against the Group C exemplar corpus in references/targets.json) and a different

SKILL.md

GitHub

style-gate

bash .claude/skills/style-gate/style-gate.sh <work_id> <clip_stem> <saved_mp4> [--pane <p>]

Emits work/<id>/<stem>.style.json (the match verdict: checked fields, mismatches ranked by |z| each with lever + direction, diagnostic rows) and, on an accepted move, work/<id>/style.env (the knob overrides spans 1..N inherit) + a references/accepted.jsonl record.

Env: STYLE_GATE (1; hard no-op without references/targets.json), SG_Z (1.5), SG_MAX_ITERS (1), SG_MAX_MOVES (2), SG_MIN_REFS (3), SG_RERENDER_CMD (entrypoint-owned), STYLE_REFS (default references/). Vision is off for gate profiling (PROFILE_VISION=0 internally) — the gate only scores deterministic levered fields, so it needs no model call.