git clone https://github.com/shobman/strata.git
cd strata
pnpm install
pnpm build
pnpm testpnpm designer:devOpens the Strata Architect visual designer at http://localhost:5173/strata/.
packages/
strata-ui/ # Runtime components (SlotProvider, SlotTarget, FillSlot)
strata-cli/ # CLI toolchain and contract engine
strata-lint/ # ESLint plugin
apps/
designer/ # Strata Architect (Vite + React)
tests/
integration/ # Integration tests with realistic fixture project
docs/
STRATA-DESIGN.md # Protocol specification
STRATA-SKILL.md # AI agent skill file
strata-architect.jsx # Designer source of truth
Two files are maintained as copies. When updating them, update the source of truth and copy to the destination:
| Source | Destination |
|---|---|
docs/STRATA-SKILL.md |
packages/strata-cli/src/templates/skill-content.ts |
docs/strata-architect.jsx |
apps/designer/src/StrataDesigner.jsx |
pnpm build # build all packages
pnpm test # run all testsIndividual packages:
pnpm --filter @shobman/strata-ui build
pnpm --filter @shobman/strata-cli testRead docs/STRATA-DESIGN.md for the full protocol specification — it covers the slot/fill model, contract format, validation chain, and architectural levels.