index

Getting Started

This repository is a pnpm workspace. The docs site lives beside the product app so protocol documentation can evolve with the packages it describes.

Install

pnpm install

Run the docs

pnpm --filter @lss/docs dev

The docs app is intended to deploy as its own Vercel project with project root apps/lss-docs and site URL https://lss.notdhruv.com.

Run the product demo

pnpm --filter @lss/web dev

The web app demonstrates creator, reader, ticket, and deck flows. The docs should explain those flows without importing runtime code from @lss/web.

Package responsibilities

PackageResponsibility
@lss/protocolPayload shape, canonical bytes, Ed25519 signatures, fragments, checksums, and reconstruction
@lss/embedderDeterministic visual region frame plans, ultrasonic tone plans, and PCM tone rendering
@lss/readerSimulated detector reads over protocol candidate fragments
@lss/resolverDemo action mapping for already-verified signed payloads
@lss/dbIssuer records and active public key lookup
@lss/loggerRedacted structured logging
@lss/uiEmpty shared UI package placeholder
@lss/webInteractive demo and product surfaces

Development habit

When adding docs, start with the builder question the page answers. Diagrams should be written as Mermaid directives so beautiful-mermaid renders them to SVG during the Astro build:

:::mermaid
flowchart LR
  payload --> signature --> carrier
:::