Skip to content

docs: persistent-demo walkthrough + SECURITY.md#5

Open
amiller wants to merge 2 commits into
mainfrom
docs/persistent-demo-walkthrough
Open

docs: persistent-demo walkthrough + SECURITY.md#5
amiller wants to merge 2 commits into
mainfrom
docs/persistent-demo-walkthrough

Conversation

@amiller

@amiller amiller commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Two doc-only commits cherry-picked from #3 so they land on main without waiting on the broader custom-plugin discussion.

  • docs/persistent-demo-walkthrough.md — case study of why yt-shorts-v3 stayed live for weeks while 41 sibling permits on the same enclave went stale within days. Covers the five decoupled ingredients (immutable capability code, year-long bearer, out-of-band cookie refresh via Chrome extension, static GitHub Pages UI, untouched dstack), the DB evidence for the cookie-refresh correlation, a clone-this-pattern recipe, and a sidecar-SSH debug checklist. Flags the unbuilt Web Store distribution path as an open question.
  • SECURITY.md — dstack LUKS2 disk-encryption model, HKDF key derivation tied to app_id + instance_id, what lives in each SQLite table, token lifecycle, and Stage 0 limitations. README points here.

Why this split

Both commits exist on feat/custom-plugins-invoke (#3), but that PR is carrying a larger conceptual change (the custom plugin type, /invoke endpoint, browser service) that wants teammate discussion before merging. These two docs are independent of that question and useful as a public reference right now — in particular, the walkthrough is the artifact I want to link from upcoming writing.

Test plan

  • Markdown renders on GitHub
  • File:line references in the walkthrough resolve against main's proxy/src/server.ts and related files (the code paths they reference — /cookies/upload, secret re-resolution in /invoke, etc. — are on feat/custom-plugins-invoke, not yet on main; links will resolve once Custom capability plugins + /invoke endpoint #3 merges, and in the meantime the doc is still self-contained)
  • Second pair of eyes on the "Open questions" section — captures real gaps, want to make sure the framing is fair

amiller and others added 2 commits April 22, 2026 17:49
Covers the dstack LUKS2 disk-encryption model, HKDF key derivation tied
to app_id + instance_id, what lives in each SQLite table, token
lifecycle, and Stage 0 limitations. README now points readers there and
corrects the env-template filename.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Case study of why one permit stayed live for weeks while 41 siblings
went stale. Covers the five decoupled ingredients (immutable capability
code, year-long bearer, out-of-band cookie refresh, static GitHub Pages
UI, untouched enclave), the DB evidence for the cookie-refresh
correlation, a clone-this-pattern recipe, and the sidecar SSH debug
checklist. Flags the unbuilt distribution path for the companion Chrome
extension as an open question.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant