feat(config): pipeline + watchdog thresholds driven by agents.json #470
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!470
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/453"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
container_interval_sec,tail_pr_rebase_interval_ms,dead_letter_threshold, andjanitor_interval_mstoagents.json::watchdogs. Removes the duplicateMAX_ROUNDS = 3constant in favour ofgetMaxReviewRounds()readingpipeline.max_review_rounds. All five previously-hardcoded watchdog/pipeline consts now fall back togetWebhookConfig()at runtime so operators can tune SLAs per-deployment without recompiling.Test plan
getMaxReviewRounds()replacingMAX_ROUNDS.stall_threshold_msoverride changes loaded cutoff;max_review_roundsoverride changesgetMaxReviewRounds()return value.bun x tsc --noEmitandbiome checkclean on all changed files.Closes #453
5438beeb425e8f4a2cdfAll four watchdog knobs (
container_interval_sec,tail_pr_rebase_interval_ms,dead_letter_threshold,janitor_interval_ms) parse correctly with positive-number validation andconsole.warnfallback;max_review_roundsreplaces the hardcodedMAX_ROUNDS; both new tests cover the required AC items; CI green.Nit: the issue's AC lists
default_threshold_msbut the existing field isdefault_stall_ms— pre-existing naming drift from M19-6, not introduced here.