Files
bare-operating-system/packages/bare-os-seeder/kernel/lib/bare
Raven Scott de176addd9 feat(bare-os): kernel wave 3 — bits3, seed RPCs, policy, proc, CI schemas
Add third capability word (STOCK_V3) and word2 tail bits; seed RPCs
snapshot_hints and peer_firewall_stats; /proc mirrors (snapshot_hints,
pear_trust, rlimits, hdms_health, initd_graph) and /proc/net/udp; boot
policy v3 (requireFeatureBits2/3, Pear IPC allowlist, VFS deny prefixes,
initd restart cap); VFS enforcement for boot-policy path denies; delegate
in-flight caps; gated shell local/declare; initd path conditions, ordered
suspend/resume, OnInactiveSec timers; vfs.watch swarm/replication;
validate-example-schemas.mjs + ajv in pretest; extend verify-ctx for V3;
bump ctx API to 1.12.0; ADR 001, protocol, handbook, dev-guide, and
reference docs; seeder/kernel parity and booter tests.

Chore: Prettier table alignment in CHANGELOG and READMEs; compact
bareOsRequestPearReload signature in bare-os-ctx.d.ts.
2026-04-04 02:34:21 -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.