# Phases Configuration
#
# Configures project phase lifecycle including:
# - Phase transitions
# - Phase validation
# - Phase automation

[phases]
# Enable phase management
enabled = true

# Default phase sequence
default_phases = ["create", "devel", "publish", "archive"]

# Phase transition rules
[phases.transitions]
# Allow transitions from archive back to other phases
allow_unarchive = true

# Require approval for phase transitions
require_approval = false

# Notify team on phase changes
notify_on_transition = true

# Phase validation
[phases.validation]
# Require phase checklist completion before transition
require_checklist = false

# Require all issues closed before phase change
require_closed_issues = false

# Phase-specific settings
[phases.create]
# Default phase for new projects
is_default = true

# Auto-transition after days (0 = disabled)
auto_transition_days = 0

[phases.devel]
# Maximum duration in days
max_duration_days = 0

# Require commit activity for active phase
require_commit_activity = false

[phases.publish]
# Require release notes
require_release_notes = false

# Auto-create GitHub release
auto_create_release = false

[phases.archive]
# Keep audit trail
keep_audit_trail = true

# Allow unarchive
allow_unarchive = true

# Archive retention in days
retention_days = 0  # 0 = forever

# Phase reporting
[phases.reporting]
# Track phase duration metrics
track_metrics = true

# Report phase transition history
report_history = true

# Email notifications on phase changes
email_notifications = false
