Repository navigation
feat(skills): before-after-evidence adds a video tour when a doc has several marks - #429
Conversation
…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.
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
comark-annotate
comark-badge
comark-bundle
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-git-graph
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |
There was a problem hiding this comment.
ℹ️ 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.
gpt-6.1-sol(xhigh) | 𝕏
Latest result Pull request merged. Final answersSession 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. 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 |
There was a problem hiding this comment.
✅ 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.
gpt-6.1-sol(xhigh) | 𝕏

With #428,
comark-annotate tourturns 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.mdsays when to skip it (one small change, or motion, whichrecording.mdcovers), 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/canvasunder what the agent needs and adds the tour to "It's working if".Stacked on #428; retarget to
mainonce that merges. I haven't run an agent through the new step yet.