Docs · Author and upgrade workflows

tempergraph author

Author a workflow from what a good result is: sessions, approvals, verify, trial and grade.

Usage#

usage
tempergraph author [-h] {start,intake,check,show,drop,list,approve,verify,trial,grade} ...

author start#

open an authoring session for a new workflow, or a revise session for an existing one

usage
tempergraph author start [-h] [--from {solution,sources,chat}] [--revise] name [paths ...]
ArgumentWhat it is
<name>the new workflow's name, or the workflow to revise
<paths>…source files to read in: a script, prompts, templates or examplesoptional
OptionWhat it does
--from {solution,sources,chat}how the session starts: from an existing solution, from sources, or from a chat; repeatable for a mixed sessionrepeatable
--reviserevise an existing workflow's outcome

author intake#

add sources to a session and run the model-free inventory

usage
tempergraph author intake [-h] [--kind KIND] [--artifact ARTIFACT] [--unit UNIT] [--outside] id paths [paths ...]
ArgumentWhat it is
<id>the authoring session id
<paths>…the source files to add
OptionWhat it does
--kind KINDthe source's kind, such as solution, reference, example_good, example_bad or other
--artifact ARTIFACTthe artifact an example is for
--unit UNITthe unit an example is for
--outsidea path outside the workspace the person named

author check#

check a session's drafts: outcome, blueprint, coverage and criteria; read-only

usage
tempergraph author check [-h] id
ArgumentWhat it is
<id>the authoring session id

author show#

a session's phase, sources, drafts, open decisions and approvals; read-only

usage
tempergraph author show [-h] [--json] id
ArgumentWhat it is
<id>the authoring session id
OptionWhat it does
--jsonprint the session as JSON

author drop#

remove a session's folder

usage
tempergraph author drop [-h] id
ArgumentWhat it is
<id>the authoring session id

author list#

every open authoring session

usage
tempergraph author list [-h]

author approve#

record a person's approval of one phase of a session

usage
tempergraph author approve [-h] id phase
ArgumentWhat it is
<id>the authoring session id
<phase>the phase number, 1 to 7

author verify#

run the checks an authored workflow must pass before anyone relies on it

usage
tempergraph author verify [-h] [--judge-seeds] [--trial] [--case CASE] [--cap CAP] [--json] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed] workflow
ArgumentWhat it is
<workflow>the workflow, registered or as a package folder
OptionWhat it does
--judge-seedsalso grade each judge's seed cases with the real judge (spends)
--trialalso run one case end to end as a trial (spends; needs --case)
--case CASEthe eval case the trial runs
--cap CAPthe most --judge-seeds and --trial may spend together, in USD (default 5)default 5.0
--jsonprint the rungs as JSON
--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-agentthe same as --caller agent
--caller-app CALLER_APPthe name of the calling agent or pipeline application, recorded with the call
--relayedthe decision is a person's, carried by an agent; checked against the person's last turn

author trial#

the first trial's report: each criterion's status and the person's grade

usage
tempergraph author trial [-h] [--json] workflow
ArgumentWhat it is
<workflow>the workflow whose first trial to report
OptionWhat it does
--jsonprint the report as JSON

author grade#

the person's grade on one criterion of the trial's output

usage
tempergraph author grade [-h] [--unit UNIT] --criterion CRITERION --status {MET,PARTIAL,UNMET,N/A,UNVERIFIABLE} --reason REASON [--reviewer REVIEWER] [--json] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed] workflow
ArgumentWhat it is
<workflow>the workflow whose trial output is graded
OptionWhat it does
--unit UNITthe criterion's unit; outcome for a final criteriondefault outcome
--criterion CRITERIONthe criterion idrequired
--status {MET,PARTIAL,UNMET,N/A,UNVERIFIABLE}the person's graderequired
--reason REASONwhy, in a sentencerequired
--reviewer REVIEWERthe reviewer's handle (default the caller)
--jsonprint the recorded grade as JSON
--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-agentthe same as --caller agent
--caller-app CALLER_APPthe name of the calling agent or pipeline application, recorded with the call
--relayedthe 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