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

fukuro

v0.6.0

Published

Telemetry-first foundation for agentic loop engineering: decision-tree routing × DAG decomposition × convergence loops, plus a self-improving return path (fukuro / 復路).

Readme

fukuro(復路)

In Japanese, the outbound leg of a journey is called ōro (往路) — yes, it sounds like ouroboros. The way back is called fukuro (復路): the part of the loop where the snake finally eats its tail, and the system that ran the work turns around and improves itself. Also a pun: fukurō (梟) is the owl — the thing that watches your loops at night.

fukuro is a specification and minimal tooling for agentic loop engineering — running AI coding agents (Claude, Codex, or anything else) as designed loops rather than interactive prompts.

The model: three layers + a return path

Most discussion of loop engineering enumerates ingredients (automations, worktrees, skills, connectors, sub-agents, external state). fukuro organizes them into layers with distinct jobs:

| Layer | Question it answers | Structure | |---|---|---| | 1. Routing | Which loop should this work enter? | Decision tree (trigger-based, progressively disclosed) | | 2. Decomposition | What are the verifiable units, in what order? | DAG — parent = plan, child = one PR-sized unit | | 3. Convergence | How does each unit reach done? | Stateless-tick feedback loop with verification gates | | ↩ Return path | How does the system itself get better? | evaluate → audit → author, under only improvements survive |

The essence of a loop is not the graph shape — it is propose → act → verify → update external state → decide to continue or stop. The decision tree is a context-selection device on top of it; the DAG is a decomposition device; the while-loop is the convergence engine.

fukuro's thesis: the return path is the compounding half, and it only compounds when baselines are measured, not self-graded by the same model that did the work. That is why the first shipped artifact here is a telemetry CLI, not another prompt library.

Telemetry CLI (zero dependencies)

Written in TypeScript and executed directly by Node — no build step, no runtime dependencies. Requires Node ≥ 24 (native TypeScript type stripping + built-in node:sqlite). The database lives at ~/.fukuro/fukuro.db (override with $FUKURO_DB).

npx fukuro init
npx fukuro log-event pr_opened   --loop room-view --issue 462 --pr 472
npx fukuro log-event review_round --pr 472
npx fukuro log-event merged       --pr 472
npx fukuro report --days 7
npx fukuro report --format md --out ~/vault/fukuro-weekly.md   # export: Obsidian/Notion/GitHub
npx fukuro events --limit 20

The CLI is deliberately agent-agnostic: call it from Claude Code hooks, Codex automations, CI, or your shell. Canonical event kinds are documented in spec/05-telemetry.md.

Repository layout

spec/       The written specification (chapters 00–06)
cli/        The telemetry CLI (node:sqlite, no deps)
skills/     Generic skill templates for the routing/convergence layers (WIP)
state/      State-backend adapter contract: GitHub / Notion / markdown / SQLite (WIP)
examples/   Minimal end-to-end loop using GitHub Issues only (WIP)

Design principles

  1. State lives outside the model. Every tick re-derives state from the source of truth (issue tracker, PRs, DB). No hidden in-context state → loops survive interruption and parallelize.
  2. Maker ≠ checker. The model that wrote the change never grades it alone — a different reviewer (bot, other model, human) gates the merge. This applies to the return path too.
  3. Small verifiable units. One child issue = one PR, roughly ≤ 100 changed lines. Verification quality is designed into the unit size.
  4. Stop lines, not vibes. Irreversible or out-of-scope actions are enumerated by name and the loop halts on them, escalating to a human.
  5. Telemetry over rubrics. Rubric self-scores saturate; review rounds per PR, lead time, and intervention counts do not. Improvements survive only if the metrics say so.

What fukuro is not

  • Not a lightweight trace-observability tool. Langfuse/LangSmith watch the inside of an execution (prompts, tokens, spans); fukuro measures the outside shape of a loop. Complementary, not competing.
  • Not a personal delivery dashboard. DORA-style tools measure teams and pipelines; fukuro measures one harness and its return path.
  • The CLI is the entry point, not the product. Vendor-built telemetry will absorb usage/cost/PR counters from below. What fukuro defends is the vocabulary: what counts as loop improvement — review rounds, stop lines, interventions, hypothesis lifecycles, return-path attribution.

Status

Early. The spec chapters are drafted; the CLI covers init / ctx / log-event / events / report — including stateless context derivation (position recomputed from git and the event log; nothing stored), structural redaction (--profile public), and hook recipes (docs/hooks.md). Roadmap: skill templates, state-backend adapters, a GitHub-only example loop, and outcome-based baseline guards for the return path.

License

Apache-2.0