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

@moolam/learning

v1.1.0

Published

Internal component of Sutra SDK — applications should install sutra-sdk. Learning substrate contracts: turn-trajectory schema (B9 metadata + C0 training fields), parse boundary for corpus/gym/critic pipelines.

Readme

@moolam/learning

Learning substrate contracts: turn-trajectory schema, outcome signals, baseline registry, and frozen eval slices for Track C.

Anti-cheat charter

Training environments must use the same production harness code path as live turns. The binding governance document is:

training/gym/charter.md

Executable replay-parity coverage: pnpm --filter @moolam/training-gym parity:check (and test).

Rewards computed under a diverged gym path are void and must not be promoted.

Trajectory critics (C3)

Pack-pluggable TrajectoryCritic / CriticScore contracts live in this package and are re-exported from training/critics/.

  • Pure score(record) — no network / LLM on the default path
  • Versioned rubricId + rubricVersion on every score
  • CriticRegistry stores critics by id@version; pack oracles load from JSON manifests under training/critics/fixtures/pack-oracles/ (no domains/ imports)
pnpm --filter @moolam/learning test
# critics_interface + critics_pack_oracles cover determinism, hack ≤0, two CI oracles

Learning constitution

Binding governance law: docs/learning/CONSTITUTION.md.

One-surgery-per-stage promotion-candidate lint: pnpm --filter @moolam/learning surgery:check (green + seeded multi-surgery violation fixtures under training/eval/fixtures/promotion-candidates/).

Kill-switch operator runbook (constitution L4): docs/learning/KILL_SWITCH_RUNBOOK.md — copy-paste revert checklist, monthly safety-alignment drill schedule, verify once with parity:check + golden:replay.

Research intake (C7 breakthrough RFC)

New learning techniques enter through an eval-gated RFC — never ad-hoc trainer forks. Template + review workflow:

pnpm --filter @moolam/learning build
node --test packages/learning/tests/research_intake_rfc.test.mjs
node --test packages/learning/tests/research_intake_worked_example.test.mjs
node --test packages/learning/tests/research_intake_adoption.test.mjs
pnpm --filter @moolam/learning research-rfc-adoption:check

LLM-judge policy (C3)

Narrow lane for non-verifiable aspects only (tone, clarity). Binding governance: docs/learning/LLM_JUDGE_POLICY.md.

Published mirror: training/critics/llm_judge_lane.ts.

pnpm --filter @moolam/learning llm-judge-policy:check
pnpm --filter @moolam/learning llm-judge-gate:check

LLM judges must never score mastery math, citations, schema validity, or contract obligations — those stay with rule critics / pack oracles.

Held-out tone/clarity agreement fixtures live under training/eval/llm_judge_sets/ and are independent of critic human-label calibration.

Scripts

pnpm --filter @moolam/learning test
pnpm --filter @moolam/learning schemas:check
pnpm --filter @moolam/learning baselines:check
pnpm --filter @moolam/learning slices:check
pnpm --filter @moolam/learning surgery:check
pnpm --filter @moolam/learning hack:check
pnpm --filter @moolam/learning llm-judge-policy:check
pnpm --filter @moolam/learning llm-judge-gate:check
pnpm --filter @moolam/learning calibration:check