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

@svporg/forge

v0.3.0

Published

Semantic Voxel Protocol — five-layer observability framework for AI-assisted development

Readme

SVP — Semantic Voxel Protocol

中文版

A five-layer data model that keeps humans in control when AI writes code.

Core Idea

AI makes mistakes. SVP doesn't try to eliminate errors — it makes them visible, locatable, and fixable.

The five layers are five observation windows:

L5  Blueprint    System intent and boundaries
L4  Logic Chain  How flows are orchestrated
L3  Logic Block  What each unit does (contract box)
L2  Code Block   L3 ↔ L1 mapping
L1  Code         Final implementation

When something goes wrong, ask layer by layer: Is the intent correct? Is the flow correct? Are the contracts sufficient? Is the code structure correct? Is the implementation faithful?

What SVP Is

SVP doesn't call AI APIs or build compilers. SVP is an enhancement layer for AI coding tools (Claude Code, Cursor, Windsurf, Kimi Code, Codex, GitHub Copilot):

  • Toolchain: forge check (validation), store (read/write), hash (change tracking)
  • Skills: Generate structured context from the five-layer data model, fed into your existing AI tools

We don't build AI, we feed AI better context. SVP's capabilities improve automatically as base models evolve.

Works great with OpenSpec

OpenSpec focuses on spec before code — making sure requirements are clear before AI writes anything. SVP focuses on verify after code — making sure what AI wrote is consistent and correct across layers.

They're complementary: OpenSpec manages the input quality (what to build), SVP manages the output quality (was it built right). Use both for a complete spec → architecture → verification pipeline.

Design Principles

  1. Transparency over correctness — Make errors visible, don't try to prevent AI mistakes
  2. AI as compiler — Formats optimized for AI comprehension, not parser consumption
  3. Truly declarative only — Pseudo-declarative is worse than natural language
  4. Store less, compute more — Single source of truth + computation, avoid inconsistency
  5. Protocol vs implementation — SVP is a language-agnostic spec; tooling is separate

Data Model

Four layers with independent data models (L1 is the file system):

| Layer | Data Model | Structured | Natural Language | |---|---|---|---| | L5 | L5Blueprint | Domain topology, integration points | Intent, constraints | | L4 | L4Flow | Steps, data flow | — | | L3 | L3Block | Input/output pins | validate, constraints, description | | L2 | L2CodeBlock | File mappings, reconciliation hashes | — |

Type definitions are in packages/core/.

forge check

Cross-layer consistency validation, checking four categories:

  1. Hash consistency — Does contentHash match actual content?
  2. Referential integrity — Do cross-layer references exist? Do pins match?
  3. Drift detection — Are L2 sourceHash and L3 contentHash in sync?
  4. Graph structure — Are L4 step chains acyclic? Any orphaned nodes?

Getting Started

npm install -g @svporg/forge
forge init

Development

npm install
npm test         # vitest
npm run check    # tsc + eslint + prettier

Community

Project Structure

packages/
├── core/        Five-layer data model TypeScript types + core functions
├── skills/      Prompt generators (design-l3, compile, recompile, etc.)
└── cli/         CLI entry point (forge command)

License

MIT