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

@workaholoop/cli

v0.4.3

Published

A Spec-Driven State Machine for AI Agents. Enforces structured workflows, parallel worktrees, and zero-config GitHub sync.

Downloads

358

Readme


Table of Contents


What is Workaholoop?

Workaholoop (a portmanteau of "Workaholic" and "Loop") flips the script on traditional AI development. Instead of "vibe coding" where an AI writes unmanageable spaghetti code in a single prompt, WLP introduces The Loop Engineer architecture.

By integrating the rigorous architectural planning of OpenSpec with the blazing-fast parallel execution of CCPM, WLP forces your AI to act as a Product Manager, Architect, and a team of Parallel Developers all working in absolute harmony through Git Worktrees.


Core Philosophy & V3 Features

WLP V3 introduces four enterprise-grade capabilities inspired by the world's most advanced Agent OS frameworks:

  1. Party Mode (Simulated Council): WLP does not blindly agree with your feature requests. In the Propose phase, it simulates a rigorous debate between a Product Manager (focusing on UX), a Security Expert (focusing on edge cases), and a Tech Lead (focusing on performance). Your requirements must survive this council before any spec is written.
  2. Adaptive Depth & Anti-Conflict: Not all features require massive architectural documents. WLP adapts: trivial bug fixes get a fast-track task, while enterprise features generate a rigid design.md. Crucially, its Anti-Conflict Logic analyzes file overlap and explicitly disables parallel execution if two tasks touch the same file.
  3. Continuous Learning (Learned Memory): Agents shouldn't make the same mistake twice. WLP features a global learned.md ledger. Subagents read this before coding, and append new lessons learned after successfully fixing bugs.
  4. Brownfield Converge: Need to jump in and code manually? Go ahead. WLP provides a converge command that scans your actual codebase, reconciles it against the AI's Epic tracker, and automatically closes completed tasks or generates new ones to fill the gaps.

Quick Start

1. Prerequisites

  • Node.js v22+ (LTS)
  • Git (for Worktree orchestration)
  • GitHub CLI (gh) (for automated PR and Issue synchronization)

2. Installation

Install the WLP CLI globally via npm:

npm install -g @workaholoop/cli

3. Initialize your workspace

Navigate to your project directory and initialize the Loop Engineer harness:

cd my-project
wlp init

Note: This command scaffolds the required wlp/ directory structure and installs Slash Commands for popular AI coding extensions (e.g., Claude Code, Google Antigravity, OpenCode).


The 4-Step Auto-Loop

WLP enforces a strict, four-phase lifecycle. You can trigger these via Slash Commands in your AI IDE, or simply by stating your intent in natural language.

Step 1: Brainstorming & Requirements (/wlp:propose)

Initiates the Party Mode. The agent acts as a strict council, asking hard questions about edge cases, scopes, and vulnerabilities.

  • Output: A bulletproof proposal saved to wlp/proposals/<name>.md.

Step 2: Architecture & Splitting (/wlp:spec)

The Architect takes over. It reads the proposal and writes a technical constitution (design.md). Then, it breaks the work into an Epic and orthogonal tasks (001.md, 002.md).

  • Output: wlp/epics/<name>/design.md, epic.md, and task files.

Step 3: Parallel Execution (/wlp:execute)

Runs the feature end-to-end autonomously:

  1. Sync: Pushes Epic/Tasks to GitHub Issues.
  2. Worktree: Checks out an isolated Git worktree (../.wlp-worktrees/) so your main branch stays perfectly clean.
  3. Parallel Subagents: Launches background agents to execute orthogonal tasks simultaneously.
  4. Memory Logging: Subagents append their learned lessons to wlp/memory/learned.md.
  5. Close: Merges the worktree and opens a GitHub Pull Request.

Step 4: State Reconciliation (/wlp:converge)

Re-assesses the actual codebase against the Epic. If you manually fixed something outside the AI loop, it marks the task as [x]. If code is missing, it spawns new tasks to fill the gaps.


Workspace Architecture

When you run wlp init, the following structure is injected into your repository. These artifacts serve as the "Source of Truth" for your autonomous agents.

.
├── wlp/
│   ├── proposals/       # Vetted requirements (Output of /wlp:propose)
│   ├── prds/            # Legacy PRD storage
│   ├── epics/           # Technical designs, epic trackers, and granular tasks
│   ├── memory/          # Continuous learning ledger (learned.md)
│   ├── archived/        # Completed and merged epics
│   └── skills/          # Agent behavior prompts and intent routers
│       ├── core/        # Core WLP loop logic
│       └── worktree/    # Git worktree orchestration rules
├── .claude/             # Generated slash commands for Claude
├── .agents/             # Generated proxy skills for Google Antigravity
└── .opencode/           # Generated slash commands for OpenCode

Advanced: Learned Memory

WLP implements a lightweight but highly effective Continuous Learning cycle inspired by the Extreme Code Correction (ECC) framework.

Every time a parallel Subagent executes a task in /wlp:execute, it is injected with the context of wlp/memory/learned.md. This file acts as the project's institutional memory. If a subagent spends 10 minutes resolving a tricky Webpack build error, its final step is to append the exact solution to learned.md. Future agents assigned to new tasks will read this file and avoid the pitfall entirely.


Advanced: Anti-Conflict Spec

A major danger of parallel AI execution is race conditions—two agents attempting to modify src/cli.ts simultaneously, resulting in Git merge conflicts.

WLP solves this in the /wlp:spec phase. The Architect agent statically analyzes the proposed tasks. If Task A (Routing) and Task B (Auth) both require modifying app.tsx, the Architect explicitly enforces:

# wlp/epics/auth-feature/002.md
depends_on: ["001.md"]
parallel: false

Only strictly orthogonal tasks (e.g., updating a Database schema and writing CSS) are permitted to run with parallel: true.


Contributing

We welcome contributions! Spec-Driven Development is an evolving paradigm, and we are constantly looking to improve our prompts, adapters, and CLI tooling.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.