npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@metaharness/autogenous

v0.1.0

Published

Autogenous radio-moe policy-evolution adapter for @metaharness/flywheel: bounded independence weights, frozen safety gates and governed promotion.

Readme

@metaharness/autogenous

npm

A MetaHarness flywheel adapter for ruvnet/autogenous. It evolves the governed radio-moe mesh policy under Autogenous' own rules.

@metaharness/autogenous: a radio-moe policy candidate is admitted by AGL, benchmarked with radio-moe, gated by promoteAuthorized, then promoted or rejected

It calls the real Autogenous packages instead of copying them (ADR-323):

| From | Used for | | --- | --- | | autogenous (AGL, Rust compiled to WebAssembly) | Every candidate is admitted as an AGL routing_budget mutation before it can be promoted. A candidate the benchmark reports as irreversible has no rollback target and is refused. Pass your real Autogenous genome as makeAutogenousEvaluator(bench, { admission: { parent } }) so AGL also checks authority against its ceiling. The default parent is an adapter-local placeholder. | | radio-moe | CEILINGS, DEFAULT_INDEPENDENCE_WEIGHTS, PROMOTION_MARGIN, and the promoteAuthorized predicate Better ∧ Safe ∧ Authorized ∧ Reversible. |

Install

npm install @metaharness/autogenous @metaharness/flywheel radio-moe

Frozen versus evolvable

Evolvable: sameProvider, sameArch, sameSize, sourceJaccard and quorumThreshold. Each is clamped to radio-moe's constitutional CEILINGS.

Frozen:

  • sameAccuracyBand, until it has a dedicated benchmark. A policy that tries to change it is refused by AGL with invariant_regressed.
  • Source and fusion algorithms.
  • Signature, replay and sequence checks.
  • Fail-closed behavior.
  • Hard gates and promotion authority.

Quickstart

This example scores radio-moe's documented reference champion against the shipped defaults. The fitness comes from radio-moe's own deterministic evaluate().

import { evaluateMeshParams } from 'radio-moe';
import {
  autogenousPromotionRule,
  genomeToPolicy,
  makeAutogenousEvaluator,
  referenceChampionGenome,
  rootGenome,
} from '@metaharness/autogenous';

// The benchmark seam: radio-moe's fitness, plus your measured quality and authority.
const evaluate = makeAutogenousEvaluator(async (genome) => ({
  ...evaluateMeshParams(genome),
  correlatedGainVsBest: 0.25,
  independentGainVsBest: 1 / 3,
  authorized: true,
  reversible: true,
}));

const suite = { id: 'radio-moe-frozen-bench', items: [] };
const baseline = await evaluate(genomeToPolicy(rootGenome()), suite);
const candidate = await evaluate(genomeToPolicy(referenceChampionGenome()), suite);

console.log(baseline.separation, '->', candidate.separation);   // 0.6875 -> 1.25
console.log(candidate.aglAdmission);                             // { admissible: true }
console.log(autogenousPromotionRule({ baseline, candidate }));   // { promote: true, reasons: [] }

const unfrozen = await evaluate(
  { ...genomeToPolicy(referenceChampionGenome()), sameAccuracyBand: '0.5' },
  suite,
);
console.log(autogenousPromotionRule({ baseline, candidate: unfrozen }).reasons);
// [ 'not_authorized', 'agl_admission_refused:invariant_regressed',
//   'policy_surface_violation', 'safety_regressed' ]

To evolve the policy, pass the same evaluator to runFlywheelGenerations from @metaharness/flywheel. Use mutationTargets: [...AUTOGENOUS_MUTATION_TARGETS], proposer: makeAutogenousProposer() and promotionRule: autogenousPromotionRule.

The adapter has no authority to apply a champion, and it ignores any promote boolean supplied by a caller. AGL admission can only withdraw authorization, never grant it.

License

MIT. Homepage: ruv.io.