Files
bare-operating-system/packages/bare-os-coreutils/man/pages/bare-os-ctx-bare.json
T
Raven Scott f8a0dad897 feat: kernel roadmap wave — bits4, policy v4, Pear/Bare compatibility
- protocol/booter: bits4 handshake, proc surfaces, boot policy v4, telemetry v4
- coreutils: nohup + ensure-man-pages; seed-man-pages fixes for extra pages
- kernel-runner: no static node:module (Pear); bare-module createRequire
- docs: handbook, reference, ADR, compatibility matrix, verify scripts
2026-04-04 02:51:33 -04:00

30 lines
1.4 KiB
JSON

{
"name": "bare-os-ctx-bare",
"section": 7,
"title": "ctx.bare library and drive bundles",
"synopsis": [
"# reference — not a shell command"
],
"description": "Documents BARE_OS_BARE_MODULES and BARE_OS_BARE_DRIVE_BUNDLES for the booter ctx.bare registry. In-image scripts (AsyncFunction) use ctx.bare.<key> instead of import(). Keys come from host dynamic import of packages listed in packages/bare-os-booter/lib/bare-module-manifest.json, then optional merge from trusted IIFE bundles under /lib/bare/bundles/ on the system image (see manifest.json there). Set BARE_OS_BARE_MODULES=0 to omit ctx.bare entirely. Set BARE_OS_BARE_DRIVE_BUNDLES=0 to skip executing drive bundles (host imports only). Rebuild bundles with npm run build -w bare-os-bare-libs.",
"options": [],
"keywords": [
"BARE_OS_BARE_MODULES",
"BARE_OS_BARE_DRIVE_BUNDLES",
"ctx.bare",
"bare-module-manifest",
"bare-os-bare-libs"
],
"environment": [
"BARE_OS_BARE_MODULES — set to 0 or false to disable ctx.bare (hardened sessions).",
"BARE_OS_BARE_DRIVE_BUNDLES — set to 0 or false to skip loading /lib/bare/bundles/*.js into ctx.bare."
],
"seeAlso": [
{
"name": "bare-os-developer-guide",
"section": 7
}
],
"bareOsNotes": "See developer-guide/05-modules-and-imports.md and 12-bare-modules-and-pear-ecosystem.md.",
"examples": []
}