tarlatan
    Preparing search index...

    Class AwaitingHandoff

    The last attempt, opId in role role, finished with outcome and waits for the owner's handoff command. usable says whether the outcome lets the session go on (plan "Outcomes and usable attempts"); an unusable one allows only ruling add, rounds grant and close --abandoned (decision P11; ruling add is allowed in every AwaitingHandoff, v0.2.0, dogfood-6b, and rounds grant likewise, dogfood-7).

    Hierarchy

    • {
          opId: string & Brand<"OpId">;
          outcome:
              | Success
              | ChangesRequested
              | RateLimited
              | AuthFailed
              | PermissionDenied
              | MaxTurns
              | Crashed
              | Unclassified;
          role: "implementer"
          | "reviewer"
          | "corrector";
          session: {
              attempts: readonly {
                  brief: Option<BriefRecorded>;
                  endedByOwner: Option<StepEndedByOwner>;
                  finished: Option<Finished>;
                  intent: Intended;
                  launched: Option<Launched>;
              }[];
              corrections: number;
              findings: readonly FindingsRecorded[];
              opened: SessionOpened;
              overrules: readonly {
                  findingId: string;
                  reviewOpId: string & Brand<"OpId">;
                  rulingId: string & Brand<"RulingId">;
              }[];
              reports: readonly ReportRecorded[];
              reviewedTree: Option<string & Brand<"Revision">>;
              roundsGranted: readonly { count: number; note: string }[];
              rulings: readonly {
                  id: string & Brand<"RulingId">;
                  supersededBy: Option<string & Brand<"RulingId">>;
                  supersedes: Option<string & Brand<"RulingId">>;
                  text: string;
              }[];
          };
          usable: boolean;
      }
      • AwaitingHandoff
    Index
    • Parameters

      • ...args: [
            props: {
                opId: string & Brand<"OpId">;
                outcome:
                    | Success
                    | ChangesRequested
                    | RateLimited
                    | AuthFailed
                    | PermissionDenied
                    | MaxTurns
                    | Crashed
                    | Unclassified;
                role: "implementer"
                | "reviewer"
                | "corrector";
                session: {
                    attempts: readonly {
                        brief: Option<BriefRecorded>;
                        endedByOwner: Option<StepEndedByOwner>;
                        finished: Option<Finished>;
                        intent: Intended;
                        launched: Option<Launched>;
                    }[];
                    corrections: number;
                    findings: readonly FindingsRecorded[];
                    opened: SessionOpened;
                    overrules: readonly {
                        findingId: string;
                        reviewOpId: string & Brand<"OpId">;
                        rulingId: string & Brand<"RulingId">;
                    }[];
                    reports: readonly ReportRecorded[];
                    reviewedTree: Option<string & Brand<"Revision">>;
                    roundsGranted: readonly { count: number; note: string }[];
                    rulings: readonly {
                        id: string & Brand<"RulingId">;
                        supersededBy: Option<string & Brand<"RulingId">>;
                        supersedes: Option<string & Brand<"RulingId">>;
                        text: string;
                    }[];
                };
                usable: boolean;
            },
            options?: MakeOptions,
        ]

      Returns AwaitingHandoff

    opId: string & Brand<"OpId"> = OpId
    outcome:
        | Success
        | ChangesRequested
        | RateLimited
        | AuthFailed
        | PermissionDenied
        | MaxTurns
        | Crashed
        | Unclassified = StepOutcome
    role: "implementer" | "reviewer" | "corrector" = Role
    session: {
        attempts: readonly {
            brief: Option<BriefRecorded>;
            endedByOwner: Option<StepEndedByOwner>;
            finished: Option<Finished>;
            intent: Intended;
            launched: Option<Launched>;
        }[];
        corrections: number;
        findings: readonly FindingsRecorded[];
        opened: SessionOpened;
        overrules: readonly {
            findingId: string;
            reviewOpId: string & Brand<"OpId">;
            rulingId: string & Brand<"RulingId">;
        }[];
        reports: readonly ReportRecorded[];
        reviewedTree: Option<string & Brand<"Revision">>;
        roundsGranted: readonly { count: number; note: string }[];
        rulings: readonly {
            id: string & Brand<"RulingId">;
            supersededBy: Option<string & Brand<"RulingId">>;
            supersedes: Option<string & Brand<"RulingId">>;
            text: string;
        }[];
    } = OpenSession
    usable: boolean = Schema.Boolean