Implement the 20-track POSIX + P2P roadmap: booter, protocol, coreutils, docs,
and seeder/kernel parity. Booter / ctx (1.44.0) - bareOsReadPearRuntimeSnapshotJson; hrpc stock routes documented (kernel.*, vfs.readText, bare_os.echo, bare_os.disk_os_hints). - Peer admission: BARE_OS_DHT_ADDRESS_CLASS_ALLOWLIST + meta.dhtAddressClass; shouldAttemptPeer(peerKey, meta). - Optional BARE_OS_VFS_WARM_CACHE_INVALIDATE_ON_APPEND on system drive cores. - maybeMergeBareFromDrive: path dedupe + early exit when manifest keys satisfied. - identity-account: zero UTF-8 passphrase buffer after PBKDF2 (string path). Shell / utilities - BARE_OS_SHELL_ERREXIT and set -e / set +e; tests in bare-os-booter/test.js. - expand: comma-separated POSIX-style tab stops; man page + coreutils tests. Tooling / docs - kernel-microbench vfs: warmReplicationPathClassify sketch. - holepunch-drift-repos suggestedCriticalRepos; sync-holepunch-clones report. - scripts/README: pretest maintainer runbook; handbook/12 P2P vs POSIX. - KERNEL_CONTRACT, environment appendix, PLACEHOLDER_BASELINE (multisig gate), compatibility matrix, posix artifacts, syscalls.example.json, seeder sync. Requires: npm run pretest && npm test (already green in session).
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"schemaVersion": 7,
|
||||
"ctxApiVersion": "1.42.0",
|
||||
"schemaVersion": 8,
|
||||
"ctxApiVersion": "1.44.0",
|
||||
"posixProfile": {
|
||||
"id": "bare-os-posix-like",
|
||||
"version": "1.0.8"
|
||||
"version": "1.0.9"
|
||||
},
|
||||
"ops": ["readFile", "writeFile", "socket"],
|
||||
"opsDetail": [
|
||||
@@ -28,34 +28,26 @@
|
||||
],
|
||||
"posixXsh": {
|
||||
"schema": 2,
|
||||
"note": "POSIX.1 XSH-style names; socket bridge may implement SOCK_DGRAM recv/recvfrom when BARE_OS_POSIX_SOCKET_FD_BRIDGE.",
|
||||
"namesCsv": "open,close,read,write,readv,writev,getsockopt,setsockopt,lseek,pipe,dup,dup2,fcntl,poll,select,umask,socket,bind,listen,accept,connect,send,recv,recvfrom,shutdown"
|
||||
"note": "POSIX.1 XSH-style names; socket bridge may implement SOCK_DGRAM sendmsg/recvmsg when BARE_OS_POSIX_SOCKET_FD_BRIDGE.",
|
||||
"namesCsv": "open,close,read,write,readv,writev,getsockopt,setsockopt,lseek,pipe,dup,dup2,fcntl,poll,select,umask,socket,bind,listen,accept,connect,send,recv,recvfrom,sendmsg,recvmsg,shutdown"
|
||||
},
|
||||
"socketMsgSurface": {
|
||||
"schema": 1,
|
||||
"sendmsg": { "defaultErrno": "ENOTSUP" },
|
||||
"recvmsg": { "defaultErrno": "ENOTSUP" }
|
||||
"schema": 2,
|
||||
"sendmsg": { "bridgePartial": true, "defaultErrno": "ENOTSUP" },
|
||||
"recvmsg": { "bridgePartial": true, "defaultErrno": "ENOTSUP" }
|
||||
},
|
||||
"errnoHints": {
|
||||
"ENOENT": 2,
|
||||
"EACCES": 13,
|
||||
"ENOSYS": 38
|
||||
"EAGAIN": 11
|
||||
},
|
||||
"fdModel": {
|
||||
"schema": 1,
|
||||
"note": "Integer FDs index logical VFS/IPC targets in the guest.",
|
||||
"stdio": [0, 1, 2],
|
||||
"register": "ctx.bareOsRegisterLogicalFd",
|
||||
"processTablePath": "/proc/bare_os/process_table.json",
|
||||
"processTableSchema": 7
|
||||
},
|
||||
"signalModel": {
|
||||
"schema": 1,
|
||||
"note": "ctx.bareOsSendSignal delivers to synthetic pids.",
|
||||
"names": ["HUP", "INT", "KILL", "TERM"]
|
||||
},
|
||||
"caps": {
|
||||
"note": "example"
|
||||
"names": ["INT", "TERM"]
|
||||
},
|
||||
"atMs": 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user