Repository navigation
docs(mecatequi): clarify headless and token limits - #1682
Merged
Merged
Conversation
jhrozek
approved these changes
Sep 17, 2026
3 tasks
Merged
2 tasks
This branch was successfully deployed
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
--max-run-tokensapplies independently to the parent run and every child run, so their combined usage can exceed the configured value.mecatequihandles permission asks when--headless=falseand qualify the shared headless limitation accordingly.Development stage
**Expected tasks:** 1, a non-placeholder**Combined rationale:**, and no runtime/public/operator/persistence/trust-boundary interface change (None — rationale; workflow-only meta-changes may review process docs/skills here)Contract linkage
Interface conformance
mecatequiflag wiring, cancel-on-ask loop, and inherited per-run token limit.Issue relationship
Closes #1680
Type of change
Test plan
Baseline checks
task lint)task test)go run ./cmd/mecademo)task docs)task site:build)task api:check)task api:update+engine/CHANGELOG.mdtask ac-trace-strict)/panel-reviewChanges
user-docs/building/deployment/mecatequi.mduser-docs/features/permissions-and-posture.mdmecatequi's cancel-on-ask behavior.User-facing change
Readers can distinguish the per-run token ceiling from a cross-tree aggregate budget and understand that
--headless=falsesurfaces permission asks but does not provide an approval interface.Special notes for reviewers
Shared posture semantics remain canonical in
user-docs/features/permissions-and-posture.md; the deployment guide contains onlymecatequi-specific operation.