52 understandings name "rulebook" as written. A name, not an identity: Bevia never decides two names are one thing. - Versions are explicit: a rulebook, fingerprint or approval of another format is refused by name at every door (`src/version.ts`, SPEC.md § 11, § 16.10) and never reinterpreted. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - A `/3` approval at a `/1` rulebook and the reverse are rejected by `spec`. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - `normalizeRulebook` returns a `/3` rulebook as the same object, so the robotics path runs the code it always ran. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - A change that alters a decision, finding, fingerprint or signature for an existing valid rulebook is a spec major bump (SPEC.md § 11). — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - The `/1` codes are `spec, unverified, rule, rulebook, principal, participant, tool, scope, args, replayed, window_malformed, no_now, not_yet_valid, expired, insufficient, spent` (§ 16.6). — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rules plus `at_most`/`at_least` plan rules at `setBy: "plan"`. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - A request carrying an approval object under such a rulebook without now is BLOCK required_facts. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - signRulebook(rulebook, key) returns { keyId, fingerprint, signature }, an Ed25519 signature over the UTF-8 bytes of canonical(rulebook) — the whole rulebook, fingerprint and findings included. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - verifyRulebookSignature(rulebook, signature, publicKey) verifies with a public key the deployment pins outside the rulebook; a rulebook's own trustedKeys are for approvals and cannot vouch for the rulebook. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - An authority may be held by a person, a system or an AI agent; the rulebook does not know or care which. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - Changes to this document that alter any decision, finding, fingerprint or signature for an existing valid rulebook bump the spec major version and come with new conformance cases; clarifications do not. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - evaluate returns BLOCK rulebook_version with that message, the fingerprint being the refused rulebook's claimed string. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - Migration from /2 requires recompiling every rulebook from its input with a /3 compiler (fingerprints change; a rulebook's findings are unchanged). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - Otherwise the step's decision is evaluate(rulebook, …) with the participant, the step's action, areas[i], stepFacts, history, now_i, and consumedApprovals plus the nonces spent by earlier steps. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - backtest(rulebook, events, options?) returns a BacktestReport and compareBacktests(baseline, proposed) returns a BacktestComparison, per spec/backtest.schema.json and spec/backtest-report.schema.json. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - Each event's decision is evaluate(rulebook, request). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - matched is matches(rulebook, request), which is [] for an incomplete request. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - byRule covers every rule of rulebook.rules in rulebook order: matched += 1 when the rule ∈ matched and decided += 1 when the rule ∈ row.ruleIds; neverFired is the rules with matched == 0, in rulebook order. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - missingFacts: for each missing event, for each name in missingFacts(rulebook, request), the entry for that name gains count 1 and an example. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - A port that provides matches(rulebook, request) is judged on it: every witness it reports must match both rules, and on every reference witness its matches must return exactly the rule set the reference recorded (witnessMatches) — a matches that returns every rule, or the finding's own pair, fails (conformance/README.md). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - In /1 the approval request is rule, rulebook, principal, participant, tool, scope and argsDigest, and rejected approvals are prose and approvalsRejected: [{ id, nonce?, code, reason }]. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - The approval is bound only if its rulebookFingerprint equals the deciding rulebook's (a mission's compiled rulebook when one is active); otherwise the rejection code is rulebook. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - compileMission(rulebook, mission) MUST refuse a rulebook that already carries a mission or declares an authority plan. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - The compiled fingerprint covers rulebook and mission, every decision under the mission carries it, and an approval issued under the base rulebook does not bind under the mission (code: rulebook). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - evaluatePlan takes a /1 rulebook and a /1 plan { principal, participant, delegation?, steps: [{ tool, scope?, args?, facts?, note? }], initialFacts, history?, clock?, startTime?, stepDurationSeconds?, now?, consumedApprovals? }. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - govern takes a tool call ({ id?, function: { name, arguments } } or { name, args }), a session ({ rulebook, principal, participant, delegation? }), a harness (now(), resolveScope, facts, derive functions by fact, reserve for spend ledgers, approvals, the consumed-nonce set, the history store) and an executor. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - govern turns any throw before the executor into BLOCK (tool_call_malformed, args_wellformed, harness_failed, evaluation_failed, all setBy: "adapter", never in a rulebook) with the executor not called. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - govern refuses a /3 rulebook (rulebook_version). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - A rejected approval is a PAUSE, never a BLOCK, with `approvalsRejected: [{ id, nonce?, code, reason }]` (codes `spec, unverified, rule, rulebook, principal, participant, tool, scope, args, replayed, window_malformed, no_now, not_yet_valid, expired, insufficient, spent`) and never the approval, its signature or key material. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19 - The acceptance log is backtested under the current rulebook and a proposed cap of 750 instead of 500 (`npm run acceptance:backtest`): one call newly allowed, none newly blocked, and the approved refund that becomes a PAUSE because its approval binds to the base rulebook's fingerprint. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19 - spec/ holds JSON Schemas (draft 2020-12) for both formats: rulebook, request, decision, plan, plan evaluation, findings, approvals, backtest, and the adapter's tool-call input. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19 - Under the proposed rulebook with cap 750 the scenario's approved refund goes ALLOW to PAUSE because its approval is bound to the base rulebook's fingerprint, so a rulebook change means re-issuing approvals, and the backtest shows that cost before the change as the intended binding. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #152 Path B- the governance engine, general|NeuroverseOS/Neuroverseos-governance #152 Path B: the governance engine, general]] — 2026-10-18 - rulesOverlap(rulebook, idA, idB) and matchingRules(rulebook, request) are exported. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18 - The Cedar export in adapters/cedar/ is its own package and provides toCedar(rulebook) → { policies, schema, notExported, droppedByAuthority }. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18 - validateRulebook(rulebook) gives the problems, in plain words, for a rulebook received as JSON; this is what the spec calls rulebook validation. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18 - The engine commit is `20f1bf27bcfda07416f35afa4b9907499950acf6`, the rulebook / mission fingerprint is `294802c98cff7907…` / `83322ceaf151f62a…`, the attack set is 17 attacks with hash `cc129ac964140372…`, and the seed is `eval-live-2026-W42-1`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- eval-live-reports-2026-10-19-gemini-3.5-fl|NeuroverseOS/Neuroverseos-governance: eval/live/reports/2026-10-19-gemini-3.5-fl]] — 2026-10-19 - For a backtest expectation backtest(rulebook, events, options) must equal this report exactly (SPEC.md § 13). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - A witness is judged for validity, not equality: the runner calls matches(rulebook, witness), the matching relation of SPEC.md § 6 step 4 on its own, returning the IDs of every rule the request matches, and both of the finding's rules must be in it. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - matches is checked for soundness: for every witness in the expectation, matches(rulebook, thatWitness) must equal the reference's recorded witnessMatches as a set, so a matches that returns every rule or echoes the finding's pair fails. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - The conformance loop iterates each file in conformance/*.json alphabetically and each case in the file, reading rulebook or rulebookRef relative to conformance/. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a decision expectation the loop compares project(evaluate(rulebook, case.request)) with case.expect.decision. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a verifiedDecision expectation the loop compares project(verifyAndEvaluate(rulebook, case.request)) with case.expect.verifiedDecision. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a plan expectation the loop compares project(evaluatePlan(rulebook, case.plan)) with case.expect.plan. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a verifiedPlan expectation the loop compares project(verifyAndEvaluatePlan(rulebook, case.plan)) with case.expect.verifiedPlan. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a findings expectation the loop compares sort(project(check(rulebook))) with sort(case.expect.findings), asserts both ruleIds of each finding with a witness are in matches(rulebook, witness), and asserts set(matches(rulebook, witness)) equals set(witnessMatches) for each expected finding with a witness. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For an error expectation the loop asserts validate(rulebook) reports at least one problem. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a rulebookSignature expectation the loop asserts verifyRulebookSignature(rulebook, case.signature, case.publicKey) equals expect.rulebookSignature.ok. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a backtest expectation the loop asserts backtest(rulebook, case.events, case.options) equals expect.backtest. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a comparison expectation the loop asserts compareBacktests(backtest(rulebook, case.events, case.options), backtest(case.proposed, case.events, case.options)) equals expect.comparison. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For an enforcement expectation the loop builds a harness from case.harness, runs each case.before[].call through it (not judged), runs case.call through the adapter with a session on the rulebook, that harness and a spy executor, and asserts status, executed count, outcome, limits, reason IDs, error stage and rejection codes equal expect.enforcement. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19