Skip to main content

Module merge

Module merge 

Source
Expand description

Spec merge logic and utilities.

§Doc Audit

  • audited: 2026-01-25
  • docs: guides/recovery.md
  • ignore: false

Structs§

BranchInfo
Information about a branch for selective merge display

Enums§

BranchStatus
Status of a branch for selective merge operations

Functions§

count_criteria
Count checked and total acceptance criteria in a spec
detect_branch_status
Detect the status of a branch for selective merge
get_branch_info_for_specs
Get branch information for all completed specs
get_specs_to_merge
Get the list of specs to merge based on arguments Returns vector of (spec_id, Spec) tuples
is_driver_spec
Check if a spec is a driver spec (has member specs)
load_main_branch
Load main_branch from config with fallback to “main”
merge_driver_spec
Merge a driver spec and all its members in order.
validate_spec_can_merge
Validate that a spec can be merged. Public API used in tests.