Docs updates

This commit is contained in:
Raven Scott
2026-04-04 21:41:32 -04:00
parent 346bb71ffe
commit 57ba71899b
23 changed files with 509 additions and 477 deletions
+2 -1
View File
@@ -2,7 +2,8 @@
Bare OS mirrors structured **boot** and **kernel** events to optional sinks:
- **Boot trace** — `BARE_OS_BOOT_TRACE` (`json` / `ndjson`) from the stock kernel (`kernel/init.js`), including canonical **`stage`** plus legacy **`phase`** fields on each line.
- **Boot trace** — `BARE_OS_BOOT_TRACE` (`json` / `ndjson`) from the stock bundled kernel ([`kernel/lib/init/init-main.js`](../../kernel/lib/init/init-main.js) → `/boot/init.js`), including canonical **`stage`** plus legacy **`phase`** fields on each line.
- **Kernel extension reload audit** — When `BARE_OS_KERNEL_EXT_D_HOT_RELOAD` is enabled and `ctx.bareOsReloadKernelExtDropinsSafe()` runs, append-only lines (**`kernelExtReloadSchemaVersion`**) may be written to **`/run/bare-os/kernel-ext-reload.ndjson`** (guest VFS), alongside existing **`loader-audit.ndjson`** when `BARE_OS_LOADER_AUDIT` is on.
- **Telemetry NDJSON** — `BARE_OS_TELEMETRY_NDJSON` (guest path); schema **`telemetry-ndjson-record.schema.json`** (`telemetrySchemaVersion` / `lifecycleSchemaVersion`).
- **OTel-style JSONL** — `BARE_OS_TELEMETRY_OTEL_JSONL`; schema **`otel-bare-os-jsonl.schema.json`**.
- **Audit stream** — host/session policy; see kernel extensions reference for env keys.