- HRPC: bare_os.search_local, route table/schema updates; ctx API 1.52.0 - VFS: optional path-capability enforcement; pathcap-verify coreutil - Replication/boot: warm-cache adaptive metrics, boot budget NDJSON v2 - Identity: savevault pre-snapshot host hint - POSIX: profile 1.0.16, socket connect timeout env, Wasm ctx API peek import - Security/ops: peer admission test, personal-drive path policy verifier in pretest - P2P UX: pkg-swarm-index; multisig rc.proposals/enabled gate + audit rows - Docs/scripts: README, handbook, env appendix, developer-guide, ctx helper sync - Examples: syscalls.example ctx version; seeder kernel rsync parity
46 lines
1.1 KiB
JavaScript
46 lines
1.1 KiB
JavaScript
#!/usr/bin/env node
|
|
/**
|
|
* CI: canonical personal-drive special paths must stay documented.
|
|
*/
|
|
import fs from 'node:fs'
|
|
import path from 'node:path'
|
|
import process from 'node:process'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..')
|
|
|
|
const paths = [
|
|
'/.bare/account',
|
|
'/.bare/vault/',
|
|
'/.bare-os/acct/',
|
|
'/.bare-os/migration/legacy-root-v1.json',
|
|
'vault-rotation-audit.ndjson'
|
|
]
|
|
|
|
const files = [
|
|
path.join(root, 'docs/architecture/POSIX_DECLARED_PROFILE.md'),
|
|
path.join(root, 'handbook/04-the-booter-runtime.md'),
|
|
path.join(root, 'handbook/05-identity-vault-and-hdms.md'),
|
|
path.join(root, 'docs/reference/environment-and-posix-appendix.md')
|
|
]
|
|
|
|
function main() {
|
|
const blob = files.map((f) => fs.readFileSync(f, 'utf8')).join('\n')
|
|
for (const p of paths) {
|
|
if (!blob.includes(p)) {
|
|
console.error(
|
|
'verify-personal-drive-path-policy: missing documentation for:',
|
|
p
|
|
)
|
|
process.exit(1)
|
|
}
|
|
}
|
|
console.log(
|
|
'verify-personal-drive-path-policy:',
|
|
paths.length,
|
|
'path tokens OK'
|
|
)
|
|
}
|
|
|
|
main()
|