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

@attalabs/aeg-forge-state

v0.19.2

Published

A generic, repo-parameterized adapter that derives an `@attalabs/aeg-core` `Tranche` purely from GitHub forge objects — no topology file required:

Downloads

2,448

Readme

@attalabs/aeg-forge-state

A generic, repo-parameterized adapter that derives an @attalabs/aeg-core Tranche purely from GitHub forge objects — no topology file required:

  • a Milestone titled exactly <slug>goal (description) + lifecycle (open/closedactive/complete); null when no Milestone exists yet for that slug (a real, expected transitional state during rollout)
  • tranche:<slug>-labeled Issues → the Task[] list, with id/title parsed from the [<slug>] <id> — <title> Issue-title convention, projects from the Issue body's **Project:** field — a FIELD, never a label: the project:* label family was retired, and a residual one is ignored outright rather than merged — and dependsOn/conflictsWith edges parsed from each Issue's "Dependency rationale" section — hardened against both the topology file's single comma-joined backtick-span form and the multi-span prose form real Issue bodies also use

owner/repo are explicit parameters to every public function — never hardcoded. All forge access shells out to the local gh CLI (the same pattern already used throughout packages/aeg-core/bin/*.ts), not a second octokit-based access path.

Two consumers

  1. This repo's own migration (aeg-forge-state-v1 tasks 3/4/5) — the live The gates and Vinaya Studio cut over from reading aeg-root/tranches/*.md files to calling this package directly.
  2. vinaya-cli-v1's shippable CLI — imports or re-homes this package as the forge-backed half of Vinaya's StateSource seam, for arbitrary adopter repos, not only the one it was written in.

Keep the public API shaped for an arbitrary (owner, repo, slug) triple, not this-repo-only conveniences — that genericity is the entire reason this package exists as its own thing instead of living inside vinaya-cli-v1.

What this package does NOT do

  • No writes to the forge (read-only, always).
  • No backlog derivation — the file's ## Backlog section is project-level prose with no owning forge object; forge-derived tranches always report backlog: []. No currently-active tranche's forge derivation loses real backlog content today because none has been proven to round-trip yet — a future task's problem, not this one's.
  • No amendment-prose ingestion — dependsOn/conflictsWith are parsed from an Issue's structured "Dependency rationale" field only. A later free-text amendment appended below that field (a real pattern seen on this repo) is out of scope; see the golden-comparison test's doc comment for a concrete, evidenced example.