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

    Function buildStarFilter

    • Build a star filter from state for use in fetchUserPRCounts.

      Returns undefined if no star data is available (first run). Pure logic over Readonly<AgentState> — lives here in core/daily-logic.ts so the dashboard layer can reuse it without importing from a sibling command module (#1208 M7).

      Parameters

      • state: Readonly<AgentState>

        Current agent state (read-only)

      Returns StarFilter | undefined

      Star filter with minimum threshold and known counts, or undefined on first run