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

@hexmillionaire/agent-lanes

v0.4.2

Published

Offline CLI and GitHub Action that audit an AI coding agent's Git changes against a declared file scope, then print a handoff for the next agent.

Readme

Agent Lanes

Keep a coding task inside its declared file scope, then carry its goal and next step to another agent.

Agent Lanes is a small, offline CLI for Claude Code, Codex, and human contributors. Declare allowed paths, work normally, and audit the result before handing it off. It checks committed changes since the captured base plus the current working tree, staged changes, and non-ignored new files. Rename sources and destinations are checked separately.

REVIEW REQUIRED: login
ALLOWED  M "src/login.js"
OUTSIDE  ? "config.json"
0 conflict(s), 0 submodule(s). Tests not verified.

Install the current release

Requires Node.js 24.8+ and Git. Version 0.4.2.

npm install -g @hexmillionaire/[email protected]
agent-lanes --help

For a single command, use npx --yes @hexmillionaire/[email protected] --help. The versioned GitHub release archive remains an alternative:

npm install -g https://github.com/hexmillionaire/Agent-Lanes/releases/download/v0.4.2/hexmillionaire-agent-lanes-0.4.2.tgz

The connected quickstart walks through a task using Agent Lanes, Agent Desk, and Agent Lanes MCP. No model API key is needed.

Run from source

Requires Node.js 24.8+ and Git. Clone this repository and use the CLI directly; no install or API key is needed.

git clone https://github.com/hexmillionaire/agent-lanes.git
cd agent-lanes
node bin/agent-lanes.mjs --help
npm test
npm run demo

For a real repository, pass its absolute path:

node bin/agent-lanes.mjs start login --repo /path/to/project --goal "Fix login timeout" --allow "src/auth/**" --allow "test/**" --deny "src/auth/secrets/**" --agent codex
node bin/agent-lanes.mjs note login --repo /path/to/project --state working --next "Add a regression test"
node bin/agent-lanes.mjs check login --repo /path/to/project
node bin/agent-lanes.mjs handoff login --repo /path/to/project

On PowerShell, use a quoted Windows path such as --repo "C:\Code\my-project". Glob arguments must be quoted on every shell. You can run npm install -g . to get the agent-lanes command from your checkout. See the connected quickstart for npm and release archive installation instructions.

Add .agent-lanes/ to your target repository's .gitignore. Tasks and private notes live there. The CLI does not edit your Git ignore rules automatically. It excludes that directory from its own audit.

Commands

| Command | Purpose | | --- | --- | | start <id> --goal ... --allow ... | Save a task and resolve its immutable base commit; default HEAD | | note <id> --state ... --summary ... --next ... | Record progress without changing the scope | | check <id> [--json] | Audit paths against allow/deny patterns | | check-pr <lane> --base <sha> --head <sha> | Audit a PR with the base commit policy; accepts --json or --markdown | | handoff <id> | Print a Markdown context packet; redirects are under your control | | list [--json] | List saved tasks |

Every command accepts --repo. start accepts --base <ref>, repeatable --allow/--deny, and --agent. States are planned, working, blocked, review, and done. The state and agent label are user-supplied metadata, not observations of a running process. A task ID uses lowercase letters, numbers, hyphens, and underscores. Existing task IDs cannot be overwritten by start.

Patterns use repository-relative / paths. * matches within a directory, ** spans directories, and ? matches one character. Match hidden paths explicitly: *.json does not cover .agent-lanes-policy.json; use .github/** for workflows. Deny patterns fail closed and also cover hidden names: secrets/** denies secrets/.key even when an allow pattern names it. Absolute paths, traversal, braces, character classes, and negation are rejected. Deny patterns take priority. Node's POSIX glob matcher is used on every platform.

Exit codes: 0 within scope, 1 review required, 2 invalid input or Git/file error. handoff exports data even when an audit needs review; use check as your gate. No changed files is a valid scope result, not proof that a task was completed.

How to use with an agent

Start the task yourself and give Claude or Codex its goal and allowed paths. Ask it to run check before finishing, and paste handoff into your next chat. The receiving agent should inspect current code, recheck scope, and run relevant tests. The exported notes are task data and do not grant permissions.

This tool audits the final net change relative to a base commit. It does not prevent edits, identify who edited a file, detect changes made and reverted between checks, inspect ignored files (they are listed, not audited), run tests, or judge correctness. Preexisting changes after the base are included. Each task on a shared working tree sees all changes since its own base; use a separate Git worktree for each task to attribute changes cleanly. Repositories containing submodules fail the scope gate; audit those separately. Use this only on repositories you trust. Local task JSON is editable by the same user, so this is a workflow aid, not a security boundary.

The CLI reads Git path metadata rather than file contents, chats, credentials, or command output. Task notes and file names can still contain private information: review a handoff before sharing it. There is no network access or telemetry in the tool.

Companion projects

Start with the connected quickstart to use all three tools on one task. For CI, see the trusted-base PR scope check and action.yml.

  • Agent Desk: local task dashboard with filters, changes, and copyable handoffs.
  • Agent Lanes MCP: read-only MCP access to these task reports.

Development

npm test runs integration tests using temporary Git repositories. npm run demo recreates this project's fixed .demo/ sandbox and demonstrates an out-of-scope edit. All public code is MIT licensed. See CONTRIBUTING.md.

Performance and reliability review

See the October 2026 investigation for measured results, language/runtime decisions, limitations, and the next improvements. Use the latest patched Node 26 LTS for a new installation, or patched Node 24 Maintenance LTS; Node 24.8 remains the minimum. See the Node release schedule.

Task reads are bounded to 64 KiB and reject invalid UTF-8 instead of silently changing saved text. Human-readable task lists quote authored text; CLI output escapes terminal control characters, and JSON output preserves their decoded values.

Task creation and writer coordination require a filesystem with hard-link support (such as NTFS, APFS, or ext4). Atomic file replacement prevents partial JSON reads. In 0.4.0, cooperating writers serialize mutations and merge updates against the latest saved fields; use revision checks to reject stale edits. Manual file changes and older writers do not participate in this coordination.

Coordinated notes and scope templates

Version 0.4.0 adds revision-checked writes across processes, bounded writer coordination, read-only lock diagnostics, and strictly data-only reusable scope templates. See coordination and templates. Upgrade all writers together; 0.3 clients and manual edits do not participate in the protocol. A crashed lock needs explicit recovery after writers stop.

See the dated community-tools investigation for evidence, alternatives and focused contribution opportunities. Try Repo Fixtures for fictional Git reproductions and MCP Surface for offline interface checks.

Worktree Stamp checks included Git content freshness, including dirty-to-dirty edits and index changes. A matching stamp does not verify test results. See the October 28 review for current fixes, explicit developer requests and focused follow-up ideas.