A local Tangled Spindle service to run my desktop app builds with certs only found on this hardware
Files
README.md

Sleeping Beauty #

A native host Spindle for Tangled: the runner that sleeps until a pipeline touches the spindle, then wakes and runs steps on this machine (engine: host). macOS Keychain, Windows Azure signing, and real toolchains stay where they belong.

Start here: straiforos.tngl.sh/sleeping-beauty
Setup is a short mise-en-place walkthrough (DID, build, install, Verify). Architecture ADRs live there too.

./scripts/fetch-core.sh
go build -o bin/sleeping-beauty ./cmd/sleeping-beauty/
./bin/sleeping-beauty install

Layout #

sleeping-beauty/
├── cmd/sleeping-beauty/     CLI: run, install, uninstall
├── spindle/engines/host/    host engine (models.Engine)
├── internal/
│   ├── config/              BEAUTY_* env
│   ├── install/             service install + healthcheck
│   └── reachability/        Tailscale, ngrok, manual
├── docs/                    VitePress source
├── site/                    built docs (Tangled Sites)
├── configs/                 env template
└── install/                 shell fallbacks (macos / windows)

Contributing #

Glad you're here. Keep changes focused and project-agnostic: product release scripts belong in consuming repos, not this one.

Ideas and reachability providers: open an issue to suggest additions, or send a PR that implements a provider under internal/reachability/ (for example ngrok, Cloudflare Tunnel, or another way to expose the spindle for Tangled Verify). Match the existing Provider / Tunnel interfaces and register it in Default().

  1. Read the docs and setup guide so the install path stays coherent.
  2. Prefer small PRs: one concern (engine, install, reachability, docs).
  3. Code: go test ./... (at least the package you touched). Match existing layout: host engine under spindle/engines/host/, install/CLI under internal/ + cmd/.
  4. Docs: edit Markdown under docs/, then npm run docs:build and commit the updated site/ so Tangled stays in sync.
  5. New architectural decisions go in docs/architecture/ (use the template); update the architecture index and VitePress sidebar when you add a page.
  6. Open a PR on Tangled against main. Say why in the description; link an ADR when the change is structural.

Questions welcome in issues and PR discussion. No CLA drama, just clear diffs.