*Territory · 5 understandings* ## Summary A governance specification and a changelog lay out how a caller-supplied history of actions, areas and times is validated, merged into requests, and written back after a decision. ## Explanation - In Neuroverseos-governance:doc:SPEC.md, `history` is a list of `{ action, areaId, at? }` recording what a participant did recently, as the caller reports it. - `history` (optional) is a list of `{ action, areaId, at? }` — what this participant did recently, as the caller reports it. - The same specification says a request whose history is not a list, or whose entry is not that shape with non-empty strings and a timestamp when `at` is given, or which lacks `at` where a rule uses withinMinutes, is a problem. - If request.history is not a list, or an entry is not { action, areaId, at? } with non-empty strings and a timestamp when `at` is given, or some rule in N has w… - For each event, when the request is an object it is combined with the participant's history when it has no history member and names a participant with a string id, and with now = event.at when it has no now. - For each event, when the request is an object it is combined with the participant's history when it has no history member and names a participant with a string… - After deciding, if the request named a participant id and an action, history[id] gains { action, areaId, at: event.at }. - After deciding, if the request named a participant id and an action, history[id] gains { action, areaId, at: event.at }. - In robot-domain-rules-CHANGELOG.md, a rule may carry history of { actions, areas?, sameArea?, withinMinutes?, clock?, op, value } over request.history, which is caller-supplied [{ action, areaId, at? }]. - A rule may carry history of { actions, areas?, sameArea?, withinMinutes?, clock?, op, value } over request.history, which is caller-supplied [{ action, areaId,… - The specification's history entries and the changelog's history condition describe the same caller-supplied list of actions, areas and optional times, and the changelog's `clock` member is not described in the specification's entry shape. - `history` (optional) is a list of `{ action, areaId, at? }` — what this participant did recently, as the caller reports it. - If request.history is not a list, or an entry is not { action, areaId, at? } with non-empty strings and a timestamp when `at` is given, or some rule in N has w… - A rule may carry history of { actions, areas?, sameArea?, withinMinutes?, clock?, op, value } over request.history, which is caller-supplied [{ action, areaId,… ## Threads - The shape of a caller-supplied history entry: action, area, and an optional time. - `history` (optional) is a list of `{ action, areaId, at? }` — what this participant did recently, as the caller reports it. - If request.history is not a list, or an entry is not { action, areaId, at? } with non-empty strings and a timestamp when `at` is given, or some rule in N has w… - How a request without history is combined with the participant's stored history and the event time. - For each event, when the request is an object it is combined with the participant's history when it has no history member and names a participant with a string… - Writing the decided action back into the participant's history. - After deciding, if the request named a participant id and an action, history[id] gains { action, areaId, at: event.at }. ## How it formed The changelog entry is dated Oct 18, 2026 and the specification entries Oct 19, 2026; the changelog's history condition names a `clock` member the specification's entry shape does not describe. - `history` (optional) is a list of `{ action, areaId, at? }` — what this participant did recently, as the caller reports it. - A rule may carry history of { actions, areas?, sameArea?, withinMinutes?, clock?, op, value } over request.history, which is caller-supplied [{ action, areaId,… ## Two sides The specification's history entry carries an optional `at` timestamp and treats a missing `at` as a problem only where a rule uses withinMinutes; the changelog's history condition adds a `clock` member the specification's entry shape does not describe. - One side - `history` (optional) is a list of `{ action, areaId, at? }` — what this participant did recently, as the caller reports it. - If request.history is not a list, or an entry is not { action, areaId, at? } with non-empty strings and a timestamp when `at` is given, or some rule in N has w… - For each event, when the request is an object it is combined with the participant's history when it has no history member and names a participant with a string… - After deciding, if the request named a participant id and an action, history[id] gains { action, areaId, at: event.at }. - The other side - A rule may carry history of { actions, areas?, sameArea?, withinMinutes?, clock?, op, value } over request.history, which is caller-supplied [{ action, areaId,… ## Consultant **Where it shows up** — The history list keeps coming up as the thing the caller hands in: a list of actions and areas with an optional time, checked for shape, merged into a request that lacks one, and appended to after a decision. **A question to sit with** — When a rule needs to know how recently something happened, what should the caller be required to supply so the engine never has to guess the day? **A way forward** — Keep the entry shape as written and settle, before more rules lean on it, whether a bare clock time is acceptable or every entry must carry a full timestamp. ## Ideas - A history condition on a rule should be able to test actions, areas, same-area recurrence, a time window and a clock, combined by an operator against a value. ## Understandings - `history` (optional) is a list of `{ action, areaId, at? }` — what this participant did recently, as the caller reports it. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - If request.history is not a list, or an entry is not { action, areaId, at? } with non-empty strings and a timestamp when `at` is given, or some rule in N has withinMinutes and an entry lacks `at`, it is a problem. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - For each event, when the request is an object it is combined with the participant's history when it has no history member and names a participant with a string id, and with now = event.at when it has no now. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - After deciding, if the request named a participant id and an action, history[id] gains { action, areaId, at: event.at }. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - A rule may carry history of { actions, areas?, sameArea?, withinMinutes?, clock?, op, value } over request.history, which is caller-supplied [{ action, areaId, at? }]. — 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 ## Who, where and what Things: [[Bevia/World/Things/[{ action, areaId, at- }]| { action, areaId, at? } ]], [[Bevia/World/Things/{ actions, areas-, sameArea-, withinMinutes-, clock-, op, value }|{ actions, areas?, sameArea?, withinMinutes?, clock?, op, value }]], [[Bevia/World/Things/action|action]], [[Bevia/World/Things/areaId|areaId]], [[Bevia/World/Things/at|at]], [[Bevia/World/Things/event.at|event.at]], [[Bevia/World/Things/history|history]], [[Bevia/World/Things/history[id]|history id ]], [[Bevia/World/Things/N|N]], [[Bevia/World/Things/request.history|request.history]], [[Bevia/World/Things/withinMinutes|withinMinutes]]