Skip to content

feat(knowledge): pre-tick CLI-proven video-digest checklist rows and mark Phase 0b n a without a brief - #10803

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-6831-40790104686-1
Oct 29, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-6831-40790104686-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #6831

Summary

Opened by the work-resolve-issue lane. The run's own summary:

init-watch-checklist.js now ticks the watch checklist rows it can prove from watch.json and selection.json, and writes an evidence line under each one. Those rows are 1.1, 1.3, 1.5 and 1.6, plus 1.4 when the tempSession directories exist on disk. Rows 0.1-0.4 and 1.2 stay hand-ticked. When source/companion-sources.md is absent, the Phase 0b rows arrive ticked as n/a with an evidence line naming the missing file. That n/a state is recomputed on every run, so a rerun after the brief appears drops those ticks while the other ticks are kept as before. This follows the owner decisions of 2026-10-13 and 2026-10-21.

Not verified

  • init-watch-checklist.test.js (vitest) was not executed: this lane cannot run node or a test runner. Left to the PR's CI, which the issue names as the check that runs it.
  • Lint/format (Biome) not run locally; check-affected reported no lint failure for the changed files.
  • tidy skipped: the change is 317 changed lines (7+2+160+148), over the 300-line tidy cutoff.
  • Row 1.4 reads contactSheetsDir and framesDir from watch.json tempSession, not artifactPaths as the issue and template wording say: run-watch.js and recover-watch-bootstrap.js record those directories only under tempSession, and artifactPaths carries no directory fields.
  • Row 1.5 ticks only when the recorded highVolume equals the template's rule (sheets >= 8, duration >= 2 h, or densification >= 30), the issue's literal 'matches'. The CLI's isHighVolume can also report true when more than 3x the target frame count was selected, so a run where that extra rule
  • SKILL.md left unchanged: it only says to tick with evidence and does not describe hand-ticking these rows, which is the condition the issue's scope fence set for editing it.
  • The working tree has untracked files at the repo root this run did not create (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc); they are not part of this change and were left alone.

Fix

  • plugins/knowledge/skills/video-digest/extraction/watch/init-watch-checklist.js: adds generatedTicks (the facts behind rows 1.1, 1.3-1.6 and the 0b n/a ticks), applyGeneratedTicks (ticks still-unticked rows and writes their - evidence (generated): ... line), and dropCompanionNaTicks (strips earli
  • plugins/knowledge/skills/video-digest/extraction/watch/init-watch-checklist.test.js: adds a 'generated ticks' suite covering each acceptance criterion: complete bootstrap ticks 1.1/1.3/1.4/1.5/1.6 with evidence, mismatched selection leaves 1.3 unticked, 1.4 ticked only with existing dirs, 1.5 untick
  • plugins/knowledge/skills/video-digest/context/quality-gates.md: one-line note under Tick discipline that the generator's own ticks, each with a generated evidence line, are allowed.
  • .changes/knowledge/feat-video-digest-checklist-pre-ticks-c6831a4e.md: minor-bump knowledge changelog fragment.

Verification

The runner ran each check from the base copy against 7419363:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • .lane/checks/bin/check-changelog-fragments: first run failed because the fragment name lacked the 8-hex suffix; after renaming, all 5 fragments are valid
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped (0 failed) over the 4 changed files after the fixes; the first run failed only on the same fragment name
  • fresh-context review subagent over the whole diff: found three new tests whose substring probe also matched the template's Phase 0b heading (fixed: they now match 'evidence (generated): n/a'), and that 1.3 could tick on two missing counts (fixed: all three counts must be present); it traced every ex
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40790104686

Left out: the items under Not verified.

Related

#6831

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 7419363131063c96b3d29a667da65fa8cd1e4115: 0 finding(s), 0 as inline comments.

No security issues found in PR #10803 at head 7419363.

critical-findings: 0

I read the whole diff (4 files) and the PR context. The PR context contains no embedded instructions. No changed file matches a trusted path. The change is confined to the video-digest skill's local checklist generator (init-watch-checklist.js), its tests, one doc line and a changelog fragment.

  • Trust boundaries: The generator reads watch.json and selection.json from the slice directory. It only calls fs.existsSync on tempSession paths, which are directories the CLI itself recorded. It never reads them, runs them or sends them anywhere. There is no command, SQL, template or network sink, and no token or credential handling.
  • Checklist ticks: The generated ticks are a workflow aid for the operator. The checklist is not a merge gate or security control, and the change does not weaken one. Rows 0.1-0.4 and 1.2 stay hand-ticked.
  • Instruction surface: The quality-gates.md edit adds an allowance for generator-written ticks that carry generated evidence lines. It does not remove or narrow any standing rule. A reader of the checklist could treat a generated tick as human verification, but that is a process matter, not a security path.
  • Manifests: No plugin.json or marketplace.json changes.
  • Spend: No spend impact.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 7419363131063c96b3d29a667da65fa8cd1e4115: 0 finding(s), 0 as inline comments.

No findings. I reviewed the whole diff (4 files), the closing issue #6831 and the surrounding code by reading; I did not run the tests, so the passing of init-watch-checklist.test.js in CI is unverified by me.

What I checked

  • Tick flow: dropCompanionNaTicks, then carryOverProgress, then applyGeneratedTicks run in a consistent order. n/a state is recomputed every run, existing ticks are kept, and evidence lines are not duplicated on rerun.
  • highVolume precedence: selection.highVolume now comes before frameSelection.highVolume. The CLI writers record the top-level field, so the template's {{HIGH_VOLUME}} now reflects the recorded flag instead of defaulting to false. This is a small, sensible behaviour change.
  • Row 1.5: isHighVolume is called without candidate counts, so it applies exactly the template's sheets/duration/densification rule. Rows whose recorded flag came only from the 3x candidate rule stay unticked, matching the issue's "matches" wording.
  • Row 1.4: the code reads tempSession through resolveTempSession, not artifactPaths, as the PR states. I found no directory fields under artifactPaths, so this is correct.
  • Acceptance criteria:
    • Covered: every criterion except the CI one has a corresponding test in the new "generated ticks" suite. The fixture values (2 frames, 3 sheets, 2 windows, 8h) are consistent with the code paths.
    • Not covered by a test: the quality-gates note and the changelog fragment are in the diff but have no test.
    • Not checked: that CI runs the test file and that it passes.
  • Manifests: no plugin.json or marketplace.json change, so there are no manifest lines. The bump: minor fragment fits a new feature.
  • Trusted paths: none of the four changed files match a trusted-path glob, and I saw no security-relevant change.
  • Cost: none.

Note, not a finding: row 1.1 ticks whenever watch.json is present, as the issue specifies. A failed run-watch also leaves watch.json, so 1.1 could be pre-ticked in that case. The evidence line says only "present" and does not claim success, and row 1.6 requires all four phases to be complete.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 7419363131063c96b3d29a667da65fa8cd1e4115.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 809ddf8 Oct 29, 2026
43 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-6831-40790104686-1 branch October 29, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(knowledge): pre-tick CLI-proven video-digest checklist rows and skip Phase 0b rows without a brief

0 participants