659 B
659 B
Kernel doctor and kernel-explain conventions
Stock /bin/kernel-doctor, /bin/kernel-explain, and related tools should emit structured, stable objects for operators:
- Prefer JSON with a top-level
schemainteger andkindstring (boot,vfs,policy,extension, …). - Human-oriented
messageplus machinecode(stable identifier,SCREAMING_SNAKEor dotted namespace). - Never include secrets (keys, tokens, raw vault bytes); redact paths under personal drive if policy requires.
When adding a new diagnostic surface, update handbook, users-manual troubleshooting, and docs/reference proc maps.