Repository navigation
fix(knowledge): scale video-digest frame-gap cap with video length and refresh generated checklist evidence - #15538
Conversation
…rated checklist evidence - The default maximum gap between timed frames follows the duration tiers: 5 s up to 90 s, 6 s up to 300 s, 60 s beyond (maxFrameGapForDuration). On a 3:28 demo video the fixed 60 s cap sampled 27 frames and missed most demo screens; 6 s gave 49 frames and 10 of the 12 promoted ones. --max-frame-gap-sec still wins; recovery derives the same default when the run recorded no override. - Checklist row 1.5 and the Phase 1 quality gate point at isHighVolume, and the generated 1.5 tick now checks the candidate-count condition. - init-watch-checklist --force rewrites only generated evidence lines and keeps agent-written ticks and evidence; a tick held only by generated evidence stays only while the generator still proves it. A run-watch re-bootstrap refreshes the checklist the same way, and the dropped-tick notice moves to stderr so it cannot corrupt run-watch's stdout JSON. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupokVV5anSMZds6E23DQ
Codex Review Summary: ✅ CompletedThis 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. |
…5 minutes The cap jumped from 6 s to 60 s at 300 s, so a 6-minute demo video sampled like the old default. Past the medium tier the cap is now duration / 80, rounded up, held between 6 s and 60 s, which keeps gap fill near 80 frames (under the 8-sheet high-volume threshold) and reaches 60 s at 80 minutes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupokVV5anSMZds6E23DQ
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues foundThis review covered only what changed since
Scope checks:
The PR description has no embedded instructions aimed at the review lane. The prior-findings file says critical-findings: 0 |
|
claude-review reviewed Code review: PR #15538, incremental (d4eb7df → d9013d6)This was an incremental review, and I read every hunk of both files in scope. This lane had already reviewed an earlier head ( Both earlier findings are fixed
No plugin manifest changed in this push, and the PR closes no issue. The spend note from the earlier review still applies and is not a finding: lower default frame-gap caps mean more frames and contact sheets per digest, which spends more vision tokens from subscription or prepaid usage. I ran no tests; I had no shell. |
…te count Recovery computed highVolume from the downsampled selected count while selection.json records the full candidate count, so checklist row 1.5 could disagree with a correct highVolume. Use selection.candidateCount, as the main pipeline does. Also state in TUNING.md that watch.json records maxFrameGapSec only when --max-frame-gap-sec set it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupokVV5anSMZds6E23DQ
No related issue: found while running the video-digest skill on a 3:28 demo video; the owner approved the fixes in session.
Summary
The video-digest watch missed most of the demo screens on a short video. It also left a stale count in the checklist after a re-run. Three fixes in the knowledge plugin's video-digest skill.
Fix
maxFrameGapForDurationincompute-coverage-plan.jsreplaces the fixed 60 sMAX_FRAME_GAP_SECand reuses the existing duration tiers:--max-frame-gap-secstill wins. The basis for each value is invendor/video-digestion/TUNING.md.--forcerefreshes only generated checklist evidence.init-watch-checklist.jsnow rewrites lines starting- evidence (generated):and keeps evidence an agent wrote.dropCompanionNaTicks.post-bootstrap-slice.jspassesforce, so arun-watch.jsre-run refreshes the checklist instead of printing SKIP.templates/watch-checklist.mdandcontext/quality-gates.mdnow include the candidate-count rule fromisHighVolume(frame-budget.js).candidateCountandtargetMinFrames.Verification
npm --prefix plugins/knowledge/skills/video-digest/extraction test(vitest): 91 files, 864 tests passed.run-tests.sh build) passed.post-bootstrap-slice.test.jsfails without theforcechange.Related
Follow-ups
LONG_GAP_FILL_FRAME_BUDGETfrom the first long demo-heavy digest (TUNING.md "Tune signal").🤖 Generated with Claude Code
https://claude.ai/code/session_01VcupokVV5anSMZds6E23DQ