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

@isl-lang/reality-probe

v0.1.1

Published

Reality Prober - Probe real routes, env vars, and critical dependencies to detect ghost features

Readme

Reality Prober

Agent 17 — Reality Prober

Makes runtime verification "grounded": probes real routes, env vars, and critical dependencies to detect ghost features.

Features

  • HTTP Route Probing: Tests routes against a running server using OpenAPI specs or route maps
  • Environment Variable Verification: Ensures required env vars exist and aren't placeholders
  • Ghost Feature Detection: Identifies routes/env vars that are claimed but don't actually exist
  • Gate Score Integration: Findings feed into the verification gate score

Usage

CLI Integration

# Enable reality probe with verify command
isl verify --reality --reality-base-url http://localhost:3000

# With custom route map and env vars
isl verify --reality \
  --reality-base-url http://localhost:3000 \
  --reality-route-map .shipgate/truthpack/routes.json \
  --reality-env-vars .shipgate/truthpack/env.json

# Enable all verification modes including reality probe
isl verify --all --reality-base-url http://localhost:3000

Programmatic API

import { runRealityProbe } from '@isl-lang/reality-probe';

const result = await runRealityProbe({
  baseUrl: 'http://localhost:3000',
  routeMapPath: '.shipgate/truthpack/routes.json',
  envVarsPath: '.shipgate/truthpack/env.json',
  timeoutMs: 10000,
  verbose: true,
});

console.log(`Ghost routes: ${result.summary.ghostRoutes}`);
console.log(`Ghost env vars: ${result.summary.ghostEnvVars}`);

How It Works

  1. Route Probing:

    • Loads routes from OpenAPI spec or truthpack route map
    • Probes each route against the running server
    • Detects ghost routes (claimed but don't exist)
    • Captures status codes and latency
  2. Environment Variable Verification:

    • Loads required env vars from truthpack
    • Checks if they exist in runtime environment
    • Detects placeholder values (e.g., "changeme", "your-key-here")
    • Identifies ghost env vars (required but missing)
  3. Gate Score Integration:

    • Ghost routes/env vars contribute to evidence score
    • Failures reduce overall trust score
    • Findings appear in verification report

Acceptance Test

A spec claiming /api/foo exists fails when the server doesn't actually serve it, and the gate reflects it.

# Spec claims /api/foo exists, but server doesn't serve it
isl verify --reality --reality-base-url http://localhost:3000

# Output:
# ✗ 1 ghost routes detected
#   Route GET /api/foo: Ghost route detected: Route does not exist
# Verification failed - ghost features detected

Configuration

The reality probe auto-detects truthpack files if not explicitly provided:

  • Route map: .shipgate/truthpack/routes.json (default)
  • Env vars: .shipgate/truthpack/env.json (default)

License

MIT