Files
bare-operating-system/docs/schemas/boot-budget-summary.schema.json
T
Raven Scott 64a1270d18 - disk.os: replication_operator_sketch schema 7 + corestoreSnapshotUxHint; wire corestore into bridge
- HRPC: bare_os.pkg_index_get, route table schema 3; pkg-swarm-index list/get; pathcap-verify --trusted
- POSIX: profile 1.0.17, ctx API 1.53.0, syscalls.json schema 11 + susv4Refs; JSON schemas + matrix/dashboard
- Feature bits: BARE_OS_KERNEL_FEATURE_BITS_DOC 16; contract + verify scripts; ctx.d.ts + gen helper sync
- Ops: BARE_OS_HOLEPUNCH_DRIFT_TIER1 + tier1Repos; mktemp avoids false XXX marker; /proc boot_budget_summary test list
- Docs: contract spine, env appendix, handbook, compatibility matrix, boot budget schema, vault threat model notes

Covers bare-os P2P roadmap items 1–20 where implemented in-tree; kernel/lib/bare/README left minimal per maintainer edit.
2026-04-05 15:52:59 -04:00

35 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://bare-os.local/schemas/boot-budget-summary.schema.json",
"title": "Bare OS boot budget summary (/run/bare-os/boot-budget-summary.json, /proc/bare_os/boot_budget_summary.json)",
"type": "object",
"required": ["schema", "atMs"],
"properties": {
"schema": { "type": "integer", "const": 1 },
"atMs": { "type": "integer" },
"coldWallMs": { "type": "integer" },
"coldExceeded": { "type": "boolean" },
"bareStdlibExceeded": { "type": "boolean" },
"violationCodes": {
"type": "array",
"items": { "type": "string" },
"description": "Stable codes e.g. BARE_OS_BOOT_BUDGET_COLD_EXCEEDED"
},
"violations": {
"type": "array",
"items": {
"type": "object",
"required": ["kind", "code", "wallMs", "limitMs"],
"properties": {
"kind": { "type": "string" },
"code": { "type": "string" },
"wallMs": { "type": "integer" },
"limitMs": { "type": "integer" }
}
}
},
"procHint": { "type": "string" },
"note": { "type": "string" }
}
}