# Memeroot Delivery

This folder is the Memeroot component delivery. Open `index.html` in any browser to start.

## Two ways to use this delivery

**A. As a recipient** (you received an audit packet or a bundle): just open `index.html` — no install. The catalog browses every component; bundles in `tools/` (skill viewers, builders) open in any browser; signature verification runs locally via WebCrypto.

**B. As a Claude Code user** (you'll produce signed content yourself): run the setup script.

```bash
# After unzipping memeroot-delivery.zip
cd memeroot-delivery
./memeroot-claude-code-setup.sh ../memeroot-delivery.zip
```

The script:
- Extracts both production skill packs into `~/.claude/skills/`
- Installs `memeroot-cli` globally
- Creates `~/memeroot-work/` with tools, CLAUDE.md, and standard subdirectories
- Tells you what to do next

See `memeroot-claude-code-quickstart.html` for a visual walkthrough including the end-to-end workflow and troubleshooting.

## What's in this delivery

**Two production Claude Code skill packs**:
- `regulated-document-author` — SOX/FDA/IRB/audit content
- `memeroot-bridge` — Memeroot-shaped output (regions, workspaces, iframe-regions)

**The programmatic bridge tool**:
- `memeroot-cli` — validate/bundle/package for canvas ingestion. Verifies captured-hash matches embedded snapshot.

**Authoring tools**:
- `iframe-region-builder.html` — author iframe-regions with captured-hash snapshots
- Skill pack bundle viewers (signed file inspection)

**Foundation**:
- `MR-CANVAS-v0.8.html` — the substrate canvas
- 7 stream tour packages + interactive guides
- 2 visualizations

**Claude Code setup** (this delivery):
- `memeroot-claude-code-setup.sh` — one-shot installer
- `memeroot-claude-code-CLAUDE.md` — working directory CLAUDE.md template
- `memeroot-claude-code-quickstart.html` — visual quickstart guide

## Trust layers

1. Per-entry signatures in catalog (publisher-signed)
2. Catalog index signature (set of components — tamper-detectable)
3. Per-file signatures in skill packs + reviewer counter-signatures + manifest signature
4. Per-region signatures in user output (signed in the canvas at signing time)
5. Bundle signatures inherit all the above

All verifiable in any browser via WebCrypto.
