commit fb3f18d3d29cc1f2369f8f5ac228f29bf0c08f97
parent ad41c56019fcb6ccf3460fa29773e448ebb65dc3
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 2 Nov 2026 23:12:18 -0500
umtool: the bench keeps following a re-take's editor job until it is done; the plan strip draws no empty reading beat; plans: the post videos' dedicated UI
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
3 files changed, 31 insertions(+), 5 deletions(-)
diff --git a/plans/post-videos.md b/plans/post-videos.md
@@ -14,7 +14,7 @@ for this whole post video flow"; for now the videos come first and code waits.
| 2. Select | a date window and which posts belong | `posts reel --since/--until/--own/--replies` | the story / conduct / out classification as a generation task with reasons, reviewed Yes/No on a page (done by hand for mr-obvious: `classified.jsonl`) |
| 3. Storyline | sections in time order, labelled | `timeline section-add`, `deck.sectionTitle` | a storyline draft from the classification (sections + a STORYLINE.md) offered for review |
| 4. Threads | a reply chain as one scrolling card, attachments paused-on and played | lane/post-threads (paused mid-docs: thread items, `posts thread/unthread`, `--threads`) | finish + merge |
-| 5. Narration | a script per post (verbatim; excerpt ≤ ~70 words), Orpheus takes, the attachment muffled under the read then clean | by hand: `narr-demo/mix.sh` + `narrate-all.sh` (ops `tts` orpheus/zac; lowpass 650 Hz ×2 at 0.30, 0.8 s back to clean) | lane/post-narration (paused at the start): `narration` on post items, the mix inside build-video, Play muffling live, re-takes with direction on the narration review, `posts narrate` |
+| 5. Narration | a script per post (VERBATIM, paragraphs kept), the operator's own recorded read (Orpheus takes as timing placeholders), the attachment muffled under the read then clean | lane/post-narration: `narration` on post items (post-narration.mjs), the mix inside build-video (the demo's numbers; levels within 0.2 dB of it), Play muffling live, the post bench's recording session (part by part, teleprompter, Keep → a recorded take, picked), re-takes with direction (the editor's tts op), parts, `posts narrate` (`--import`, `--take`, `--all --draft-scripts`, knobs), `posts fit` (the attachment's best part) | the card following the read on very long posts (scroll/page to the part being read); recording with the muffled attachment in headphones |
| 6. Privacy pass | other accounts blurred | card blur rule (non-subject authors, @mentions) | blur boxes on attachments that are screenshots of other accounts; the capture-posts quoted-author blur |
| 7. Render + trailer | the take, the trailer reel | takes, reels (beat reels, reel bench) | — |
@@ -33,3 +33,25 @@ for this whole post video flow"; for now the videos come first and code waits.
delete that take and its `segs/<id>.mp4`, rerun the script (it keeps everything else).
- Known: a read longer than its clip holds the last frame (the rail freezes with it); the rail does not run on in a
held frame. Fixed properly by the narration lane's in-build mix.
+
+## The dedicated UI (lane/post-narration's plan, 2 Nov)
+
+One page per post video, `/projects/<p>/posts-flow`, a vertical stepper of the seven steps above. Each step
+shows its STATE (counts, what is missing) and its NEXT ACTION as one button; nothing on it is only an agent's.
+It is a view over the writers that exist -- it adds no second way to change the manifest.
+
+| Step | State shown | Next action (the writer it runs) | Exists | To build |
+|---|---|---|---|---|
+| 1. Archive | per channel: posts archived, back to when, captures (media, thread shots, avatars) missing | Fetch older · Capture missing (editor ops `fetch-posts`, `capture-posts` `"avatars": true`) | the ops; `posts avatars` | the per-account archive panel (editor channel page has parts of it) |
+| 2. Select | the date window; posts in it by class (story / conduct / out) with each reason; reviewed Yes / No | Classify (a generation task, `/gen`) · Review (Y/N walk) · Reel (`posts reel`) | `posts reel`; a hand `classified.jsonl` | the classification task + its review page; the reel from the Yes set |
+| 3. Storyline | sections with labels, the posts in each | Draft sections (from the classes, by time) · Edit (`timeline section-add`, deck markers) | the writers; deck markers | a storyline draft task and its review |
+| 4. Threads | runs of replies that should be one card | Thread (`posts thread/unthread`) | lane/post-threads | merge it |
+| 5. Narration | recorded n of N, placeholders, approved; the next post to record | Record (the post bench's session, walking N / P) · Draft scripts · Placeholders (`--all --take`) · Fit (`posts fit --all`) | lane/post-narration (all of it) | the card following the read for long posts; a "record the whole cut" mode that opens on the first unrecorded post and moves on Keep |
+| 6. Privacy | cards: other authors blurred (the rule); attachments: screenshots of other accounts unblurred | Blur box on an attachment (a new `media[i].blur` box, drawn on the post bench like the clip blur) | the card rule | the attachment blur boxes (clip-blur.mjs's shape on post media) |
+| 7. Render | the last take, its length, what changed since | Take (`umtool take --full`) · Trailer (beat reels) | takes, reels | the step's view of them |
+
+Build order: (a) the stepper page reading state only (counts from the manifest + the narration route's
+progress + the archive's channel snapshot), each next action a link to the surface that does it; (b) the
+classification task and its Y/N review (step 2), then the storyline draft (step 3); (c) attachment blur boxes
+(step 6); (d) "record the whole cut" (step 5's walk opening on the first unrecorded post); (e) the card following
+the read. Each is a lane of its own, merged in that order.
diff --git a/umtool/components/projects/PostBench.tsx b/umtool/components/projects/PostBench.tsx
@@ -226,9 +226,11 @@ export default function PostBench({
</div>
{/* The plan, as a strip: the reading span, then each attachment's step. */}
<div className="relative h-6 w-full overflow-hidden rounded bg-[var(--color-panel)] text-[10.5px]" data-post-bench-plan="">
- <div className="absolute inset-y-0 left-0 flex items-center bg-white/10 px-1" style={{ width: `${(plan.reading / total) * 100}%` }}>
- read {plan.reading.toFixed(1)} s
- </div>
+ {plan.reading > 0 && (
+ <div className="absolute inset-y-0 left-0 flex items-center bg-white/10 px-1" style={{ width: `${(plan.reading / total) * 100}%` }}>
+ read {plan.reading.toFixed(1)} s
+ </div>
+ )}
{plan.steps.map((st, k) => (
<div key={k} className="absolute inset-y-0 flex items-center border-l border-black/40 bg-[var(--color-sel)]/25 px-1" style={{ left: `${(st.at / total) * 100}%`, width: `${(st.seconds / total) * 100}%` }} data-post-bench-step={st.kind}>
{st.kind} {st.seconds.toFixed(1)} s
diff --git a/umtool/components/projects/PostNarrationPanel.tsx b/umtool/components/projects/PostNarrationPanel.tsx
@@ -271,7 +271,7 @@ export default function PostNarrationPanel({
// ---- a re-take with direction (the editor's tts op) --------------------------
const [dir, setDir] = useState({ note: "", voice: "", speed: "" });
- const [job, setJob] = useState<{ id: string; file: string; note: string; script: string; state: string; error?: string } | null>(null);
+ const [job, setJob] = useState<{ id: string; file: string; note: string; script: string; state: string; error?: string; polls?: number } | null>(null);
const retake = async () => {
const j = await post({ op: "take", note: dir.note || undefined, voice: dir.voice || undefined, speed: dir.speed ? Number(dir.speed) : undefined, script });
if (j?.jobId && j.file) setJob({ id: j.jobId, file: j.file, note: dir.note, script, state: "running" });
@@ -287,6 +287,8 @@ export default function PostNarrationPanel({
setStatus(`new take ${job.file} (picked)`);
window.location.reload();
} else if (j.state === "failed" || !r.ok) setJob({ ...job, state: "failed", error: j.error ?? `HTTP ${r.status}` });
+ // Still queued or running on the editor: ask again.
+ else setJob({ ...job, polls: (job.polls ?? 0) + 1 });
}, 1500);
return () => clearTimeout(t);
}, [job, project, entry.id]);