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

neuroplast

v1.2.0

Published

Repository-local cognitive augmentation toolkit implementing the Local Cognitive Protocol for local repositories.

Readme

Neuroplast

Neuroplast is a repository-local cognitive augmentation toolkit for AI systems and an implementation of the Local Cognitive Protocol (LCP).

Normative protocol source:

LCP is the standard. Neuroplast is an implementation of that standard.

Neuroplast remains domain-agnostic. It can support software repositories, research repositories, marine biology repositories, educational repositories, collaborative learning repositories, and other local knowledge contexts.

Neuroplast preserves its existing /neuroplast/ working layout while also installing an explicit .lcp/ bridge entrypoint for visible LCP alignment.

Current version statement:

  • Neuroplast v1.2.0 implements LCP v1

Quick Start

Initialize Neuroplast in any project directory:

npx neuroplast init

Include shared Obsidian config files:

npx neuroplast init --with-obsidian

Apply one-time versioned updates and safe managed-file refreshes:

npx neuroplast sync

Preview sync changes without writing files:

npx neuroplast sync --dry-run

Validate the LCP bridge, Neuroplast profile, and metadata:

npx neuroplast validate

Emit machine-readable validation results for CI or wrapper tooling:

npx neuroplast validate --json

Run the full maintainer pre-release verification flow:

npm run release:verify

Run the repository reliability suite while developing Neuroplast itself:

npm test

The initializer is non-destructive: existing files are skipped and never overwritten during init.

By default, Neuroplast writes working files under /neuroplast/ and installs a companion .lcp/ bridge layout.

init also runs sync after file bootstrap so new package migrations are applied once per version.

First Successful Loop

After npx neuroplast init, read these files in order before doing any real work:

  1. .lcp/manifest.yaml
  2. neuroplast/WORKFLOW_CONTRACT.md
  3. neuroplast/manifest.yaml
  4. neuroplast/capabilities.yaml
  5. Any active workflow extensions declared in neuroplast/manifest.yaml
  6. The current instruction file such as neuroplast/conceptualize.md or neuroplast/act.md

Terminal-first portability proof walkthrough

The terminal-only path is the current actively verified portability proof for Neuroplast because it exercises the workflow from the filesystem contract alone.

Use this first loop in a realistic consumer repository:

  1. Run npx neuroplast init in the target repository.
  2. Read the LCP bridge manifest, the Neuroplast contract, the Neuroplast manifest, the capability profile, and any active extensions.
  3. Create or confirm root ARCHITECTURE.md.
  4. Add one concept artifact under neuroplast/project-concept/ and one execution plan under neuroplast/plans/.
  5. Execute one bounded step through neuroplast/act.md.
  6. Run npx neuroplast validate to confirm the LCP bridge and Neuroplast profile are still valid.
  7. On later package updates, run npx neuroplast sync to apply package-managed refreshes without overwriting local edits.

This walkthrough shows the file contract in action without requiring any editor-specific integration.

LCP Relationship

  • LCP is the normative external protocol source.
  • Neuroplast is an implementation of LCP for repository-local cognitive augmentation.
  • .lcp/ provides the LCP-facing bridge entrypoint.
  • /neuroplast/ remains the Neuroplast-owned working layout and compatibility profile.
  • CLI/runtime behavior is Neuroplast tooling, not LCP core semantics.

See:

  • docs/lcp-mapping.md
  • docs/lcp-compatibility.md
  • docs/domain-generalization.md
  • docs/migration-to-lcp.md

Managed File Updates (Versioned Migrations)

Neuroplast now supports one-time versioned migrations plus safe refreshes for library-managed files under /neuroplast/.

  • Sync state is persisted in neuroplast/.neuroplast-state.json.
  • Each migration has an ID and target version.
  • Applied migrations are recorded so they only run once.
  • Managed package files also store a baseline content hash and last synced version.
  • Sync evaluation runs on all package version updates, including patch releases.
  • Downgrade detection skips automatic sync; use --force to override.
  • Use --backup with sync to keep pre-update file copies under neuroplast/.backups/.

Managed refresh behavior

  • Missing managed workflow, adapter, and bundled extension files are recreated during sync.
  • Unchanged managed files are refreshed to the latest packaged version.
  • Locally modified managed files are preserved and reported instead of being overwritten.
  • Older installs without baseline metadata only adopt a file into safe refresh management when the current file already matches the packaged content exactly.

Sync behavior by version

  • Same version: sync is skipped.
  • Higher version (major/minor/patch): sync runs once and records new sync version.
  • Lower version (downgrade): sync is skipped by default.

Current sync behavior

  • Tag backfill migration enforces required Obsidian tags across managed markdown folders under /neuroplast/.
  • Governed sync scope excludes /neuroplast/.obsidian/ and /neuroplast/.backups/.
  • sync --dry-run now announces preview mode explicitly and reports create/update/preserve/adopt/unchanged counts before any real write.

Validation Trust UX

  • Human-readable validation output now includes a clear next corrective action for warnings and errors.
  • npx neuroplast validate --json emits machine-readable findings and summary counts for CI or wrapper tooling.
  • validate --json now includes schemaVersion, and the stable payload contract for the current major version is documented in schemas/validate-json.schema.json.
  • Validation now also checks sync-state parseability and warns when active extension files will not be step-loaded automatically.

Compatibility and Upgrade Policy

Stable within a major version

  • CLI command names: init, sync, validate
  • The /neuroplast/ root layout and required folder paths
  • Root ARCHITECTURE.md as the canonical architecture artifact
  • Core manifest document-role paths and required workflow files
  • Non-destructive init behavior for existing files
  • Non-destructive sync behavior for locally edited managed files
  • validate --json schema contract for the active schemaVersion

May evolve within a major version

  • Human-readable CLI output wording
  • Additive validation findings and documentation improvements
  • Additional optional bundled extensions or additive metadata fields
  • Documentation-only adapter guidance

Deprecation and upgrade expectations

  • When practical, deprecations should be documented before removal rather than changed silently.
  • Release notes should state whether consumers need to run npx neuroplast sync, npx neuroplast sync --dry-run, or no follow-up command.
  • If a release changes managed assets or upgrade behavior materially, maintainers should publish upgrade notes or a migration guide alongside the change.

Using validate --json in CI

Use validate --json when a consuming repository wants machine-readable pass/fail output without scraping human logs.

Example GitHub Actions step after Neuroplast has been initialized in the repository:

- name: Validate Neuroplast contract
  run: npx neuroplast validate --json

Current CI consumer expectations:

  • exit code 0 means no validation errors were found
  • exit code 1 means at least one validation error was found
  • schemaVersion identifies the machine-readable payload contract
  • summary.errors, summary.warnings, and findings can be consumed by wrapper tooling

If your automation depends on the JSON shape, pin the Neuroplast major version and review schemas/validate-json.schema.json when adopting a newer major release.

Maintainer Release Operations

  • Run npm run release:verify before publish.
  • The release verification flow runs npm run validate, npm test, checks the npm pack --json payload against expected shipped assets, and performs a packed-install smoke test.
  • Repo-local maintainer assets such as neuroplast/local-extensions/package-maintainer/ are intentionally excluded from the published package payload.

Optional Workflow Extensions

  • Bundled reusable workflow extensions are installed under neuroplast/extensions/.
  • Repo-local custom extensions may be created under neuroplast/local-extensions/.
  • Activate extensions in neuroplast/manifest.yaml under extensions.active_bundled and extensions.active_local.
  • Active extensions are additive guidance only and must not override the core workflow contract.
  • Read active extensions after the core contract/manifest/capabilities documents and before executing the matching canonical instruction file.
  • Use the seamless step-loading convention: for each active extension, load the matching file for the current phase when it exists.
  • Active extensions should include a README.md, the additive boundary reminder, and at least one canonical step file.
  • Bundled extensions shipped with Neuroplast:
    • verification-first
    • artifact-sync
    • context-continuity
  • The package-maintainer extension in this repository is repo-local only and is not shipped as part of the published package.

Portability Support Matrix

  • Actively verified means the environment has a maintained first-loop proof path that is rerun against the canonical file contract.
  • Documentation-only means the guide is kept aligned with the contract, but it is not yet treated as a separately verified portability proof.

| Environment | Status | Capability assumptions | Notes | | --- | --- | --- | --- | | Terminal-only | Actively verified | File reads, file writes, and terminal commands | Canonical proof path for init -> read files -> execute one loop -> validate -> later sync. | | OpenCode | Documentation-only | File reads and writes; terminal access may vary by runtime | Guide stays aligned with the contract but is not yet maintained as a separately verified proof path. | | Claude Code | Documentation-only | File reads and writes; tool permissions may vary; terminal usually available | Use the same file contract and recordkeeping path as the terminal proof. | | Cursor | Documentation-only | File reads and writes; editor automation may vary | Treat editor assistance as convenience, not workflow authority. | | Windsurf | Documentation-only | File reads and writes; runtime capabilities may vary by mode | Fall back to the file contract when tool support is partial. | | VS Code + Copilot | Documentation-only | File reads and writes; terminal availability depends on local setup | Keep the workflow grounded in files rather than editor chat state. |

What This Repository Is

This repository contains instruction files that guide an AI agent through a repeatable process:

  1. Conceptualize a project
  2. Produce architecture/planning artifacts
  3. Execute implementation steps
  4. Record changelog updates
  5. Capture reusable lessons learned

It is set up as a workflow package template rather than a traditional code application.

Current Repository Contents

Source-of-truth package files in this repository:

  • src/instructions/ — canonical instruction templates copied by neuroplast init
    • manifest.yaml
    • capabilities.yaml
    • WORKFLOW_CONTRACT.md
    • conceptualize.md
    • PLANNING_INSTRUCTIONS.md
    • act.md
    • CONCEPT_INSTRUCTIONS.md
    • CHANGELOG_INSTRUCTIONS.md
    • think.md
  • src/obsidian/.obsidian/ — optional shared Obsidian config templates
  • src/extensions/ — optional bundled workflow extensions and authoring scaffold
  • src/adapters/ — optional environment guidance documents
  • bin/neuroplast.js — CLI initializer that creates folders and copies templates
  • .gitignore — currently ignores .obsidian/workspace.json

Installed output in target projects (created by npx neuroplast init):

  • neuroplast/WORKFLOW_CONTRACT.md
  • neuroplast/manifest.yaml
  • neuroplast/capabilities.yaml
  • neuroplast/conceptualize.md
  • neuroplast/PLANNING_INSTRUCTIONS.md
  • neuroplast/act.md
  • neuroplast/CONCEPT_INSTRUCTIONS.md
  • neuroplast/CHANGELOG_INSTRUCTIONS.md
  • neuroplast/think.md
  • neuroplast/extensions/ — optional bundled workflow extensions and shared scaffolding
  • neuroplast/local-extensions/ — optional repo-local custom workflow extensions
  • neuroplast/adapters/ — documentation-only environment guides
  • neuroplast/.obsidian/ (optional via --with-obsidian)

Intended Folder Structure (Created During Workflow)

The instruction files reference these folders, which are expected to be created as part of the process:

  • /neuroplast/project-concept/
  • /neuroplast/project-concept/changelog/
  • /neuroplast/learning/
  • /neuroplast/plans/

Workflow Overview

1) Conceptualization

Start from neuroplast/WORKFLOW_CONTRACT.md, then neuroplast/conceptualize.md, which points to planning rules in neuroplast/PLANNING_INSTRUCTIONS.md.

neuroplast/manifest.yaml provides the canonical machine-readable map of workflow files, roles, and portability expectations.

neuroplast/capabilities.yaml provides the advisory machine-readable profile for environment limits and graceful degradation.

Optional environment guides live under neuroplast/adapters/ and explain how to apply the same contract in specific tools without changing workflow behavior.

Optional workflow extensions live under neuroplast/extensions/ (bundled shared extensions) or neuroplast/local-extensions/ (repo-local) and can add custom guidance without changing the canonical workflow behavior.

2) Planning Outputs

Generate layered planning documents:

  • Per-page high-level specs
  • Per-page mid-level architecture
  • Root ARCHITECTURE.md as the canonical architecture artifact
  • Optional supporting planning notes under /neuroplast/project-concept/

Obsidian wiki-links ([[File Name]]) are supported and recommended, but the workflow must remain understandable in plain markdown.

3) Execution

Follow neuroplast/act.md in order:

  • Read project concept artifacts
  • Read neuroplast/WORKFLOW_CONTRACT.md
  • Ensure ARCHITECTURE.md exists in the repository root
  • Create a plan in /neuroplast/plans/
  • Execute plan with references to /neuroplast/learning/
  • Run concept/changelog/think instructions

4) Changelog Discipline

neuroplast/CHANGELOG_INSTRUCTIONS.md expects date-based changelog files (YYYY-MM-DD.md) under /neuroplast/project-concept/changelog/ with links to associated plans.

5) Learning Capture

neuroplast/think.md defines how to store non-sensitive lessons in /neuroplast/learning by category.

Prerequisites

  • Git for versioning
  • Obsidian optional for wiki-link navigation and graph-based note workflow

Notes and Caveats

  • Some referenced files/folders are not present yet in the current repo (they are expected to be created by following the workflow).
  • Keep architecture references consistent as ARCHITECTURE.md.
  • This repo currently functions as a process framework and documentation system.
  • neuroplast/WORKFLOW_CONTRACT.md is the canonical portability contract for the workflow.
  • neuroplast/manifest.yaml is the canonical machine-readable workflow map.
  • neuroplast/capabilities.yaml is the advisory capability profile for constrained environments.
  • neuroplast/adapters/ contains optional environment guides and is not an alternate workflow definition.
  • Terminal-only is the current actively verified portability proof path; other bundled environment guides are documentation-only until separately verified.
  • neuroplast/extensions/ contains optional bundled workflow extensions that are only active when declared in neuroplast/manifest.yaml.
  • neuroplast/local-extensions/ is reserved for repo-local custom extensions declared in neuroplast/manifest.yaml.
  • This repository keeps package-maintainer as a repo-local extension rather than a published bundled extension.
  • Instruction frontmatter is workflow metadata only and intentionally excludes model-tuning fields.
  • neuroplast validate checks contract structure, required files, metadata parseability, instruction frontmatter, environment-guide boundaries, and whether any active workflow extensions follow the minimal file convention.
  • Validation is scoped to contract and metadata compliance, not environment orchestration.
  • npm test runs black-box CLI regression tests against temporary repositories.

Suggested Next Steps

  1. Create the /neuroplast/... folders referenced above.
  2. Add an initial project concept in /neuroplast/project-concept/.
  3. Start daily changelog files in /neuroplast/project-concept/changelog/.
  4. Add a root architecture file matching your preferred naming convention.