feat: pure zero-LLM workflows can set a content status#140
Open
lufen wants to merge 1 commit into
Open
Conversation
Adds an optional status field (new|resolved|nothing-new — the same vocabulary an agent sets via `loopany report --status`) that a pure workflow return value can set directly, since only a workflow calls the final report itself with no agent in the loop. - daemon: WorkflowResult.status + validation in runWorkflow(); passed through ReportBody in the pure-workflow reportRun() call - server: RUN_STATUSES whitelist; report()'s body type gains status?; both the normal finalize path AND the reconcile/late-wake-report path persist a claimed status (the reconcile branch was previously missed, which could let a stale nothing-new workflow re-trigger a notification via shouldNotify on a late wake-report) This lets the dashboard's timeline render green for a healthy workflow-only run (previously only an agent's report --status or finishLoop() could ever set status, so pure workflows could never turn a box green).
205c218 to
c0fc65c
Compare
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.
feat: pure zero-LLM workflows can set a content status
Adds an optional status field (new|resolved|nothing-new — the same
vocabulary an agent sets via
loopany report --status) that a pureworkflow return value can set directly, since only a workflow calls
the final report itself with no agent in the loop.
through ReportBody in the pure-workflow reportRun() call
both the normal finalize path AND the reconcile/late-wake-report
path persist a claimed status (the reconcile branch was previously
missed, which could let a stale nothing-new workflow re-trigger a
notification via shouldNotify on a late wake-report)
This lets the dashboard's timeline render green for a healthy
workflow-only run (previously only an agent's report --status or
finishLoop() could ever set status, so pure workflows could never turn
a box green).