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

    Function firstMaintainerResponseFromDigest

    • Look up a just-merged/closed PR's firstMaintainerResponseAt from the previous run's persisted digest (#1461). At detection time the PR is no longer open, so it cannot be enriched without new API calls — but if it was open during a prior enriched run, the persisted digest's openPRs carry the timestamp. Best-effort: returns undefined when the PR never appeared in a persisted digest (e.g. opened and merged between runs, or the digest predates the field).

      Lives in core/daily-logic.ts so both ledger writers (daily Phase 3 and dashboard-data) share one lookup. Callers must read state.lastDigest BEFORE the current run overwrites it via setLastDigest.

      Parameters

      • digest: { openPRs: FetchedPR[] } | undefined
      • url: string

      Returns string | undefined