aboutsummaryrefslogtreecommitdiff
path: root/modules/system-lib.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 16:13:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 16:13:01 -0500
commit4959e879a434df37f3cb7ab18b2410300ddc5745 (patch)
tree6e2f888cad1aa243fa256640feb99f7f4a78494f /modules/system-lib.el
parent6a2f70be456adab6852260576bff323cd6b32d13 (diff)
downloaddotemacs-4959e879a434df37f3cb7ab18b2410300ddc5745.tar.gz
dotemacs-4959e879a434df37f3cb7ab18b2410300ddc5745.zip
docs(load-graph): seed module inventory and annotate foundation headers
I started the init.el load-graph classification with the foundation batch. I added docs/design/module-inventory.org as the living per-module inventory and annotated the seven foundation modules (system-lib, user-constants, host-environment, system-defaults, keyboard-compat, keybindings, config-utilities) with the load-graph header contract: layer, category, load shape, eager reason, top-level side effects, runtime requires, and direct-test-load safety. I changed no load order, so init.el keeps its current eager order. The inventory records one hidden dependency for Phase 2: system-defaults uses host-environment and user-constants symbols at load while declaring them eval-when-compile, so the compiled module cannot load standalone.
Diffstat (limited to 'modules/system-lib.el')
-rw-r--r--modules/system-lib.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system-lib.el b/modules/system-lib.el
index 801759586..333c15ee2 100644
--- a/modules/system-lib.el
+++ b/modules/system-lib.el
@@ -1,6 +1,16 @@
;;; system-lib.el --- System utility library functions -*- lexical-binding: t; -*-
;;
;;; Commentary:
+;;
+;; Layer: 1 (Foundation).
+;; Category: F/L.
+;; Load shape: eager.
+;; Eager reason: low-level helpers (executable lookup, process output, silent
+;; logging) used by many eager modules during startup.
+;; Top-level side effects: none.
+;; Runtime requires: none (auth-source loaded on demand inside the helper).
+;; Direct test load: yes (pure helpers; batch-safe).
+;;
;; This module provides low-level system utility functions for checking
;; the availability of external programs and system capabilities.
;;