Autonomous issue-to-PR driver for Claude Code and OpenCode, structured per lair/architecture generic.md. Workspace: entities/core/data/agent library crates plus api, worker and cli binaries. Two pieces of real logic land with tests — lane routing (cc for judgement, oc for specification) and the limit governor. Constraints encoded as code rather than comments: - agents are spawned as vendor binaries; tireless never calls a provider API - ANTHROPIC_API_KEY is never set by tireless, only passed through - assert_not_anthropic refuses to start an OpenCode lane pointed at Anthropic - every run passes the governor; provider rate-limit signals win over our own accounting Deployment assets target bob.hanzalova.internal:23296 (registered in port-allocations.md), fronted by hanzalova at tireless.internal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DHhHtohxcdk1PL3tfnYJdH
24 lines
772 B
TypeScript
24 lines
772 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
|
|
/**
|
|
* How often a repo's issues are polled.
|
|
*
|
|
* The floor exists to keep tireless a well-behaved API client: a repo that is
|
|
* quiet for days does not need to be asked every thirty seconds. See
|
|
* `doc/plan/design.md` §5.
|
|
*/
|
|
export type PollSchedule = {
|
|
/**
|
|
* Seconds between polls. Clamped to `>= min_interval_seconds` by core.
|
|
*/
|
|
interval_seconds: number,
|
|
/**
|
|
* Optional quiet window (local time, `HH:MM`), during which no poll runs
|
|
* and no job is claimed. Both ends required if either is set.
|
|
*/
|
|
quiet_from: string | null, quiet_until: string | null,
|
|
/**
|
|
* When false the repo stays configured but is skipped entirely.
|
|
*/
|
|
enabled: boolean, };
|