plateprocess.dev · PLATE release v0.12.0

Budget Governor Models Throttle Strategies Autonomyengine

Budget Governor Models & Throttle Strategies for AutonomyEngine

Research Question

How should the budget governor in the AutonomyEngine estimate costs of actions (e.g. before calling plate_perform_information_audit, large plan_epic, delegations, apply-mode procedures), decide on throttle/pause/warn actions when near/over daily/per-cycle caps, handle resume after reset, and expose observability? Integrate with existing costs.py harvesting + USAGE REPORTs. Provide models, heuristics, over-estimate policy, and how it feeds the engine contract (Design #472) and implementation (Feature #474 etc.).

Sources

Search path documented: Started with GitHub MCP issue_read on #470 + get_sub_issues to confirm children and state. Used local read_file/grep on key sources (design, costs, config, mcp). Ran terminal git status. Cross-referenced AGENTS.md and prior cost-control designs. No external web; all primary repo artifacts.

Findings

Current cost system is purely observability / post-facto:

The design for AutonomyEngine explicitly calls for pre-action governor:

No existing estimation logic in the codebase (grep confirmed zero "estimate", "throttle" only in design comments, "budget" only in planned config).

Heuristics ideas (based on sources):

Risks/edge cases from sources:

This research directly feeds the Design #472 (add estimate_cost helper to contract, update enforce_budget signature/decision type) and Feature #474 (implement in AutonomyEngine + wire into run_cycle/decide_next and MCP).

Recommendation

  1. Adopt a simple heuristic-based estimator in the AutonomyEngine (static base costs per known PLATE action + dynamic factors from health/epic_status + historical from costs harvest; always 1.5-2x over-estimate).
  2. Implement enforce_budget that returns Decision (proceed | throttle | pause | warn) and updates internal spend tracking with daily reset.
  3. Expose via plate_autonomy_status (budget fields) and enrich health.
  4. Update the design doc (autonomous-plate-engine.md) if needed for the model details (this Research doc serves as the detailed artifact).
  5. No SPEC.md change (this is internal engine detail, not product intent).
  6. The implementing Feature PRs should reference this Research and close #471 via the Documentation PR that lands this .md file.

Next autonomous step: move to next sub-issue (#472 Design) once this Research is closed via its Documentation PR. No more autonomous progress possible on #471 without the implementation slices (which are separate children).

Usage Report (per AGENTS.md for closures)

=== USAGE REPORT === tokens: 0 cost: $0.00 duration: 00:05:00 === END USAGE REPORT ===