demo: each session's transcript, kept 7 days in a write-only drop box (#192)

Ruled 2026-11-21, "Write-only drop box": console.py writes each session's transcript, mode 0600,
into /var/lib/starshipos-demo-transcripts (the owner's, group starshipos-demo, mode 1730: a session
adds a file but cannot list or read the directory). transcripts-tidy.sh, run as root every 5 minutes
by starshipos-demo-transcripts.timer, hands each file to the owner and deletes those over 7 days.
starshipos-demo.service gets the directory writable and DEMO_TRANSCRIPTS; DEPLOY.md step 4 has the
server steps and the check.

"Nothing you do is kept" was no longer true. Ruled 2026-11-24, "Machine not kept; log 7 days": the
session's banner, the Try it page and the old wiki page say nothing is kept on the machine and a
transcript is kept for up to 7 days, then deleted, and the page says so before the console.

demo/test_transcripts.py failed first (logs/20261121-demo-transcripts/before.txt) and passes its
10 checks (after.txt).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
Claude
2026-11-24 09:19:03 +00:00
parent 552d76595d
commit 6ebe706351
14 changed files with 199 additions and 5 deletions
+2 -1
View File
@@ -42,10 +42,11 @@ html, body, #xwikimaincontainer, #xwikimaincontainerinner, #contentcontainer, #c
<section style="max-width: 1120px; margin: 0 auto; padding: 80px 24px 32px">
<p style="margin: 0 0 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #4FD1B0 !important">ok&gt; try it</p>
<h1 style="margin: 0 0 16px; font-family: 'Exo 2', sans-serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.1">A StarshipOS machine of your own.</h1>
<p style="margin: 0; max-width: 680px; font-size: 18px; color: #C8D1DE !important">Not a recording, not a simulation of StarshipOS: the console below is a real machine, started just for you and already at its prompt. You are Zuse, the superuser — of a machine that exists only for your session. There is nothing to break, and nothing you do is kept.</p>
<p style="margin: 0; max-width: 680px; font-size: 18px; color: #C8D1DE !important">Not a recording, not a simulation of StarshipOS: the console below is a real machine, started just for you and already at its prompt. You are Zuse, the superuser — of a machine that exists only for your session. There is nothing to break, and nothing you do is kept on it. A transcript of your session may be kept for up to 7 days, then deleted.</p>
</section>
<section aria-label="The console" style="max-width: 1120px; margin: 0 auto; padding: 24px 24px 48px">
<p style="margin: 0 0 12px; font-size: 13px; color: #A3AEC2 !important">A transcript of your session — what you type and what the machine answers — is kept for up to 7 days, then deleted.</p>
<div style="background: #050A14 !important; border: 1px solid #34486A !important; border-radius: 8px; overflow: hidden">
<div style="display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #22324D !important; background: #0E182B !important; font-size: 13px; color: #A3AEC2 !important">
<span style="display: flex; align-items: center; gap: 10px"><span aria-hidden="true" style="display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #4FD1B0 !important"></span>StarshipOS &#183; amd64 &#183; your session</span>
+4 -2
View File
@@ -34,17 +34,19 @@ a{color:#F5891F}a:hover{color:#FFB061}
<section style="max-width: 1120px; margin: 0 auto; padding: 80px 24px 32px">
<p style="margin: 0 0 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #4FD1B0">ok&gt; try it</p>
<h1 style="margin: 0 0 16px; font-family: 'Exo 2', sans-serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.1">A StarshipOS machine of your own.</h1>
<p style="margin: 0; max-width: 680px; font-size: 18px; color: #C8D1DE">Not a recording, not a simulation of StarshipOS: the console below is a real machine, started just for you and already at its prompt. You are Zuse, the superuser — of a machine that exists only for your session. There is nothing to break, and nothing you do is kept.</p>
<p style="margin: 0; max-width: 680px; font-size: 18px; color: #C8D1DE">Not a recording, not a simulation of StarshipOS: the console below is a real machine, started just for you and already at its prompt. You are Zuse, the superuser — of a machine that exists only for your session. There is nothing to break, and nothing you do is kept on it. A transcript of your session may be kept for up to 7 days, then deleted.</p>
</section>
<section aria-label="The console" style="max-width: 1120px; margin: 0 auto; padding: 24px 24px 48px">
<p style="margin: 0 0 12px; font-size: 13px; color: #A3AEC2">A transcript of your session — what you type and what the machine answers — is kept for up to 7 days, then deleted.</p>
<div style="background: #050A14; border: 1px solid #34486A; border-radius: 8px; overflow: hidden">
<div style="display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #22324D; background: #0E182B; font-size: 13px; color: #A3AEC2">
<span style="display: flex; align-items: center; gap: 10px"><span aria-hidden="true" style="display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #4FD1B0"></span>StarshipOS · amd64 · your session</span>
<span>try.starshipos-f18.com</span>
</div>
<div style="padding: 24px; min-height: 360px; font-size: 15px; line-height: 1.7; color: #EEF2F7; overflow-x: auto">
<div style="color: #A3AEC2">StarshipOS -- starting a throwaway machine, yours for up to 30 minutes. Nothing you do is kept.</div>
<div style="color: #A3AEC2">StarshipOS -- starting a throwaway machine, yours for up to 30 minutes. Nothing you do is kept on it.</div>
<div style="color: #A3AEC2">A transcript of this session is kept for up to 7 days, then deleted.</div>
<div style="color: #A3AEC2">Try: 3 4 + . : SQUARE DUP * ; 7 SQUARE .</div>
<div style="color: #A3AEC2; margin-bottom: 12px">Ready -- type a line and press Enter.</div>
<div><span style="color: #FFA500">[zuse@Hera]</span> <span style="color: #55FFFF">ok&gt;</span> 3 4 + .</div>