Spaces:
Running
Running
feat(rosie): Tab 14 All Upgrades Index (ADDITIVE, Doctrine v10 749/14/163) [orchestrator: perplexity-agent]
Browse files- app.py +7 -0
- rosie_upgrades_tab.py +84 -0
app.py
CHANGED
|
@@ -32,6 +32,7 @@ import gradio as gr
|
|
| 32 |
# Tabs 8-11, mirrored a11oy /v1/* endpoints, 5 LLM tiers, 11 skills, T8 self-learning.
|
| 33 |
import rosie_v2_additions as _r2
|
| 34 |
import rosie_dinn_tab as _dinn # Tab 12 — DINN Lab (ADDITIVE)
|
|
|
|
| 35 |
|
| 36 |
# ─────────────────────────────────────────────────────────────────────────────
|
| 37 |
# Synthetic spans data (since uds_dataset/data/spans_sample.jsonl not present)
|
|
@@ -988,6 +989,12 @@ with gr.Blocks(title="rosie — operator console") as demo:
|
|
| 988 |
# Bekenstein). Inserted as a sibling TabItem inside gr.Tabs().
|
| 989 |
_dinn.build_dinn_tab(gr, demo)
|
| 990 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 991 |
|
| 992 |
# ── Rosie v2.0: mount the 11-tab Gradio Blocks onto a FastAPI app that mirrors
|
| 993 |
# every a11oy /v1/* endpoint on Rosie (gates, mcp, lambda, theorems/cite, ledger,
|
|
|
|
| 32 |
# Tabs 8-11, mirrored a11oy /v1/* endpoints, 5 LLM tiers, 11 skills, T8 self-learning.
|
| 33 |
import rosie_v2_additions as _r2
|
| 34 |
import rosie_dinn_tab as _dinn # Tab 12 — DINN Lab (ADDITIVE)
|
| 35 |
+
import rosie_upgrades_tab as _upg # Tab 14 — All Upgrades Index (ADDITIVE)
|
| 36 |
|
| 37 |
# ─────────────────────────────────────────────────────────────────────────────
|
| 38 |
# Synthetic spans data (since uds_dataset/data/spans_sample.jsonl not present)
|
|
|
|
| 989 |
# Bekenstein). Inserted as a sibling TabItem inside gr.Tabs().
|
| 990 |
_dinn.build_dinn_tab(gr, demo)
|
| 991 |
|
| 992 |
+
# ── Tab 14 — All Upgrades Index (ADDITIVE) ───────────────────────────
|
| 993 |
+
# Org-wide upgrade inventory: Cursor PRs, Replit verbatim, cookbook
|
| 994 |
+
# recipes, szl-trust E4 receipts, Wires, Lean theorems @ Doctrine v10.
|
| 995 |
+
# Cross-links to a11oy /codex-kernel, /wires, /research/dinn.
|
| 996 |
+
_upg.build_upgrades_tab(gr, demo)
|
| 997 |
+
|
| 998 |
|
| 999 |
# ── Rosie v2.0: mount the 11-tab Gradio Blocks onto a FastAPI app that mirrors
|
| 1000 |
# every a11oy /v1/* endpoint on Rosie (gates, mcp, lambda, theorems/cite, ledger,
|
rosie_upgrades_tab.py
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# rosie_upgrades_tab.py — Tab 14 "All Upgrades Index" (ADDITIVE)
|
| 2 |
+
# Renders the org-wide upgrade inventory (Cursor PRs, Replit verbatim, cookbook
|
| 3 |
+
# recipes, szl-trust E4 receipts, Wires, Lean theorems @ Doctrine v10 749/14/163)
|
| 4 |
+
# as a gr.HTML block. Cross-links to a11oy /codex-kernel, /wires, /research/dinn.
|
| 5 |
+
# Mirrors the _dinn.build_dinn_tab(gr, demo) sibling pattern. ZERO BANDAID.
|
| 6 |
+
# [orchestrator: perplexity-agent]
|
| 7 |
+
|
| 8 |
+
_UPGRADES_INNER_HTML = r"""<div class='szl-upgrades'><style>
|
| 9 |
+
:root{--bg:#0b0e14;--card:#121826;--ink:#e8eef7;--mut:#8aa0bf;--acc:#5ad1c0;--line:#243149}
|
| 10 |
+
*{box-sizing:border-box}
|
| 11 |
+
body{margin:0;font:15px/1.55 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--ink)}
|
| 12 |
+
.wrap{max-width:1060px;margin:0 auto;padding:32px 20px 80px}
|
| 13 |
+
h1{font-size:26px;margin:0 0 4px}
|
| 14 |
+
h2{font-size:18px;margin:34px 0 10px;border-bottom:1px solid var(--line);padding-bottom:6px}
|
| 15 |
+
.sub{color:var(--mut);margin:0 0 20px}
|
| 16 |
+
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:14px 0}
|
| 17 |
+
table{width:100%;border-collapse:collapse;font-size:13px}
|
| 18 |
+
th,td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:top}
|
| 19 |
+
th{color:var(--mut);font-weight:600}
|
| 20 |
+
code{background:#0a1626;padding:1px 5px;border-radius:5px;color:var(--acc);font-size:12px}
|
| 21 |
+
a{color:var(--acc);text-decoration:none}a:hover{text-decoration:underline}
|
| 22 |
+
.b{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:700}
|
| 23 |
+
.green{background:#0f3a2e;color:#5ad1c0}.amber{background:#3a2f0f;color:#e0c060}.gray{background:#222b3a;color:#8aa0bf}
|
| 24 |
+
.note{color:var(--mut);font-size:13px}
|
| 25 |
+
.kpis{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
|
| 26 |
+
.kpi{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 14px;min-width:120px}
|
| 27 |
+
.kpi b{font-size:20px;display:block;color:var(--acc)}
|
| 28 |
+
.foot{margin-top:40px;color:var(--mut);font-size:12px;border-top:1px solid var(--line);padding-top:14px}
|
| 29 |
+
</style><div class="wrap">
|
| 30 |
+
<h1>rosie — operator console + Khipu DAG ingest</h1>
|
| 31 |
+
<p class="sub">All Upgrades Index · Doctrine v10 · generated 2026-06-01</p>
|
| 32 |
+
<p class="note">This index is scoped to <b>rosie</b> upgrades. The org-wide master index lives on the <a href='https://huggingface.co/SZLHOLDINGS' target='_blank' rel='noopener'>org card</a> and the a11oy <a href='https://szlholdings-a11oy.hf.space/upgrades' target='_blank' rel='noopener'>/upgrades</a> route.</p>
|
| 33 |
+
|
| 34 |
+
<div class="kpis">
|
| 35 |
+
<div class="kpi"><b>2</b>Cursor PRs (this Space)</div>
|
| 36 |
+
<div class="kpi"><b>749</b>Lean declarations</div>
|
| 37 |
+
<div class="kpi"><b>14</b>unique axioms</div>
|
| 38 |
+
<div class="kpi"><b>163</b>tracked sorries</div>
|
| 39 |
+
<div class="kpi"><b>12</b>E4 receipts</div>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<h2>1 · Cursor PRs merged & instilled</h2>
|
| 43 |
+
<div class="card"><table>
|
| 44 |
+
<tr><th>PR</th><th>Title</th><th>Merged</th><th>SHA</th><th>Type</th><th>Diff</th><th>Live</th></tr>
|
| 45 |
+
<tr><td><a href='https://github.com/szl-holdings/rosie/pull/32' target='_blank' rel='noopener'>rosie#32</a></td><td>Add AGENTS.md with Cursor Cloud development instructions</td><td>2026-05-29</td><td><code>22116b9287</code></td><td>feature</td><td>1f · +48/-0</td><td><span class="b green">LIVE</span></td></tr>
|
| 46 |
+
<tr><td><a href='https://github.com/szl-holdings/rosie/pull/39' target='_blank' rel='noopener'>rosie#39</a></td><td>chore(license): add SPDX-License-Identifier headers (rosie)</td><td>2026-05-29</td><td><code>c5fdc90f45</code></td><td>feature</td><td>2f · +8/-0</td><td><span class="b green">LIVE</span></td></tr>
|
| 47 |
+
</table>
|
| 48 |
+
<p class="note">Liveness verified per <a href="https://github.com/szl-holdings/.github/tree/main/cursor-directives" target="_blank" rel="noopener">cursor-directives</a> + re-instill ship log (64). IP-HOLD PRs (a11oy#57 / amaru#46 / sentra#45) intentionally untouched.</p>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<h2>2 · Replit verbatim surface</h2>
|
| 52 |
+
<div class="card"></div>
|
| 53 |
+
|
| 54 |
+
<h2>3 · Cookbook recipes instilled</h2>
|
| 55 |
+
<div class="card"><ul><li><a href='https://github.com/szl-holdings/szl-cookbook/tree/main/recipes/knot-calculus-v1' target='_blank' rel='noopener'>knot-calculus-v1</a></li><li><a href='https://github.com/szl-holdings/szl-cookbook/tree/main/recipes/anatomy-evolved-v1' target='_blank' rel='noopener'>anatomy-evolved-v1</a></li><li><a href='https://github.com/szl-holdings/szl-cookbook/blob/main/recipes/chakra-unification.md' target='_blank' rel='noopener'>chakra-unification</a></li><li><a href='https://github.com/szl-holdings/szl-cookbook/blob/main/recipes/anatomy-build-report.md' target='_blank' rel='noopener'>anatomy-build-report</a></li></ul></div>
|
| 56 |
+
|
| 57 |
+
<h2>4 · szl-trust E4 governed-loop receipts</h2>
|
| 58 |
+
<div class="card"><p>szl-trust <b>E4 codex-kernel governed loop</b>: <b>12</b> receipts emitted · 0 hard-stop failures · stop reason <code>convergence</code> · ledger digest <code>4d0a943cef5b8fa605919db38df5e8e7</code>.</p><p class='note'>Run <code>run_386723681730b1fd</code> · kernel codex-kernel-runner-1.0.0 · <a href='https://github.com/szl-holdings/szl-trust/tree/main/runs/E4-codex-kernel-2026-04-29' target='_blank' rel='noopener'>12 receipts + run manifest</a>. Replay status: not_run (offline deterministic emulator — honest disclosure).</p></div>
|
| 59 |
+
|
| 60 |
+
<h2>5 · Wires</h2>
|
| 61 |
+
<div class="card"><table>
|
| 62 |
+
<tr><th>Wire</th><th>Route</th><th>Endpoints</th><th>Status</th></tr>
|
| 63 |
+
<tr><td><b>Wire B</b></td><td>a11oy -> sentra</td><td><code>/v1/verdict + /v1/inspect</code></td><td><span class='b green'>LIVE</span></td></tr><tr><td><b>Wire C</b></td><td>a11oy -> rosie</td><td><code>/v1/events + Khipu DAG ingest</code></td><td><span class='b green'>LIVE</span></td></tr><tr><td><b>Wire D</b></td><td>honest-disclosure</td><td><code>pending</code></td><td><span class='b amber'>PENDING</span></td></tr>
|
| 64 |
+
</table></div>
|
| 65 |
+
|
| 66 |
+
<h2>6 · Lean theorems (Doctrine v10 honest numbers)</h2>
|
| 67 |
+
<div class="card"><p><b>749</b> declarations · <b>14</b> unique axioms · <b>163</b> tracked sorries <span class='note'>(Doctrine v10 honest numbers — <a href='https://github.com/szl-holdings/.github/blob/main/.github/data/lean_numbers.json' target='_blank' rel='noopener'>lean_numbers.json</a> @ <code>c7c0ba17</code>)</span></p><p class='note'>749 declarations / 14 unique axioms / 163 tracked sorries per Doctrine v10. Sorries carry discharge routes (PACBayes, MadhavaBound, TwoWitness, Uniqueness, Putnam set).</p><p class='note'>14 unique axioms (honest gap): MomentSubGaussian, audit_reidemeister_invariance, canonicalReceipt, chromotopology_code_bijection, gleason_length_mod_8, klDivergence_nonneg, lambda_schur_concave_n_axis, lambda_stationary_unique, liu_hui_pi_converges, pinsker, r1_invariance, r2_invariance, sha256, sha256_collision_resistant</p></div>
|
| 68 |
+
|
| 69 |
+
<h2>7 · Cross-Space surfaces (linked, not duplicated)</h2>
|
| 70 |
+
<div class="card"><p>This page <b>links</b> to sibling surfaces rather than duplicating them:</p><ul><li><a href='https://szlholdings-a11oy.hf.space/research/dinn' target='_blank' rel='noopener'>DINN demos</a> — knot-DINN, doctrine-DINN, bekenstein-DINN (DINN agent surface)</li><li><a href='https://szlholdings-a11oy.hf.space/codex-kernel' target='_blank' rel='noopener'>codex-kernel</a> — replay-grade governed loop + Dresden-Venus emulator</li><li><a href='https://szlholdings-a11oy.hf.space/wires' target='_blank' rel='noopener'>Wires</a> — Wire B/C live, Wire D honest-disclosure pending</li></ul><p>Other Space upgrade indexes:</p><ul><li><a href='https://szlholdings-a11oy.hf.space/upgrades' target='_blank' rel='noopener'>a11oy upgrades</a></li><li><a href='https://szlholdings-amaru.hf.space/upgrades' target='_blank' rel='noopener'>amaru upgrades</a></li><li><a href='https://szlholdings-sentra.hf.space/upgrades' target='_blank' rel='noopener'>sentra upgrades</a></li><li><a href='https://szlholdings-vessels.hf.space/upgrades' target='_blank' rel='noopener'>vessels upgrades</a></li></ul></div>
|
| 71 |
+
|
| 72 |
+
<div class="foot">
|
| 73 |
+
Source of truth: <a href="https://github.com/szl-holdings/.github/blob/main/.github/data/lean_numbers.json" target="_blank" rel="noopener">org .github/data/lean_numbers.json</a> @ <code>c7c0ba17</code>.
|
| 74 |
+
Cursor directives: <a href="https://github.com/szl-holdings/.github/tree/main/cursor-directives" target="_blank" rel="noopener">.github/cursor-directives</a>.
|
| 75 |
+
Doctrine: <a href="https://github.com/szl-holdings/.github/tree/main/doctrine" target="_blank" rel="noopener">.github/doctrine</a>.
|
| 76 |
+
Additive surface — existing routes preserved. ZERO BANDAID. Doctrine v10 honest numbers (749/14/163).
|
| 77 |
+
</div>
|
| 78 |
+
</div></div>"""
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def build_upgrades_tab(gr, demo):
|
| 82 |
+
"""Insert Tab 14 — All Upgrades Index — as a sibling TabItem inside gr.Tabs()."""
|
| 83 |
+
with gr.TabItem("🚀 All Upgrades Index"):
|
| 84 |
+
gr.HTML(_UPGRADES_INNER_HTML)
|