mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
raea-app-ask. prepare.rs reads what raea knows of the piece before it spends: what the file holds, the nearest brief.ts (through raea spec) and a words file. A question that doesn't apply is dropped or swapped with why (a silent piece asks sound-silent in place of sound); not knowing whether anyone speaks, both variants go in one call with the voice question, and the answer sets the other aside. runner.rs plans a batch into calls (by file, window, files beside it and what the questions look at, 64 a call), cuts each clip once, calls in parallel (--jobs), streams the answers, and when the pool is spent partway keeps what came and reports the rest as waiting. record.rs keeps every call and answer under ~/.raea/ask with the clips it cut, by hash, at most 2 GB. verbs.rs is raea ask: own words (--choose, --grade, --rate, --flag), the standard sets (--set, --std, ask list), windows (--from, --to, --at), --with, --batch (a JSON list or lines, - for stdin), --dry, --json and --gate for pipelines. sdk/raea's raea/ask gives scripts ask and askMany over raea ask --batch --json. The clef client's failures are typed so a spent pool waits rather than fails; decide.changed needs files beside it. The manual's CLI and SDK pages are written with it; AK1, AK1b, AK2 and AK3 are done in docs/ask.feature.