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

@shardworks/scaffold-surveyor

v0.1.310

Published

First-light scaffold surveyor — minimal LLM-driven decomposition for vision/charge/piece layers; designed to be replaced.

Readme

@shardworks/scaffold-surveyor

First-light scaffold surveyor. Minimal LLM-driven decomposition for vision/charge/piece cartograph layers. This package is explicitly designed to be replaced once you observe real cascade behavior and want to iterate on prompt quality, model selection, or decomposition heuristics.


What it does

Registers one SurveyorDescriptor with the @shardworks/surveyor-apparatus substrate, contributing three rig templates — one per cartograph layer. Each rig template launches a single anima session using the scaffold-surveyor.summon engine:

  • survey-vision rig — Reads the vision writ, creates charges via surveyor-create-charges.
  • survey-charge rig — Reads the charge writ, creates pieces via surveyor-create-pieces.
  • survey-piece rig — Reads the piece writ, creates mandates via surveyor-create-mandates.

The cascade: 1 vision → N charges → N×M pieces → leaf mandates.


Installation

{
  "dependencies": {
    "@shardworks/scaffold-surveyor": "workspace:*"
  }
}

Add scaffold-surveyor to guild.json's plugins array, after surveyor:

{
  "plugins": [
    "surveyor",
    "scaffold-surveyor"
  ]
}

No additional configuration is required. The scaffold-surveyor.summon engine resolves cwd from guild.home when not explicitly given — no operator boilerplate.


Custom engine: scaffold-surveyor.summon

A thin wrapper around animator.summon() that mirrors the anima-session engine with one difference: when givens.cwd is absent or empty, it falls back to guild().home instead of throwing. This means surveyor rigs need no worktree configuration by default.


Role files

Three role markdown files ship in loom-roles/ and are picked up by Loom at registration time:

| Role (qualified) | File | Permission grants | |---|---|---| | scaffold-surveyor.survey-vision | loom-roles/survey-vision.md | surveyor:create-charge, clerk:read | | scaffold-surveyor.survey-charge | loom-roles/survey-charge.md | surveyor:create-piece, clerk:read | | scaffold-surveyor.survey-piece | loom-roles/survey-piece.md | surveyor:create-mandate, clerk:read |

All roles use model: 'sonnet' and strict: true. Override a role in guild.json under its qualified name (scaffold-surveyor.survey-vision etc.) to change any of these.


Replacing this surveyor

This package is the canonical first-light implementation. To replace it:

  1. Create a new kit plugin with surveyors: [{ id: 'my-surveyor', ... }].
  2. Remove scaffold-surveyor from guild.json plugins.
  3. Add your new plugin instead.

Only one surveyor may be registered at a time; the @shardworks/surveyor-apparatus substrate enforces this at startup.