Repository navigation
feat(knowledge): re-lay out closed video-digest slices and drop caption boundary repeats #7011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
cb9f4ba
fix(knowledge): drop rolling-caption repeats at video-digest paragrap…
kyle-sexton 3509038
feat(knowledge): re-lay out a closed video-digest slice into the corp…
kyle-sexton 271fb46
feat(knowledge): re-lay out a video-digest slice before close and ret…
kyle-sexton d5a7de5
fix(knowledge): tighten caption boundary repeats; stage relayout outp…
kyle-sexton 6ffc708
Merge remote-tracking branch 'origin/main' into fix/video-digest-rela…
kyle-sexton da7392a
docs(knowledge): describe the tightened boundary rule and staged rela…
kyle-sexton 7cfed3c
fix(knowledge): guard relayout against slice overlap, interrupted swa…
kyle-sexton f3413fc
fix(knowledge): refuse ambiguous or info-less temp sessions in video-…
kyle-sexton aee123c
fix(knowledge): close the remaining overlap and partial-copy cases in…
kyle-sexton e5f1b7a
fix(knowledge): cover decks, bare frame names, >> tokens and install …
kyle-sexton 78c4c45
fix(knowledge): check video-digest frames against frame-times.json bo…
kyle-sexton fc19627
Merge remote-tracking branch 'origin/main' into fix/video-digest-rela…
kyle-sexton 42945b9
fix(knowledge): bind caption carry-over to the exact opener; require …
kyle-sexton 0d7bf7e
fix(knowledge): stop a caption provenance note from exempting video-d…
kyle-sexton b0581ed
fix(knowledge): check relayout targets against recorded temp dirs in …
kyle-sexton 1e84ce7
fix(knowledge): tighten relayout lane checks, frame-times shape and n…
kyle-sexton 6f642bb
fix(knowledge): close the input-shape and reference-form gaps an adve…
kyle-sexton c24691f
fix(knowledge): handle any HTML attribute quoting and shape-check inf…
kyle-sexton c65c7c7
fix(knowledge): scan link destinations with parentheses; make the rel…
kyle-sexton 4152273
fix(knowledge): finish interrupted relayout installs; decode path seg…
kyle-sexton 7000a6c
refactor(knowledge): drop relayout claim and completion markers for a…
kyle-sexton fc223a9
fix(knowledge): match apostrophe variants in caption dedupe; skip esc…
kyle-sexton 4daa3b6
fix(knowledge): read titles after a line ending; keep nested rewrites…
kyle-sexton 36d4653
fix(knowledge): detect slice-root references by location, not a match…
kyle-sexton 8afdedd
fix(knowledge): rewrite references to the slice dir itself; validate …
kyle-sexton 1396517
fix(knowledge): case-insensitive Markdown files; absent-folder prefix…
kyle-sexton 06a21e5
fix(knowledge): recognize root aliases and every backticked path form…
kyle-sexton fd67999
fix(knowledge): check the temp video's id; skip code blocks; validate…
kyle-sexton 3a788a6
docs(knowledge): rewrap the relayout refusal list in output-contract.md
kyle-sexton b2adecd
docs(knowledge): finish rewrapping the relayout refusal list
kyle-sexton 2e12428
docs(knowledge): wrap the last long line in the relayout refusal list
kyle-sexton f77c633
fix(knowledge): read multi-line code spans, escaped labels and comman…
kyle-sexton c273122
fix(knowledge): honor escaped image markers; leave container fences v…
kyle-sexton cc92c63
fix(knowledge): guard temp-dir reads; match raw #/? names; cite relay…
kyle-sexton b453855
fix(knowledge): keep relayout evidence out of the skill; read multi-l…
kyle-sexton 11e8571
fix(knowledge): decode HTML references in src/href; require regular t…
kyle-sexton ef2a06f
fix(knowledge): escape rewritten HTML src/href values for their quoting
kyle-sexton 5f5fcfa
fix(knowledge): decode backslash escapes in destinations; refuse unre…
kyle-sexton 4f10998
fix(knowledge): allow escaped brackets in reference-definition labels
kyle-sexton 11fce25
fix(knowledge): follow CommonMark link-label rules in relayout
kyle-sexton 06984ee
fix(knowledge): require carry-over evidence for every caption repeat;…
kyle-sexton 3f95aef
fix(knowledge): resolve before treating a path as a placeholder; exac…
kyle-sexton bf3a72e
fix(knowledge): share one destination parser and check spaced code pa…
kyle-sexton a1455e1
fix(knowledge): skip an HTML attribute match with no captured span in…
kyle-sexton 1649d5c
fix(knowledge): treat HTML tag text as data and require whole-line re…
kyle-sexton 777297c
fix(knowledge): check recorded temp dirs in no-media mode and accept …
kyle-sexton 381441d
fix(knowledge): write the upstream title as plain Markdown text in th…
kyle-sexton 61a65c8
fix(knowledge): keep the skill contract additive and decode reference…
kyle-sexton 25274ca
fix(knowledge): resolve whole names before line suffixes, refuse syml…
kyle-sexton 876e3db
fix(knowledge): validate every relative definition and treat backslas…
kyle-sexton 4259d2b
fix(knowledge): whole-name-first for every reference kind, literal ti…
kyle-sexton 0f697fd
fix(knowledge): reject titles across blank lines and apply HTML numer…
kyle-sexton 606d7b0
fix(knowledge): never exempt a retired real file from the link check …
kyle-sexton c9b68dd
fix(knowledge): end bare link destinations only at the ASCII space or…
kyle-sexton ef264ed
fix(knowledge): encode rewritten link destinations so they parse back…
kyle-sexton dc55515
fix(knowledge): retired refs override allowed misses; treat ..name as…
kyle-sexton 8601513
fix(knowledge): keep angle link destinations out of HTML masking
kyle-sexton 1f280fd
fix(knowledge): decode semicolonless numeric references in HTML attri…
kyle-sexton 7bdf4b3
fix(knowledge): keep word-distinguishing punctuation in caption dedup…
kyle-sexton fe69da9
fix(knowledge): an outer link whose label holds a link is literal text
kyle-sexton 4267d49
fix(knowledge): mask autolinks, reject paren titles with bare parens,…
kyle-sexton 0e5d4d0
fix(knowledge): CRLF blank lines, raw fragment delimiters in links; d…
kyle-sexton 95ecca9
fix(knowledge): keep edge dashes in caption word matching; read wrapp…
kyle-sexton 7ca97e3
fix(knowledge): decode HTML URL references before dropping tab and li…
kyle-sexton bc0be22
fix(knowledge): trim HTML URL edge whitespace; document link text in …
kyle-sexton e0bd11d
fix(knowledge): match CommonMark start tags only; treat curly quotes …
kyle-sexton 359e1a6
fix(knowledge): mask every raw inline HTML form; ignore escaped link …
kyle-sexton 06ce2ae
fix(knowledge): hide CDATA, declarations and processing instructions …
kyle-sexton 4e5901c
fix(knowledge): refuse a non-directory --replace target and bare-CR M…
kyle-sexton 857edfb
fix(knowledge): follow CommonMark raw-HTML whitespace, short comments…
kyle-sexton b5136cb
fix(knowledge): honor escaped HTML openers; keep HTML attribute refer…
kyle-sexton 204799e
fix(knowledge): one line ending per tag separator, escaped tags skip …
kyle-sexton 4d1d723
docs(knowledge): record the code-span-before-HTML limit of the relayo…
kyle-sexton 82ad3c0
fix(knowledge): stop code spans at paragraph-interrupting block starts
kyle-sexton 46e31de
fix(knowledge): stop code spans at setext heading underlines
kyle-sexton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
.changes/knowledge/fix-video-digest-relayout-and-caption-dedupe-59495b96.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| bump: minor | ||
| --- | ||
|
|
||
| ### Added | ||
|
|
||
| - video-digest: `watch/relayout-slice.js` copies a slice into the knowledge-corpus layout (`transcript/`, `metadata/`, `frames/all/`, `frames/key/`, `media/`, `analysis/`, provenance `README.md`), rewrites the slice paths its markdown names through a path map (a pipeline file the layout does not keep becomes plain text saying so), and exits 1 listing every slice-internal path that still does not resolve. It runs on a closed slice, or before `close` on one whose outcome checks pass so the temp media is still there, and refuses a slice whose temp media is gone unless `--no-media`, which takes nothing from the temp session. It builds the layout in a staging directory and moves it into place only when the link check passes; an existing target needs `--replace` ([#6902](https://github.com/melodic-software/claude-code-plugins/issues/6902)). Hand re-layouts had broken relative paths twice: melodic-software/knowledge-corpus#42 needed four review rounds and six threads to clear them, and knowledge-corpus#46 fixed 41 broken paths in the slice knowledge-corpus#37 had landed. | ||
|
|
||
| ### Fixed | ||
|
|
||
| - video-digest: an auto-caption transcript paragraph no longer repeats the previous paragraph's closing words that a rolling caption carried over: 2 to 12 words compared case- and punctuation-insensitively, dropped only when the opening cue carries them from the cue before it (the cues overlap in time, or the cue starts with the previous cue's words verbatim), so a phrase the speaker genuinely repeats stays ([#6992](https://github.com/melodic-software/claude-code-plugins/issues/6992)). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.