Docs · Inspect and improve workflows
tempergraph improve
Clusters, proposals, paired trials and cause analyses.
Usage#
tempergraph improve [-h] {backlog,propose,trial,aa,open,show,analyse,review,outbox} ...improve backlog#
clusters of repeated failures, ranked; read-only
tempergraph improve backlog [-h] [--json] [workflow]| Argument | What it is |
|---|---|
<workflow> | one workflow; with none, every workflowoptional |
| Option | What it does |
|---|---|
--json | print the backlog as JSON |
improve propose#
draft a change for one cluster, from a person's patch or a proposer session
tempergraph improve propose [-h] [--patch FILE] [--rule RULE] [--executor EXECUTOR] [--json] workflow cluster| Argument | What it is |
|---|---|
<workflow> | the workflow |
<cluster> | the cluster id, as improve backlog lists it |
| Option | What it does |
|---|---|
--patch FILE | a person's unified diff over the package |
--rule RULE | the general rule the change states (needed with --patch) |
--executor EXECUTOR | the executor of the proposer session |
--json | print the proposal as JSON |
improve trial#
run a proposal against the current version on the same cases, in pairs
tempergraph improve trial [-h] [--target TARGET] [--cap USD] [--executor EXECUTOR] [--json] proposal| Argument | What it is |
|---|---|
<proposal> | the proposal id |
| Option | What it does |
|---|---|
--target TARGET | first_pass_yield(unit), run_cost, outcome_met, ... |
--cap USD | the most the trial may spend, in USD |
--executor EXECUTOR | the executor of the trial runs |
--json | print the trial record as JSON |
improve aa#
run the case set twice on the current version to measure the noise between runs
tempergraph improve aa [-h] [--cap USD] [--json] workflow| Argument | What it is |
|---|---|
<workflow> | the workflow |
| Option | What it does |
|---|---|
--cap USD | the most the runs may spend, in USD |
--json | print the trial record as JSON |
improve open#
open a draft pull request for a proposal, with its trial report; never merges
tempergraph improve open [-h] [--json] proposal| Argument | What it is |
|---|---|
<proposal> | the proposal id |
| Option | What it does |
|---|---|
--json | print the pull request as JSON |
improve show#
print a proposal, trial or analysis record as JSON
tempergraph improve show [-h] PROPOSAL|TRIAL|ANALYSIS| Argument | What it is |
|---|---|
<PROPOSAL|TRIAL|ANALYSIS> | the record id |
improve analyse#
one read-only session on one cluster and a checked cause record under improve/analyses/
tempergraph improve analyse [-h] [--executor EXECUTOR] [--json] workflow cluster| Argument | What it is |
|---|---|
<workflow> | the workflow |
<cluster> | the cluster id, as improve backlog lists it |
| Option | What it does |
|---|---|
--executor EXECUTOR | the executor of the analysis session |
--json | print the cause record as JSON |
improve review#
the review of a run's sessions: run it, show it, or a summary
tempergraph improve review [-h] [--session KEY] [--full] [--dry-run] [--version VERSION] [--json] selector| Argument | What it is |
|---|---|
<selector> | a thread selector, or show / summary |
| Option | What it does |
|---|---|
--session KEY | review only these sessionsrepeatable |
--full | read every session in full |
--dry-run | print the plan and the estimate; spend nothing |
--version VERSION | summary: one workflow version |
--json | print the review as JSON |
improve outbox#
the filing outbox: list its waiting entries, clear them, send them under the daily issue cap
tempergraph improve outbox [-h] {list,send,clear} ...improve outbox list#
print the waiting entries, oldest first, without their text
tempergraph improve outbox list [-h]improve outbox send#
deliver the waiting entries under the daily issue cap
tempergraph improve outbox send [-h] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed]| Option | What it does |
|---|---|
--caller {person,agent,pipeline,orchestrator,scheduler,engine} | who is calling: person, agent or pipeline (the others are kept for the engine's own supervisors); a declaration can only lower trust |
--as-agent | the same as --caller agent |
--caller-app CALLER_APP | the name of the calling agent or pipeline application, recorded with the call |
--relayed | the decision is a person's, carried by an agent; checked against the person's last turn |
improve outbox clear#
remove every entry (--all) or those of one fingerprint (--fingerprint)
tempergraph improve outbox clear [-h] [--all] [--fingerprint FINGERPRINT] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed]| Option | What it does |
|---|---|
--all | remove every entry |
--fingerprint FINGERPRINT | remove the entries of this fingerprint |
--caller {person,agent,pipeline,orchestrator,scheduler,engine} | who is calling: person, agent or pipeline (the others are kept for the engine's own supervisors); a declaration can only lower trust |
--as-agent | the same as --caller agent |
--caller-app CALLER_APP | the name of the calling agent or pipeline application, recorded with the call |
--relayed | the decision is a person's, carried by an agent; checked against the person's last turn |
Edit this page on GitHub · engine 0.9.0