@oss-autopilot/core - v3.14.5
    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">

        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

      Returns ActionMenu

      Action menu with context flags for orchestration