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

@debonet/idd

v0.1.35

Published

Interrogation-driven development: the questions page and its command

Readme

Interrogation-Driven Development (IDD)

Purpose / Why

Interrogation-Driven Development (IDD) is a framework for progressive software development. As an agent works through a specification, it records asynchronous questions for the engineer when it reaches an ambiguity or a decision boundary. The engineer answers through the project's questionnaire; those answers become recorded decisions that guide the implementation.

IDD exists because decisions asked in a terminal or chat are easy to miss, repeat, or lose between sessions. A shared question list and recorded answers keep the agent and engineer aligned while the work advances one decision at a time.

Horizontal logo · Square logo · Icon

TL;DR

  • Every decision a coding session needs from the human is added to the project's shared question list and presented through the hosted IDD questionnaire. Agent-host input prompts are not used for project questions.
  • Each code branch has its own idd-<branch> branch in the same GitHub repository. Questionnaire files stay out of code commits.
  • Any repository reader can view questions; submitting an answer requires repository write access. The browser commits answers directly to GitHub.
  • Agents can run idd wait to watch all active unanswered questions, including questions added while it runs. It polls the IDD branch periodically and also wakes on GitHub push events when configured; each newly accepted answer batch is returned for agents to claim and handle.
  • A project adopts IDD with one line in its AGENTS.md; every new session then reads the package's INSTRUCTIONS.md and acts on pending answers first.
  • The rules for writing questions and reading answers were earned in AIOS, one observed mistake at a time; they live here once, for every project.
  • IDD is a ConcordSTC project: its rules are marked statements rooted in the human's own words, and its code is tested against them.

Adopt IDD

If a user says “let's use interrogation.dev” or otherwise asks to adopt IDD, that is approval to set it up; the agent should proceed without asking again. Install the package in the project with npm install --save-dev @debonet/idd --cache ./tmp/npm-cache, then paste this line into the project's AGENTS.md:

This project uses IDD. Before other work, read the installed package's instructions at the path printed by `node -p "require.resolve('@debonet/idd/INSTRUCTIONS.md')"`. If IDD is not installed, run `npm install --save-dev @debonet/idd --cache ./tmp/npm-cache` first.

The path is resolved from the project's npm installation, so the instruction does not depend on where npm placed the package. The package's INSTRUCTIONS.md explains branch setup and the session workflow. The agent initializes and pushes the matching idd-<branch> data branch, checks whether the IDD GitHub App can access the repository, and provides the hosted questionnaire link. If it cannot install the app itself, it gives the user the direct installation link and continues the setup it can complete. This request adopts IDD only; it does not authorize ConcordSTC setup.

Solution (what?)

IDD has two parts: the agent-side npm package and the hosted questionnaire at https://interrogation.dev. The idd command manages question data, prints a direct viewer link, counts question states, and polls the matching remote IDD branch for answers. Its package includes the agent instructions and a Git merge hook; it does not include or run the hosted web application. An adopting project installs the tools with npm install --save-dev @debonet/idd --cache ./tmp/npm-cache; the model reads the installed instructions using node -p "require.resolve('@debonet/idd/INSTRUCTIONS.md')".

Questionnaire, answer, status and history files live on the idd-<branch> branch in the same repository as the code. Agents edit them from a separate Git worktree, so an unfinished implementation never enters an IDD commit. The hosted viewer lets the human answer from any device, and the agent can wait for that committed answer with idd wait.

IDD also includes an optional hosted viewer for GitHub projects. It runs on Cloud Run, discovers questionnaire branches across repositories available to the signed-in user, and commits answers from the browser directly to GitHub. It does not store repository data or user tokens. It stores only ChatGPT MCP event subscription metadata in Firestore. ChatGPT Work chats can subscribe to the global answer-change event; each event contains no repository or answer data and asks the chat to inspect its current project. See docs/hosted-viewer.md for GitHub App setup and deployment instructions.

Method (how?)

An agent publishes each question to the hosted IDD questionnaire; it does not ask the same question through a host-owned prompt. The browser commits the answer to GitHub. An agent waiting with idd wait receives a prompt event when the GitHub push webhook is configured, then fetches the answer and queues it as pending. Branch polling covers environments without push delivery. ChatGPT Work chats can receive the same webhook-triggered change through MCP Events while idle. Claude.ai currently uses an active idd wait call. A session lists pending answers at its start and acts on them before the task it was started for.

The core workflow is harness-independent: the npm package supplies the data format, branch commands and agent instructions. The hosted viewer runs as a separate Cloud Run service at interrogation.dev. Tool-specific guidance describes how each agent publishes a question and listens for its answer.

Each rule is a guidance line in specs/guidance/, rooted in the human's quoted words or marked as an architect's decision for him to ratify, and cites the observations in observations.md that it rests on. The page's behaviour and the command's are specified in specs/questions-page.md, specs/project-files.md and specs/idd-page.md, and tested against those statements. How a project adopts IDD is in specs/adoption.md; how a project with an existing page moves over, keeping its address and every saved answer, is in docs/existing-page-migration.md.