Files
makronix/docs/AGENTS.md
T
lotherkandClaude Sonnet 5.5 b83aaa425b docs: GOAL, AGENTS.md in every directory, build VM, offline build, references
Measurements named with their logs: the installs (BIOS, UEFI, encrypted, two CDs), the NetBSD self-build in the build VM (2 h 02 min, stopping only at checkflist for the missing userland), 9p and NFS against the local disk.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:53:21 +00:00

1.4 KiB

docs/ -- binding rules and saved reading

What is in it

  • BUILD-CONTRACT.md -- binding (German). The one way to build, the three sections every task card needs (measurable done, evidence, sources), the reviewer's duty to rerun, "docs before code", no status prose.
  • reference/ -- what upstream documentation says, saved with source and date (see its AGENTS.md).

Rules

  • BUILD-CONTRACT.md is a contract, not a log. Change it only when the user asks. Known stale parts, to be rewritten with the user:

    • section 6 defines "done" by the encrypted-root chain through boot-com.iso; the goal is now in GOAL.md (a sysinst that encrypts);
    • sections 1 and 6 name make release followed by the ISO; the measured order for a medium is make release ARCH=amd64, make iso (root AGENTS.md, "Building").
  • Status, handoffs and "state of the world" documents do not live here. They go stale within a day and then mislead; one such file (a handoff dated 2026-11-05) held three wrong claims and was deleted on 2026-11-06. What is durable goes into the AGENTS.md of the directory it concerns, with a log line as evidence.

  • BUILD-VM.md -- the kept build VM (made from the DVD with sources, tools/devvm.sh), how to stop it, what was measured about it.

  • OFFLINE-BUILD.md -- the source sets (make sourcesets, make isosrc), what msrc carries, where it lands, which distfiles, what is proven.