3 Commits
Author SHA1 Message Date
Claude feb740c5ca docs: FABRIC-3 XLVIII.18 -- a clean tree for alpha.5; README: alpha.4 is a release
Build / Image RASPI (push) Canceled after 0s
Build / Image PC (push) Canceled after 0s
Build / Image MILKV (push) Canceled after 0s
Build / v4 tests (32- and 64-bit cells) (push) Canceled after 0s
Acceptance / Acceptance (pull_request) Successful in 35m29s
XLVIII.18 records 2026-11-11: the LFS trim (Captain Bob: "they can be
trimmed out"), version.h untracked and BLOCK_MAP.md without its timestamp
(#145), my put-back error and its fix, the acceptance rulings (never in the
background; all logs and CSVs are evidence), the acceptance of 9415d7ed,
and alpha.4's Gitea release marked final.

README: alpha.4's release is no longer a pre-release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-11 19:09:46 +00:00
Claude d6846b3487 logs: acceptance of 9415d7ed -- all five stages pass, and the images stage
Run one stage at a time in the foreground through scripts/nightly.sh:
  20261111-185352  amd64       PASS
  20261111-185600  aarch64     PASS
  20261111-185950  riscv64     PASS
  20261111-190128  stick-high  PASS
PARITY:V4_POST tests=538 pass=538 fail=0, POST: PASSED, [zuse@Hera] ok>
on every boot; word_count=318 dict_hash=0x8c92508f748f99cf on all three;
test-32 39 programs, 0 failures.

scripts/nightly.sh images -- the stage the version.h put-back had broken --
built PC, RASPI and MILKV and left the tree as committed.
DoE CSVs for every boot (empty, as every v4 acceptance boot's: #141).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-11 19:08:57 +00:00
Claude 9415d7ede3 fix: put-backs no longer name the untracked version.h (#145)
90c5c140 untracked v3/include/version.h, but six places still put it back
with git checkout. Git refuses the whole checkout when one path is unknown:

- scripts/nightly.sh images (set -e): the stage ended there, so the nightly
  (images, publish, proofs) and release.yml (images, docs, gitea-release)
  would fail. Acceptance does not run images, so it passed.
- scripts/check_images.sh (no -e), demo/build-iso.sh, demo/mint-zuse.sh
  (|| true): silently put nothing back, BLOCK_MAP.md and the SBOM included.
- scripts/qemu_session.py: an error after every boot, otherwise harmless.
- boards/BRINGUP.md: the step said to put it back.

BLOCK_MAP.md stays in every put-back: a signed build (CI's) still rewrites
its Signed column. Found while setting up alpha.5; Captain Bob: fix it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-11 18:52:46 +00:00
16 changed files with 56 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ runs StarForth as its sole userspace runtime. No libc. No OS. Just stone and nec
**Try it in your browser:** [starshipos-f18.com](https://starshipos-f18.com/) — a StarshipOS
machine of your own, booted to `[zuse@Hera] ok>`, thrown away when you leave. **Releases:**
[v4.0.0-alpha.4](https://gitea.starshipos-f18.org/rajames/LithosAnanke/releases) (pre-release),
[v4.0.0-alpha.4](https://gitea.starshipos-f18.org/rajames/LithosAnanke/releases),
the kernel `4.0.0-alpha.4` with the StarForth engine `3.2.0`.
---
+2 -2
View File
@@ -144,8 +144,8 @@ make boot_image TARGET=MILKV EMERGENCY_CONSOLE_ENABLED=1
thumbdrive attached. After a clean build it does (tried on `MILKV`).
- [ ] The Pi 5 build fetches the board's DTB once from the pinned firmware release; with no
network, pass `RPI5_DTB=/path/to/bcm2712-rpi-5-b.dtb`.
- [ ] Put back `v3/include/version.h` and `capsules/BLOCK_MAP.md` afterwards: the build
rewrites both.
- [ ] Put back `capsules/BLOCK_MAP.md` afterwards if the build was signed: a signed build rewrites
its Signed column. (`v3/include/version.h` is untracked since 2026-11-11, #145.)
### 3.2 Rehearse each image as its own disk
+1 -1
View File
@@ -20,5 +20,5 @@ mformat -i "$tmp/efi.img" ::
mmd -i "$tmp/efi.img" ::/EFI ::/EFI/BOOT
mcopy -i "$tmp/efi.img" build/amd64/kernel/starkernel_loader.efi ::/EFI/BOOT/BOOTX64.EFI
xorriso -as mkisofs -r -J -e efi.img -no-emul-boot -o "$out" "$tmp" 2>/dev/null
git checkout -q -- capsules/BLOCK_MAP.md v3/include/version.h 2>/dev/null || true # the build regenerates these
git checkout -q -- capsules/BLOCK_MAP.md 2>/dev/null || true # a signed build rewrites it; version.h is untracked (#145)
echo "demo: $out"
+1 -1
View File
@@ -53,5 +53,5 @@ boot "Zuse: genesis minted onto attached thumbdrive" "fence marker write FAILED"
boot "Zuse: identity confirmed from attached thumbdrive" "not recognized"
make --no-print-directory -f kernel/Makefile ARCH=amd64 zusestick ZUSE_PAIR="$out"
cp build/amd64/kernel/zusestick.img "$out/zusestick.img"
git checkout -q -- capsules/BLOCK_MAP.md v3/include/version.h 2>/dev/null || true # the build regenerates these
git checkout -q -- capsules/BLOCK_MAP.md 2>/dev/null || true # a signed build rewrites it; version.h is untracked (#145)
echo "demo: Zuse minted -- $out/zusestick.img"
+34
View File
@@ -6513,3 +6513,37 @@ and memorize frequently so we can pick up where we left off").
`[zuse@Hera] ok>`; growth; the real Zuse on a second stick; the fixed screen. The alpha.4
Downloads page (#126) can offer the PC stick.
### 18. A clean tree for alpha.5: LFS, the build's own files, alpha.4 final (2026-11-11)
- **LFS, ruled** (Captain Bob): the objects of 3,944 LFS pointers were never on the server -- every one
from the initial commit, `a5ed8c3d` (2026-08-01): 3,827 phase-1 logs under
`docs/working/archive/legacy/phase-1`, 3 under `docs/working/archive/historical`, 106 DoE CSVs, three
`.log` files at or near the top. No copy exists anywhere: "they can be trimmed out". **Built:** the
3,939 removed (`aec7ddb5`); the 5 LaTeX build logs under `docs/patent` kept, under the legal hold; a
committed `.lfsconfig` excludes every one of these paths from fetch, so older commits check out and
`git lfs fetch --all` runs without 404s. Every LFS pointer left in the tree has its object on the
server; `git lfs fsck` OK. Earlier the same day `06f1d41a` had moved 146 logs committed as plain text
(the LFS filter had been off) into LFS.
- **The build's own files, ruled** (Captain Bob, #145): `v3/include/version.h` untracked -- every build
writes it, with a timestamp and the last build's ISA, and the committed copy said `2.1.0`; the
`.gitignore` entry for it named `include/version.h`, the path before the move to `v3/`, and matched
nothing. `capsules/BLOCK_MAP.md` keeps being tracked, without `mkcapsule`'s timestamp: it changes only
with the capsules (two runs byte-identical). **Built:** `90c5c140`. A **signed** build still rewrites
BLOCK_MAP.md's Signed column (the committed copy is an unsigned build's): open, to rule.
- **My error, found setting up alpha.5:** six places still put `version.h` back with `git checkout`,
and git refuses the whole checkout when one path is unknown. `scripts/nightly.sh images` (`set -e`)
would have ended there -- the nightly's images, publish and proofs, and `release.yml`'s images, docs
and Gitea release; acceptance does not run `images`, so it passed. `scripts/check_images.sh` and the
two demo scripts would silently have put nothing back. I had not searched for every use of the file
before untracking it. **Fixed** (Captain Bob: yes): `9415d7ed`.
- **Acceptance, ruled again** (Captain Bob): "You are NOT to run acceptance tests in background EVER!"
-- I had run stages detached; one run was stopped and is kept, labelled. And: "We track all logs and
all CSV's always as evidence" -- passing, failing and stopped runs alike.
- **Accepted** (`9415d7ed`, `d6846b34`): one stage at a time in the foreground, `scripts/nightly.sh`;
538/538 on the three and the stick loaded high, `word_count=318`, `dict_hash 0x8c92508f748f99cf`;
test-32 39 programs, 0 failures; `nightly.sh images` built PC, RASPI and MILKV and left the tree as
committed. No tracked file changed across the builds.
- **alpha.4 released as final** (Captain Bob, "the only one that doesn't break my rules"): its Gitea
release was a pre-release; now it is not. The tag stays on `93828e0e`, its 13 assets unchanged;
moving a tag was not an option (tags are sacred), and today's work ships as alpha.5.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -178,7 +178,7 @@ check "a good format reads back" "$MKARTEMIS" --format "$T/t.img" --first-lba 20
rm -f "$T/t.img"
# the builds regenerate these; put them back as committed (as qemu_session.py does)
git checkout -q -- v3/include/version.h capsules/BLOCK_MAP.md sbom.spdx sbom.spdx.json
git checkout -q -- capsules/BLOCK_MAP.md sbom.spdx sbom.spdx.json # version.h is untracked (#145)
echo "RESULT: $([ $ok = 1 ] && echo PASS || echo FAIL)"
[ $ok = 1 ]
+3 -2
View File
@@ -152,8 +152,9 @@ images)
cp "build/boards/$2" "$OUT/$3"
done
# boot_image regenerates these (the source SBOM, and what qemu_session.py also puts back);
# the nightly does not change the tree
git checkout -q -- sbom.spdx sbom.spdx.json capsules/BLOCK_MAP.md v3/include/version.h
# the nightly does not change the tree. v3/include/version.h is untracked since 90c5c140 (#145):
# naming it here made git refuse the whole checkout, and set -e end the stage.
git checkout -q -- sbom.spdx sbom.spdx.json capsules/BLOCK_MAP.md
(cd "$OUT" && rm -f pc-stick.img.xz raspi5.img.xz MilkV.img.xz &&
sha256sum StarshipOS.iso pc-stick.img raspi5.img MilkV.img > SHA256SUMS)
xz -T0 -6 "$OUT/pc-stick.img" "$OUT/raspi5.img" "$OUT/MilkV.img"
+1 -1
View File
@@ -1125,6 +1125,6 @@ else:
print(f"RESULT: {'PASS' if ok else 'FAIL'}", flush=True)
if not globals().get("boot_done"):
shutdown()
for f in ("v3/include/version.h", "capsules/BLOCK_MAP.md"):
for f in ("capsules/BLOCK_MAP.md",): # a signed build rewrites its Signed column; version.h is untracked (#145)
subprocess.run(["git", "checkout", "-q", "--", f], cwd=ROOT)
sys.exit(0 if ok else 2)