Skip to content

Interface: Assignment

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Scheduling / Assignment

Interface: Assignment

Defined in: src/types/scheduling.ts:138

One classified cell in the input grid.

Properties

agentId

agentId: string

Defined in: src/types/scheduling.ts:140

Echoes the id from AgentSpec.


day

day: number

Defined in: src/types/scheduling.ts:141


roles

roles: string[]

Defined in: src/types/scheduling.ts:156

Roles the agent can or must fill at this cell.

  • When status === 'confirmed_true': the role(s) the agent must fill at this cell. Usually a single entry.
  • When status === 'free': the set of roles the agent could fill across valid schedules that place them here.
  • When status === 'confirmed_false': always empty.

The reserved string ANY_ROLE ("any") denotes routing through the unroled sub-slot pool.


shift

shift: number

Defined in: src/types/scheduling.ts:142


status

status: AssignmentStatus

Defined in: src/types/scheduling.ts:143