Skip to content

docs(mecatequi): clarify headless and token limits - #1682

Merged
danbarr merged 1 commit into
mainfrom
docs/mecatequi-runtime-guidance-1680
Sep 17, 2026
Merged

danbarr merged 1 commit into
mainfrom
docs/mecatequi-runtime-guidance-1680

Conversation

@danbarr

@danbarr danbarr commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Clarify that --max-run-tokens applies independently to the parent run and every child run, so their combined usage can exceed the configured value.
  • Document how mecatequi handles permission asks when --headless=false and qualify the shared headless limitation accordingly.
  • Link the deployment guide to the canonical permissions and posture guide instead of the builder integration reference.

Development stage

  • Plan / Interface — Bounded/Architectural behavioral and exact-interface contract; no implementation
  • Implementation — based on an approved, merged Plan / Interface PR
  • Combined — compact one-task Bounded/Architectural exception; no separate plan PR, and the in-PR plan declares **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)
  • Spike / Routine — acceptance-plan spine exempt; Spike evidence does not ship as-is

Contract linkage

  • Work classification: Routine
  • Classification rationale: Corrects public documentation for existing CLI and run-loop behavior without changing a runtime or interface.
  • Decision record: None; this change documents shipped behavior.
  • Human waiver of spine: No
  • Acceptance plan: N/A; Routine documentation correction.
  • Human decisions resolved and recorded: N/A; no product decision is introduced.
  • Plan / Interface PR: N/A
  • Approved commit baseline: N/A
  • Combined/exemption rationale: N/A; Routine work is acceptance-plan exempt.

Interface conformance

  • No runtime or interface change. The documentation matches the merged mecatequi flag wiring, cancel-on-ask loop, and inherited per-run token limit.

Issue relationship

Closes #1680

Type of change

  • Behavioral/interface plan
  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Dependency update
  • Documentation/process
  • Other (describe):

Test plan

Baseline checks

  • Acceptance-plan checker
  • Linting (task lint)
  • Offline test suite (task test)
  • Offline demo (go run ./cmd/mecademo)
  • Markdown changed: docs generation/link checks (task docs)
  • User docs/user-facing behavior changed: site build (task site:build)
  • Guarded engine API affected: compatibility check (task api:check)
  • Intentional engine API change: task api:update + engine/CHANGELOG.md
  • Landed plan: strict acceptance trace (task ac-trace-strict)
  • Final implementation review: /panel-review

Changes

File Change
user-docs/building/deployment/mecatequi.md Clarifies inherited per-run token limits, surfaced permission asks, and canonical posture guidance.
user-docs/features/permissions-and-posture.md Qualifies the general headless-ask limitation with mecatequi'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=false surfaces 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 only mecatequi-specific operation.

@danbarr
danbarr merged commit 970d02a into main Sep 17, 2026
29 checks passed
@danbarr
danbarr deleted the docs/mecatequi-runtime-guidance-1680 branch September 17, 2026 13:35
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 21, 2026
2 tasks

This branch was successfully deployed

1 active deployment
Preview — ce030b2c Deployed Sep 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: clarify mecatequi headless and run-budget behavior

2 participants