@oss-autopilot/core - v3.42.2
    Preparing search index...

    Function computeActionMenu

    • Compute the action menu from PR data and capacity. The orchestration layer can insert issue-list options (e.g., "Pick from list") using the context flags.

      Parameters

      • actionableIssues: ActionableIssue[]

        Issues requiring attention

      • capacity: CapacityAssessment

        Current capacity assessment

      • commentedIssues: CommentedIssue[] = []

        Issues with comment activity

      • Optionalattention: Pick<AttentionSummary, "stuckCI" | "dormantFollowup"> & {
            closeSuggested?: number;
        }

        Attention bucket counts; non-zero stuck-CI / dormant-followup buckets add a follow_up item

      • OptionalunextractedMergeCount: number

        Recently merged PRs whose learnings have not been extracted yet (#1463); non-zero adds an extract_learnings item

      • closedPRStatusCount: number = 0

        Closed-unmerged PRs whose linked issue still needs a status update (#1863); non-zero adds a closed_pr_status item

      • mergedPRNotesCount: number = 0

        Recently merged PRs carrying maintainer notes the user has not answered (#1861); non-zero adds a merged_pr_notes item

      • reviewedPRCount: number = 0

        PRs the user reviewed where the author pushed or replied since (#1857); non-zero adds a review_follow_ups item

      • finishedImplementationCount: number = 0

        Background implementations whose branch is ready to collect (#1856); non-zero adds a collect_implementations item

      Returns ActionMenu

      Action menu with context flags for orchestration