Expand description
Queue validation facade.
Responsibilities:
- Expose queue validation entrypoints and warning types.
- Coordinate queue-file checks with dependency, relationship, and parent validators.
- Keep shared validation data structures local to this module tree.
Not handled here:
- Queue persistence or mutation workflows.
- Config validation or CLI reporting.
Invariants/assumptions:
- Task IDs are unique within a queue file and across active/done files, except rejected tasks.
- Dependency and blocking graphs must remain acyclic.
- Warnings are non-blocking and may be logged separately by callers.
Structs§
- Dependency
Validation Result - Result of dependency and relationship validation containing warnings.
- Validation
Warning - Represents a validation issue that doesn’t prevent queue operation but should be reported.
Functions§
- log_
warnings - Log all validation warnings.
- validate_
queue - Validate a single queue file.
- validate_
queue_ set - Validate active and optional done queues together, returning non-blocking warnings.