@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.
- package/CHANGELOG.md +50 -1
- package/MANIFEST +6 -0
- package/bin/tezgah-docs +5 -4
- package/bin/tezgah-optimize +338 -0
- package/bin/tezgah-research +2 -2
- package/bin/tezgah-route +6 -2
- package/bin/tezgah-setup +15 -1
- package/bin/tezgah-task +239 -27
- package/bin/tezgah-taste +3 -1
- package/docs/architecture.md +8 -0
- package/docs/clarity-baseline.json +1 -1
- package/docs/environment.md +4 -4
- package/docs/evidence.md +23 -20
- package/docs/gate.md +19 -14
- package/docs/models.md +9 -2
- package/docs/operations.md +31 -12
- package/docs/testing.md +18 -14
- package/hooks/lang/en.json +3 -0
- package/hooks/lang/tr.json +3 -0
- package/hooks/tezgah_context.py +31 -19
- package/hooks/tezgah_gate.py +75 -36
- package/hooks/tezgah_integrity.py +90 -134
- package/hooks/tezgah_models.py +62 -26
- package/hooks/tezgah_paths.py +84 -28
- package/hooks/tezgah_policy.py +10 -4
- package/hooks/tezgah_research.py +14 -8
- package/hooks/tezgah_stopspec.py +36 -83
- package/hooks/tezgah_store.py +7 -0
- package/hooks/tezgah_task.py +104 -35
- package/hosts/opencode/plugins/tezgah.js +136 -0
- package/output-styles/tezgah.md +5 -2
- package/package.json +1 -1
- package/packaging/install.ps1 +36 -3
- package/packaging/install.sh +13 -3
- package/packaging/upgrade.sh +61 -7
- package/skills/plan-add/SKILL.md +8 -4
- package/skills/tezgah-contract/SKILL.md +14 -0
|
@@ -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
|