Prevent cycles #2

Open
opened 2025-07-31 13:54:20 -04:00 by acl · 1 comment
Owner

There are various recursive relationships in the schema that need to be strictly hierarchical. Right now, that requirement isn't enforced, but it's assumed to be true, meaning that we can get into infinite loops.

There are various recursive relationships in the schema that need to be strictly hierarchical. Right now, that requirement isn't enforced, but it's assumed to be true, meaning that we can get into infinite loops.
Author
Owner

It should be the case for rules that the requirement is enforced by the fact that rules can only be created by passing an inductive structure for the clause; thus a tree, thus acyclic.

Entities allow arbitrary re-parenting, so cycle detection is required.

It should be the case for rules that the requirement is enforced by the fact that rules can only be created by passing an inductive structure for the clause; thus a tree, thus acyclic. Entities allow arbitrary re-parenting, so cycle detection is required.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: acl/sfjp-lib#2
No description provided.