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

aum-framework

v1.1.0

Published

AUM: Intent-Driven Cognitive Workspace Framework

Readme

ॐ AUM: Intent-Driven Cognitive Guardrail Framework

  █████╗ ██╗   ██╗███╗   ███╗    ███████╗███╗   ██╗ ██████╗██╗███╗   ██╗███████╗
  ██╔══██╗██║   ██║████╗ ████║    ██╔════╝████╗  ██║██╔════╝██║████╗  ██║██╔════╝
  ███████║██║   ██║██╔████╔██║    █████╗  ██╔██╗ ██║██║  ███╗██║██╔██╗ ██║█████╗  
  ██╔══██║██║   ██║██║╚██╔╝██║    ██╔══╝  ██║╚██╗██║██║   ██║██║██║╚██╗██║██╔══╝  
  ██║  ██║╚██████╔╝██║ ╚═╝ ██║    ███████╗██║ ╚████║╚██████╔╝██║██║ ╚████║███████╗
  ╚═╝  ╚═╝ ╚═════╝ ╚═╝     ╚═╝    ╚══════╝╚═╝  ╚═══╝ ╚═════╝ ╚═╝╚═╝  ╚═══╝╚══════╝
                               A U M   E N G I N E

AUM is an ultra-lightweight, technology-agnostic Intent-Driven Cognitive Guardrail Framework for AI-assisted pair programming. It acts as an active cognitive firewall between you and your AI agents (Cursor, Cline, Roo Code, Claude Code, GitHub Copilot) to enforce design authority, prevent code regressions (Hētvābhāsa), audit modifications, and auto-heal environment compilation locks (Prāyaścitta).


⚡ Features

  • 🧠 Design Authority (Śabda): Banes raw code writing until an explicit resolve (Saṅkalpa) is initiated and an abstract plan is staged.
  • 🛡️ Sandbox Sheaths (Kañcukas): Strict execution sandboxes restricting token consumption, directory scopes, external shell downloads, and unapproved API usage.
  • 🧘 Yogi's Guidance: Auto-injects unified instructions directly into the agent's context window via .cursorrules, .clinerules, and CLAUDE.md.
  • 🔍 Logic Fallacy Auditor (Hētvābhāsa): Scans modified files before commits to block empty stubs, left-over console print statements, and out-of-scope edits.
  • 🏥 Self-Healing Compiler (Prāyaścitta): Intercepts stack traces, automatically matches environment errors (e.g. missing Rolldown compiler bindings), resolves dependencies, and cleanly retries execution.
  • ⏱️ Turn-Based Lifecycle (Tāla): Cycles agent attention cleanly through structured cognitive stages: Intake (vision clarification) ➔ Blueprint (abstract flows design) ➔ Verification (boundary audit) ➔ Manifestation (code execution).

🚀 Quick Start

1. Installation

Install the framework from NPM in your target project root:

npm install aum-framework

2. Initialization

Run the interactive initializer to copy safety rules, template guidelines, and setup variables:

npx aum init

(The wizard will configure Yogi sheaths, .cursorrules, .clinerules, and append exclusions to .gitignore).

Global Central Nervous System Installation (Recommended) To install AUM globally across your entire OS and actively monitor all your AI agents:

npx aum init --global

This sets up a master ~/.aum/ hub and automatically injects AUM routing instructions into all your installed AI agents (Cursor, Claude, Copilot, Roo, etc).

3. Usage Lifecycle

AUM orchestrates your AI developer turns through quick CLI commands:

# Start a new task resolve (locks focus and prunes context)
npx aum start

# Run the self-healing build checks to verify environment stability
npx aum verify

# Audit changed files for logical fallacies before committing
npx aum audit

# Compile local log files and export portal index database
npx aum publish

# Scan and inject global AUM routing instructions into all local AI tools
npx aum hook

⚙️ CLI Commands Reference

AUM CLI coordinates all cognitive and maintenance commands under Kashmir Shaivism's five cosmic lifecycle acts (Pañcakṛtya):

| CLI Command | Cognitive Phase | Vedic Phase | Technical Action | | :--- | :--- | :--- | :--- | | npx aum init | Setup | Sṛṣṭi (Creation) | Copies Yogi sheaths, instructions, and templates. | | npx aum hook | Setup | Sūtra (Thread) | Injects global routing rules into Cursor, Claude, Copilot, etc. | | npx aum start | Intake | Sṛṣṭi (Intake) | Initiates a new Saṅkalpa resolve and prunes context logs. | | npx aum verify | Build | Sthiti (Preservation) | Runs compiler builds with automatic environment self-healing. | | npx aum audit | Audit | Saṃhāra (Cleanup) | Audits staged changes for comments, stubs, and logic fallacies. | | npx aum publish | Compile | Tirobhāva (Concealment) | Compiles framework markdown files into docs portal database. | | npx aum prune | Clean | Prāṇāyāma (Breath) | Prunes raw build logs from context window to prevent token decay. | | npx aum evolve | Incubate | Bhāvanā (Incubate) | Synthesizes local memory logs into system prompt rules. | | npx aum compile | Synthesize | Pāṇini (Grammar) | Generates boilerplates and classes from semantic intent roots. | | npx aum assert | Test | Catuṣkoṭi (Tetralemma) | Runs tetralemma assertions testing on async reactive streams. | | npx aum recognize| Audit | Pratyabhijñā (Identify) | Diagnoses platform types and directory write access boundaries. |


🎨 Cognitive Lifecycle (The Tāla Rhythm)

AI agents must transition through AUM's state machine to ensure design safety:

       [ Intake Phase ]      ➔     [ Blueprint Phase ]     ➔     [ Verification ]     ➔     [ Manifest Phase ]
      (Tāla Beat: INTAKE)         (Tāla Beat: BLUEPRINT)        (Tāla Beat: VERIFY)        (Tāla Beat: MANIFEST)
      Interviews developer;        Maps abstract flows;          Audits boundaries;         Executes edits, runs
      clarifies task intent.       decouples components.         outlines test plans.       build check, commits.
  • Intake: Code modifications are strictly blocked. The agent must interview the developer using the Waking Intake Q&A worksheet.
  • Blueprinting: Decouples interfaces from implementation logic.
  • Verification: Assures that changes comply with system constraints and specifies test commands.
  • Manifestation: Changes are applied, compiled, audited for logic violations, and committed cleanly.

📖 Portal Documentation

AUM hosts a premium React/Vite single page documentation portal compiled from the actual ADR (Architecture Decision Record) logs.

  • Local Reading: Compile the documentation portal locally and open it in your browser:
    npx aum publish
    cd docs_portal && npm run dev
  • Web Address: The documentation portal is published at bkartheek.github.io/AUM.

📜 License

AUM is open-source software licensed under the MIT License.