Repository navigation
docs(research): T&F masterplan map, MultiStrat reality, VSS overlap, playlist connects - #3408
Conversation
…playlist connects Read-only review of PMOVES-transcribe-and-fetch/masterplan (all files) plus backend/app and the pipecat transcribe agent, PMOVES-Spark-VSS, and the playlist analyses. Key findings: "MultiStrat" is not a named artifact; the profile-autotuned segmenter lives in PMOVES.YT yt.py:4223; T&F has no CLIP/CLAP/YOLO; PLILCsWKAOQGPFmCLBsln1VWvPJ6tsds5v is a base64 false positive and does not exist on YouTube; the ai playlist is 2,597 (not ~500). Adds a 15-row stage -> PMOVES service -> gap connection table. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017oHemHvBnpLq5k6PwpTxvk
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1
Please check the settings in the CodeRabbit UI or the
|
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 0 files / / digest Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
|
|
||
| ## 0. Headline findings (read these first) | ||
|
|
||
| 1. **"MultiStrat" is not a named artifact anywhere in the tree.** A case-insensitive search for `multistrat|multi-strat|multi_strat|MultiStrategy|multi_strategy` across every submodule (`*.md,*.py,*.yaml,*.json,*.ts`, excluding `node_modules`) hits only unrelated text: hermes memory plugins, a KVM upload doc, the composio toolkit catalog, and the claim at `pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md:3410`, which names "MultiStrat (PMOVES-transcribe-and-fetch)" as something to reuse. **T&F has no file, class or doc with that name.** |
There was a problem hiding this comment.
🔥 The Roast: A research doc whose entire currency is file:line citations — and finding #1, the myth-buster itself — cites AGNOTE4482PHI.t1.md:3410 for a "MultiStrat (PMOVES-transcribe-and-fetch)" claim that the register does not contain. Line 3410 at this HEAD is a fix/secrets-sync-windows-path CLAIM about WSL path mangling. A case-insensitive search over the full register (3,507 lines) finds zero hits for multistrat, and the repo-wide hit list for that string does not include the register at all. So the debunk of a phantom artifact rests on a phantom citation. We have transcended irony and entered performance art.
🩹 The Fix: The register has been through hygiene lanes recently (e.g. PR #3370), so the entry may have been reworded or dispersed. Re-locate the actual "MultiStrat (PMOVES-transcribe-and-fetch)" line and cite its current coordinates — or drop the pointer and state the register no longer carries it, which only strengthens the finding.
📏 Severity: warning
|
|
||
| 1. **"MultiStrat" is not a named artifact anywhere in the tree.** A case-insensitive search for `multistrat|multi-strat|multi_strat|MultiStrategy|multi_strategy` across every submodule (`*.md,*.py,*.yaml,*.json,*.ts`, excluding `node_modules`) hits only unrelated text: hermes memory plugins, a KVM upload doc, the composio toolkit catalog, and the claim at `pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md:3410`, which names "MultiStrat (PMOVES-transcribe-and-fetch)" as something to reuse. **T&F has no file, class or doc with that name.** | ||
| 2. **T&F has no CLIP, CLAP or YOLO code.** Its Python (excluding vendored docs, `node_modules` and `.venv`) has zero hits for `open_clip|CLIPModel|clip_model`, `clap` and `yolo`. Its multimodal surface is: yt-dlp download with ffmpeg postprocessors, faster-whisper/Groq/OpenAI/Deepgram ASR, crawl4ai/Jina web fetch, and LLM vision calls (GPT-4o / Claude / Gemini) in a Pipecat `MultimodalAgent` (§1). | ||
| 3. **The connected multi-strategy segmentation the operator is describing does exist, but it is in `PMOVES.YT`, not T&F.** `PMOVES.YT/pmoves_yt_service/yt.py:4223-4292` (`_auto_tune_segment_params`) classifies each transcript as `talk`, `dialogue`, `lyrics` or `talk-long` and retunes the chunker per profile. `/yt/emit` wires it in (`yt.py:4812-4827`) with a three-step fallback. The CLIP, CLAP, YOLO/DETR and ffmpeg stages exist as **PMOVES services** (`pmoves/services/{clip-embed,clap-embed,media-video,media-audio,ffmpeg-whisper}`), not in T&F. §2 maps what "MultiStrat" plausibly refers to. |
There was a problem hiding this comment.
🔥 The Roast: "§2 maps what 'MultiStrat' plausibly refers to" — there is no §2. The doc's own sections are letters, (a) through (e); the MultiStrat table lives in (b). Sending readers to a section number the doc never defines is a scavenger hunt with no treasure at the end.
🩹 The Fix:
`/yt/emit` wires it in (`yt.py:4812-4827`) with a three-step fallback. The CLIP, CLAP, YOLO/DETR and ffmpeg stages exist as **PMOVES services** (`pmoves/services/{clip-embed,clap-embed,media-video,media-audio,ffmpeg-whisper}`), not in T&F. §(b) maps what "MultiStrat" plausibly refers to.
📏 Severity: nitpick
| - science/state of the day `PLGupOT04oMfo7yNvvFwr-VJy4e8kd0AnX` (164) | ||
| - science/nutrition health `PLGupOT04oMfrW5VE9CqsVP7K2h3pNECsZ` (157) | ||
| - sustainable energy `PLGupOT04oMfrXornVDWe5LaAv00B1NBgx` (124) | ||
| - 3d print, history, electrical, space, housing, recipes, "hoocho build list", "hy" |
There was a problem hiding this comment.
🔥 The Roast: This line attributes "3d print, history, electrical, space, housing, recipes, 'hoocho build list', 'hy'" to the 2026-09-03 inventory (KILOCLAW_...:120-127), but that inventory lists only 3d print 68, science/history 71, electrical 25 (plus the Creative row: Art 11, Content 9, Rap 6, tf 5, Mk 22, cattracks 2). No space, housing, recipes, "hoocho build list" or "hy" in the cited span — those names appear nowhere in the cited file. Half this bullet is cited evidence, half is orphaned. It's a citation with a plus-one it didn't RSVP.
🩹 The Fix: Tag the five unattested names as coming from the live listing (with the 2026-10-21 date) or mark them [UNVERIFIED] in-repo, keeping KILOCLAW_...:120-127 as the source only for the sizes it actually carries (273/226/164/157/124, 3d print 68, history 71, electrical 25).
📏 Severity: suggestion
| | 3 | ASR with timestamps (T&F `transcribe1.py:422-470`) | **ffmpeg-whisper** `/transcribe` (`pmoves/services/ffmpeg-whisper/server.py:688`), called by pmoves-yt `/yt/transcript` (`yt.py:2661-2783`) | none functionally. T&F's VAD tuning (`min_silence 500ms`, `pad 200ms`) is a candidate default for ffmpeg-whisper **[UNVERIFIED whether it already sets VAD]** | | ||
| | 4 | Diarization / emotion / acoustic features (T&F designed: `speakers`) | **media-audio** `/analyze`, `/process` (`server.py:520-526`) → `analysis.audio.v1` (`analysis_event.py:1-22`) | media-audio output is not merged into M1 chunks (no speaker or emotion on Hi-RAG chunks) | | ||
| | 5 | Transcript → chunks (M1 / T&F segments) | **pmoves-yt** `/yt/emit` M1 segmenter (`yt.py:4812-4827`) | **The M1 profile is not stamped onto the chunk payload** (`payload` = `source`, `t_start`, `t_end` only, `:4196`), so retrieval can't filter by profile. The text-path fallback `_segment_transcript` has no time anchors (`:4120-4127`) | | ||
| | 6 | Generic text chunking (crawl4ai extraction; notebook text) | **langextract** `/extract/text` (`pmoves/services/langextract/api.py:39`) via **notebook-sync** (`pmoves/services/notebook-sync/sync.py:116-142`) | `rule.py:17-48` has **no length cap**, which causes the 8191-token clipping flagged at `AGNOTE4482PHI.t1.md:3410`. **Reuse M1's `min_chars`/`max_chars` budgets** here instead of inventing a new chunker | |
There was a problem hiding this comment.
🔥 The Roast: Same stale AGNOTE4482PHI.t1.md:3410 pointer as headline finding 1 — and this one doubles down, claiming the "8191-token clipping" was flagged there. A search of the register (3,507 lines) and the repo for 8191/8,191 in any chunking context finds nothing; line 3410 is the fix/secrets-sync-windows-path claim. The flagged-lane citation is chasing a ghost.
🩹 The Fix: Find the register line (or PR/comment) that actually discusses the 8191-token clip and cite its current location, or restate the evidence you can pin (e.g. the em-dash: the rule.py:17-48 no-cap behavior is verifiably real — anchor the gap to that instead).
📏 Severity: suggestion
| ### Simple connects (cheapest first; each reuses an existing service) | ||
|
|
||
| 1. **Stamp the M1 `profile` onto each chunk payload** in `/yt/emit`. This is a one-line change at `yt.py:4196`. | ||
| 2. **Point langextract's rule provider at M1's char budgets** to close the 8191-token clip (lane `fix/ingest-chunk-cap-multistrat`, `AGNOTE4482PHI.t1.md:3410`). |
There was a problem hiding this comment.
🔥 The Roast: Connect #2 cites lane fix/ingest-chunk-cap-multistrat at AGNOTE4482PHI.t1.md:3410 — but no lane with that name exists anywhere in the repo, and line 3410 is the WSL secrets-sync claim. A recommended action pointing at a lane named after the very artifact this doc proves never existed... that's the ouroboros of citations.
🩹 The Fix: Verify the lane name in the register (it may have been renamed or disposed during register hygiene). Cite the current claim line for the chunk-cap work, or re-anchor the connect to the verifiable rule.py:17-48 no-cap finding alone.
📏 Severity: suggestion
Code Review Roast 🔥Verdict: 5 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)
🏆 Best part: The bulk of the citations check out shockingly well — I verified ~25 of them against the worktree ( 💀 Worst part: The doc's centrepiece — the "MultiStrat was never real" finding — leans on a citation that is itself not real. When your debunk of a phantom artifact cites a phantom register line, the myth gains structural integrity it didn't earn. The register was recently re-hygenied (PR #3370), so the entry may have moved or been reworded; re-locate it or drop the pointer. 📊 Overall: Like fact-checking a conspiracy documentary and finding that 90% of the footnotes hold — including the one that says the moon landing was staged. The evidence is real; the frame around the headline claim isn't. Review scope note: The three cited submodules are uninitialized in this review checkout (gitlinks confirmed matching the doc's pins at HEAD Files Reviewed (1 file)
Reviewed by glm-5.3-flash · Input: 117.4K · Output: 41.9K · Cached: 6M |
ORGSIM-MIRROR drift check (advisory, fail-soft)vv3 / 7 files / VERIFIED 99 / UNDECIDED 61 / digest c2e10103dff8 Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py |
… + bare cites -> cite-by-identity form
Summary
Read-only review for lane L4
docs/tf-masterplan-playlist-review(spark-claude). Adds one doc:pmoves/docs/research/TF_MASTERPLAN_AND_PLAYLIST_MAP_2026-10-21.md. Earlier reviews ofPMOVES-transcribe-and-fetchskipped itsmasterplan/folder. This doc covers it.Findings
pmoves_yt_service/yt.py:4223-4292, wired in/yt/emitat:4812-4827), not in T&F.clip-embed,clap-embed,media-video,media-audio,ffmpeg-whisper). clip-embed and clap-embed have no in-repo callers.psearchworking.py:1384/1412/1440). The source labels are assigned client-side afterwards.chunk_duration=30is never read. Its/api/transcriptionstarget has no route in the backend.aiPLGupOT04oMfok7S8W8Js7lZZIlhM8ufc8= 2,597 (live, 2026-10-21; not ~500).PMOVES.AIPLa64xecRY4d0= 1,146.PLILCsWKAOQGPFmCLBsln1VWvPJ6tsds5vis a base64-blob false positive and does not exist on YouTube.Method / safety
:8097/api/monitor/{channels,stats}andyt-dlp --flat-playlistmetadata only, the path.claude/skills/pmoves-yt/SKILL.mddocuments.python3 pmoves/tools/validate_command_anchors.py --jsongives the same result before and after:total 445, new [].🤖 Generated with Claude Code
https://claude.ai/code/session_017oHemHvBnpLq5k6PwpTxvk