Skip to content

docs(research): T&F masterplan map, MultiStrat reality, VSS overlap, playlist connects - #3408

Merged
POWERFULMOVES merged 2 commits into
mainfrom
docs/tf-masterplan-playlist-review
Oct 24, 2026
Merged

POWERFULMOVES merged 2 commits into
mainfrom
docs/tf-masterplan-playlist-review

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

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 of PMOVES-transcribe-and-fetch skipped its masterplan/ folder. This doc covers it.

Findings

  • "MultiStrat" is not a named artifact anywhere. The profile-autotuned multi-strategy segmenter (talk / dialogue / lyrics / talk-long) is in PMOVES.YT (pmoves_yt_service/yt.py:4223-4292, wired in /yt/emit at :4812-4827), not in T&F.
  • T&F has no CLIP, CLAP or YOLO code. Those stages exist as PMOVES services (clip-embed, clap-embed, media-video, media-audio, ffmpeg-whisper). clip-embed and clap-embed have no in-repo callers.
  • T&F's "three-tier" search calls one RPC three times (psearchworking.py:1384/1412/1440). The source labels are assigned client-side afterwards.
  • The Pipecat TranscribeAgent's chunk_duration=30 is never read. Its /api/transcriptions target has no route in the backend.
  • Playlists:
    • ai PLGupOT04oMfok7S8W8Js7lZZIlhM8ufc8 = 2,597 (live, 2026-10-21; not ~500).
    • PMOVES.AI PLa64xecRY4d0 = 1,146.
    • PLILCsWKAOQGPFmCLBsln1VWvPJ6tsds5v is a base64-blob false positive and does not exist on YouTube.
    • The third playlist is unresolved; the channel's other playlists are listed in the doc.
  • VSS overlap: the one capability PMOVES lacks is VSS's per-chunk VLM captioning (with CA-RAG over the captions). Everything else VSS does overlaps services PMOVES already runs.
  • A 15-row connection table maps each stage to the existing PMOVES service and its gap, followed by six cheapest connects.

Method / safety

  • No ingest and no service starts. No env-file reads and no container env reads.
  • Live reads were GET :8097/api/monitor/{channels,stats} and yt-dlp --flat-playlist metadata only, the path .claude/skills/pmoves-yt/SKILL.md documents.
  • python3 pmoves/tools/validate_command_anchors.py --json gives the same result before and after: total 445, new [].

🤖 Generated with Claude Code

https://claude.ai/code/session_017oHemHvBnpLq5k6PwpTxvk

…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
@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1
  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

ORGSIM-MIRROR drift check (advisory, fail-soft)

vv3 / 0 files / / digest

Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py

@github-actions github-actions Bot added the docs Documentation label Oct 21, 2026

## 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.**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 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"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 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 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 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`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 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

@kilo-code-bot

kilo-code-bot Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Roast 🔥

Verdict: 5 Issues Found | Recommendation: Address before merge

Overview

Severity Count
🚨 critical 0
⚠️ warning 1
💡 suggestion 3
🤏 nitpick 1
Issue Details (click to expand)
File Line Roast
pmoves/docs/research/TF_MASTERPLAN_AND_PLAYLIST_MAP_2026-10-21.md 20 The myth-buster finding cites AGNOTE4482PHI.t1.md:3410 for a "MultiStrat" claim the register does not contain — line 3410 is a WSL secrets-sync claim; zero multistrat hits in all 3,507 register lines
pmoves/docs/research/TF_MASTERPLAN_AND_PLAYLIST_MAP_2026-10-21.md 22 Points readers to "§2", a section number this doc does not have (sections are (a)–(e); the table lives in (b))
pmoves/docs/research/TF_MASTERPLAN_AND_PLAYLIST_MAP_2026-10-21.md 197 Attributes "space, housing, recipes, hoocho build list, hy" playlist names to KILOCLAW_...:120-127, but that span lists only 3d print 68 / history 71 / electrical 25 — five names have no in-repo source
pmoves/docs/research/TF_MASTERPLAN_AND_PLAYLIST_MAP_2026-10-21.md 213 Re-cites the phantom :3410 and adds an unverifiable "8191-token clipping flagged" claim — no 8191 mention exists in the repo in any chunking context
pmoves/docs/research/TF_MASTERPLAN_AND_PLAYLIST_MAP_2026-10-21.md 227 Connect #2 cites lane fix/ingest-chunk-cap-multistrat at :3410 — the lane name doesn't exist anywhere in the repo, and it's named after the artifact this doc proves never existed

🏆 Best part: The bulk of the citations check out shockingly well — I verified ~25 of them against the worktree (channel_monitor.json:4-9, the base64-blob false-positive playlist in all three cited copies, rule.py:17-48 no-cap chunker, agent_registry :2805-2829 passive T&F entry, SKILL.md :21-35/:77, the playlist snapshot lineage 2,028→2,234→2,388, the gitlink pins — all present and accurate). For a one-day research dump, that hit rate is genuinely impressive. I need to sit down.

💀 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 d30cae02), so the ~60 in-submodule file:line citations (T&F, PMOVES.YT, VSS) were spot-checked only structurally; all superproject-file citations were verified directly. Fix these issues in Kilo Cloud

Files Reviewed (1 file)
  • pmoves/docs/research/TF_MASTERPLAN_AND_PLAYLIST_MAP_2026-10-21.md - 5 issues

Reviewed by glm-5.3-flash · Input: 117.4K · Output: 41.9K · Cached: 6M

@github-actions

Copy link
Copy Markdown
Contributor

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

@POWERFULMOVES
POWERFULMOVES merged commit 517840d into main Oct 24, 2026
27 checks passed
@POWERFULMOVES
POWERFULMOVES deleted the docs/tf-masterplan-playlist-review branch October 24, 2026 12:18
POWERFULMOVES added a commit that referenced this pull request Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant