Expand description
Spec group/driver orchestration logic.
This module manages spec membership and group completion tracking for driver specs.
Driver specs can have member specs identified by numeric suffixes (e.g., .1, .2).
This module handles relationships between drivers and their members.
Functionsยง
- all_
members_ completed - Check if all members of a driver spec are completed.
- all_
prior_ siblings_ completed - Check if all prior siblings of a member spec are completed.
- auto_
complete_ driver_ if_ ready - Auto-complete a driver spec if all its members are now completed.
- compare_
spec_ ids - Compare two spec IDs with numeric sorting for member specs and base36 sequences.
- extract_
driver_ id - Extract the driver ID from a member ID.
- extract_
member_ number - Extract the member number from a member ID.
- get_
incomplete_ members - Get list of incomplete member spec IDs for a driver spec.
- get_
members - Get all member specs of a driver spec.
- is_
member_ of - Check if
member_idis a group member ofdriver_id. - mark_
driver_ in_ progress - Mark a driver spec as in_progress when one of its members starts work.
- mark_
driver_ in_ progress_ conditional - Mark the driver spec as in_progress if the current spec is a member.