IFClite TypeScript API
    Preparing search index...

    Function readNativeReview

    • One bounded read projection used by actual Flow and MCP dispatch.

      Parameters

      • captures: NativeReviewCaptures
      • liveModels: () => readonly NativeReviewModel[]
      • request: { maxFindings?: unknown; modelIds?: unknown; sources?: unknown }
      • allowed: (id: string) => boolean

      Returns Promise<
          {
              bounds: {
                  clippedTextFields: number;
                  knownFindings: number
                  | null;
                  knownFindingsScope: "retained-current-contexts";
                  nativeCoverageComplete: boolean;
                  omittedFindings: number | null;
                  presentationComplete: boolean;
                  rowLimit: number;
                  textLimit: number;
              };
              cards: CoordinationCard<ReviewMessage>[];
              coverage: { runId: string; specifications: ReviewSpecificationCoverage[] }[];
              findings: ReviewFinding<ReviewMessage>[];
              latestAttempt:
                  | {
                      proof: ReviewRunProvenance
                      | null;
                      refusal?:
                          | "capture-bound"
                          | "aborted"
                          | "source-unavailable"
                          | "work-bound"
                          | "target-changed"
                          | "scope"
                          | "sensitive-input"
                          | "producer-pending"
                          | "producer-failed";
                      state: | "failed"
                      | "refused"
                      | "pending"
                      | "succeeded"
                      | "aborted"
                      | "superseded";
                  }
                  | null;
              provenance: ReviewRunProvenance[];
              retention: | {
                  captureRefusal: "capture-bound"
                  | null;
                  inventoryOmitted: boolean;
                  limit: number;
                  omittedHistoricalRuns: null;
                  policy: "latest-successful-native-context";
              }
              | null;
              runs: FindingRun<ReviewMessage>[];
              sources: {
                  refusal?:
                      | "capture-bound"
                      | "aborted"
                      | "source-unavailable"
                      | "work-bound"
                      | "target-changed"
                      | "scope"
                      | "sensitive-input"
                      | "producer-pending"
                      | "producer-failed";
                  source: FindingSourceKind;
                  state: string;
              }[];
              totals: ReviewTotals;
          },
      >