Skip to content

docs: document the wall-clock time budget - #1022

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-1021-20261020-1429
Oct 20, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-1021-20261020-1429

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the wall-clock time budget on both sides: the action's time-budget-minutes input and the CLI's agent.max_duration_minutes.

github-action.md

  • time-budget-minutes row in the inputs table, next to max-turns
  • a new Time budget section after Native reminders: why turns alone are not enough, the 80% wrap-up, the 100% stop with exit code 3 inside a live job, the timeout-minutes headroom rule and the 60-minute ceiling for a create-github-app-token token
  • outputs table: exit-code now spells out 2 (turn limit) and 3 (time budget) instead of "non-zero means the agent failed", and timed-out covers the time budget
  • Native reminders lists the time-budget wrap-up on elapsed_minutes, and the trigger catalog line includes it
  • the security tip on capping max-turns points at the time budget

cli.md

  • agent.max_duration_minutes / INFER_AGENT_MAX_DURATION_MINUTES in the Agent Configuration list next to max turns, plus a hot-key row (it reloads from the next turn)
  • headless exit codes table gains 3, with a note that 2 and 3 both mean stopped early rather than broken
  • elapsed_minutes in the reminders trigger catalog, and the threshold field description now covers it

Facts verified against the CLI source at main (cmd/headless/headless.go, config/reminders.go, docs/configuration-reference.md) and the action's own PR description.

Validation

bun run format:check, bun run lint:md and bun run build all pass.

Closes #1021

Generated with Claude Code

@inference-gateway-releaser

inference-gateway-releaser Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit dc56278 into main Oct 20, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-1021-20261020-1429 branch October 20, 2026 14:35
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 31, 2026
## [0.9.23](0.9.22...0.9.23) (2026-10-31)

### 👷 CI

* **release:** label issues and PRs shipped in an rc with rc ([#1044](#1044)) ([b0c47d8](b0c47d8))

### 📚 Documentation

* **adk:** frame rust/ts artifact storage as s3-compatible ([#1050](#1050)) ([4b582a6](4b582a6))
* **adk:** s3 artifact provider with RustFS example ([#1046](#1046)) ([c729c4b](c729c4b))
* BashOutput and ListShells need no approval ([#1032](#1032)) ([0b4f3c0](0b4f3c0))
* **cli:** away exit and stop cleanup after a teleport home ([#1053](#1053)) ([36dd83b](36dd83b))
* **cli:** channels configurable tool result cap ([#1043](#1043)) ([a6d20cf](a6d20cf))
* **cli:** document compact.strategy pointer compaction mode ([#1036](#1036)) ([a3a92a3](a3a92a3))
* **cli:** kubernetes workspace gateway modes and gateway_env ([#1054](#1054)) ([cb89aa1](cb89aa1))
* **cli:** panel search accepts multibyte input ([#1041](#1041)) ([a030902](a030902))
* **cli:** tools validate exit code, status formats, env list ([#1039](#1039)) ([e3ddb20](e3ddb20))
* document the gateway segment in the run identity line ([#1028](#1028)) ([a016726](a016726))
* document the plan-mode scratchpad ([#1023](#1023)) ([c44f1c9](c44f1c9))
* document the Rust read-only library carve-out ([#1034](#1034)) ([efc6f56](efc6f56))
* document the wall-clock time budget ([#1022](#1022)) ([dc56278](dc56278))
* **operator:** orchestrator gateway ref and gateway parking ([#1058](#1058)) ([70e1bb2](70e1bb2))
* **operator:** orchestrator image entrypoint contract ([#1049](#1049)) ([e2048dc](e2048dc))
* **operator:** status.url port and spec.server defaults ([#1057](#1057)) ([6970d29](6970d29))
* read attaches image files for vision models ([#1025](#1025)) ([2605223](2605223))
* restore the WebWright provider (re-added upstream) ([#1026](#1026)) ([6242edb](6242edb))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.289 -> 2.1.296 ([#1017](#1017)) ([2d5d9da](2d5d9da))
* **deps:** bump claude-code 2.1.296 -> 2.1.308 ([#1030](#1030)) ([3ec88a2](3ec88a2))
* **deps:** bump infer CLI v0.226.0 -> v0.231.1 ([#1018](#1018)) ([d5b1c02](d5b1c02))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.23 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document the wall-clock time budget (time-budget-minutes, agent.max_duration_minutes)

1 participant