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

@oiyonet/decision-core

v1.0.0

Published

Deterministic decision calibration & approval gate engine for autonomous AI agents. 100% zero-dependency.

Readme

@oiyonet/decision-core

npm version License: MIT Powered by OIYO

Deterministic decision calibration & approval gate engine for autonomous AI coding agents. 100% zero-dependency.

Engineered by OIYO Lab to power autonomous AI operations ("Human-on-the-Loop") by calibrating when an agent can execute autonomously vs when human sign-off is strictly required.


🌟 The 3 Decision Tiers

@oiyonet/decision-core formalizes a 3-tier boundary:

[TIER 0: Full Autonomous] ──────► Auto-execute & auto-merge (Bugfixes, refactors, tests)
[TIER 1: Canary Autonomous] ────► Auto-execute with 24h self-healing / revert guarantee (UI, features)
[TIER 2: Human Sign-Off] ───────► Blocked by 5 Hard Gates (Money, deletion, legal, emails, linter skips)

The 5 Hard Gates (Tier 2 Mandatory Human Approval)

  1. Financial: Payment gateways, checkout, pricing changes, subscription logic.
  2. Deletion: Irreversible database table drops, hard deletes, wholesale file removal.
  3. Legal & Credentials: Terms of service, privacy policies, API keys, credentials files.
  4. External Messaging: Broadcast emails, SMS blasts, third-party outbound webhooks.
  5. Quality Gate Weakening: Disabling linters, lowering test coverage thresholds, skipping tests.

📦 Installation

# Global CLI
npm install -g @oiyonet/decision-core

# Or run via npx
npx @oiyonet/decision-core check-git

🚀 CLI Commands

1. Evaluate a Proposed Task / PR

decision-core evaluate --title "refactor: optimize SQLite query performance" --files "src/db/queries.ts"

Output:

⚖️ Decision Core Policy Calibration:
   • Tier: TIER_0_AUTONOMOUS
   • Allowed Immediately: ✅ YES
   • Human Signoff Required: 🟢 NO
   • Revert Guarantee Required: NONE
   • Summary: Approved for immediate full autonomous execution. Standard test & verification gates apply.

2. Audit Current Git Diff against Hard Gates

decision-core check-git

3. Evaluate a High-Risk Change

decision-core evaluate --title "update stripe checkout billing plan"

Output:

⚖️ Decision Core Policy Calibration:
   • Tier: TIER_2_HUMAN_APPROVAL
   • Allowed Immediately: ❌ NO
   • Human Signoff Required: 🛑 MANDATORY
   • Summary: Blocked by 1 safety gate(s): [FINANCIAL]. Human approval required.

🛑 Matched Hard Gates (1):
   • [FINANCIAL] Financial & payment logic modification requires explicit human authorization.
     ↳ Evidence pattern: "stripe"

💻 Programmatic TypeScript API

import { DecisionEvaluator } from '@oiyonet/decision-core';

const evaluator = new DecisionEvaluator();

const evalResult = evaluator.evaluate({
  title: 'fix: navigation drawer bug on mobile',
  files: ['src/components/Nav.tsx'],
});

if (evalResult.allowedToExecuteImmediately) {
  // Proceed with autonomous execution
} else {
  // Queue for human approval
}

🌐 Powered by OIYO Lab

@oiyonet/decision-core is an open-source tool developed and maintained by OIYO Lab. Explore our companion developer tools at tools.oiyo.net and deep technical engineering articles on blog.oiyo.net.

License

MIT © OIYO Lab