Skip to content

feat(skills): before-after-evidence adds a video tour when a doc has several marks - #429

Merged
vite-hub[bot] merged 4 commits into
mainfrom
feat/beaf-tour
Nov 15, 2026
Merged

vite-hub[bot] merged 4 commits into
mainfrom
feat/beaf-tour

Conversation

@onmax

@onmax onmax commented Nov 14, 2026

Copy link
Copy Markdown
Owner

With #428, comark-annotate tour turns a doc's compares into a video, but nothing tells an agent writing evidence when to make one or how to check it.

This adds step 5 to before-after-evidence, optional: when the document has two or more marks or several compares, add a tour under the compare. references/tour.md says when to skip it (one small change, or motion, which recording.md covers), how to check it first with --sheet (each loop on what its note names, each note whole), that a loop off target means remeasuring the annotation and not adjusting the video, and how to place it so nobody takes it for more evidence. It also says that in a GitHub PR description an MP4 hosted elsewhere doesn't play, so the file goes in as an attachment.

The skill's docs page lists @napi-rs/canvas under what the agent needs and adds the tour to "It's working if".

Stacked on #428; retarget to main once that merges. I haven't run an agent through the new step yet.

…o, with no browser

`tour` zooms to each change in a document's `::compare` blocks, draws its mark with the page's own wobble, writes its note, and cuts from before to after at the same place. It draws with @napi-rs/canvas, an optional peer dependency, and encodes with ffmpeg; `--sheet` writes 12 frames on one image without ffmpeg. `comark-annotate/tour` exports the same as `tour()`.

The mark seed moves from the HTML renderer to `marks.ts`, so the tour and the page draw the same marks.
…several marks

A new optional step 5 sends the agent to references/tour.md: render a sheet with `comark-annotate tour --sheet`, check every loop and note, render the MP4, and place it under the compare as a tour of the same screenshots. It skips one small change and motion, which the recording reference covers.
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T13:48:07.449999Z
We couldn’t complete this review. Comment @codex review to try again.
a495262 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@pkg-pr-new

pkg-pr-new Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

pnpm add https://pkg.pr.new/comark-annotate@429

comark-badge

pnpm add https://pkg.pr.new/comark-badge@429

comark-bundle

pnpm add https://pkg.pr.new/comark-bundle@429

comark-cards

pnpm add https://pkg.pr.new/comark-cards@429

comark-carousel

pnpm add https://pkg.pr.new/comark-carousel@429

comark-cast

pnpm add https://pkg.pr.new/comark-cast@429

comark-charts

pnpm add https://pkg.pr.new/comark-charts@429

comark-chat

pnpm add https://pkg.pr.new/comark-chat@429

comark-chips

pnpm add https://pkg.pr.new/comark-chips@429

comark-cjk

pnpm add https://pkg.pr.new/comark-cjk@429

comark-code

pnpm add https://pkg.pr.new/comark-code@429

comark-code-notes

pnpm add https://pkg.pr.new/comark-code-notes@429

comark-colors

pnpm add https://pkg.pr.new/comark-colors@429

comark-comments

pnpm add https://pkg.pr.new/comark-comments@429

comark-critic

pnpm add https://pkg.pr.new/comark-critic@429

comark-deflist

pnpm add https://pkg.pr.new/comark-deflist@429

comark-details

pnpm add https://pkg.pr.new/comark-details@429

comark-diagrams

pnpm add https://pkg.pr.new/comark-diagrams@429

comark-diff

pnpm add https://pkg.pr.new/comark-diff@429

comark-embed

pnpm add https://pkg.pr.new/comark-embed@429

comark-fields

pnpm add https://pkg.pr.new/comark-fields@429

comark-figure

pnpm add https://pkg.pr.new/comark-figure@429

comark-file-tree

pnpm add https://pkg.pr.new/comark-file-tree@429

comark-footnotes

pnpm add https://pkg.pr.new/comark-footnotes@429

comark-git-graph

pnpm add https://pkg.pr.new/comark-git-graph@429

comark-github

pnpm add https://pkg.pr.new/comark-github@429

comark-icon

pnpm add https://pkg.pr.new/comark-icon@429

comark-include

pnpm add https://pkg.pr.new/comark-include@429

comark-keys

pnpm add https://pkg.pr.new/comark-keys@429

comark-links

pnpm add https://pkg.pr.new/comark-links@429

comark-linter

pnpm add https://pkg.pr.new/comark-linter@429

comark-magic-move

pnpm add https://pkg.pr.new/comark-magic-move@429

comark-mark

pnpm add https://pkg.pr.new/comark-mark@429

markdown-it-to-comark

pnpm add https://pkg.pr.new/markdown-it-to-comark@429

marked-to-comark

pnpm add https://pkg.pr.new/marked-to-comark@429

comark-mathml

pnpm add https://pkg.pr.new/comark-mathml@429

comark-media

pnpm add https://pkg.pr.new/comark-media@429

comark-metrics

pnpm add https://pkg.pr.new/comark-metrics@429

migrate-to-comark

pnpm add https://pkg.pr.new/migrate-to-comark@429

comark-outline

pnpm add https://pkg.pr.new/comark-outline@429

comark-properties

pnpm add https://pkg.pr.new/comark-properties@429

comark-qr

pnpm add https://pkg.pr.new/comark-qr@429

comark-quiz

pnpm add https://pkg.pr.new/comark-quiz@429

comark-reading-time

pnpm add https://pkg.pr.new/comark-reading-time@429

remark-to-comark

pnpm add https://pkg.pr.new/remark-to-comark@429

comark-sources

pnpm add https://pkg.pr.new/comark-sources@429

comark-steps

pnpm add https://pkg.pr.new/comark-steps@429

comark-table

pnpm add https://pkg.pr.new/comark-table@429

comark-tabs

pnpm add https://pkg.pr.new/comark-tabs@429

comark-tests

pnpm add https://pkg.pr.new/comark-tests@429

comark-time

pnpm add https://pkg.pr.new/comark-time@429

comark-ui

pnpm add https://pkg.pr.new/comark-ui@429

comark-xref

pnpm add https://pkg.pr.new/comark-xref@429

comark-zoom

pnpm add https://pkg.pr.new/comark-zoom@429

commit: d2f3963

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ℹ️ No P0 or P1 findings; one small verification gap is noted inline.

Reviewed changes — Reviewed all three changed files against the stacked annotate-tour CLI/API and exercised the sheet command, media embed, and skill packaging.

  • Skill workflow. Adds a tour step for documents with multiple marks or compares, with exceptions for small changes and motion.
  • Tour reference. Covers canvas installation, contact-sheet inspection, MP4 generation, placement below the evidence, and GitHub attachments.
  • Public documentation. Explains the tour’s purpose, prerequisites, and mark-placement expectations.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.1-sol(xhigh) | 𝕏

@vite-hub
vite-hub Bot changed the base branch from feat/annotate-tour to main November 14, 2026 16:27
@vite-hub

vite-hub Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —
View session Waiting 2026-11-15T00:52:54.917Z 52m 31s
View session Starting Not started —

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

Session

Updated the branch with main because main changed docs/pages/skills/before-after-evidence.md, skills/before-after-evidence/SKILL.md, skills/before-after-evidence/references/tour.md after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/pages/skills/before-after-evidence.md, skills/before-after-evidence/SKILL.md, skills/before-after-evidence/references/tour.md after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/pages/skills/before-after-evidence.md, skills/before-after-evidence/SKILL.md, skills/before-after-evidence/references/tour.md after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/pages/skills/before-after-evidence.md, skills/before-after-evidence/SKILL.md, skills/before-after-evidence/references/tour.md after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/pages/skills/before-after-evidence.md, skills/before-after-evidence/SKILL.md, skills/before-after-evidence/references/tour.md after its checks ran; waiting for checks on the new head.

Session

Updated the branch with main because main changed docs/pages/skills/before-after-evidence.md, skills/before-after-evidence/SKILL.md, skills/before-after-evidence/references/tour.md after its checks ran; waiting for checks on the new head.

View session

Ready: verified the expected HEAD, all review bodies, and the three-file diff. The earlier verification gap is fixed and its thread resolved; no valid findings remain. All current-head checks are green. Locally, 409 workspace tests passed and lint passed with warnings using installed binaries after pnpm encountered a cache database error. No changes were needed. PR #428 has merged and this PR already targets main.

Session

spawn git EAGAIN

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No new issues found; no P0 or P1 findings remain.

Reviewed changes — Reviewed the PR-specific changes in efd5d2c since the previous review at a495262.

  • Clarified preview limits. Identified the contact sheet as a sampled preview that can skip notes and cannot complete verification.
  • Required complete-note verification. Added inspection of every mark and fully written note before publishing, using the rendered video or targeted frames, with regeneration after annotation corrections.

Validation: all 409 workspace consistency tests passed, along with focused source-level checks of standalone skill links and the revised verification guidance.

Pullfrog  | View workflow run | Using gpt-6.1-sol(xhigh) | 𝕏

@vite-hub
vite-hub Bot merged commit 4cdf527 into main Nov 15, 2026
7 checks passed
@vite-hub
vite-hub Bot deleted the feat/beaf-tour branch November 15, 2026 04:05
@github-actions github-actions Bot mentioned this pull request Nov 15, 2026
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.

1 participant