Studio Zero
repo: ~/Projects/studio-zero · 15 commits · 0 in last 24h, 0 in last 7d ·
Skills used
- /deploy1
- /config1
- /auth1
- /fallback1
- /quoted1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
811266c · 2026-08-25 · creds-safe fetch guard: resolve relative fetch vs credential-free location (creds-in-URL trap)
Fleet inoculation — opening this basic-auth app with credentials in the URL
poisoned document.baseURI and made relative fetch('/api/…') throw. Guard resolves
non-absolute request URLs against location instead. Ref: creds-in-url-fetch-guard-fleet-pattern.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
bdd814b · 2026-07-26 · DTD-B: optional HTTP Basic-Auth gate behind default-OFF SZ_BASIC_AUTH
Stages the internal-only app for a future public launch. While SZ_BASIC_AUTH is
unset the app is byte-for-byte open (no auth) so the live :9761 service and the
/deploy /api/config smoke test are unaffected; set it to 1/on and every request
(incl. /api/* + health) requires Basic-Auth. Creds default admin/DW2024!
(SZ_BASIC_USER/SZ_BASIC_PASS override), constant-time compare, zero new deps.
Adds zero-dependency test/auth.spec.js (7 checks, green). v0.4.0.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
87f86c8 · 2026-07-26 · DTD-A: persistent honesty banner when a live call falls back to demo
server.js flags a failed-live→demo response fallback:true (distinct from
intentional demo mode). Front-end raises a persistent 'generation unavailable —
placeholder demo content' banner (real reason surfaced, fallback-demo badge,
survives step navigation) so canned demo is never mistaken for a real result.
Adds self-contained test/fallback.spec.js regression guard (7 checks, green).
Existing ui.spec.js still 18/18 green; demo mode correctly stays banner-free.
v0.3.0.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
File tree
14 files tracked. Click any to browse the source at HEAD.
rendered in 0ms