The assigner's state and verb placement are assignments, with its events, tools, views and every caller; the assigner copies the retired state at its start (issue 1966)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package assignment
|
||||
|
||||
import seat "git.novox.be/novox/mesh-contracts/go/seats/meshmoduleassigner"
|
||||
|
||||
// Module is the module that holds the seat mesh-module-assigner: the states of the seat are named after it, as every
|
||||
// module state is (a bucket is `<module>_<state>`), and its manifest declares them.
|
||||
const Module = "mesh-delivery-assigner"
|
||||
|
||||
// The buckets of the seat's states, which only the holder writes (ADR 0567 §1).
|
||||
const (
|
||||
AssignmentsBucket = Module + "_" + seat.StateAssignments
|
||||
ProposalsBucket = Module + "_" + seat.StateProposals
|
||||
CandidatesBucket = Module + "_" + seat.StateCandidates
|
||||
PulsesBucket = Module + "_" + seat.StatePulses
|
||||
SeatHoldersBucket = Module + "_" + seat.StateSeatHolders
|
||||
)
|
||||
|
||||
const (
|
||||
// AssignmentsHistory is the revisions the assignments bucket keeps per key: the bus's most (§6).
|
||||
AssignmentsHistory = 64
|
||||
// EventDays is how long the seat's events are kept: they ride the shared events stream on the seat's own subject
|
||||
// (the seat's family, 7 days).
|
||||
EventDays = 7
|
||||
)
|
||||
Reference in New Issue
Block a user