LayerFS's trajectory page is served by a loopback service the host starts once a store exists (no write into the install), keeps its view in location.hash across its 5 s reload, reports every skipped secret-shaped file in sorted order (#477), and drops the unloaded sample. By @Mola-maker. Run at dfa99f7e merged onto current main: - mote (macOS, Bun 1.4.2, temp HOME): bun test in packages/layerfs, 64 pass 0 fail, 2 of 2; bun scripts/check.mjs layerfs ok; the temp HOME held nothing from layerfs afterwards. - WSL2 Ubuntu 24.04 (temp HOME): 64 pass 0 fail, 2 of 2 (#477's item 3 was red here on f3633eaf8). - Broken by hand: dropping the `location.hash =` assignment in page/app.js turns the hash test red. Earlier rounds' breaks (Origin/Host checks, < escape, start gates, nosniff, sort, restore/settle/round, reload guard) each went red, see the 05:18 and 05:45 reviews. - Earlier round: the page in a magpie-shaped sandboxed frame with pagePolicy CSP, Chromium and WebKit. - PR checks: test and on-npm pass. Not tried: a real magpie window.
25 lines
894 B
HTML
25 lines
894 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>LayerFS trajectory</title>
|
|
<style>
|
|
:root { color-scheme: light dark; }
|
|
html, body { margin: 0; height: 100%; }
|
|
body {
|
|
display: grid; place-items: center;
|
|
font: 13px/1.5 var(--magpie-font, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif);
|
|
background: var(--magpie-bg, Canvas); color: var(--magpie-fg, CanvasText);
|
|
}
|
|
.box { text-align: center; color: var(--magpie-muted, GrayText); }
|
|
.box b { display: block; color: var(--magpie-fg, CanvasText); font-size: 14px; margin-bottom: 4px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="box"><b>LayerFS trajectory</b><span>Connecting to the local trajectory service…</span></div>
|
|
<script src="_magpie/bridge.js"></script>
|
|
<script src="boot.js"></script>
|
|
</body>
|
|
</html>
|