feat(kernel): Wave 9 mega-phase — bits9, protocol 0.5, boot policy v9, Pear/Bare bridge
- Add ninth capability word (bits9), STOCK_V9, FEATURE9_*; bump feature bits doc to 11 - Extend seed RPCs, channel wiring, replication/staging adjuncts; bare_os_proc_index schema 5 - Wave 9 /proc JSON via bare-os-wave9-proc.js + VFS aliases; ctx API 1.18.0 + d.ts hooks - Boot policy v9 + kernel/init.js enforcement; extensions registry schema 6; strict bits9 caps - NDJSON lifecycle 8, OTel 6, audit 6; SOCKS proxy map, worker/WASM/env passthrough - Coreutils openssl stub (bare-crypto doc); mediaproc:* worker group; http-fetch SOCKS lookup - CI: verify-kernel-roadmap-wave9.mjs, wave3/ctx/dts/compat updates; pretest chain - Docs: roadmap Wave 9 table, ADR §12, kernel-extensions/capabilities/matrix/protocol/handbook/ developer-guide (node-to-bare-modules, privacy), kernel README, scripts README, changelogs - Sync packages/bare-os-seeder/kernel (init.js, README); refresh booter /proc readdir test list
This commit is contained in:
@@ -76,6 +76,10 @@ function main() {
|
||||
console.error('index.js should wire seed/features bits8')
|
||||
process.exit(1)
|
||||
}
|
||||
if (!idx.includes('bits9')) {
|
||||
console.error('index.js should wire seed/features bits9')
|
||||
process.exit(1)
|
||||
}
|
||||
if (!idx.includes('BARE_OS_KERNEL_FEATURES_STOCK_V6')) {
|
||||
console.error('index.js should reference BARE_OS_KERNEL_FEATURES_STOCK_V6')
|
||||
process.exit(1)
|
||||
@@ -88,6 +92,10 @@ function main() {
|
||||
console.error('index.js should reference BARE_OS_KERNEL_FEATURES_STOCK_V8')
|
||||
process.exit(1)
|
||||
}
|
||||
if (!idx.includes('BARE_OS_KERNEL_FEATURES_STOCK_V9')) {
|
||||
console.error('index.js should reference BARE_OS_KERNEL_FEATURES_STOCK_V9')
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
const bitsSrc = read(bitsPath)
|
||||
if (!bitsSrc.includes('export const BARE_OS_KERNEL_FEATURES_STOCK_V1')) {
|
||||
@@ -138,6 +146,12 @@ function main() {
|
||||
)
|
||||
process.exit(1)
|
||||
}
|
||||
if (!bitsSrc.includes('export const BARE_OS_KERNEL_FEATURES_STOCK_V9')) {
|
||||
console.error(
|
||||
'kernel-feature-bits.js missing BARE_OS_KERNEL_FEATURES_STOCK_V9'
|
||||
)
|
||||
process.exit(1)
|
||||
}
|
||||
const docMatch = bitsSrc.match(
|
||||
/export const BARE_OS_KERNEL_FEATURE_BITS_DOC = (\d+)/
|
||||
)
|
||||
@@ -145,8 +159,8 @@ function main() {
|
||||
console.error('Could not parse BARE_OS_KERNEL_FEATURE_BITS_DOC')
|
||||
process.exit(1)
|
||||
}
|
||||
if (docMatch[1] !== '10') {
|
||||
console.error('Expected BARE_OS_KERNEL_FEATURE_BITS_DOC = 10 for wave 8')
|
||||
if (docMatch[1] !== '11') {
|
||||
console.error('Expected BARE_OS_KERNEL_FEATURE_BITS_DOC = 11 for wave 9')
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user