@r1z4x/tezgah 1.8.3 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -266,6 +266,20 @@ code-discovery brief names codegraph's tools (`codegraph callers`, `callees`,
266
266
  the graph, grep only for literal text"; never a grep-only explorer (observed).
267
267
  Subagents never orchestrate: no nested harnesses, no sub-subagents.
268
268
 
269
+ ### The verification batch: `tezgah-optimize`
270
+ `~/.config/tezgah/bin/tezgah-optimize next [--files PATH ...]` answers, per command
271
+ the active plan's Acceptance names, one of `run now`, `defer` or `already green` -
272
+ the first from no measurement or a median below the in-turn bar, the second from a
273
+ median at or above it, the third from a green row recorded for the same sha. The
274
+ router calls it at a phase move and before it spends a check the same change
275
+ already passed, and calls `push` once at the end of a step instead of pushing
276
+ every iteration: a build or a CI run paid once per attempt is the cost this
277
+ decides. `record <command> --seconds N --exit N` is how a measurement gets in, so
278
+ the session that runs a check hands the number back. The tiers are measured, not
279
+ declared, so a project that never adopted this repository's `AGENTS.md` still gets
280
+ a batch. See `docs/testing.md` and, for the decision behind it, the research line
281
+ `tezgah-optimization`.
282
+
269
283
  ### Tier 2 - codegen (cheap model via OpenRouter)
270
284
  `~/.config/tezgah/bin/codegen "task" --files a.py b.py` drafts a bounded edit on a cheap model
271
285
  (override with --model or CODEGEN_MODEL) for a fraction of the cost. On Claude