Aria Solutions engineering journal

Engineering notes: deploy: /aria/stats, brain on demand (site half)

Recent changes deploy the statistics interface, route apply operations through a new steward, update the test suites, and restore work lost previously.

Recent changes deploy the statistics interface, route apply operations through a new steward, update the test suites, and restore work lost previously.

Deployments and the apply steward

A site deployment adds the index file at sovereign-agent/web/dist/index.html with a script tag loading /assets/index-C2adT_nF.js. A separate change routes every safe_apply and apply_all run through the steward. This introduces a rate cap of 6 per hour and 24 per day, a stale-payload preflight check requiring any disappearing live function or class to be declared in REMOVES.txt, and affected tests run both before and after with only new failures counting. A symbol postcheck runs after every script, alongside a report, ledger, and apply-steward-d event. This passed 15 out of 15 tests, including the replayed inbox tools overwrite from August 8, 2026. The local ledger for the apply steward is stored in sovereign-agent/.apply_steward/ and ignored by git. The system map auto generator file documents 391 top-level modules and packages in sovereign-agent/src/sovereign_agent/, including apply_steward, alongside 760 test files and approximately 9,612 test functions. The apply script includes the rate cap and stale-payload preflight checks before running, noting that the August 8, 2026 run applied 148 modules in one night when many were stale copies of files that had moved on.

Test updates and merge recovery

Test suites have been brought up to date without weakening assertions. The test_starfield test pins the architecture family-seventeen-d built on August 11, 2026, featuring 19 qubits, 524,288 amplitudes, 18 families and spokes, 55 gates, and a 1,555,200-node field, replacing the old 13/12 values. The structure-forms bar maintains its 73% ratio, and emergence runs for 600 ticks. The test_sandbox_runner allows git and pip read-only while keeping rm, curl, and ssh blocked, matching existing docstrings. Two renamed node web tests are declared in sovereign-agent/aria-test-debt/REMOVES.txt. Work lost on August 8, 2026, was recovered by restoring 126 files following a file-by-file review documented in aria-merge-recovery/DECISIONS.md. The apply gate ran affected tests on the tree before and after the copy with no new failures, while 66 pre-existing failures remained unrelated. Aria's lexical memory index increased from 24 to 573 of 573 atoms with atoms.db backed up first. The apply script gate now compares before and after states instead of demanding that every pre-existing failure pass, after a first run rolled back cleanly on that condition.

What this rests on


The store · The course