Record Class Seat

java.lang.Object
java.lang.Record
ai.redouble.nucleo.harness.models.Seat
Record Components:
jobClass - the declaring job's class (the seat's identity)
grade - the declared capability floor; null for embeddings and decision seats
kind - which client family the seat asks for

public record Seat(Class<?> jobClass, Grade grade, ModelKind kind) extends Record
Who is asking for a model: the identity of the declaring workload. Seats self-identify by job class - thinker classes belong to applications, so per-app picker policy falls out of per-seat matching without any registry.

Only an LLM seat has a grade: embeddings and decision models are different client families entirely, named per deployment, never on the capability ladder.

Since:
0.1 (2026-08-28)
Author:
Andrey Santrosyan
  • Constructor Summary

    Constructors
    Constructor
    Description
    Seat(Class<?> jobClass, Grade grade, ModelKind kind)
    Creates an instance of a Seat record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether this seat asks for a decision model.
    boolean
    Whether this seat asks for an embeddings model.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the grade record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the jobClass record component.
    Returns the value of the kind record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Seat

      public Seat(Class<?> jobClass, Grade grade, ModelKind kind)
      Creates an instance of a Seat record class.
      Parameters:
      jobClass - the value for the jobClass record component
      grade - the value for the grade record component
      kind - the value for the kind record component
  • Method Details

    • embeddings

      public boolean embeddings()
      Whether this seat asks for an embeddings model.
    • decision

      public boolean decision()
      Whether this seat asks for a decision model.
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • jobClass

      public Class<?> jobClass()
      Returns the value of the jobClass record component.
      Returns:
      the value of the jobClass record component
    • grade

      public Grade grade()
      Returns the value of the grade record component.
      Returns:
      the value of the grade record component
    • kind

      public ModelKind kind()
      Returns the value of the kind record component.
      Returns:
      the value of the kind record component