Spaces:
Runtime error
Runtime error
Provide immediate read-only organism console
Browse filesFiles changed (3)
- README.md+22-69
- app.pyAdded+116
- requirements.txt+1-61
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869---title: Aureon OS / HNCemoji: 🌀colorFrom: indigocolorTo: yellowsdk: dockerapp_port: 7860suggested_hardware: l40sx1license: mitshort_description: Aureon OS with HNC evidence and native Aureon 7Bmodels:- GaryLeckey/aureon-7b---# Aureon OS / Harmonic Nexus Core*The gods do not speak in words. They speak in ratios.*This is the public, paper-only Aureon OS console and HNC evidence deployment. It uses the canonical **Aureon 7B** checkpoint through Aureon's own loopback model server. It does not borrow a hosted chat model and does not substitute a synthetic completion when Aureon is unavailable.- Source: [RA-CONSULTING/Aureon-OS](https://github.com/RA-CONSULTING/Aureon-OS)- Model and evaluation: [GaryLeckey/aureon-7b](https://huggingface.co/GaryLeckey/aureon-7b)- Isambard data: [GaryLeckey/aureon-isambard-data](https://huggingface.co/datasets/GaryLeckey/aureon-isambard-data)- Isambard runs: [GaryLeckey/aureon-isambard-runs](https://huggingface.co/datasets/GaryLeckey/aureon-isambard-runs)- Remaining archive: [GaryLeckey/aureon-isambard-archive](https://huggingface.co/datasets/GaryLeckey/aureon-isambard-archive)## Explore- `/` and `/app/` serve the rebuilt Aureon console.- `/hnc/` is the accessible evidence view.- `/api/demo/status` reports the exact own-model route and public safety checks.- `/api/hnc/status` reads the current HNC organ and canonical field state.- `/api/hnc/replay` compares a fresh rerun with the committed HNC record, with multiverse off and on.- `/api/hnc/organism-replay` labels recorded circulation separately from the seed `20261024` synthetic fault block.- `/healthz` is process liveness only. `/readyz` is strict aggregate readiness and remains `503` until the operator, exact model revision, weight identity, CUDA startup generation, and public posture all pass.### Bounded own-model generation`POST /api/demo/generate` accepts only JSON with `prompt` and optional `max_tokens`. Prompts are limited to 4,096 characters, completions to 64 tokens, and generation is deterministic (`temperature=0`). Requests are rate-limited and concurrency-bounded. There are no tools, streaming, exchange calls, or provider fallbacks on this route.```bashcurl -sS https://garyleckey-aureon-os.hf.space/api/demo/generate \-H 'Content-Type: application/json' \-d '{"prompt":"Return one short JSON object with an ok field.","max_tokens":32}'```Responses identify `provider_mode=aureon_own_model`, `model=aureon-7b-v65k`, actual token usage, finish reason, and the HNC gear receipt. Prompt and completion bodies are not logged by the demo service.## Honest capability and safety boundaryThe model was trained from random initialization and then received 1,578 SFT steps. The existing 1,125-row evaluation measured a **46.24% parse rate**, symbol recall **0.2411196294744682**, and overall line F1 **0.035554558485818205**. These are capability limitations, not production-readiness claims. Read the model card and evaluation receipt before relying on an output.**Live trading is off. No real orders are placed.** Exchange and provider credentials are removed from the public runtime. Approval files from an earlier process are not honored. Generic operator, Fusion, credential, terminal-state, provider, connection, approval, switchboard, pulse, fleet, and MCP routes are not public. Possession of an internal bearer does not unlock a public mutation.The target runtime is one Nvidia L40S with 48 GB GPU memory, 62 GB RAM, and 380 GB disk. Hardware selection alone is not a validation result. The release manifest records the actual image, model revision, hardware, smoke receipt, browser checks, and performance measurements after those checks run.## Immutable model loadingThe container requires `AUREON_MODEL_REVISION` to be the full lowercase commit of `GaryLeckey/aureon-7b`. Startup downloads only that revision's allowlisted files, checks the preparation receipt, independently hashes `model.safetensors`, loads bf16 on CUDA, and completes a real greedy generation before opening the internal model port.Canonical weight identity:- File: `model.safetensors`- Size: `13,990,806,664` bytes- SHA-256: `48487f800623474ab99371d71b369694cae64f8ebc4ef038019c7e60da3d45bb`The tokenizer's source `model_max_length=4096` is preserved. The server bound is 8,192 positions; this is not a claim of tested long-context quality.Deployment and verification instructions live in [`deploy/huggingface/PUBLISH.md`](https://github.com/RA-CONSULTING/Aureon-OS/blob/main/deploy/huggingface/PUBLISH.md).12345678910111213141516171819202122---title: Aureon OS / HNCemoji: 🌀colorFrom: indigocolorTo: yellowsdk: gradiosdk_version: 5.49.1app_file: app.pyapp_port: 7860license: mitshort_description: Read-only Aureon HNC, Auris and QGITA organism status---# Aureon OS / HNCRead-only public status console for Aureon's HNC, Auris, and QGITA organism.The console is independent of GPU model startup. Live evidence is distinct frommissing evidence and replay artifacts. No live trading, credentials, terminal,external mutations, or hosted substitute model are exposed.Aureon 7B inference is not hosted by this lightweight process. A verifiedread-only bridge is required before model or Isambard state can be shown live.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116"""Aureon public organism console. Read-only; no model is hosted here."""
from __future__ import annotations
import json
from typing import Any
import gradio as gr
def gears() -> list[dict[str, Any]]:
"""Read real evidence if available; never manufacture a healthy reading."""
try:
from aureon.core.hnc_llm_gears import capture_request_organism
snapshot = capture_request_organism()
values = snapshot.get("gears")
if isinstance(values, list):
return [value for value in values if isinstance(value, dict)][:3]
except Exception:
pass
return [
{"name": name, "turned": False, "engaged": False, "blocker": "live_evidence_unavailable"}
for name in ("field", "auris", "qgita")
]
def status() -> dict[str, Any]:
values = gears()
by_name = {str(value.get("name")): value for value in values}
field = by_name.get("field", {})
auris = by_name.get("auris", {})
qgita = by_name.get("qgita", {})
return {
"service": "aureon-public-organism-console",
"console_live": True,
"read_only": True,
"live_trading": False,
"orders_placed": 0,
"hnc": {
"engaged": field.get("engaged") is True,
"gamma": field.get("coherence_gamma"),
"lambda_t": field.get("lambda_t"),
"blocker": field.get("blocker"),
},
"auris": {
"engaged": auris.get("engaged") is True,
"grounded_inputs": auris.get("grounded_inputs"),
"total_inputs": auris.get("total_inputs"),
"blocker": auris.get("blocker"),
},
"qgita": {
"engaged": qgita.get("engaged") is True,
"samples": qgita.get("samples"),
"blocker": qgita.get("blocker"),
},
"model": {
"name": "aureon-7b-v65k",
"hosted_here": False,
"available": False,
"blocker": "no_verified_inference_bridge",
},
"isambard": {
"queue_available": False,
"blocker": "public_space_has_no_cluster_access",
},
}
def dashboard() -> str:
value = status()
cards = []
for name, key in (("HNC field", "hnc"), ("Auris nodes", "auris"), ("QGITA", "qgita")):
gear = value[key]
live = gear["engaged"]
text = "Engaged with live evidence" if live else "No live reading / held"
if gear.get("gamma") is not None:
text += f" · Γ {gear['gamma']:.4f}"
if gear.get("grounded_inputs") is not None:
text += f" · {gear['grounded_inputs']} grounded inputs"
cards.append(
f"<div class='card'><h2>{name}</h2><p>{text}</p><small>Missing evidence is not healthy evidence.</small></div>"
)
return f"""
<div class='wrap'><div class='eyebrow'>AUREON OS · HARMONIC NEXUS CORE</div>
<h1>One organism. Every gear visible.</h1>
<p class='lead'>This public console is online and read-only. It reports evidence state
without waiting for a large model or treating missing readings as healthy.</p>
<div class='hero'><strong>● Public console online</strong>
<p>No live trading, credentials, terminal or external mutations.</p></div>
<div class='grid'>{''.join(cards)}</div>
<div class='panel'><h2>Aureon 7B inference</h2><p>Not hosted in this lightweight console.
No verified inference bridge is connected.</p></div>
<div class='panel'><h2>Isambard compute</h2><p>This public Space cannot inspect the private
cluster queue or storage. A separate signed read-only status bridge is required.</p></div>
<div class='panel'><strong>Replay evidence is not live telemetry.</strong>
<p>Use the verified model and Isambard receipts for current training evidence.</p></div>
<footer>Read-only public demonstration. Model outputs require independent verification.</footer></div>
"""
CSS = """
:root{color-scheme:dark;background:#080c17;color:#edf4ff;font-family:Inter,system-ui,sans-serif}
body{background:radial-gradient(circle at 50% 0%,#1b2c48 0%,#080c17 48%);min-height:100vh}
.wrap{max-width:1060px;margin:0 auto;padding:44px 22px}.eyebrow{font-size:12px;letter-spacing:.16em;color:#b9c9e7}
h1{font-size:clamp(28px,5vw,48px);line-height:1.1;margin:12px 0}.lead{color:#c4d3eb;max-width:70ch;line-height:1.65}
.hero,.panel,.card{border:1px solid #304568;border-radius:16px;background:#101b30;padding:20px;margin-top:16px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.card h2{font-size:17px}
.card p{color:#e9c877}.panel p{color:#c4d3eb;line-height:1.6}footer{margin-top:24px;color:#8ea4c6;font-size:13px}
"""
with gr.Blocks(title="Aureon OS — live organism console", css=CSS) as demo:
gr.HTML(dashboard, every=5)
gr.JSON(label="Normalized public status", value=status, every=5)
if __name__ == "__main__":
demo.launch(server_name="0.0.0.0", server_port=7860, share=False, show_error=False)12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061requests>=2.32.0python-dotenv>=1.0.0filelock>=3.12click<8.2python-binance>=1.0.19krakenex>=2.1.0numpy>=1.26.0pandas>=2.1.0matplotlib>=3.8# --- rendering (bio harmonic overlays / convergence maps / blueprints) ---pillow>=10.0imageio>=2.34imageio-ffmpeg>=0.5.1svgwrite>=1.4.0aiohttp>=3.9.0websockets>=11.0.3,<12.0beautifulsoup4>=4.12.0wikipedia>=1.4.0wikipedia-api==0.6.0skyfieldephemastroqueryastropyscipy>=1.11cryptography>=46flask>=3.0waitress>=3.0psutil>=5.9.0supervisorrich>=13.7.0alpaca-py>=0.20.0pyttsx3>=2.90redis>=4.5.0websocket-client>=1.9.0prometheus-client>=0.24.0anthropic>=0.40.0yfinance>=0.2.36,<0.2.59fredapi>=0.5.2opencv-python>=4.9.0pytesseract>=0.3.10screeninfo>=0.8.1keyboard>=0.13.5mouse>=0.7.1pycaw>=20230407pyperclip>=1.8.2pyautogui>=0.9.54SpeechRecognition>=3.10.0PyAudio>=0.2.14sounddevice>=0.4.6httpx>=0.27pytest>=8.0pytest-timeout>=2.3pytest-socket>=0.7pytest-xdist>=3.6pytest-randomly>=3.15jsonschema>=4.23,<5ruff>=0.6mypy>=1.10black>=24.0pre-commit>=3.7types-requests1gradio==5.49.1
README.md+22-69
app.pyAdded+116
requirements.txt+1-61