Repository navigation
docs: stop claiming a both-flags-off run is uncapped (#1268) - #1278
Conversation
|
Pre-reporting one state change on this PR: field Head is |
|
Read at Red is revert-based and content-shaped. Base It cannot pass vacuously by the file going missing. Removing The Cited ranges check out in this tree: Green Not run: No UI surface: one documentation paragraph and one offline test; nothing renders differently. No merge action from QA: this report is advisory, the merge gate is the repo's review decision on the head sha, and the merge itself is executed by the repo's merge process. |
start.md closed the caps section with "the run behaves exactly as before", which AGENTDESCENT_MAX_CALLS (#1181) and the MCP per-Ticket budget (#1214) made false. State the per-run clamp, keep the --max-calls 0 sentence verbatim, and put the cumulative Ticket arithmetic only in the MCP clause. Cite runstore.py:228-266, plugin-design.md:595-612 and mcp.py:440-490.
|
Review (Birfy) Tip SHA: 92b02d9
|
The caps section of
docs/start.mdclosed with "Leave both flags off and the run behaves exactly as before", whichAGENTDESCENT_MAX_CALLS(#1181) and the MCP per-Ticket budget (#1214) made false: an operator's ceiling clamps every run this process starts, including one that names no cap of its own.docs/start.md:137-151: the closing sentence now says both-flags-off means this command names no cap, not an uncapped run; namesAGENTDESCENT_MAX_CALLS=N, says a caller's--max-callscan lower it but never raise it, and that the clamp is per run.--max-calls 0sentence is unchanged, verbatim.call_limitcarriesticket: {ceiling, spent, remaining}, and a spent Ticket refuses anotherstart.tests/test_start_caps_truth.py: three assertions — the false phrase is absent (negative, so rewording is allowed), the corrected claim is present (does not mean the run is\s+uncapped, whitespace-tolerant so a rewrap cannot fail it), and the zero-cap sentence survives byte-for-byte (a control, which passes at the base too by design).Citation ranges: the issue's are stale. As the files read at this tip, the clamp is
agentdescent/runstore.py:228-266(_clamped_max_calls; 267-268 are blank lines) and the operator-ceiling bullet isdocs/plugin-design.md:595-612(the whole bullet, through the spent-Ticket refusal). The MCP numbers live atagentdescent/mcp.py:440-490(_call_limit_payload).Verification at 92b02d9
Tip SHA: 92b02d9
Red at that tip, with
docs/start.mdreverted to base0a6e782f8fand the test as committed:(the pass is the zero-cap control)
Green with the change:
3 passed in 0.35s.Docs family (
test_docs_links.py,test_site_navigation.py,test_docs_examples.py,test_start_caps_truth.py):34 passed in 60.02s.python -m tools.gen_api_docs --check:docs/api.md is up to date.python -m tools.changelog_fragments check:45 changelog fragment(s) OK.Ran: the four files above and both tools. Not run:
mkdocs build --strict(mkdocs is not installed on this box; the CIbuildleg covers the page, and the nav is unchanged), the full suite (docs-only change, CI runs it), and any model call (none needed, no code touched).No UI surface: a documentation paragraph and one offline test; nothing renders differently.
Fixes #1268