alpha.5: capsule trust (#139); CI uploads (#184); block reads refused (#187); POST.md steady (#199); Downloads and Documents (#191); the demo's transcripts (#192) #201

Merged
rajames merged 14 commits from StarForth-v4.0.0 into master 2026-11-24 13:46:10 +00:00
14 Commits
Author SHA1 Message Date
Claude ab2141383c logs: the protocol on 2783edbf: PASS
Build / Image RASPI (push) Successful in 3m29s
Build / Image PC (push) Successful in 3m29s
Build / Image MILKV (push) Successful in 4m23s
Build / v4 tests (32- and 64-bit cells) (push) Successful in 14m32s
Acceptance / Acceptance (pull_request) Successful in 37m47s
logs/20261124-114653/PROTOCOL.md: the four boots POST 992/992, dict_hash 0x7c5a2f0c02145e63 on the
three (407 words); test-32, the proofs, the images and the documents pass. 2783edbf is the branch
with master merged in (#198's and #200's merges, no change to any file), on top of #139, #184, #187,
#191, #192 and #199.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-24 12:34:17 +00:00
Claude 2783edbf89 Merge origin/master: #200's merge, no change to any file
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-24 11:46:44 +00:00
Claude 4c7503f352 Merge origin/StarForth-v4.0.0: #198's and #200's merges from master, no change to any file
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-24 09:28:59 +00:00
Claude 6ebe706351 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
2026-11-24 09:19:03 +00:00
Claude 552d76595d site(org): LithosAnanke's version from kernel/Makefile at build, not v2.1.0 by hand (#191)
The .org's at-a-glance figures said v2.1.0; the version is
4.0.0-alpha.5. build.py reads LITHOS_VERSION (Captain Bob: "From
kernel/Makefile at build"). The rebuilt page: only that changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 12:51:05 +00:00
Claude 3633e051a8 site: POST's count from POST_FLOOR at build, not 538 by hand (#191)
The .com's Downloads and Try It, and the .org's at-a-glance figures,
said 538 power-on checks; POST is 992. The designs say [POST], and both
builds fill it from v4/system/POST_FLOOR (Captain Bob: "From
POST_FLOOR at build"). Rebuilt pages: only the number changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 12:50:37 +00:00
Claude db0085d926 site: the nightly links as Nexus names the images; Nexus open to anonymous read of snapshots only (#191)
Nexus splits pc-stick.img.xz as classifier pc-stick.img, extension
xz: the Downloads design's placeholders and build.py's pattern follow.
All four links resolve to the latest snapshot. On Nexus (ruled
"Snapshots only"): the anonymous user's role is now
starshipos-anonymous-snapshots, read and browse on starshipos-snapshots
alone, and anonymous access is on; releases and builds stay closed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 12:49:01 +00:00
Claude 0234dc6baf site, docs: Downloads and Documents with every document and the nightly; never the patent (#191)
The documents stage builds the SSRN paper, experiments, proofs and the
four TeX experiment reports (from their sources), and refuses the
patent (scripts/check_no_patent.sh, by name or PDF title: test failed
first, 5 cases pass); a release and the Nexus publish check again.
texlive-science added to make init's documents (siunitx). The canvas's
Documents gains the seven, Downloads a nightly section from Nexus's
latest snapshot (build.py). Built in a scratch copy: every link and
sum filled, no patent. Left: Nexus's anonymous read, on the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 02:59:23 +00:00
Claude 78073f3112 mkpost: ENTROPY!.overwrite's v3 cell marked as varying too (#199)
v3's run printed 20 or 0 for it: its cell in POST.md is written
"varies run to run", as the other six. Its expectation stays pinned
at 20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 02:18:49 +00:00
Claude 9c7fa4f855 mkpost: POST's table and its documents the same run to run (#199)
The cells of v3's column whose value differs each run -- the three
addresses, and three values of the run's history -- are written
"varies run to run" (a varies mark on their rules). And a second
finding, in post_cases.c itself: ENTROPY!.overwrite took 20 or 0 from
v3's run, as its heartbeat cooled the word between the lines; pinned
to 20, its words' meaning (both ruled). Three runs write the same
POST.md, POST79.md and post_cases.c; post_cases.c is as committed, so
POST does not change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 02:18:35 +00:00
Claude 63e9966abc block layer: a read or a writeback that fails is refused, not taken as blank or dropped (#187)
A disk header that cannot be read refuses the attach (BLK_EIO, with a
message naming the disk by size); it was taken as blank and offered for
a format. A data read that fails is refused, not cached as zeros. An
eviction whose writeback fails keeps the slot and refuses the new one;
the changes were lost. test_host_blocks, a device whose reads can fail:
7 of 65 failed against the old code, 65 pass (63 at 32 bits). The
test's own errors (a detached device not reopened; two devices declared
out of the later checks' scope) corrected. ident_attach_fail on amd64:
the attach refused; its two failures left are #179's. The five write
results still thrown away are reported, not changed. Gates pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-21 00:37:33 +00:00
Claude 20918f9f09 ci: upload only what the run wrote, and a failed upload is a warning (#184)
scripts/nightly.sh run-logs gathers the logs and DoE CSVs newer than
the run's start, and the stages' output, into build/nightly/run-logs/;
acceptance, nightly and release upload that, not every log in the
tree, with continue-on-error (Captain Bob: "A warning only").
scripts/test_nightly_run_logs.sh: 5 of 8 failed first; its own error
(nightly.sh works from the repository root) corrected with
NIGHTLY_TREE; 8 pass. To see: CI's next acceptance uploads a handful.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 22:52:21 +00:00
Claude 9db364f7c7 capsule trust: a signed kernel refuses an unsigned capsule; the intermediate is the anchor (#139)
capsule_sig_refused(), the one decision at v4's boot and v3's three
births: INVALID always; MISSING and NO_ROOT_KEY on a signed build
(CAPSULE_SIGNED_BUILD, set exactly when the Makefiles sign). A
developer build warns and boots. test_capsule_sig, built both ways,
did not build without it; 4 checks each way now. nightly.sh
capsule-trust, a nightly step: signed, v4:centre.4th left unsigned
(test only), amd64 must refuse it -- CI's, as ruled, since only CI has
the key. No root check, as ruled; the step-4 trust model (blobs signed
by their authors, MANIFEST.md hashes, contributors' intermediates,
snakeoil) recorded as given. FABRIC-3 XLIX. Gates pass, POST 992/992.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 22:37:25 +00:00
Claude 5425d52cb1 plans: capsule trust (#139) -- ruled: the intermediate is the anchor, no root check; signed builds refuse an unsigned capsule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-20 20:40:31 +00:00