Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-architecture-mv/issues/3587d79e47527a11 # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # E03: Plan reuse campaign on the existing rx_plan cache Open · #246 · open 2026-10-18 19:00 UTC Imported from GitHub aien-dev/aien-architecture-mv#246, by drakestapleton Labels: ready-for-agent drakestapleton wrote on 2026-10-18 19:00 UTC ## Governing correction: replace and remove, no retained legacy code Drake clarified: there will be no legacy code; it will be replaced with .om. The final state is .om throughout the project's first-party implementations, including runtime, compiler, services, build/release tools, automation and project-owned tests. This supersedes any older wording permitting a permanent legacy/reference implementation, wrapper, foreign fallback or dual production path. For each component: implement and qualify its .om replacement, cut its consumers over, then delete the superseded implementation and obsolete build/runtime dependencies from the active tree. Old source may be consulted in Git history during replacement; do not keep it in an active legacy/reference directory. Existing code present during unfinished migration is an outstanding replacement task, never an accepted end state. Preserve historical Git commits and immutable evidence; do not rewrite history. Missing .om capabilities are implementation dependencies for the existing seed/compiler owners, not exemptions. Independent third-party qualification oracles may run outside the delivered source/build/runtime closure; replace project-owned legacy test implementations too. Generated machine code, non-executable data/documentation, external protocol formats and device firmware are separately inventoried and cannot disguise retained first-party logic. Interoperation with users' external software does not make that software part of the .om implementation. Acceptance includes an active-tree/dependency audit showing the old implementation and fallback are gone, .om consumer tests pass, and exact source/seed/binary/evidence identities are recorded. Coordinate existing owners and release gates; replacement is complete only after deletion and consumer qualification. Part of the necessary-work programme (epic: "Necessary-work programme: make the necessary work the limiting factor"). Plan section 6, row E03, priority P0. Status: NOT_RUN. Docs: plan , feasibility research . In plain words: Existing plan reuse removes repeated search with lower total cost. Hypothesis and predicted observation. Existing plan reuse removes repeated search with lower total cost. Discriminating experiment and controls. Cold solve, warm same instance, new bindings, changed preconditions; compare against the existing rx_plan baseline (tests/runtime/rx_plan_reuse.c); count retrieval and validation. Decision / deliverable. Held-out reuse benefit and invalidation coverage; no general-agent claim from a toy domain. Depends on. Phase 0. Who does it. Plan role code: AGENT. Opus 5.5 builds (Astra for a targeted bug); Fable 5.1 reviews; Haiku 5.5 watches long runs. Gates before promotion (plan section 9): G0 reproducible baseline (pins, hashes, device state), G1 trustworthy measurement, G2 correctness including mutants, G3 detectable benefit with predeclared effect size and repetitions, G4 full cost including search and fallback, G5 causal out-of-sample prediction, G6 independent reproduction. A faster incorrect candidate is a failed experiment. Reporting rule. Seconds and joules per accepted objective and watts, each beside its physical bound with derivation and calc id, the same figure from our previous run, and the distance to the ceiling. Tokens and bytes are supporting facts only. Track C reports Turing yield T and T/J once TY-x exists; until then the acceptance-gate figure alone, labelled. No outside comparisons, no durations, no percent targets. Joules are UNMEASURED until an on-board or wall-meter instrument is named. Evidence. One append-only campaign folder (omega-mv evidence//README.md or sovereign-core-mv docs/inference/evidence//) using the plan section 10 fields plus claim_strength (proven_in_scope, measured, inferred, unresolved). GPU runs: quietlock check first, never killed, Spark judges, results land through the PR desk. ## Hardware-first learning extension (2026-10-19) Requested by Drake; coordinated by #276, consumed by aien-dev/omega-mv#584. This extends this existing campaign; it does not commission a second plan cache or change the existing gates. ### Additional experiment: does retained experience repay its full cost? - Use existing rx_plan paths. Measure cold acquisition, lookup hits/misses, applicability checks, execution, validation, failed reuse/repair, state storage/reload and maintenance. Keep seconds and joules separate; joules remain UNMEASURED without an instrument. - Evaluate repeated tasks, held-out bindings/compositions, interference, changed preconditions, stale generations and restart. Freeze horizons and quality floors before evaluation. Compare no reuse, existing reuse and the proposed learning arm on the same task stream. - A simple diagnostic model is net(H)=pDelta(1-r^H)/(1-r)-C for 0=p*Delta/(1-r) means no finite positive payoff. Derive assumptions/units and verify against a direct finite sum using aien-calc receipts. Maintenance and nonstationary streams need explicit extra terms or direct accounting. - Estimate p/r/Delta from development observations, then predict held-out cumulative cost; never assume constant exponential capability growth. Report sensitivity and model failure. The geometric equation is a diagnostic approximation, not a law of intelligence. - Distinguish time/energy saved from savings reinvested in more learning; report the reinvestment ledger without counting the same benefit twice. Include forgetting, negative transfer and memory growth. ### Additional acceptance - Full lifecycle ledger reconciles with traces, including failed acquisition/reuse. - Positive-payoff and no-payoff controls detect the expected sign; stale/corrupt plans refuse or revalidate through existing rules. - Predicted and measured break-even horizons plus uncertainty are reported on held-out streams under #262. - Retention/transfer/restart outcomes and quality floors are reported alongside cost; no general-agent claim from blocks-world alone. - Preserve prior gates and historical failures; append immutable new evidence and independent review. #276 tracks Symposium crossover before overlapping runtime changes. ## Minimum-work policy integration (2026-10-19) Parent #276 now requires one persistent entity with a view projected from committed state. Reuse artifacts must remain bound to the existing persistent identity, semantic assumptions and generations across view detachment/reconnection and restart; this does not change Cortex or generation-store ownership. Add ablations for existing reuse alone versus #249's checked elimination, incremental update and combined behavior through omega-mv#584. Include invalidation, lookup misses and maintenance. Stop acquiring/maintaining a shortcut when the declared policy predicts no net payoff within the frozen horizon; evaluate that policy against a bounded always-search control. Report saved resources separately from resources reinvested in further learning. Existing gates and historical evidence are unchanged. ## Durable authorized reuse integration Consume omega-mv#651 for shared production cache lifecycle and #646 for recursive pure-subproblem semantics. Retain plan-reuse measurement ownership here; no second cache or store. Evaluate an actual agent derivation with cold/warm/restart/revocation/no-repeat cases and full permission/hash/lookup/persistence/eviction costs. Distinguish exact reuse from similar-prompt inference. Bind outcomes and deletion of superseded first-party implementations to #300's .om replacement ledger. No comments. Sign in to comment