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

@iflow-mcp/grainulation-wheat

v1.1.2

Published

Research-driven development framework — structured claims, compiled evidence, deterministic output

Readme

The problem

You're about to mass-migrate 200 microservices. The decision is based on a Slack thread, a blog post, and a gut feeling from someone who left the company.

Claude contradicts itself over long sessions. Decisions accumulate silently conflicting evidence. And nobody notices until the migration is six months in and the original assumptions were wrong.

You'd never ship code without tests. Why ship a decision without validated evidence?

What wheat does

Wheat is a CLI that turns your AI coding tool into a structured research engine. Every finding becomes a typed, evidence-graded claim. A 7-pass compiler catches contradictions, flags weak evidence, and blocks output until issues are resolved.

You investigate  →  Claims accumulate  →  Compiler validates  →  Brief compiles
  /research          typed + graded        catches conflicts      backed by evidence
  /prototype         with evidence tiers   blocks on issues
  /challenge

The result: a decision document backed by validated evidence, not vibes.

Quick start

npx @grainulation/wheat "Should we migrate to GraphQL?"

One command. Zero config. Sprint ready in under 3 seconds.

Then open your AI coding tool and start investigating:

wheat add r001 --type factual --topic "graphql-performance" \
  --content "GraphQL N+1 queries cause 3-10x latency without DataLoader" \
  --evidence documented

wheat search --topic "graphql"

wheat compile   # 7-pass validation: conflicts, weak evidence, coverage gaps

wheat resolve   # fix what the compiler flags

Works with Claude Code, Cursor, GitHub Copilot, or standalone via CLI.

See it in 30 seconds

npx @grainulation/wheat quickstart

Creates a demo sprint with pre-seeded claims, an intentional conflict, compiles everything, and opens a dashboard. The compiler flags the conflict and blocks output until it's resolved.

What you get

After a sprint, wheat compile produces a compilation.json with:

  • Conflict detection -- contradictory claims are surfaced and must be resolved
  • Evidence coverage -- which topics have only "someone said so" vs. tested proof
  • Type diversity -- flags when every claim is the same type (all risks, no facts)
  • Echo chamber warnings -- same source corroborating itself

The compiler is the enforcement layer. If it says blocked, no brief gets produced. Same principle as CI: red build = no deploy.

MCP integration (optional)

For native tool access in Claude Code:

claude mcp add wheat -- npx -y @grainulation/wheat-mcp

This gives Claude direct access to wheat's claims engine -- add-claim, compile, search, status -- without shelling out.

Commands

| Command | What it does | |---------|-------------| | /research <topic> | Deep dive, creates evidence-graded claims | | /prototype | Build something testable, upgrade evidence to tested | | /challenge <id> | Adversarial stress-test of a claim | | /witness <id> <url> | External corroboration from primary sources | | /blind-spot | Find gaps in your investigation | | /resolve | Adjudicate conflicts between claims | | /brief | Compile the decision document | | /status | Sprint dashboard |

Claim types and evidence tiers

Types: constraint, factual, estimate, risk, recommendation, feedback

Evidence tiers (lowest to highest): stated → web → documented → tested → production

The compiler uses these to score coverage. A topic with 5 stated claims is weaker than one with 2 tested claims.

Guard rails

Wheat installs two optional guard mechanisms:

  1. Git pre-commit hook -- prevents committing broken claims
  2. Claude Code guard hook -- prevents generating output from stale compilations

Requirements

Node 20+. Zero npm dependencies.

Wheat doesn't care what language your project uses. Your Scala project, your Python monorepo, your Flutter app -- wheat validates decisions, not code.

Part of the grainulation ecosystem

Start with wheat. That's the only tool you need.

If you grow into multi-sprint coordination, the ecosystem has you covered: orchard for orchestration, farmer for permission management, and more at grainulation.com.

Removing Wheat

# Remove sprint files
rm -f claims.json compilation.json CLAUDE.md.bak

# Remove wheat section from CLAUDE.md (or delete if wheat created it)
rm -f CLAUDE.md

# Remove slash commands and MCP config
rm -rf .claude/commands/wheat/
rm -f .mcp.json   # or remove just the "wheat" entry

# Remove pre-commit hook snippet (or delete .git/hooks/pre-commit)

License

MIT