Underlay is a reusable foundation for building full-stack apps with stable cross-project patterns.
It provides:
- Rust backend primitives and crates
- typed TypeScript client contracts
- retained Svelte workflow/page shells and Nightfire editor/runtime surfaces
- shared runtime and utility helpers
- auth, observability, storage, and migration foundations
- docs and guidance for integrating the library into real projects
rust/- Rust cratests/- TypeScript and Svelte exportscontracts/- shared contract artifactsdocs/- documentation authority
Underlay’s current TypeScript/Svelte package boundary is explicit:
@inflatable-cookie/underlay/patterns- retained workflow/page-shell UI
@inflatable-cookie/underlay/runtime/*- shared app/runtime helpers and controllers via explicit feature subpaths
@inflatable-cookie/underlay/utils/*- small standalone helpers via focused subpaths
@inflatable-cookie/underlay/client/*- transport and SvelteKit-facing client helpers via explicit feature subpaths
@inflatable-cookie/underlay/nightfire/*- structured content editor/runtime package via explicit subpaths
The flat root import surface @inflatable-cookie/underlay is retired. Import from
the explicit package subpaths above instead.
Use Poodle directly for foundational primitives and generic composites.
docs/vision/001-underlay-foundation-vision.mddocs/architecture/000-overview.mddocs/guides/000-overview.mddocs/roadmaps/README.mddocs/logs/README.md
Use Effigy as the default command surface from the Underlay repo root:
effigy tasks
effigy health
effigy test --planFirst-time bring-up from another directory:
effigy bootstrap git@github.com:inflatable-cookie/underlay.gitCommon local commands:
effigy qa:docs
effigy qa:northstar
effigy validate
effigy qa
effigy rust:build
effigy rust:check
effigy rust:test
effigy test:componentsFor shared UI discovery, use the ACME reference apps in underlay-reference
for retained Underlay workflow shells and helpers. Use Poodle's own
preview/docs for primitives and generic composites that no longer belong to
Underlay.
Package scripts remain convenience wrappers, but direct effigy ... is canonical when you are already in this repo.
Use effigy doctor when you want broader repo scans. Underlay currently carries structural scan backlog in that surface, so health is the better day-to-day baseline.
Some underlay-db tests spin up Postgres via testcontainers.
- Install runtime and CLI:
brew install colima dockercolima start- verify with
docker ps
- Run the integration suite:
effigy rust:test -- -p underlay-db --test postgres_integration -- --ignored
- Install tarpaulin:
cargo install cargo-tarpaulin - Run coverage check:
rust/scripts/check-coverage.sh