feat(booter): POSIX/P2P kernel roadmap — sockets, disk.os, VFS, docs

- Bump bareOsCtxApiVersion to 1.46.0 and POSIX profile 1.0.10; sync
  syscalls example, process table, compatibility matrix, CHANGELOGs.
- Socket FD bridge: passive SOCK_DGRAM bind/connect/send path, poll
  readiness; bareOsPosixPoll monotonic timeouts via bare-hrtime.
- disk.os: replication_operator_sketch schema 2; cap-gated
  replication_operator_intent + audit; enrich protomux proc JSON.
- VFS: route /.bare/** to personal drive; optional
  BARE_OS_PERSONAL_VAULT_INDEX_CACHE_MS readdir TTL cache.
- Boot policy: p2pAdmission (peerAllowlistHex, hyperswarmBootstrap) in
  schema + kernel init merge into ctx.env when unset.
- Coreutils/booter getconf: expand _SC_* coverage; shell wait -n under
  BARE_OS_SHELL_POSIX_MODE; seeder multisig verify → security_posture.
- Tests: vfs /.bare routing; test.bare-smoke + test:bare; bench schema 2.
- Docs: syscall-socket-contract, handbook/env/kernel-extensions,
  holepunch drift pretest note, vault threat model multisig section.
- Drop hyperbee from bare-os-booter package.json dependencies (if that
  change is part of this commit).
This commit is contained in:
Raven Scott
2026-04-05 01:46:17 -04:00
parent 15209b4837
commit ebee9576c8
62 changed files with 1235 additions and 547 deletions
@@ -50,6 +50,15 @@ const CONF = {
_SC_PHYS_PAGES: '524288',
_SC_AVPHYS_PAGES: '262144',
_SC_ARG_MAX: '262144',
_SC_NPROCESSORS_CONF: '4',
_SC_HOST_NAME_MAX: '255',
_POSIX_HOST_NAME_MAX: '255',
_SC_SYMLOOP_MAX: '32',
_SC_IOV_MAX: '1024',
_SC_UIO_MAXIOV: '1024',
_SC_THREAD_DESTRUCTOR_ITERATIONS: '4',
_SC_TTY_NAME_MAX: '32',
_SC_LOGIN_NAME_MAX: '256',
_PC_PATH_MAX: '4096',
_PC_NAME_MAX: '255',
_PC_CHOWN_RESTRICTED: '1',