Files
makronix/docs/AGENTS.md
T
2026-11-09 07:15:25 +00:00

1.8 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.

  • UPDATING.md -- how a Makronix system is updated: packages, base, the gap for an encrypted system (the kernel on the boot partition). What is set up and what is not measured.

  • 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.

  • NEXT.md -- a dated work plan for the next session (written 2026-11-09 for a hand-over). It is an exception to the rule above because it carries a date and a delete-when-done rule: whoever finishes an item strikes it, and an empty file is removed.