mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-02 01:34:48 +00:00
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>
This commit is contained in:
parent
3b1bdfbef0
commit
3e6e068597
17 changed files with 954 additions and 13 deletions
14
packages/schemas/fixtures/openworkflow/index.json
Normal file
14
packages/schemas/fixtures/openworkflow/index.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"type": "logicsrc.openworkflow-index",
|
||||
"version": "0.1",
|
||||
"publisher": "https://w3bs.org",
|
||||
"updated": "2026-10-19T12:00:00Z",
|
||||
"workflows": [
|
||||
{
|
||||
"url": "https://w3bs.org/workflows/release-a-package.json",
|
||||
"id": "release-a-package",
|
||||
"title": "Release a package",
|
||||
"tasks": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"type": "logicsrc.openworkflow",
|
||||
"version": "0.1",
|
||||
"id": "release-a-package",
|
||||
"title": "Release a package",
|
||||
"description": "Bump the version, write the changelog, announce it.",
|
||||
"publisher": {
|
||||
"name": "@anthony",
|
||||
"url": "https://w3bs.org/workflows"
|
||||
},
|
||||
"updated": "2026-10-19T12:00:00Z",
|
||||
"order": "sequence",
|
||||
"tasks": [
|
||||
{
|
||||
"url": "https://w3bs.org/tasks/tk_4Hq8sP1x.json",
|
||||
"sha256": "3f1b5c0e9a0e4d7b8c2a6f5d4e3c2b1a09f8e7d6c5b4a39281706f5e4d3c2b1a",
|
||||
"id": "bump-the-version",
|
||||
"title": "Bump the version"
|
||||
},
|
||||
{
|
||||
"url": "https://w3bs.org/tasks/tk_Lm2Rt7vQ.json",
|
||||
"sha256": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
|
||||
"id": "write-the-changelog",
|
||||
"title": "Write the changelog",
|
||||
"after": [
|
||||
"bump-the-version"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue