- Bump bareOsCtxApiVersion to 1.48.0; sync CHANGELOG, compatibility matrix, syscalls.example.json, ctx d.ts, generated ctx-client helper - POSIX: getconf _SC_NPROCESSORS_ONLN; shell set -o pipefail + BARE_OS_PIPESTATUS; posix_utilities schema v2 + JSON Schema; generated dashboard refresh - Host/subprocess: bare-subprocess then Node child_process spawn; optional backend on ctx.bareOsTrySpawnHostSubprocess; bin-worker WASM wall budget - VFS: BARE_OS_VFS_SYSTEM_IMAGE_WRITE for system image writes + warm-cache eviction path; guest /.bare/account EACCES test; environ TOKEN redaction test - Docs: corestore snapshot non-goal in package-bare-os-booter; PEAR-RUN links → docs/PEAR-RUN.md; POSIX pretest matrix in scripts/README + dev guide; environment appendix (PIPESTATUS, WASM_MS, system image write) - Seeder: keep kernel/ mirror in sync after bundle + coreutils builds Verified: npm test -w bare-os-booter, npm run pretest
69 lines
2.0 KiB
JSON
69 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://bare-os.dev/schemas/posix-utilities.schema.json",
|
|
"title": "Bare OS POSIX utility coverage index",
|
|
"type": "object",
|
|
"required": ["schema", "utilities"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"schema": {
|
|
"type": "integer",
|
|
"enum": [1, 2],
|
|
"description": "1 = hand-maintained hints only; 2 adds generated commandIndex / helpDelegated from coreutils build."
|
|
},
|
|
"profileId": {
|
|
"type": "string",
|
|
"description": "Declared POSIX profile id (e.g. bare-os-posix-like); schema 2+."
|
|
},
|
|
"generatedAt": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "ISO timestamp when commandIndex was merged; schema 2+."
|
|
},
|
|
"note": {
|
|
"type": "string"
|
|
},
|
|
"commandIndex": {
|
|
"type": "array",
|
|
"description": "Tier-1 /bin names from coreutils build; schema 2+.",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["name", "tier"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"name": { "type": "string", "minLength": 1 },
|
|
"tier": { "type": "string", "minLength": 1 }
|
|
}
|
|
}
|
|
},
|
|
"helpDelegated": {
|
|
"type": "array",
|
|
"description": "Utilities whose --help is delegated or host-backed; schema 2+.",
|
|
"items": { "type": "string", "minLength": 1 }
|
|
},
|
|
"utilities": {
|
|
"type": "object",
|
|
"minProperties": 1,
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"required": ["posixIssue7"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"posixIssue7": {
|
|
"type": "string",
|
|
"enum": ["full", "partial", "minimal", "stub", "none"]
|
|
},
|
|
"notes": {
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"description": "Optional path under packages/bare-os-coreutils/src/"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|