This file is the README for a language-neutral JSON conformance suite that any implementation of SPEC.md must pass, covering two formats: neuroverse-governance/1 (the d1–d7 files, rulebooks desk, desk-signed, desk-mission, per SPEC.md § 16) and the robotics dialect robot-domain-rules/3 (the p1–p9 files plus plans, history, backtest, fingerprint, approvals, versions, integrity, with rulebooks tiny, shared, grocery, signed). It states there are 376 cases, 291 marked client: true; an implementation of one format passes that format's files, and the reference passes both with one evaluator. Cases are grouped by the principle they prove (PRINCIPLES.md) and each has a one-line description; compiled rulebooks are inline or in rulebooks/ via rulebookRef; cases were generated from the TypeScript reference by generate.ts with intent stated by hand, and the JSON files are the authority. A table maps each file to what it proves: d1 tools, scopes and arguments bound to facts (declared, undeclared, missing, wrong-type, non-object arguments; unknown tool and scope; tool outside its scopes; missing derived fact; the /1 builtin list, the derived scope_role_limits: rule, /1 findings with witnesses in tool words; another /1 version refused by name); d2 delegation stays bounded (a tool is permitted only if the acting role and every role in the harness-assembled chain list it, delegation_exceeds_authority names the first link that does not; chain shape refusals; a mission binds delegates); d3 approvals bound to arguments with TEST ONLY keys (a /1 signed approval clears the wait it names for this principal, participant, tool, scope and argument digest; every mismatch — args, expiry, not-yet-valid, replay, rule, principal, participant, tool, scope, rulebook, authority, unverified handle, a /3 approval at a /1 door and the reverse — is a PAUSE with approvalsRejected codes, never a BLOCK; a decision carries no signature; repeated refusals judged by a history rule); d4 projected spend as a harness fact (at the cap, one over, missing, two reservations as the harness projects them) and a /1 limit rule; d5 missions compiled onto the rulebook (unpermitted tools and scopes denied, approval waits added, plan order as a history rule and the history it needs, a mission cannot loosen a never rule or a cap, the mission fingerprint, /1 whole-plan evaluation with at_least and at_most, each step in its own scope); d6 the tool-call adapter (executor never called on BLOCK or PAUSE, once on ALLOW, with limits on LIMIT; malformed arguments, harness faults and a /3 rulebook are BLOCK with nothing run; settlement at the execution boundary as sequences through one harness (before): an executor throw is an uncertain outcome whose spend counts and whose nonce stays consumed, a refusal before execution gives back its reservation and claims no nonce, SPEC.md § 16.9); d7 a recorded log of /1 requests (the adapter's Governed.request plus an outcome) replayed through the desk rulebooks (totals and rows in tool/scope words, counts by scope, history built from earlier events (the mission's order rule), missing facts and args, gaps by tool, differences between rule and record, conflicts that occurred, and a current-versus-proposed comparison cap 500 → 750); p1 rules carry source and setBy and the engine invents nothing; p2 declared order, lower only tightens, approvals must hold what the rule names; p3 the structured outcome decides, never prose or anything outside the request; p4 every refusal for unknown or missing things, by builtin ID; p5 reasons, trace order, limits, then, fingerprint; p6 approval waits vs condition waits and approvalRequests; p7 every finding kind (including unmatched_selector on one rule), certainty, reachability (roles, unconditional never rules, always-true conditions) and provable disjointness; p8 robots, people and agents through one path, selectors, area role limits; p9 facts are trusted, time is a fact, a limit is a ceiling; plans.json whole plans (effects projected step by step, the first BLOCK, plan rules, approvals collected, the clock starting at the wall-clock time now names in its own offset, malformed plans, effect and plan-rule validation); history.json history conditions (counts in a window of a clock fact, same-area, missing history is a refusal, validation); backtest.json a recorded log replayed through a rulebook (totals, history built from earlier events, missing facts named, gaps, stalls, conflicts that occurred, rule-versus-record differences, and a current-versus-proposed comparison); fingerprint.json RFC 8785 canonical JSON and the SHA-256 fingerprint byte for byte with number edges a port must reproduce, plus SHA-256 vectors; approvals.json Ed25519 test vectors (TEST ONLY keys), verification, the /3 binding (rule, rulebook, participant, action, area, nonce, window), replay, the verified handle (an unsigned object marked verified clears nothing; the pure evaluator never clears a trusted-keys wait), approval lists (one approval per wait), step-by-step consumption in a plan, sub-millisecond truncation, facts-change and current-BLOCK cases, /2 refusal with and without keys, rulebook signatures; versions.json a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator and the trusted entry (rulebook_version); integrity.json validation re-derives the area role-limit never rules and the findings, so a rulebook with either stripped or altered is invalid even with a recomputed fingerprint, while reworded findings are fine. The file shows a case shape (id, principle, description, rulebookRef or inline rulebook, request with participant, action, areaId, facts, and expect) and states a case marked client: true is one a client must pass (SPEC.md § 14), selected by loadCases(fs, path, dir, { client: true }) and run-node.mjs --client. It lists the expectation kinds and what an implementation must do for each: decision (evaluate(rulebook, request), the pure evaluator which verifies nothing); verifiedDecision (verifyAndEvaluate, verifying every signed approval in facts.approvedBy against the rulebook's trusted keys and passing verified handles to evaluate); plan (evaluatePlan); verifiedPlan (verifyAndEvaluatePlan for every step's facts and the initial facts); findings (check(rulebook), exactly these findings in any order, each with a valid witness where the reference has one, and matches must agree with the reference on every reference witness); error: true (reject the rulebook at validation, any message, note shows the reference's); canonical and fingerprint (produce exactly this canonical JSON text and this fingerprint); sha256 (exactly this SHA-256 of the UTF-8 bytes of text); verify: { ok } (verifyApproval returns this ok); rulebookSignature: { ok } (verifyRulebookSignature returns this ok); backtest (backtest(rulebook, events, options) equals this report exactly, SPEC.md § 13); comparison (compareBacktests(backtest(rulebook, …), backtest(proposed, …)) equals this exactly); enforcement: { status, executed, outcome, limits?, reasons?, error?, rejected? } (build one harness from the harness data — scope, facts, approvals, now, consumed nonces, history, a ledger, an optional fault; run each before call through it first with its own fault: "executor_throws" or none, outcomes not judged; then run call with a session on this rulebook and a spy executor, and the outcome's status, whether the executor ran and how often, outcome (not_run / ran / uncertain), the limits it received, the reason IDs, the recorded error stage and the approval rejection codes must match, SPEC.md § 16.9; forbidKeys is checked on the outcome without its echoed request, and the decision must never carry signature). It states a case may carry forbidKeys, meaning the full decision (or plan evaluation, or adapter outcome) as JSON must contain none of those keys anywhere, used to prove a decision never carries an approval's signature or key material. It says /1 cases (d1–d7, rulebooks desk, desk-signed, desk-mission) use the same shapes with /1 words: requests carry principal, tool, scope, args, delegation; approval requests are compared on ruleId, by, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, setBy; approvalsRejected is an ordered list of { id, nonce, code } (reason free); plan steps on tool, scope; the plan's finalScope; a /1 backtest report has byScope, rows[].tool/rows[].scope and gaps[].tool where the /3 report has byArea, action/areaId (SPEC.md § 16.11); the enforcement expectation (d6) exists only for /1. It says the first entry of approvals.json (approvals-test-keys) lists the TEST ONLY private seeds behind every signature in that file, so signatures can be reproduced, not just verified. It states every comparison is deep semantic equality: objects by key set and values in any order, arrays by position, numbers by value, and nothing depends on key order in the JSON. For a Decision it says to compare only: status (exact); reasons (ordered list, each entry compared on ruleId, status, setBy, with reason text free-form and never compared); trace (same, ordered); limits (deep-equal when present, must be absent when the expectation has none); then (exact when present, absent otherwise); approvalRequests (ordered list compared on ruleId, by (absent means absent), rulebookFingerprint, participantId, action, areaId, setBy, with reason free-form); approvalsUsed (deep-equal when present, absent otherwise); fingerprint (exact). For a Plan it says status, finalArea, finalFacts (deep), planDigest, approvalsUsed (deep), fingerprint are exact; steps are ordered, each compared on index, action, areaId and its decision as above (the step's facts and note are not compared); planChecks are ordered, on ruleId, status, setBy, stepIndex; firstViolation on stepIndex, ruleId, setBy, from, absent means absent; approvalRequests as for a decision. For findings it says compare as a multiset of { kind, severity, ruleIds, certainty } plus whether a witness is present; ruleIds keeps its order and must equal the expected pair exactly (the reference puts the looser or narrower rule first, as the spec says; unmatched_selector has one); message is free-form; 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; matches is then 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; if matches is not provided, the witness must equal the reference's exactly (SPEC.md § 7.4 says how the reference chooses). Validation must fail and the reason is the implementation's. Canonical and fingerprint are byte for byte (SPEC.md § 8). Backtest and comparison are deep-equal on the whole report or comparison: neither carries free text and every list has a defined order (SPEC.md § 13). The file gives a pseudocode loop over conformance/*.json alphabetically, for each case reading rulebook or rulebookRef relative to conformance/, then dispatching on the expectation kind to the corresponding comparison, including the findings witness checks and the enforcement harness setup. It says project keeps the compared fields above and drops the rest; the reference loop is compare.mjs (plain JavaScript, 100 lines) and run-node.mjs runs it against the built package with no test framework, with commands npm run build && node conformance/run-node.mjs, node conformance/run-node.mjs --client for the client subset only, and node conformance/validate-schemas.mjs to check every case input and reference output against spec/*.schema.json and the inputs each schema must reject. It states the client subset covers evaluate, fingerprint verify, approval verify, plans and, for /1, also argument binding, delegation and the /1 approval binding: every case marked client: true — the decision, verifiedDecision, plan, verifiedPlan, error, canonical/fingerprint/sha256, verify and rulebookSignature cases, including versions.json and integrity.json; the findings, backtest and comparison cases are for authoring tools (SPEC.md § 14) and the enforcement cases are for whoever stands between the model and the tool (SPEC.md § 16.9); node conformance/run-node.mjs --client runs the client subset against dist/. It says to run the cases against your own implementation from Node, copy run-node.mjs and replace impl; from another language, port the loop, since the comparison rules above are the whole contract. Finally it says any behaviour change to the reference needs a case: add it to generate.ts in the function for its principle, stating the intent by hand (status, reason rule IDs and authorities, findings, or error), run npx tsx conformance/generate.ts (which refuses to write a case the implementation does not meet), review the diff of the JSON, and run npm test. The file leaves open the contents of SPEC.md, PRINCIPLES.md and the schema files, the actual case data, and the implementations of the reference functions; it names no author or audience beyond implementers of the two formats and the client subset. Source: README.md — Neuroverseos-governance Brought in: 2026-11-22 90 understandings read from it. - The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files, rulebooks desk, desk-signed, desk-mission, per SPEC.md § 16) and the robotics dialect robot-domain-rules/3 (the p1–p9 files, plans, history, backtest, fingerprint, approvals, versions, integrity, with rulebooks tiny, shared, grocery, signed). — 2026-10-19 - There are 376 cases, 291 of them marked client: true. — 2026-10-19 - d5-plans.json proves missions compiled onto the rulebook: unpermitted tools and scopes denied, approval waits added, plan order as a history rule (and the history it needs), a mission cannot loosen a never rule or a cap, the mission fingerprint, /1 whole-plan evaluation with at_least and at_most, each step in its own scope. — 2026-10-19 - d6-enforcement.json proves the tool-call adapter: the executor is never called on BLOCK or PAUSE, once on ALLOW, with limits on LIMIT; malformed arguments, harness faults and a /3 rulebook are BLOCK with nothing run; settlement at the execution boundary as sequences through one harness (before): an executor throw is an uncertain outcome whose spend counts and whose nonce stays consumed, a refusal before execution gives back its reservation and claims no nonce (SPEC.md § 16.9). — 2026-10-19 - d7-backtest.json proves a recorded log of /1 requests (the adapter's Governed.request plus an outcome) replayed through the desk rulebooks: totals and rows in tool/scope words, counts by scope, history built from earlier events (the mission's order rule), missing facts and args, gaps by tool, differences between rule and record, conflicts that occurred, and a current-versus-proposed comparison (cap 500 → 750). — 2026-10-19 - p1-source.json proves robot-domain-rules/3 (SPEC.md § 1–15): rules carry source and setBy; the engine invents nothing. — 2026-10-19 - p2-authority.json proves declared order; lower only tightens; approvals must hold what the rule names. — 2026-10-19 - p3-rules-decide.json proves the structured outcome decides, never prose or anything outside the request. — 2026-10-19 - p4-unknown-and-missing.json proves every refusal for unknown or missing things, by builtin ID. — 2026-10-19 - p5-explains.json proves reasons, trace order, limits, then, fingerprint. — 2026-10-19 - p6-waiting.json proves approval waits vs condition waits; approvalRequests. — 2026-10-19 - p7-conflicts.json proves every finding kind (including unmatched_selector on one rule), certainty, reachability (roles, unconditional never rules, always-true conditions) and provable disjointness. — 2026-10-19 - An implementation of one format passes that format's files, and the reference passes both with one evaluator. — 2026-10-19 - p8-one-law.json proves robots, people and agents through one path; selectors; area role limits. — 2026-10-19 - p9-boundary.json proves facts are trusted; time is a fact; a limit is a ceiling. — 2026-10-19 - plans.json proves whole plans: effects projected step by step, the first BLOCK, plan rules, approvals collected, the clock starting at the wall-clock time now names in its own offset, malformed plans, effect and plan-rule validation. — 2026-10-19 - history.json proves history conditions: counts in a window of a clock fact, same-area, missing history is a refusal, validation. — 2026-10-19 - backtest.json proves a recorded log replayed through a rulebook: totals, history built from earlier events, missing facts named, gaps, stalls, conflicts that occurred, rule-versus-record differences, and a current-versus-proposed comparison. — 2026-10-19 - fingerprint.json proves RFC 8785 canonical JSON and the SHA-256 fingerprint, byte for byte, with the number edges a port must reproduce; SHA-256 vectors. — 2026-10-19 - approvals.json proves Ed25519 test vectors (TEST ONLY keys), verification, the /3 binding (rule, rulebook, participant, action, area, nonce, window), replay, the verified handle (an unsigned object marked verified clears nothing; the pure evaluator never clears a trusted-keys wait), approval lists (one approval per wait), step-by-step consumption in a plan, sub-millisecond truncation, facts-change and current-BLOCK cases, /2 refusal with and without keys, rulebook signatures. — 2026-10-19 - versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator and the trusted entry (rulebook_version). — 2026-10-19 - integrity.json proves validation re-derives the area role-limit never rules and the findings: a rulebook with either stripped or altered is invalid even with a recomputed fingerprint; reworded findings are fine. — 2026-10-19 - A case has an id, principle, description, a rulebookRef or an inline rulebook, a request with participant, action, areaId and facts, and an expect. — 2026-10-19 - The cases are grouped by the principle they prove (PRINCIPLES.md), and every case has a one-line description saying what it proves. — 2026-10-19 - A required fact that is absent is BLOCK required_facts, never a default and never permission. — 2026-10-19 - A case marked client: true is one a client must pass (SPEC.md § 14); loadCases(fs, path, dir, { client: true }) and run-node.mjs --client select them. — 2026-10-19 - A case's expect has exactly one expectation kind. — 2026-10-19 - For a decision expectation the implementation must call evaluate(rulebook, request) — the pure evaluator, which verifies nothing — and match as below. — 2026-10-19 - For a verifiedDecision expectation the implementation must call verifyAndEvaluate(rulebook, request) — verify every signed approval in facts.approvedBy against the rulebook's trusted keys, pass the verified handles to evaluate — and match as below. — 2026-10-19 - For a plan expectation the implementation must call evaluatePlan(rulebook, plan) and match as below. — 2026-10-19 - For a verifiedPlan expectation the implementation must call verifyAndEvaluatePlan(rulebook, plan) (the same, for every step's facts and the initial facts) and match as below. — 2026-10-19 - For a findings expectation the implementation must call check(rulebook) and report exactly these findings, in any order, each with a valid witness where the reference has one; its matches must agree with the reference on every reference witness. — 2026-10-19 - For an error: true expectation the implementation must reject the rulebook at validation (any message; note shows the reference's). — 2026-10-19 - For canonical and fingerprint expectations the implementation must produce exactly this canonical JSON text and this fingerprint. — 2026-10-19 - Compiled rulebooks are inline or in rulebooks/ (rulebookRef). — 2026-10-19 - For a sha256 expectation the implementation must produce exactly this SHA-256 of the UTF-8 bytes of text. — 2026-10-19 - For a verify: { ok } expectation verifyApproval must return this ok. — 2026-10-19 - For a rulebookSignature: { ok } expectation verifyRulebookSignature must return this ok. — 2026-10-19 - For a backtest expectation backtest(rulebook, events, options) must equal this report exactly (SPEC.md § 13). — 2026-10-19 - For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly. — 2026-10-19 - For an enforcement expectation the implementation must build one harness from the harness data (scope, facts, approvals, now, consumed nonces, history, a ledger, an optional fault); run each before call through it first (its own fault: "executor_throws" or none; outcomes not judged); then run call with a session on this rulebook and a spy executor: the outcome's status, whether the executor ran (and how often), outcome (not_run / ran / uncertain), the limits it received, the reason IDs, the recorded error stage and the approval rejection codes must match (SPEC.md § 16.9). — 2026-10-19 - forbidKeys is checked on the outcome without its echoed request (which holds what the harness supplied), and the decision must never carry signature. — 2026-10-19 - A case may carry forbidKeys: the full decision (or plan evaluation, or adapter outcome) as JSON must contain none of those keys anywhere — used to prove a decision never carries an approval's signature or key material. — 2026-10-19 - /1 cases (d1–d7, rulebooks desk, desk-signed, desk-mission) use the same shapes with /1 words: requests carry principal, tool, scope, args, delegation; approval requests are compared on ruleId, by, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, setBy; approvalsRejected as an ordered list of { id, nonce, code } (reason free); plan steps on tool, scope; the plan's finalScope; a /1 backtest report has byScope, rows[].tool/rows[].scope and gaps[].tool where the /3 report has byArea, action/areaId (SPEC.md § 16.11). — 2026-10-19 - The enforcement expectation (d6) exists only for /1. — 2026-10-19 - The cases were generated from the TypeScript reference by generate.ts with the intent of each stated by hand, and the JSON files are the authority. — 2026-10-19 - The first entry of approvals.json (approvals-test-keys) lists the TEST ONLY private seeds behind every signature in that file, so the signatures can be reproduced, not just verified. — 2026-10-19 - Every comparison is deep semantic equality: objects by key set and values in any order, arrays by position, numbers by value, and nothing depends on the order of keys in the JSON. — 2026-10-19 - For a Decision, compare status (exact); reasons (an ordered list, each entry compared on ruleId, status, setBy, with the reason text free-form and never compared); trace (same, ordered); limits (deep-equal when present, must be absent when the expectation has none); then (exact when present, absent otherwise); approvalRequests (ordered list compared on ruleId, by (absent means absent), rulebookFingerprint, participantId, action, areaId, setBy, with reason free-form); approvalsUsed (deep-equal when present, absent otherwise); fingerprint (exact). — 2026-10-19 - For a Plan, status, finalArea, finalFacts (deep), planDigest, approvalsUsed (deep) and fingerprint are exact; steps are ordered, each compared on index, action, areaId and its decision as above (the step's facts and note are not compared); planChecks are ordered, on ruleId, status, setBy, stepIndex; firstViolation on stepIndex, ruleId, setBy, from, absent means absent; approvalRequests as for a decision. — 2026-10-19 - Findings are compared as a multiset of { kind, severity, ruleIds, certainty } plus whether a witness is present. — 2026-10-19 - ruleIds keeps its order and must equal the expected pair exactly, with unmatched_selector having one. — 2026-10-19 - message is free-form. — 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. — 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. — 2026-10-19 - If matches is not provided, the witness must equal the reference's exactly, as SPEC.md § 7.4 says the reference chooses. — 2026-10-19 - d1-tools-and-args.json proves neuroverse-governance/1 (SPEC.md § 16): tools, scopes and arguments bound to facts — declared, undeclared, missing, wrong-type and non-object arguments; unknown tool and scope; a tool outside its scopes; a missing derived fact; the /1 builtin list, the derived scope_role_limits: rule and the /1 findings with witnesses in tool words; another /1 version refused by name. — 2026-10-19 - Validation must fail and the reason is the implementation's. — 2026-10-19 - Canonical and fingerprint are compared byte for byte (SPEC.md § 8). — 2026-10-19 - Backtest and comparison are deep-equal on the whole report or comparison: neither carries free text and every list has a defined order (SPEC.md § 13). — 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/. — 2026-10-19 - For a decision expectation the loop compares project(evaluate(rulebook, case.request)) with case.expect.decision. — 2026-10-19 - For a verifiedDecision expectation the loop compares project(verifyAndEvaluate(rulebook, case.request)) with case.expect.verifiedDecision. — 2026-10-19 - For a plan expectation the loop compares project(evaluatePlan(rulebook, case.plan)) with case.expect.plan. — 2026-10-19 - For a verifiedPlan expectation the loop compares project(verifyAndEvaluatePlan(rulebook, case.plan)) with case.expect.verifiedPlan. — 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. — 2026-10-19 - For an error expectation the loop asserts validate(rulebook) reports at least one problem. — 2026-10-19 - d2-delegation.json proves delegation stays bounded: a tool is permitted only if the acting role and every role in the harness-assembled chain list it (delegation_exceeds_authority names the first link that does not); chain shape refusals; a mission binds delegates. — 2026-10-19 - For a canonical expectation the loop asserts canonical(case.value) equals expect.canonical and fingerprint(case.value) equals expect.fingerprint. — 2026-10-19 - For a sha256 expectation the loop asserts sha256(utf8(case.text)) equals expect.sha256. — 2026-10-19 - For a verify expectation the loop asserts verifyApproval(case.approval, case.trustedKeys).ok equals expect.verify.ok. — 2026-10-19 - For a rulebookSignature expectation the loop asserts verifyRulebookSignature(rulebook, case.signature, case.publicKey) equals expect.rulebookSignature.ok. — 2026-10-19 - For a backtest expectation the loop asserts backtest(rulebook, case.events, case.options) equals expect.backtest. — 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. — 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. — 2026-10-19 - project keeps the compared fields above and drops the rest. — 2026-10-19 - The reference loop is compare.mjs (plain JavaScript, 100 lines) and run-node.mjs runs it against the built package with no test framework. — 2026-10-19 - The commands are npm run build && node conformance/run-node.mjs, node conformance/run-node.mjs --client for the client subset only, and node conformance/validate-schemas.mjs to check every case input and reference output against spec/*.schema.json and the inputs each schema must reject. — 2026-10-19 - d3-bound-approvals.json proves approvals bound to arguments (TEST ONLY keys): a /1 signed approval clears the wait it names for this principal, participant, tool, scope and argument digest; every mismatch (args, expiry, not-yet-valid, replay, rule, principal, participant, tool, scope, rulebook, authority, unverified handle, a /3 approval at a /1 door and the reverse) is a PAUSE with approvalsRejected codes, never a BLOCK; a decision carries no signature; repeated refusals are judged by a history rule. — 2026-10-19 - The client subset covers evaluate, fingerprint verify, approval verify and plans, and for /1 also argument binding, delegation and the /1 approval binding: every case marked client: true — the decision, verifiedDecision, plan, verifiedPlan, error, canonical/fingerprint/sha256, verify and rulebookSignature cases, including versions.json and integrity.json. — 2026-10-19 - The findings, backtest and comparison cases are for authoring tools (SPEC.md § 14) and the enforcement cases are for whoever stands between the model and the tool (SPEC.md § 16.9). — 2026-10-19 - node conformance/run-node.mjs --client runs the client subset against dist/. — 2026-10-19 - To run the cases against your own implementation from Node, copy `run-node.mjs` and replace `impl`. — 2026-10-19 - From another language, port the loop, since the comparison rules above are the whole contract. — 2026-10-19 - Any behaviour change to the reference needs a case. — 2026-10-19 - Add the case to `generate.ts` in the function for its principle, stating the intent by hand (status, reason rule IDs and authorities, findings, or `error`). — 2026-10-19 - Run `npx tsx conformance/generate.ts`, which refuses to write a case the implementation does not meet. — 2026-10-19 - Review the diff of the JSON. — 2026-10-19 - Run `npm test`. — 2026-10-19 - d4-limits-and-spend.json proves projected spend as a harness fact (at the cap, one over, missing, two reservations as the harness projects them) and a /1 limit rule. — 2026-10-19 ## Who, where and what Places: [[Bevia/World/Places/conformance-|conformance/]] Things: [[Bevia/World/Things/--client|--client]], [[Bevia/World/Things/376 cases|376 cases]], [[Bevia/World/Things/action|action]], [[Bevia/World/Things/ALLOW (805f100b)|ALLOW]], [[Bevia/World/Things/approval verify|approval verify]], [[Bevia/World/Things/approvalRequests|approvalRequests]], [[Bevia/World/Things/approvals|approvals]], [[Bevia/World/Things/approvals-test-keys|approvals-test-keys]], [[Bevia/World/Things/approvals.json|approvals.json]], [[Bevia/World/Things/approvalsRejected|approvalsRejected]], [[Bevia/World/Things/approvalsUsed|approvalsUsed]], [[Bevia/World/Things/areaId|areaId]], [[Bevia/World/Things/args|args]], [[Bevia/World/Things/argsDigest|argsDigest]], [[Bevia/World/Things/argument binding|argument binding]], [[Bevia/World/Things/at_least|at_least]], [[Bevia/World/Things/at_most|at_most]], [[Bevia/World/Things/authoring tools|authoring tools]], [[Bevia/World/Things/authorities|authorities]], [[Bevia/World/Things/backtest|backtest]], [[Bevia/World/Things/backtest.json|backtest.json]], [[Bevia/World/Things/BLOCK (88a445ae)|BLOCK]], [[Bevia/World/Things/BLOCK required_facts|BLOCK required_facts]], [[Bevia/World/Things/by|by]], [[Bevia/World/Things/byArea|byArea]], [[Bevia/World/Things/byScope|byScope]], [[Bevia/World/Things/canonical|canonical]], [[Bevia/World/Things/cap 500 → 750|cap 500 → 750]], [[Bevia/World/Things/case|case]], [[Bevia/World/Things/case.approval|case.approval]], [[Bevia/World/Things/case.before[].call|case.before .call]], [[Bevia/World/Things/case.call|case.call]], [[Bevia/World/Things/case.events|case.events]], [[Bevia/World/Things/case.expect.decision|case.expect.decision]], [[Bevia/World/Things/case.expect.findings|case.expect.findings]], [[Bevia/World/Things/case.expect.plan|case.expect.plan]], [[Bevia/World/Things/case.expect.verifiedDecision|case.expect.verifiedDecision]], [[Bevia/World/Things/case.expect.verifiedPlan|case.expect.verifiedPlan]], [[Bevia/World/Things/case.harness|case.harness]], [[Bevia/World/Things/case.options|case.options]], [[Bevia/World/Things/case.plan|case.plan]], [[Bevia/World/Things/case.proposed|case.proposed]], [[Bevia/World/Things/case.publicKey|case.publicKey]], [[Bevia/World/Things/case.request|case.request]], [[Bevia/World/Things/case.signature|case.signature]], [[Bevia/World/Things/case.text|case.text]], [[Bevia/World/Things/case.trustedKeys|case.trustedKeys]], [[Bevia/World/Things/case.value|case.value]], [[Bevia/World/Things/cases|cases]], [[Bevia/World/Things/certainty|certainty]], [[Bevia/World/Things/check|check]], [[Bevia/World/Things/check(rulebook)|check(rulebook)]], [[Bevia/World/Things/client subset|client subset]], [[Bevia/World/Things/client- true|client: true]], [[Bevia/World/Things/code|code]], [[Bevia/World/Things/compare.mjs|compare.mjs]], [[Bevia/World/Things/compareBacktests|compareBacktests]], [[Bevia/World/Things/comparison|comparison]], [[Bevia/World/Things/comparison rules|comparison rules]], [[Bevia/World/Things/conformance--.json|conformance/*.json]] …and 170 more ## Connections to other sources - **Same point** — Both describe replaying a log through a rulebook to see decisions, unfired rules, stalls, differences, and proposed changes. - Here: backtest.json proves a recorded log replayed through a rulebook: totals, history built from earlier events, missing facts named, gaps, stalls, conflicts that o… — 2026-10-19 - There: A recorded log is replayed through a rulebook before it goes live (backtest): what it would have decided, the rules that never fired, the rules that would have… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19 - **Same point** — Both describe running the project's test command. - Here: Run `npm test`. — 2026-10-19 - There: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Same point** — Both say a rulebook of another version is refused by name at every door. - Here: versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator an… — 2026-10-19 - There: A rulebook of another version is refused by name at every door — versions.json, d1-other-governance-version-*. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19 - **Same point** — Both state that other-version rulebooks, fingerprints or approvals are refused by name and never reinterpreted. - Here: versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator an… — 2026-10-19 - There: 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 nev… — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Same point** — Both say a /1 or /2 rulebook is refused with a message naming its version and the migration. - Here: versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator an… — 2026-10-19 - There: A /1 or /2 rulebook is refused at validation with a message naming its version and the migration. — 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 - **Same point** — Both describe refusing other-version rulebooks with a message naming the version and migration steps. - Here: versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator an… — 2026-10-19 - There: Versions are explicit and never reinterpreted (§ 11): a /2 rulebook, fingerprint or approval is refused with a message that names its version and the migration… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both say refusal happens at the evaluator, plan evaluator and other doors, not only validation. - Here: versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator an… — 2026-10-19 - There: A /1, /2 or unknown-format rulebook is refused by the evaluator, the plan evaluator, the check and the backtest, not only by validation. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both require refusing a /1 or /2 format with a message naming the version and migration at multiple doors. - Here: versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator an… — 2026-10-19 - There: An implementation MUST reject a rulebook that violates any MUST in this document, including a format other than `neuroverse-domain-rules/3`, and a `/1` or `/2`… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both describe the backtest report covering what would be decided, rule-versus-record differences, and a current-versus-proposed comparison. - Here: d7-backtest.json proves a recorded log of /1 requests (the adapter's Governed.request plus an outcome) replayed through the desk rulebooks: totals and rows in… — 2026-10-19 - There: A recorded log is replayed through a rulebook before it goes live (backtest): what it would have decided, the rules that never fired, the rules that would have… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19 - **Same point** — Both describe replaying a recorded request log and reporting what the rules would have decided, gaps, stalls, and rule-versus-record differences. - Here: d7-backtest.json proves a recorded log of /1 requests (the adapter's Governed.request plus an outcome) replayed through the desk rulebooks: totals and rows in… — 2026-10-19 - There: `backtest(rulebook, events)` replays what your agents asked (the adapter's `Governed.request`, plus whether it ran) and reports what the rules would have decid… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19 - **Same point** — Both describe backtesting a rulebook over a request log covering decisions, unfired or stalling rules, conflicts, and current versus proposed. - Here: d7-backtest.json proves a recorded log of /1 requests (the adapter's Governed.request plus an outcome) replayed through the desk rulebooks: totals and rows in… — 2026-10-19 - There: NeuroverseOS deterministically backtests a rulebook over a request log before rules go live: what it would have decided, rules that never fired or would stall… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- RELATED-WORK|NeuroverseOS/Neuroverseos-governance: RELATED-WORK]] — 2026-10-18 - **Same point** — Both describe the backtest report covering decisions, history, missing facts, gaps, stalls, conflicts, and rule-versus-record differences. - Here: backtest.json proves a recorded log replayed through a rulebook: totals, history built from earlier events, missing facts named, gaps, stalls, conflicts that o… — 2026-10-19 - There: `backtest(rulebook, events)` replays what your agents asked (the adapter's `Governed.request`, plus whether it ran) and reports what the rules would have decid… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19 - **Same point** — Both describe backtesting a rulebook over a request log covering decisions, unfired or stalling rules, conflicts, and current versus proposed. - Here: backtest.json proves a recorded log replayed through a rulebook: totals, history built from earlier events, missing facts named, gaps, stalls, conflicts that o… — 2026-10-19 - There: NeuroverseOS deterministically backtests a rulebook over a request log before rules go live: what it would have decided, rules that never fired or would stall… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- RELATED-WORK|NeuroverseOS/Neuroverseos-governance: RELATED-WORK]] — 2026-10-18 - **Same point** — Both describe the client subset as the cases marked client: true, listing the same categories and files. - Here: The client subset covers evaluate, fingerprint verify, approval verify and plans, and for /1 also argument binding, delegation and the /1 approval binding: eve… — 2026-10-19 - There: Every conformance case a client must pass is marked client: true: the decision, verifiedDecision, plan, verifiedPlan, error, canonical/fingerprint/sha256, veri… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — The description of what the client subset contains explains the cases counted in the passing run. - Here: The client subset covers evaluate, fingerprint verify, approval verify and plans, and for /1 also argument binding, delegation and the /1 approval binding: eve… — 2026-10-19 - There: node conformance/run-node.mjs --client passes 291/291 conformance cases in the client subset. — 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 - **Emerging** — The version-refusal cases live in versions.json, which is the file that proves the refusal. - Here: versions.json proves a /1 or /2 rulebook is refused by name with its migration, never reinterpreted — by validation and by the evaluator, the plan evaluator an… — 2026-10-19 - There: The cases for rulebook version refusal are in conformance/versions.json. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both say the suite covers the d1–d7 digital format with rulebooks desk, desk-signed and desk-mission. - Here: The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files… — 2026-10-19 - There: Conformance has 105 `/1` cases — `d1-tools-and-args` (25), `d2-delegation` (10), `d3-bound-approvals` (24, TEST ONLY keys), `d4-limits-and-spend` (8), `d5-plan… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19 - **Same point** — Both describe the suite as language-neutral cases covering the robotics dialect files and the d1–d7 digital format. - Here: The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files… — 2026-10-19 - There: conformance/ holds 371 language-neutral JSON cases, one line each saying what it proves — 266 for the robotics dialect (p1–p9, plans, history, backtest, finger… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19 - **Same point** — Both describe the same two-format suite with the robotics files and the d1–d7 digital cases. - Here: The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files… — 2026-10-19 - There: conformance/ holds 371 language-neutral cases (p1–p9 and the robotics files; d1–d7 for the digital format), shared rulebooks, TEST ONLY Ed25519 keys and SHA-25… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19 - **Same point** — Both say the runner supports a --client flag that runs the client subset against dist/. - Here: node conformance/run-node.mjs --client runs the client subset against dist/. — 2026-10-19 - There: `npm run conformance` runs `node conformance/run-node.mjs` over every case against dist/ with no framework, and `--client` for the client subset. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Emerging** — The plan comparison rules cover the same plan evaluation fields that the result object lists. - Here: For a Plan, status, finalArea, finalFacts (deep), planDigest, approvalsUsed (deep) and fingerprint are exact; steps are ordered, each compared on index, action… — 2026-10-19 - There: The plan evaluation result is { status, steps, planChecks, firstViolation?, approvalRequests, approvalsUsed, finalFacts, finalArea, planDigest, fingerprint } (… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — The client-subset run command is the same one whose passing totals are reported. - Here: node conformance/run-node.mjs --client runs the client subset against dist/. — 2026-10-19 - There: `node conformance/run-node.mjs` passes 371/371, and with `--client` 291/291. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19 - **Same point** — Both simply state that npm test is run. - Here: Run `npm test`. — 2026-10-19 - There: `npm test` is run. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Emerging** — One explains what compareBacktests reports, the other specifies its exact expected output. - Here: For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly. — 2026-10-19 - There: compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule… — 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 - **Emerging** — One describes the comparison function, the other gives the exact assertion form for it. - Here: For a comparison expectation the loop asserts compareBacktests(backtest(rulebook, case.events, case.options), backtest(case.proposed, case.events, case.options… — 2026-10-19 - There: compareBacktests(baseline, proposed) sets a current rulebook against a proposed one on the same log: newly blocked, newly allowed, other changes, and each rule… — 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 - **Emerging** — The general description of compareBacktests is made concrete by the exact-output requirement. - Here: For a comparison expectation compareBacktests(backtest(rulebook, …), backtest(proposed, …)) must equal this exactly. — 2026-10-19 - There: `compareBacktests` says what a proposed rulebook would change. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19 - **Emerging** — The general description of compareBacktests is made concrete by the assertion form. - Here: For a comparison expectation the loop asserts compareBacktests(backtest(rulebook, case.events, case.options), backtest(case.proposed, case.events, case.options… — 2026-10-19 - There: `compareBacktests` says what a proposed rulebook would change. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19 - **Emerging** — The requirement to call evaluatePlan is grounded in the function's rulebook and plan signature. - Here: For a plan expectation the implementation must call evaluatePlan(rulebook, plan) and match as below. — 2026-10-19 - There: evaluatePlan takes a /1 rulebook and a /1 plan { principal, participant, delegation?, steps: [{ tool, scope?, args?, facts?, note? }], initialFacts, history?,… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — The call requirement is supported by the description of what evaluatePlan does. - Here: For a plan expectation the implementation must call evaluatePlan(rulebook, plan) and match as below. — 2026-10-19 - There: evaluatePlan(rulebook, plan) evaluates a whole plan in which a planner proposes participant, steps, initialFacts, history, clock, startTime and stepDurationSec… — 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 - **Same point** — Both say an absent required fact is required_facts, never a default. - Here: A required fact that is absent is BLOCK required_facts, never a default and never permission. — 2026-10-19 - There: A missing projected fact is `required_facts`, never zero. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- acceptance-invoice-reconciliation-README|NeuroverseOS/Neuroverseos-governance: acceptance/invoice-reconciliation/README]] — 2026-10-18 - **Same point** — Both say a missing fact is a required_facts block and only declared defaults are assumed. - Here: A required fact that is absent is BLOCK required_facts, never a default and never permission. — 2026-10-19 - There: A missing or malformed fact is a required_facts BLOCK, and only declared defaults are ever assumed. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19 - **Same point** — Both say an absent needed fact is required_facts, never a default or permission. - Here: A required fact that is absent is BLOCK required_facts, never a default and never permission. — 2026-10-19 - There: A fact a decision needs that is absent, of the wrong type, out of range or null is the same refusal, required_facts, with the fact named. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19 - **Same point** — Both describe an absent required fact as a required_facts refusal. - Here: A required fact that is absent is BLOCK required_facts, never a default and never permission. — 2026-10-19 - There: In NeuroverseOS a missing or malformed fact is a named refusal (`required_facts`). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- RELATED-WORK|NeuroverseOS/Neuroverseos-governance: RELATED-WORK]] — 2026-10-18 - **Same point** — Both describe a finding as kind, severity, ruleIds, certainty, plus an optional witness and message. - Here: Findings are compared as a multiset of { kind, severity, ruleIds, certainty } plus whether a witness is present. — 2026-10-19 - There: A Finding is `{ kind, severity, ruleIds, certainty, witness?, message }`. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Same point** — Both say findings are compared as a multiset of kind, severity, ruleIds and certainty, with witness presence handled separately. - Here: Findings are compared as a multiset of { kind, severity, ruleIds, certainty } plus whether a witness is present. — 2026-10-19 - There: The findings MUST equal, as a multiset of (kind, severity, ruleIds, certainty), what § 7 produces for the rulebook; every certain finding between two rules MUS… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — One requires ruleIds to match the expected pair in order, the other requires the whole finding multiset to match. - Here: ruleIds keeps its order and must equal the expected pair exactly, with unmatched_selector having one. — 2026-10-19 - There: The findings MUST equal, as a multiset of (kind, severity, ruleIds, certainty), what § 7 produces for the rulebook; every certain finding between two rules MUS… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both say the approval vectors include TEST ONLY seeds enabling byte-for-byte reproduction of signatures. - Here: The first entry of approvals.json (approvals-test-keys) lists the TEST ONLY private seeds behind every signature in that file, so the signatures can be reprodu… — 2026-10-19 - There: The vectors in conformance/approvals.json carry their TEST ONLY seeds so every signature byte can be reproduced byte for byte. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both say the approval vectors include TEST ONLY seeds so the signatures can be reproduced. - Here: The first entry of approvals.json (approvals-test-keys) lists the TEST ONLY private seeds behind every signature in that file, so the signatures can be reprodu… — 2026-10-19 - There: Ed25519 signatures are deterministic, so the vectors in conformance/approvals.json (with their TEST ONLY seeds) are reproducible exactly. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — One states the binding rule for trusted keys; the other details the full set of mismatch cases that produce rejection codes. - Here: d3-bound-approvals.json proves approvals bound to arguments (TEST ONLY keys): a /1 signed approval clears the wait it names for this principal, participant, to… — 2026-10-19 - There: Signed approvals are bound to a key the rulebook trusts for that authority — approvals.json, d3-bound-approvals.json (d3-insufficient-authority-rejected). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19 - **Same point** — Both describe the conformance suite as language-neutral JSON cases covering the /1 format and the /3 robotics dialect with their rulebooks. - Here: The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files… — 2026-10-19 - There: `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client… — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Emerging** — One gives the purpose and dialect coverage of the suite, the other lists the actual files that make it up. - Here: The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files… — 2026-10-19 - There: Every file in `conformance/` was copied: all `*.json` case files (`approvals`, `backtest`, `fingerprint`, `history`, `integrity`, `p1-source` … `p9-boundary`,… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18 - **Same point** — Both describe the client subset as the cases marked client: true run via the --client flag. - Here: The client subset covers evaluate, fingerprint verify, approval verify and plans, and for /1 also argument binding, delegation and the /1 approval binding: eve… — 2026-10-19 - There: client: true marks the 205 cases a client must pass, and run-node.mjs --client runs them. — 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 - **Emerging** — One defines which cases form the client subset, the other gives the command that runs it. - Here: node conformance/run-node.mjs --client runs the client subset against dist/. — 2026-10-19 - There: Every conformance case a client must pass is marked client: true: the decision, verifiedDecision, plan, verifiedPlan, error, canonical/fingerprint/sha256, veri… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both identify the /1 backtest cases as the d7-backtest file within the /1 format coverage. - Here: The conformance suite is language-neutral JSON cases that any implementation of SPEC.md must pass, for both the neuroverse-governance/1 format (the d1–d7 files… — 2026-10-19 - There: The cases for the `/1` backtest are `conformance/d7-backtest.json`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — The recorded run shows the result of running npm test. - Here: Run `npm test`. — 2026-10-19 - There: `npm test` (`vitest run --dir test`) gave `✓ test/conformance.test.ts (262 tests)`, `✓ test/domain-rules.test.ts (83 tests)`, `✓ test/z3-crosscheck.test.ts (1… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18 - **Same point** — Both say the reference implementation handles both formats with a single evaluator. - Here: An implementation of one format passes that format's files, and the reference passes both with one evaluator. — 2026-10-19 - There: The reference implementation decides both formats with one evaluate, one evaluatePlan and one conflict check (§ 16.2); a port MAY do the same or implement /1 a… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — The backtest replay produces the report and comparison that the other spells out in detail. - Here: d7-backtest.json proves a recorded log of /1 requests (the adapter's Governed.request plus an outcome) replayed through the desk rulebooks: totals and rows in… — 2026-10-19 - There: `src/backtest.ts` replays a recorded log through a rulebook in both formats, producing the report and the current-versus-proposed comparison. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Same point** — Both describe evaluating a plan's steps and initial facts. - Here: For a verifiedPlan expectation the implementation must call verifyAndEvaluatePlan(rulebook, plan) (the same, for every step's facts and the initial facts) and… — 2026-10-19 - There: evaluatePlan(rulebook, plan) evaluates a whole plan in which a planner proposes participant, steps, initialFacts, history, clock, startTime and stepDurationSec… — 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 - **Same point** — Both require matches to equal the reference's recorded witnessMatches, rejecting a matches that returns every rule. - Here: matches is checked for soundness: for every witness in the expectation, matches(rulebook, thatWitness) must equal the reference's recorded witnessMatches as a… — 2026-10-19 - There: For witness judging, a port's matches must return exactly the reference's recorded witnessMatches on every reference witness, so "return every rule" fails. — 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 - **Same point** — Both judge matches against the reference's witnessMatches and reject returning every rule or the finding's pair. - Here: matches is checked for soundness: for every witness in the expectation, matches(rulebook, thatWitness) must equal the reference's recorded witnessMatches as a… — 2026-10-19 - There: 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 mus… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — One explains the witness validity check that the other's matches judging relies on. - Here: 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… — 2026-10-19 - There: 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 mus… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — The witness-matching rule supports the requirement that certain findings carry a witness matching both rules. - Here: 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… — 2026-10-19 - There: The findings MUST equal, as a multiset of (kind, severity, ruleIds, certainty), what § 7 produces for the rulebook; every certain finding between two rules MUS… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — The witness requirement is checked by the matches soundness test the other describes. - Here: matches is checked for soundness: for every witness in the expectation, matches(rulebook, thatWitness) must equal the reference's recorded witnessMatches as a… — 2026-10-19 - There: The findings MUST equal, as a multiset of (kind, severity, ruleIds, certainty), what § 7 produces for the rulebook; every certain finding between two rules MUS… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both say a missing or out-of-range fact yields required_facts, never a default or clamp. - Here: A required fact that is absent is BLOCK required_facts, never a default and never permission. — 2026-10-19 - There: A projected fact out of range is required_facts, never a clamp. — 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 - **Same point** — Both say missing or invalid facts block with required_facts and are never permission. - Here: A required fact that is absent is BLOCK required_facts, never a default and never permission. — 2026-10-19 - There: Missing or invalid facts are never permission: a request without `peopleInZone`, with a bad `localTime`, a negative count, a non-number speed, or a malformed p… — 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 - **Same point** — Both distinguish approval waits from condition waits. - Here: p6-waiting.json proves approval waits vs condition waits; approvalRequests. — 2026-10-19 - There: Waiting has two meanings: approval waits return `approvalRequests` and are cleared by a sufficient approval, while condition waits are cleared only by facts. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - **Emerging** — One names the approvalRequests field; the other specifies exactly when it is present. - Here: p6-waiting.json proves approval waits vs condition waits; approvalRequests. — 2026-10-19 - There: `approvalRequests` is present iff the status is PAUSE and at least one approval wait is unmet (§ 6 step 8). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Emerging** — Both tie approvalRequests to PAUSE status, one adding the non-empty condition. - Here: p6-waiting.json proves approval waits vs condition waits; approvalRequests. — 2026-10-19 - There: approvalRequests is included iff non-empty and status == PAUSE. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - **Same point** — Both state a mission cannot loosen a never rule or a cap, citing the same plans file. - Here: d5-plans.json proves missions compiled onto the rulebook: unpermitted tools and scopes denied, approval waits added, plan order as a history rule (and the hist… — 2026-10-19 - There: A mission cannot loosen a never rule or a cap — d5-plans.json (d5-mission-cannot-loosen-*). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19