Repository navigation
feat(autopilot): agent run time limits are settings (Coding 60, Review 30, Testing 45 min) - #289
Merged
Merged
Conversation
…w 30, Testing 45 min) The Coding agent's run on a member's computer was capped at a fixed 20 minutes (Reviewer 20, Testing 30). VNChess #102 — a backfill-migration ticket — was cut off at 20 minutes, lost its work, and the retry then ended without a reply. The caps are now Settings › Autopilot › Run time limits (Autopilot:CodingRunMinutes 10–240, ReviewRunMinutes 5–120, TestingRunMinutes 10–180), read per run through IAgentProfiles.RunLimitAsync and clamped to their range; a missing or non-positive value falls back to the built-in default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ISettingsContributorper ADR-0011, tenant scope, clamped to range):Autopilot:CodingRunMinutes: default 60, range 10–240Autopilot:ReviewRunMinutes: default 30, range 5–120Autopilot:TestingRunMinutes: default 45, range 10–180IAgentProfiles.RunLimitAsync. The method has a default interface implementation, so other implementers keep working.AutopilotSettings.RunLimitForAsyncfalls back to the built-in default when the value is missing or ≤ 0.docs/CONFIG.md.Test plan
AutopilotConfigurationTests: descriptor ranges and defaults; read, clamp, and an unknown key.IssueWorkAgentTests.RunAsync_RunOnMachine_TimeoutIsTheTenantsCodingRunLimit.dotnet test --solution AgentOs.slnx -c Release: 1,772 passed, 0 failed.AutopilotSettingsTests3/3, including the 3 new rows. Checked in a screenshot in light and dark.settings-autopilotcard needs the new "Run time limits" panel (next/design-sync).🤖 Generated with Claude Code
https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB