interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

[PUBLIC CHAT] Bounded anonymous human/bot gateway and Turing-derived inference allowance

Open · #734 · open 2026-10-24 07:59 UTC

Imported from GitHub aien-dev/aien-sovereign-core-mv#734, by drakestapleton

drakestapleton wrote on 2026-10-24 07:59 UTC

Goal

Public product presentation: Visitors speak with Allen (title case). AIEN is the platform; the specialist model identities belong in truthful diagnostics rather than the primary user-facing persona. Keep internal canonical identifiers and protocol names unchanged. Public context must remain isolated from the operator-trained private Allen; no claim that personal memory is exposed to visitors.

Replace Core #724's proposed per-guest API token distribution with a public, bounded, human-and-bot accessible chat API behind www.aienos.com. Requests ultimately target the qualified aien-serve-http Omega serving process on Spark (currently loopback 127.0.0.1:18091, qwen3.6-35b-a3b-fp8, hash 19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb), not a new inference engine. Native 27B is separately gated by #710-#721 and does not become public by declaration.

Existing evidence and constraints

  • Site: aien-dev/aienos.com Rust/Maud static Pages app, existing www nginx edge. Pages cannot proxy dynamic API itself. Website #60 owns UI.
  • Open Humanity #32 owns explicit consent, teaching submission/coordinator receipts, verified T and credit-source ledger. oh-core::scoring currently supports signed positive-T entries for a toy model; it is not a production billing/metering implementation.
  • Core #724 and omega-bridge #2 own model qualification; #716/#721 own session scheduling and bounded work. No unauthorized live restart or exposing backend/admin/Cortex/Forge ports.

Gateway + spendable allowance

  1. Same-origin, HTTPS-only /api/chat/v1 (or versioned equivalent) on existing www edge forwarding to a separate isolated chat gateway; Spark binds only localhost or a strictly private channel. Expose only public chat routes, health/status and opt-in contribution routing. Block arbitrary upstream target, proxy bypass, internal tool endpoints, admin routes, raw model path injection, SSRF and CORS abuse. No forwarding credentials or cookies to model; no user control over system/developer prompt. Existing aien-serve-http stays unchanged until reviewed integration is qualified.
  2. Human and bot clients use the same JSON/SSE protocol. No API key, CAPTCHA, account or bot-blocking gate to read/use the public interface. Pseudonymous locally held Ed25519 public-key account may own durable allowance; authenticate allowance spends with proof of key possession (nonce/signature), not an unauthenticated mutable cookie. Anonymous/unfunded users may receive a small operator-set trial quota with explicit global cap or an explicit quota-exhausted response; disable trial without declaring a scientific T balance. Rate-limit across network+identity and bound admission before expensive parsing/tokenization; do not pretend IP is Sybil-resistant.
  3. Store separate scientific verified_turing_gain and monetary-like service_credits (no real-currency/payment claim): signed accepted OH receipt under a compatible frozen profile + explicit conversion policy creates bounded credit; raw text, unverifiable estimates and repeated receipts mint no T or credit. Do not silently combine T under different profiles. service_credits fund inference consumption; do not deduct actual Turing scientific gain. Use exact fixed-point accounting, event IDs, append-only journal, atomic reservation/refund/settlement, per-identity+global outstanding limits and crash-replay reconciliation.
  4. Per-message deterministic upper reservation from allowed max input/output/context, measured model/hardware-cost policy plus bounded admission. On actual completion debit measured work (input+output tokens, bounded device time/queue resource where available, model-specific factor). On rejection/refusal before inference do not debit, on partial SSE cancel settle only documented completed resource and release unused reservation, on timeout give idempotent recovery; no negative spend. Display price policy and itemized receipt to user. Distinguish compute tokens from scientific Turings.
  5. Independently measure model's true concurrency and memory caps; enforce total active requests, queue/wait, request-body bytes, context, output tokens, SSE backpressure, per-key/addr/global spend, abusive recursive calls, burst+hourly/day caps and total service budget. Reject too-expensive requests before model allocation. Fair queue with active 35B eight slots. Fail safely under DDoS/flood and upstream down with 429/503, Retry-After, cancellation propagation.
  6. Retain private operator service and live sessions. Public 35B test uses isolated gateway/port with protected connection to 18091, no driver or model swap. 27B discoverable only after qualified service exists and is separately configured; no fake fallback to 35B. Separate user conversations, no shared cache/state/prompt leakage, no auto tools/agent actions, no unbounded history or indefinite content retention.
  7. Open Humanity consent routing uses #32's typed submission protocol with independent user approval. Chat messages are never automatically training data. No Open Humanity receiver/admin interface directly exposed through this gateway.
  8. Observability uses local aggregate metrics and receipt IDs, not raw prompts or training text in logs, and no remote analytics. Secrets live only in existing credential custody. Public publishing or DNS/nginx operator change requires explicit operator approval and an independently verified rollback procedure.

Proof / acceptance

  • Simulated humans + bots, same API and ledger; forged ID/signature, replay, concurrent double spend, rapid key farming, guest reset, invalid/malformed/no OH receipt, negative T, duplicated signed receipt, wrong-profile T, spoofed service-cost fields.
  • 100+ simultaneous clients with bounded GPU admission and constant upper memory; test cancellation midstream, reconnect/retry idempotency, disconnected users, backpressure, queue fairness, quota error before model work, out-of-credit branch, upstream 503 and recovery.
  • Explicit 35B full inference SSE/JSON smoke and session isolation; latency/TTFT/per-request+aggregate throughput baseline; no claiming public access before live HTTPS external verification.
  • Separate no-inference fixture proving contribution accepted versus training applied from OH are not conflated; absolute prohibition on consentless training.
  • Publish exact revision, credential/endpoint boundaries, fixed-point policy version, signed test receipts and independent review. Native 27B and OH real-trainer integration may remain explicitly NOT_RUN, not silently marked PASS.

Related: Core #724, website #60, OH #32, OH #26/#27, Omega native server #666. Work within established source/ownership; no competing engine, credential system or source of scientific Turing scores.

drakestapleton wrote on 2026-10-24 08:05 UTC

Operator extension: contribution utility finances continued inference. Consume only Open Humanity #32 signed reward-source receipts referencing independent trace/novelty/Cortex assessment Omega #683. The reward policy may convert either (a) scientifically verified profile-bound T or (b) separately labeled independently measured physical savings/reusable counterexamples into bounded service credits; never display measured joules or heuristic novelty as verified T.

Debit measured inference as already scoped and prequoted bounded contribution evaluation cost for non-useful/redundant submissions. No arbitrary after-the-fact negative score; no negative balance. Duplicate submissions/replayed signatures/semantic paraphrase farming/key split mint 0; still charge only work actually performed under published cap, with cancellation/refund and appeal. Ensure ledger credits use independently signed settled event IDs and public budget caps. Human/bot protocol parity unchanged. Record available/pending/spent/earned and itemized assessment/inference debits for website #60. Local Cortex memory writer never exposed to the public API. Scope addition only; live port 18091 unchanged.

drakestapleton wrote on 2026-10-24 13:17 UTC

2026-10-24 Alpha front-door integration: public /api/chat/v1 should communicate with ALLEN as the only user-facing orchestrator. Worker selection is not a public API authorization: ALLEN proposes a 35B/27B route, Core #735 admits/refuses it against an independently qualified model-seat registry, then returns the result to ALLEN. Prevent direct 35B/27B privileged worker routes, forged model aliases and client-supplied private-context selectors. Both human/bot chat paths remain equivalent, Turing allowance stays separate from scientific T gains, and the operator's private trace-trained data/memory cannot cross into anonymous visitor context. Site #60 labels the chat Talk to ALLEN. No change to 35B loopback service or 27B public authorization until separate qualification.

drakestapleton wrote on 2026-10-24 17:41 UTC

Separate marketplace settlement under Core #738 reuses this same authoritative fixed-point journal for bounded two-party compute escrow/bond/refund. Ordinary accepted job transfers existing requester escrow; scientific T_ideal/T_real and T/J remain nonspendable evidence. New turing-network is only a separate job-matcher/policy spec (bootstrap #311), not another currency ledger. Live public release/real money not permitted. Parent SI #307.

Sign in to comment