Aria Solutions engineering journal
Engineering notes: deploy: System health page and trading sliders live
The recent deployment made the system‑health dashboard and the trading‑limit sliders available to users.
The recent deployment made the system‑health dashboard and the trading‑limit sliders available to users.
System‑health page goes live
The commit c4d38c069084 added the route /dashboard/system and placed it fourth in the owner dashboard, after Approvals, Terminal and Trading. The page displays an overall health indicator (all healthy, needs a look, or not reported), memory free, swap usage, graphics‑card status, processor load, uptime, each disk’s state, the status of every Aria service with its memory consumption, scheduled jobs with their last and next run times, and the Ollama service.
The underlying data source is the module machine_health.py under sovereign_agent. The file now records the last warnings in a tuple called _LAST_WARNINGS and emits an event machine_health_changed whenever the warning set changes. This event is written to Aria’s own log, preserving a history of when a condition appeared and when it recovered. The page is visible only to Kevin’s signed‑in dashboard, matching the request recorded on 2026‑10‑19.
Trading limits expressed as sliders
Commit ebe339d4c111 introduced a staged program named aria‑live‑executor that enforces new limits on trade orders. The per‑order ceiling increased from $100 to $1 000, while the total fund ceiling remains $100 000. The daily order count is now bounded between one and twenty, with a default of ten, replacing the previous range of one to six and default of three.
On the Trading page the previous free‑text input fields were replaced by sliders that let the user adjust the per‑order amount and the daily order count within the new bounds. The change was recorded in the changelog as “trading limits on sliders, the fund decides”.
Safety and rollback for system‑health changes
Commit 64441dd143a1 added a README in sovereign-agent/aria-system-health that documents safety and undo procedures. The apply step first backs up the live machine_health.py file to a timestamped directory under aria-system-health/backups. A rollback consists of copying the backup back to src/sovereign_agent/machine_health.py and restarting the bridge. The apply refuses to run if the live file has changed since the module was staged, as verified by a stored BASE.sha256.
The module reads only read‑only system sources (/proc, /sys, nvidia‑smi, systemctl --user show/list‑units) with a time limit, never starting, stopping or altering anything. Failed probes return None rather than raising exceptions, and missing readings appear as a dash instead of zero. These safeguards were reflected in the changelog entry noting “Safety and undoing it” and the fact that the morning batch was re‑filed with new fingerprints.
CI hygiene and deployment notes
The deployment also included unrelated CI adjustments. Commit d654f82313e2 updated the GitHub Actions workflow to ignore markdown and certain deployment artefacts, allowing note‑only pushes to consume no CI minutes. The workflow records actions‑minutes usage, showing 1 824 of 2 000 minutes used on 2026‑10‑19. Commit fe80929bfd99 restored a green CI status after applying Ledger’s preset. These changes ensure that future pushes that modify only documentation or deployment records do not trigger full CI runs, preserving resources for code changes.
What this rests on
- commit c4d38c069084 — deploy: System health page and trading sliders live
- commit 1545882c7b52 — keep-current: two follow-ups looked at (dashboard route; trading ask bound)
- commit 64441dd143a1 — System health: events on warning changes, the README's safety and rollback (gate now clear); advocate reports for both modules; the morning batch re-filed with the new fingerprints
- commit ebe339d4c111 — System health page (pinned fourth) and the PC's fuller report (staged); trading limits on sliders: up to $1,000 a trade, the fund decides the total, 1-20 a day (staged program); both rehearsed and filed as one morning batch
- commit fe80929bfd99 — deploy: Ledger's preset (CI green again)
- commit d654f82313e2 — Scanned skeleton locked in (head to toe, 1.72 m); Actions minutes counted (1,824 of 2,000) and CI skips notes-only pushes; CI green again (Ledger's preset asked for an unbuilt hairstyle)
- commit de0355216d9a — ct_limb_bones: long bones followed per half of the body first (all four shin bones), then inside each remaining piece
- commit 94d2ea405dc7 — Plan: trading next session (Kevin); altermagnetism noted for later (a lesson film; a spin-model demo on IBM quantum hardware)
- commit e4c188f61a9a — Scanned skeleton, step 3: long bones followed slice by slice inside each piece (tibia 36.5/35.9 cm, fibula 35.5/34.0); tibia/fibula and radius/ulna named by plain rule; the two CT halves joined at the thigh bones (both legs agree within 1.8 mm)
- commit ff993703ebfa — Scanned skeleton, step 2: our own bone finder fills marrow in 3D (slice filling glued shins and feet), finds the kneecaps, hand and toe bones; deep splitting kept but off (it cut long bones); smoother meshes; L72
- commit cb0f351fa008 — heavy.sh: heavy jobs in their own memory box (a runaway is stopped alone, never the session); scans cropped to the body at 1 mm; ref_to_model on heavy.sh
- commit c552b0df9d54 — Scanned bones at true scale: ct_volume.py places each slice by its own pixel size (the scan zooms at the head; L71); stray specks dropped from each bone; bones_sheet.py
- commit 17766c10c99e — ct_limb_bones.py: the bones the open model does not label (forearms, shins, kneecaps, hands, feet), found by our own code: brightness, marrow filled, touching pieces split by shape, named only by plain rule
- commit a32c88f4c56c — deploy: /credits live (8db98051 and after); handoff: TotalSegmentator's saving workers need limiting
- commit f64957f932d1 — ct_bones.py: bones labelled in a CT made into our own meshes (marching cubes, Taubin, our frame, our .glb writer); TotalSegmentator on the 1070 needs cuDNN 8
- commit 8db98051fda0 — /credits: everyone whose work we build with (42 entries, checked against the shipped packages, CDN scripts and asset record); credit-only licences accepted only when credited; Visible Human CT and TotalSegmentator's open model set up
- commit 0ff7f7cb18e8 — The code-built skeleton at an adult's size: a Sizes seat found the skull 1.8x (metres multiplied by height), rib cage +52%, foot +41%, hip wings curled inward; all fixed (L70). Outside models are references only.
- commit ac82a519653c — Extra views (a foot's top and sole) in ref_to_model; glb_unpack.mjs opens meshopt-packed models such as Kevin's 116-part Tripo skeleton
- commit d16a496215c0 — Reference pictures into painted models, one command (ref_to_model.py), kept as the method; L69: the crash was trimesh.split out of memory
- commit 3f296971bf67 — Deploy failure log written by deploy.sh itself, with each failure's story; the deploy skips tests proven since (nothing they read changed); terminal about three rows taller