Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
319 commits
Select commit Hold shift + click to select a range
619d345
merge(epub): integrate renderer admission and publication semantics
aehlke Oct 1, 2026
2cc93b2
test(epub): compose RTL progression with failed resource admission
aehlke Oct 1, 2026
27733cc
test(epub): qualify package-language fallback in framed chapters
aehlke Oct 1, 2026
305807a
test(epub): separate LTR page order from RTL chapter text
aehlke Oct 1, 2026
4e7c47c
test(epub): tidy direction fixture separation
aehlke Oct 1, 2026
2c01024
test(storage): wire transaction helper into WebDAV fixture
aehlke Oct 1, 2026
de5c261
fix(epub): recover valid root language and direction semantics
aehlke Oct 1, 2026
0a2b8e2
fix(storage): drain first-read transactions from first request
aehlke Oct 1, 2026
cb7a571
fix(storage): publish storage source only after committed transaction
aehlke Oct 1, 2026
65b3dec
fix(storage): drain content-statistics transactions from first request
aehlke Oct 1, 2026
846af90
test(harness): await statistics schema before direct seed
aehlke Oct 1, 2026
1669056
fix(audio): add disposable SwiftF0 runtime helper
aehlke Oct 1, 2026
0b1725a
fix(audio): bound SwiftF0 runtime resources
aehlke Oct 1, 2026
0d9fc7e
refactor(storage): serialize legacy statistics inside commit helper
aehlke Oct 1, 2026
c27c7e2
fix(audio): bound SwiftF0 runtime resources
aehlke Oct 1, 2026
75fdd4e
test(audio): cover SwiftF0 resource lifetime
aehlke Oct 1, 2026
b7ae027
refactor(storage): serialize statistics deletion inside commit helper
aehlke Oct 1, 2026
5e86fc3
refactor(storage): serialize reading-goal updates inside commit helper
aehlke Oct 1, 2026
f691375
refactor(storage): serialize reading-goal replacement inside commit h…
aehlke Oct 1, 2026
f44378c
test(storage): qualify browser database commit lifetimes
aehlke Oct 1, 2026
46e3bea
fix(audio): clean up partial SwiftF0 tensor construction
aehlke Oct 1, 2026
6aba50e
test(audio): cover partial SwiftF0 allocation failure
aehlke Oct 1, 2026
fc1b76b
fix(epub): preserve scoped publisher bidi semantics
aehlke Oct 1, 2026
9e4efe6
refactor(audio): type SwiftF0 tensor ownership explicitly
aehlke Oct 1, 2026
93eec2a
refactor(audio): narrow ORT outputs at adapter boundary
aehlke Oct 1, 2026
d701a18
fix(audio): finish SwiftF0 tensor cleanup after release errors
aehlke Oct 1, 2026
e940e52
refine(export): keep option geometry fixed under enlarged text
aehlke Oct 1, 2026
8ef3102
refine(contents): preserve title at enlarged text
aehlke Oct 1, 2026
8e9214d
test(export): keep option geometry fixed at 200 percent text
aehlke Oct 1, 2026
d2bb052
test(contents): keep title whole at short enlarged phone size
aehlke Oct 1, 2026
7b4ef30
refactor(audio): batch stable SwiftF0 frames
aehlke Oct 1, 2026
6f31ced
refactor(audio): return stable SwiftF0 frame batches
aehlke Oct 1, 2026
7e3171f
refactor(audio): emit batched SwiftF0 measurements
aehlke Oct 1, 2026
4c3a272
perf(audio): reduce overlapping SwiftF0 inference
aehlke Oct 1, 2026
cdd9ff7
test(audio): cover batched SwiftF0 contour
aehlke Oct 1, 2026
295d21c
docs(audio): document batched SwiftF0 cadence
aehlke Oct 1, 2026
703e1af
test(audio): preserve pending-work coverage at batched cadence
aehlke Oct 1, 2026
66ee1d0
test(reader): require keyboard reachability in short enlarged menu
aehlke Oct 1, 2026
6aab3c6
refine(library): keep book details clear of pinned dismissal
aehlke Oct 1, 2026
32a7e53
test(modal): keep scrolled book metadata clear of close target
aehlke Oct 1, 2026
92ab979
fix(audio): retain full SwiftF0 context in batches
aehlke Oct 1, 2026
edea152
fix(audio): prefer analysis-safe Web Audio rates
aehlke Oct 1, 2026
599bbfa
test(audio): require full SwiftF0 batch context
aehlke Oct 1, 2026
13051f1
docs(audio): document context-safe batching
aehlke Oct 1, 2026
0983582
feat(audio): expose SwiftF0 future context
aehlke Oct 1, 2026
1bbcc9e
perf(audio): skip SwiftF0 outside subtitle speech
aehlke Oct 1, 2026
56d0213
feat(audio): gate pitch by active subtitle cue
aehlke Oct 1, 2026
fe02d52
test(audio): cover subtitle-gated SwiftF0
aehlke Oct 1, 2026
2027c7b
docs(audio): document subtitle-gap pitch gating
aehlke Oct 1, 2026
144f0cf
test(audio): tighten subtitle restart context assertion
aehlke Oct 1, 2026
3accd9f
fix(audio): initialize subtitle pitch gate explicitly
aehlke Oct 1, 2026
562da00
test(audio): cover first active subtitle sync
aehlke Oct 1, 2026
c3ed066
test(audio): model media advance during cue startup
aehlke Oct 1, 2026
1f56451
test(audio): clean batched pitch fixture imports
aehlke Oct 1, 2026
0844fde
fix(audio): track active cue pitch boundary
aehlke Oct 1, 2026
8f149ec
fix(audio): pass cue audio bounds to pitch gate
aehlke Oct 1, 2026
7b5e9bf
test(audio): cover adjacent active cue boundary
aehlke Oct 1, 2026
37ee8e6
test(audio): require post-boundary pitch sample
aehlke Oct 1, 2026
6ea24ef
test(audio): require first-cue retained sample
aehlke Oct 1, 2026
badcf9f
style(epub): format direction normalization
aehlke Oct 1, 2026
805ee6b
fix(epub): honor deep fragment targets in legacy pagination
aehlke Oct 1, 2026
03c30f1
fix(audio): accept ORT tensor data union safely
aehlke Oct 1, 2026
44848ed
style(audio): format SwiftF0 runtime import
aehlke Oct 1, 2026
a6914b1
style(audio): align pitch controller formatting
aehlke Oct 1, 2026
d5826d0
test(audio): align pitch lifecycle clocks with batched cadence
aehlke Oct 1, 2026
cd94482
fix(audio): reject unusable high-rate pitch contexts
aehlke Oct 1, 2026
7912e2f
fix(audio): explain unsupported pitch context rates
aehlke Oct 1, 2026
38b0cce
test(audio): cover unsupported high-rate output fallback
aehlke Oct 1, 2026
6a2cccb
fix(statistics): pin options dismissal above body scroll
aehlke Oct 1, 2026
cf9c0eb
fix(statistics): make options body the sole scroll owner
aehlke Oct 1, 2026
b20a9f8
test(statistics): keep options dismissal reachable after scroll
aehlke Oct 1, 2026
2f471e7
fix(contents): make chapter list the sole scroll owner
aehlke Oct 1, 2026
f670298
fix(contents): pin header and chapter controls around list scroll
aehlke Oct 1, 2026
e167140
test(contents): keep header and footer reachable after list scroll
aehlke Oct 1, 2026
e60f6f6
refactor(audio): derive native-rate limit from SwiftF0 context
aehlke Oct 1, 2026
f57366a
test(audio): retain viable 88k native pitch fallback
aehlke Oct 1, 2026
168a0ed
fix(audio): gate SwiftF0 to exact subtitle windows
aehlke Oct 1, 2026
f1b5f24
fix(audio): pass full subtitle bounds to pitch
aehlke Oct 1, 2026
d814256
test(audio): cover exact subtitle-window gating
aehlke Oct 1, 2026
7de0e8a
fix(audio): publish transcript-gated pitch state
aehlke Oct 1, 2026
af88073
fix(audio): show dialogue-gated pitch status
aehlke Oct 1, 2026
3c168d3
test(audio): run SwiftF0 only inside speech windows
aehlke Oct 1, 2026
3164814
test(audio): prove pitch pauses across subtitle gaps
aehlke Oct 1, 2026
37216eb
refine(statistics): enlarge summary header targets
aehlke Oct 1, 2026
032ee82
refine(statistics): align summary metrics with privacy and touch targets
aehlke Oct 1, 2026
637ee30
refine(statistics): restore focus and enlarge summary pagination
aehlke Oct 1, 2026
9b24792
test(statistics): qualify summary privacy targets and paging
aehlke Oct 1, 2026
9420421
refine(statistics): keep pager live status outside its trigger
aehlke Oct 1, 2026
45f1010
Merge current main into statistics summary accessibility work
aehlke Oct 1, 2026
2cef0bc
chore(appearance): lint statistics summary components
aehlke Oct 1, 2026
d24cd73
test(statistics): rebuild summary acceptance from current main
aehlke Oct 1, 2026
31b6b29
refactor(statistics): make summary header controls explicit buttons
aehlke Oct 1, 2026
5c5d7ef
fix(statistics): fit enlarged header targets within summary rows
aehlke Oct 1, 2026
1d1113b
refine(statistics): keep summary header targets compact under text sc…
aehlke Oct 1, 2026
dd4d458
refine(statistics): keep summary targets compact under text scaling
aehlke Oct 1, 2026
ef663fa
testability(statistics): expose summary layout regions
aehlke Oct 1, 2026
70e5e91
test(statistics): reject internal summary overflow
aehlke Oct 1, 2026
919dfa1
fix(audio): advance pitch clock through subtitle gaps
aehlke Oct 1, 2026
b59cdce
test(audio): advance graph time without gap inference
aehlke Oct 1, 2026
1f55647
refine(statistics): bound summary header spacing under text scaling
aehlke Oct 1, 2026
9941aff
refine(statistics): keep summary gutters stable under text scaling
aehlke Oct 1, 2026
ee1c0f6
docs(audio): describe batched cue-gated SwiftF0
aehlke Oct 1, 2026
ab89a1b
Merge ee1c0f6f520b838b76c4d9ea8a78c6c46968a4cb into 89692e80c91f31b3b…
aehlke Oct 1, 2026
12c873e
refine(statistics): move focus into statistic details dialog
aehlke Oct 1, 2026
884f6b8
test(statistics): require detail-dialog focus ownership
aehlke Oct 1, 2026
d3b7282
fix(audio): reject invalid clamped speech windows
aehlke Oct 1, 2026
b6a32d1
test(audio): reject negative speech intervals
aehlke Oct 1, 2026
6b06c1f
refactor(library): expose authoritative source snapshots
aehlke Oct 1, 2026
84d1728
refactor(local): share connected-folder lifetime authority
aehlke Oct 1, 2026
78dae20
fix(snippets): reconcile discovery against authoritative source lifetime
aehlke Oct 1, 2026
f38a374
fix(snippets): hold local source authority across physical I/O
aehlke Oct 1, 2026
d459928
fix(snippets): rebind storage homes without losing newer transaction …
aehlke Oct 1, 2026
1aec85b
docs(snippets): record source-lifetime and reconnect invariants
aehlke Oct 1, 2026
3312bf6
test(snippets): model authoritative versus cached source snapshots
aehlke Oct 1, 2026
ccf4405
test(snippets): cover reconnect rebinding and source authority
aehlke Oct 1, 2026
4681755
test(snippets): fence local storage operations to admitted source lif…
aehlke Oct 1, 2026
8ff88b5
test(library): qualify live versus cached source authority
aehlke Oct 1, 2026
efa41d0
test(snippets): clear stale dirty state on exact replacement copy
aehlke Oct 1, 2026
4da095e
fix(search): keep shallow manage URL route-typed
aehlke Oct 1, 2026
919da71
merge(epub): integrate publication semantics on current main
aehlke Oct 1, 2026
f4b7e64
fix(reader): subscribe before legacy chapter render acknowledgement
aehlke Oct 1, 2026
5028b81
fix(epub): honor page progression in legacy paginator
aehlke Oct 1, 2026
664bec1
build(snippets): pin isolated marked parser dependency
aehlke Oct 1, 2026
59dc0f9
fix(reader): let manual page turns supersede legacy deep links
aehlke Oct 1, 2026
3e55e74
build(snippets): lock isolated marked parser dependency
aehlke Oct 1, 2026
0d30b68
fix(snippets): preserve zero-start ordered-list schema
aehlke Oct 1, 2026
026d3c7
fix(snippets): isolate and harden Markdown interchange
aehlke Oct 1, 2026
761ced7
docs(snippets): document Markdown safety boundary
aehlke Oct 1, 2026
ec0eea3
test(snippets): cover Markdown parser isolation and lossless fallbacks
aehlke Oct 1, 2026
a9995d9
test(epub): make legacy RTL page-order case multi-page
aehlke Oct 1, 2026
84c2f63
test(snippets): qualify safe CommonMark import and zero-start round-trip
aehlke Oct 1, 2026
322774b
refine(snippets): make selection mode keyboard-dismissible
aehlke Oct 1, 2026
00cb4f5
test(snippets): qualify selection escape and focus return
aehlke Oct 1, 2026
6888a33
fix(snippets): keep committed capture append authoritative
aehlke Oct 1, 2026
ae14283
fix(snippets): persist concurrent captures before presentation
aehlke Oct 1, 2026
836fadd
fix(audio): accept optional SwiftF0 window duration
aehlke Oct 1, 2026
6f33a42
style(audio): format SwiftF0 context bound
aehlke Oct 1, 2026
af5ddaa
test(snippets): preserve concurrent captures and committed append
aehlke Oct 1, 2026
d6cf747
style(audio): format pitch help copy
aehlke Oct 1, 2026
20cea70
style(audio): format empty SwiftF0 result
aehlke Oct 1, 2026
5e276b1
style(audio): format SwiftF0 regressions
aehlke Oct 1, 2026
96494e5
refactor(epub): centralize page progression direction policy
aehlke Oct 1, 2026
76c85ef
fix(search): document resolved shallow URL for navigation lint
aehlke Oct 1, 2026
3446f19
merge: refresh EPUB semantics candidate on compilable main
aehlke Oct 1, 2026
7a1608b
Merge current main into PR #204
aehlke Oct 1, 2026
79a6289
test(epub): qualify consecutive illustration-only sections
aehlke Oct 1, 2026
4723e01
fix(snippets): preserve safe link semantics in HTML Markdown fallback
aehlke Oct 1, 2026
1d1ec32
fix(snippets): restrict persisted link rel tokens
aehlke Oct 1, 2026
213656f
test(snippets): verify safe link Markdown round trip
aehlke Oct 1, 2026
84438ca
chore: sync current main library route fix
aehlke Oct 1, 2026
456e871
Merge current main into SwiftF0 hardening
aehlke Oct 1, 2026
2123c76
Merge current main into PR #243
aehlke Oct 1, 2026
ef1aebf
Merge current main into snippets selection keyboard refinement
aehlke Oct 1, 2026
0f4a408
Merge current main into snippet capture durability fix
aehlke Oct 1, 2026
9aefd8c
Merge current main into PR #204
aehlke Oct 1, 2026
98b8f37
Merge corrected main into snippet source authority fix
aehlke Oct 1, 2026
ba27b68
test(snippets): strengthen enlarged selection actionability
aehlke Oct 1, 2026
2eddcbc
fix(storage): drain reader-annotation transactions from first request
aehlke Oct 1, 2026
e7c8314
refactor(snippets): share schema-safe text truncation
aehlke Oct 1, 2026
ce25a48
refactor(snippets): use canonical provenance truncation
aehlke Oct 1, 2026
20357f8
test(snippets): cover schema-safe provenance truncation
aehlke Oct 1, 2026
3d28e26
fix(statistics): keep privacy blur off focus chrome
aehlke Oct 1, 2026
b3a6f45
test(statistics): keep privacy blur off focusable metric
aehlke Oct 1, 2026
6b2cd98
test(storage): cover annotation transaction completion ordering
aehlke Oct 1, 2026
c31b344
fix(storage): drain appearance background transactions
aehlke Oct 1, 2026
d374fd0
fix(storage): drain statistics recovery read transaction
aehlke Oct 1, 2026
57e9b7d
test(storage): cover statistics recovery completion ordering
aehlke Oct 1, 2026
c1e8627
test(storage): preserve merged persistence fixture
aehlke Oct 1, 2026
f770561
test(annotations): wire shared transaction helper
aehlke Oct 1, 2026
0ab91df
test(annotations): wire transaction helper into ownership fixture
aehlke Oct 1, 2026
daafb2b
style(storage): trim transaction lifetime suite
aehlke Oct 1, 2026
9a2732f
fix(annotations): preserve authority error after transaction abort
aehlke Oct 1, 2026
3a72d95
test(storage): wait for the actual first transaction request
aehlke Oct 2, 2026
73506b5
Merge current main into legacy DB transaction refactor
aehlke Oct 2, 2026
1dddf74
test(media): align sparse ETA copy with speech timing
aehlke Oct 2, 2026
60e672b
test(video): make card selection target rerender-safe
aehlke Oct 2, 2026
8630d99
test(video): assert card generation by rendered identity
aehlke Oct 2, 2026
843800b
fix(media): restart ETA clock after silent sparse cores
aehlke Oct 2, 2026
aa58e87
test(media): cover silent-first sparse ETA timing
aehlke Oct 2, 2026
fff580f
Merge current main into IndexedDB lifetime follow-up
aehlke Oct 2, 2026
c2a8164
test(media): cover MOSS marker-collapse fallback
aehlke Oct 2, 2026
6e7906f
Merge current main into sparse MOSS silence refinement
aehlke Oct 2, 2026
41a9e9c
Merge current main into video batch selection refinement
aehlke Oct 2, 2026
b0a21b6
fix(media): keep first-speech ETA clock through model preparation
aehlke Oct 2, 2026
a2e29fe
test(media): keep sparse ETA timing through preparation
aehlke Oct 2, 2026
83fb489
docs(media): record MOSS marker-collapse behavior
aehlke Oct 2, 2026
c5e016a
docs(media): align MOSS design note with landed sparse v2 stack
aehlke Oct 2, 2026
661d81a
Merge current main into tracker pagination geometry refinement
aehlke Oct 2, 2026
6fa456e
refine(tracker): compact history actions at enlarged text
aehlke Oct 2, 2026
29df365
refine(tracker): keep history revert on one line
aehlke Oct 2, 2026
2d4a472
test(tracker): guard compact history actions at enlarged text
aehlke Oct 2, 2026
dd4aecb
test(reader): traverse every short enlarged tools action
aehlke Oct 2, 2026
af5458c
test(media): observe real single-card generation boundary
aehlke Oct 2, 2026
aa2098a
refine(video): reflow first-run controls at enlarged text
aehlke Oct 2, 2026
fc9aec4
refine(video): keep library tab labels intact
aehlke Oct 2, 2026
3e19018
test(media): add cross-browser enlarged app-shell gate
aehlke Oct 2, 2026
8467c48
ci(media): qualify app shell in Chromium/WebKit and after merges
aehlke Oct 2, 2026
eecc5cb
test(media): target the reconnect status explicitly
aehlke Oct 2, 2026
393ac4d
refine(notes): keep enlarged header words intact
aehlke Oct 2, 2026
172abf7
test(notes): reject mid-word enlarged header breaks
aehlke Oct 2, 2026
1c70a98
Merge remote-tracking branch 'origin/main' into review-finish-228
aehlke Oct 6, 2026
80e41a1
Merge current main and retain the statistics readiness regression
aehlke Oct 6, 2026
9e7f7e5
test(storage): verify failed commits never publish settings
aehlke Oct 6, 2026
058bcfd
Merge remote-tracking branch 'origin/main' into review-199
aehlke Oct 6, 2026
303a6f2
fix(epub): pass imported semantics through React reader
aehlke Oct 6, 2026
cc0a30b
Merge branch 'review-199' into review-finish-228
aehlke Oct 6, 2026
a1894e2
fix(library): complete React picks dismissal and scroll ownership
aehlke Oct 6, 2026
7991408
Merge branch 'review-199' of ../reader-web-199 into review-finish-228
aehlke Oct 6, 2026
722bc5a
Merge branch 'review-199' of ../reader-web-199 into review-finish-217
aehlke Oct 6, 2026
e6e41e5
Merge branch 'review-199' into review-finish-254
aehlke Oct 6, 2026
bb9be78
Merge branch 'review-199' into review-finish-256
aehlke Oct 6, 2026
3735d2d
fix(notes): retain whole-word header in React reader
aehlke Oct 6, 2026
0ecc33f
Recover uploads through durable source ownership
aehlke Nov 7, 2026
964c593
Repair pitch analysis syntax and retain cue masking coverage
aehlke Nov 7, 2026
00379bc
Format restored pitch cue regression
aehlke Nov 7, 2026
ce9be40
Consolidate pitch queue and validation with cue-aware batches
aehlke Nov 7, 2026
fe48c07
Merge remote-tracking branch 'origin/pr/241'
aehlke Nov 8, 2026
757efde
Merge remote-tracking branch 'origin/pr/227'
aehlke Nov 8, 2026
e357a97
Merge remote-tracking branch 'origin/pr/256'
aehlke Nov 8, 2026
8d252aa
Merge remote-tracking branch 'origin/pr/254'
aehlke Nov 8, 2026
54b5428
Merge remote-tracking branch 'origin/pr/248'
aehlke Nov 8, 2026
15f0238
Merge remote-tracking branch 'origin/pr/246'
aehlke Nov 8, 2026
fb5b9ff
Merge remote-tracking branch 'origin/pr/243'
aehlke Nov 8, 2026
89738f0
Merge remote-tracking branch 'origin/pr/239'
aehlke Nov 8, 2026
04805aa
Correct statistics summary row gap denominator
aehlke Nov 8, 2026
c44fdd3
Merge remote-tracking branch 'origin/pr/237'
aehlke Nov 8, 2026
ea6c220
Merge remote-tracking branch 'origin/pr/232'
aehlke Nov 8, 2026
9123454
Merge remote-tracking branch 'origin/pr/228'
aehlke Nov 8, 2026
93f8b34
Merge remote-tracking branch 'refs/remotes/origin/pr/223'
aehlke Nov 8, 2026
2c1a44c
Merge pull request #217 with bounded statistics readiness
aehlke Nov 8, 2026
ecc73ea
Merge remote-tracking branch 'origin/pr/215'
aehlke Nov 8, 2026
ee921e1
Merge remote-tracking branch 'origin/pr/213'
aehlke Nov 8, 2026
b5c8ead
Merge remote-tracking branch 'origin/pr/212'
aehlke Nov 8, 2026
e14447a
Merge PR #210
aehlke Nov 8, 2026
37ceec6
Merge PR #204
aehlke Nov 8, 2026
5adb2d1
test: guard macOS Chrome qualification launches
aehlke Nov 8, 2026
2257c32
fix: repair web qualification regressions
aehlke Nov 8, 2026
937ea11
fix: preserve pitch cue and snippet metadata
aehlke Nov 8, 2026
b2bcab0
fix: tighten reader browser acceptance regressions
aehlke Nov 8, 2026
b3bb945
fix(web): harden statistics summary controls
aehlke Nov 8, 2026
b143ef5
fix(web): retain statistics pager focus after paging
aehlke Nov 8, 2026
a4ffc6c
fix: consolidate reader and contribution policy
aehlke Nov 8, 2026
5b81bee
Merge remote-tracking branch 'origin/main' into codex/web-preserve-20…
aehlke Nov 8, 2026
de95d0f
style: format consolidated reader sources
aehlke Nov 8, 2026
a027e37
fix(snippets): preserve legacy link metadata safely
aehlke Nov 9, 2026
9e068ff
fix(web): reflow narrow navigation and bundle slide module
aehlke Nov 9, 2026
6f35b2a
fix(media): wrap library tabs at enlarged text
aehlke Nov 9, 2026
1de473a
fix(web): keep mobile actions within viewport
aehlke Nov 9, 2026
85ff715
fix(library): keep mobile section tabs on one line
aehlke Nov 9, 2026
29b053c
test(library): cover constrained section tab spacing
aehlke Nov 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion .github/workflows/media-player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ on:
description: 'Also reproduce the documented Chromium 153 Incognito handle crash (fails on affected build)'
type: boolean
default: false
push:
branches: [main]
paths:
- 'apps/web/src/lib/media/**'
- 'apps/web/src/lib/manabi/media-*.ts'
- 'apps/web/src/routes/videos/**'
- 'apps/web/src/lib/search/**'
- 'tests/browser/test_unified_search.py'
- 'apps/web/src/lib/components/book-reader/reader-appearance.svelte'
- 'apps/web/src/lib/appearance/**'
- 'apps/web/src/lib/data/*font*'
- 'apps/web/src/lib/data/reader-typography.ts'
- 'apps/web/src/lib/data/store.ts'
- 'apps/web/src/lib/functions/reader-font-layout.ts'
- 'tests/media/**'
- 'tests/browser/test_static_reader.py'
- 'tools/media/**'
- 'apps/web/package.json'
- 'apps/web/svelte.config.js'
- 'package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/media-player.yml'

pull_request:
paths:
- 'apps/web/src/lib/media/**'
Expand Down Expand Up @@ -125,7 +148,15 @@ jobs:
sudo apt-get update -qq
sudo apt-get install -y ffmpeg espeak
python -m pip install playwright==1.63.0
python -m playwright install --with-deps chromium
python -m playwright install --with-deps chromium webkit
- name: Cross-browser Videos application shell
run: |
status=0
for engine in chromium webkit; do
python tests/media/app-shell-browser.py --engine "$engine" \
--output "test-results/media/app-shell/$engine" || status=1
done
exit "$status"
- name: Install qualified storage browser
run: bash tools/media/install-qualified-chromium.sh test-results/media/browser
- name: Generate short fixture and run media regressions
Expand Down
325 changes: 325 additions & 0 deletions CLEAN_ROOM_APPROVALS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,325 @@
# Clean-room feature approval gate

Status: CLOSED BY DEFAULT
Revision: 2026-11-08 docs-only consolidation

Historical research baseline: 2026-10-03.

This file is the authorization gate for work derived from the clean-room competitive-reader program.

## Default rule

**No feature, acceptance suite, benchmark-driven fix, fixture suite, or product change is approved for implementation merely because it appears in this branch or PR #260.**

The clean-room documents are research/specification inputs. They are not a standing work order.

Unless an approval is recorded below, a worker may only:

- review and refine the clean-room research/specification documents;
- deduplicate or clarify requirements;
- inspect authorized Manabi target code to identify overlap when the user explicitly asks for review;
- report what would need approval.

Without an approval, a worker must not:

- add CR-derived test fixtures to the product test suite;
- add CR-derived automated/browser/device tests;
- modify product/runtime code;
- implement a `CR-OPP-*` feature;
- open an implementation PR based on this program;
- infer approval from a previous worker's activity.

## Approval levels

An approval must identify a bounded feature or CR ID set and one of these levels.

### DISCOVERY_ONLY

Default state. Research/spec refinement only. No product/test mutation is authorized.

### APPROVED_FOR_DESIGN

Authorizes only target-side product/design exploration for the named feature/CR IDs, such as:

- target-owned UX flows;
- wire-level behavior descriptions;
- target architecture impact analysis;
- data/privacy decisions;
- acceptance-criteria refinement.

It does **not** authorize adding product fixtures/tests, changing production behavior, or opening an implementation PR.

### APPROVED_FOR_TESTS

Authorizes only independently authored fixtures and tests for the named feature/CR IDs.

It does **not** authorize production behavior changes, even if tests fail.

### APPROVED_FOR_IMPLEMENTATION

Authorizes production changes only for the named feature/CR IDs and only within the stated scope.

It includes the minimum tests needed for that implementation unless the approval explicitly says otherwise.

### APPROVED_FOR_INTEGRATION

Authorizes integration/merge work for the named implementation PR or bounded feature change.

This does not authorize unrelated features.

## What counts as explicit per-feature approval

A valid approval must come from the user/project owner and must unambiguously identify the feature.

Preferred forms:

- `Approve CR-OPP-001 for implementation.`
- `Approve CR-OPP-003 and CR-OPP-149 for design exploration only.`
- `Approve the chapter-preflight feature (CR-OPP-001) for implementation in Manabi Reader Web.`
- `Approve CR-AT-001..006 for tests only; do not change production code.`

A named feature may be accepted without the literal CR ID only when the mapping is unique and the worker records the mapped CR ID before starting.

## What does not count as approval

None of the following authorizes implementation:

- the feature appearing in this branch;
- the feature being marked MUST/SHOULD/MAY;
- the feature being described as high value, strong, important, or a candidate;
- a benchmark or acceptance test failing;
- a prior worker creating research/spec text;
- a prior worker creating PR #260;
- approval of a neighboring or related feature;
- approval of the same feature in another repository/platform;
- generic instructions such as “continue,” “go deeper,” “review,” “refine,” “finish the clean-room work,” or “work through the backlog”;
- a request to investigate or compare a feature;
- an implementation worker deciding that a feature is easy or obviously beneficial.

Approval is non-transitive and non-inferential.

## Approval scope requirements

Each approval record must state:

- approval ID;
- date;
- feature/CR IDs;
- approval level;
- target repository/platform;
- bounded deliverable;
- approval basis: relevant CR IDs plus the sanitized spec blob/revision, or equivalent explicit scope text;
- explicit exclusions or constraints;
- status: active, completed, revoked, or superseded.

If any of those materially affect what can be changed and are unspecified, use the narrowest reasonable interpretation and do not expand scope.

## Research-document integration status

On 2026-11-08, Alex authorized docs-only consolidation of this research under the request to advance all drafts and all relevant PRs. This authorizes integrating and finalizing the research documentation; it grants no CR feature design, tests, implementation, or feature integration approval. GitHub merge/closure status must be reported from integration evidence, not inferred from this document.

Research-document finalization is separate from completing the clean-room feature program. All per-feature approval requirements below remain in force.

## Active approvals

**None.**

Therefore, at this revision:

- no `CR-OPP-*` feature is approved for tests or implementation;
- no correctness/acceptance suite is approved for target-code mutation under this program;
- no CR-derived implementation PR is authorized.

## Recording a future approval

Append a record in this format:

```text
Approval ID: CR-AUTH-001
Date: YYYY-MM-DD
Feature/CR IDs: ...
Level: APPROVED_FOR_DESIGN | APPROVED_FOR_TESTS | APPROVED_FOR_IMPLEMENTATION | APPROVED_FOR_INTEGRATION
Target: ...
Deliverable: ...
Approval basis: CR IDs + spec blob/revision, or explicit bounded scope text
Exclusions: ...
Status: active
Evidence of approval: concise paraphrase of the explicit user/project-owner instruction
```

Do not include competitor provenance in an approval record.

## Revocation and completion

The user/project owner may revoke or narrow approval at any time.

When a bounded approved feature is completed, mark that approval record completed. Completion does not authorize the next feature.

A new feature requires a new explicit approval.

## Approval validation checklist

Before target-side work, a worker must validate all of the following:

1. the approval record exists in this file;
2. its status is active;
3. the requested CR ID/feature is explicitly covered;
4. the requested action is permitted by the approval level;
5. the target repository/platform matches;
6. the requested deliverable fits the bounded deliverable text;
7. no exclusion forbids the requested change;
8. the approval has not been superseded by a narrower/later record.

If any check fails, target-side work is not authorized.

## Per-feature scope packet

Before starting an approved feature, the worker should state a compact scope packet in its implementation PR or working notes:

- Approval ID
- CR IDs
- target repo/platform
- existing target primitive(s) reused
- user-visible behavior being changed
- data/storage migrations, if any
- privacy/network effect, if any
- test/benchmark IDs in scope
- explicit non-goals
- adjacent CR IDs discovered but not approved

The scope packet is derived only from the sanitized handoff plus authorized target code.

## Minimal shared-primitive rule

An approved feature may require a shared target-owned primitive.

That does not create authority to implement other features that could also use the primitive.

A worker may add/refine a shared primitive only when all of these are true:

- it is necessary for the approved behavior;
- its API/scope is the minimum coherent target-owned abstraction needed;
- it does not expose unrelated new user-visible features;
- it does not pre-implement unapproved feature-specific behavior;
- its tests are limited to the primitive's contract and the approved feature;
- adjacent opportunities are recorded for later approval rather than bundled in.

A broad refactor justified mainly by future unapproved CR-OPP entries requires separate approval.

## No batch approval by implication

Even if several CR entries share one subsystem, approval remains per named feature/suite.

For example, approval of one audio mode does not authorize every `CR-OPP-070..` media feature; approval of one OCR feature does not authorize the entire OCR opportunity section.

A user/project owner may explicitly approve a bounded bundle, but the bundle must be named or enumerated. Workers may not construct the bundle themselves.

## Approval-ledger mutation rule

Workers are not authorized to create, broaden, reactivate, or upgrade an approval record on their own.

An approval record may be added or changed to `active` only when the current user/project-owner instruction explicitly grants that approval.

A worker must not mutate this ledger merely because:

- a task was assigned by another worker;
- an issue/PR says a feature should be implemented;
- a project document recommends the feature;
- CI/test output suggests a fix;
- a previous assistant claimed approval existed;
- the feature appears in an implementation branch;
- the worker believes approval is implied.

When recording a new approval, the worker must be able to point to the explicit owner instruction in the current conversational/task context. If that evidence is absent, leave the ledger unchanged and report that approval is missing.

A worker may update an existing record to `completed`, `revoked`, or `superseded` only when:

- the bounded approved work has actually completed; or
- the user/project owner explicitly revokes/supersedes it.

Completion may never broaden scope.

## Approval precedence

When approval records overlap:

1. explicit revocation wins over earlier approval;
2. a later narrower approval constrains an earlier broader one when it says it supersedes it;
3. explicit exclusions win over general deliverable language;
4. repository/platform-specific scope wins over generic scope;
5. the lower work level wins when ambiguity remains.

If precedence cannot be resolved deterministically, stop and request explicit owner clarification before target-side work.

## Prerequisite and bug-fix boundary

An approved feature may expose an unrelated bug, missing prerequisite, migration, refactor opportunity, or infrastructure weakness.

The worker may fix it under the existing approval only when the change is both:

- necessary to deliver the approved user-visible behavior safely; and
- the smallest coherent change that does not add unrelated user-visible capability.

Otherwise it requires separate approval.

In particular, these are not automatic scope:

- broad cleanup/refactoring;
- framework migrations;
- “while here” performance work;
- unrelated accessibility fixes;
- unrelated security hardening;
- new telemetry/analytics;
- new data migrations for future features;
- generalized provider abstractions primarily justified by unapproved future work.

If a severe unrelated security/data-loss issue is discovered, report it immediately and follow the repository's normal emergency process; do not use the clean-room feature approval as implied authorization.

## Design-to-implementation handoff

An `APPROVED_FOR_DESIGN` result may recommend implementation, tests, or a changed architecture. That recommendation is not an approval upgrade.

The worker must stop after the approved design deliverable and obtain a new approval level before target fixtures/tests or production changes.

## Spec-change invalidation rule

Approval applies to the behavior/scope that existed when it was granted.

If a later research/spec edit materially expands an approved CR entry or changes its behavior, data model, privacy implications, platform reach, migration requirements, or acceptance surface, the prior approval does not automatically cover the new material.

Use this rule:

- editorial clarification with no scope change: approval remains valid;
- stricter test wording for the same approved behavior: approval may remain valid at the same work level;
- material behavior/scope expansion: new approval required;
- new CR ID split out of an approved feature: not approved unless the approval explicitly covered the broader named feature and the new ID is only a non-expanding subdivision;
- merged/broadened CR IDs: require reapproval when scope increases.

When in doubt, treat the changed portion as unapproved.

## Approval evidence sources

Explicit approval may be recorded from:

- the user's direct instruction in the current ChatGPT/task context;
- an explicit GitHub comment/review from the project owner that clearly grants the feature/work level;
- another authenticated project-owner channel only when its content is directly available to the worker and unambiguous.

A recommendation, review approval, emoji/reaction, label, assignment, milestone, branch name, mergeability state, or CI status is not per-feature clean-room approval by itself.

## Delegation rule

A project owner may explicitly delegate approval authority to another named person/role for this program.

Absent explicit delegation, another worker/agent/contributor cannot approve features on the owner's behalf.

Delegation must itself be recorded with:

- delegator;
- delegate;
- allowed approval levels;
- allowed repositories/platforms;
- allowed feature scope;
- expiration/revocation rule if any.

There is currently no delegated approval authority recorded.
Loading
Loading