Written to: 1 requirement: 0 proved, 0 partly, 0 failing, 1 with no test recorded. 0002-planning-core FR-003
The ids of an item and of an event are made by the hybrid clock of AnyFS's merge, reused and not made again (0037-planningFR-007): nextTime and seeTime choose the time of the next id, and makeVersionId writes it with the replica. The clock is a value that is taken and returned (FR-022): the wall time is an argument, never read here, and the last time of the replica is in the value, so that every id a replica makes is after every id it has made or seen. An id whose time is further ahead of the wall time than the limit (five minutes, as AnyFS) is refused when it is taken.
Where the randomness of an id comes from: the seed of the counter of a new millisecond (0 to 2047) and the bytes of rand_b. A test gives its own; the default is the CSPRNG of the runtime, through AnyFS.
The clock of one replica: which replica it is (the id holds nothing of it), the time of the last id it made or saw, how far ahead of the wall time it takes an id, and its entropy.
Where the randomness of an id comes from: the seed of the counter of a new millisecond (0 to 2047) and the bytes of rand_b. A test gives its own; the default is the CSPRNG of the runtime, through AnyFS.
The clock of one replica: which replica it is (the id holds nothing of it), the time of the last id it made or saw, how far ahead of the wall time it takes an id, and its entropy.