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
4 changes: 3 additions & 1 deletion docs/site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The public home introduces the mathematics before its implementation. All pages
- **Cite (`cite.html`):** object-specific citation guidance and a local immutable-reference builder. It checks input syntax, not source existence or scientific status.
- **Source records (`museum.html`):** the preserved historical source-bound exhibits, review cards and conditional routes. It names its separate snapshot; later proof-index results are not silently imported into old cards.
- **Formal (`formal.html`):** what the original 27 September 2026 Lean lane's 13 scalar companions establish and what stays outside them; an explanation at that source snapshot, not a current formalization inventory or live acceptance register. Its dated "Since this snapshot" section points to later formal packages.
- **Mathematics (`dependencies.html`):** current equation excerpts, a progressively expanded graph, Graph/List views, a loaded-neighborhood minimap, five separate evidence metadata axes, exact sources and static node pages, followed by the preserved dated dependency snapshot. It does not update scientific classifications or replace the proof index.
- **Mathematics (`dependencies.html`):** current equation excerpts, a progressively expanded graph, Graph/List views, a loaded-neighborhood minimap, five separate evidence metadata axes, exact sources and static node pages with a "Resume this node" block, followed by the preserved dated dependency snapshot. It does not update scientific classifications or replace the proof index.
- **Measure (`measure.html`):** a synthetic counts-to-density teaching example with invented inputs; it generates no random field and validates no theorem.

The front and technical layers use the same existing evidence. No second scientific register or server backend is added. Source identities are available in expandable disclosures, while object/class labels and unavailable states remain visible. The original coefficient artifact’s `scientific_acceptance: false` is retained; later scoped review remains separate.
Expand All @@ -21,6 +21,8 @@ The front and technical layers use the same existing evidence. No second scienti

`tools/current_site_data.py` resolves public main and Math- commits once, verifies their complete Git trees and the seven acquired source files, and extracts exact indented proof displays. Other inventory rows bind paths and Git blobs; their document bytes are not downloaded. The page calls equation blocks excerpts and keeps their surrounding proof scope available by pinned line links. `tools/current_site_build.py` renders one payload offline into marked current sections and static node pages; Research and Formal stay script-free. Current observations and original dated reading cuts have separate identities.

"Resume this node" appears in the atlas inspector and on each current static node page. Both come from `resumeProjection` in `current-model.mjs`; `tools/current_site_history.py` keeps a Python copy, and `tests/test_current_site_resume.mjs` checks that the two agree on every node. The block names the snapshot's graph commit, path, SHA-256 and observation time, and warns readers to refresh from the live record before any ownership- or head-dependent action. Recorded `review_*` fields are labelled as review records, not as the current task, an owner or completion. Next action, missing input, owner evidence and retained stop read "not recorded in this snapshot", because the graph records none of them. A bare `review_issue` number names no repository, so it is not linked. Continuation links come only from the small site-maintained `RESUME_TASK_RECORDS` table of explicitly identified operational pointers; they are not graph metadata, scientific acceptance or source-binding admission. Archived snapshot pages are unchanged.

The configured `.github/workflows/current-site.yml` builds on main pushes and a 30-minute schedule and deploys the complete tested docs artifact through Pages Actions. Each candidate needs its own hosted success and deployed-source acceptance. A failed source refresh cannot reach deployment. Source observations are not mathematical revalidation. Existing diagrams on Explore keep their defined teaching scope; the new source panel links the advancing work.


Expand Down
11 changes: 9 additions & 2 deletions docs/site/atlas.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import {currentSnapshot,element,anchor} from './current.mjs?site-release=f52e2b698339fe78dfe1f348052e97f0b93ef600bb0e60c16ff09fe85e9a619d';
import {hasNode,readState,neighborhood,searchGraph,downstreamReach,requiredDependencyPaths,REQUIRED_ROUTE_SEMANTICS,evidenceAxes,sourceURL,sourceForNode,nodePage} from './current-model.mjs?site-release=613325f98e4ccd4b0f68cd21e0627d61c8497d4d9f649ba194ae491d57e80190';
import {currentSnapshot,element,anchor} from './current.mjs?site-release=8a66eb0ad9971fbffe07579998488e81195a024161995c3c4c7d4b34e1ec7262';
import {hasNode,readState,neighborhood,searchGraph,downstreamReach,requiredDependencyPaths,REQUIRED_ROUTE_SEMANTICS,evidenceAxes,sourceURL,sourceForNode,nodePage,resumeProjection,RESUME_NOT_RECORDED} from './current-model.mjs?site-release=713e81d352fe16f86116e405448ab16604f861c360841ba0f7d7396fd9ccb594';
import {createAtlasShell,viewForViewport} from './atlas-shell.mjs?site-release=9fce5f707e3486ef152ffdaa1cf1e4adf7cd9cf9dac116407a69b6528b4c656c';
const byId=id=>document.getElementById(id);
const svgElement=(tag,attrs)=>{const n=document.createElementNS('http://www.w3.org/2000/svg',tag);for(const [k,v]of Object.entries(attrs))n.setAttribute(k,String(v));return n;};
// Mirrors the static node page block rendered from the same projection by tools/current_site_history.py.
function resumeSection(view){const section=element('section',undefined,'resume-node');section.id='atlas-resume';section.setAttribute('aria-labelledby','atlas-resume-heading');const heading=element('h4','Resume this node');heading.id='atlas-resume-heading';
const fields=items=>{const dl=element('dl',undefined,'resume-fields');for(const item of items){const dd=element('dd');if(item.url)dd.append(anchor(item.text,item.url));else dd.append(element('code',item.text));if(item.note)dd.append(` ${item.note}`);dl.append(element('dt',item.label||item.field),dd);}return dl;};
const s=view.snapshot,warning=element('p',undefined,'resume-warning');warning.dataset.freshness=view.freshness;warning.append(element('strong',`As of ${s.observed_at} · ${view.freshness}.`),` ${view.warning}${view.freshness==='current'?'':' Do not rely on this snapshot for current ownership or heads.'}`);
section.append(heading,warning,element('p',`Snapshot identity: graph ${s.graph_repository} commit ${s.graph_commit} · ${s.graph_path} · SHA-256 ${s.graph_sha256} · main commit ${s.main_commit||RESUME_NOT_RECORDED}.`),element('h5','Recorded graph state'),fields(view.state),element('h5','Recorded review record'),element('p',view.review.label),view.review.fields.length?fields(view.review.fields):element('p',`Review metadata: ${RESUME_NOT_RECORDED}.`),element('h5','Operational task state'),fields(view.operational),element('h5','Continuation'));
const task=view.continuation,p=element('p');if(task)p.append(anchor(task.label,task.url),`. ${task.meaning} Site-maintained pointer, not part of the graph snapshot; identified on ${task.identified_on} in `,anchor("the coordinator's activation record",task.identified_in),'. The linked comment is mutable; read it live before acting.');else p.textContent=view.continuation_text;section.append(p);return section;}
function linkRecord(label,value){const p=element('p');if(typeof value==='string'){try{const u=new URL(value);if(u.protocol==='https:'&&u.hostname==='github.com'&&!u.username&&!u.password&&!u.port){p.append(anchor(label,value));return p;}}catch{}}p.textContent=`${label}: ${value||'not recorded'}`;return p;}
async function start() {
const root=byId('current-atlas');if(!root)return;
Expand Down Expand Up @@ -31,6 +37,7 @@ async function start() {
const reachPanel=element('p',reachText);reachPanel.id='atlas-reach';panel.append(reachPanel,element('p',`Complete indexed snapshot query at ${data.graph.identity.commit}. Each count excludes the selected node and counts distinct downstream nodes. All edges includes context; required edges uses required edges at every step. These counts do not identify blocked theorems or prove completeness.`));byId('atlas-diagnostic-selection').textContent=`Selected ${selected}: ${reachText} No scientific disposition is inferred.`;
panel.append(element('p',n.scope||n.notes||'Statement and scope extraction not recorded. Inspect the source reference.'));
panel.append(anchor('Read this node without JavaScript',nodePage(selected)));
panel.append(resumeSection(resumeProjection(data,selected,Date.now())));
const dl=element('dl',undefined,'atlas-axes');for(const a of evidenceAxes(n)){dl.append(element('dt',a.axis),element('dd',`${a.axis[0].toUpperCase()+a.axis.slice(1)} metadata ${a.state==='recorded'?'recorded':'not recorded'} · ${a.state}`));}panel.append(dl,element('p','These labels describe metadata in this graph snapshot. Evidence values, applicability and custody are separate. No explicit graph-to-artifact binding · Artifact roles: unknown · Custody: unknown.'));
const source=sourceForNode(data,n);if(source){panel.append(anchor('Immutable source reference (document bytes not acquired by this graph view)',sourceURL(source)));panel.append(element('p',`Git blob ${source.blob} · ${source.bytes} bytes in the pinned tree. Reference presence is not mathematical verification.`));}else panel.append(element('p',n.source?`Unresolved source reference: ${n.source}. No matched public file in this pinned source inventory.`:'Source reference not recorded.'));
for(const key of Object.keys(n).filter(k=>k.startsWith('review_'))){const value=n[key];const pinned=key==='review_source'?data.sources.find(s=>s.repository===data.graph.identity.repository&&s.path===value):null;if(pinned)panel.append(anchor('Recorded review source at the pinned commit',sourceURL(pinned)));else panel.append(linkRecord(`Recorded ${key}`,value&&typeof value==='object'?JSON.stringify(value):value));}
Expand Down
6 changes: 3 additions & 3 deletions docs/site/cite.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<title>Cite · Universal Law</title>
<link rel="stylesheet" href="style.css?site-release=6eb56e5c80ebf5811a77d0cb8583bf77dd8be44f170bebc9ae10721b2e6e9ab1"><link rel="stylesheet" href="brand.css?site-release=3e01852d8990ec3e9bbb351abc10e1a60e9e085041b7a7b1de95a1033089b751"><link rel="stylesheet" href="home.css?site-release=3745da1d9ea12f78ef0e350eb982d603d5e476db0b4cbf36746104a13fbf663e"><link rel="stylesheet" href="reference.css?site-release=f8709329ef33be5c92a2a53d27e906f2433836bc0a78324bfb8a15ecd2ffee48"><link rel="icon" type="image/svg+xml" href="brand/mark.svg?site-release=ef97bd43ea3d8999dbf26e5707d467987a745bf961cac2b3163f94062d087ba7"><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=d069bacebd8467fb69c0ae1de0abb85e6ac8b9b80ba152fc1c8d56fafa10e9bf"></script>
<link rel="stylesheet" href="current.css?site-release=c2d8a10cd0b80aafafc287e389f20487194b804d79dfb99eafbe3387b3b80925">
<script type="module" src="current.mjs?site-release=f52e2b698339fe78dfe1f348052e97f0b93ef600bb0e60c16ff09fe85e9a619d"></script>
<link rel="stylesheet" href="current.css?site-release=9b70fee7f54345912905f33f4d15af39748b09c456bd88527b534cc9ceaae207">
<script type="module" src="current.mjs?site-release=8a66eb0ad9971fbffe07579998488e81195a024161995c3c4c7d4b34e1ec7262"></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><a href="dependencies.html#current-atlas">Mathematics</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 Expand Up @@ -38,7 +38,7 @@ <h2>Current research sources</h2>
<button class="current-more" type="button" hidden>Show more files</button>
<noscript><p>Use the <a href="nodes/index.html#sources">complete static source inventory</a>.</p></noscript>
</details>
<p class="current-capacity">History capacity: 2 of 512 mathematical archives; 26233798 of 805306368 conservative retained bytes (including registry and release-key allowances). Publication refuses additional versions at capacity; no history is pruned.</p>
<p class="current-capacity">History capacity: 2 of 512 mathematical archives; 26329020 of 805306368 conservative retained bytes (including registry and release-key allowances). Publication refuses additional versions at capacity; no history is pruned.</p>
</section>
<!-- CURRENT-SITE:END -->

Expand Down
2 changes: 1 addition & 1 deletion docs/site/current-meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"archive": "7c583e28878d2bf2c94bf37325820bd5eb1e7f3f557e8a78dd27881a27f6548c",
"bytes": 962639,
"history_manifest_sha256": "b9c3e45906c010cdbc5e1e3a713a291327dab4ed49dac4e5aacbcc7b75abafe1",
"history_manifest_sha256": "38d5c87d9217f782eb6361faefa3a4dac33a76e0148ea351d9054be6549f8cae",
"observed_at": "2026-10-13T14:56:55Z",
"sha256": "560d3d4e77369835c832dbb4fd0d12f4988744045b9cbc4c7978beddb6e9d20f"
}
25 changes: 25 additions & 0 deletions docs/site/current-model.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,31 @@ export function filterSources(sources,query) {
export function evidenceAxes(node) {
return ['source','review','kernel','computation','alignment'].map(axis=>({axis,state:(axis==='source' && !!node.source)||(axis==='review' && Object.keys(node).some(k=>k.startsWith('review_')&&node[k]))?'recorded':'not_recorded'}));
}
export const RESUME_NOT_RECORDED='not recorded in this snapshot';
export const RESUME_FRESHNESS_WARNING='Refresh from the live canonical record before any ownership- or head-dependent action. This block is a dated snapshot observation, not live task state.';
export const RESUME_REVIEW_LABEL='Recorded review metadata. This is a review record, not the current task, an owner claim or a completion record. A closed or accepted review does not establish that work on this node is finished.';
export const RESUME_OPERATIONAL=Object.freeze([['next_action','Next action'],['missing_input','Missing input'],['owner_evidence','Owner evidence'],['retained_stop','Retained stop']].map(row=>Object.freeze(row)));
export const RESUME_ISSUE_NOTE='Issue number recorded without a repository in this snapshot; no link is inferred.';
export const RESUME_NO_TASK='No explicitly identified task record for this node. A recorded review issue is not used as a task record.';
// Site-maintained task pointers, not graph metadata. Tools/current_site_history.py keeps the same table.
export const RESUME_TASK_RECORDS=Object.freeze({
'math.d5-component.punctured-pin-proof':Object.freeze({url:'https://github.com/d6g8k5htny-coder/main/pull/327#issuecomment-6321244764',label:'Operational request: main#327 comment 6321244764',meaning:'A request for a source-only registration input for this node. It is an operational pointer, not scientific acceptance, source-binding admission, a registration or an owner claim.',identified_on:'2026-10-21',identified_in:'https://github.com/d6g8k5htny-coder/main/issues/419#issuecomment-6321679618'}),
});
const REVIEW_URL=/^https:\/\/github\.com\/d6g8k5htny-coder\/(?:main|Math-)\/(?:issues|pull)\/[1-9][0-9]*(?:#[A-Za-z0-9_-]+)?$/;
const metadataText=value=>typeof value==='string'?value:JSON.stringify(value);
// One projection feeds the atlas inspector and the static node pages; only `now` adds a freshness state.
export function resumeProjection(snapshot,id,now) {
const graph=snapshot?.graph?.data;if(!hasNode(graph,id))return null;
const node=graph.nodes[id],identity=snapshot.graph.identity,own=key=>Object.prototype.hasOwnProperty.call(node,key);
const task=Object.prototype.hasOwnProperty.call(RESUME_TASK_RECORDS,id)?RESUME_TASK_RECORDS[id]:null;
return {node:id,
snapshot:{observed_at:snapshot.observed_at,graph_repository:identity.repository,graph_commit:identity.commit,graph_path:identity.path,graph_sha256:identity.sha256,main_commit:snapshot.repositories.find(r=>r.repository==='d6g8k5htny-coder/main')?.commit??null},
freshness:Number.isFinite(now)?freshness(snapshot.observed_at,now):null,warning:RESUME_FRESHNESS_WARNING,
state:['classification','controlling'].map(field=>({field,text:own(field)&&node[field]!==null?metadataText(node[field]):RESUME_NOT_RECORDED})),
review:{label:RESUME_REVIEW_LABEL,fields:Object.keys(node).filter(key=>key.startsWith('review_')).map(field=>{const value=node[field];return {field,text:metadataText(value),url:typeof value==='string'&&REVIEW_URL.test(value)?value:null,note:field==='review_issue'&&typeof value==='number'?RESUME_ISSUE_NOTE:null};})},
operational:RESUME_OPERATIONAL.map(([field,label])=>({field,label,text:RESUME_NOT_RECORDED})),
continuation:task?{...task}:null,continuation_text:task?null:RESUME_NO_TASK};
}
export const MAX_WINDOW_NODES=150;
export const REQUIRED_ROUTE_SEMANTICS='One shortest route per unresolved research target follows recorded dependent-to-prerequisite edges, with every edge required. The selected root is excluded as a target; contextual edges supply no required route.';
const REACH_LABELS=Object.freeze({allEdge:'All-edge reach (includes context)',requiredOnly:'Required-dependency reach'});
Expand Down
9 changes: 9 additions & 0 deletions docs/site/current.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/site/current.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {fetchVerifiedSnapshot,freshness,filterSources,sourceURL,projectCurrentAcquisitions,ACQUISITION_LABELS,ACQUISITION_UNAVAILABLE} from './current-model.mjs?site-release=613325f98e4ccd4b0f68cd21e0627d61c8497d4d9f649ba194ae491d57e80190';
import {fetchVerifiedSnapshot,freshness,filterSources,sourceURL,projectCurrentAcquisitions,ACQUISITION_LABELS,ACQUISITION_UNAVAILABLE} from './current-model.mjs?site-release=713e81d352fe16f86116e405448ab16604f861c360841ba0f7d7396fd9ccb594';
export function element(tag,text,className) {
const e=document.createElement(tag);if(text!==undefined)e.textContent=text;if(className)e.className=className;return e;
}
Expand Down
Loading
Loading