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

hadara

v0.3.2

Published

Portable AI-assisted development workbench for evidence-backed task capsules, handoffs, and release gates.

Readme

HADARA

HADARA is a portable agentic development workbench for keeping long-running AI-assisted software work inspectable, resumable, and evidence-backed.

Unbroken Context, Verified Development.

HADARA binds non-deterministic LLM agent work into a production-oriented workflow through Task Capsules, Session Continuity, Policy Layers, Evidence Logs, and Handoff Protocols.

This repository is both the HADARA source checkout and the HADARA protocol workspace used to build it.

Release Status

Current stable npm release:

[email protected]

Current release candidate:

[email protected]

The 0.3.2 line is the Evidence v2 refactor release. It hardens evidence writer metadata, exact resolution markers, durable evidence id discovery, canonical/derived evidence boundaries, and release-facing docs after the 0.3.1 post-publish recycle.

Phase labels are internal implementation phases, not npm release-candidate labels. The stable 0.3.2 source is prepared for approval-gated npm publish; the 0.3.2-rc.0 package remains the prior release-candidate evaluation build until stable publish is executed.

| Surface | Status | |---|---| | Current stable | [email protected] | | Current RC | [email protected] | | Previous RC | [email protected] | | Historical RCs | See Release Notes. | | GitHub Release | Secondary target, approval-gated. | | Docker image | Deferred. | | PyPI/Python package | hadara==0.2.0rc1 published preview bridge. | | Installer scripts / USB launchers | Deferred. |

No release command should publish, create a GitHub Release, build Docker images, upload artifacts, or load token values unless an operator explicitly approves the mutation path for the active release capsule.

Install

Requires Node.js 22.

Install the stable release:

npm install -g [email protected]
hadara help
hadara doctor --json

Run without a global install:

npx [email protected] help
npx [email protected] doctor --json

Evaluate the release candidate explicitly:

npm install -g [email protected]
npx [email protected] help

For release or recycle evidence, prefer an isolated prefix install when PATH, global installs, or npx cache behavior may be stale:

tmp="$(mktemp -d)"
npm --prefix "$tmp" install [email protected]
"$tmp/node_modules/.bin/hadara" version --json

npx [email protected] ... remains convenient for normal use. The isolated installed-bin path is stronger proof that the published package installed and executed from the intended package tree.

What HADARA Gives You

| Capability | Purpose | |---|---| | Task Capsules | Keep each unit of work scoped, evidenced, and resumable. | | Evidence Logs | Record public, reduced proof of validation without raw private logs. | | Handoff Protocol | Preserve current state for the next operator or agent. | | Structured Help | Separate primary lifecycle commands from diagnostics, advanced, release, UI, and integration surfaces. | | Document Governance | Classify canonical, active, reference, historical, superseded, and archived docs. | | Managed Markdown Safety | Patch declared generated sections with dry-run and hash guards. | | Release Gates | Check package and release readiness through evidence-backed dry-run reports. | | Read-only MCP Bridge | Expose project/task/evidence state without default write tools. | | Dashboard and TUI | Provide local operator observation surfaces over existing read models. |

HADARA is deliberately conservative. Read surfaces are broad; write and release surfaces are narrow, explicit, and evidence-oriented.

Start Here

Ask the CLI for the workflow before choosing commands:

hadara help
hadara help lifecycle
hadara task next --json

Use structured discovery when an agent or tool needs machine-readable command metadata:

hadara commands --json
hadara commands --family capsule-lifecycle --json
hadara help command task.close

Primary Capsule Lifecycle

The primary path is intentionally small:

hadara task next --json
hadara task create "implement a focused change" --json
hadara task status --task T-XXXX --json
hadara evidence add-command --task T-XXXX --summary "..." --result passed --category validation --idempotency-key "command:T-XXXX:check" --json
hadara task finish --task T-XXXX --json
hadara task finish --task T-XXXX --execute --json
# Finalize Task Capsule docs and tracked state docs before closing.
hadara task ready --task T-XXXX --level done --json
hadara task close --task T-XXXX --json
hadara task close --task T-XXXX --execute --json
hadara task audit-close --task T-XXXX --json
hadara handoff suggest --task T-XXXX --json

When evidence add-command uses both legacy --result and v2 --outcome, matching outcomes must agree with the legacy result. recorded and not-applicable outcomes keep legacy result unknown; incompatible combinations fail before evidence is appended.

Use hadara evidence list --task T-XXXX to discover evidence ids before writing exact resolution markers. Text output shows [id] time | category/outcome | visibility | summary; JSON output includes id, idSource, idStability, persistedSchemaVersion, category, outcome, and tags. For long-lived references, copy only durable persisted ev: ids:

hadara evidence list --task T-XXXX
hadara evidence add-command --task T-XXXX --summary "Fix verified" --result passed --category validation --resolves ev:T-XXXX:aaaaaaaaaaaaaaaaaaaaaaaa --json

Legacy compatibility ids are inspection-only and are not the preferred durable reference for resolves: or supersedes: examples.

Deferred Evidence v2 scope is explicit: rebuild preview/execute, check-id, subject, and a new add-command report schema id are future candidates, not current command behavior. Treat evidence.jsonl as canonical append-only evidence and EVIDENCE.md as a non-canonical human summary.

Optional workflow compression is read-only. Use it separately when you want a compact current-stage report and next recommended action:

hadara task complete --task T-XXXX --json

Important boundaries:

| Command | Boundary | |---|---| | task status | Read-only operator console. ok:true means the report was generated, not that the task is ready. | | task complete | Optional read-only workflow compressor. It reports the current stage and next action. | | task finish --execute | Writes only bounded status bookkeeping in TASK.md and docs/TASK_BOARD.md. | | task close --execute | Appends close evidence only. | | task audit-close | Read-only close proof audit. |

Before task close --execute, finish Task Capsule docs, acceptance/tests/handoff notes, evidence summaries, Task Board updates, and tracked state docs. After close execute, changing close-source docs intentionally invalidates the previous close proof and requires rerunning ready/close/audit.

The full command semantics live in docs/TASK_WORKFLOW_COMMANDS.md.

Proof and Diagnostics

Diagnostics are useful, but they are not the primary lifecycle:

hadara evidence lint --task T-0001 --json
hadara evidence list --task T-0001 --json
hadara proof status --task T-0001 --json
hadara proof explain --task T-0001 --json
hadara ci gate --mode advisory --task T-0001 --json
hadara ci gate --mode strict --task T-0001 --json
hadara protocol doctor --json

Use strict gates before Done/close/release claims. Use advisory gates while exploring.

Document Governance

HADARA projects can register and classify their operating documents:

hadara docs list --json
hadara docs doctor --json
hadara docs explain --path docs/PROJECT_STATE.md --json
hadara docs required-reading --json

The document registry distinguishes canonical, active, reference, historical, superseded, and archived docs. docs required-reading reports the effective default reading set and excludes historical, superseded, and archived docs.

Docs cleanup is metadata-first:

hadara docs mark --path docs/specs/old.md --status superseded --by docs/specs/new.md --reason "Replaced" --json
hadara docs archive --status superseded --json

docs mark --execute is hash-guarded and writes only .hadara/docs-registry.json. docs archive is dry-run planning only in the current implementation; it does not move or delete historical files.

Managed Markdown Safety

HADARA can update declared managed sections only. Managed patch execution is dry-run-first and hash-guarded. User-authored prose remains outside automated writes.

hadara docs managed list --json
hadara docs managed explain --path docs/TASK_BOARD.md --json
hadara docs patch --path docs/TASK_BOARD.md --section task-board --content-file .hadara/local/patches/task-board.md --json
hadara docs patch --path docs/TASK_BOARD.md --section task-board --content-file .hadara/local/patches/task-board.md --execute --before-hash sha256:... --json

Managed patch reports describe target hashes, section hashes, planned operations, and issues before any write is applied.

Release and Advanced Surfaces

Release/package commands are release-only surfaces, not ordinary lifecycle steps:

hadara package smoke --dry-run --json
hadara package smoke --execute --attach-evidence --task T-0001 --json
hadara smoke clean-checkout --execute --attach-evidence --task T-0001 --json
hadara release artifact --execute --json --output dist-release --attach-evidence --task T-0001
hadara release gate --mode strict --json
hadara release dry-run --json
hadara release publish --mode dry-run --json

package smoke --execute, smoke clean-checkout --execute, and release artifact --execute create local validation artifacts and reduced public evidence only. They must not publish packages, create GitHub Releases, build Docker images, push images, or load publish token values.

release publish --mode dry-run reports readiness, token presence by name, approval requirements, and mutation privacy flags without running npm publish. Any publish execution must happen only in a separate approval-gated release capsule with explicit operator confirmation.

Dashboard, TUI, Hermes, MCP, installer, package, release, and run commands stay out of the primary lifecycle unless a task explicitly needs them.

Safety Boundaries

HADARA 0.3.2 is not:

  • a full agent runtime;
  • Rack/enterprise behavior;
  • automatic broad document rewriting;
  • automatic historical document deletion;
  • default shell execution through agents;
  • default MCP write tooling;
  • release or publish automation without operator approval.

HADARA separates portable runtime state from project-owned development state.

Portable/local runtime state:

data/
  config/
  secrets/
  sessions/
  logs/
  audit/
  cache/
  exports/

Project-owned reproducible state:

docs/
tasks/
.hadara/
AGENTS.md

Portable/local state is not committed. Project docs, Task Capsules, and reduced public evidence are committed when they represent reproducible context.

Evidence Rebuild Boundary

evidence.jsonl is the canonical Task Capsule evidence source. EVIDENCE.md is a non-canonical human summary that can help review validation history, but it must not be treated as the source of truth for rebuild, migration, or resolution logic.

0.3.2 does not implement hadara evidence rebuild --json or an execute mode. Future rebuild work must first define whether a difference is formatting regeneration, managed-section drift, or data inconsistency before reporting wouldChange. Any later write-capable rebuild flow must be dry-run-first, reviewed, and before-hash guarded before it rewrites derived Markdown.

Development / Contributing

Initialize a project:

hadara init                  # default: standard
hadara init --profile basic
hadara init --profile standard
hadara init --profile governed

Every profile generates docs/TASK_WORKFLOW_COMMANDS.md so fresh projects get the current evidence, ready, finish, close, and audit-close loop.

| Profile | Use When | |---|---| | basic | Small project, only task/handoff discipline needed. | | standard | Default multi-session project with planning and validation docs. | | governed | Long-lived project with security, refactor, roadmap, or operational governance needs. |

Init maintenance commands dry-run by default unless --execute is supplied:

hadara init doctor --json
hadara init upgrade --profile governed --json
hadara init register-doc --path docs/specs/LOCAL.md --when "Local work" --purpose "Local spec" --json
hadara init enable-integration --integration mcp --json

Develop from source with Node.js 22:

npm install
npm run build
node dist/cli/main.js doctor --json
npm run check

Optional integrations are not generated by hadara init and are not part of the default scaffold:

hadara init enable-integration --integration hermes --execute --json
hadara init enable-integration --integration mcp --execute --json
hadara hermes detect --json
hadara hermes export-context --json
hadara mcp serve

The default MCP server remains read-only. Evidence attach is opt-in, approval-recorded, and audited.

License

HADARA is released under the MIT License. You can use, copy, modify, distribute, and build on it under the terms in LICENSE.