21 understandings name "verifyApproval" as written. A name, not an identity: Bevia never decides two names are one thing. - `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. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - With `trustedKeys` declared, only the verified handle `verifyApproval` returned counts, and a `verified` member in request data is ignored. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19 - When rulebook.trustedKeys is a non-empty list, the approval must be a VERIFIED HANDLE, the very object verifyApproval returned; nothing in request data can satisfy this, so `evaluate` alone on a trusted-keys rulebook never clears a wait and says to use verifyAndEvaluate. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - In a typed port, the verified handle is a type (VerifiedApproval) with no public constructor that only verifyApproval produces. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - A /3 implementation refuses an approval without that spec, in particular a /2 one recognisable by requestDigest or a 16-hex rulebookFingerprint, in verifyApproval and, if it is passed through anyway, in the evaluator, each time naming the migration (re-issue under /3). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - A client needs validate (§ 2, which re-derives the area never rules and the findings) with verifyFingerprint, evaluate, verifyApproval with a verified-handle type and the consumed-nonce set, and evaluatePlan if it runs plans. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - verifyApproval must return a VerifiedApproval class with an internal constructor that nothing else can make, and evaluate must accept only that type under trustedKeys and never read a verified member from JSON (§ 9.3). — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - signApproval throws when a required field is missing or expiresAt is not later than issuedAt; verifyApproval and verifyRulebookSignature return { ok: false } / false, never throw on bad data. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - verifyApproval branches on spec: for /1 the required fields are the list above, rulebookFingerprint and argsDigest are 64 hex, key, authority, role and signature checks are § 9.3's, and it returns the verified handle. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - When resolveScope, a fact function, reserve, verifyApproval or claim throws, or the scope is not a string, the result is BLOCK harness_failed, the executor is not called, and the reservation and claims are released. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - `evaluate`, `evaluatePlan`, `validateRulebook`, `checkRulebook`, `verifyAndEvaluate`, `verifyAndEvaluatePlan`, `verifyApproval`, `signRulebook` and `verifyRulebookSignature` take both the `/1` and `/3` formats. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - `evaluate`, `evaluatePlan`, `checkRulebook`, `validateRulebook`, `verifyApproval`, `verifyAndEvaluate(Plan)`, `signRulebook`, `verifyRulebookSignature`, `backtest` and `compareBacktests` take both formats, and `evaluateDomainAction` remains as the same function under its old name. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- CHANGELOG|NeuroverseOS/Neuroverseos-governance: CHANGELOG]] — 2026-10-19 - verifyApproval returns a verified handle — the very object it returns, registered by identity in a private WeakSet (src/verified.ts) — and under trustedKeys the evaluator clears a wait only for that object. — 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 - `verifyApproval`'s returned approval no longer carries `verified: true`, because it is the handle. — 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 - A /2 approval (requestDigest, no nonce/expiry) is refused by verifyApproval and by the evaluator, by name. — 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 - Ed25519 signing uses the platform WebCrypto with no dependencies: generateSigningKeys, publicKeyOf, signApproval, verifyApproval, signRulebook, verifyRulebookSignature, requestDigest and canonicalJson. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18 - The request cannot carry that an approval was verified: nothing in request data asserts it, only the object verifyApproval returned counts, and only the trusted layer holds one. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19 - The trusted layer verifies with verifyApproval against trustedKeys, done by the adapter passing the returned handle, whether an approval is genuine, before evaluation on each approval. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19 - For a verify: { ok } expectation verifyApproval must return this ok. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - For a verify expectation the loop asserts verifyApproval(case.approval, case.trustedKeys).ok equals expect.verify.ok. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- conformance-README|NeuroverseOS/Neuroverseos-governance: conformance/README]] — 2026-10-19 - A verified handle from verifyApproval is the only thing that can claim verification; nothing in a request can claim it. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19