Repository navigation
Jev workflows: agent steps and Jev decisions, and Let Jev choose - #46
Open
MasterYoav wants to merge 12 commits into
Open
MasterYoav wants to merge 12 commits into
MasterYoav wants to merge 12 commits into
Conversation
Agent steps (fixed brain or Jev picks, Can edit by default) and Jev steps (gate, route, score) with go-to targets; the state Jev is asked about, trimmed from the oldest end; one call choosing the cheapest capable CLI, model and effort.
Steps are JSON, read one by one so a step from a newer xBot loses only itself; runs are claimed like automations'; v6 → v7 migration tested.
A run is one chat tagged with its workflow: agent steps are turns (the session
carries context), Jev steps notices ("Gate: … — yes (0.91) → Fix it"). Gates,
routes, scores and go-tos; each step at most 5 times per run; fail closed when
Jev can't be reached (a Jev-picks step falls back to the workflow's brain);
claims and schedules like automations; nothing runs while the toggle is off.
Only while Jev Workflows is on; picking an agent by hand turns it off; if Jev can't be reached the chat's own agent answers and the reply says why. Workflows run from the automations' clock and through the helper while xBot is closed.
The page and its row show only while Jev Workflows is on; without a key the page says so with a button to Settings › AI. Steps are dragged in from a palette (agent step, gate, route, score) and reordered by dragging; a Jev step's branches are pickers. Run now, Run with…, and the runs.
listWorkflows / runWorkflow (with an optional input) answered through the same Workspace methods; workflowsAvailable on connecting and whenever the toggle changes; workflow runs stay out of the phone's chat list.
Shown only while the Mac has Jev Workflows on (workflowsAvailable); each workflow's schedule, steps and recent runs; Run now opens the run.
Architecture (Jev and workflows, schema v7), the Mac app, the UI spec (the Workflows page, Let Jev choose, the phone's Workflows), the phone, the roadmap, the changelog and the spec table; the spec's storage line as built.
…ed beside the field)
…ow no longer clips
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jev workflows (spec), stacked on the AI settings PR.
workflows,chats.workflow_id,chats.jev_chooses).Verified: 562 package tests (89 new); iOS builds; Workflows page, editor and Settings › AI checked on screen (fixed a clipped title, the gate's threshold row and the key field's label). Not verified: a real run against Jev (needs your key).