- Each environment keeps its own GLaDOS. Sharing a tracker scope requires approval on both
- environments. Offline peers keep their existing authority; there is no automatic takeover.
-
-
-
- {peer.config.id}
-
- {peer.error ??
- (peer.lastSeenAt ? `Last contact ${peer.lastSeenAt}` : "Awaiting peer")}
-
-
-
-
- Task home: {peer.homeEnvironmentId ?? "Chosen with the first agreement"}. Coordinator
- changes retain that home.
-
-
- {peer.pendingMessages ?? 0} messages awaiting durable receipt
-
-
- {peer.view.proposals.map((proposal) => {
- const approved = proposal.participants.every(
- (participant) => peer.view.approvals[participant] === proposal.id,
- );
- return (
-
-
- {proposal.coordinator === self ? "This environment" : peer.config.id} coordinates
- this source · {approved ? "Approved by both" : "Awaiting approvals"}
-
-
- Task home: {proposal.homeEnvironmentId ?? proposal.coordinator}
-
-
- Local:{" "}
- {self && peer.view.approvals[self] === proposal.id
- ? "approved"
- : self && peer.view.rejections?.[self]?.includes(proposal.id)
- ? "declined"
- : "pending"}{" "}
- · Peer:{" "}
- {peer.view.approvals[peer.config.environmentId] === proposal.id
- ? "approved"
- : peer.view.rejections?.[peer.config.environmentId]?.includes(proposal.id)
- ? "declined"
- : "pending"}
-
- {self && !peer.view.rejections?.[self]?.includes(proposal.id) && (
-
- )}
- {self && peer.view.approvals[self] !== proposal.id && (
-
- )}
-
- );
- })}
-
- {self &&
- [self, peer.config.environmentId].map((coordinator) => (
-
- ))}
-
-
-
- ))}
-