Skip to main content

Module goal

Module goal 

Source

Structs§

GoalPolicy
Policy controlling goal auto-close and auto-reopen behavior.
GoalPolicyOverride
Optional per-goal policy override values.
GoalProgress
Progress summary for a goal’s direct children.

Constants§

MAX_CONTAINMENT_DEPTH
Safety cap for containment-depth validation.

Functions§

check_auto_close
Evaluate whether a goal should auto-close under default policy.
check_auto_close_with_policy
Evaluate whether a goal should auto-close under the provided project policy.
check_auto_reopen
Evaluate whether a goal should auto-reopen under default policy.
check_auto_reopen_with_policy
Evaluate whether a goal should auto-reopen under the provided project policy.
check_circular_containment
Validate that adding child_id under parent_id will not create circular containment, and that the ancestry depth stays under a safety threshold.
goal_policy_override_from_fields
Parse policy override labels from a projection-level work item aggregate.
goal_policy_override_from_labels
Parse policy override labels from a goal’s labels.
goal_progress
Compute direct-child progress summary for a goal.

Type Aliases§

Db
SQLite projection handle used by goal model helpers.