*Continent · 2 territory* ## Summary A governance specification pins down how time enters a request and a plan: `now` comes from the caller's trusted layer because the engine has no clock, a timestamp's wall-clock time is the HH:MM written in its own offset, and a plan's clock and step times are computed from startTime and stepDurationSeconds. ## Explanation - In README.md, `now` is the instant of the call, taken from the harness's clock. - `now` is the instant of the call, from the harness's clock. - In Neuroverseos-governance:doc:SPEC.md, `now` (optional) is a timestamp: the instant of the request from the caller's trusted layer, since the engine has no clock, and it is needed when a rule in scope has a window and whenever a signed approval is to be judged. - `now` (optional) is a timestamp: the instant of the request from the caller's trusted layer, since the engine has no clock; it is needed when a rule in scope h… - In Neuroverseos-governance:doc:SPEC.md, a timestamp's wall-clock time is the HH:MM written in it, in its own offset (§ 12). - A timestamp's wall-clock time is the HH:MM written in it, in its own offset (§ 12). - In Neuroverseos-governance:doc:SPEC.md, a plan's default startTime is the wall-clock time `now` names in its own offset, not UTC (§ 12 said "time of day of now"; the UTC reading was wrong for every site not on UTC). - A plan's default startTime is the wall-clock time now names in its own offset, not UTC (§ 12 said "time of day of now"; the UTC reading was wrong for every sit… - In Neuroverseos-governance:doc:SPEC.md, a plan's history is optional: what the participant did before the plan, seeding each step's history and counting for before plan rules. - A plan's history is optional: what the participant did before the plan, seeding each step's history and counting for before plan rules. - In Neuroverseos-governance:doc:SPEC.md, a plan's clock is optional: a declared time fact that advances. - A plan's clock is optional: a declared time fact that advances. - In Neuroverseos-governance:doc:SPEC.md, a plan's `now` is optional: a timestamp such that step i's request.now is `now` + i · stepDurationSeconds, and it also stamps the history entries the plan appends; without it those entries carry no `at`, and a window rule in scope needs the facts it requires. - A plan's now is optional: a timestamp such that step i's request.now is now + i · stepDurationSeconds, and it also stamps the history entries the plan appends;… - In Neuroverseos-governance:doc:SPEC.md, a plan step's clock fact is startTime plus i times stepDurationSeconds divided by 60, rounded down, in minutes, modulo 1440. - A plan step's clock fact is startTime plus i times stepDurationSeconds divided by 60, rounded down, in minutes, modulo 1440. - In Neuroverseos-governance:doc:SPEC.md, step i's `now` is plan.now plus i times stepDurationSeconds when plan.now is given. - Step i's now is plan.now plus i times stepDurationSeconds when plan.now is given. - In Neuroverseos-governance:doc:SPEC.md, § 1's grammar must be parsed by hand, no offset read as UTC, fractions truncated to the millisecond before comparing (DateTime.Ticks / 10000), instants compared, years 0000–0099 literal, no platform parser that assumes local time, and a plan's default clock start is the HH:MM written in `now` (§ 12). - § 1's grammar must be parsed by hand, no offset read as UTC, fractions truncated to the millisecond before comparing (DateTime.Ticks / 10000), instants compare… - In robot-domain-rules-CHANGELOG.md, for the plan clock offset (item 5), startTime defaults to the wall-clock HH:MM written in `now`, in its own offset (21:00-05:00 is 21:00 on site), not the UTC time of day. - For the plan clock offset (item 5), startTime defaults to the wall-clock HH:MM written in now, in its own offset (21:00-05:00 is 21:00 on site), not the UTC ti… - README.md places `now` on the harness's clock, while Neuroverseos-governance:doc:SPEC.md places it on the caller's trusted layer because the engine has no clock; the records do not say how the two are reconciled. - `now` is the instant of the call, from the harness's clock. - `now` (optional) is a timestamp: the instant of the request from the caller's trusted layer, since the engine has no clock; it is needed when a rule in scope h… ## Threads - Where `now` comes from: the harness's clock in README.md, the caller's trusted layer in the specification. - `now` is the instant of the call, from the harness's clock. - `now` (optional) is a timestamp: the instant of the request from the caller's trusted layer, since the engine has no clock; it is needed when a rule in scope h… - Reading a timestamp's wall-clock time as the HH:MM in its own offset, and a plan's default startTime from that. - A timestamp's wall-clock time is the HH:MM written in it, in its own offset (§ 12). - A plan's default startTime is the wall-clock time now names in its own offset, not UTC (§ 12 said "time of day of now"; the UTC reading was wrong for every sit… - With a clock, step i sees clock = startTime + ⌊i · stepDurationSeconds / 60⌋ minutes, mod 1440; startTime defaults to the wall-clock time now names in its own… - § 1's grammar must be parsed by hand, no offset read as UTC, fractions truncated to the millisecond before comparing (DateTime.Ticks / 10000), instants compare… - For the plan clock offset (item 5), startTime defaults to the wall-clock HH:MM written in now, in its own offset (21:00-05:00 is 21:00 on site), not the UTC ti… - Computing a plan's clock and each step's `now` from startTime and stepDurationSeconds. - A plan's clock is optional: a declared time fact that advances. - With a clock, step i sees clock = startTime + ⌊i · stepDurationSeconds / 60⌋ minutes, mod 1440; startTime defaults to the wall-clock time now names in its own… - A plan step's clock fact is startTime plus i times stepDurationSeconds divided by 60, rounded down, in minutes, modulo 1440. - Step i's now is plan.now plus i times stepDurationSeconds when plan.now is given. - A plan's optional history and how a plan's `now` stamps the entries it appends. - A plan's history is optional: what the participant did before the plan, seeding each step's history and counting for before plan rules. - A plan's now is optional: a timestamp such that step i's request.now is now + i · stepDurationSeconds, and it also stamps the history entries the plan appends;… ## Two sides README.md takes `now` from the harness's clock; Neuroverseos-governance:doc:SPEC.md takes it from the caller's trusted layer because the engine has no clock, and the records do not say how the two are reconciled. - One side - `now` is the instant of the call, from the harness's clock. - The other side - `now` (optional) is a timestamp: the instant of the request from the caller's trusted layer, since the engine has no clock; it is needed when a rule in scope h… ## Consultant **Where it shows up** — The same rule about a plan's default clock start keeps coming up: the HH:MM written in `now`, in its own offset, not UTC. It is stated in Neuroverseos-governance:doc:SPEC.md (§ 12 and the plan-clock formula) and again in robot-domain-rules-CHANGELOG.md as item 5. ## Ideas - A plan's default clock start should be the wall-clock time written in `now`, in its own offset, rather than a UTC reading. - Timestamps should be parsed by hand and compared as instants, with no offset read as UTC and no platform parser assuming local time. - A plan's `now` should also stamp the history entries the plan appends, so those entries carry a time. - The caller, not the engine, supplies the current time and the record of what happened. ## Territories - [[Bevia/World/Territories/Plan clock, step times and history in SPEC.md|Plan clock, step times and history in SPEC.md]] - [[Bevia/World/Territories/Plan clock startTime wall-clock offset default|Plan clock startTime wall-clock offset default]]