Files
bare-operating-system/packages/bare-os-seeder/kernel/lib/bare
Raven Scott 268b46dd3a Add fifth feature word (STOCK_V5 / bits5) with ADR and capability docs.
Protocol: canonical seed RPC registry (seed-rpc-methods.js), bits5 on
capabilities, typed seed RPC errors, richer replication_queue and
staging_slot hints.

Booter: /proc host_os (bare-module on Bare, node:os on Node), sync_window,
debug.json, net_summary transport stats, HDMS hints/correlation, warm
profile reload, subprocess bridge snapshot helpers, boot policy v5 hooks,
BARE_OS_BIN_WORKER_ALLOW pattern groups, VFS symlink/union alignment, OTel
JSONL schema version 2 in var-log.

Seeder: pass staging/replication hints into seed channel; mirror kernel
init and boot policy example.

Kernel: enforce requireFeatureBits5 / requireInitJsSha256 when configured;
selftests for new proc surfaces.

CI/pretest: verify-doc-links, verify-man-coverage, verify-compat-matrix;
extend roadmap/ctx/dts verifiers. Add otel-bare-os-jsonl schema.

Docs: Wave 5 roadmap, kernel-extensions, handbook/devguide updates;
bare-module manifest tier/risk sample; bare-libs README.
2026-04-04 04:33:25 -04:00
..
2026-04-04 01:20:57 -04:00
2026-04-03 23:21:30 -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.