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

pumuki

v6.3.17

Published

Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.

Readme

Pumuki

npm version CI License

Enterprise governance framework for AI-assisted software delivery.

Pumuki enforces deterministic decisions across local hooks, PRE_WRITE guardrails, and CI using one execution model:

Facts -> Rules -> Gate -> ai_evidence v2.1

What Pumuki Solves

Pumuki gives teams a single operational contract for AI-era code quality:

  • Deterministic gate decisions with auditable evidence.
  • Unified stage model: PRE_WRITE, PRE_COMMIT, PRE_PUSH, CI.
  • Multi-platform rule evaluation (iOS, Android, Backend, Frontend).
  • Mandatory OpenSpec/SDD policy enforcement.
  • Optional MCP runtime for agent integrations.

Core Capabilities

1) Deterministic Gate + Evidence

Every stage can emit .ai_evidence.json with stable structure (version: 2.1) including:

  • snapshot (stage/outcome/findings)
  • ledger (persistent open violations)
  • rulesets and platforms
  • sdd_metrics
  • repo_state (git + lifecycle + optional hard mode state)

Reference: docs/evidence-v2.1.md.

2) Unified AI Gate for PRE_WRITE/MCP

The same AI gate evaluator is shared across CLI and MCP:

  • stale/missing/invalid evidence detection
  • blocked evidence gate status detection
  • protected branch guardrail (main/master/develop/dev)
  • policy trace visibility (default, skills.policy, hard-mode)

Reference: integrations/gate/evaluateAiGate.ts.

3) Mandatory OpenSpec + SDD Policy

Pumuki enforces OpenSpec/SDD as first-class guardrails:

  • PRE_WRITE: OpenSpec installed/project/session valid.
  • PRE_COMMIT, PRE_PUSH, CI: valid session + stage validation.
  • Blocking SDD findings are traceable via source: "sdd-policy".

4) Lifecycle and Enterprise Safety

Managed lifecycle commands (install/update/uninstall/remove) include:

  • hook management (pre-commit, pre-push)
  • OpenSpec bootstrap/migration
  • deterministic evidence bootstrap
  • safety block when tracked files exist under node_modules/

5) Adapter Scaffolding (IDE/Agent)

Provider-agnostic adapter scaffolding for consumer repositories:

  • codex
  • claude
  • cursor
  • windsurf
  • opencode

Quick Start (Consumer Repository)

Prerequisites:

  • Node.js >= 18
  • npm >= 9
  • git

1) Install package

npm install --save-exact pumuki

2) Install managed lifecycle + bootstrap

npx --yes pumuki install

3) Verify environment

npx --yes pumuki doctor
npx --yes pumuki status
npx --yes pumuki sdd status

4) Open an SDD session

npx --yes pumuki sdd session --open --change=<change-id>

5) Run gates

npx --yes pumuki-pre-write
npx --yes pumuki-pre-commit
npx --yes pumuki-pre-push
npx --yes pumuki-ci

Hard Mode (Policy Hardening)

Pumuki supports hard-mode policy resolution via .pumuki/hard-mode.json.

Example:

{
  "enabled": true,
  "profile": "critical-high"
}

Current profile support:

  • critical-high

Environment overrides:

  • PUMUKI_HARD_MODE (true|false|1|0|on|off)
  • PUMUKI_HARD_MODE_PROFILE (critical-high)

Runtime traceability:

  • policy trace is exposed in AI Gate outputs
  • hard mode state is captured in repo_state.lifecycle.hard_mode

PRE_WRITE Contract

For deterministic pre-write integrations:

npx --yes pumuki sdd validate --stage=PRE_WRITE --json

Returns a chained envelope with:

  • sdd
  • ai_gate
  • telemetry.chain = "pumuki->ai_gate->ai_evidence"

Lifecycle Commands

npx --yes pumuki install
npx --yes pumuki update --latest
npx --yes pumuki uninstall --purge-artifacts
npx --yes pumuki remove
npx --yes pumuki doctor
npx --yes pumuki status

Important:

  • pumuki remove is the full teardown path (hooks + artifacts + dependency cleanup logic).
  • npm uninstall pumuki only removes dependency entries.

Adapter Commands

npx --yes pumuki adapter install --agent=codex --dry-run
npx --yes pumuki adapter install --agent=cursor
npm run adapter:install -- --agent=claude

MCP Servers (Optional)

Pumuki core does not depend on MCP, but MCP is available for external agents.

Evidence MCP:

npx --yes pumuki-mcp-evidence

Enterprise MCP:

npx --yes pumuki-mcp-enterprise

References:

  • docs/MCP_EVIDENCE_CONTEXT_SERVER.md
  • docs/MCP_SERVERS.md
  • docs/MCP_AGENT_CONTEXT_CONSUMPTION.md

Framework Repository (This Repo)

git clone https://github.com/SwiftEnProfundidad/ast-intelligence-hooks.git
cd ast-intelligence-hooks
npm ci

Recommended baseline:

npm run typecheck
npm run test
npm run test:deterministic
npm run validation:package-manifest
npm run skills:lock:check

Interactive menu:

npm run framework:menu

Consumer repositories typically run:

npx --yes pumuki-framework

Published Binaries

  • pumuki
  • pumuki-framework
  • pumuki-pre-write
  • pumuki-pre-commit
  • pumuki-pre-push
  • pumuki-ci
  • pumuki-mcp-evidence
  • pumuki-mcp-enterprise

Troubleshooting

Hook/lifecycle drift:

npx --yes pumuki doctor
npx --yes pumuki status

Missing upstream for PRE_PUSH:

git push --set-upstream origin <branch>

Emergency SDD bypass (incident-only):

PUMUKI_SDD_BYPASS=1 npx --yes pumuki sdd validate --stage=PRE_COMMIT

Documentation Map

Primary index: docs/README.md

Core docs:

  • docs/ARCHITECTURE.md
  • docs/INSTALLATION.md
  • docs/USAGE.md
  • docs/CONFIGURATION.md
  • docs/API_REFERENCE.md
  • docs/evidence-v2.1.md
  • docs/MCP_SERVERS.md
  • docs/MCP_EVIDENCE_CONTEXT_SERVER.md
  • docs/validation/README.md

Contributor docs:

  • docs/CONTRIBUTING.md
  • docs/CODE_STANDARDS.md
  • CHANGELOG.md

License

MIT (LICENSE)