Repository navigation
docs: NeMo-Speech.cpp v0.1.0 live STT feasibility spike (#845) - #850
Conversation
… Fork: Fork: Fork: Solenta guardrail deny/ask interception (c
Throwaway spike only: macOS arm64 Metal live gates passed; Linux/Windows live RTF remain not-proven. Report plus spike/speech helpers, no product code.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f269958802
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (wtPath) { | ||
| const args = forceRemove | ||
| ? ["worktree", "remove", "--force", wtPath] | ||
| : ["worktree", "remove", wtPath]; | ||
| const rem = gitTry(project.path, args); | ||
| if (!rem.ok) { | ||
| throw new Error( | ||
| `Failed to remove worktree: ${rem.combined.split("\n")[0]}`, | ||
| ); | ||
| if (fs.existsSync(wtPath)) { |
There was a problem hiding this comment.
Bypass the missing cwd before the non-force preflight
When a user clicks “Delete worktree” after the directory has already disappeared, the UI first calls removeWorktree(false), whose non-force path runs gitOut(wtPath, ["status", ...]) before reaching this new existence check. Because the missing path is used as the command cwd, that call throws, this branch never runs, and the stale worktreePath and branch fields remain. Handle the missing-directory case before the non-force status inspection so the normal UI action can perform the intended cleanup.
Useful? React with 👍 / 👎.
| ) & | ||
| echo $! > "$OUT/rss.pid" | ||
|
|
||
| echo "waiting for /ready" | ||
| for i in $(seq 1 180); do |
There was a problem hiding this comment.
Reset the per-run RSS data before appending samples
When this script is rerun with the default cache, rss.csv already exists and every new sample is appended to it; the final calculation then scans the entire accumulated file. Consequently, the reported peak and sample count include earlier runs and can silently invalidate the current run's memory gate. Truncate the file before starting the sampler or use a run-specific output directory.
Useful? React with 👍 / 👎.
| pid=$(cat "$OUT/serve.pid") | ||
| echo "serve pid $pid port $PORT" | ||
|
|
||
| ( | ||
| while kill -0 "$pid" 2>/dev/null; do |
There was a problem hiding this comment.
Stop the sidecar and sampler on every script exit
After the server and RSS sampler are backgrounded, neither the successful path nor a set -e failure kills them. Running the spike therefore leaves nemo-speech occupying the port and the sampler continually appending to rss.csv, so a subsequent run can fail or probe the previous server. Install an exit trap after capturing the PIDs to terminate both processes.
Useful? React with 👍 / 👎.
Throwaway feasibility spike for live speech-to-text (#845). Not product code. Do not merge as a shipping feature.
Verdict: PARTIAL
macOS arm64 / Metal live gates passed on this machine:
sandbox-execdeny-networkLinux x64 CPU and Windows x64 CPU live RTF are not proven here (QEMU SIGILL; cannot run PE32+). Follow-up on this PR: native
ubuntu-latest/windows-latestdoctor + websocket turn + RTF/RSS.Contents
docs/superpowers/plans/2026-09-03-live-speech-to-text-feasibility.mdspike/speech/helpers (live websocket client, macOS runner, linux qemu smoke)Design notes for later product PRs
deltaevents are incremental suffixes; concatenate, replace the composer range only oncompleted.transcript--read-timeout/--write-timeoutabove 30 sbin/DLL setd9a01898d2a611c8764e23a1c2f45e70bbd5a425dc4de93692ac951dd603812d