This file is the working contract for the neuroverse-governance repository, which runs two rulebook formats through one engine: `neuroverse-governance/1` (the general contract for AI agents calling tools in scopes under a principal's authority, SPEC.md § 16) and `robot-domain-rules/3` (the robotics dialect of actions in areas, SPEC.md § 1–15). Both are decided by one `evaluate`, one `evaluatePlan`, one conflict check and one backtest, through the dialect table in `src/model.ts`; the robotics dialect is robot-domain-rules 0.5.3 unchanged, with its 261 conformance cases byte for byte the published ones, and any change that alters one is a regression unless SPEC.md § 11 gets an erratum line and the change is additive. PRINCIPLES.md is named as the contract, and the file lists nine principles in one line each: every rule carries a declared authority (`source` and `setBy`, with a mission's rules at the authority `plan`, below every declared one); authority is declared, layered and only tightens (`authorities` highest first, `authority-override` named and with no effect, approvals must hold what `wait.by` names, a mission has no `allow`, a delegate's authority never grows); AI writes and proposes while the rulebook decides (no model and no clock in `evaluate.ts`, `plan.ts`, `check.ts`, `compile.ts`, `governance.ts`, `backtest.ts`; the structured `then` decides, never prose; a draft's `setBy` comes from the caller; a plan is checked step by step on projected facts and by `planRules` and never written there; the model's text about its intent is not an input anywhere); unknown means no and a missing fact is never a yes (listing the `/3` checks `required_facts`, `area_declared`, `role_declared`, `role_permits_action`, `unknown_action` and the `/1` checks `required_facts`, `args_wellformed`, `scope_declared`, `role_declared`, `scope_permits_tool`, `role_permits_tool`, `unknown_tool`, `delegation_exceeds_authority`, with only declared defaults filled in, history the caller's, a projected fact out of range refusing rather than clamping, and an undeclared, missing, mistyped or doubly-supplied argument being `args_wellformed` before any rule is weighed); every decision explains itself (`reasons`, `trace`, `setBy`, `limits`, `then`, `fingerprint`, RFC 8785 canonical JSON and the SHA-256 fingerprint over UTF-8 with findings excluded reproduced byte for byte, and a `/1` PAUSE that rejected approvals carrying `approvalsRejected: [{ id, nonce?, code, reason }]` and nothing else, never the approval, its signature or key material); waiting has two meanings and approval is not a fact (approval waits return `approvalRequests` and are cleared by a sufficient approval, condition waits only by facts; with `trustedKeys` declared only the verified handle `verifyApproval` returned counts, bound to the rule, the rulebook fingerprint and the participant, action and area for `/3` or the principal, participant, tool, scope and `fingerprint(args)` for `/1`, valid at `request.now`, with a nonce not in `consumedApprovals`; it clears that wait only, each approval clears at most one wait, a plan consumes nonces step by step; a rejected approval is a PAUSE with a code, never a BLOCK; facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester); conflicts are surfaced, never quietly resolved (eight finding kinds, `unmatched_selector` on one rule with no witness, exact for the rule language on reachable requests with a `witness` on every certain finding between two rules in the rulebook's own words, "possible" only for history conditions, compile never hiding findings and `validateRulebook` re-deriving them, and the Z3 cross-check in `test/z3-crosscheck.test.ts` keeping agreement on every pair); one law for everyone (robots, people and agents, both formats, through one `evaluate`, selectors by ID, kind, tag and exclusion, area and scope role limits as re-derived never rules, a subagent using a tool only if its own role and every role in the chain list it, and a mission binding delegates with `who: "*"`); and rules say what may happen while evidence says what is true (facts are trusted, this is not a safety system and not a judge of text per BOUNDARY.md; the adapter runs the executor only on ALLOW or LIMIT with the limits, anything failing before it is a BLOCK with nothing run and the reservation and nonce claims given back, every nonce the decision used is claimed atomically via `consumed.claim` before the executor so two concurrent calls with one approval cannot both run, and once the executor has been invoked a throw is an uncertain outcome with `outcome: "uncertain"` — spend committed, nonces consumed, history appended, `harness.reconcile` told, never a release, never an un-consume — with the arithmetic behind a cumulative limit the harness's and the engine only comparing). The file adds mechanical rules: rulebooks are deep-frozen all the way down and detached from their input; bad config throws `DomainRulesError` while a bad request or plan never throws (SPEC.md § 15); versions are explicit, so 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 — `/3`-only doors (glasses, render, draft, templates, `legacy.ts`, `compileDomain`) refuse `/1`, `compileMission` and the adapter refuse `/3`, a `/3` approval at a `/1` rulebook and the reverse are rejected by `spec`, the glasses bridge only tightens, `normalizeRulebook` returns a `/3` rulebook as the same object so the robotics path runs the code it always ran, and `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. `src/legacy.ts` (the 0.2 robotics input shape) is marked deprecated: carried unchanged in 1.0 and to be removed at 1.1 together with its tests, its example (`examples/legacy-store-0.2.ts`) and its cases, and not to be extended. The file states that any change altering what `evaluate`, `evaluatePlan`, `verifyAndEvaluate`, `verifyAndEvaluatePlan`, `matchingRules`, `missingFacts`, `bindArgs`, `check`/`checkRulebook`, `validateRulebook`, `compileGovernance`, `compileMission`, `fingerprint`, `backtest`, `compareBacktests`, `govern` or the approval functions return for any input needs a case in `conformance/`, added to `conformance/generate.ts` in the function for its principle or its `d` file with the intent stated by hand (status, reason rule IDs with authorities, finding kinds, rejection codes, `executed`, or `error`), then `npx tsx conformance/generate.ts` run (it refuses to write a case the implementation does not meet), the JSON diff read with a `/3` case whose bytes changed treated as a finding to report rather than a diff to accept, `npm test` run, and SPEC.md updated in the same change; a change that alters a decision, finding, fingerprint or signature for an existing valid rulebook is a spec major bump (SPEC.md § 11), while an addition that widens what a valid input may say and changes no existing output is an erratum line in § 11 with its pinned cases. It then gives the shapes: the `/1` request (SPEC.md § 16.3) as `{ principal: { id }, participant: { id, kind, roleId, delegatedBy? }, delegation?: [{ id, roleId }], tool, scope, args?, facts: { ...harness facts, approvedBy? }, history?: [{ tool, scope, at }], now?, consumedApprovals? }`, with `args` the payload as the adapter parsed it, its declared fields becoming facts (§ 16.4) and everything else the harness's; the `/1` decision as `/3` with `approvalRequests[] = { ruleId, by?, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, reason, setBy }` and `approvalsRejected?`, with codes `spec, unverified, rule, rulebook, principal, participant, tool, scope, args, replayed, window_malformed, no_now, not_yet_valid, expired, insufficient, spent` (§ 16.6); the `/1` signed approval (`neuroverse-governance-approval/1`) as `{ spec, id, authority?, roleId?, ruleId, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, nonce, issuedAt, expiresAt, keyId, signature }`; the Mission (`neuroverse-governance-plan/1`, § 16.7) as `{ format, id, objective, permitsRuleId?, permits: [{ id?, tool, scopes? }], approvals?: [{ id?, tool, scopes?, by }], order?: [{ id?, first, then }], atMost?: [{ id?, tools, count }], requires?: [{ id?, tools }] }` compiled by `compileMission(rulebook, mission)` into 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"`; the Adapter (§ 16.9) as `govern(call, session, harness, executor) → Governed { status, executed, decision, request?, result?, error?: { stage, message }, callId? }` with adapter checks at `setBy: "adapter"`, never in a rulebook, named `tool_call_malformed`, `harness_failed`, `evaluation_failed`, and a reference in-memory harness (`SpendLedger.reserve(bucket, amount) → { projected, commit, release }`, `NonceSet`, `HistoryStore`) that production replaces while keeping the contract; the `/3` request as `{ participant: { id, kind, roleId }, action, areaId, facts, history?: [{ action, areaId, at }], now?, consumedApprovals? }`; the `/3` decision as `{ status, reasons, limits?, then?, approvalRequests?, approvalsUsed?, trace, fingerprint }` with strictest wins (`BLOCK` > `PAUSE` > `LIMIT` > `ALLOW`, SPEC.md § 6); the Plan (§ 12, with `plan_area_continuity` `/3`-only and a `/1` step landing in its own scope); the `/3` signed approval (`robot-domain-rules-approval/3`, § 9); the Rule as `{ id, text, who, does, where, when?, history?, then, reason?, source, setBy, never? }` with plan rule `check.kind ∈ ends_in | ends_with | before | at_most | at_least`; the Finding as `{ kind, severity, ruleIds, certainty, witness?, message }`; and the Backtest (§ 13, § 16.11) as `backtest(rulebook, events: [{ at, request, outcome? }])` producing a report with no free text and every list in a defined order (`byArea` or `byScope`), plus `compareBacktests(baseline, proposed)`. A file table says what to read each file for: `src/types.ts` first, for every type in both formats (`Governance*` types beside the `/3` ones); `src/model.ts` for the dialect table (`DOMAIN_DIALECT`, `GOVERNANCE_DIALECT`), `normalizeRulebook` (a `/3` rulebook returned as itself, a `/1` rulebook viewed with tools as actions and scopes as areas), the builtin lists and the in/out renamers for rules, history conditions, plan rules, witnesses and compile inputs; `src/version.ts` and `src/verified.ts` for the one refusal every door gives another format (`Accepts: 'any' | 'domain' | 'governance'`) and the verified-approval registry (object identity, never a flag); `src/vocabulary.ts` for selectors, fact validation, conditions and the exact constraint sets the conflict check uses; `src/compile.ts` for input to rulebook (templates, validation, role inheritance, area/scope never rules, `validateRule`, `validateRulebook` re-deriving the never rules and findings for both formats, freezing); `src/governance.ts` for `compileGovernance` (the `/1` input through the same assembler and check, the `/1`-only declarations validated, the body renamed back and fingerprinted), `governanceInputOf`, `compileMission`, `validateMission`, `PLAN_AUTHORITY`; `src/canonical.ts` for RFC 8785 canonical JSON (lone surrogates and non-JSON values refused), pure SHA-256 and `fingerprint`; `src/evaluate.ts` for one request to one decision in both formats (shape via `shapeProblems` for principal and delegation, `bindArgs` at step 1b, the delegation walk at step 4b, approval binding for `/3` via `approvalBound3` and for `/1` via `approvalBound1` with the rejection codes, sufficiency, history conditions) and for `matchingRules` and `missingFacts`; `src/plan.ts` for one plan to one evaluation with effects projected step by step, plan rules (`at_most`, `at_least`, …), approvals consumed step by step and a `/1` step in its own scope; `src/check.ts` for the conflict check (exact overlap on reachable requests with a witness, classification, unmatched selectors, plain-English messages in the rulebook's own words, plan-rule duplicates); `src/backtest.ts` for a recorded log replayed through a rulebook in both formats, the report and the current-versus-proposed comparison, using `evaluate`, `matchingRules`, `missingFacts` and the rulebook's findings and adding no semantics of its own; `src/approvals.ts` for Ed25519 via WebCrypto (sign/verify `/3` and `/1` approvals via `signApproval`, `signGovernanceApproval`, `verifyApproval` branching on `spec`, and rulebooks; `verifyAndEvaluate`, `verifyAndEvaluatePlan`; zero dependencies); `adapters/tool-call/index.ts` for `govern` (parse → scope → facts → derived facts → reserve → verify approvals → request → `evaluate` → act), the fail-closed table of SPEC.md § 16.9 and `ADAPTER_CHECKS`; `adapters/tool-call/reference-harness.ts` and `case-harness.ts` for `referenceHarness` with `SpendLedger` (synchronous reserve/commit/release), `NonceSet`, `HistoryStore`, declared ledgers and derived-fact tables, and `harnessFromData` building a harness from the JSON a `d6` case carries; `src/draft.ts`, `src/render.ts`, `src/glasses.ts`, `src/zone-rules.ts`, `src/legacy.ts` and `src/templates/` for the robotics dialect's tooling (deterministic text drafting and the model prompt/answer validation, rendering, the glasses bridge, the 0.2 input shape, the two shipped templates), all `/3`-only doors; `src/index.ts` for public exports (engine, adapter, reference harness) and `DomainRulesBuilder`; `spec/` for JSON Schemas, draft 2020-12, the `/3` set and `governance-{rulebook,request,decision,plan,approval,backtest}.schema.json` and `tool-call.schema.json`; `conformance/` for the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client: true` marking the client subset), `rulebooks/` (`tiny`, `shared`, `grocery`, `signed`; `desk`, `desk-signed`, `desk-mission`), `compare.mjs` (the judging rules, deep semantic equality, `matches` soundness, `enforcement`), `run-node.mjs` (`--client`), `validate-schemas.mjs` (every case against `spec/`, plus inputs each schema must reject) and `generate.ts`; `acceptance/invoice-reconciliation/` for the engine-independent scenario (`rules.json`, `plan.json`, `transcript.jsonl` with 28 calls and hand-authored verdicts, `expectations.md`, `run.ts` through `govern` and a harness written for that business, `backtest.ts` for the log under the current and a proposed rulebook, `generate.ts`), with the fixture the contract and `run.ts` never editing it; `test/domain-rules.test.ts` for one test per `/3` behaviour plus the seeded exactness test, `test/tool-call-adapter.test.ts` for the adapter including the concurrent-reservation proof, `test/conformance.test.ts` running every case, and `test/z3-crosscheck.test.ts` agreeing with Z3 on every generated pair (z3-solver a devDependency only), with no test files to be added without being asked; `examples/` for robotics (`grocery-store.ts`, `warehouse.ts`, `clinic.ts`, `demo.ts`, `harness/` with the volumes adapter and the robot and planner replays, `backtest/` with the sample site and a synthetic week, `mcp/` a `/3` MCP server as its own package, `legacy-store-0.2.ts`); and `docs/provenance/` for how the engine came to be (`PROVENANCE.md`, the byte-for-byte copy from robot-domain-rules, and `robot-domain-rules-CHANGELOG.md`, 0.1–0.5.3), with the design record in SPEC.md § 16.12 and the cut record in CHANGELOG.md. It then gives a change guide: a tool, scope, role, fact, limit, authority or trusted key (`/1`) or an action, area, role, fact, limit, authority or trusted key (`/3`) is declared in the input with no code change; a `/1` builtin check touches `src/model.ts` (`GOVERNANCE_BUILTIN_CHECKS`, the dialect), `src/evaluate.ts` (where in the order it runs, the order being normative per SPEC.md § 6 and § 16.4–16.5), `spec/governance-rulebook.schema.json` (`builtin`), the regenerated `desk*` rulebooks, SPEC.md § 16.1's table and a `d` case per outcome; a rejection code touches `src/types.ts`, `src/evaluate.ts` (`approvalBound1`, the order of checks being the order of the table in § 16.6), `spec/governance-decision.schema.json` and a `d3` case; an adapter check touches `adapters/tool-call/index.ts` (`ADAPTER_CHECKS`, `setBy: "adapter"`, never in a rulebook), the § 16.9 table and a `d6` case with `executed: false`; a mission entry kind touches `src/governance.ts` (`validateMission`, `compileMission`, compiling to rules the engine already has — deny, wait, history, plan rules — never to new semantics), `spec/governance-plan.schema.json`, the § 16.7 table and `d5` cases including one showing it cannot loosen; a fact type or condition operator in both formats touches `types.ts`, then `vocabulary.ts` (`factProblem`, `validateCondition`, `conditionHolds`, and a constraint with exact `intersect`, `isSubset`, `isEmpty` and `witnessValue`), `render.ts`, `draft.ts`, SPEC.md § 3.2, § 7.1 and § 7.4, conformance cases proving overlap is still exact, and `test/z3-crosscheck.test.ts` so Z3 keeps agreeing; an effect or plan-rule kind in both formats touches `types.ts`, `compile.ts` (`validateEffects` / `validatePlanRule`), `plan.ts`, `render.ts`, `model.ts` (`planRuleIn/Out`), `spec/common.schema.json`, SPEC.md § 2.1 / § 3.5 / § 12 and § 16.1, and cases in `plans.json` and `d5-plans.json`; a template (`/3`) is `src/templates/<id>.ts` exporting a `Template` (first option of every question the safe one, each question naming its `setBy`), registered in `src/templates/index.ts`, with an example and one test; a text pattern (`/3`) is `draft.ts` only, deterministic, keeping `unmatched` honest; and a harness for a real deployment implements `Harness` (`adapters/tool-call/index.ts`) over your stores, keeping `reserve` and `consumed.claim` atomic (a transaction or a conditional insert), implementing `reconcile` for uncertain outcomes, keeping `facts`/`derive` yours, never letting the requester's payload reach `facts` except through declared `args`, and proving it with the `d6` cases through `harnessFromData`'s shape or with your own tests. The commands are `npm install`; `npm run typecheck` (`tsc --noEmit` over src, adapters/tool-call, examples except mcp, test, conformance/generate.ts, with acceptance/ running under tsx); `npm test` (`vitest run --dir test` — core, adapter, Z3 cross-check, every conformance case); `npm run build` (tsup → dist/, esm, cjs, d.ts); `npm run conformance` (`node conformance/run-node.mjs` — every case against dist/, no framework, `--client` for the client subset); `npm run conformance:schemas` (every case input and reference output against spec/*.schema.json, needs dist/); `npm run acceptance` (the invoice scenario through govern and the reference harness, 28/28 or a non-zero exit); `npm run acceptance:backtest` (the scenario's recorded log under the current and the proposed rulebook); `npm run demo` (`tsx examples/demo.ts`, with `-- --json` writing `<site>.rules.json`); `npm run replay && npm run plan-replay && npm run backtest` (the robotics replays and the synthetic-week backtest); `npm pack --dry-run` (what ships per package.json "files"); and `cd examples/mcp && npm install && npm run typecheck`. Releases are never `npm publish` from a machine: only `.github/workflows/publish.yml` publishes (npm trusted publishing over OIDC, trusted publisher owner NeuroverseOS / repository neuroverseos-governance / workflow publish.yml, no token, no secret), and it is the founder's to run. Typecheck, test, build, the conformance runner, the schema validation, the acceptance scenario and its backtest are to be run before saying a change is done (`.github/workflows/ci.yml` runs all of them and `npm pack --dry-run`), plus the MCP example's typecheck if `examples/mcp/` or anything it imports was touched; `npm run conformance:generate` rewrites the case files from the implementation, so the diff is to be read and a `/3` case whose bytes changed is a regression to report, not a change to commit. The git rules: stage explicit paths (`git add <path>`), never `-A`, `-u` or `.`, and read `git diff --cached --name-only` before every commit; extend an existing test file, with new test files and CI workflows needing to be asked for; a `/3` behaviour that robot-domain-rules 0.5.3 has is not changed here without an erratum line in SPEC.md § 11 and pinned cases, and only additively, and the upstream repository is never edited from here; no model call and no paid API anywhere in `src/`, `adapters/`, `conformance/`, `acceptance/` or `test/`. Finally it lists what the project is not: a judge of text (nothing reads the model's message, intent or reasoning; a classifier's verdict may enter as a derived fact the harness computes, never computed here); a store, a clock, a ledger or a live feed for production (the reference harness's in-memory `SpendLedger`, `NonceSet` and `HistoryStore` are the contract's shape, not a product; facts, `history`, `now` and `consumedApprovals` arrive in the request, the arithmetic is the harness's, a plan's clock is the plan's, a backtest's times come from its log); area geometry, localisation, membership, people counting, identity, sensors or maps (the surrounding system owns that); an explanation of why things happened (a backtest applies rules to recorded requests and reports the decisions; reading evidence across sources is for an evidence system); a planner (`evaluatePlan` checks a plan it is handed and `compileMission` tightens a rulebook for one, neither searches for a plan); a model call anywhere in the core (`buildRuleDraftPrompt` / `parseRuleDraft` are the whole model surface); a key store or HTTP service (key custody is the deployment's, expiry is in the approval and judged against the caller's `now`); a CLI (1.0 ships none, `bin` is absent, and if one returns it is built on the one evaluator and the adapter and asked for first); or a second evaluator or a second decision path (a new format is a dialect in `src/model.ts` and gated steps in the one evaluator, or it is not built). The file is written as the repository's own instructions to its contributors and maintainers, and it leaves open the contents of the files it points to (SPEC.md, PRINCIPLES.md, BOUNDARY.md, CHANGELOG.md, the schemas, the cases and the source), the exact wording of the conformance cases and the `desk*` rulebooks, and the details of the 1.1 removal of `src/legacy.ts` beyond the list of what goes with it.
Source: AGENTS.md — Neuroverseos-governance
Brought in: 2026-11-22
159 understandings read from it.
- `neuroverse-governance/1` is the general contract for AI agents calling tools in scopes under a principal's authority, per SPEC.md § 16. — 2026-10-19
- `robot-domain-rules/3` is the robotics dialect of actions in areas, per SPEC.md § 1–15. — 2026-10-19
- Authority is declared, layered and only tightens: `authorities` highest first, and a lower level can only tighten. — 2026-10-19
- `src/backtest.ts` replays a recorded log through a rulebook in both formats, producing the report and the current-versus-proposed comparison. — 2026-10-19
- `src/backtest.ts` uses `evaluate`, `matchingRules`, `missingFacts` and the rulebook's findings, and adds no semantics of its own. — 2026-10-19
- `src/approvals.ts` does Ed25519 via WebCrypto: it signs and verifies `/3` and `/1` approvals (`signApproval`, `signGovernanceApproval`, `verifyApproval` branching on `spec`) and rulebooks, provides `verifyAndEvaluate` and `verifyAndEvaluatePlan`, and has zero dependencies. — 2026-10-19
- `adapters/tool-call/index.ts` provides `govern`: parse → scope → facts → derived facts → reserve → verify approvals → request → `evaluate` → act, the fail-closed table of SPEC.md § 16.9, and `ADAPTER_CHECKS`. — 2026-10-19
- `adapters/tool-call/reference-harness.ts` and `case-harness.ts` provide `referenceHarness` with `SpendLedger` (synchronous reserve/commit/release), `NonceSet`, `HistoryStore`, declared ledgers and derived-fact tables, and `harnessFromData` builds a harness from the JSON a `d6` case carries. — 2026-10-19
- `src/draft.ts`, `src/render.ts`, `src/glasses.ts`, `src/zone-rules.ts`, `src/legacy.ts` and `src/templates/` are the robotics dialect's tooling: deterministic text drafting and the model prompt/answer validation, rendering, the glasses bridge, the 0.2 input shape (deprecated), and the two shipped templates. — 2026-10-19
- `src/draft.ts`, `src/render.ts`, `src/glasses.ts`, `src/zone-rules.ts`, `src/legacy.ts` and `src/templates/` are all `/3`-only doors. — 2026-10-19
- `src/index.ts` holds the public exports (engine, adapter, reference harness) and `DomainRulesBuilder`. — 2026-10-19
- `spec/` holds JSON Schemas, draft 2020-12: the `/3` set and `governance-{rulebook,request,decision,plan,approval,backtest}.schema.json` and `tool-call.schema.json`. — 2026-10-19
- `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client: true` marks the client subset), `rulebooks/` (`tiny`, `shared`, `grocery`, `signed`; `desk`, `desk-signed`, `desk-mission`), `compare.mjs` (the judging rules, deep semantic equality, `matches` soundness, `enforcement`), `run-node.mjs` (`--client`), `validate-schemas.mjs` (every case against `spec/`, plus inputs each schema must reject) and `generate.ts`. — 2026-10-19
- `authority-override` is named and has no effect. — 2026-10-19
- `acceptance/invoice-reconciliation/` holds the engine-independent scenario: `rules.json`, `plan.json`, `transcript.jsonl` (28 calls with hand-authored verdicts), `expectations.md`, `run.ts` (through `govern` and a harness written for that business), `backtest.ts` (the log under the current and a proposed rulebook) and `generate.ts`. — 2026-10-19
- In `acceptance/invoice-reconciliation/`, the fixture is the contract, and `run.ts` never edits it. — 2026-10-19
- `test/domain-rules.test.ts` has one test per `/3` behaviour, plus the seeded exactness test. — 2026-10-19
- `test/tool-call-adapter.test.ts` tests the adapter, including the concurrent-reservation proof. — 2026-10-19
- `test/conformance.test.ts` runs every case. — 2026-10-19
- `test/z3-crosscheck.test.ts` agrees with Z3 on every generated pair, and z3-solver is a devDependency only. — 2026-10-19
- `examples/` holds robotics examples: `grocery-store.ts`, `warehouse.ts`, `clinic.ts`, `demo.ts`, `harness/` (volumes adapter, the robot replay, the planner replay), `backtest/` (the sample site, a synthetic week), `mcp/` (a `/3` MCP server, its own package) and `legacy-store-0.2.ts`. — 2026-10-19
- `docs/provenance/` records how the engine came to be: `PROVENANCE.md` (the byte-for-byte copy from robot-domain-rules) and `robot-domain-rules-CHANGELOG.md` (0.1–0.5.3). — 2026-10-19
- The design record is SPEC.md § 16.12, and the cut record is CHANGELOG.md. — 2026-10-19
- A tool, scope, role, fact, limit, authority or trusted key in `/1`, or an action, area, role, fact, limit, authority or trusted key in `/3`, is declared in the input with no code change. — 2026-10-19
- Approvals must hold what `wait.by` names. — 2026-10-19
- A `/1` builtin check touches `src/model.ts` (`GOVERNANCE_BUILTIN_CHECKS`, the dialect), `src/evaluate.ts` (where in the order it runs, the order being normative per SPEC.md § 6 and § 16.4–16.5), `spec/governance-rulebook.schema.json` (`builtin`), the regenerated `desk*` rulebooks, SPEC.md § 16.1's table and a `d` case per outcome. — 2026-10-19
- A rejection code touches `src/types.ts`, `src/evaluate.ts` (`approvalBound1`, the order of checks being the order of the table in § 16.6), `spec/governance-decision.schema.json` and a `d3` case. — 2026-10-19
- An adapter check touches `adapters/tool-call/index.ts` (`ADAPTER_CHECKS`, `setBy: "adapter"`, never in a rulebook), the § 16.9 table and a `d6` case with `executed: false`. — 2026-10-19
- A mission entry kind touches `src/governance.ts` (`validateMission`, `compileMission`, compiling to rules the engine already has — deny, wait, history, plan rules — never to new semantics), `spec/governance-plan.schema.json`, the § 16.7 table and `d5` cases including one showing it cannot loosen. — 2026-10-19
- A fact type or condition operator in both formats touches `types.ts`, then `vocabulary.ts` (`factProblem`, `validateCondition`, `conditionHolds`, and a constraint with exact `intersect`, `isSubset`, `isEmpty` and `witnessValue`), `render.ts`, `draft.ts`, SPEC.md § 3.2, § 7.1 and § 7.4, conformance cases proving overlap is still exact, and `test/z3-crosscheck.test.ts` so Z3 keeps agreeing. — 2026-10-19
- An effect or plan-rule kind in both formats touches `types.ts`, `compile.ts` (`validateEffects` / `validatePlanRule`), `plan.ts`, `render.ts`, `model.ts` (`planRuleIn/Out`), `spec/common.schema.json`, SPEC.md § 2.1 / § 3.5 / § 12 and § 16.1, and cases in `plans.json` and `d5-plans.json`. — 2026-10-19
- A `/3` template is `src/templates/<id>.ts` exporting a `Template` (the first option of every question is the safe one; each question names its `setBy`), registered in `src/templates/index.ts`, with an example and one test. — 2026-10-19
- A `/3` text pattern is `draft.ts` only, deterministic, keeping `unmatched` honest. — 2026-10-19
- A harness for a real deployment implements `Harness` (`adapters/tool-call/index.ts`) over your stores, keeping `reserve` and `consumed.claim` atomic (a transaction or a conditional insert), implementing `reconcile` for uncertain outcomes, keeping `facts`/`derive` yours, never letting the requester's payload reach `facts` except through declared `args`, and proving it with the `d6` cases through `harnessFromData`'s shape or with your own tests. — 2026-10-19
- `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- A mission has no `allow`. — 2026-10-19
- `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 2026-10-19
- `npm run build` runs tsup to dist/ in esm, cjs and d.ts. — 2026-10-19
- `npm run conformance` runs `node conformance/run-node.mjs` over every case against dist/ with no framework, and `--client` for the client subset. — 2026-10-19
- `npm run conformance:schemas` checks every case input and reference output against spec/*.schema.json and needs dist/. — 2026-10-19
- `npm run acceptance` runs the invoice scenario through govern and the reference harness, 28/28 or a non-zero exit. — 2026-10-19
- `npm run acceptance:backtest` runs the scenario's recorded log under the current and the proposed rulebook. — 2026-10-19
- `npm run demo` runs `tsx examples/demo.ts`, and `-- --json` writes `<site>.rules.json`. — 2026-10-19
- `npm run replay && npm run plan-replay && npm run backtest` run the robotics replays and the synthetic-week backtest. — 2026-10-19
- `npm pack --dry-run` shows what ships per package.json "files". — 2026-10-19
- Releases are never `npm publish` from a machine: only `.github/workflows/publish.yml` publishes, over npm trusted publishing with OIDC (trusted publisher owner NeuroverseOS, repository neuroverseos-governance, workflow publish.yml, no token, no secret). — 2026-10-19
- A delegate's authority never grows. — 2026-10-19
- Running the publish workflow is the founder's to do. — 2026-10-19
- `cd examples/mcp && npm install && npm run typecheck` typechecks the MCP example. — 2026-10-19
- Typecheck, test, build, the conformance runner, the schema validation, the acceptance scenario and its backtest are to be run before saying a change is done, and `.github/workflows/ci.yml` runs all of them and `npm pack --dry-run`. — 2026-10-19
- The MCP example's typecheck is to be run if `examples/mcp/` or anything it imports was touched. — 2026-10-19
- `npm run conformance:generate` rewrites the case files from the implementation, so the diff is to be read, and a `/3` case whose bytes changed is a regression to report, not a change to commit. — 2026-10-19
- Explicit paths are staged (`git add <path>`), never `-A`, `-u` or `.`, and `git diff --cached --name-only` is read before every commit. — 2026-10-19
- An existing test file is extended, and new test files and CI workflows need to be asked for. — 2026-10-19
- A `/3` behaviour that robot-domain-rules 0.5.3 has is not changed here without an erratum line in SPEC.md § 11 and pinned cases, and only additively. — 2026-10-19
- The upstream repository is never edited from here. — 2026-10-19
- No model call and no paid API is allowed anywhere in `src/`, `adapters/`, `conformance/`, `acceptance/` or `test/`. — 2026-10-19
- AI writes and proposes while the rulebook decides: no model and no clock in `evaluate.ts`, `plan.ts`, `check.ts`, `compile.ts`, `governance.ts` or `backtest.ts`. — 2026-10-19
- The project is not a judge of text: nothing reads the model's message, intent or reasoning, and a classifier's verdict may enter only as a derived fact the harness computes, never computed here. — 2026-10-19
- The project is not a store, a clock, a ledger or a live feed for production: the reference harness's in-memory `SpendLedger`, `NonceSet` and `HistoryStore` are the contract's shape, not a product; facts, `history`, `now` and `consumedApprovals` arrive in the request, the arithmetic is the harness's, a plan's clock is the plan's, and a backtest's times come from its log. — 2026-10-19
- The project does not do area geometry, localisation, membership, people counting, identity, sensors or maps; the surrounding system owns that. — 2026-10-19
- The project is not an explanation of why things happened: a backtest applies rules to recorded requests and reports the decisions, and reading evidence across sources is for an evidence system. — 2026-10-19
- The project is not a planner: `evaluatePlan` checks a plan it is handed and `compileMission` tightens a rulebook for one, and neither searches for a plan. — 2026-10-19
- There is no model call anywhere in the core; `buildRuleDraftPrompt` / `parseRuleDraft` are the whole model surface. — 2026-10-19
- The project is not a key store or HTTP service: key custody is the deployment's, and expiry is in the approval and judged against the caller's `now`. — 2026-10-19
- 1.0 ships no CLI (`bin` is absent), and if one returns it is built on the one evaluator and the adapter and asked for first. — 2026-10-19
- There is no second evaluator or second decision path: a new format is a dialect in `src/model.ts` and gated steps in the one evaluator, or it is not built. — 2026-10-19
- The structured `then` decides, never prose. — 2026-10-19
- A draft's `setBy` comes from the caller, never from the model. — 2026-10-19
- A plan is checked step by step on projected facts and by `planRules`, and is never written in the engine. — 2026-10-19
- The model's text about its intent is not an input anywhere. — 2026-10-19
- Both formats are decided by one `evaluate`, one `evaluatePlan`, one conflict check and one backtest, through the dialect table in `src/model.ts`. — 2026-10-19
- Unknown means no, and a missing fact is never a yes. — 2026-10-19
- The `/3` checks are `required_facts`, `area_declared`, `role_declared`, `role_permits_action` and `unknown_action`. — 2026-10-19
- The `/1` checks are `required_facts`, `args_wellformed`, `scope_declared`, `role_declared`, `scope_permits_tool`, `role_permits_tool`, `unknown_tool` and `delegation_exceeds_authority`. — 2026-10-19
- Only declared defaults are filled in. — 2026-10-19
- History is the caller's, and a rule that needs it and does not get it refuses. — 2026-10-19
- A projected fact out of range refuses, never clamps. — 2026-10-19
- An undeclared, missing, mistyped or doubly-supplied argument is `args_wellformed` before any rule is weighed. — 2026-10-19
- Every decision explains itself with `reasons`, `trace`, `setBy`, `limits`, `then` and `fingerprint`. — 2026-10-19
- RFC 8785 canonical JSON and the SHA-256 fingerprint over UTF-8, with findings excluded, are reproduced byte for byte. — 2026-10-19
- A `/1` PAUSE that rejected approvals carries `approvalsRejected: [{ id, nonce?, code, reason }]` — those four members and nothing else, never the approval, its signature or key material. — 2026-10-19
- The robotics dialect is robot-domain-rules 0.5.3 unchanged, and its 261 conformance cases are byte for byte the published ones. — 2026-10-19
- Waiting has two meanings: approval waits return `approvalRequests` and are cleared by a sufficient approval, while condition waits are cleared only by facts. — 2026-10-19
- With `trustedKeys` declared, only the verified handle `verifyApproval` returned counts, and a `verified` member in request data is ignored. — 2026-10-19
- A verified approval is bound to the rule and the rulebook fingerprint, and for `/3` to the participant, action and area, or for `/1` to the principal, participant, tool, scope and `fingerprint(args)`. — 2026-10-19
- A verified approval must be valid at `request.now` and carry a nonce not in `consumedApprovals`. — 2026-10-19
- An approval clears that wait only, each approval clears at most one wait, and a plan consumes nonces step by step. — 2026-10-19
- A rejected approval is a PAUSE with a code, never a BLOCK. — 2026-10-19
- Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- Conflicts are surfaced, never quietly resolved. — 2026-10-19
- There are eight finding kinds, and `unmatched_selector` is on one rule with no witness. — 2026-10-19
- The conflict check is exact for the rule language on reachable requests, with a `witness` on every certain finding between two rules, in the rulebook's own words (tools and scopes for `/1`). — 2026-10-19
- A change that alters any of the 261 robotics conformance cases is a regression unless SPEC.md § 11 gets an erratum line and the change is additive. — 2026-10-19
- "Possible" is used only for history conditions. — 2026-10-19
- Compile never hides findings, and `validateRulebook` re-derives them. — 2026-10-19
- The Z3 cross-check in `test/z3-crosscheck.test.ts` must keep agreeing on every pair. — 2026-10-19
- One law applies to everyone: robots, people and agents, both formats, through one `evaluate`. — 2026-10-19
- Selectors work by ID, kind, tag and exclusion. — 2026-10-19
- Area and scope role limits are re-derived never rules. — 2026-10-19
- A subagent may use a tool only if its own role and every role in the chain list it. — 2026-10-19
- A mission binds delegates with `who: "*"`. — 2026-10-19
- Rules say what may happen and evidence says what is true: facts are trusted, and this is not a safety system and not a judge of text, per BOUNDARY.md. — 2026-10-19
- The adapter runs the executor only on ALLOW or LIMIT, with the limits. — 2026-10-19
- PRINCIPLES.md is the contract, and each principle is enforced by conformance cases in both formats. — 2026-10-19
- Anything that fails before the executor is a BLOCK with nothing run, and the reservation and nonce claims are given back. — 2026-10-19
- Every nonce the decision used is claimed atomically via `consumed.claim` before the executor, so two concurrent calls with one approval cannot both run. — 2026-10-19
- Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harness.reconcile` told, never a release and never an un-consume. — 2026-10-19
- The arithmetic behind a cumulative limit (reserve, commit, release) is the harness's, and the engine only compares. — 2026-10-19
- Rulebooks are deep-frozen all the way down and detached from their input. — 2026-10-19
- Bad config throws `DomainRulesError`, while a bad request or plan never throws (SPEC.md § 15). — 2026-10-19
- 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. — 2026-10-19
- The `/3`-only doors (glasses, render, draft, templates, `legacy.ts`, `compileDomain`) refuse `/1`. — 2026-10-19
- `compileMission` and the adapter refuse `/3`. — 2026-10-19
- A `/3` approval at a `/1` rulebook and the reverse are rejected by `spec`. — 2026-10-19
- Any change that breaks a principle is a bug, not a redesign. — 2026-10-19
- The glasses bridge only tightens. — 2026-10-19
- `normalizeRulebook` returns a `/3` rulebook as the same object, so the robotics path runs the code it always ran. — 2026-10-19
- `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. — 2026-10-19
- `src/legacy.ts` (the 0.2 robotics input shape) is deprecated: carried unchanged in 1.0 and to be removed at 1.1 together with its tests, its example (`examples/legacy-store-0.2.ts`) and its cases. — 2026-10-19
- `src/legacy.ts` is not to be extended. — 2026-10-19
- A change that alters what `evaluate`, `evaluatePlan`, `verifyAndEvaluate`, `verifyAndEvaluatePlan`, `matchingRules`, `missingFacts`, `bindArgs`, `check`/`checkRulebook`, `validateRulebook`, `compileGovernance`, `compileMission`, `fingerprint`, `backtest`, `compareBacktests`, `govern` or the approval functions return for any input needs a case in `conformance/`. — 2026-10-19
- The case is added to `conformance/generate.ts` in the function for its principle or its `d` file, with the intent stated by hand (status, reason rule IDs with authorities, finding kinds, rejection codes, `executed`, or `error`). — 2026-10-19
- `npx tsx conformance/generate.ts` is run, and it refuses to write a case the implementation does not meet. — 2026-10-19
- The JSON diff is read, and a `/3` case whose bytes changed is a finding to report, not a diff to accept. — 2026-10-19
- `npm test` is run. — 2026-10-19
- Every rule carries a declared authority: `source` and `setBy` on every rule, and the engine invents nothing. — 2026-10-19
- SPEC.md is updated in the same change. — 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). — 2026-10-19
- An addition that widens what a valid input may say and changes no existing output is an erratum line in § 11 with its pinned cases. — 2026-10-19
- The `/1` request (SPEC.md § 16.3) is `{ principal: { id }, participant: { id, kind, roleId, delegatedBy? }, delegation?: [{ id, roleId }], tool, scope, args?, facts: { ...harness facts, approvedBy? }, history?: [{ tool, scope, at }], now?, consumedApprovals? }`. — 2026-10-19
- `args` is the payload as the adapter parsed it; its declared fields become facts (§ 16.4), and everything else is the harness's. — 2026-10-19
- The `/1` decision is as `/3` with `approvalRequests[] = { ruleId, by?, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, reason, setBy }` and `approvalsRejected?`. — 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). — 2026-10-19
- The `/1` signed approval (`neuroverse-governance-approval/1`) is `{ spec, id, authority?, roleId?, ruleId, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, nonce, issuedAt, expiresAt, keyId, signature }`. — 2026-10-19
- A Mission (`neuroverse-governance-plan/1`, § 16.7) is `{ format, id, objective, permitsRuleId?, permits: [{ id?, tool, scopes? }], approvals?: [{ id?, tool, scopes?, by }], order?: [{ id?, first, then }], atMost?: [{ id?, tools, count }], requires?: [{ id?, tools }] }`. — 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"`. — 2026-10-19
- A rule from an agent or a system is weighed by `setBy`, never by who wrote it. — 2026-10-19
- The Adapter (§ 16.9) is `govern(call, session, harness, executor) → Governed { status, executed, decision, request?, result?, error?: { stage, message }, callId? }`. — 2026-10-19
- The adapter checks are `setBy: "adapter"`, never in a rulebook: `tool_call_malformed`, `harness_failed`, `evaluation_failed`. — 2026-10-19
- The reference harness is in-memory (`SpendLedger.reserve(bucket, amount) → { projected, commit, release }`, `NonceSet`, `HistoryStore`), and production replaces the stores and keeps the contract. — 2026-10-19
- The `/3` request is `{ participant: { id, kind, roleId }, action, areaId, facts, history?: [{ action, areaId, at }], now?, consumedApprovals? }`. — 2026-10-19
- The `/3` decision is `{ status, reasons, limits?, then?, approvalRequests?, approvalsUsed?, trace, fingerprint }`, with strictest wins (`BLOCK` > `PAUSE` > `LIMIT` > `ALLOW`, SPEC.md § 6). — 2026-10-19
- In the Plan (§ 12), `plan_area_continuity` is `/3`-only and a `/1` step lands in its own scope. — 2026-10-19
- The `/3` signed approval is `robot-domain-rules-approval/3` (§ 9). — 2026-10-19
- A Rule is `{ id, text, who, does, where, when?, history?, then, reason?, source, setBy, never? }`, and a plan rule has `check.kind ∈ ends_in | ends_with | before | at_most | at_least`. — 2026-10-19
- A Finding is `{ kind, severity, ruleIds, certainty, witness?, message }`. — 2026-10-19
- `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `byScope`), and `compareBacktests(baseline, proposed)` compares two reports. — 2026-10-19
- A mission's rules carry the authority `plan`, below every declared one. — 2026-10-19
- `src/types.ts` is to be read first, for every type in both formats (`Governance*` types beside the `/3` ones). — 2026-10-19
- `src/model.ts` holds the dialect table (`DOMAIN_DIALECT`, `GOVERNANCE_DIALECT`), `normalizeRulebook` (a `/3` rulebook is returned as itself; a `/1` rulebook is viewed with tools as actions and scopes as areas), the builtin lists, and the in/out renamers for rules, history conditions, plan rules, witnesses and compile inputs. — 2026-10-19
- `src/version.ts` and `src/verified.ts` hold the one refusal every door gives another format (`Accepts: 'any' | 'domain' | 'governance'`) and the verified-approval registry (object identity, never a flag). — 2026-10-19
- `src/vocabulary.ts` holds selectors, fact validation, conditions, and the exact constraint sets the conflict check uses. — 2026-10-19
- `src/compile.ts` turns input into a rulebook: templates, validation, role inheritance, area/scope never rules, `validateRule`, `validateRulebook` (which re-derives the never rules and the findings for both formats), and freezing. — 2026-10-19
- `src/governance.ts` holds `compileGovernance` (the `/1` input through the same assembler and check, the `/1`-only declarations validated, the body renamed back and fingerprinted), `governanceInputOf`, `compileMission`, `validateMission` and `PLAN_AUTHORITY`. — 2026-10-19
- `src/canonical.ts` holds RFC 8785 canonical JSON (lone surrogates and non-JSON values refused), pure SHA-256 and `fingerprint` — what other languages reproduce. — 2026-10-19
- `src/evaluate.ts` turns one request into one decision for both formats, covering shape (`shapeProblems`: principal, delegation), `bindArgs` (step 1b), the delegation walk (step 4b), approval binding for `/3` (`approvalBound3`) and `/1` (`approvalBound1`, the rejection codes), sufficiency and history conditions, and provides `matchingRules` and `missingFacts` for witnesses and the backtest. — 2026-10-19
- `src/plan.ts` turns one plan into one evaluation: effects projected step by step, plan rules (`at_most`, `at_least`, …), approvals consumed step by step, and a `/1` step in its own scope. — 2026-10-19
- `src/check.ts` is the conflict check: exact overlap on reachable requests with a witness, classification, unmatched selectors, plain-English messages in the rulebook's own words, and plan-rule duplicates. — 2026-10-19
## Who, where and what
Things: [[Bevia/World/Things/--client|--client]], [[Bevia/World/Things/-files-|"files"]], [[Bevia/World/Things/{ id, text, who, does, where, when-, history-, then, reason-, source, setBy, nev|{ id, text, who, does, where, when?, history?, then, reason?, source, setBy, nev]], [[Bevia/World/Things/{ kind, severity, ruleIds, certainty, witness-, message }|{ kind, severity, ruleIds, certainty, witness?, message }]], [[Bevia/World/Things/{ participant- { id, kind, roleId }, action, areaId, facts, history-- [{ action,|{ participant: { id, kind, roleId }, action, areaId, facts, history?: { action,]], [[Bevia/World/Things/{ status, reasons, limits-, then-, approvalRequests-, approvalsUsed-, trace, fin|{ status, reasons, limits?, then?, approvalRequests?, approvalsUsed?, trace, fin]], [[Bevia/World/Things/`-A`|`-A`]], [[Bevia/World/Things/`-u`|`-u`]], [[Bevia/World/Things/`.github-workflows-ci.yml`|`.github/workflows/ci.yml`]], [[Bevia/World/Things/`acceptance-`|`acceptance/`]], [[Bevia/World/Things/`ADAPTER_CHECKS`|`ADAPTER_CHECKS`]], [[Bevia/World/Things/`adapters-`|`adapters/`]], [[Bevia/World/Things/`adapters-tool-call-index.ts`|`adapters/tool-call/index.ts`]], [[Bevia/World/Things/`approvalBound1`|`approvalBound1`]], [[Bevia/World/Things/`args`|`args`]], [[Bevia/World/Things/`bin`|`bin`]], [[Bevia/World/Things/`buildRuleDraftPrompt`|`buildRuleDraftPrompt`]], [[Bevia/World/Things/`builtin`|`builtin`]], [[Bevia/World/Things/`compile.ts`|`compile.ts`]], [[Bevia/World/Things/`compileMission`|`compileMission`]], [[Bevia/World/Things/`conditionHolds`|`conditionHolds`]], [[Bevia/World/Things/`conformance-`|`conformance/`]], [[Bevia/World/Things/`consumed.claim`|`consumed.claim`]], [[Bevia/World/Things/`consumedApprovals`|`consumedApprovals`]], [[Bevia/World/Things/`d`|`d`]], [[Bevia/World/Things/`d3`|`d3`]], [[Bevia/World/Things/`d5-plans.json`|`d5-plans.json`]], [[Bevia/World/Things/`d5`|`d5`]], [[Bevia/World/Things/`d6`|`d6`]], [[Bevia/World/Things/`derive`|`derive`]], [[Bevia/World/Things/`desk-`|`desk*`]], [[Bevia/World/Things/`draft.ts`|`draft.ts`]], [[Bevia/World/Things/`evaluatePlan`|`evaluatePlan`]], [[Bevia/World/Things/`examples-mcp-`|`examples/mcp/`]], [[Bevia/World/Things/`executed- false`|`executed: false`]], [[Bevia/World/Things/`factProblem`|`factProblem`]], [[Bevia/World/Things/`facts`|`facts`]], [[Bevia/World/Things/`git add -path-`|`git add <path>`]], [[Bevia/World/Things/`git diff --cached --name-only`|`git diff --cached --name-only`]], [[Bevia/World/Things/`GOVERNANCE_BUILTIN_CHECKS`|`GOVERNANCE_BUILTIN_CHECKS`]], [[Bevia/World/Things/`Harness`|`Harness`]], [[Bevia/World/Things/`harnessFromData`|`harnessFromData`]], [[Bevia/World/Things/`history`|`history`]], [[Bevia/World/Things/`HistoryStore`|`HistoryStore`]], [[Bevia/World/Things/`intersect`|`intersect`]], [[Bevia/World/Things/`isEmpty`|`isEmpty`]], [[Bevia/World/Things/`isSubset`|`isSubset`]], [[Bevia/World/Things/`model.ts`|`model.ts`]], [[Bevia/World/Things/`NonceSet`|`NonceSet`]], [[Bevia/World/Things/`now`|`now`]], [[Bevia/World/Things/`npm pack --dry-run`|`npm pack --dry-run`]], [[Bevia/World/Things/`npm publish`|`npm publish`]], [[Bevia/World/Things/`npm run conformance-generate`|`npm run conformance:generate`]], [[Bevia/World/Things/`parseRuleDraft`|`parseRuleDraft`]], [[Bevia/World/Things/`plan.ts`|`plan.ts`]], [[Bevia/World/Things/`planRuleIn-Out`|`planRuleIn/Out`]], [[Bevia/World/Things/`plans.json`|`plans.json`]], [[Bevia/World/Things/`reconcile`|`reconcile`]], [[Bevia/World/Things/`render.ts`|`render.ts`]], [[Bevia/World/Things/`reserve`|`reserve`]] …and 328 more
## Connections to other sources
- **Same point** — Both say the conflict check is exact for the rule language and reports a witness on certain findings.
- Here: The conflict check is exact for the rule language on reachable requests, with a `witness` on every certain finding between two rules, in the rulebook's own wor… — 2026-10-19
- There: The conflict analysis is exact for the rule language: two rules are reported as able to meet if and only if some lawful request matches both, so a finding is n… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both describe exact conflict detection with a witness request on every certain finding.
- Here: The conflict check is exact for the rule language on reachable requests, with a `witness` on every certain finding between two rules, in the rulebook's own wor… — 2026-10-19
- There: Two rules are reported as able to meet if and only if some lawful request matches both, with a witness request on every certain finding. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both state the analysis is exact/complete: rules are reported if and only if some lawful request matches both.
- Here: The conflict check is exact for the rule language on reachable requests, with a `witness` on every certain finding between two rules, in the rulebook's own wor… — 2026-10-19
- There: The analysis is complete for that question: two rules are reported if and only if some lawful request matches both. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both describe the same dialect table and normalizeRulebook behavior in the model file.
- Here: `src/model.ts` holds the dialect table (`DOMAIN_DIALECT`, `GOVERNANCE_DIALECT`), `normalizeRulebook` (a `/3` rulebook is returned as itself; a `/1` rulebook is… — 2026-10-19
- There: One evaluator (`src/model.ts`) has a dialect table (`DOMAIN_DIALECT`, `GOVERNANCE_DIALECT`) and `normalizeRulebook`; a `/3` rulebook is returned as the same ob… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both name neuroverse-governance/1 as the general contract for AI agents calling tools.
- Here: `neuroverse-governance/1` is the general contract for AI agents calling tools in scopes under a principal's authority, per SPEC.md § 16. — 2026-10-19
- There: The general contract for AI agents calling tools is spec neuroverse-governance/1. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Emerging** — One names the contract; the other spells out its participant, tool, scope, principal and delegation details.
- Here: `neuroverse-governance/1` is the general contract for AI agents calling tools in scopes under a principal's authority, per SPEC.md § 16. — 2026-10-19
- There: The `neuroverse-governance/1` format has a participant (an AI agent) call a `tool` in a `scope` under a `principal`'s authority, with `args` bound to declared… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Emerging** — Both describe the same contract, with one adding mission, approvals and enforcing adapter details.
- Here: `neuroverse-governance/1` is the general contract for AI agents calling tools in scopes under a principal's authority, per SPEC.md § 16. — 2026-10-19
- There: § 16 is the general contract neuroverse-governance/1, in which a participant (an AI agent) calls a tool in a scope under a principal's authority, with argument… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say the design record was folded into SPEC.md § 16.12 and kept in history.
- Here: The design record is SPEC.md § 16.12, and the cut record is CHANGELOG.md. — 2026-10-19
- There: The stage design note (`DESIGN-digital.md`) and the cut plan (`CUT-PLAN.md`) are folded into SPEC.md § 16.12 and this entry, and both are in this repository's… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both say the design note was folded into SPEC.md § 16.12 and preserved in git history.
- Here: The design record is SPEC.md § 16.12, and the cut record is CHANGELOG.md. — 2026-10-19
- There: `SPEC.md` § 16 and § 11 errata were changed, `DESIGN-digital.md` was folded into SPEC.md § 16.12 in slice 8 with the note itself in git history, and this file… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Echoes** — Both describe the spec and related docs being updated together to match changes.
- Here: SPEC.md is updated in the same change. — 2026-10-19
- There: `SKILL.md`, `README.md`, the cheat sheet, the skill's own rulebook, and the plugin/marketplace descriptions were updated to match. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #146 govern-my-chatbot- run on @neuroverseo|NeuroverseOS/Neuroverseos-governance #146 govern-my-chatbot: run on @neuroverseo]] — 2026-09-28
- **Emerging** — One states the backtest signature; the other adds the report structure and the comparison function.
- Here: `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `by… — 2026-10-19
- There: backtest(rulebook, events, options?) replays a recorded log — [{ at, request, outcome? }] in time order — through a rulebook and reports what it would have dec… — 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 backtest and compareBacktests returning a report and a comparison.
- Here: `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `by… — 2026-10-19
- There: backtest(rulebook, events, options?) returns a BacktestReport and compareBacktests(baseline, proposed) returns a BacktestComparison, per spec/backtest.schema.j… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both describe governing tool calls by AI agents under a principal's authority via neuroverse-governance/1.
- Here: `neuroverse-governance/1` is the general contract for AI agents calling tools in scopes under a principal's authority, per SPEC.md § 16. — 2026-10-19
- There: NeuroverseOS governs tool calls by AI agents under a principal's authority (`neuroverse-governance/1`) and task permissions for robots and people with glasses… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- RELATED-WORK|NeuroverseOS/Neuroverseos-governance: RELATED-WORK]] — 2026-10-18
- **Same point** — Both say only the publish workflow publishes to npm via trusted publishing over OIDC with provenance and no token or secret.
- Here: Releases are never `npm publish` from a machine: only `.github/workflows/publish.yml` publishes, over npm trusted publishing with OIDC (trusted publisher owner… — 2026-10-19
- There: A new publish workflow for npm trusted publishing over OIDC with provenance is founder-authorized and drafted, and the workflow must not run until the trusted… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #153 CI- publish workflow for npm trusted p|NeuroverseOS/Neuroverseos-governance #153 CI: publish workflow for npm trusted p]] — 2026-10-18
- **Same point** — Both say publish.yml is the only way to publish, over trusted publishing with OIDC, no token and no secret.
- Here: Releases are never `npm publish` from a machine: only `.github/workflows/publish.yml` publishes, over npm trusted publishing with OIDC (trusted publisher owner… — 2026-10-19
- There: `.github/workflows/publish.yml` is added as the one way a release reaches npm, through npm trusted publishing over OIDC with provenance, with no token, no secr… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #153 CI- publish workflow for npm trusted p|NeuroverseOS/Neuroverseos-governance #153 CI: publish workflow for npm trusted p]] — 2026-10-18
- **Same point** — Both say releases go only through the publish workflow via trusted publishing over OIDC with no token or secret.
- Here: Releases are never `npm publish` from a machine: only `.github/workflows/publish.yml` publishes, over npm trusted publishing with OIDC (trusted publisher owner… — 2026-10-19
- There: Releases publish only through the publish workflow (.github/workflows/publish.yml): npm trusted publishing over OIDC with provenance, with no token, no secret,… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both identify the trusted publisher as owner NeuroverseOS, repository neuroverseos-governance, workflow publish.yml.
- Here: Releases are never `npm publish` from a machine: only `.github/workflows/publish.yml` publishes, over npm trusted publishing with OIDC (trusted publisher owner… — 2026-10-19
- There: The trusted publisher registered on npm is owner NeuroverseOS, repository neuroverseos-governance, workflow publish.yml. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both say a /3-only door refuses /1, and a /3 rulebook at a /1-only door (or /1 approval at /3) is refused by name.
- Here: The `/3`-only doors (glasses, render, draft, templates, `legacy.ts`, `compileDomain`) refuse `/1`. — 2026-10-19
- There: A /3 rulebook at a /1-only door, or a /1 approval at a /3 rulebook, is refused by name. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both say mismatched /1 and /3 rulebooks and approvals are refused by name.
- Here: A `/3` approval at a `/1` rulebook and the reverse are rejected by `spec`. — 2026-10-19
- There: A /3 rulebook at a /1-only door, or a /1 approval at a /3 rulebook, is refused by name. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both describe the test directory containing core, adapter, Z3 cross-check and conformance tests.
- Here: `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- There: The test/ directory holds core tests, the Z3 cross-check, the tool-call adapter tests, and the conformance runner. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both describe the test suite covering core, adapter, Z3 cross-check and conformance cases.
- Here: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 2026-10-19
- There: The test/ directory holds core tests, the Z3 cross-check, the tool-call adapter tests, and the conformance runner. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both say the build produced dist/ with esm, cjs and d.ts outputs.
- Here: `npm run build` runs tsup to dist/ in esm, cjs and d.ts. — 2026-10-19
- There: `npm run build` produced dist/ with esm, cjs and d.ts. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #165 Dev dependencies- vitest 5, tsup 9, ty|NeuroverseOS/Neuroverseos-governance #165 Dev dependencies: vitest 5, tsup 9, ty]] — 2026-10-19
- **Same point** — Both report a successful build producing the esm, cjs and d.ts bundles.
- Here: `npm run build` runs tsup to dist/ in esm, cjs and d.ts. — 2026-10-19
- There: `npm run build` succeeded: `dist/index.js` 190.79 KB, `dist/index.cjs` 194.26 KB, `dist/index.d.ts` 77.32 KB. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Same point** — Both describe the backtest command running the log under current and proposed rulebooks.
- Here: `npm run acceptance:backtest` runs the scenario's recorded log under the current and the proposed rulebook. — 2026-10-19
- There: `npm run acceptance:backtest` runs the same recorded log through the rulebook and through a proposed change (a cap of 750 instead of 500), and shows what that… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both say an approval wait's by field names who may approve.
- Here: Approvals must hold what `wait.by` names. — 2026-10-19
- There: The outcome `{ answer: "wait", for: "approval", by? }` means a person (or key) holding `by` must approve this request; `by` is an authority ID (that authority… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say the wait's by names who may approve, an authority or higher, a role, or a role tag.
- Here: Approvals must hold what `wait.by` names. — 2026-10-19
- There: `wait { for: 'approval', by }` names who may approve: an authority or higher, a role, or a role tag. — 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 approval clears only its own wait and at most one wait.
- Here: An approval clears that wait only, each approval clears at most one wait, and a plan consumes nonces step by step. — 2026-10-19
- There: An approval clears only that rule's wait, and at most one wait. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both say each approval clears at most one wait.
- Here: An approval clears that wait only, each approval clears at most one wait, and a plan consumes nonces step by step. — 2026-10-19
- There: Each approval clears at most one wait. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say each approval clears at most one wait, so two waits need two approvals.
- Here: An approval clears that wait only, each approval clears at most one wait, and a plan consumes nonces step by step. — 2026-10-19
- There: Each approval clears at most one wait, so two waits need two approvals and one approval listed twice clears one. — 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 facts, now, history, scope, delegation chain and approvals must come from the harness, not the requester.
- Here: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- There: Everything else in the request — the scope or area, every fact, history, now, consumedApprovals, the delegation chain and the approvals — is assembled by the c… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both state the rule that facts come from the harness, never from the requester.
- Here: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- There: "Facts come from the harness, never from the requester" is integration rule #1. — 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 hold that facts come from the harness and the requester only states identity and intent.
- Here: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- There: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- examples-mcp-README|NeuroverseOS/Neuroverseos-governance: examples/mcp/README]] — 2026-10-18
- **Same point** — Both name the harness as the source of facts, scope, history and time rather than the requester.
- Here: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- There: The harness that stands between the model's proposal and the tool is the fact source: the scope the call lands in, the derived facts, the projected spend, the… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both say facts come from the harness, never from the model or requester.
- Here: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- There: The adapter stands between the model's tool call and the tool, and facts come from your harness, never from the model. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Emerging** — One states the rule; the other explains that the layer trusts the harness's facts because the harness is the fact source.
- Here: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- There: The layer takes as true the facts in the request, including the scope the harness resolved, the derived facts it computed, the projected spend it reserved, and… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Emerging** — One states the rule; the other adds that a layer letting the requester supply facts is out of scope.
- Here: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — 2026-10-19
- There: A trusted layer that lets the requester supply facts, or verifies approvals against the wrong keys, is out of scope: the evaluator cannot tell where a fact cam… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both describe the typecheck command succeeding, one by its definition and one by its exit code.
- Here: `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- There: npm run typecheck exits 0. — 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
- **Same point** — Both say the typecheck command runs and exits successfully.
- Here: `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- There: `npm run typecheck` exited 0. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #165 Dev dependencies- vitest 5, tsup 9, ty|NeuroverseOS/Neuroverseos-governance #165 Dev dependencies: vitest 5, tsup 9, ty]] — 2026-10-19
- **Same point** — Both report the typecheck command exiting 0.
- Here: `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- There: npm run typecheck exited 0. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #166 Release 1.0.0-rc.2|NeuroverseOS/Neuroverseos-governance #166 Release 1.0.0-rc.2]] — 2026-10-19
- **Same point** — Both describe running the project's test command.
- Here: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 2026-10-19
- There: Run `npm test`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Emerging** — The vitest config restricting tests to the test directory supports how the test command runs.
- Here: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 2026-10-19
- There: `vitest.config.ts` (slice 3b) was added with `defineConfig({ test: { dir: 'test' } })`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Same point** — Both identify the robotics dialect for actions in areas as spec robot-domain-rules/3.
- Here: `robot-domain-rules/3` is the robotics dialect of actions in areas, per SPEC.md § 1–15. — 2026-10-19
- There: The robotics dialect for actions in areas is spec robot-domain-rules/3. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Emerging** — The generalised engine keeps the robotics dialect unchanged alongside the new format.
- Here: `robot-domain-rules/3` is the robotics dialect of actions in areas, per SPEC.md § 1–15. — 2026-10-19
- There: The robot-domain-rules engine (0.5.3, commit ef13e19) is generalised into this repository as @neuroverseos/
[email protected], with one evaluator serving ne… — 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
- **Same point** — Both state that other-version rulebooks, fingerprints or approvals are refused by name and never reinterpreted.
- Here: 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… — 2026-10-19
- There: 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… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Same point** — Both say other-version rulebooks are refused by name at every door and never reinterpreted.
- Here: 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… — 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 describe explicit versions with other-version rulebooks refused and never reinterpreted, naming the migration.
- Here: 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… — 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 other-version rulebooks are refused at the evaluator, plan evaluator and other doors, not just validation.
- Here: 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… — 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 other-version formats with a message naming the version and migration at multiple doors.
- Here: 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… — 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
- **Disagree** — One says the robotics dialect is robot-domain-rules/3 while the other says /2.
- Here: `robot-domain-rules/3` is the robotics dialect of actions in areas, per SPEC.md § 1–15. — 2026-10-19
- There: The spec is robot-domain-rules/2. — 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 the backtest and compareBacktests functions taking a rulebook and request log.
- Here: `backtest(rulebook, events: [{ at, request, outcome? }])` (§ 13, § 16.11) returns a report with no free text and every list in a defined order (`byArea` or `by… — 2026-10-19
- There: `backtest(rulebook, events, options?)` and `compareBacktests` (§ 13) take a `/1` rulebook and a log of `/1` requests in the shape of `spec/governance-backtest.… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say a rejected approval is a PAUSE with approvalsRejected listing id, nonce, code and reason, and never the approval or key material.
- Here: A `/1` PAUSE that rejected approvals carries `approvalsRejected: [{ id, nonce?, code, reason }]` — those four members and nothing else, never the approval, its… — 2026-10-19
- There: A rejected approval is a PAUSE, never a BLOCK, with `approvalsRejected: [{ id, nonce?, code, reason }]` (codes `spec, unverified, rule, rulebook, principal, pa… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both describe a rejected approval as a PAUSE where approvalsRejected names each approval with its code and reason.
- Here: A `/1` PAUSE that rejected approvals carries `approvalsRejected: [{ id, nonce?, code, reason }]` — those four members and nothing else, never the approval, its… — 2026-10-19
- There: A rejected approval grants nothing and refuses nothing: the wait stays unmet, the status is PAUSE, a fresh approval request is returned, and approvalsRejected… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say a rejected approval is a PAUSE, never a BLOCK, and approvalsRejected explains why.
- Here: A `/1` PAUSE that rejected approvals carries `approvalsRejected: [{ id, nonce?, code, reason }]` — those four members and nothing else, never the approval, its… — 2026-10-19
- There: A rejected approval is a PAUSE, never a BLOCK (founder ruling): a bad approval grants nothing and refuses nothing, and `approvalsRejected` says why so a person… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say a rejected approval causes a wait (PAUSE) and the decision names each rejection with a code.
- Here: A `/1` PAUSE that rejected approvals carries `approvalsRejected: [{ id, nonce?, code, reason }]` — those four members and nothing else, never the approval, its… — 2026-10-19
- There: A rejected approval never blocks: the call waits (PAUSE) and the decision names each rejected approval with a code. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- acceptance-invoice-reconciliation-README|NeuroverseOS/Neuroverseos-governance: acceptance/invoice-reconciliation/README]] — 2026-10-18
- **Same point** — Both state a rejected approval is a PAUSE with a code, never a BLOCK.
- Here: A rejected approval is a PAUSE with a code, never a BLOCK. — 2026-10-19
- There: A rejected approval is a PAUSE, never a BLOCK, with `approvalsRejected: [{ id, nonce?, code, reason }]` (codes `spec, unverified, rule, rulebook, principal, pa… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both state a rejected approval is a PAUSE, never a BLOCK.
- Here: A rejected approval is a PAUSE with a code, never a BLOCK. — 2026-10-19
- There: A rejected approval is a PAUSE, never a BLOCK (founder ruling): a bad approval grants nothing and refuses nothing, and `approvalsRejected` says why so a person… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say a rejected approval is a PAUSE with a code rather than a block.
- Here: A rejected approval is a PAUSE with a code, never a BLOCK. — 2026-10-19
- There: A rejected approval never blocks: the call waits (PAUSE) and the decision names each rejected approval with a code. — 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 throw after invocation is an uncertain outcome with spend committed, nonces consumed, history appended and reconcile told.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: Once the executor has been invoked, a throw is an uncertain outcome: the spend is committed, the nonces stay consumed, the call is in history, outcome: "uncert… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both say a throw after invocation is an uncertain outcome with spend committed, nonces consumed, history appended and reconcile told.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: A throw after invocation is now an uncertain outcome: the reservation is committed (fail closed in the spend direction), nonces stay consumed, the call is appe… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance #154 Adapter- atomic approval claim and unc|NeuroverseOS/Neuroverseos-governance #154 Adapter: atomic approval claim and unc]] — 2026-10-19
- **Same point** — Both say a throw after invocation is an uncertain outcome with spend committed and nonces consumed.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: An executor that throws after being invoked is an uncertain outcome whose spend is committed and whose nonce stays consumed. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both say a throw after invocation is an uncertain outcome with spend committed and nonces consumed.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: A harness that fails is a refusal with nothing run, an executor that throws after being invoked is an uncertain outcome with its spend committed and its nonce… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both say a throw after invocation is an uncertain outcome with spend committed, nonces consumed, history appended and reconcile told.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: Once the executor has been invoked, a throw is an uncertain outcome, not a non-event: the side effect may have happened, so the adapter commits the reservation… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say an executor failure after invocation is an uncertain outcome with spend committed, nonce consumed, history appended and reconcile told.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: An executor that fails after being invoked is an uncertain outcome: the reservation is committed, the nonce stays consumed, the call is in history, the failure… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both say a throw after invocation is an uncertain outcome with spend committed and nonces consumed.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: A throw after invocation is an uncertain outcome: the reservation is committed (fail closed in the spend direction), the nonces stay consumed, and the call is… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both report executed true, outcome uncertain, error.stage executor and harness.reconcile told.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: The outcome reports `executed: true`, `outcome: "uncertain"`, `error.stage: "executor"`, and `harness.reconcile(request, error, ctx)` is told when the harness… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both describe an executor throw as outcome uncertain with executed true, error.stage executor, history appended, reconcile told and nonces consumed.
- Here: Once the executor has been invoked, a throw is an uncertain outcome with `outcome: "uncertain"`: spend committed, nonces consumed, history appended and `harnes… — 2026-10-19
- There: On a decision of ALLOW or LIMIT with nonces claimed and the executor throwing, the outcome is "uncertain", executed: true, error.stage: "executor", the call is… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both state that a subagent's tool is allowed only if its own role and every role in the chain list it.
- Here: A subagent may use a tool only if its own role and every role in the chain list it. — 2026-10-19
- There: A subagent may do only what its delegator could: a tool is permitted only if the acting role and every role in the harness-assembled chain list it, delegation_… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both state the same rule that a tool is permitted only if the acting role and every role in the chain list it.
- Here: A subagent may use a tool only if its own role and every role in the chain list it. — 2026-10-19
- There: Delegation is bounded (step 4b): a tool is permitted only if the acting role and every role in the chain list it, `delegation_exceeds_authority` names the firs… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both give the identical rule about a subagent's tool needing its own role and every role in the chain to list it.
- Here: A subagent may use a tool only if its own role and every role in the chain list it. — 2026-10-19
- There: A subagent may use a tool only if its own role and every role in the harness-assembled chain list it. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both list the same fields of the /1 request, including principal, participant, delegation, tool, scope, args, facts, history, now and consumedApprovals.
- Here: The `/1` request (SPEC.md § 16.3) is `{ principal: { id }, participant: { id, kind, roleId, delegatedBy? }, delegation?: [{ id, roleId }], tool, scope, args?,… — 2026-10-19
- There: The /1 request (spec/governance-request.schema.json) carries principal { id }, participant { id, kind, roleId, delegatedBy? }, delegation, tool, scope, args, f… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both describe refusal of a wrong-version rulebook with a message naming its version and migration.
- Here: 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… — 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
- **Echoes** — Both describe /3-only doors refusing /1 rulebooks, one listing the doors and one the evaluators.
- Here: The `/3`-only doors (glasses, render, draft, templates, `legacy.ts`, `compileDomain`) refuse `/1`. — 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 say the test file proves that two concurrent reservations cannot both pass.
- Here: `test/tool-call-adapter.test.ts` tests the adapter, including the concurrent-reservation proof. — 2026-10-19
- There: Two concurrent reservations cannot both pass, and `test/tool-call-adapter.test.ts` proves it. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- acceptance-invoice-reconciliation-README|NeuroverseOS/Neuroverseos-governance: acceptance/invoice-reconciliation/README]] — 2026-10-18
- **Same point** — Both describe the concurrent-reservation proof in the same test file.
- Here: `test/tool-call-adapter.test.ts` tests the adapter, including the concurrent-reservation proof. — 2026-10-19
- There: `test/tool-call-adapter.test.ts` includes the concurrent-reservation proof (two 300s against 400 remaining: the second is denied). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both describe plain-text drafting as deterministic and note that unmatched text is reported rather than turned into new rules.
- Here: A `/3` text pattern is `draft.ts` only, deterministic, keeping `unmatched` honest. — 2026-10-19
- There: Plain-text drafting is deterministic: `draftRuleFromText(text, rulebook, { setBy })` matches common forms against the rulebook's own names and synonyms and ret… — 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 a pre-executor failure is a BLOCK that runs nothing and returns the reservation and nonce claims.
- Here: Anything that fails before the executor is a BLOCK with nothing run, and the reservation and nonce claims are given back. — 2026-10-19
- There: Anything that fails before the executor is a BLOCK with nothing run, and the reservation and the nonce claims are given back. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both list the same approvalRequests fields (ruleId, by, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, reason, setBy) plus approvalsRejected.
- Here: The `/1` decision is as `/3` with `approvalRequests[] = { ruleId, by?, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, reason, setBy… — 2026-10-19
- There: A /1 Decision carries approvalRequests[] of { ruleId, by?, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, reason, setBy } and approv… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both list the same suite components: case files, rulebooks, compare.mjs, run-node.mjs, validate-schemas.mjs and generate.ts.
- Here: `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client… — 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 enumerate the same conformance contents including case files, rulebooks, compare.mjs, run-node.mjs, validate-schemas.mjs and generate.ts.
- Here: `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client… — 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 suite as language-neutral JSON cases with shared rulebooks, a framework-free runner and a generator.
- Here: `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client… — 2026-10-19
- There: conformance/ holds 144 language-neutral JSON cases grouped by principle, with shared rulebooks, Ed25519 test vectors under TEST ONLY keys, exact comparison rul… — 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 the runner supports a --client flag that runs the client subset against dist/.
- Here: `npm run conformance` runs `node conformance/run-node.mjs` over every case against dist/ with no framework, and `--client` for the client subset. — 2026-10-19
- There: node conformance/run-node.mjs --client runs the client subset against dist/. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Same point** — Both list the same governance schema files and the tool-call schema under spec/.
- Here: `spec/` holds JSON Schemas, draft 2020-12: the `/3` set and `governance-{rulebook,request,decision,plan,approval,backtest}.schema.json` and `tool-call.schema.j… — 2026-10-19
- There: The schemas are `spec/governance-{rulebook,request,decision,plan,approval,backtest}.schema.json` and `spec/tool-call.schema.json`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both say spec/ holds JSON Schemas (draft 2020-12) for the governance formats and the adapter tool-call input.
- Here: `spec/` holds JSON Schemas, draft 2020-12: the `/3` set and `governance-{rulebook,request,decision,plan,approval,backtest}.schema.json` and `tool-call.schema.j… — 2026-10-19
- There: spec/ holds JSON Schemas (draft 2020-12) for both formats: rulebook, request, decision, plan, plan evaluation, findings, approvals, backtest, and the adapter's… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both say the Z3 cross-check in the same test file agrees on every generated pair during npm test.
- Here: `test/z3-crosscheck.test.ts` agrees with Z3 on every generated pair, and z3-solver is a devDependency only. — 2026-10-19
- There: A Z3 cross-check in test/z3-crosscheck.test.ts runs in npm test: hundreds of seeded rulebooks are encoded into the Z3 SMT solver, the checker must agree on eve… — 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 a Z3 SMT cross-check agreeing on every generated pair in npm test.
- Here: `test/z3-crosscheck.test.ts` agrees with Z3 on every generated pair, and z3-solver is a devDependency only. — 2026-10-19
- There: The reachability law is cross-checked against the Z3 SMT solver on every generated pair in `npm test`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Emerging** — The detailed run adds concrete counts and timing to the requirement that the cross-check keep agreeing.
- Here: The Z3 cross-check in `test/z3-crosscheck.test.ts` must keep agreeing on every pair. — 2026-10-19
- There: A Z3 cross-check in test/z3-crosscheck.test.ts runs in npm test: hundreds of seeded rulebooks are encoded into the Z3 SMT solver, the checker must agree on eve… — 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 the examples directory contents: grocery store, warehouse, clinic, demo, harness replays, backtest and MCP server.
- Here: `examples/` holds robotics examples: `grocery-store.ts`, `warehouse.ts`, `clinic.ts`, `demo.ts`, `harness/` (volumes adapter, the robot replay, the planner rep… — 2026-10-19
- There: The examples/ directory holds the robotics examples: a grocery store, a warehouse, a clinic, demo.ts, the semantic-volumes harness replays, a synthetic week to… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both enumerate the same examples files that were copied.
- Here: `examples/` holds robotics examples: `grocery-store.ts`, `warehouse.ts`, `clinic.ts`, `demo.ts`, `harness/` (volumes adapter, the robot replay, the planner rep… — 2026-10-19
- There: `examples/` (slice 3b) was copied wholesale: `backtest/`, `harness/`, `mcp/` (files only; no `npm install` was run in `examples/mcp`), `clinic.ts`, `demo.ts`,… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Same point** — Both say npm test runs the core tests, Z3 cross-check, adapter tests and conformance cases.
- Here: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 2026-10-19
- There: npm test runs the core tests, the Z3 cross-check, the adapter tests and every conformance case. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both note npm test runs only the core test directory.
- Here: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 2026-10-19
- There: `npm test` runs the core's `test/` directory only, and the site has its own tests, `npm run site:test`. — 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 npm test as vitest run restricted to the test directory.
- Here: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 2026-10-19
- There: `vitest.config.ts` stops that walk and reproduces the source's defaults, restricted to `test/` as its `npm test` script (`vitest run --dir test`) already does. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Same point** — Both describe the typecheck command as tsc --noEmit passing.
- Here: `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- There: `npm run typecheck` passed with exit 0 (`tsc --noEmit`, no output). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Disagree** — One describes typecheck passing; the other reports it failing with exit 2.
- Here: `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- There: `npm run typecheck` FAILED with exit 2. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Emerging** — The typecheck scope including examples explains why missing examples cause tsc to fail.
- Here: `npm run typecheck` runs `tsc --noEmit` over src, adapters/tool-call, examples except mcp, test and conformance/generate.ts, with acceptance/ running under tsx. — 2026-10-19
- There: `tsc --noEmit` fails because `test/domain-rules.test.ts` and `conformance/generate.ts` import from `../examples/`, which was not copied. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-PROVENANCE|NeuroverseOS/Neuroverseos-governance: docs/provenance/PROVENANCE]] — 2026-10-18
- **Same point** — Both simply state that npm test is run.
- Here: `npm test` is run. — 2026-10-19
- There: Run `npm test`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Same point** — Both say compileMission and the adapter reject a /3 rulebook.
- Here: `compileMission` and the adapter refuse `/3`. — 2026-10-19
- There: `compileMission` and the adapter refuse a `/3` rulebook by name. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say a mission's rules sit at the lowest plan authority, below every declared one.
- Here: A mission's rules carry the authority `plan`, below every declared one. — 2026-10-19
- There: A mission's rules carry the authority plan, below every declared one — d5-plans.json. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both describe compileMission returning a new rulebook with plan authority last, mission metadata, and deny/wait/history plus at_most/at_least plan rules.
- Here: `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… — 2026-10-19
- There: `compileMission(rulebook, { format: 'neuroverse-governance-plan/1', id, objective, permits, approvals, order })` returns a new rulebook with the mission's rule… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both give the same mission object shape with format, id, objective, permits, approvals, order, atMost and requires.
- Here: A Mission (`neuroverse-governance-plan/1`, § 16.7) is `{ format, id, objective, permitsRuleId?, permits: [{ id?, tool, scopes? }], approvals?: [{ id?, tool, sc… — 2026-10-19
- There: A mission is { format: "neuroverse-governance-plan/1", id, objective, permitsRuleId?, permits: [{ id?, tool, scopes? }], approvals?: [{ id?, tool, scopes?, by… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say compileMission must refuse a rulebook that already carries a mission or declares a plan authority.
- Here: `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. — 2026-10-19
- There: 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
- **Same point** — Both describe compiling a mission into deny/wait/history and at_most/at_least plan rules at the new lowest plan authority.
- Here: `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… — 2026-10-19
- There: Missions (`neuroverse-governance-plan/1`, `compileMission`, `validateMission`) compile a plan onto a rulebook as deny, wait and history rules and `at_most`/`at… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Emerging** — One lists the source module holding compileMission, validateMission and PLAN_AUTHORITY that the other describes.
- Here: `src/governance.ts` holds `compileGovernance` (the `/1` input through the same assembler and check, the `/1`-only declarations validated, the body renamed back… — 2026-10-19
- There: Missions (`neuroverse-governance-plan/1`, `compileMission`, `validateMission`) compile a plan onto a rulebook as deny, wait and history rules and `at_most`/`at… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both describe the returned rulebook carrying mission id, objective and planDigest at plan authority.
- Here: `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… — 2026-10-19
- There: `compileMission` returns a NEW `/1` rulebook with the same vocabulary, rules and `otherwise`, the authority `plan` appended last, and `mission: { id, objective… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say an out-of-range projected fact becomes required_facts rather than being clamped.
- Here: A projected fact out of range refuses, never clamps. — 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 describe the conformance suite as split into p1–p9 robotics cases and d1–d7 digital-format cases.
- Here: `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client… — 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 say an approval must be bound to the rule, the rulebook fingerprint, and the participant/action/area or principal/tool/scope/args digest.
- Here: A verified approval is bound to the rule and the rulebook fingerprint, and for `/3` to the participant, action and area, or for `/1` to the principal, particip… — 2026-10-19
- There: When a rulebook declares trustedKeys, the trusted layer verifies an approval's Ed25519 signature before evaluation and passes the verified handle in, and the e… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both describe approvals bound to rule id, rulebook fingerprint, participant, action and area.
- Here: A verified approval is bound to the rule and the rulebook fingerprint, and for `/3` to the participant, action and area, or for `/1` to the principal, particip… — 2026-10-19
- There: An approval binds to rule id, rulebook fingerprint, participant id (required when an approval is needed), action, area, a unique nonce, issuedAt and a required… — 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 state approvals are bound to the rulebook fingerprint and the call's argument fingerprint.
- Here: A verified approval is bound to the rule and the rulebook fingerprint, and for `/3` to the participant, action and area, or for `/1` to the principal, particip… — 2026-10-19
- There: The approvals in the transcript are bound to the base rulebook's fingerprint `24608e2edd75cde86d69f97e4fb4783eb46912e9758c4b3ffe6f186c39fd2911` and to `fingerp… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- acceptance-invoice-reconciliation-expectat|NeuroverseOS/Neuroverseos-governance: acceptance/invoice-reconciliation/expectat]] — 2026-10-18
- **Same point** — Both say the approval must be bound to the waiting rule's id.
- Here: A verified approval is bound to the rule and the rulebook fingerprint, and for `/3` to the participant, action and area, or for `/1` to the principal, particip… — 2026-10-19
- There: The approval is bound only if its ruleId equals the waiting rule; otherwise the rejection code is rule. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Emerging** — The rule that approvals must hold what `by` names is developed into the authority-order rules for clearing waits.
- Here: Approvals must hold what `wait.by` names. — 2026-10-19
- There: Approvals obey the same order: a wait that names an authority is cleared only by someone holding that authority or a higher one, a wait that names a role only… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both say the model's own text about its intent or reasoning is not an input the system reads.
- Here: The project is not a judge of text: nothing reads the model's message, intent or reasoning, and a classifier's verdict may enter only as a derived fact the har… — 2026-10-19
- There: A model's description of its own intent is not an input, a model's claim about its own arguments is not a fact, and a model's draft never sets its own authorit… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Echoes** — Both treat a model's self-claim as something recorded but not read by any rule.
- Here: The project is not a judge of text: nothing reads the model's message, intent or reasoning, and a classifier's verdict may enter only as a derived fact the har… — 2026-10-19
- There: A model's claim about its own call (say, "this email carries no financial data") can be bound to a fact for the record, and no rule needs to read it. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both say the model's claim is not taken as fact and the harness's computed fact decides.
- Here: The project is not a judge of text: nothing reads the model's message, intent or reasoning, and a classifier's verdict may enter only as a derived fact the har… — 2026-10-19
- There: A model's claim about its own call is not taken as a fact: the claim binds to a fact no rule reads, and the harness's fact decides. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both say the legacy 0.2 robotics input shape is carried unchanged and removed at 1.1 with its tests and example.
- Here: `src/legacy.ts` (the 0.2 robotics input shape) is deprecated: carried unchanged in 1.0 and to be removed at 1.1 together with its tests, its example (`examples… — 2026-10-19
- There: `src/legacy.ts`, the 0.2 robotics input shape (`LegacyCompileInput`, `LegacyZone`, `LegacyRole`), is carried unchanged so the robotics dialect stays whole, and… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Echoes** — Both list the same robotics dialect tooling files, including draft, glasses, zone-rules, legacy and templates.
- Here: `src/draft.ts`, `src/render.ts`, `src/glasses.ts`, `src/zone-rules.ts`, `src/legacy.ts` and `src/templates/` are the robotics dialect's tooling: deterministic… — 2026-10-19
- There: src/ is the engine with zero runtime dependencies, starting at types.ts, with model.ts (the dialect table and the normalised model), compile.ts, governance.ts… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Emerging** — One says a single evaluator uses the dialect table that the other describes in detail.
- Here: Both formats are decided by one `evaluate`, one `evaluatePlan`, one conflict check and one backtest, through the dialect table in `src/model.ts`. — 2026-10-19
- There: One evaluator (`src/model.ts`) has a dialect table (`DOMAIN_DIALECT`, `GOVERNANCE_DIALECT`) and `normalizeRulebook`; a `/3` rulebook is returned as the same ob… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both say claims are released only when a call is refused before the executor runs, not after.
- Here: Anything that fails before the executor is a BLOCK with nothing run, and the reservation and nonce claims are given back. — 2026-10-19
- There: A claim is released only when the call is refused before the executor is invoked, never after. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19
- **Same point** — Both describe releasing the spend reservation and nonce claims on any refusal before the executor, never after.
- Here: Anything that fails before the executor is a BLOCK with nothing run, and the reservation and nonce claims are given back. — 2026-10-19
- There: govern releases the spend reservation and every nonce claim on any refusal before the executor is invoked, and never after. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Echoes** — Both describe the /1 approval request fields and rejected approvals, said with slightly different field names.
- Here: The `/1` decision is as `/3` with `approvalRequests[] = { ruleId, by?, rulebookFingerprint, principalId, participantId, tool, scope, argsDigest, reason, setBy… — 2026-10-19
- There: In /1 the approval request is rule, rulebook, principal, participant, tool, scope and argsDigest, and rejected approvals are prose and approvalsRejected: [{ id… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both describe the /1 approval contract and its bound fields.
- Here: The `/1` signed approval (`neuroverse-governance-approval/1`) is `{ spec, id, authority?, roleId?, ruleId, rulebookFingerprint, principalId, participantId, too… — 2026-10-19
- There: Signed approvals follow `neuroverse-governance-approval/1` (SPEC.md § 16.6): bound to the rule, the rulebook fingerprint, the principal, the participant, the t… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- acceptance-invoice-reconciliation-README|NeuroverseOS/Neuroverseos-governance: acceptance/invoice-reconciliation/README]] — 2026-10-18
- **Same point** — Both name robot-domain-rules/3 as the format for robots and physical spaces.
- Here: `robot-domain-rules/3` is the robotics dialect of actions in areas, per SPEC.md § 1–15. — 2026-10-19
- There: NeuroverseOS governs tool calls by AI agents under a principal's authority (`neuroverse-governance/1`) and task permissions for robots and people with glasses… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- RELATED-WORK|NeuroverseOS/Neuroverseos-governance: RELATED-WORK]] — 2026-10-18
- **Same point** — Both describe robot-domain-rules/3 as the format for physical sites with actions and areas.
- Here: `robot-domain-rules/3` is the robotics dialect of actions in areas, per SPEC.md § 1–15. — 2026-10-19
- There: Two formats run on one engine: neuroverse-governance/1 for software (tools, scopes, principals, delegation, arguments bound to facts, missions) and robot-domai… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Same point** — Both identify robot-domain-rules-approval/3 as the /3 approval contract.
- Here: The `/3` signed approval is `robot-domain-rules-approval/3` (§ 9). — 2026-10-19
- There: The approval contract for the robotics dialect is robot-domain-rules-approval/3. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both give the participant object with id, kind, roleId and optional delegatedBy.
- Here: The `/1` request (SPEC.md § 16.3) is `{ principal: { id }, participant: { id, kind, roleId, delegatedBy? }, delegation?: [{ id, roleId }], tool, scope, args?,… — 2026-10-19
- There: `participant` is `{ id, kind, roleId, delegatedBy? }`. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- acceptance-invoice-reconciliation-README|NeuroverseOS/Neuroverseos-governance: acceptance/invoice-reconciliation/README]] — 2026-10-18
- **Same point** — Both describe the participant as id, kind, roleId with optional delegatedBy.
- Here: The `/1` request (SPEC.md § 16.3) is `{ principal: { id }, participant: { id, kind, roleId, delegatedBy? }, delegation?: [{ id, roleId }], tool, scope, args?,… — 2026-10-19
- There: In /1 the participant is { id, kind, roleId, delegatedBy? } and the principal { id } is required, where /3 has participant { id, kind, roleId } and the site. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both describe a finding as kind, severity, ruleIds, certainty, plus an optional witness and message.
- Here: A Finding is `{ kind, severity, ruleIds, certainty, witness?, message }`. — 2026-10-19
- There: Findings are compared as a multiset of { kind, severity, ruleIds, certainty } plus whether a witness is present. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Emerging** — The second spells out the same finding shape with concrete allowed values for kind, severity and certainty.
- Here: A Finding is `{ kind, severity, ruleIds, certainty, witness?, message }`. — 2026-10-19
- There: A finding is { kind, severity, ruleIds: [first, second], certainty, witness?, message } with kind ∈ contradiction authority-override tightening shadowed duplic… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both state that there are eight finding kinds.
- Here: There are eight finding kinds, and `unmatched_selector` is on one rule with no witness. — 2026-10-19
- There: The eight finding kinds include a contradiction at the same authority, an override from a lower one, a rule a never rule makes pointless, a rule fully shadowed… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both describe the set of eight finding kinds and that unmatched_selector has a single rule ID with no witness.
- Here: There are eight finding kinds, and `unmatched_selector` is on one rule with no witness. — 2026-10-19
- There: A finding is { kind, severity, ruleIds: [first, second], certainty, witness?, message } with kind ∈ contradiction authority-override tightening shadowed duplic… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Emerging** — One lists seven of the finding kinds, the other adds unmatched_selector to complete the eight.
- Here: There are eight finding kinds, and `unmatched_selector` is on one rule with no witness. — 2026-10-19
- There: Finding kinds are `contradiction`, `authority-override`, `never_vs_rule`, `shadowed`, `duplicate`, `limit_disagreement` and `tightening`. — 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 unmatched_selector is the one kind with a single rule ID and no witness.
- Here: There are eight finding kinds, and `unmatched_selector` is on one rule with no witness. — 2026-10-19
- There: unmatched_selector is the one finding kind with a single rule ID and never a witness, with cases p7-unmatched-selector-is-a-finding, p7-unmatched-entry-in-a-wi… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Emerging** — One gives the finding shape, the other confirms unmatched_selector and one-rule ruleIds fit that schema.
- Here: A Finding is `{ kind, severity, ruleIds, certainty, witness?, message }`. — 2026-10-19
- There: unmatched_selector and one-rule ruleIds are in the findings schema. — 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
- **Disagree** — One says the glasses bridge only tightens while the other says it loosened waits.
- Here: The glasses bridge only tightens. — 2026-10-19
- There: The glasses bridge loosened waits (audit § 2c). — 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 a rejected-approval decision carries a code per approval and no signature or key material.
- Here: A `/1` PAUSE that rejected approvals carries `approvalsRejected: [{ id, nonce?, code, reason }]` — those four members and nothing else, never the approval, its… — 2026-10-19
- There: approvalsRejected carries a code per approval and no signature anywhere in the decision — d3-bound-approvals.json (d3-rejection-carries-no-signature). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both say a rejected approval is a wait, not a refusal, and the decision records the reason.
- Here: A rejected approval is a PAUSE with a code, never a BLOCK. — 2026-10-19
- There: A rejected approval — expired, replayed, altered, for another call — grants nothing and refuses nothing: the call waits, and the decision says why; repeated re… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both say a rejected approval leaves the status as PAUSE rather than blocking.
- Here: A rejected approval is a PAUSE with a code, never a BLOCK. — 2026-10-19
- There: A rejected approval grants nothing and refuses nothing: the wait stays unmet, the status is PAUSE, a fresh approval request is returned, and approvalsRejected… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 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: `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client… — 2026-10-19
- There: 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… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Emerging** — One explains how the client subset is marked, the other gives the command that runs it.
- Here: `npm run conformance` runs `node conformance/run-node.mjs` over every case against dist/ with no framework, and `--client` for the client subset. — 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** — One lists the conformance files generally, the other names the specific file for the /1 backtest.
- Here: `conformance/` holds the cases (`p*`, `plans`, `history`, `backtest`, `fingerprint`, `approvals`, `versions`, `integrity` for `/3`; `d1`–`d7` for `/1`; `client… — 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
- **Same point** — Both identify the general contract as neuroverse-governance/1 with its approval and plan contracts.
- Here: `neuroverse-governance/1` is the general contract for AI agents calling tools in scopes under a principal's authority, per SPEC.md § 16. — 2026-10-19
- There: The general contract is neuroverse-governance/1 (neuroverse-governance/1, neuroverse-governance-approval/1, neuroverse-governance-plan/1); § 16.10 states its v… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both name neuroverse-governance/1 as the spec and rulebook format with its approval and plan strings.
- Here: `neuroverse-governance/1` is the general contract for AI agents calling tools in scopes under a principal's authority, per SPEC.md § 16. — 2026-10-19
- There: The spec is neuroverse-governance/1, the rulebook format string is neuroverse-governance/1, the approval contract is neuroverse-governance-approval/1, and the… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both identify the robotics dialect as robot-domain-rules/3 with its format and approval strings.
- Here: `robot-domain-rules/3` is the robotics dialect of actions in areas, per SPEC.md § 1–15. — 2026-10-19
- There: The robotics dialect is robot-domain-rules/3, its rulebook format string is neuroverse-domain-rules/3, and its approval contract is robot-domain-rules-approval… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both name robot-domain-rules-approval/3 as the robotics approval contract.
- Here: The `/3` signed approval is `robot-domain-rules-approval/3` (§ 9). — 2026-10-19
- There: The robotics dialect is robot-domain-rules/3, its rulebook format string is neuroverse-domain-rules/3, and its approval contract is robot-domain-rules-approval… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both list the binding conditions for a /3 approval under trusted keys.
- Here: A verified approval is bound to the rule and the rulebook fingerprint, and for `/3` to the participant, action and area, or for `/1` to the principal, particip… — 2026-10-19
- There: When trustedKeys is non-empty, an approval is bound only with the /3 spec, the verified handle, rule, rulebook fingerprint, participant, action, area, an uncon… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Emerging** — One states the binding rule generally; the other adds that a mission's compiled rulebook fingerprint is what counts when active.
- Here: A verified approval is bound to the rule and the rulebook fingerprint, and for `/3` to the participant, action and area, or for `/1` to the principal, particip… — 2026-10-19
- There: The approval is bound only if its rulebookFingerprint equals the deciding rulebook's (a mission's compiled rulebook when one is active); otherwise the rejectio… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both say a /3 approval at a /1 rulebook and the reverse are rejected by spec.
- Here: A `/3` approval at a `/1` rulebook and the reverse are rejected by `spec`. — 2026-10-19
- There: A `/3` approval at a `/1` rulebook and a `/1` approval at a `/3` rulebook are rejected by spec and never reinterpreted. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Emerging** — The test run output shows the npm test command executing the test files it describes.
- Here: `npm test` runs `vitest run --dir test` over core, adapter, the Z3 cross-check and every conformance case. — 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 state that one evaluator, one plan evaluation and one conflict check decide both formats.
- Here: Both formats are decided by one `evaluate`, one `evaluatePlan`, one conflict check and one backtest, through the dialect table in `src/model.ts`. — 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
- **Echoes** — Both stress a single evaluation path rather than separate evaluators for each format.
- Here: There is no second evaluator or second decision path: a new format is a dialect in `src/model.ts` and gated steps in the one evaluator, or it is not built. — 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
- **Same point** — Both describe replaying a recorded log through a rulebook to report what it would have decided.
- Here: `src/backtest.ts` replays a recorded log through a rulebook in both formats, producing the report and the current-versus-proposed comparison. — 2026-10-19
- There: backtest(rulebook, events, options?) replays a recorded log — [{ at, request, outcome? }] in time order — through a rulebook and reports what it would have dec… — 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 backtest replay produces the report and comparison that the other spells out in detail.
- Here: `src/backtest.ts` replays a recorded log through a rulebook in both formats, producing the report and the current-versus-proposed comparison. — 2026-10-19
- There: 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… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Same point** — Both say JSON Schemas for the formats live in spec/.
- Here: `spec/` holds JSON Schemas, draft 2020-12: the `/3` set and `governance-{rulebook,request,decision,plan,approval,backtest}.schema.json` and `tool-call.schema.j… — 2026-10-19
- There: JSON Schemas for every format are in spec/, and § 14 says which parts a client needs and what a port must get right. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Same point** — Both distinguish approval waits from condition waits.
- Here: Waiting has two meanings: approval waits return `approvalRequests` and are cleared by a sufficient approval, while condition waits are cleared only by facts. — 2026-10-19
- There: p6-waiting.json proves approval waits vs condition waits; approvalRequests. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19
- **Same point** — Both combine the rules that an approval clears only its wait, at most one wait, and plans consume nonces step by step.
- Here: An approval clears that wait only, each approval clears at most one wait, and a plan consumes nonces step by step. — 2026-10-19
- There: An approval clears only the approval wait of the rule it names and clears at most one wait; approvals never clear a condition wait, never a deny, never a never… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Echoes** — Both describe the mission compiler refusing an invalid rulebook.
- Here: `compileMission` refuses a rulebook that already carries a mission or declares a `plan` authority. — 2026-10-19
- There: `compileMission` and the adapter refuse a `/3` rulebook by name. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Echoes** — Both place mission rules at the lowest authority as a tightening overlay.
- Here: A mission's rules carry the authority `plan`, below every declared one. — 2026-10-19
- There: A mission is a tightening overlay at the lowest authority (§ 16.7): a plan is compiled to deny, wait and history rules the engine already has, rather than give… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19
- **Echoes** — Both describe the mission compiling into existing deny, wait and history rules rather than new semantics.
- Here: `compileMission(rulebook, mission)` returns a new rulebook with the authority `plan` last, `mission: { id, objective, planDigest }`, and deny/wait/history rule… — 2026-10-19
- There: A mission is a tightening overlay at the lowest authority (§ 16.7): a plan is compiled to deny, wait and history rules the engine already has, rather than give… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19