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

Hardware-first learning research: simulate costs, search bounded mechanisms, measure compounding (extends #265)

Open · #276 · open 2026-10-19 18:03 UTC

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

drakestapleton wrote on 2026-10-19 18:03 UTC

Purpose

Drake requests mathematical simulation before expensive compute: model the Spark, compare bounded candidate learning mechanisms, and measure whether retained experience compounds useful capability per second and joule. A conversational interface is required eventually; an LLM architecture is not assumed. This issue coordinates only the additional research slice under the existing necessary-work programme #265; it does not replace that programme or reorder the active execution plan.

Current-code audit, 2026-10-19

Read current default-branch source through GitHub:

  • omega-mv src/runtime/rx_costmodel.c already fits empirical costs, handles uncertainty/pressure, observes failures and estimates energy when power inputs exist. Reuse it; do not recreate a learned estimator.
  • omega-mv src/runtime/rx_plan.c already encodes templates, checks applicability and executes verified reuse. Extend the existing E03 campaign (#246), not a new cache.
  • omega-mv src/omega_realize_synth.c already emits bound native realizations; its schedule choice is a bounded issue-width/register heuristic. This is not an unrestricted intelligence synthesizer.
  • GPU simulator work is active (omega-mv PRs #514 and #509); simulator correctness cannot establish timing/energy or chip correctness for unverified instructions.
  • FORM0 exists (physics-mv PR #46; architecture PR #127). Respect physical-form identity and reuse its accepted contract where applicable. These are source observations and PR descriptions, not rerun qualification. Implementers must pin fresh commits and inspect tests/build contracts before changes.

Reuse and dependencies

Use #264 objective contracts, #244 real traces, #246 reuse campaign, #252 timer calibration, #253 hardware atlas, #262 out-of-sample predictions and #263 final dossier. Coordinate with #274 FORTRAN scarcity work (lifetimes, frequency, resident layouts, storage maps). GPU variant ranking remains omega-mv#522. Byte translation validation and bounded rewrites remain #248/#249/#261. Existing ALLEN work (#159/#231/#269) owns communication and continuity.

Symposium crossover: unresolved

Requested explicitly by Drake. Searches for symposium/sympos in accessible aien-dev code, issues, PRs and commits, plus aien-spark/drakestapleton issues and installed repository names, did not identify the intended project. This is not evidence of absence. Before allocating overlapping implementation, record the intended Symposium repository/branch, inspect its actual source and open PRs, and mark each proposed deliverable reuse/extend/missing. Do not assume an unrelated public project named Symposium is the intended one. Independent offline contract work may proceed; overlapping runtime changes wait for this check.

Scope and gates

  1. Freeze a finite task suite and budgets using existing Phase 0. Include task success, delayed retention, transfer, correction handling, communication cost and recovery; choose numerical thresholds before held-out evaluation.
  2. Add an offline resource-DAG simulator consuming existing measured evidence; distinguish spec ceilings, fitted estimates, measured values and unknowns. Use it to reject infeasible candidates and nominate informative small measurements.
  3. Add a bounded candidate-search experiment over representations/update rules/realizations. Existing generation stores and verification execute accepted candidates. No unrestricted self-modification or new compiler/runtime.
  4. Extend E03 with lifecycle payback/retention accounting. Savings reinvested in learning are not simultaneously counted as energy saved.
  5. Publish a Pareto set in seconds and joules per accepted objective, peak bytes, quality/retention/transfer, and T/T-per-J where the existing TY protocol applies. Include search, failed trials, validation, persistence and interface costs. Whole-system energy stays UNMEASURED without a named instrument. No global optimum or general intelligence claim.

Ownership and sequence

Coordinator owns only this ledger and contract reconciliation. Simulator owner owns additive offline harness; search owner owns bounded candidate experiment; E03 owner retains reuse campaign. Freeze shared evidence schema first; then use existing calibration/trace producers; then held-out validation; only then a small native pilot and existing release qualification. Runtime path changes require owning-workstream coordination.

Completion

  • Existing-code/PR/Symposium overlap matrix and pinned source links recorded.
  • Child interfaces, budgets and held-out gates frozen before experiments.
  • Simulator prediction error and selection regret measured on unseen cases under #262.
  • Lifecycle learning payoff reported, including failures and no-payoff regimes.
  • Native pilot uses existing execution/persistence with qualified fallback and no authority bypass.
  • #263 receives a reproducible dossier and explicitly bounded verdict.

Child ledger

  • aien-dev/omega-mv#583 — offline resource-DAG simulator and held-out cost validation.
  • aien-dev/omega-mv#584 — bounded learning search and native pilot (depends on #583).
  • #246 — reused E03 campaign, extended with lifecycle payback, retention and reinvestment accounting.

Start with overlap/contract reconciliation, then #583; #246 can collect baseline observations within its existing scope. #584 consumes both. No experiment has run as part of this filing.

Delivery rules

Status: PROPOSED. Qualification: NOT_RUN. This is a finite workstream, NOT A MASTER PLAN. Follow PLAN_AUTHORITY.md, CURRENT_EXECUTION_PLAN.md, accepted ADRs and the owning repository's AGENTS.md. Recheck current source and active PRs before coding; claim one owner/worktree per path. Preserve existing World, Cortex, FORGE, AEGIS and capability ownership. No new runtime authority or parallel cost-model service. Use existing native toolchain and aien-calc receipts; no Python/CUDA runtime dependency. Spark judges; quietlock check before GPU work; never kill chip runs; submit through the existing PR desk. Record pinned commits, commands, immutable evidence and independent review. Report PASS/FAIL/INCONCLUSIVE/NOT_RUN separately from task completion; negative findings are valid outcomes. No performance or intelligence claim from a simulation alone.

Operator clarification: one entity, minimum necessary computation (2026-10-19)

Drake's clarified product intent: one persistent, agent-first entity whose goals, memory, learning, machine actions and human-facing display form a coherent experience. The display is a projection of its state; closing a view must not erase or stop independently authorized work. An LLM may help build it and is not required as its permanent engine. “One entity” does not require one binary or removal of internal isolation/capability boundaries. Preserve existing subsystem ownership; any actual boundary change follows the accepted ADR process.

The objective is to eliminate as much unnecessary computation as possible, not promise zero processing. For each accepted objective: (1) prove work unnecessary or derive a direct result, (2) reuse a verified result under valid assumptions, (3) update only changed dependencies, (4) simplify remaining work and movement, (5) optimize only when expected lifecycle benefit pays for search/check/storage/maintenance. Hard correctness, authority, recovery and declared capability floors remain constraints.

Formal contract

Let s be persistent entity state, e an admitted event, and theta the versioned learned mechanisms. Define s_next=F_theta(s,e) and a view v=R(s,h), where h is the human's view/interaction context. These are specifications to map onto existing World/ALLEN/Cortex/AIENOS mechanisms, not a new event loop or store. Input effects, rendering and state transitions still require physical work. A view update must not independently mutate authoritative state outside the existing command/commit path.

For a frozen workload W and horizon H, minimize the Pareto pair (total seconds, total joules) subject to success, retention, transfer, response, rights and recovery gates. Count offline construction/search, validation, failed attempts, actual execution, persistence and presentation. Never hide a transferred cost or trade lower quality for an apparent saving.

Assigned extensions and acceptance

  • #249 owns assumption-checked mathematical elimination and hardware-cost ranking; omega-mv#583 models their full cost; omega-mv#584 executes the bounded integration.
  • Existing ALLEN interface/continuity owners (#159/#231/#269) coordinate the entity/view demonstration through omega-mv#584; no duplicate UI/kernel/model project.
  • One objective continues with the view detached; reattachment shows the same committed identity/state/history. A human correction enters the same authoritative state; restart preserves it.
  • An unchanged-state interval performs no avoidable repeated inference/search or application-level redraw. Report required timers, IO and display scanout separately; never claim zero hardware activity.
  • A changed input recomputes exactly the dependency closure needed by the contract; stale cache/state mutations force invalidation.
  • Retained experience makes a declared repeated workload cheaper after all costs, or record FAIL/INCONCLUSIVE. Report unknown coverage rather than claiming all possible work has been eliminated.
  • Add an ablation ladder: incumbent; elimination only; reuse only; incremental update only; combined; include optimization overhead and stop-search control. Use #263 for final evidence.

drakestapleton wrote on 2026-10-19 18:48 UTC

Symposium crossover check (ledger L050, research/cost-sim-583 agent)

Matrix committed at omega-mv docs/research/276-crossover-matrix.md on branch research/cost-sim-583 @ 1cd04c8ecc14c42b5fbcb4fc707311ba344f1da8 (https://github.com/aien-dev/omega-mv/blob/1cd04c8ecc14c42b5fbcb4fc707311ba344f1da8/docs/research/276-crossover-matrix.md). Full text follows.

Symposium crossover matrix for aien-architecture#276

Written 2026-10-19 by the research/cost-sim-583 agent (ledger L050). Answers the "Symposium crossover: unresolved" section of aien-dev/aien-architecture#276.

What "Symposium" is

The tracking issue could not find Symposium because it is not an aien-dev repository. It is the outside project symposium-dev/symposium ("cargo agents", licence MIT OR Apache-2.0): a Cargo subcommand that scans a Rust workspace, matches plugins against the dependency graph, and installs crate-matched skills, hooks and MCP servers into whichever coding agent is in use, from one agent-agnostic manifest.

Pinned source read for this check (read-only clone at ~/workspace/_ext/symposium):

  • symposium-dev/symposium @ b420d5dc4c71abde973cea8cb4f30ea4c8e76ae0 (main, 2026-10-19, "Merge pull request #322 from Fluzko/reference-docs"), 561 tracked files. Modules: `src/{agents,hook.rs,hook_schema,skills.rs,sync.rs,plugins.rs,predicate.rs, crate_sources,pm,telemetry,...}`. No cost model, scheduler, DAG, bandwidth, energy or hardware model exists in the tree: `git grep -il "cost model|simulat|resource.dag| bandwidth|joule|energy|roofline|critical path|learning mechanism|retention|payback"` matches only mdbook/RFD prose about telemetry and the blog post, never src/. The three cost hits in src/ are comments about network cost of a registry fetch (src/hook.rs:275, src/hook.rs:480, src/skills.rs:194).
  • Open PRs at the time of the check (30): #320 to #361. Every one is about agent plugin installation (Claude Code, Codex, Copilot, Goose, Antigravity), skill/hook sync, or opt-in local telemetry recording (#326 to #358). PR #339 "RFD: Evaluating agent tasks with and without Symposium" is an A/B protocol for coding-agent tasks, not a hardware or learning-cost experiment.

What AIEN already took from Symposium today (another Hermes session, same day):

  • Audit and design: ~/workspace/agents-in-tree/BRIEF.md (on the Spark).
  • ADR 0038 "Agent guidance travels with the tree", aien-architecture branch agents/in-tree-guidance @ 600a7584c277fa02ff3fbea48088e1d0ac07f149, docs/adr/0038-agent-guidance-travels-with-the-tree.md.
  • Seven branch heads in ~/handoffs/2026-10-19-agents-in-tree.md; the omega one is agents/in-tree-guidance @ 984b7eed9b86e1a25b79251ad5a30529f597faab and touches only .crumb, agents.toml, skills/omega-basics/SKILL.md, tools/.crumb, tools/agent-hooks/* (10 files, 640 insertions).
  • Borrowed-ideas plan: ~/handoffs/2026-10-19-borrowed-ideas/PLAN.md (Symposium is not one of its 20 items; its sources are TensorFold, llama.cpp, vLLM, SGLang, seL4, Linux, etc.).

Matrix

Overlap is judged on three tests the issue asks for: same mechanism, same file, same contract. "None" means all three fail with the evidence named.

DeliverableSymposium (b420d5dc, PRs #320 to #361)agents-in-tree work (ADR 0038, 7 branches)Verdict
omega-mv#583 offline resource-DAG cost simulator (schema, evaluator over src/runtime/rx_costmodel.c estimates, bounds, energy accounting, attribution, held-out gates)Mechanism: none (no cost, DAG, scheduling, bandwidth, energy or hardware code in src/). Files: none (Rust CLI for agent config; omega is C). Contract: none (its only versioned data contract is the opt-in telemetry JSONL in md/rfds/telemetry-recording/contract/recorded-data.md, about agent command counts and durations, not machine resources).Mechanism: none (hooks that block --admin, force push, kill; skill lookup). Files: none. The omega branch touches no path under src/, tests/, docs/research/, evidence/. Contract: none.None.
omega-mv#584 bounded learning-mechanism search, native pilot, retention and payoffMechanism: none (plugin matching is a static predicate over Cargo metadata, src/predicate.rs; no search, no update rule, no retention measurement). Files: none. Contract: none. PR #339 is an evaluation RFD for coding-agent productivity with and without Symposium: a methodological neighbour (A/B arms, held-out tasks) but a different subject, no shared artefact.Mechanism: none. Files: none. Contract: none.None.
aien-architecture#246 E03 plan-reuse campaign on src/runtime/rx_plan.c with lifecycle payback and retention accountingMechanism: partial idea only. Symposium caches resolved plugin predicates (src/predicate_cache.rs, src/workspace_state.rs) and re-syncs on each hook when dependencies change, which is "reuse a cached result while its inputs are unchanged, invalidate when they change". That is the same shape as plan reuse with precondition invalidation, but it is a build-tool cache keyed on cargo metadata, not a verified-plan store, and no code, file or contract is shared with rx_plan.Mechanism: none for the campaign itself. The in-tree skills tell agents how to run tests and what not to touch; they do not implement or measure reuse. Files: none under src/runtime/ or tests/runtime/.None at mechanism/file/contract level; one design idea in common (cache + invalidate on changed inputs), already present in rx_plan.

Reuse / extend / missing, per #276's request

  • Reuse from Symposium: nothing for #583/#584/#246. The parts worth reusing (one manifest, in-tree skills and hooks, translated per agent) were already taken by ADR 0038 and belong to agent guidance, not to cost simulation or learning search.
  • Extend: nothing. No Symposium component can be extended into a cost model, DAG evaluator or learning-search harness without becoming a new project.
  • Missing: nothing is missing because of Symposium. #583, #584 and #246 proceed on existing omega code (rx_costmodel, rx_plan, omega_realize_synth) as their issues already state.

Consequence for sequencing

The "overlapping runtime changes wait for this check" gate in #276 is cleared: there is no overlap, so #583 (additive offline harness) and #584 (bounded search) need no coordination with Symposium or with the agents/in-tree-guidance branches beyond the ordinary rule of not editing agents.toml, skills/, tools/agent-hooks/ in their worktrees.

Status: PASS for the crossover check (the check ran and found no overlap). This is a source observation at the pinned commits above, not a qualification run.

Sign in to comment