components
All repositories: gitoria
9.3 KB
# MP25 — native loop options approved; deployment in progressThe final branch is `mp25`, based on components main `bd4aa80`. Atlas authorized deployment after separating the existing last-item issue into components#26. The implementation is one commit with the requested title. Final deployment evidence will be recorded in the scratch REPORT.md.## Result`skip = true` remains the default. `skip = false` removes both ten-second buttons through the View’s own if conditions. Keyboard seeking stays available. `repeat = 'off'` remains the default. `repeat = 'one'` binds the native loop attribute on both video and audio; it restarts the same element and source without calling onPlay, reloading the source or receiving ended. mpEnded is byte-for-byte the main-branch handler and only calls onPlay(next) when a next item exists. Shuffle, Previous/Next, repeat-all and favourites remain in Jukebox.The bound value is `repeatOne = repeat == 'one' ? true : null`. Null omits/removes the attribute when off. Direct false produced `loop="false"` in this hl:web version, which enables HTML looping. There is no JavaScript workaround or framework modification. The README and two showcase toggle lines document and demonstrate the options, with their current values visible.## Checks and red proofThe MP25 focused gate now has ten checks. The two pre-existing last-item assertions were moved unchanged to tests/mp-last-item.mjs (header: known failing, components#26), outside GATES. The earlier focused run passed 10 and failed those 2. The lisbeth Chrome confirmation also passes those same 10 and fails the same 2. Both repeat-one checks pass for video and audio: the identical element/source returns near zero and keeps playing, with zero extra loadstart and ended events. Skip removal/restoration, mode changes, default queue advance and reload defaults pass.Both deploy.sh gates were run as separate blocking commands. `tests/browser.mjs` completed with **623 passed, 0 failed** (`approved-browser-gate.log`), after the authorized components#26 test separation. The earlier native-browser-gate.log was 623 passed and 2 failed. Its only failures are `MP25 repeat=off stops on the last item` and `MP25 default repeat stops at last item`. `tests/virtual-list.mjs` completed with **26 passed, 0 failed** (`approved-virtual-gate.log`). No gate was weakened or skipped to obtain a green result.The final red proof uses bd4aa80’s media-player implementation plus ONLY two inert option declarations so the final demo bindings compile. The same final test produced **5 passed, 7 failed** (`native-red-final.log`). Both new skip/repeat behaviors fail there, as expected. The same two last-item checks also fail on that old implementation. The served old handler was saved in `red-served-module.js` and it matches main’s logic. This is a behavioral old-code proof with declarations added, not a claim that the untouched old file can compile the new bindings.## Blocker and next stepWith repeat off, the last audio item ends and then reloads and starts again. The measured event order is seeking at 45, seeked at 45, pause at 45.029899, ended at 0, loadstart at 0, loadedmetadata at 0, play at 0, all for `/media/test-audio.mp3?plain`. Its final loop property is false and mode is off. This occurs in the old implementation, the new focused checks, the full browser gate and his Chrome. The underlying cause has not been established. A reproduction note is in `wt/.scratch/mp25-last-item/README.md`; trace evidence is in `native-trace.log`, `native-red-final.log` and `native-proof.log`.Atlas opened components#26 for this existing media lifecycle failure and explicitly approved proceeding with MP25. Investigate why the last-item ended path reapplies/reloads the same source, keeping mpEnded’s ownership boundary and native looping. The MP25 browser gate now has zero failures; the separate components#26 runner preserves the known failure. No framework or JavaScript workaround was added.## Visual and CSS proofFinal screenshots were captured in his lisbeth Chrome through :9223 with one own plain tab and closed afterward. `native-final-{390,800,1280}.png`, matching `native-final-player-*.png`, `option-skip.png` and `option-repeat.png` are under this scratch directory. I inspected all five final shots in `native-proof-montage.png`: default player and queue positions remain unchanged; the phone still wraps fullscreen onto its own line; the skip-off screenshot has neither ten-second button; the two showcase lines show their current values. Playback was checked separately in that same own tab.| Viewport | Complete default player region AE ||---|---:|| 390×844 | 0 || 800×1280 | 0 || 1280×800 | 0 |The region includes the complete player and queue. Whole-page AE is not claimed because the two showcase lines were added below the player. The served global stylesheet `/__hl/app.css` remains byte-identical to baseline (`before.css` versus `native-final.css`). No Style line changed.DOCS: Read HL-PRIMER.md and CODE-ORDER.md; used COMPONENTS.md §4 Styles, §12 Composition parameters, Conditional rendering, §1 View attributes, §6 reactive attribute bindings and the attribute true/null omission rule. The installed framework’s viewserver.hl Boolean list excludes loop; direct false therefore renders loop="false". Its nullable bound-attribute behavior in compile.hl supports true/null and is verified in SSR and browser mode changes. Documentation gap: COMPONENTS.md should explicitly state which Boolean attribute names the implementation recognizes. The unresolved last-item lifecycle failure is recorded separately and is not yet diagnosed as a framework defect.## Processes and request budgetEvery focused runner stopped its own server and headless browser through the driver. Logged server PIDs for this continuation are 2558405, 2565665 (failed overlapping start), 2568684, 2575127, 2579735, 2584444, 2592987 and 2600818. The overlapping runner node 2565658 and Chrome 2565671 were stopped by exact PID after checking their working directories; that run is not counted as proof. The full browser gate server 2617595 and Chrome 2619053 exited through gate teardown. The virtual gate also completed teardown. No tunnel was started. Final worker server/browser count is zero; ports 8800–8819 are empty. Earlier run cleanup is recorded in the previous report history and stopped.txt. Individual browser PIDs were not logged for all focused runs.The continuation exceeded the approximately 30-request allowance, mainly through repeated status/wait requests while investigating the baseline failure and completing the long gate. No new feature work followed the blocker. All processes were stopped and the branch was committed for review.The final :9223 list follows verbatim. Its only page target is the original about:blank.```json[ {"description": "","devtoolsFrontendUrl": "https://chrome-devtools-frontend.appspot.com/serve_rev/@1d17a2e2ee147bb7d6ae2ab6abdb3a2510c17775/inspector.html?ws=127.0.0.1:9223/devtools/page/2B36106C7AF83C7D196B54C5C499429C","id": "2B36106C7AF83C7D196B54C5C499429C","title": "about:blank","type": "page","url": "about:blank","webSocketDebuggerUrl": "ws://127.0.0.1:9223/devtools/page/2B36106C7AF83C7D196B54C5C499429C"}, {"description": "","devtoolsFrontendUrl": "https://chrome-devtools-frontend.appspot.com/serve_rev/@1d17a2e2ee147bb7d6ae2ab6abdb3a2510c17775/inspector.html?ws=127.0.0.1:9223/devtools/page/744D9B861D460A3E55809DDF5858D771","id": "744D9B861D460A3E55809DDF5858D771","title": "Omnibox Popup","type": "browser_ui","url": "chrome://omnibox-popup.top-chrome/","webSocketDebuggerUrl": "ws://127.0.0.1:9223/devtools/page/744D9B861D460A3E55809DDF5858D771"}, {"description": "","devtoolsFrontendUrl": "https://chrome-devtools-frontend.appspot.com/serve_rev/@1d17a2e2ee147bb7d6ae2ab6abdb3a2510c17775/inspector.html?ws=127.0.0.1:9223/devtools/page/383EBE0B22504D67922F653F60C9096B","id": "383EBE0B22504D67922F653F60C9096B","title": "Offscreen Audio Player & GIF Generator","type": "background_page","url": "chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/offscreen.html","webSocketDebuggerUrl": "ws://127.0.0.1:9223/devtools/page/383EBE0B22504D67922F653F60C9096B"}, {"description": "","devtoolsFrontendUrl": "https://chrome-devtools-frontend.appspot.com/serve_rev/@1d17a2e2ee147bb7d6ae2ab6abdb3a2510c17775/inspector.html?ws=127.0.0.1:9223/devtools/page/A66C5170F29AEECBD9DB9D4A5ABCE723","id": "A66C5170F29AEECBD9DB9D4A5ABCE723","title": "Omnibox Popup","type": "browser_ui","url": "chrome://omnibox-popup.top-chrome/omnibox_popup_aim.html","webSocketDebuggerUrl": "ws://127.0.0.1:9223/devtools/page/A66C5170F29AEECBD9DB9D4A5ABCE723"}, {"description": "","devtoolsFrontendUrl": "https://chrome-devtools-frontend.appspot.com/serve_rev/@1d17a2e2ee147bb7d6ae2ab6abdb3a2510c17775/worker_app.html?ws=127.0.0.1:9223/devtools/page/1E0E760D6C79868B75E0C95DDC7AFD4C","id": "1E0E760D6C79868B75E0C95DDC7AFD4C","title": "Service Worker chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/service-worker-loader.js","type": "service_worker","url": "chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/service-worker-loader.js","webSocketDebuggerUrl": "ws://127.0.0.1:9223/devtools/page/1E0E760D6C79868B75E0C95DDC7AFD4C"} ]```Final squashed commit: `860cf756bea4e37cae61c627c901b075d6e69f37`.
Branches
- b27b
- mainmain branch
- vl27-resetkey
Latest commits
- a06fc778Reset virtual-list window when the host changes resetKeyAtlas
- 3aab598cRe-vendor complete Hybriel day73 set for virtual-list resetAtlas
- 337ca075MD1 gate check measures frames in the page, not milliseconds from outside, and takes the middle load (components#30)mre
- f5f131c5Record AP29 autoplay comparisons and passing gatesmre
- 51c38187Gate media autoplay on first load and after client mountmre
- a3f2223dRecord successful B44 deployment and live proofmre
- 06c1e021Record passing B44 browser rerunmre
- c9861533Record B44 component proof and browser gate blockermre
- 1b7413beIgnore detached media events and space demo option outputsmre
- ca3b4959Re-vendor complete Hybriel plugins and runtime to day44mre
- df9e7df9Last-item checks run in the browser gate (components#26 fixed on day41); media-player loop is a plain Booleanmre
- 895a5afcRe-vendor complete Hybriel plugins and runtime to day41mre
- 16006bb3Backup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
- 88397fc3Re-vendor complete Hybriel plugins and runtime to day39mre
- 9b872cedRecord IC28 deployment and live icon verificationmre
- 46fefaa7Count the icons entry in the offline home-page checkmre
- c7e14cabRecord IC28 rerun and unchanged-main baseline comparisonmre
- 5e090ffdRecord IC28 review evidence and gate resultsmre
- adfe2c4dAdd shuffle, repeat and repeatOne shared iconsmre
- c96709c8media-player: skip = false and repeat = 'one' options (jukebox#19)mre