interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

[TURING NETWORK R0] Bootstrap narrow compute-job market component; no duplicate currency ledger

Open · #311 · open 2026-10-24 17:32 UTC

Imported from GitHub aien-dev/aien-architecture-mv#311, by drakestapleton

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

Component purpose

aien-dev/turing-network (proposed; not created) owns opt-in requester/provider matching, public contract semantics, provider preferences and transparent economic policy. The actual atomic ledger belongs with Sovereign Core's existing service-credit/settlement owner; Open Humanity owns encrypted transport and consent; Omega/FORGE own actual resource admission and execution; Spark connector/independent judge own trust receipts. Scientific T is nonspendable evidence; the proposed spendable Turing is a separate policy-governed currency or test-credit balance, not minted per raw operation.

Prerequisites / conditions

Parent coordination: https://github.com/aien-dev/aien-architecture-mv/issues/307. Bootstrap is NOT evidence a model, protocol, network, training pipeline, archive, or physical GPU behavior exists. Before creation confirm no existing renamed/archived successor, check architecture authority and component owners, choose repo visibility explicitly under operator/org policy (private unless already approved otherwise), license/security and AGENTS.md/.crumb/contribution contract. Current connected GitHub tools do NOT create repositories. A GitHub org owner or an authorized different tool must create the repo; report BLOCKED_REPO_CREATE until verified by actual repo metadata. Do not move or expose private traces or models. Link current owner issues, add a minimal synthetic example and PASS/NOT_RUN matrix, open reviewed PRs. Any new executable first-party code is seeded handwritten .om in the existing Omega path; independent oracles and external hardware/OS software are documented separately. No second compiler, memory store, authority or judge.

Minimum deliverables

  • Test-credit market contract: job content/verification hash, requester/provider signed identities, trusted data-locality limits, quota+expiry, deadline, max price, escrow, verification cost, max interruption bond, complaint/dispute/grace windows, refund and replay IDs.
  • Lifecycle AVAILABLE→RESERVED→ACTIVE→DRAINING→RELEASED; no starts after drain; no forced migration of active GPU state; owner emergency stop with bounded pre-agreed exposure.
  • No second validator, signer, wallet or blockchain; recover against the existing Core ledger and OH transport. Evaluate only trusted admitted jobs in first pilot, not arbitrary external GPU code.
  • Synthetic two-owner one-job test preserves fixed-point balances and no double settlement; no public token issuance, speculative minting, testnet/mainnet, promised returns, unrestricted new infrastructure or unbounded penalties.
  • Establish working boundary against Core #734 and OH #32.

drakestapleton wrote on 2026-10-28 02:06 UTC

ARPANET-0: four-node opt-in Aien agent network bootstrap (2026-10-27)

Operator direction: model our voluntary Aien agent network on the early Internet: independent nodes, a small shared protocol, local peer directory, real useful services, and then federation. NOT a malware botnet, involuntary enrollment, central command-and-control or unrestricted remote execution. This is a bounded research pilot inside existing repositories.

Historical lesson

  • ARPANET began with four nodes in 1969; early hosts used a centrally curated HOSTS.TXT directory and migrated to scalable DNS only as network size demanded it (RFC 1034).
  • TCP/IP enabled different kinds of networks to interoperate by 1983. Network transports communicate; endpoints decide the meaning of work, authorization and payment (RFC 1958).
  • Start with a four-entry signed manifest, not a new global directory, crawler or blockchain. Node identity is a persistent signing key independent from its changing transport endpoint.

Four simulated participants (not a live network claim)

A Spark GB10: Allen/AIEN requester and bounded compute. B Raspberry Pi 5: tiny native .om arithmetic/proof worker. C Intel iMac: CPU worker or separate verifier. D opt-in independently controlled volunteer: additional provider or verifier. First run all four identities as isolated local processes; then try two actual owner-admitted devices; then four if available. Do not confuse simulated peers with independent physical nodes.

Protocol and ownership

  • Existing Open Humanity Ed25519 + authenticated X25519/ChaCha20-Poly1305 transport owns secure sessions. Add a versioned peer-to-peer adaptation only through its owner; no new cryptographic scheme or public exposure.
  • Existing aien-protocols-mv #50 MJB1 typed microjobs owns job data and result receipts. No second task wire format. Allowed initial operations: bounded pure .om arithmetic, verified compilation, arithmetic proofs/reference calculations. No shell, arbitrary uploaded executable or privileged tool effects.
  • Proposed bounded peer records: PEER_OFFER / JOB_REQUEST / QUOTE / ACCEPT / RESULT / VERIFY / CANCEL / LEAVE. Bind node key, version, expiry, nonce/sequence, stable job ID, input/output hashes, privacy/capability scope, max resource work and source/verifier identities. Each node has opt-in offer limits and a clean leave/drain path.
  • Discovery initially uses a signed, static four-key list; then measure whether TTL-bounded pull-based peer discovery is necessary. No unsolicited propagation.

Turing settlement

  • Scientific T is an evidence measurement of independently verified explanatory information gain under one frozen comparable profile (Open Humanity #32, Omega #683); it is not a spendable balance or minted per token.
  • Spendable TUR is an operator-defined fixed-point test-credit denomination. Core #734/#738 owns the ONE atomic double-entry balance/escrow ledger: quote -> reserve -> independently verify -> settle provider/verifier -> refund surplus. Research awards pay from pre-funded capped pools; T-derived eligibility follows a declared public policy. No unbacked self-mint, new blockchain, floating-point financial balance, or token speculation.
  • Conservation test: requester 100 TUR; reserve 40, spend 27 to provider, 3 to independent verifier and refund 10. Requester closes at 70, provider at 27, verifier at 3. Total supply stays 100. Logical job IDs/retries must settle once only.

Acceptance

  1. Four separate, explicitly enrolled node identities complete one 10+ task microjob DAG using >=2 nodes and signed independent result verification.
  2. Spark/bootstrap failure after enrollment must not prevent directly connected remaining peers from completing authorized pure jobs. Duplicate/reordered/replayed messages, revoked keys, network partitions, bad proof, expired quote and malformed frames fail closed.
  3. Single transactional journal survives crash before/after reserve/settle, concurrent double-spend and offline reconciliation; debits, escrow, payouts, refunds conserve prefunded credits with no negative balances.
  4. No user traces, chat history or private model files cross nodes without explicit consent. Never interrupt the live 35B or submit unapproved jobs to shared GPUs.
  5. Host simulation PASS is recorded separately from a two-machine or Spark physical run NOT_RUN. Exact .om compiler pin, job/receipt digests and independent negative controls required.

Owner coordination: protocol #50, OH #32, Core #738, and this architecture #311. The proposed turing-network repo still returned NOT_FOUND in the current lookup. Do not create a duplicate currency authority or announce a live public network based on this issue comment.

drakestapleton wrote on 2026-10-28 02:15 UTC

AIENET-0 fast-start evidence, 2026-10-27: Protocol draft PR #63 publishes specs/aienet/P0_INTEROP_PROFILE.md: volunteer four-peer bootstrap, existing MJB1/MJR1 + Open Humanity transport + Core escrow owners, signed work and verification, two distinct Turing quantities, staged acceptance. Core native Omega fixture PR #791 provides a .om deterministic four-role escrow arithmetic regression and reproduction guide. Wolfram reference: requester 100, reserve 40, settle 27 provider + 3 verifier + 10 refund, ending balances {70,27,3,0}, escrow 0; invalid/reserve/replay controls reject. SOURCE_COMMITTED; actual .om compile/run, networking, escrow durability, dual-device and GPU = NOT_RUN. Do not claim payment-network launch; no extra runtime, wallet, token, or public endpoint introduced. Next: qualified AArch64 execution, integrate authoritative Core ledger and MJB1 signature, then two owner-admitted physical peers.

drakestapleton wrote on 2026-10-28 10:06 UTC

Aienet-0 updated implementation review, 2026-10-28

Status: P0 two-machine EXERCISED; host TUR accounting HOST_TESTED; independent federation and public currency NOT_QUALIFIED. This updates the earlier NETWORK_NOT_RUN snapshot for newer candidate branches, without modifying the original evidence.

Actual implementation and receipts

  • Protocols #64 at 9ed6a033a2c6a81aecda11e100b3d2279d9965c7: Spark requester/independent verifier -> MacBook Air M2 volunteer over LAN, 11/11 test cases MATCH. Six of six core/Rust/native .om matmul digests agree. 13 protocol mutant tests reported killed; stored machine/run/receipt hashes and controls in evidence/aienet0-20261028/.
  • Open Humanity #44 at 946ea8b29aa77e2805b9618b1ec4a2220a7306ef: signed, pinned encrypted carrier, allowlisted single worker, 5/5 mutant controls reported.
  • Core #791 at d791363aa65f4a07929249313d10737b0bd628cd: native seeded .om arithmetic oracle PASS on Spark, 6/6 mutants reported caught.
  • Core #792 at 2cdc9249bc9863e605bcd167aba9d1c2dd476f7e: persistent .om test-credit ledger, reported 57 PASS lines, 7/7 mutants, 200 kill-9 recovery trials and fsync-before-reply. Actual two-machine settlement transcript under Protocols #64 records prefund 100, reserve 40, VERIFIED MJR1, payout 27 provider / 3 verifier / 10 refund, repeat already-settled with identical journal, tampered receipt refused/refunded.
  • Design #63 remains a published draft. MJB1 #53 remains open and non-mergeable, while #64 includes the stacked MJB1/DCP1 implementation across 429 changed files.

Review blockers before a public / multi-operator network

  1. Core #792 review: prefund accepts caller-supplied credit with no issuer authentication and settle accepts a hash string rather than verifying MJR1/AN0V inside the ledger authority. Current trusted script checks this externally; insufficient for arbitrary users.
  2. Open Humanity #44 review: worker read_to_string(...).unwrap_or_default() can fail open on unreadable replay state; no atomic concurrent admission; seen-before-result leaves a job stranded if worker crashes before returning receipt. Define durable outcome replay/refund and test crash boundaries.
  3. Protocols #64 review: reconcile stacked #53 (non-mergeable) into one canonical MJB1/AN0 lineage; pin exact peer capability, tenant, approved quote and verifier/source policy for federation; triage four CodeQL cryptographic-value alerts.
  4. Keep scientific complexity-adjusted T (profile-bound nonspendable information-gain evidence) separate from prefunded spendable TUR test credit. A verified matmul does not mint scientific T.
  5. The current two machines are operated under one known project setup, with a single allowlisted matmul_u32 node and an SSH-started worker. A 10+ node DAG, four genuinely independent peers, bootstrap failover, open peer discovery, public Internet operation, native .om worker and legal money are NOT_RUN / unqualified.

Immediate integration order

A. Review/untangle PRs #53/#63/#64 and pin the canonical protocol version used by OH #44. B. Fix fail-closed durable replay and idempotent result recovery in OH #44, then re-exercise on both machines. C. Enforce authorized prefund/receipt-bound settle in Core #792, test double payment, outage and unauthorized mint/settle; repeat two-machine escrow flow. D. Only then enroll an independently owned third peer, then four peers, and demonstrate multi-node job DAG and bootstrap-offline operation.

No public token, wallet or deployment authorized by this review; preserve the resident 35B.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:12 UTC

Recovered GitHub comment by @aien-spark on 2026-10-28T11:25:54Z. Original comment 6467752794

Operator-requested collaborator research is now in draft PR #348: docs/research/aienet-collaborators.md, linked from README. Academic and community leads include sources, public contact routes, suggested research questions and participation caveats. Every entry is PROSPECTIVE / NOT CONTACTED; this is not an enrollment or endorsement list. Outreach uses Aien, a Sovereign Intelligence (SI) agent, through an authorized Aien account only, without impersonating the human collaborator. No emails or registrations sent. The directory changes no protocol, trust gate, roadmap status or independent-owner qualification claim.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:17 UTC

Recovered GitHub comment. Original comment 6511785962

M1 lanes started (2026-10-30T00:23Z). Status: IN PROGRESS. Nothing here is merged or qualified yet.

M1 path: Allen .om objective journal → canonical MJB1 → Open Humanity Aienet-0 (aienet0-serve / aienet0-run) → Omega recompute + AN0V → journal accept.

LaneRepo / branchOwner surfaceScope
AienetCanonaien feat/aienet-m1-canonAllen (.om)src/goal_microjobs/canon.om. emit turns an Allen node and its derived generation into a one-node MJB1 under the Aienet-0 profile. ingest turns a checked MJR1 plus AN0V into journal RESULT/VERIFY lines. Tenant, subject, approval, capability, expiry and payload come from an explicit binding record and are never invented. Differential test against aien_microjob decode, dag_digest and admit_bundle.
AienetM1Runopen-humanity feat/aienet0-seal-document and aien feat/aienet-m1-acceptanceOH (sealing); Allen (harness)aienet0-run bundle --document --payload seals an external document with the existing seal_bundle. It is not a new signing scheme. The acceptance harness kills the run at each boundary and checks recovery, stale-generation refusal (kernel 34), altered-result refusal, and exactly one accepted completion per generation, plus mutants.
CoreSubagentFixaien-sovereign-core-mv fix/subagent-false-completionCoreaien-cli subagents currently report completed after an inference error and after running out of steps.
AegisCompletionFixaegis-runtime-mv fix/completion-status-truthaegisThe gateway maps any Ok result to completed. The heartbeat calls complete_task unconditionally and always records a nominal receipt.

Binding rules:

  • The profile stays Aienet-0 (one node, matmul_u32, RECOMPUTE, retry NEVER, max_attempts 1, zero tokens). Token limits are not expanded.
  • MJB1 generation equals the Allen node generation. job_id and idempotence_key are domain-separated SHA-256 values over (objective, node, generation). CORRECT produces a new operand and payload, which gives a new document and a new dag_digest.
  • Signature checks stay in the OH and protocols Rust paths (aienet0-run check) unless P-256 verification is proven in .om.
  • Host only (P0). No GPU, no public listener, loopback only. P1 (two machines) and P2 are NOT_RUN. TUR settlement is outside M1 and is NOT_RUN in this milestone.

Draft PRs, with their evidence, will be linked here as they land.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:21 UTC

Recovered GitHub comment. Original comment 6512622239

M2 update following the bot-network plan in https://github.com/aien-dev/aien-architecture-mv/issues/311#issuecomment-6511785962 (coordinated on #311, titled TURING NETWORK R0): PR https://github.com/aien-dev/aien/pull/25 at c528c790ac97d309100b44ef042f7fb95740d088. IMPLEMENTED / HOST_TESTED: Omega local durable bot identity bindings and inbox journal, separate worker leases, deduplicated deliveries, lease-bound claims/ACK/NACK/expiry, retirement, replay and deterministic CLI. Allen owns continuity, OH owns keys/transport, Cortex/JSpace own memory/planning; bot memory fields are references only.

The corrected host suite exited 0: 319 PASS assertions, 263 exact exit checks, 48 SIGKILL replay equalities. Mutants: KILLED_ADMIT 19, KILLED_CODE 11, KILLED_STATE 1, KILLED_BARRIER 3; TRAPPED 2 (botcap/msgcap exit 103), SIGNALLED 0, ERROR 0, SURVIVED 0. The previous 33-semantic-kills claim is withdrawn; capacity traps are not kills. Required strace ordering checks and removal/reordering mutants establish candidate fsync → rename → directory fsync, not power-loss qualification. Six crumbs verify current.

Evidence: /home/drakestapleton/handoffs/aienet-m2/round2/. P1 two-machine, P2 federation, signing/key-ownership proof, Cortex integration, transport, scheduling/model routing, GPU/hardware and power-loss testing: NOT_RUN. Independent review: APPROVE at c528c790. The reviewer reran the suite into a fresh root and got exit 0 with the same counts and mutant table. Removing the candidate fsync fails with expected=candidate,rename,directory observed=rename directory. With strace missing, the result is barriers=NOT_RUN and exit 1, so it fails closed. The PR is marked ready for review; it is not merged or deployed, and the M2 design still needs owner acceptance here.

Sign in to comment