crashtest
scenarioAdversarial QA for agent-built apps: seeded, in-process attacks against real handlers, graded into a hardening ledger CI fails on.
The shared /packs spec
A pack is a folder with a tiny label file. packstruct is the one written rule for what that label must say - so every tool agrees, and a mistake is caught in a second instead of an hour. This page is the tour; pick your door below and it starts where you are.
# 30 seconds: lint a packs directory against SPEC v1 npx packstruct lint packs/ # the directory contract - the whole surface packs/ public/ <pack-name>/ pack.json # REQUIRED: schemaVersion 1, name matches dir, entry exists <entry> # REQUIRED: the file pack.json "entry" names ok tg/data-boundary v1.0.0 - entry ships, name matches its dir ERR tg/broken-ref entry "index.js" does not exist - instant nameable refusal (crashtest#16)
Three audiences, three pages. Each assumes only what it says it does.
You have a folder, you want to know what a pack is and how to check it. No jargon, five minutes.
Start here →Write a pack a host will run, point a host at your own packs, add a profile, prove it with the harness.
Extend packstruct →One grammar across many repos: exact-pin receipts, conformance as a CI gate, governance as packs.
Fleet & enterprise →A spec, a linter, and a conformance harness - nothing else. Three artifacts, one job each.
A frozen pack.json field table (schemaVersion 1, kebab-case name matching its directory, dotted version, one-line description, an entry that must exist, optional armedByKey). One page of normative text, no ambiguity.
npx packstruct lint packs/ - zero dependencies, exit 0 clean / 1 violations / 2 usage. It kills the missing-entry class at author time, in any repo, before a host ever loads the pack.
packstruct audit-conformance materializes bundled case packs and runs your loader over each - so an implements: packstruct@1 pin is verifiable, not honorary.
69 packs across 9 live hosts, every one linted clean through the same lane. Crosslinks to each host's repo and site live on the showcase page.
Adversarial QA for agent-built apps: seeded, in-process attacks against real handlers, graded into a hardening ledger CI fails on.
Audit what shipped: walks baked HTML and verifies head, links, and site hygiene against a contract, one check pack per SSG shape.
The controller layer for a family of repos: its compliance rules ARE check packs, so governance is a portable /packs surface.
Eyes for production agents: deterministic look / look-diff with a committed visual memory, its capture and canon lanes riding as check packs.
The agent OS: 24 attack packs that measure its own defenses (kernel, mcp, relay, brain, walls) against the surfaces it promises.
E2EE multi-device sync: one chain-relay dialect pack attacks its push/pull sync surface in-process, no sockets.
See all 9 hosts, including the dogfood pack that attacks the linter
The whole shared surface - tight by design. Full normative text on the spec page.
packs/public/<name>/ carries a frozen pack.json (schemaVersion 1, name matches directory, entry must exist) plus its entry module. A manifest declaring a file that doesn't ship is an instant, nameable refusal - never a deep import stack trace.
The manifest surface never forks; execution semantics are declared as profiles: scenario (crashtest, vant, gistory, prestruct: hostile scenarios against a transport, isolated) and check (poststruct, govstruct, eyestruct, monoforge: pure-reading verifiers over files on disk).
Packs are explicit - a pack runs only because the host's config enumerates it. Pack ids are namespaced by pack slug; every pack ships self-audit fixtures; extra manifest keys are minimum-spec and left alone.
v1 is what crashtest's production packs already shipped, verified pack-by-pack - nothing to migrate. The spec formalizes what the hosts do; it never re-designs them.
How a pack goes from directory to loaded, everywhere.
packs/public/, one pack.json, one entry module - any host, same three fields minimum.npx packstruct lint packs/ catches the manifest-points-at-nothing class before any host ever loads it.The contract already forked in practice - packstruct names the shared part so drift is declared, not accidental.
"How do I write a pack?" has one answer: read packstruct, pick your app's declared profile. No archaeology in nine repos.
Any struct-family tool that wants a /packs dir adopts the spec instead of inventing a tenth dialect. govstruct did exactly that.
The lint CLI is live on npm (packstruct@1.1.0); the conformance harness ships with it - bundled verdict-claiming packs verify a host loader honors the spec, so the implements: packstruct@1 pin is verifiable.
Every host count on this site comes from running the linter over that host's own tree - the showcase re-cuts against the fleet, never from memory.