Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@jive-sh/workflow-platform

Latest version: v0.6.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: chaine.dance
9 Versions
2.0K Downloads

Scan summary

@jive-sh/workflow-platform was last scanned on 28 Nov 2026 at version 0.6.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.6.1.
  • Downloads: 2,016 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.6.1 LATEST 28 Nov 2026 No rules fired
0.6.0 21 Nov 2026 No rules fired
0.5.1 19 Nov 2026 No rules fired
0.5.0 19 Nov 2026 Not shown
0.4.0 19 Nov 2026 Not shown

No rules fired in 0.6.1

Findings

Findings for v0.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.6.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@jive-sh/workflow-platform

Durable workflows on Effect's workflow engine (effect/workflow), where every step of every run is measured and every item a workflow works on is a task in a queue.

A project defines its workflows here and supplies only what it alone knows: its files, its process runner, its words for items. The platform does the rest the same way for every workflow:

  • One way to define a workflow and its steps. Each step has a kind, which a page says in words: plain code, an agent step, a check (it decides whether the work passes) or a sub-workflow. It also says what it may write and which step can follow it. Nothing else defines a step.
  • Workflows all the way down. A workflow is a step of another through defineSubWorkflow: the step starts it as a run of its own and waits for it, the engine suspending the run above until it ends. One record in the workflow above names that run, its steps work on the item the run above works on, and its agent steps count against the agents' limit of the workflow at the top. The top of a project is one workflow, which a page enters at and drills down from.
  • Every step is measured, never self-reported. Time, tokens, CPU (its own and its child processes'), peak memory, files written and compiles go on one record per step run, per item.
  • Every item is a task, with an append-only log of notes and one of four statuses read from them: queued, in progress, blocked or done (src/tasks.ts). Done means its workflow's final check passed. A queue is first in, first out, and one call reorders it by hand (moveToFront). Blocking is the logic of the step that picks: 10 failed tries, flipping between two versions, nothing new since its last failed try, or a reason of the workflow's own, each in words on the task.
  • Waiting is event-driven. A Pick with nothing to claim waits for an event that can change that (a note, a new item, a run ending, a budget change) and never polls.
  • A run limit on every workflow, and an agents' limit where it has agent steps. Every start of every workflow, however it starts (a timer, its inputs changing, its queue, a request), passes its run limit (steps.ts gatedExecute): a new run starts only while fewer are going, 0 starts none, and none set is no limit, or for a workflow with an agent step and a list of work its agents' limit. That kind of workflow also keeps its run limit's number of runs going, and at most its agents' limit of them are in an agent step at once: a run at an agent step whose agents are all in use waits there, its task kept and its record saying so, until one frees. At 0 agents nothing gets past a first agent step: a run with a task ends there, its task marked as needing an agent (below). Setting either limit (runPlanChanged) has the run planner plan again at once. The run limit is the one way to stop a workflow: at 0 no run of it starts, and a run already going ends before it takes on more work (steps.ts standDownIfSurplus). In a workflow its budget keeps going that is before an agent step: the run still picks and tests with no agent, and ends at a Pick that finds nothing. In any other it is before a Pick, before an agent step, or at its first step when the engine resumes it after a restart. A step between those still runs, so what an agent step just made is checked and recorded. There is no pause beside it.
  • A task that needs an agent no run can have gives its run slot up (steps.ts untilAgentSlot). Where no agent can be had (its workflow's agents' limit is 0, or the spending limit holds), a run with a task ends at its agent step instead of waiting there: its task goes to the back of its queue, marked "needs an agent" with why in words, and its slot goes to work that needs none. Its Pick passes over marked tasks while no agent can be had, and takes them in queue order once one can. Something new from outside the workflow clears the mark (a return to its queue, a move to the front, any note by a person or another workflow), and so do an agent step that ran on the task and its final check passing. A run with no task, or one waiting for an agent another run holds, still waits. The status table's queued row says how many need agent, "804 queued (12 need agent)", and an open workflow lists them by reason.
  • One spending limit for the whole account: "agents stop at X% of the week" (spending-limit.ts, 95 when none is set). While the newest good reading of the week is at or past X, every agent step of every workflow waits before its agent call, as at an agents' limit of 0, its record saying "waits: the week's use is N%, at or past the spending limit of X%", and goes on by itself once a reading is below X. It judges the account's week, not the step records' tokens, because the week also counts what no workflow runs (agent threads run by hand). The project gives the reading (WorkflowProject.weekUsage) and tells the platform of each one it takes (platform.spending.readingTaken); a project that gives none has no spending limit. A failed or old reading never lifts it: the limit keeps the newest good reading's verdict, however old, and the page says the reading is stale and why. An unreadable one holds every agent step.
  • Each queue's counts, kept current. When a queue may have changed (a wake of its Picks, or a Pick claiming an item), the process that runs the workflows counts it within 5 seconds and stores each status's count where it moved (queue-counts.ts, queue_counts). A page reads the newest rows and their history and never counts.
  • A page read from the records at each request. Every workflow with its limits, its queue and where work goes between them is a few small readings (platform.view, under 100 ms for 52 workflows and 166,000 step records); one workflow's steps, costs, graph and funnel are read from its own records when a page opens it (platform.figures). Nothing is built on a schedule or stored for a page. Nothing else decides how many run, and a page can set both (WorkflowsDashboard's setLimit).
  • Runs only when their inputs change. A workflow declares what it runs on (inputs); its trigger starts a run only when their fingerprint differs from its last successful run's, whose result stands meanwhile. A timer is only the fallback that checks. A workflow with a list of work can declare what each task runs on (taskInputs): each outcome records the task's fingerprint as its run left it, and its Pick blocks a task nothing new has reached since its last failed try.
  • A reason with every outcome. Each step record says why it ended as it did; the dashboard counts endings per step, where runs stopped and why, what each workflow yields per run, per million tokens and per compile against the window before, and what a run costs, its child processes included.
  • A declared step graph. Each workflow names which step can follow which and when; a run that takes another edge fails in tests.
  • One CPU limit. Every heavy process of the project holds a slot of one pool from before it starts until it exits, and running work is paused while what the project uses is over the limit (makeCpuLimiter). The project says only what it alone knows: where its pool lives, which commands are light, which processes are its own. The dashboard shows where the project stands against it.
  • Storage is behind interfaces, in one database. Step records, tasks, input runs, both limits and the engine's own records each have an interface and a SQLite implementation. Every call is an effect that fails with StorageError, so another database (Convex) can stand behind any of them; a step whose record cannot be written goes on and says so. The platform's tables, the CPU limit's pool and the engine's records live in the project's own database, beside the schema the project declares (STORAGE.md); a held lock is tried again while yielding, never waited on inside SQLite. The engine gets that from lockRetryingSingleRunner, effect/cluster's single runner on SQL storage whose every call is retried this way, with a client set to wait 0 ms (busyTimeout: Duration.zero).

It runs today inside the aoe2-in-browser decompilation service, its first project (aoe2-in-browser/decomp-service/src/workflows/platform.ts).

A first workflow

import { createWorkflowPlatform, sqliteStorage, RUN_STARTS, RUN_ENDS } from '@jive-sh/workflow-platform';
import { Effect, Schema } from 'effect';

const platform = createWorkflowPlatform<'main', never>({
  project: {
    sourceRoot: ROOT,
    tree: { root: ROOT, snapshots: `${ROOT}/local/step-files`, notTree: ['local'] },
    texts: { write: storeText, read: readText },
    runLightNow,
    processes: { thisProcess, isAlive },
    stepRecordVariable: 'MY_STEP_RECORD',
    isTransientFailure: (e) => String(e).includes('database is locked'),
  },
  storage: sqliteStorage({ stepRecordsFile: () => `${ROOT}/local/app.db`, engineFile: () => `${ROOT}/local/app.db`, budgetsFile: () => `${ROOT}/local/app.db`, processes: { thisProcess, isAlive } }),
});
const { defineStep, defineWorkflow } = platform.steps;

const COUNT = defineStep({ name: 'Count', runs: 'deterministic', shared: true, description: 'Counts the files.', at: import.meta.path, success: Schema.Number });

export const CountFiles = defineWorkflow({
  phase: 'main', item: null, description: 'Counts the files.', at: import.meta.path, steps: () => [COUNT],
  graph: () => [{ from: RUN_STARTS, to: COUNT.name, when: 'each run' }, { from: COUNT.name, to: RUN_ENDS, when: 'always' }],
})('Count files', { payload: { turn: Schema.Number }, idempotencyKey: ({ turn }) => String(turn), success: Schema.Number, error: Schema.String });

export const CountFilesLive = CountFiles.toLayer(() => COUNT.run(Effect.succeed(42)));

The step's record (start, end, outcome, CPU) is written by COUNT.run; the workflow body has no measuring code.

Installing it

bun add @jive-sh/workflow-platform effect

It runs on Bun (its stores are bun:sqlite) and shares its consumer's effect 4, a peer dependency. Each push to main with a new version publishes it to npm through Jive's pipeline (.github/workflows/pipeline.yml, the six jive:cicd:* scripts of jive-abstract-library); a push without a version bump publishes nothing.

Using it from a checkout

The package runs inside its consumer's processes and must share their one copy of effect, so a checkout beside its consumer has no packages of its own: node_modules here is a link to the consumer's (aoe2-in-browser/install/setup.ts makes it). Never run bun install in such a checkout: it would write through the link into the consumer's packages. The pipeline installs the package's own devDependencies from bun.lock, on a clean runner. The consumer imports it by path, through its tsconfig ("@jive-sh/workflow-platform": ["../../workflow-platform/src/index.ts"]).

bun test                        # the package's own tests
node_modules/.bin/tsc --noEmit  # its typecheck

Modules

Each module's inputs come from createWorkflowPlatform (src/index.ts), which builds them in this order.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @jive-sh/workflow-platform

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229