deepseek-ai/deepseek-harness · error · ScheduleInputError
invalid_rule
invalid_rule
Error message
The at value has an invalid shape.
What it means
Error "The at value has an invalid shape." thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/schedule/schedule/src/domain.ts:160
}
return value
}
interface CalendarParts {
readonly year: number
readonly month: number
readonly day: number
readonly hour: number
readonly minute: number
readonly second: number
readonly millisecond: number
}
/** Read one required named regular-expression group as a number. */
function groupNumber(groups: Record<string, string | undefined>, name: string): number {
const value = groups[name]
/* v8 ignore next -- successful fixed regexes always provide every requested group. */
if (value === undefined) throw new ScheduleInputError('invalid_rule', 'The at value has an invalid shape.')
return Number(value)
}
/** Convert exact calendar fields to a UTC-shaped epoch while rejecting normalization. */
function calendarEpoch(parts: CalendarParts): number {
const value = new Date(0)
value.setUTCHours(0, 0, 0, 0)
value.setUTCFullYear(parts.year, parts.month - 1, parts.day)
value.setUTCHours(parts.hour, parts.minute, parts.second, parts.millisecond)
const epoch = value.getTime()
if (!Number.isFinite(epoch)
|| value.getUTCFullYear() !== parts.year
|| value.getUTCMonth() + 1 !== parts.month
|| value.getUTCDate() !== parts.day
|| value.getUTCHours() !== parts.hour
|| value.getUTCMinutes() !== parts.minute
|| value.getUTCSeconds() !== parts.second
|| value.getUTCMilliseconds() !== parts.millisecond) {View on GitHub (pinned to b150a551b8)
Solutions
- Pass `at` in the documented shape (an RFC 3339 instant or the accepted object form).
When it happens
Trigger: Thrown at packages/schedule/schedule/src/domain.ts:160 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/2ee950a3c007cbab.
Report an issue: GitHub.