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

@makerchecker/validation-kit

v1.2.0

Published

Generate a Computer System Validation (IQ/OQ/PQ) report and Requirements Traceability Matrix deterministically from a signed MakerChecker audit bundle. The GxP validation package a regulated QA function drops into its binder.

Readme

📋 @makerchecker/validation-kit

Turn a signed audit bundle into a GxP validation report your QA function can sign.

@makerchecker/validation-kit re-derives an IQ/OQ/PQ Computer System Validation report and a Requirements Traceability Matrix from recorded audit events — deterministically, every result cited to the audit seq it rests on. No LLM, no network, no producer access.

npm License

This is the artifact a regulated QA function (pharma, CRO, medtech) needs to deploy an AI agent under 21 CFR Part 11 / EU Annex 11 / GAMP 5: not a claim that the controls work, but executable evidence that they did, on a chain anyone can re-verify.

Why it matters

Every incumbent in regulated AI stalls at "suggest-only" because they cannot prove, in a validatable form, that the human gate fired and the agent stayed in role. This kit produces that proof as the document QA actually signs.

Use

mc-validate list-protocols
mc-validate run --bundle run-evidence.json --protocol agent-governance-baseline --out validation-report.md
# pin the key, or emit machine-readable results:
mc-validate run --bundle run-evidence.json --protocol agent-governance-baseline --key instance-pubkey.pem --json

Exit code 0 only if the system qualified: the chain verified, every executed test passed, and every user requirement was exercised and covered — or explicitly waived. Exit code 1 for anything else: a failed test, an uncovered requirement, a requirement the bundle never exercised (fail-closed — "not exercised" is a gap, not a pass), or a chain that did not verify.

A requirement your evidence never exercised (e.g. URS-004 fail-closed limits, when the run never hit a limit) makes the report NOT QUALIFIED. Either capture challenge-run evidence — drive an over-limit request so the refusal is recorded — and re-run, or record an explicit deviation:

mc-validate run --bundle run-evidence.json --protocol agent-governance-baseline \
  --waive URS-004 --reason "Fail-closed limits challenge scheduled for OQ round 2 (CAPA-114)" \
  --out validation-report.md

Every --waive requires a written --reason; the waiver is printed verbatim in the report's Deviations section for the named reviewers to accept or reject. A waiver never rescues a requirement whose tests executed and failed.

What it produces

  • IQ — installation: the instance is initialised and the audit chain is rooted and verifies.
  • OQ — operational: each control fires (deny-by-default, high-risk gate, segregation of duties, fail-closed limits).
  • PQ — performance: a representative governed run completes end-to-end with a signed decision.
  • Requirements Traceability Matrix — URS → FS → test → result, with a coverage verdict per requirement.
  • Deviations — any waived (unexercised) requirement, with its recorded reason.
  • Qualification statement and an approval block for the operator's named reviewers (maker-checker applies to the validation itself: author ≠ approver).

A tampered or incomplete bundle cannot qualify, and neither can a run that never exercised a requirement — the report says NOT QUALIFIED and states why, unless the gap is an explicitly recorded deviation.

Protocols

A protocol is a JSON file in protocols/ that traces user requirements (URS) through functional specs (FS) to IQ/OQ/PQ test cases, each with an evidence predicate over the audit events. The bundled agent-governance-baseline covers the core governance requirements; add a protocol per use case (PV ICSR, MDR, oncology access) with a pull request — one protocol, many runs.

How it works

  1. The bundle is verified first (@makerchecker/proof-verifier); results only count on an intact chain.
  2. Each test case's evidence predicate is evaluated against the events (the same deterministic engine as @makerchecker/obligations).
  3. The Requirements Traceability Matrix is computed from URS → FS → test links.

No LLM, no network, no producer access.

Library

import { generateValidation, renderReport } from "@makerchecker/validation-kit";
const result = await generateValidation(bundle, protocol, {
  expectedPublicKeyPem,
  waivers: [{ urs: "URS-004", reason: "Limits challenge scheduled for OQ round 2 (CAPA-114)" }],
});
const markdown = renderReport(result);

Test

npm test   # fail-closed: an unexercised requirement does NOT qualify; a waiver
           # records a deviation; a challenge run covering every URS qualifies;
           # a tampered bundle never qualifies

License

Apache-2.0.