Files
bare-operating-system/packages/bare-os-seeder/kernel/lib/bare
Raven Scott 2919f606ce feat(kernel): wave 2 guest OS surface and operator parity
- Extend capability model (featureBits2) and align ADR, protocol, /proc, verify scripts
- Add seed RPC + /proc mirrors for replication queue, MBR failover hints, optional attestation
- Pear bridge: IPC request/response, mirror-drive / HDMS pairing hints, dev diagnostics
- Initd: IdleSec for socket units, units.d drop-ins, richer readiness (e.g. exec:)
- Cron: @reboot and JitterSec-style scheduling
- VFS: Linux-shaped /proc stubs (cgroups, tcp), bounded vfs.watch on safe pseudo paths
- Shell: gated parameter expansion v2; /bin/env -S and --env-file (staged script without ESM export)
- Schemas under docs/schemas; expand contract tests; kernel.ext.d → /proc extensions registry
- Refresh handbook, developer-guide, reference index, package READMEs; keep seeder kernel tree in sync
2026-04-04 02:04:59 -04:00
..
2026-04-04 01:20:57 -04:00
2026-04-03 23:21:30 -04:00
2026-04-04 01:20:57 -04:00
2026-04-03 21:39:36 -04:00

/lib/bare (system image)

Self-contained ctx.bare support on the system Hyperdrive:

  • bare-module-manifest.json — copy of the booter manifest (same keys and packages as host resolution).
  • manifest.json — drive loader index: bundles lists IIFE paths that assign into globalThis.__bare_os_stdlib__; bundleStats summarizes esbuild success vs stub-only placeholders.
  • bundles/*.js — one file per manifest row. Successful builds are full IIFE bundles; failures are no-op stubs (see file header). Regenerate with npm run build -w bare-os-bare-libs.

At boot the booter runs drive bundles first, then (unless BARE_OS_BARE_HOST_IMPORTS=0) fills any missing keys via host import().

Trusted image only: executing these bundles is equivalent to running seeded /bin utilities.