interplane.Get Omega
Read in your language

aegis-runtime-mv

Native Rust agent runtime: Axum WebSocket/SSE/REST gateway, heartbeat scheduler, dependency-aware task workflow, SQLite storage. Attachment of AienOS. Pre-alpha.

Brought by drakestapleton

[OM-AEGIS-RETIRE] Migrate authority, receipts and recovery enforcement from Rust to source-verified .om

Open · #75 · open 2026-10-25 02:21 UTC

Imported from GitHub aien-dev/aegis-runtime-mv#75, by drakestapleton

drakestapleton wrote on 2026-10-25 02:21 UTC

Source-backed security-critical boundary

aegis-runtime-mv main a58dbada683b1088ba3274cc527562e832fe5039 has 60 .rs files under the preliminarily active path including src/auth.rs, src/enforcement.rs, src/execution/broker.rs, src/defense/approval.rs and src/defense/receipt.rs. This is first-party trusted decision logic, not merely an implementation behind a foreign API. A thin .om front end delegating to Rust is NOT a completed migration.

Deliver

  • Freeze trusted decision matrix, capability roots and attenuation, resource authorization, cryptographic receipt serialization/canonicalization, replay/idempotency/attempt history, revocation, side-effect approval, error/fail-closed semantics and exact current public ABI.
  • Work with existing AEGIS / World owners and seeded .om security facilities. Produce one small source-bound native .om decision and verification vertical slice with complete reference tuples and deliberately forged/expired/revoked/changed-policy controls; then migrate service, agent, broker, actor and remaining first-party tests in bounded PRs.
  • Independently test old vs new on identical approved/denied, concurrency, crash/power-loss, rollback, stale generation, untrusted candidate and forged-signature cases. Never weaken permissions to make parity easier. Qualified independent verifier cannot share the candidate's trust root or authorize itself.
  • After real consumer cutover and rollback verification, remove project-owned Rust implementation/build/test logic from active product closure, not merely leave a Rust daemon beside .om. Classify external crypto libraries and firmware separately; no secret dumps in receipts.

Acceptance

  • Complete security-critical method/authority inventory and exact dual-path golden/refusal fixtures.
  • Independent, signed source/ABI/receipt parity and capability-mutant gates on the .om implementation.
  • Safe activation and rollback qualified, no unverified or privileged default elevation.
  • Transitive legacy Rust source/test/runtime dependency deletion and CI #316 confirmation.

Shared gates

Child of architecture #300, SEM-0 #315, and zero-legacy release checker #316. Actual branch/PR/worktree owners retain exclusive paths. Native product execution, authored build/verification scripts and owned tests migrate to seeded .om; independent third-party oracle remains isolated and disclosed. No direct main edits, new authority, live device mutation, visibility change, release bypass or fabricated PASS. Each source retirement requires independently executed parity, contract/binary source pin, actual consumer cutover, test/rollback and deletion of old dependencies. Keep immutable historic evidence in Git history and treat golden hexadecimal data as data, not authored machine code.

No comments.

Sign in to comment