Skip to content

[P0] Sovereign AI OS: Hardware-aware verified Zen model bootstrap and offline inference #163

Backlog

Description

@zeekay

Parent: hanzo-inc/app#562. Owner: @jamessburnss1313-dev.

Objective / implementation

Use existing Engine discovery/serve APIs; inventory supported Apple Metal/CPU, Windows/Linux accelerators and memory. Select tested Apache/MIT Zen variant (Zen6-Nano candidate, verify release and license), pinned model digest and signature, download resume/cache, disk/RAM preflight, local loopback auth and streaming health. No automatic hosted fallback. Add offline bundle import and model update rollback.

Acceptance tests

8GB Apple Silicon first-token latency, memory peak, throughput and thermal evidence; corrupt artifact rejected, offline inference works, model unavailable gives local error, no external requests during local run; CI fixtures and physical test receipts.

PR definition of done

  • Identify actual owning files and reuse existing components/contracts; link related issues and implementation PR to parent.
  • Implement production behavior, not just mock/spec. Add unit/integration and relevant E2E regression tests; run repo lint/typecheck/build and CI.
  • Attach exact commands/results, screenshots where applicable, failure/recovery evidence, rollout/rollback and docs. Flag any unsupported platform or feature; no unverified launch claims.

Activity

  1. jamessburnss1313-dev commented on Nov 29, 2026

    @jamessburnss1313-dev
    Contributor

    #174 covers part of this issue:

    • Pinned, sha256-verified Zen bootstrap: hardware-aware selection; pull with resume into the shared HF cache; disk and RAM preflight.
    • Offline bundle import/export, activate and rollback.
    • Local-only loading, with a local error when the model is missing.
    • Receipts from a CPU Linux box are on the PR: corrupt artifact refused, 4B and 9B offline inference with 0 connect() calls.

    It is labelled needs-cto.

    Remaining scope, not in #174:

    • Model signatures. The binary's compiled digests are the only trust root; signing needs a key and a release-signing decision.
    • Loopback auth on serve. serve still binds 0.0.0.0 and advertises over mDNS by default; the guide says to pass --host 127.0.0.1 --no-advertise.
    • Windows/Linux accelerator inventory beyond doctor, and GPU memory peaks (memory_bytes is from CPU peaks).
    • 8 GB Apple Silicon receipts: first-token latency, memory peak, throughput and thermals. These need the hardware.
    • Request-driven egress. Web search, image URLs and MCP are documented as still reaching the network when used, not blocked.

    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions