feat(budget): make spend budget the sole run limiter #101
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_shrimp!101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_unify_budget_limit"
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?
Summary
Removes agent step/iteration limiting entirely and makes the spend budget the single execution limiter.
Related Issue
Closes #98
Changes
resolve_iteration_budgetalways returns an unbounded ceiling, so the agent loop and subagents are never stopped by an iteration/step count. The iteration machinery remains for telemetry only.max_iterations/hard_max_iterations, and the duplicate per-job budget fields (per_job_usd,per_job_max_calls,autonomy.job_budget_usd), are deprecated no-ops kept parseable for backward compatibility.job.startrefuses a run when no spend budget is configured (the only thing that bounds a run now), with theHERO_SHRIMP_BUDGET_OVERRIDE=1escape hatch.default.ymlshipsbudget.daily_usd: 5.0so runs stay bounded out of the box.Test Results
cargo checkandcargo clippy -- -D warningsclean.hero_rpc_openrpc,herolib_core::base) unrelated to this change.7477df9f8etod5f7277f3dView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.