-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Summary
Add runtimeVersion to Job schema in @perstack/core.
Background
- All Runs within a Job execute on the same runtime
runtimeVersionshould be managed at the Job level, not the Run level- This aligns with the
minRuntimeVersionconstraint on Experts:- At job execution time, check
minRuntimeVersionof all experts in the delegate chain - Use the maximum version to determine the job's
runtimeVersion
- At job execution time, check
Current State
// @perstack/core/src/schemas/job.ts
export interface Job {
id: string
status: JobStatus
coordinatorExpertKey: string
totalSteps: number
maxSteps?: number
usage: Usage
startedAt: number
finishedAt?: number
// runtimeVersion is missing
}Proposed Changes
- Add
runtimeVersion?: stringtoJobinterface andjobSchema
Related
- wintermute-2 will make corresponding changes (add runtimeVersion to jobs table, remove from runs table)
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels