Spaces:
Running
chore(sync): mirror front-door files to Space (hf-sync)
Browse filesAutomated front-door sync from szl-holdings/a11oy main via hf-sync.
Added/updated: cathedral.html, cathedral_genius.html, console/docs.html, console/index.html, console/pricing.html, console/throne-room.html, console/throne-room.js, live_wires.html, pages/api-keys.html, pages/assurance.html, pages/audit.html, pages/ayni.html, pages/brain-dual.html, pages/brain-jack.html, pages/brain.html, pages/chaski.html, pages/codex-kernel.html, pages/company.html, pages/compliance.html, pages/console.html, pages/counter-uas.html, pages/cued-engagement.html, pages/docs.html, pages/energy-ops.html, pages/evidence.html, pages/fabric.html, pages/gap-report.html, pages/harvest.html, pages/hatun-mcp.html, pages/hub.html, pages/integrations.html, pages/landing.html, pages/mesh.html, pages/observability.html, pages/operator_organ.html, pages/pinn-console.html, pages/pinn.html, pages/pnt.html, pages/pricing.html, pages/run-all.html, pages/sdk.html, pages/security.html, pages/status.html, pages/substrate.html, pages/superpowers.html, pages/throne-room.html, pages/throne-room.js, pages/uds.html, pages/upgrades.html, pages/verify.html, pages/wallpa.html, pages/warhacker.html, pages/wasi-rikuq.html, pages/wires.html, static/a11oy_cathedral.js, static/cathedral_app.js, static/shared/szl_codename_sanitizer.js, static/shared/szl_holo3d.js, static/shared/szl_label_engine.js, static/shared/szl_receipt_cosign.js, web/agent-loop.html, web/agentic-gpu.html, web/autoreview.html, web/console.html, web/console_index.html, web/constitution.html, web/defense-readiness.html, web/determinacy.html, web/dns.html, web/elite_console.html, web/energy-3d.html, web/energy-harvest.html, web/energy-holographic.html, web/energy.html, web/estate-hologram.html, web/fleet-c2.html, web/formulas.html, web/governance.html, web/holo.html, web/hologram.html, web/immune.html, web/index.html, web/living-anatomy.html, web/materials.html, web/nemo.html, web/operator.html, web/quant.html, web/restraint-bench.html, web/restraint.html, web/sda.html, web/signature-is-not-proof.html, web/v4_fleet_panel.html
Deleted (gone from GitHub main): (none)
Keeps the served front-door (pages/*.html, console/*.html) identical
to GitHub main so an HF factory rebuild never drops a GitHub edit or
keeps ser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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
+
<title>a11oy — Governed Inverse-PINN Console</title>
|
| 7 |
+
<!--
|
| 8 |
+
Governed Inverse-PINN Console — runs the LIVE governed parameter-discovery
|
| 9 |
+
engine at POST /api/a11oy/v1/pinn/identify and SHOWS the governance:
|
| 10 |
+
the discovered parameter(s) with 95% CI, the GREEN/YELLOW/RED convergence
|
| 11 |
+
badge, the FIM identifiability / self-doubt result (the REFUSAL is the hero
|
| 12 |
+
honesty moment), the Lambda advisory (Conjecture 1, advisory, never a proof,
|
| 13 |
+
never 1.0), the F19/Bekenstein check (PROVEN inequality APPLIED, not
|
| 14 |
+
re-claimed), and the signed receipt + a verify link to the Khipu ledger.
|
| 15 |
+
|
| 16 |
+
Doctrine v11 LOCKED. Values are MODELED (a fit to data, never MEASURED).
|
| 17 |
+
Locked-proven = 8 {F1,F4,F7,F11,F12,F18,F19,F22}. Lambda = Conjecture 1.
|
| 18 |
+
Pure HTML/JS/CSS — 0 runtime CDN, no server-side numpy. Reuses the
|
| 19 |
+
pages/verify.html design system (CSS variables, JetBrains Mono, chips).
|
| 20 |
+
-->
|
| 21 |
+
<style>
|
| 22 |
+
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,600;1,400&display=swap');
|
| 23 |
+
|
| 24 |
+
:root {
|
| 25 |
+
--bg: #0a0c0f;
|
| 26 |
+
--bg-panel: #111318;
|
| 27 |
+
--bg-card: #16191f;
|
| 28 |
+
--border: #2a2d35;
|
| 29 |
+
--border-hi: #3d4250;
|
| 30 |
+
--text: #e8eaf0;
|
| 31 |
+
--text-dim: #8891a8;
|
| 32 |
+
--text-mute: #4a5068;
|
| 33 |
+
--accent: #6c8ef5;
|
| 34 |
+
--accent-hi: #8aaaf8;
|
| 35 |
+
--green: #4ade80;
|
| 36 |
+
--amber: #f59e0b;
|
| 37 |
+
--red: #f87171;
|
| 38 |
+
--teal: #39d3c4;
|
| 39 |
+
--gold: #e8c074;
|
| 40 |
+
--mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
|
| 41 |
+
--sans: 'Cabinet Grotesk', 'Inter', 'Segoe UI', system-ui, sans-serif;
|
| 42 |
+
--radius: 8px;
|
| 43 |
+
--radius-lg: 14px;
|
| 44 |
+
--shadow: 0 2px 12px rgba(0,0,0,0.5);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
| 48 |
+
|
| 49 |
+
body {
|
| 50 |
+
background: var(--bg);
|
| 51 |
+
color: var(--text);
|
| 52 |
+
font-family: var(--sans);
|
| 53 |
+
font-size: 15px;
|
| 54 |
+
line-height: 1.6;
|
| 55 |
+
min-height: 100vh;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
/* ---- header ---- */
|
| 59 |
+
.site-header {
|
| 60 |
+
border-bottom: 1px solid var(--border);
|
| 61 |
+
padding: 18px 32px;
|
| 62 |
+
display: flex;
|
| 63 |
+
align-items: center;
|
| 64 |
+
gap: 16px;
|
| 65 |
+
background: var(--bg-panel);
|
| 66 |
+
}
|
| 67 |
+
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
|
| 68 |
+
.site-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
|
| 69 |
+
.site-tagline { font-size: 12px; color: var(--text-dim); margin-left: auto; }
|
| 70 |
+
.nav-back {
|
| 71 |
+
font-size: 12px; color: var(--text-dim);
|
| 72 |
+
text-decoration: none;
|
| 73 |
+
border: 1px solid var(--border); border-radius: 6px;
|
| 74 |
+
padding: 5px 12px;
|
| 75 |
+
transition: border-color .15s, color .15s;
|
| 76 |
+
}
|
| 77 |
+
.nav-back:hover { border-color: var(--accent); color: var(--accent-hi); }
|
| 78 |
+
|
| 79 |
+
/* ---- layout ---- */
|
| 80 |
+
.page { max-width: 920px; margin: 0 auto; padding: 48px 24px 80px; }
|
| 81 |
+
.page-hero { margin-bottom: 40px; }
|
| 82 |
+
.page-hero h1 {
|
| 83 |
+
font-size: 28px; font-weight: 800; letter-spacing: -0.03em;
|
| 84 |
+
line-height: 1.2; margin-bottom: 10px;
|
| 85 |
+
}
|
| 86 |
+
.page-hero p { color: var(--text-dim); max-width: 660px; }
|
| 87 |
+
.page-hero .eq {
|
| 88 |
+
font-family: var(--mono); font-size: 12px; color: var(--teal);
|
| 89 |
+
background: #051e24; border: 1px solid #0e4a57;
|
| 90 |
+
border-radius: 6px; padding: 8px 12px; margin-top: 14px;
|
| 91 |
+
display: inline-block;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
/* ---- sections ---- */
|
| 95 |
+
.section {
|
| 96 |
+
margin-bottom: 28px;
|
| 97 |
+
border: 1px solid var(--border);
|
| 98 |
+
border-radius: var(--radius-lg);
|
| 99 |
+
overflow: hidden;
|
| 100 |
+
}
|
| 101 |
+
.section-head { background: var(--bg-panel); padding: 20px 24px; border-bottom: 1px solid var(--border); }
|
| 102 |
+
.section-head h2 {
|
| 103 |
+
font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
|
| 104 |
+
margin-bottom: 4px; display: flex; align-items: center; gap: 10px;
|
| 105 |
+
}
|
| 106 |
+
.section-label {
|
| 107 |
+
font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
|
| 108 |
+
text-transform: uppercase; color: var(--text-dim);
|
| 109 |
+
border: 1px solid var(--border-hi); border-radius: 4px; padding: 2px 6px;
|
| 110 |
+
}
|
| 111 |
+
.section-head p { font-size: 13px; color: var(--text-dim); max-width: 660px; }
|
| 112 |
+
.section-body { padding: 24px; background: var(--bg-card); }
|
| 113 |
+
.moat-line { font-size: 12px; color: var(--text-dim); font-style: italic; margin-top: 8px; }
|
| 114 |
+
|
| 115 |
+
/* ---- chip / badges ---- */
|
| 116 |
+
.chip {
|
| 117 |
+
display: inline-block; border-radius: 4px;
|
| 118 |
+
padding: 2px 8px; font-size: 11px; font-weight: 700;
|
| 119 |
+
letter-spacing: 0.05em; text-transform: uppercase;
|
| 120 |
+
border: 1px solid transparent;
|
| 121 |
+
}
|
| 122 |
+
.chip-green { background: #052e12; border-color: #166534; color: var(--green); }
|
| 123 |
+
.chip-amber { background: #2d1e00; border-color: #92400e; color: var(--amber); }
|
| 124 |
+
.chip-red { background: #2d0f0f; border-color: #991b1b; color: var(--red); }
|
| 125 |
+
.chip-info { background: #0d1533; border-color: #1e3a8a; color: var(--accent-hi); }
|
| 126 |
+
.chip-dim { background: #1a1d24; border-color: var(--border); color: var(--text-dim); }
|
| 127 |
+
.chip-teal { background: #051e24; border-color: #0e4a57; color: var(--teal); }
|
| 128 |
+
|
| 129 |
+
/* ---- buttons ---- */
|
| 130 |
+
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
|
| 131 |
+
.btn {
|
| 132 |
+
padding: 12px 20px; border-radius: var(--radius);
|
| 133 |
+
font-family: var(--sans); font-size: 14px; font-weight: 600;
|
| 134 |
+
cursor: pointer; border: 1px solid transparent;
|
| 135 |
+
transition: opacity .15s, transform .05s, background .15s; outline: none;
|
| 136 |
+
}
|
| 137 |
+
.btn:active { transform: scale(0.97); }
|
| 138 |
+
.btn-green { background: #052e12; border-color: #166534; color: var(--green); }
|
| 139 |
+
.btn-green:hover { background: #14532d; }
|
| 140 |
+
.btn-red { background: #2d0f0f; border-color: #991b1b; color: var(--red); }
|
| 141 |
+
.btn-red:hover { background: #450a0a; }
|
| 142 |
+
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
| 143 |
+
.btn-sub { font-size: 11px; font-weight: 400; color: var(--text-dim); display: block; margin-top: 2px; }
|
| 144 |
+
|
| 145 |
+
/* ---- verdict banner ---- */
|
| 146 |
+
.verdict-banner {
|
| 147 |
+
border-radius: var(--radius); padding: 16px 22px;
|
| 148 |
+
margin-bottom: 18px; font-size: 16px; font-weight: 800;
|
| 149 |
+
display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
|
| 150 |
+
border: 1px solid transparent; letter-spacing: -0.01em;
|
| 151 |
+
}
|
| 152 |
+
.verdict-green { background: #052e12; border-color: #166534; color: var(--green); }
|
| 153 |
+
.verdict-amber { background: #2d1e00; border-color: #92400e; color: var(--amber); }
|
| 154 |
+
.verdict-red { background: #2d0f0f; border-color: #991b1b; color: var(--red); }
|
| 155 |
+
.verdict-dim { background: var(--bg-panel); border-color: var(--border); color: var(--text-dim); font-weight: 600; font-size: 14px; }
|
| 156 |
+
.verdict-banner .vsub { font-size: 12px; font-weight: 400; color: var(--text-dim); margin-left: auto; }
|
| 157 |
+
|
| 158 |
+
/* ---- param cards ---- */
|
| 159 |
+
.param-grid { display: grid; gap: 14px; }
|
| 160 |
+
.param-card {
|
| 161 |
+
background: var(--bg-panel); border: 1px solid var(--border);
|
| 162 |
+
border-radius: var(--radius); padding: 18px 20px;
|
| 163 |
+
}
|
| 164 |
+
.param-card.asserted { border-color: #166534; }
|
| 165 |
+
.param-card.refused { border-color: #991b1b; background: #1a0f0f; }
|
| 166 |
+
.param-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
|
| 167 |
+
.param-name { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--gold); }
|
| 168 |
+
.param-value {
|
| 169 |
+
font-family: var(--mono); font-size: 28px; font-weight: 800;
|
| 170 |
+
color: var(--green); line-height: 1.1; margin: 4px 0;
|
| 171 |
+
}
|
| 172 |
+
.param-value.null { color: var(--red); font-size: 22px; }
|
| 173 |
+
.param-ci { font-family: var(--mono); font-size: 13px; color: var(--text-dim); }
|
| 174 |
+
.refusal-box {
|
| 175 |
+
background: #2d0f0f; border: 1px solid #991b1b; border-left: 4px solid var(--red);
|
| 176 |
+
border-radius: var(--radius); padding: 14px 16px; margin-top: 6px;
|
| 177 |
+
font-size: 13px; color: #fecaca; line-height: 1.55;
|
| 178 |
+
}
|
| 179 |
+
.refusal-box .rh { font-weight: 800; color: var(--red); display: block; margin-bottom: 4px;
|
| 180 |
+
text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
|
| 181 |
+
|
| 182 |
+
/* ---- metric rows ---- */
|
| 183 |
+
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 10px; margin: 4px 0; }
|
| 184 |
+
.metric {
|
| 185 |
+
background: var(--bg); border: 1px solid var(--border);
|
| 186 |
+
border-radius: 6px; padding: 10px 12px;
|
| 187 |
+
}
|
| 188 |
+
.metric-k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mute); }
|
| 189 |
+
.metric-v { font-family: var(--mono); font-size: 14px; color: var(--text); margin-top: 2px; word-break: break-all; }
|
| 190 |
+
.metric-v.green { color: var(--green); }
|
| 191 |
+
.metric-v.red { color: var(--red); }
|
| 192 |
+
.metric-v.teal { color: var(--teal); }
|
| 193 |
+
|
| 194 |
+
/* ---- conjecture chip ---- */
|
| 195 |
+
.conj {
|
| 196 |
+
display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
|
| 197 |
+
text-transform: uppercase; border-radius: 4px; padding: 2px 7px;
|
| 198 |
+
border: 1px solid #92400e; background: #2d1e00; color: var(--amber);
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
/* ---- output / hash ---- */
|
| 202 |
+
.hash-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
|
| 203 |
+
.hash-label { font-size: 11px; color: var(--text-dim); min-width: 110px; }
|
| 204 |
+
.hash-val {
|
| 205 |
+
font-family: var(--mono); font-size: 11px; color: var(--text);
|
| 206 |
+
background: var(--bg); border-radius: 4px; padding: 3px 7px;
|
| 207 |
+
border: 1px solid var(--border); word-break: break-all;
|
| 208 |
+
}
|
| 209 |
+
.lambda-big {
|
| 210 |
+
font-family: var(--mono); font-size: 40px; font-weight: 800;
|
| 211 |
+
color: var(--amber); line-height: 1;
|
| 212 |
+
}
|
| 213 |
+
.status-line { font-size: 12px; color: var(--text-dim); margin-top: 10px; min-height: 18px; }
|
| 214 |
+
.spinner {
|
| 215 |
+
display: inline-block; width: 14px; height: 14px;
|
| 216 |
+
border: 2px solid var(--border); border-top-color: var(--accent);
|
| 217 |
+
border-radius: 50%; animation: spin .7s linear infinite;
|
| 218 |
+
vertical-align: middle; margin-right: 6px;
|
| 219 |
+
}
|
| 220 |
+
@keyframes spin { to { transform: rotate(360deg); } }
|
| 221 |
+
.hidden { display: none !important; }
|
| 222 |
+
.divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
|
| 223 |
+
.small { font-size: 12px; color: var(--text-dim); }
|
| 224 |
+
|
| 225 |
+
/* ---- corpus / honesty footer ---- */
|
| 226 |
+
.corpus-diagram { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 14px; }
|
| 227 |
+
.corpus-tier { flex: 1; min-width: 150px; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--bg-panel); }
|
| 228 |
+
.corpus-count { font-size: 30px; font-weight: 800; font-family: var(--mono); line-height: 1; }
|
| 229 |
+
.corpus-count.proven { color: var(--green); }
|
| 230 |
+
.corpus-count.wired { color: var(--amber); }
|
| 231 |
+
.corpus-count.total { color: var(--accent-hi); }
|
| 232 |
+
.corpus-tier-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin: 4px 0 8px; }
|
| 233 |
+
.corpus-tier-desc { font-size: 12px; color: var(--text-dim); }
|
| 234 |
+
.never-claim {
|
| 235 |
+
background: #2d1e00; border: 1px solid #92400e; border-radius: var(--radius);
|
| 236 |
+
padding: 12px 16px; font-size: 13px; color: var(--amber); margin-top: 6px;
|
| 237 |
+
}
|
| 238 |
+
.footer { border-top: 1px solid var(--border); padding: 24px; color: var(--text-mute); font-size: 12px; text-align: center; }
|
| 239 |
+
a { color: var(--accent); text-decoration: none; }
|
| 240 |
+
a:hover { color: var(--accent-hi); text-decoration: underline; }
|
| 241 |
+
</style>
|
| 242 |
+
</head>
|
| 243 |
+
<body>
|
| 244 |
+
|
| 245 |
+
<!-- ===== HEADER ===== -->
|
| 246 |
+
<header class="site-header">
|
| 247 |
+
<svg class="logo-mark" viewBox="0 0 32 32" fill="none" aria-label="a11oy">
|
| 248 |
+
<rect width="32" height="32" rx="7" fill="#1e3a8a"/>
|
| 249 |
+
<path d="M8 24 L16 8 L24 24" stroke="#6c8ef5" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
| 250 |
+
<circle cx="16" cy="16" r="2.5" fill="#8aaaf8"/>
|
| 251 |
+
</svg>
|
| 252 |
+
<span class="site-title">a11oy</span>
|
| 253 |
+
<span class="site-tagline">Governed Inference · Verifiable by Design</span>
|
| 254 |
+
<a href="/console" class="nav-back">← Console</a>
|
| 255 |
+
</header>
|
| 256 |
+
|
| 257 |
+
<!-- ===== MAIN ===== -->
|
| 258 |
+
<main class="page">
|
| 259 |
+
|
| 260 |
+
<div class="page-hero">
|
| 261 |
+
<h1>Governed Inverse-PINN Console</h1>
|
| 262 |
+
<p>
|
| 263 |
+
Discover an unknown <strong>physical</strong> parameter of an ODE from data + physics —
|
| 264 |
+
then watch the governance work. Every discovered value is <span class="chip chip-info">MODELED</span>
|
| 265 |
+
(a fit to data, never MEASURED), carries a 95% confidence interval, a GREEN/YELLOW/RED convergence
|
| 266 |
+
badge, a Fisher-information self-doubt gate that <em>refuses</em> non-identifiable parameters,
|
| 267 |
+
a Λ advisory, an F19/Bekenstein plausibility check, and a signed Khipu receipt you can re-verify.
|
| 268 |
+
</p>
|
| 269 |
+
<span class="eq">Duffing oscillator m·x″ + c·x′ + δ·x + <strong>α</strong>·x³ = F·cos(ωt) — α is unknown</span>
|
| 270 |
+
</div>
|
| 271 |
+
|
| 272 |
+
<!-- ===== RUN ===== -->
|
| 273 |
+
<section class="section">
|
| 274 |
+
<div class="section-head">
|
| 275 |
+
<h2><span class="section-label">Run</span> Identify a parameter</h2>
|
| 276 |
+
<p>
|
| 277 |
+
Two one-click cases hit the LIVE engine at <code>POST /api/a11oy/v1/pinn/identify</code>.
|
| 278 |
+
The honesty story tells itself: one converges and asserts; one is non-identifiable and the engine refuses.
|
| 279 |
+
</p>
|
| 280 |
+
</div>
|
| 281 |
+
<div class="section-body">
|
| 282 |
+
<div class="btn-row">
|
| 283 |
+
<button class="btn btn-green" id="btn-green" onclick="runIdentify('green')">
|
| 284 |
+
Run Duffing demo (GREEN)
|
| 285 |
+
<span class="btn-sub">identify α — converges, asserts with CI</span>
|
| 286 |
+
</button>
|
| 287 |
+
<button class="btn btn-red" id="btn-red" onclick="runIdentify('red')">
|
| 288 |
+
Run non-identifiable case (RED — see it refuse)
|
| 289 |
+
<span class="btn-sub">ask for α + a ghost param — engine REFUSES</span>
|
| 290 |
+
</button>
|
| 291 |
+
</div>
|
| 292 |
+
<div id="status" class="status-line"></div>
|
| 293 |
+
</div>
|
| 294 |
+
</section>
|
| 295 |
+
|
| 296 |
+
<!-- ===== RESULTS ===== -->
|
| 297 |
+
<div id="results" class="hidden">
|
| 298 |
+
|
| 299 |
+
<!-- convergence verdict -->
|
| 300 |
+
<section class="section">
|
| 301 |
+
<div class="section-head">
|
| 302 |
+
<h2><span class="section-label">1</span> Convergence</h2>
|
| 303 |
+
<p>The 3-state governance verdict from the causal-weight / gradient / FIM-conditioning criteria.</p>
|
| 304 |
+
</div>
|
| 305 |
+
<div class="section-body">
|
| 306 |
+
<div id="verdict" class="verdict-banner verdict-dim">—</div>
|
| 307 |
+
<div class="metric-grid" id="conv-metrics"></div>
|
| 308 |
+
</div>
|
| 309 |
+
</section>
|
| 310 |
+
|
| 311 |
+
<!-- discovered params -->
|
| 312 |
+
<section class="section">
|
| 313 |
+
<div class="section-head">
|
| 314 |
+
<h2><span class="section-label">2</span> Discovered parameter(s)</h2>
|
| 315 |
+
<p>
|
| 316 |
+
Each value is <span class="chip chip-info">MODELED</span> with a 95% CI. A parameter the
|
| 317 |
+
self-doubt gate cannot support is <strong>REFUSED</strong> verbatim — no value invented.
|
| 318 |
+
</p>
|
| 319 |
+
<p class="moat-line">"We don't report what we can't support."</p>
|
| 320 |
+
</div>
|
| 321 |
+
<div class="section-body">
|
| 322 |
+
<div id="params" class="param-grid"></div>
|
| 323 |
+
</div>
|
| 324 |
+
</section>
|
| 325 |
+
|
| 326 |
+
<!-- self-doubt / FIM -->
|
| 327 |
+
<section class="section">
|
| 328 |
+
<div class="section-head">
|
| 329 |
+
<h2><span class="section-label">3</span> Identifiability — the self-doubt gate</h2>
|
| 330 |
+
<p>
|
| 331 |
+
Fisher Information Matrix conditioning decides whether the data actually constrain the
|
| 332 |
+
parameter. κ(FIM) → ∞ or Fisher below floor ⇒ <strong>UNIDENTIFIABLE</strong> ⇒ the engine refuses.
|
| 333 |
+
</p>
|
| 334 |
+
</div>
|
| 335 |
+
<div class="section-body">
|
| 336 |
+
<div class="metric-grid" id="fim-metrics"></div>
|
| 337 |
+
</div>
|
| 338 |
+
</section>
|
| 339 |
+
|
| 340 |
+
<!-- lambda advisory -->
|
| 341 |
+
<section class="section">
|
| 342 |
+
<div class="section-head">
|
| 343 |
+
<h2><span class="section-label">4</span> Λ advisory</h2>
|
| 344 |
+
<p>
|
| 345 |
+
A single advisory trust score. <span class="conj">Conjecture 1 — advisory, NOT a theorem</span>
|
| 346 |
+
— capped ≤ 0.99, <strong>never a proof, never 1.0</strong>.
|
| 347 |
+
</p>
|
| 348 |
+
</div>
|
| 349 |
+
<div class="section-body">
|
| 350 |
+
<div style="display:flex; align-items:center; gap:24px; flex-wrap:wrap;">
|
| 351 |
+
<div>
|
| 352 |
+
<div class="lambda-big" id="lambda-val">—</div>
|
| 353 |
+
<div class="small" id="lambda-status"></div>
|
| 354 |
+
</div>
|
| 355 |
+
<div class="small" id="lambda-basis" style="max-width:420px;"></div>
|
| 356 |
+
</div>
|
| 357 |
+
<div class="metric-grid" id="lambda-factors" style="margin-top:14px;"></div>
|
| 358 |
+
</div>
|
| 359 |
+
</section>
|
| 360 |
+
|
| 361 |
+
<!-- bekenstein / F19 -->
|
| 362 |
+
<section class="section">
|
| 363 |
+
<div class="section-head">
|
| 364 |
+
<h2><span class="section-label">5</span> F19 / Bekenstein check</h2>
|
| 365 |
+
<p>
|
| 366 |
+
The Bekenstein bound (F19) is a <strong>locked-proven inequality</strong> — here it is
|
| 367 |
+
<em>applied</em>, not re-claimed. It checks the discovery doesn't encode more information
|
| 368 |
+
than the system can physically hold.
|
| 369 |
+
</p>
|
| 370 |
+
</div>
|
| 371 |
+
<div class="section-body">
|
| 372 |
+
<div id="bek" class="small">—</div>
|
| 373 |
+
</div>
|
| 374 |
+
</section>
|
| 375 |
+
|
| 376 |
+
<!-- receipt -->
|
| 377 |
+
<section class="section">
|
| 378 |
+
<div class="section-head">
|
| 379 |
+
<h2><span class="section-label">6</span> Signed receipt + ledger</h2>
|
| 380 |
+
<p>
|
| 381 |
+
The discovery is sealed as a DSSE-enveloped Khipu receipt in the unified ledger organ
|
| 382 |
+
<code>a11oy-pinn</code>. Signature state is shown exactly as returned — never faked.
|
| 383 |
+
</p>
|
| 384 |
+
</div>
|
| 385 |
+
<div class="section-body">
|
| 386 |
+
<div id="receipt"></div>
|
| 387 |
+
</div>
|
| 388 |
+
</section>
|
| 389 |
+
</div>
|
| 390 |
+
|
| 391 |
+
<!-- ===== HONESTY FOOTER ===== -->
|
| 392 |
+
<section class="section">
|
| 393 |
+
<div class="section-head">
|
| 394 |
+
<h2><span class="section-label">Doctrine</span> Honest labels</h2>
|
| 395 |
+
<p>What is proven, what is wired, what is advisory. The half-state — claiming more than is real — is the only unacceptable outcome.</p>
|
| 396 |
+
</div>
|
| 397 |
+
<div class="section-body">
|
| 398 |
+
<div class="corpus-diagram">
|
| 399 |
+
<div class="corpus-tier">
|
| 400 |
+
<div class="corpus-count proven">8</div>
|
| 401 |
+
<div class="corpus-tier-label">Locked-proven</div>
|
| 402 |
+
<div class="corpus-tier-desc">No-axiom theorems {F1,F4,F7,F11,F12,F18,F19,F22}. F19 Bekenstein is one of them — applied here, not re-claimed.</div>
|
| 403 |
+
</div>
|
| 404 |
+
<div class="corpus-tier">
|
| 405 |
+
<div class="corpus-count wired">~35</div>
|
| 406 |
+
<div class="corpus-tier-label">Wired</div>
|
| 407 |
+
<div class="corpus-tier-desc">Formulas wired into live governed surfaces (advisory / MODELED applications).</div>
|
| 408 |
+
</div>
|
| 409 |
+
<div class="corpus-tier">
|
| 410 |
+
<div class="corpus-count total">~185</div>
|
| 411 |
+
<div class="corpus-tier-label">Corpus</div>
|
| 412 |
+
<div class="corpus-tier-desc">Total formula corpus under study. Most are not promoted to locked.</div>
|
| 413 |
+
</div>
|
| 414 |
+
</div>
|
| 415 |
+
<div class="never-claim">
|
| 416 |
+
Discovered values are <strong>MODELED</strong> (a fit to data, never MEASURED). Λ is
|
| 417 |
+
<strong>Conjecture 1</strong> — advisory, capped ≤ 0.99, never a theorem, never 1.0. The Bekenstein
|
| 418 |
+
bound is a PROVEN inequality whose <em>application</em> here is MODELED. Receipts are signed or
|
| 419 |
+
unsigned exactly as the engine returns — never fabricated.
|
| 420 |
+
</div>
|
| 421 |
+
</div>
|
| 422 |
+
</section>
|
| 423 |
+
|
| 424 |
+
</main>
|
| 425 |
+
|
| 426 |
+
<footer class="footer">
|
| 427 |
+
a11oy · Governed Inverse-PINN · Doctrine v11 LOCKED · values MODELED · Λ = Conjecture 1 ·
|
| 428 |
+
<a href="/console">Console</a> · <a href="/verify">Verify</a>
|
| 429 |
+
</footer>
|
| 430 |
+
|
| 431 |
+
<script>
|
| 432 |
+
"use strict";
|
| 433 |
+
|
| 434 |
+
const API = "/api/a11oy/v1/pinn/identify";
|
| 435 |
+
const VERIFY_BASE = "/api/a11oy/v1/khipu/verify/";
|
| 436 |
+
|
| 437 |
+
const PRESETS = {
|
| 438 |
+
green: { demo: "duffing" },
|
| 439 |
+
red: { demo: "duffing", unknowns: ["alpha", "ghost"] }
|
| 440 |
+
};
|
| 441 |
+
|
| 442 |
+
function el(id) { return document.getElementById(id); }
|
| 443 |
+
function fmt(x, d = 6) {
|
| 444 |
+
if (x === null || x === undefined) return "null";
|
| 445 |
+
if (typeof x === "string") return x; // already coerced (e.g. "Infinity")
|
| 446 |
+
if (!isFinite(x)) return String(x);
|
| 447 |
+
const a = Math.abs(x);
|
| 448 |
+
if (a !== 0 && (a < 1e-3 || a >= 1e6)) return x.toExponential(2);
|
| 449 |
+
return Number(x.toFixed(d)).toString();
|
| 450 |
+
}
|
| 451 |
+
function badgeClass(label) {
|
| 452 |
+
if (label === "GREEN") return "green";
|
| 453 |
+
if (label === "YELLOW") return "amber";
|
| 454 |
+
if (label === "RED") return "red";
|
| 455 |
+
return "dim";
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
async function runIdentify(kind) {
|
| 459 |
+
const bg = el("btn-green"), br = el("btn-red");
|
| 460 |
+
bg.disabled = true; br.disabled = true;
|
| 461 |
+
el("status").innerHTML = '<span class="spinner"></span>Calling the live governed engine at ' + API + ' …';
|
| 462 |
+
el("results").classList.add("hidden");
|
| 463 |
+
try {
|
| 464 |
+
const res = await fetch(API, {
|
| 465 |
+
method: "POST",
|
| 466 |
+
headers: { "Content-Type": "application/json" },
|
| 467 |
+
body: JSON.stringify(PRESETS[kind])
|
| 468 |
+
});
|
| 469 |
+
const data = await res.json();
|
| 470 |
+
if (!res.ok && !data.convergence) {
|
| 471 |
+
el("status").innerHTML = '<span style="color:var(--red)">Engine returned ' + res.status +
|
| 472 |
+
' — ' + (data.error || "unexpected") + '</span>';
|
| 473 |
+
return;
|
| 474 |
+
}
|
| 475 |
+
render(data);
|
| 476 |
+
el("status").innerHTML = 'Live response received (HTTP ' + res.status +
|
| 477 |
+
') · system <code>' + (data.system || "?") + '</code> · honest label MODELED.';
|
| 478 |
+
} catch (e) {
|
| 479 |
+
el("status").innerHTML = '<span style="color:var(--red)">Network error: ' + e + '</span>';
|
| 480 |
+
} finally {
|
| 481 |
+
bg.disabled = false; br.disabled = false;
|
| 482 |
+
}
|
| 483 |
+
}
|
| 484 |
+
|
| 485 |
+
function render(d) {
|
| 486 |
+
el("results").classList.remove("hidden");
|
| 487 |
+
const conv = d.convergence || {};
|
| 488 |
+
const label = conv.label || "—";
|
| 489 |
+
|
| 490 |
+
// ---- verdict ----
|
| 491 |
+
const v = el("verdict");
|
| 492 |
+
v.className = "verdict-banner verdict-" + badgeClass(label);
|
| 493 |
+
let head = "Convergence: " + label;
|
| 494 |
+
if (label === "GREEN") head += " — parameter asserted";
|
| 495 |
+
else if (label === "RED") head += " — the engine REFUSES";
|
| 496 |
+
else if (label === "YELLOW") head += " — partial / keep running";
|
| 497 |
+
v.innerHTML = '<span class="chip chip-' + badgeClass(label) + '">' + label + '</span>' +
|
| 498 |
+
'<span>' + head + '</span>' +
|
| 499 |
+
'<span class="vsub">' + (conv.epochs_run != null ? conv.epochs_run + " epochs" : "") + '</span>';
|
| 500 |
+
|
| 501 |
+
// ---- convergence metrics ----
|
| 502 |
+
const cm = conv.criteria || {};
|
| 503 |
+
const cmRows = [
|
| 504 |
+
["min causal weight", cm.min_causal_weight || fmt(conv.min_causal_weight)],
|
| 505 |
+
["grad norm", cm.grad_norm || fmt(conv.grad_norm)],
|
| 506 |
+
["κ(FIM)", cm.kappa_fim || fmt(conv.kappa_fim)],
|
| 507 |
+
["min Fisher", cm.min_fisher || "—"],
|
| 508 |
+
["residual rms", fmt(conv.residual_rms)],
|
| 509 |
+
["data rms", fmt(conv.data_rms)]
|
| 510 |
+
];
|
| 511 |
+
el("conv-metrics").innerHTML = cmRows.map(r =>
|
| 512 |
+
'<div class="metric"><div class="metric-k">' + r[0] + '</div><div class="metric-v">' + r[1] + '</div></div>'
|
| 513 |
+
).join("");
|
| 514 |
+
|
| 515 |
+
// ---- discovered params ----
|
| 516 |
+
const params = d.discovered || [];
|
| 517 |
+
el("params").innerHTML = params.map(p => {
|
| 518 |
+
const pl = badgeClass(p.convergence_label);
|
| 519 |
+
if (p.asserted) {
|
| 520 |
+
const ci = p.ci95 ? "95% CI [" + fmt(p.ci95[0]) + ", " + fmt(p.ci95[1]) + "]" : "";
|
| 521 |
+
return '<div class="param-card asserted">' +
|
| 522 |
+
'<div class="param-card-head">' +
|
| 523 |
+
'<span class="param-name">' + p.name + '</span>' +
|
| 524 |
+
'<span class="chip chip-' + pl + '">' + (p.convergence_label || "—") + '</span>' +
|
| 525 |
+
'<span class="chip chip-info">MODELED</span>' +
|
| 526 |
+
'<span class="chip chip-green">IDENTIFIABLE</span>' +
|
| 527 |
+
'</div>' +
|
| 528 |
+
'<div class="param-value">' + fmt(p.value) + '</div>' +
|
| 529 |
+
'<div class="param-ci">' + ci + (p.std != null ? ' · σ ' + fmt(p.std) : '') + '</div>' +
|
| 530 |
+
'</div>';
|
| 531 |
+
}
|
| 532 |
+
// REFUSED — hero honesty moment
|
| 533 |
+
return '<div class="param-card refused">' +
|
| 534 |
+
'<div class="param-card-head">' +
|
| 535 |
+
'<span class="param-name">' + p.name + '</span>' +
|
| 536 |
+
'<span class="chip chip-' + pl + '">' + (p.convergence_label || "RED") + '</span>' +
|
| 537 |
+
'<span class="chip chip-red">REFUSED</span>' +
|
| 538 |
+
'</div>' +
|
| 539 |
+
'<div class="param-value null">value = null</div>' +
|
| 540 |
+
'<div class="refusal-box"><span class="rh">Self-doubt gate · not asserted</span>' +
|
| 541 |
+
(p.refusal || "UNIDENTIFIABLE: the engine refuses to assert this parameter.") + '</div>' +
|
| 542 |
+
'</div>';
|
| 543 |
+
}).join("");
|
| 544 |
+
|
| 545 |
+
// ---- FIM / self-doubt ----
|
| 546 |
+
const anyRefused = params.some(p => !p.asserted);
|
| 547 |
+
const fimRows = [
|
| 548 |
+
["κ(FIM)", cm.kappa_fim || fmt(conv.kappa_fim), badgeClass(label) === "red" ? "red" : "green"],
|
| 549 |
+
["min Fisher", cm.min_fisher || "—", ""],
|
| 550 |
+
["gate", anyRefused ? "REFUSED ≥1 parameter" : "all parameters identifiable",
|
| 551 |
+
anyRefused ? "red" : "green"]
|
| 552 |
+
];
|
| 553 |
+
el("fim-metrics").innerHTML = fimRows.map(r =>
|
| 554 |
+
'<div class="metric"><div class="metric-k">' + r[0] + '</div><div class="metric-v ' + (r[2]||"") + '">' + r[1] + '</div></div>'
|
| 555 |
+
).join("");
|
| 556 |
+
|
| 557 |
+
// ---- lambda ----
|
| 558 |
+
const lam = d.lambda_advisory || {};
|
| 559 |
+
el("lambda-val").textContent = (lam.value != null) ? fmt(lam.value, 4) : "—";
|
| 560 |
+
el("lambda-status").innerHTML = '<span class="conj">' + (lam.status || "ADVISORY") + '</span>';
|
| 561 |
+
el("lambda-basis").textContent = lam.basis || "Λ = Conjecture 1 (advisory, capped ≤ 0.99; NEVER a proof).";
|
| 562 |
+
const lf = lam.factors || {};
|
| 563 |
+
el("lambda-factors").innerHTML = Object.keys(lf).map(k =>
|
| 564 |
+
'<div class="metric"><div class="metric-k">' + k + '</div><div class="metric-v">' + fmt(lf[k], 4) + '</div></div>'
|
| 565 |
+
).join("");
|
| 566 |
+
|
| 567 |
+
// ---- bekenstein (F19) ----
|
| 568 |
+
const asserted = params.find(p => p.asserted && p.bekenstein);
|
| 569 |
+
if (asserted) {
|
| 570 |
+
const b = asserted.bekenstein;
|
| 571 |
+
const ok = b.label === "PHYSICALLY_PLAUSIBLE";
|
| 572 |
+
el("bek").innerHTML =
|
| 573 |
+
'<span class="chip chip-' + (ok ? "green" : "red") + '">' + b.label + '</span>' +
|
| 574 |
+
'<div class="metric-grid" style="margin-top:12px;">' +
|
| 575 |
+
'<div class="metric"><div class="metric-k">info bits</div><div class="metric-v">' + fmt(b.info_bits, 3) + '</div></div>' +
|
| 576 |
+
'<div class="metric"><div class="metric-k">Bekenstein max bits</div><div class="metric-v">' + fmt(b.bekenstein_max_bits) + '</div></div>' +
|
| 577 |
+
'<div class="metric"><div class="metric-k">ratio</div><div class="metric-v teal">' + fmt(b.ratio) + '</div></div>' +
|
| 578 |
+
'<div class="metric"><div class="metric-k">R, E (SAMPLE)</div><div class="metric-v">' + fmt(b.radius_m) + ' m, ' + fmt(b.energy_j) + ' J</div></div>' +
|
| 579 |
+
'</div>' +
|
| 580 |
+
'<div class="small" style="margin-top:10px;">' + (b.basis || "") + '</div>';
|
| 581 |
+
} else {
|
| 582 |
+
el("bek").innerHTML = '<span class="small">No asserted parameter to check — Bekenstein is applied only to an asserted discovery (the engine refused all parameters here).</span>';
|
| 583 |
+
}
|
| 584 |
+
|
| 585 |
+
// ---- receipt ----
|
| 586 |
+
const r = d.receipt || {};
|
| 587 |
+
const ledger = d.ledger || {};
|
| 588 |
+
const lres = ledger.result || {};
|
| 589 |
+
const rid = lres.receipt_id || "";
|
| 590 |
+
const signed = (r.signed === true);
|
| 591 |
+
let html =
|
| 592 |
+
'<div class="hash-row"><span class="hash-label">signature</span>' +
|
| 593 |
+
'<span class="chip chip-' + (signed ? "green" : "amber") + '">' + (signed ? "SIGNED" : "UNSIGNED") + '</span>' +
|
| 594 |
+
'<span class="small">' + (signed ? "DSSE envelope present (payloadType " + ((r.dsse||{}).payloadType || "application/vnd.szl.ipinn+json") + ")" : "honest UNSIGNED — no cosign key in this env") + '</span>' +
|
| 595 |
+
'</div>' +
|
| 596 |
+
'<div class="hash-row"><span class="hash-label">ledger</span>' +
|
| 597 |
+
'<span class="chip chip-' + (ledger.recorded ? "green" : "dim") + '">' + (ledger.recorded ? "RECORDED" : "NOT RECORDED") + '</span>' +
|
| 598 |
+
'<span class="small">organ <code>a11oy-pinn</code>' +
|
| 599 |
+
(lres.chain_index != null ? ' · chain index ' + lres.chain_index : '') + '</span>' +
|
| 600 |
+
'</div>';
|
| 601 |
+
if (rid) {
|
| 602 |
+
html += '<div class="hash-row"><span class="hash-label">receipt id</span>' +
|
| 603 |
+
'<span class="hash-val">' + rid + '</span></div>' +
|
| 604 |
+
'<div class="hash-row"><span class="hash-label">verify</span>' +
|
| 605 |
+
'<a class="hash-val" href="' + VERIFY_BASE + rid + '" target="_blank" rel="noopener">' +
|
| 606 |
+
VERIFY_BASE + rid + ' ↗</a></div>' +
|
| 607 |
+
'<div class="small" style="margin-top:6px;">Re-verify independently — the Khipu hash-chain integrity is recomputed server-side and is publicly checkable.</div>';
|
| 608 |
+
}
|
| 609 |
+
if (lres.chain_head) {
|
| 610 |
+
html += '<hr class="divider"><div class="hash-row"><span class="hash-label">chain head</span>' +
|
| 611 |
+
'<span class="hash-val">' + lres.chain_head + '</span></div>';
|
| 612 |
+
}
|
| 613 |
+
el("receipt").innerHTML = html;
|
| 614 |
+
|
| 615 |
+
el("results").scrollIntoView({ behavior: "smooth", block: "start" });
|
| 616 |
+
}
|
| 617 |
+
</script>
|
| 618 |
+
</body>
|
| 619 |
+
</html>
|