mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-11-29 15:51:52 +00:00
Some checks failed
CI / build (push) Has been cancelled
Deploy to dev2 / deploy (push) Has been cancelled
test / test (push) Has been cancelled
* OpenTask 0.1 + OpenWorkflow 0.1: specs, schemas, fixtures, validators docs/opentask.md mints OpenTask: one task a person does on a computer, written down as meaning (goal, apps, parameters with a sensitivity class and never a value, semantic steps with no coordinates, capture gaps, stop conditions, approvals, a success check, provenance, runners with digests) so an agent can do it again. docs/openworkflow.md mints OpenWorkflow: a collection of OpenTasks inline or by URL + sha256, in sequence or any order respecting after, with a publisher index at /.well-known/openworkflow.json. - @logicsrc/schemas 0.6.0: opentask, openworkflow, openworkflow-index - @logicsrc/validators 0.6.0: step numbering, placeholders, apps, no example on personal/secret parameters, after references Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * logicsrc-web: register OpenTask and OpenWorkflow Registry entries (process family, status 0.1) after OpenErrand, with the family blurb updated; /opentask and /openworkflow landing pages naming w3bs.org/tasks and w3bs.org/workflows as the reference publisher and moshscript (moshcode run) as one runner; the worked examples served under /examples and a logicsrc.com workflow index at /.well-known/openworkflow.json; contract tests holding the pages' lists and the served files against the docs and fixtures, and both specs added to spec discovery. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
98 lines
2.4 KiB
JSON
98 lines
2.4 KiB
JSON
{
|
|
"type": "logicsrc.opentask",
|
|
"version": "0.1",
|
|
"id": "export-a-task-as-moshscript",
|
|
"title": "Export a reviewed task as a moshscript",
|
|
"goal": "Export a reviewed W3BS Training task as a moshscript file.",
|
|
"explanation": "Open the training app, pick the reviewed task, and use the button under its title.",
|
|
"apps": [
|
|
{
|
|
"name": "TronBrowser",
|
|
"kind": "browser"
|
|
},
|
|
{
|
|
"name": "W3BS Training",
|
|
"kind": "web",
|
|
"url": "http://127.0.0.1/"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "task_title",
|
|
"description": "The title of the reviewed task to export",
|
|
"sensitivity": "public",
|
|
"example": "Empty the trash"
|
|
}
|
|
],
|
|
"steps": [
|
|
{
|
|
"n": 1,
|
|
"action": "focus",
|
|
"app": "TronBrowser",
|
|
"evidence": "observed",
|
|
"recorded": "1-2"
|
|
},
|
|
{
|
|
"n": 2,
|
|
"action": "click",
|
|
"app": "TronBrowser",
|
|
"target": {
|
|
"role": "link",
|
|
"name": "{{task_title}}"
|
|
},
|
|
"evidence": "inferred"
|
|
},
|
|
{
|
|
"n": 3,
|
|
"action": "click",
|
|
"app": "TronBrowser",
|
|
"target": {
|
|
"role": "button",
|
|
"name": "Export as moshscript"
|
|
},
|
|
"evidence": "inferred"
|
|
},
|
|
{
|
|
"n": 4,
|
|
"action": "observe",
|
|
"app": "TronBrowser",
|
|
"note": "A confirmation code appears; the person types it.",
|
|
"evidence": "inferred"
|
|
}
|
|
],
|
|
"capture": {
|
|
"profile": "visual-review",
|
|
"window_titles": "removed",
|
|
"gaps": []
|
|
},
|
|
"stop_conditions": [
|
|
"a target cannot be found on the current screen",
|
|
"an unexpected dialog appears",
|
|
"a credential or payment prompt appears"
|
|
],
|
|
"approvals": [
|
|
"before typing a confirmation code"
|
|
],
|
|
"success": {
|
|
"check": "A .mosh file named after the task is in Downloads.",
|
|
"evidence": "artifact"
|
|
},
|
|
"source": {
|
|
"kind": "demonstration",
|
|
"recorder": "w3bs-training 0.2.5",
|
|
"episode": "ep_0f3a9c2b7d114e58",
|
|
"recorded": "2026-10-17T18:04:00Z",
|
|
"reviewed": true,
|
|
"outcome": "success"
|
|
},
|
|
"status": "untested",
|
|
"runners": [
|
|
{
|
|
"kind": "moshscript",
|
|
"url": "https://w3bs.org/workflows/wf_example/export-a-task-as-moshscript.mosh",
|
|
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
"command": "moshcode run export-a-task-as-moshscript.mosh"
|
|
}
|
|
],
|
|
"license": "CC0-1.0"
|
|
}
|