Repository navigation
encrypted-patches: rewritten for listeners, with a simulated narration - #33
Merged
Merged
Conversation
The skill holds what the narration prototype taught: audio only when Tim calls a text final, the voice and the ElevenLabs call, word-for-word scripts with spoken parts, the phrase marker, the four colour blocks, figures that stay in view on a phone, and the checks. A research note on attention and the prototype player come with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc
The text explains patch diffing, n-days, TUF, Uptane, transparency logs, drand and timelock encryption for readers who do not know them. The games section folds into "The idea" and ends with its four rules; the patents shrink to one paragraph. Spoken parts, colour terms and a narrow drawing for every figure prepare it to be read aloud. assets/narration.js reads the page as the script and follows it with a phrase marker, colour blocks, figure cues and steps. Until audio exists the timing is simulated. DESIGN.md and CLAUDE.md name the new script and the narration colours; both skills carry what this taught. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc
Fig. 3, 4 and 7 lose the step box with Back, Next and Play: under a narrated figure it competed with the voice. The steps are a plain numbered list; narration.js brings in the parts of the step that the voice reads and shows only that step. Read without the voice, the whole drawing and the whole list show. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc
A spoken part with two paragraphs now folds as one row, and a folded part inside a figure no longer adds a gap to the figure grid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc
… and DESIGN.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why the change
The encrypted-patches thought was hard to follow for readers who do not know TUF, drand or timelock encryption, and it now also reads along with a narration (simulated timing until the audio exists).
Special things to note
narration.jsonhasaudio: null, soassets/narration.jssimulates the timing at about 160 words a minute. The page says so under Listen.assets/narration.js) and four marker colours that show only while a narration plays. The page CSP addsconnect-src 'self'fornarration.json.data-steps) with Back, Next and Play: the voice drives their steps (data-voice-steps). Every figure has a new narrow drawing for phones.Screenshots
Page head, 412 px
Fig. 3, 412 px
Narration playing at Fig. 4, 412 px
Change outline
The page is the script.
narration.jsreads it and follows the voice:One frame of playback:
Files:
🤖 Generated with Claude Code
https://claude.ai/code/session_01KFxuEteUiyeGMzLJ2VGnGc