*Territory · 5 understandings* ## Summary An approval must carry an expiry later than its issue time, and the signing function refuses one that does not while the verifying functions return a not-ok result instead of throwing. ## Explanation - In Neuroverseos-governance:doc:SPEC.md, expiresAt must be later than issuedAt and a signer should keep the window short; signApproval refuses an expiresAt that is not later than issuedAt, and it throws when a required field is missing or the expiry is not later than the issue time, while verifyApproval and verifyRulebookSignature return { ok: false } or false and never throw on bad data. - expiresAt MUST be later than issuedAt, and a signer SHOULD keep the window short. - signApproval refuses an expiresAt that is not later than issuedAt. - signApproval throws when a required field is missing or expiresAt is not later than issuedAt; verifyApproval and verifyRulebookSignature return { ok: false } /… - In robot-domain-rules-CHANGELOG.md, signApproval requires expiresAt later than issuedAt. - signApproval requires expiresAt later than issuedAt. - In Neuroverseos-governance:doc:BOUNDARY.md, an approval used after it lapsed or before it is valid is refused, with required expiresAt and issuedAt judged against the caller's now. - An approval used after it lapsed or before it is valid is refused, with required expiresAt and issuedAt judged against the caller's now. ## Threads - The expiry-after-issue rule for approvals and the signer keeping the window short - expiresAt MUST be later than issuedAt, and a signer SHOULD keep the window short. - signApproval refuses an expiresAt that is not later than issuedAt. - signApproval requires expiresAt later than issuedAt. - Signing throws on bad data while verifying returns not-ok or false - signApproval throws when a required field is missing or expiresAt is not later than issuedAt; verifyApproval and verifyRulebookSignature return { ok: false } /… - Approvals used after lapsing or before validity are refused against the caller's now - An approval used after it lapsed or before it is valid is refused, with required expiresAt and issuedAt judged against the caller's now. ## How it formed The changelog entry on Oct 18, 2026 records signApproval requiring expiresAt later than issuedAt; the spec and boundary documents on Oct 19, 2026 state the same rule and add how signing and verifying behave on bad data and how use is judged against the caller's now. - expiresAt MUST be later than issuedAt, and a signer SHOULD keep the window short. - signApproval refuses an expiresAt that is not later than issuedAt. - signApproval throws when a required field is missing or expiresAt is not later than issuedAt; verifyApproval and verifyRulebookSignature return { ok: false } /… - signApproval requires expiresAt later than issuedAt. - An approval used after it lapsed or before it is valid is refused, with required expiresAt and issuedAt judged against the caller's now. ## What's still open The boundary document leaves the length of the signing window to the signer's judgment rather than fixing a number. - expiresAt MUST be later than issuedAt, and a signer SHOULD keep the window short. - An approval used after it lapsed or before it is valid is refused, with required expiresAt and issuedAt judged against the caller's now. ## Consultant **Where it shows up** — Approval validity keeps coming up as a comparison of two timestamps: expiresAt against issuedAt at signing, and both against the caller's now at use. **A way forward** — Keep the expiry-after-issue rule stated once and let the boundary document point to it, so signing and use both judge the same two timestamps. ## Understandings - expiresAt MUST be later than issuedAt, and a signer SHOULD keep the window short. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - signApproval refuses an expiresAt that is not later than issuedAt. — 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 - signApproval requires expiresAt later than issuedAt. — 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 - An approval used after it lapsed or before it is valid is refused, with required expiresAt and issuedAt judged against the caller's now. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19 ## Who, where and what Things: [[Bevia/World/Things/expiresAt|expiresAt]], [[Bevia/World/Things/issuedAt|issuedAt]], [[Bevia/World/Things/signApproval|signApproval]], [[Bevia/World/Things/verifyApproval|verifyApproval]], [[Bevia/World/Things/verifyRulebookSignature|verifyRulebookSignature]]