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
2 changes: 1 addition & 1 deletion docs/site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ in URLs and browser history. Links use the catalog’s pinned source records, no
live proof index; the search URL does not freeze future catalog updates. If history updates are unavailable, filtering and the explicit
link still work; if source verification fails, controls stay unavailable.

The Library's static text names its bytes. `#status-rendered-from` states the SHA-256 and byte count of `status.json` and of the `STATUS.md` snapshot that `config.json` pins, and `#proof-link` carries the pinned proof URL that `app.js` also assigns; `tests/test_reader_links.py` pins both to `config.json` and to the payload bytes, so refreshing `status.json`, `config.json` or the SIDE24 pins means updating those sentences and the three `<noscript>` routes in the same change. A refused source prints `Unavailable: … No result inferred.` followed by a link to the pinned source on GitHub, built only from a pin whose repository, commit and path pass the same guards as `core.safeSourceURL`.
The Library's static text names its bytes. `#status-rendered-from` states the SHA-256 and byte count of `status.json` and of the `STATUS.md` snapshot that `config.json` pins, and `#proof-link` carries the pinned proof URL that `app.js` also assigns; `tests/test_reader_links.py` pins both to `config.json` and to the payload bytes, so refreshing `status.json`, `config.json` or the SIDE24 pins means updating those sentences and the three `<noscript>` routes in the same change. A refused source prints `Unavailable: … No result inferred.` followed by a link to the pinned source on GitHub, built only from a pin whose repository, commit and path pass the displayed-identity guard that `core.verifiedBytes` applies to every pinned source (owner-fixed repository, 40-hex commit, no empty, `.` or `..` path segment, each segment URL-encoded).

## Browser evidence in CI

Expand Down
13 changes: 8 additions & 5 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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import {connectCatalogQuery} from './catalog-query.mjs?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import {prepareWorkspaceFragment} from './workspace-fragment.mjs?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import {verifiedJSON, verifiedBytes, validateStatus, validateCoefficient, safeSourceURL, hex40, hex64} from './core.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';
import {connectCatalogQuery} from './catalog-query.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';
import {prepareWorkspaceFragment} from './workspace-fragment.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';
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 Expand Up @@ -43,8 +43,11 @@ async function board(config) {
const labels={accept:'ACCEPT — scoped',amend:'AMEND / open',engineering:'Engineering only'};
const classes={accept:'ACCEPT-scoped',amend:'AMEND/open',engineering:'engineering-only'};
for(const section of s.sections) {
const card=node('article',undefined,section.key);card.append(node('span',String(section.count),'count'),node('h3',labels[section.key]),node('p','Selected source rows; read the scope below.'));
sourceHeader(card,'status-count-'+section.key,'engineering-only',s.source);el('counts').append(card);
const anchors={accept:'accept--scoped',amend:'amend--open',engineering:'engineering-only'};
const card=node('article',undefined,section.key);const scope=node('p',`Selected rows of STATUS.md at main ${s.source.commit.slice(0,7)} (snapshot ${s.snapshot_date}); later revisions are not shown. `);
scope.append(link('Read the rows and their scope at that commit ↗',`${base}STATUS.md#${anchors[section.key]}`));
card.append(node('span',String(section.count),'count'),node('h3',labels[section.key]),scope);
sourceHeader(card,'status-count-'+section.key,'engineering-only (this count display, not the rows it counts)',s.source);el('counts').append(card);
const details=node('details',undefined,'status-group');details.append(node('summary',`${labels[section.key]} · ${section.count}`));
for(const row of section.rows) {
const article=node('article',undefined,'status-object');const title=node('h4');cell(title,row[0],base);article.append(title);
Expand Down
2 changes: 1 addition & 1 deletion docs/site/brand.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a") center/contain no-repeat; }
.brand::before { content: ""; position: absolute; left: 0; top: 1px; width: 42px; height: 42px; background: url("brand/mark.svg?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5") center/contain no-repeat; }
.brand span { color: var(--ul-muted); font-size: 10px; letter-spacing: .18em; }
nav { gap: 12px 24px; flex-wrap: wrap; }
nav a { color: var(--ul-text); min-height: 36px; display: inline-flex; align-items: center; font-size: 13px; }
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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"><link rel="stylesheet" href="brand.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"><link rel="stylesheet" href="home.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"><link rel="stylesheet" href="reference.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"><link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"><meta name="theme-color" content="#07111f">
<script type="module" src="cite.mjs?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"></script>
<link rel="stylesheet" href="style.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"><link rel="stylesheet" href="brand.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"><link rel="stylesheet" href="home.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"><link rel="stylesheet" href="reference.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"><link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"><meta name="theme-color" content="#07111f">
<script type="module" src="cite.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"></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"><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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import {wireReferenceForm} from './source-reference.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';
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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a');
const services=()=>import('./museum.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5');
// 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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import { coneModel } from './explore-models.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';

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 dependency viewer · Universal Law</title>
<meta name="theme-color" content="#07111f">
<link rel="stylesheet" href="style.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="stylesheet" href="brand.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="stylesheet" href="dependencies.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<script type="module" src="dependencies.mjs?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"></script>
<link rel="stylesheet" href="style.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="stylesheet" href="brand.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="stylesheet" href="dependencies.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<script type="module" src="dependencies.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"></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 @@ -11,7 +11,7 @@ import {
parsePinnedGraph,
recordedContextRows,
unresolvedTargets,
} from './dependency-model.mjs?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
} from './dependency-model.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';

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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import { annulusModel, p15Model, remoteModel } from './geometry.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';

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="theme-color" content="#07111f">
<link rel="stylesheet" href="style.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="stylesheet" href="brand.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="stylesheet" href="explore.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<script type="module" src="explore.mjs?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"></script>
<link rel="stylesheet" href="style.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="stylesheet" href="brand.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="stylesheet" href="explore.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<script type="module" src="explore.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"></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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import { readExploreState, exploreStateURL } from './explore-state.mjs?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a';
import { coneModel, pinModel, paletteModel, applyCurvaturePreset } from './explore-models.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';
import { readExploreState, exploreStateURL } from './explore-state.mjs?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5';

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

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 @@ -4,9 +4,9 @@
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<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=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a"><link rel="stylesheet" href="museum.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="stylesheet" href="brand.css?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=564d949ae88eccee63fee29acedba9df2655018856458aae38f55d575271fd1a">
<link rel="stylesheet" href="style.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5"><link rel="stylesheet" href="museum.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="stylesheet" href="brand.css?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=ac4e693162704df79f021365303aaa944a7ea4511ef18d4a882b21ed7c80fda5">
<meta name="theme-color" content="#07111f">
</head>
<body>
Expand Down
Loading
Loading