Files
makronix/docs/reference/AGENTS.md
T
lotherk 5fe3281496 docs: README for the tree, drop harness-specific .claude config
README.md collects what Makronix is, the repository layout, the one build
entry point and its gate, the installer/desktop/media design, offline
sources, platforms, the documentation map and the contribution rules from
AGENTS.md, GOAL.md and docs/BUILD-CONTRACT.md. It describes the tree as it
is on main: ext/src/* are submodules, distfiles/ is in the repository, and
the version is 0.99.11 (src/sys/conf/makronix-release) with 0.99.10
"Camouflage" as the last named release.

Remove .claude/ from the repository and ignore it: AGENTS.md is the
harness-independent convention. Root AGENTS.md and tools/AGENTS.md now
describe tools/claude-build-gate.sh as a build gate rather than a Claude
hook; docs/reference/AGENTS.md notes the removal of the archived directory.

build/ becomes build/* in .gitignore: git cannot re-include a file from an
excluded directory, so "build/ + !build/AGENTS.md" never worked and the
one tracked file the comment promises was never addable.

Verification: every relative link checked with git cat-file -e against main
(16 links, 0 dead, after build/AGENTS.md became addable); measured in a
throwaway repo that build/* adds build/AGENTS.md and still ignores
build/sub/x.o; make targets read from the root Makefile and
docs/BUILD-CONTRACT.md; 0.99.11 from src/sys/conf/makronix-release.
2026-11-22 14:12:28 +00:00

2.6 KiB

docs/reference/ -- documentation read before changing something

What it is for

The rule of the root AGENTS.md: read the documentation first, save what you read here with source and date, quote the sentence that settled the question. One topic per file, <topic>.txt.

What is in it

Records by area; each file's first lines name source and date.

  • Install media and encrypted root: boot-cfg-timeout, install-image-boot, installcd-console-and-cgd-boot, cgdroot-guide, cgdroot-tree, cgdroot-design, sysinst-survey, make-release-build.md, syspkgs.
  • Updating: pkgdb-registration (making the set's packages visible to pkg_info and pkg_add -u, t0056), sysupgrade (the base system, t0055), update-verification (what is checked before an update runs as root: nothing for the sets, no signatures on the NetBSD packages, t0078).
  • MCDE and its system services: cde-colours, cde-colorsets, frontpanel, motif-png, desktop-entry, shortcuts, photoshop-ui.csv, battery, borg, disks, dns-sd, netconfig, npf-default.conf, permissions, sharing, wifi, login-screen (what dtlogin and its greeter can do, t0098), dtmail (what dtmail and libDtMail can do: download not IMAP client, no TLS, t0127), calendar-libs (iCalendar/CalDAV libraries in pkgsrc and their cost, t0148), file-dialog (the stock open/save dialog and who uses it, t0189), clipboard-password-hint (the hint password managers put on the clipboard, and what dtlaunch does with it, t0080), netbsd-extattr (extended attributes on FFS are off until extattrctl starts them: the file comments of McdeSys are dormant on a default NetBSD, t0200).
  • Phone: qbootctl.
  • Removed text kept whole: agents-history-2026-11-13.txt (root AGENTS.md), tools-agents-history-2026-11-13.txt (the AGENTS.md files of tools/, .claude/, www/, ext/, docs/, refs/ before they were shortened). .claude/ itself was removed from the repository on 2026-11-22; AGENTS.md is the harness-independent convention. The history files keep their original wording.

What may be changed

Add a file for every area before you change it; do not paraphrase from memory. Correct a file by a dated note, not by silent rewriting.

What must not be touched

  • Quoted upstream sentences are not edited.
  • These are records of what was read, not of what is true now. A conclusion that went into a change since dropped (the cgdroot work) is history. The cgdroot guide says sysinst does not support an encrypted root: that is the wiki on its date, to be checked against src/usr.sbin/sysinst.