Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 20 additions & 1 deletion docs/site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,29 @@ python3 -B -m unittest tests.test_site_asset_release
node --test tests/test_public_shop_frontend.mjs tests/test_explore_models.mjs tests/test_curvature_export.mjs tests/test_teaching_export.mjs tests/test_pin_export.mjs tests/test_palette_export.mjs tests/test_reader_navigation.mjs tests/test_source_reference.mjs tests/test_measurement_model.mjs tests/test_dependency_viewer.mjs tests/test_museum_frontend.mjs tests/test_workspace_navigation.mjs
python3 -B -S -m unittest discover -s tests -p test_reader_links.py -v
python3 -B -m unittest discover -s tests -p test_museum_data.py && python3 -B tools/museum_check.py && node --test tests/test_museum_geometry.mjs
python3 -B -E -S tests/test_public_shop_check_identity_control.py -v
python3 -B -E -O -S tests/test_public_shop_check_identity_control.py -v
python3 -B tools/public_shop_check.py
```

These are the local steps of the required `public-shop` job. In the node list, two museum tests report SKIP without `MUSEUM_FIXTURE`; `tools/museum_check.py` reruns them with that fixture. The Run locally and museum blocks below are subsets of this list.
These are the local steps of the required `public-shop` job, including both W8b public source identity controls. In the node list, two museum tests report SKIP without `MUSEUM_FIXTURE`; `tools/museum_check.py` reruns them with that fixture. The Run locally and museum blocks below are subsets of this list.

On macOS, a symlink alias in the process temporary directory can make the site-asset fixtures compare a lexical temporary path with the canonical path returned by the release inventory. That portability defect is owned in [#294](https://github.com/d6g8k5htny-coder/main/issues/294) and is not repaired here. The example below is a trusted local invocation setup only: it uses the caller's existing writable temporary directory, resolves that directory to its physical path, rejects the checkout and its descendants, and exports `TMPDIR` before starting a new Python process. It creates nothing, hard-codes no workstation path, and is not a production-path or fixture change.

```sh
(
checkout_dir="$(pwd -P)" || exit 1
trusted_tmpdir="$(CDPATH= cd -P "${TMPDIR:?Set TMPDIR to an existing trusted temporary directory}" && pwd -P)" || exit 1
case "$trusted_tmpdir/" in "$checkout_dir/"*)
printf '%s\n' 'Choose an existing temporary directory outside this checkout.' >&2
exit 1
;;
esac
test -w "$trusted_tmpdir" || exit 1
export TMPDIR="$trusted_tmpdir"
python3 -B -m unittest tests.test_site_asset_release
)
```

Check real desktop/mobile layouts, keyboard operation, light/dark appearance and source-unavailable behavior separately. The pure-model tests are not browser or scientific verification.

Expand Down
6 changes: 3 additions & 3 deletions docs/site/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {verifiedJSON, verifiedBytes, validateStatus, validateCoefficient, safeSourceURL, hex40, hex64} from './core.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import {connectCatalogQuery} from './catalog-query.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import {prepareWorkspaceFragment} from './workspace-fragment.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import {verifiedJSON, verifiedBytes, validateStatus, validateCoefficient, safeSourceURL, hex40, hex64} from './core.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
import {connectCatalogQuery} from './catalog-query.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
import {prepareWorkspaceFragment} from './workspace-fragment.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
const finishFragment=prepareWorkspaceFragment();
const el=id=>document.getElementById(id);
const node=(tag,text,cls)=>{const n=document.createElement(tag);if(text!==undefined)n.textContent=text;if(cls)n.className=cls;return n;};
Expand Down
2 changes: 1 addition & 1 deletion docs/site/brand.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ body > header {
color: var(--ul-text); font-weight: 750; letter-spacing: .13em;
position: relative; padding-left: 57px; min-height: 44px; line-height: 1.65;
}
.brand::before { content: ""; position: absolute; left: 0; top: 1px; width: 42px; height: 42px; background: url("brand/mark.svg?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436") center/contain no-repeat; }
.brand::before { content: ""; position: absolute; left: 0; top: 1px; width: 42px; height: 42px; background: url("brand/mark.svg?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef") center/contain no-repeat; }
.brand span { color: var(--ul-muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
nav { gap: 12px 24px; flex-wrap: wrap; }
nav a { color: var(--ul-text); min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; padding: 0 6px; margin: 0 -6px; }
Expand Down
4 changes: 2 additions & 2 deletions docs/site/cite.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta name="description" content="Cite exact proofs, calculations and software sources with their real metadata, immutable commits and stated scope.">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'none'; style-src 'self'; script-src 'self'; img-src 'self' data:; object-src 'none'; base-uri 'none'; form-action 'none'">
<title>Cite · Universal Law</title>
<link rel="stylesheet" href="style.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"><link rel="stylesheet" href="brand.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"><link rel="stylesheet" href="home.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"><link rel="stylesheet" href="reference.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"><link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"><meta name="color-scheme" content="dark light"><meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f8fc"><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#07111f">
<script type="module" src="cite.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"></script>
<link rel="stylesheet" href="style.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"><link rel="stylesheet" href="brand.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"><link rel="stylesheet" href="home.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"><link rel="stylesheet" href="reference.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"><link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"><meta name="color-scheme" content="dark light"><meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f8fc"><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#07111f">
<script type="module" src="cite.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"></script>
</head><body class="reader-home"><a class="skip-link" href="#main-content">Skip to content</a>
<header><a class="brand" href="index.html">UNIVERSAL LAW <span>MATHEMATICS IN THE OPEN</span></a><nav aria-label="Primary"><a href="index.html">Home</a><a href="explore.html">Explore</a><a href="research.html">Research</a><a href="workspace.html#inventory">Library</a></nav></header>
<nav class="reader-tools" aria-label="Research tools"><span class="reader-tools-label" aria-hidden="true">Research tools</span><a href="reproduce.html">Reproduce</a><a href="cite.html" aria-current="page">Cite</a></nav>
Expand Down
2 changes: 1 addition & 1 deletion docs/site/cite.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {wireReferenceForm} from './source-reference.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import {wireReferenceForm} from './source-reference.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
const byId = id => document.getElementById(id);
wireReferenceForm({form:byId('reference-form'), repository:byId('reference-repository'), commit:byId('reference-commit'), path:byId('reference-path'), sha256:byId('reference-sha256'), output:byId('reference-output'), json:byId('reference-json'), bibtex:byId('reference-bibtex'), link:byId('reference-link'), status:byId('reference-status'), actions:byId('reference-actions'), copyText:byId('reference-copy'), copyJSON:byId('reference-copy-json'), copyBibTeX:byId('reference-copy-bibtex'), share:byId('reference-share'), clipboard:globalThis.navigator?.clipboard, location:globalThis.location, history:globalThis.history, events:globalThis.window});
byId('reference-builder').hidden = false;
2 changes: 1 addition & 1 deletion docs/site/conditionals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function renderProjection(document,host,data,source){
el(document,'p','Generated from verified source bytes. This graph is not formal verification, a proof review, or a scientific-status register.'));
host.replaceChildren(article);
}
const services=()=>import('./museum.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436');
const services=()=>import('./museum.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef');
// The museum module already verifies config → manifest → index/status once per
// page fetch and caches every pinned byte request. This route consumes that same
// verified startup, so it adds only the audited-descriptor check and projection.
Expand Down
2 changes: 1 addition & 1 deletion docs/site/curvature-export.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Bounded, local export of the Peaks and saddles teaching diagram. No source fetch
// or proof verification occurs here; the identity below is recorded provenance.
import { coneModel } from './explore-models.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { coneModel } from './explore-models.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';

const SVG_NS = 'http://www.w3.org/2000/svg';
const PUBLIC_EXPLORE = 'https://d6g8k5htny-coder.github.io/main/site/explore.html';
Expand Down
10 changes: 5 additions & 5 deletions docs/site/dependencies.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'self'; style-src 'self'; script-src 'self'; img-src 'self' data:; object-src 'none'; base-uri 'none'; form-action 'none'">
<title>Claim dependencies · Universal Law</title>
<meta name="color-scheme" content="dark light"><meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f8fc"><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#07111f">
<link rel="stylesheet" href="style.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="stylesheet" href="brand.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="stylesheet" href="dependencies.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<script type="module" src="dependencies.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"></script>
<link rel="stylesheet" href="style.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="stylesheet" href="brand.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="stylesheet" href="dependencies.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<script type="module" src="dependencies.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"></script>
</head>
<body class="dependency-page">
<a class="skip-link" href="#main-content">Skip to content</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/site/dependencies.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
recordedContextRows,
recordedReviewText,
unresolvedTargets,
} from './dependency-model.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
} from './dependency-model.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';

const byId = id => document.getElementById(id);

Expand Down
2 changes: 1 addition & 1 deletion docs/site/explore-models.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// NON-CERTIFYING educational arithmetic. These functions illustrate source
// definitions; they do not simulate a field or estimate a theorem's constants.
import { annulusModel, p15Model, remoteModel } from './geometry.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { annulusModel, p15Model, remoteModel } from './geometry.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';

function finite(value, name) {
if (!Number.isFinite(value)) throw new RangeError(`${name} must be finite`);
Expand Down
10 changes: 5 additions & 5 deletions docs/site/explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<title>Explore the mathematics · Universal Law</title>
<meta name="description" content="Three hands-on explanations of curvature, shrinking scales, and finite obstructions, with a path to the underlying research.">
<meta name="color-scheme" content="dark light"><meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f8fc"><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#07111f">
<link rel="stylesheet" href="style.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="stylesheet" href="brand.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="stylesheet" href="explore.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<script type="module" src="explore.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"></script>
<link rel="stylesheet" href="style.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="stylesheet" href="brand.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="stylesheet" href="explore.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<script type="module" src="explore.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"></script>
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
Expand Down
12 changes: 6 additions & 6 deletions docs/site/explore.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { coneModel, pinModel, paletteModel, applyCurvaturePreset } from './explore-models.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { readExploreState, exploreStateURL } from './explore-state.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { coneModel, pinModel, paletteModel, applyCurvaturePreset } from './explore-models.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
import { readExploreState, exploreStateURL } from './explore-state.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';

import { captureCurvatureDiagram, serializeCurvatureSVG, createCitationController } from './curvature-export.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { captureTeachingDiagram, createFigureCitationController } from './teaching-export.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { serializePinSVG, pinFigureCitation } from './pin-export.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { serializePaletteSVG, paletteFigureCitation } from './palette-export.mjs?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436';
import { captureCurvatureDiagram, serializeCurvatureSVG, createCitationController } from './curvature-export.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
import { captureTeachingDiagram, createFigureCitationController } from './teaching-export.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
import { serializePinSVG, pinFigureCitation } from './pin-export.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';
import { serializePaletteSVG, paletteFigureCitation } from './palette-export.mjs?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef';

const ns = 'http://www.w3.org/2000/svg';
const byId = id => document.getElementById(id);
Expand Down
6 changes: 3 additions & 3 deletions docs/site/formal.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<meta name="description" content="What the original 27 September 2026 Lean lane's 13 scalar companions establish, and what stays outside them.">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self'; script-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'">
<title>Formal verification · Universal Law</title>
<link rel="stylesheet" href="style.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436"><link rel="stylesheet" href="museum.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="stylesheet" href="brand.css?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=76f61a1e04a75db930f63796bfe338fd6982853a0359ff2e7f1886b4113e7436">
<link rel="stylesheet" href="style.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef"><link rel="stylesheet" href="museum.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="stylesheet" href="brand.css?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=1832ae004ce33a75e016d7aad141d322bd98cc1e5225293f29ae5350050fafef">
<meta name="color-scheme" content="dark light"><meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f8fc"><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#07111f">
</head>
<body>
Expand Down
Loading
Loading