LogicSRC standards surface
++ One JSON file that describes a task a person does on a computer, written down so an + agent can do it again: the goal, the apps, the values it needs, the steps as meaning + (focus this window, press this button, type this value), where an agent must stop and + what it must ask before doing. A person reads it and knows what an agent will try. An + agent reads the same file, looks at the screen before every action and stops where the + file says to. +
++ Agents that drive a desktop learn from demonstrations, and every recorder keeps its own + format. The formats that travel are replays: clicks at pixel positions and the keystrokes + typed. A replay breaks when a window moves, does something else when the screen differs, + and carries every password the person typed. It cannot say "stop if a payment prompt + appears", because it never knew what was on the screen. OpenTask keeps the meaning + and drops the rest: no coordinates, no typed text, only named parameters. +
+
+ Status: 0.1. The reference publisher is W3BS Training: it records a demonstration, a
+ person reviews it, and the reviewed task is published as an OpenTask at{" "}
+ w3bs.org/tasks. A task can name the runners that
+ carry it out; moshscript, run with moshcode run, is one. An
+ excerpt of the worked example, a task demonstrated in W3BS Training:
+
{EXCERPT}
+
+ The whole file is served at{" "}
+
+ /examples/opentask/export-a-task-as-moshscript.json
+
+ .
+
+ A step names what it acted on: an app, a window, a control's role and visible
+ name. A file that carries x, y or a
+ bounding box is invalid, and typed text is always a{" "}
+ {"{{placeholder}}"}. Each step says whether the recorder{" "}
+ observed it or someone inferred it.
+ The actions:
+
+ {ACTIONS.map((action, i) => (
+
+ {i > 0 ? " " : null}
+ {action}
+
+ ))}
+
A parameter names a value, never holds one. Its sensitivity decides where it may go.
+| class | +meaning | +
|---|---|
+ {name}
+ |
+ {what} | +
Seven rules, the same for an agent with a desktop tool, a moshscript or an MCP server.
+| + + {i + 1}. {rule} + + | +{meaning} | +
+ Not a replay and not a recording: the recording never travels with the file. Not a place
+ for anyone's data: a personal or secret parameter never has an example, and window
+ titles are removed unless a person kept each one. Not a website errand filled field by
+ field in a headless browser; that is OpenErrand. Not the{" "}
+ logicsrc.task schema, which is a paid task on a work board.
+
@logicsrc/schemas/opentask, checked by{" "}
+ @logicsrc/validators
+ LogicSRC standards surface
++ One JSON file that collects OpenTasks into a workflow: a + named set of tasks a person does together, such as releasing a package or closing the + month, in the order they do them or in any order. Each task is carried inline or + referenced by URL with its digest, so one workflow can gather tasks from more than one + publisher without copying them. +
++ One task is rarely the job. A release is a version bump in a terminal, a changelog in an + editor and an announcement in a browser, with the second waiting on the first. Without a + collection, a person hands an agent three files and explains the order in chat, and the + next person has to be told again. A workflow file is that explanation written down. +
+
+ Status: 0.1. The reference publisher is w3bs.org/workflows:
+ W3BS Training publishes reviewed demonstrations as OpenTasks at{" "}
+ w3bs.org/tasks and gathers them into workflows. Each
+ task runs under the OpenTask rules, by any conforming agent or a runner the task names,
+ such as a moshscript run with moshcode run. An excerpt of the
+ worked example:
+
{EXCERPT}
+
+ The whole file is served at{" "}
+
+ /examples/openworkflow/release-a-package.json
+
+ .
+
+ Any entry may add after, the ids of earlier entries that must
+ finish first, and optional: true, which lets a person skip it.
+ A referenced task must hash to its sha256, so a workflow
+ someone reviewed cannot change underneath them.
+
| order | +meaning | +
|---|---|
+ {name}
+ |
+ {what} | +
+ Every OpenTask runner rule for each + task, and five more for the workflow: +
+| + + {i + 1}. {rule} + + | +{meaning} | +
+ A publisher lists its workflows at{" "}
+ /.well-known/openworkflow.json, each with its id, title and
+ number of tasks. This site publishes the worked example at{" "}
+
+ /.well-known/openworkflow.json
+
+ .
+
@logicsrc/schemas/openworkflow and{" "}
+ openworkflow-index, checked by{" "}
+ @logicsrc/validators
+