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

@syw-apps/wairon

v5.0.1-dev.2

Published

SYW Waffle AIron — CLI for managing AI coding agent topology across projects

Readme

wairon

Waffle AIron — an AI-Driven Development (AIDD) support tool built around Spec-Driven Development (SDD).

Status: v0.2 — the SDD spec tree, the conformance gate (a 16-module rule registry with narrative control-flow validation, technology boundaries, and per-spec lint.allow), spec-derived agent topology, skills, the MCP server, diagrams (Mermaid, interactive canvas + ERD, draw.io/Excalidraw), extension packs (injectable profiles, language tables, and rules), and a self-hostable HTTP hosting server (wairon serve — HTTP MCP for many isolated projects) are working. See the roadmap for what's next.


What is it?

wairon turns a validated spec tree into (a) an enforced architecture conformance gate and (b) a ready-made agent topology + skills that any AI coding tool (Claude Code, Gemini CLI, …) consumes to do the work itself.

It is optional and additive: if a project has a .wai/specs/ tree the workflow is active; otherwise you ignore wairon and work normally. wairon does not run or orchestrate AI sessions — it equips the session you already use.

.wai/specs/  (the SDD spec tree — source of truth)
   │
   ├── wairon validate ──▶ architecture-conformance gate
   │                       (stereotype dependency rules, contract↔impl
   │                        symmetry, reference integrity, cycle detection)
   │
   └── wairon generate ──▶ .claude/agents/  .gemini/agents/  (derived subagents)
                           + SDD skills installed into each tool
                           + wairon MCP server (sdd_* tools)

The host AI tool spawns the generated agents as its own native subagents, guided by the SDD skills and the sdd_* MCP tools.


The SDD spec tree

A complete system is specified top-down across six levels:

| Level | File | What it defines | |-------|------|-----------------| | L0 System | .wai/specs/.index.yaml | Vision, boundaries, global requirements, target language | | L1 Subsystem | .wai/specs/<sub>/.index.yaml | An isolated software service, its public interfaces, and trusted links | | L2 Component | …/<component>/.index.yaml | A building block (Portal, Orchestrator, Supervisor, Actor, Store, Index, Registry, Adapter, Observer, Specialist) or pattern (Repository, Gateway) + owns/dependsOn | | L3 Interface | …/<component>/.interface.yaml | Method signatures & structured params (+ optional wire endpoint bindings) | | L4 Implementation | …/<component>/.implementation.yaml | Concrete implementation of a contract: narrative detail level, bound technologies (the swap seam for vendors/engines), optional source path | | L5 Narrative | (within L4) | Step-by-step method logic as a flat numbered list — call steps resolve to real dependency methods, and flow steps (branch/switch/loop/try/jump/return/throw) jump by step number |

(Legacy undotted names — system.yaml, subsystem.yaml, … — still load; wairon doctor --fix migrates them.)

wairon validate enforces conformance across the tree: reference integrity, contract↔implementation method symmetry, narrative-call resolution and control-flow soundness, the component-stereotype dependency rules (e.g. a Portal may not depend on a Store), technology-leakage fencing, language-aware checks, and dependency-cycle detection — a documented rule registry (wairon rules list) with per-project severity overrides and per-spec lint.allow suppressions. Severity is relaxed to warnings while specs are draft/design. Extension packs can inject custom profiles, language tables, and rules — see Extending wairon.


Domains & agents

Agents are derived from the spec tree — you never hand-maintain an agent registry:

  • a system-architect from L0,
  • a <subsystem>-owner per subsystem,
  • a <component>-implementer per component.

A domain is a unit of ownership. Subsystems yield spec-backed domains automatically; you can also declare free-standing domains (docs, infra, cross-cutting scopes) in .wai/topology.yaml, each of which gets its own owner agent. A subsystem is software; a domain is who owns a scope — every subsystem yields a domain, but not every domain comes from a subsystem.


Installation

Binary install (recommended)

No Node.js required — downloads a self-contained binary for your platform.

Windows (PowerShell):

irm https://raw.githubusercontent.com/SYW-Apps/Waffle-AIron/main/install.ps1 | iex

macOS / Linux (bash/sh):

curl -fsSL https://raw.githubusercontent.com/SYW-Apps/Waffle-AIron/main/install.sh | sh

Both wairon and wai are registered as commands. (wairon is distributed as standalone binaries — it is not published to npm.)

Local development

git clone https://github.com/SYW-Apps/Waffle-AIron
cd Waffle-AIron
npm install
npm run build
node dist/cli/index.js --help

# Without a build step (tsx):
npm run dev -- --help

Updating

wairon update          # check and install the latest stable release
wairon update --check  # check only

Release channels: stable (default), beta, preview — switch with wairon update --channel <name> (persists in ~/.wairon/config.json).


Quick Start

cd my-project
wairon init                 # bootstrap .wai/ (spec tree, context, skills, MCP-ready)

# Design the system with the SDD architect skill (in your AI tool), or via the
# sdd_* MCP tools. Then:

wairon status               # spec-tree completeness dashboard
wairon validate             # architecture-conformance gate
wairon generate             # regenerate agent files + (re)install skills
wairon list                 # agents resolved from the spec tree

Aliases

wai is a built-in short alias for wairon. Manage aliases with wairon aliases list | enable <name> | disable <name>.


CLI Reference

See docs/cli.md. Summary:

| Command | Description | |---------|-------------| | wairon init | Bootstrap .wai/ and the SDD spec tree | | wairon status | Spec-tree completeness dashboard | | wairon validate [--ci] | Architecture-conformance gate | | wairon generate [--target] [--domain] [--dry-run] | Regenerate agent files + install skills | | wairon list / wairon show <id> | Inspect agents resolved from the spec tree | | wairon diagram [--all] [--canvas] [--drawio] [--excalidraw] [--sequence <comp:method>] | Mermaid, interactive canvas, and editable draw.io/Excalidraw exports | | wairon rules list | The conformance rule registry (the architecture linter) | | wairon packs add \| list \| remove [--global] | Extension packs: injected profiles, language tables, and rules | | wairon domains list \| scan \| add \| remove | Domains (subsystem-derived + free-standing) | | wairon skills list \| install | Manage the SDD skills installed into your tools | | wairon lock [-y] | Validate the tree as-complete and freeze it (generates the implementer agents) | | wairon mcp serve \| install \| status | The wairon MCP server (sdd_* tools) | | wairon serve [--port] [--data-dir] [--no-auth] | Self-host: HTTP MCP for many isolated projects + admin plane | | wairon host project \| key \| lock \| promote | Administer the hosting server (projects, keys, state-scoped lock/promote) | | wairon update / wairon aliases | Self-update / command aliases |


Documentation


Technology Stack

TypeScript + Node 18+, Commander (CLI), Inquirer (prompts), Zod (schema validation), js-yaml, the MCP SDK, and Vitest. Bundled with tsup.


Contributing

Early development. For bugs or questions, open an issue.

License

MIT