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
13 lines
772 B
Desktop File
13 lines
772 B
Desktop File
# starshipos-demo-transcripts.service -- the demo's transcripts (#192, ruled 2026-11-21: "Write-only drop box").
|
|
# Each session (console.py) writes its transcript, mode 0600, into /var/lib/starshipos-demo-transcripts:
|
|
# owned by Captain Bob, group starshipos-demo, mode 1730, so a session can add a file but not list or
|
|
# read the directory. This hands each file to the owner and deletes every one older than 7 days.
|
|
# Run by starshipos-demo-transcripts.timer. Set OWNER below to the owner's login (DEPLOY.md, step 4).
|
|
[Unit]
|
|
Description=StarshipOS demo transcripts: hand them to their owner, delete those over 7 days
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=OWNER=CHANGE-ME
|
|
ExecStart=/opt/starshipos-demo/demo/transcripts-tidy.sh /var/lib/starshipos-demo-transcripts ${OWNER}
|