refactor: land reviewed architecture cleanup stack - #415
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 4, 2026, 11:53 PM ET / September 5, 2026, 03:53 UTC. ClawSweeper reviewWhat this changesConsolidates content parsing, transcript-source validation, slide ingestion, and test fixtures while removing unused daemon-chat and browser-media code. Merge readiness✅ Ready for maintainer review This remains a useful integration PR: main and the latest release still contain the cache-source defect, and the constituent changes remain unmerged. No actionable correctness or security findings were identified. Priority: P3 Review scores
Verification
How this fits togetherSummarize extracts text, transcripts, and slides from URLs and local files for its CLI and browser extension. These changes consolidate the extraction and caching paths and the fixtures used to test their consumers. flowchart TD
A[URLs and local files] --> B[Core content parsers]
B --> C[Transcript cache]
B --> E[CLI and extension output]
C --> E
A --> D[Slide ingestion]
D --> E
F[Test scenarios] --> G[Shared test fixtures]
G --> E
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Retain one implementation per workflow and preserve the three reviewed stack commits through the requested merge-commit landing. Do we have a high-confidence way to reproduce the issue? Yes for the included cache defect: main rejects existing embedded and youtube-media source values during cache reads. This is established from source, without executing a reproduction. Is this the best way to solve the issue? Yes. Shared implementations remove duplication while preserving current routing and fallback behavior; the cache repair changes readers without requiring a stored-data migration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6e20e4493ffa. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Land the reviewed architecture cleanup stack
Integrate the reviewed code from #412, #413, and #414 without changing their tested tree. This PR targets main because the local GitHub wrapper does not support retargeting an existing PR. Its supported checked-head squash merge preserves the code; the constituent PRs retain their review history and will be closed with links to this integration.
The combined changes remove copied stream/browser test lifecycles, no-op DOM cleanup, duplicate YouTube parsers, the unreachable daemon chat pipeline, unused browser media adapters, and repeated slide ingestion. Core now owns the transcript-source inventory, fixing lost embedded-caption and native YouTube source diagnostics on cache hits.
Compared with current main, this removes 2,547 lines overall and 600 production lines. The already-landed panel state cleanup is #411 and is not duplicated here.
Proof
The original PRs will be closed as superseded after verifying that main matches their combined tree exactly. No release or dependency changes.