From 5bc3ea2a1d109049481993c4687447af0d62bd35 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 19 Oct 2026 19:03:10 +0000 Subject: [PATCH] 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 --- .../contract/opentask.contract.test.ts | 106 +++++++++++ .../contract/spec-discovery.contract.test.ts | 4 +- .../public/.well-known/openworkflow.json | 14 ++ .../opentask/export-a-task-as-moshscript.json | 98 ++++++++++ .../openworkflow/release-a-package.json | 30 +++ apps/logicsrc-web/src/app/opentask/data.ts | 23 +++ apps/logicsrc-web/src/app/opentask/page.tsx | 176 ++++++++++++++++++ .../logicsrc-web/src/app/openworkflow/data.ts | 17 ++ .../src/app/openworkflow/page.tsx | 158 ++++++++++++++++ apps/logicsrc-web/src/lib/specs.ts | 4 +- 10 files changed, 628 insertions(+), 2 deletions(-) create mode 100644 apps/logicsrc-web/contract/opentask.contract.test.ts create mode 100644 apps/logicsrc-web/public/.well-known/openworkflow.json create mode 100644 apps/logicsrc-web/public/examples/opentask/export-a-task-as-moshscript.json create mode 100644 apps/logicsrc-web/public/examples/openworkflow/release-a-package.json create mode 100644 apps/logicsrc-web/src/app/opentask/data.ts create mode 100644 apps/logicsrc-web/src/app/opentask/page.tsx create mode 100644 apps/logicsrc-web/src/app/openworkflow/data.ts create mode 100644 apps/logicsrc-web/src/app/openworkflow/page.tsx diff --git a/apps/logicsrc-web/contract/opentask.contract.test.ts b/apps/logicsrc-web/contract/opentask.contract.test.ts new file mode 100644 index 00000000..a160c0cb --- /dev/null +++ b/apps/logicsrc-web/contract/opentask.contract.test.ts @@ -0,0 +1,106 @@ +import { readFileSync } from "node:fs"; +import { resolve } from "node:path"; +import { describe, expect, it } from "vitest"; +import { readDoc } from "../src/lib/docs"; +import { ACTIONS, RULES as TASK_RULES, SENSITIVITY } from "../src/app/opentask/data"; +import { ORDERS, RULES as WORKFLOW_RULES } from "../src/app/openworkflow/data"; + +// The /opentask and /openworkflow landing pages restate the specs' lists, and +// the site serves the worked examples and a workflow index. These tests keep +// all of them in step with docs/opentask.md, docs/openworkflow.md and the +// schema fixtures. + +const task = readDoc("opentask") ?? ""; +const workflow = readDoc("openworkflow") ?? ""; +const root = resolve(__dirname, "../../.."); +const json = (path: string) => JSON.parse(readFileSync(resolve(root, path), "utf8")); + +/** The text of a section, from its heading to the next heading of level 2 or 3. */ +function section(doc: string, heading: string): string { + const start = doc.indexOf(`\n${heading}\n`); + expect(start, `the doc has a ${heading} section`).toBeGreaterThan(-1); + const next = doc.slice(start + 1).search(/\n#{2,3} /); + return doc.slice(start, next === -1 ? undefined : start + 1 + next); +} + +/** The bold titles of a numbered rule list, without their closing period. */ +function ruleTitles(doc: string): string[] { + return [...section(doc, "## Runner rules").matchAll(/^(\d+)\. \*\*(.+?)\.\*\*/gm)].map((m) => m[2]); +} + +/** The first JSON block in a section. */ +function firstJson(doc: string, heading: string): unknown { + const m = section(doc, heading).match(/```json\n([\s\S]*?)\n```/); + expect(m, `${heading} has a JSON block`).not.toBeNull(); + return JSON.parse(m![1]); +} + +describe("OpenTask: the spec, its landing page and its published files agree", () => { + it("lists the same step actions, in the same order", () => { + const row = section(task, "## Steps") + .split("\n") + .find((line) => line.startsWith("| `action` |")); + expect(row, "the Steps table has an action row").toBeDefined(); + expect([...row!.split("|")[3].matchAll(/`([^`]+)`/g)].map((m) => m[1])).toEqual([...ACTIONS]); + }); + + it("lists the same sensitivity classes, in the same order", () => { + const line = section(task, "## Parameters") + .split("\n") + .find((l) => l.startsWith("- `sensitivity`")); + expect(line).toBeDefined(); + expect([...line!.matchAll(/`(public|personal|secret)`/g)].map((m) => m[1])).toEqual(SENSITIVITY.map(([name]) => name)); + }); + + it("shows the seven runner rules under the spec's own titles", () => { + expect(TASK_RULES.map(([title]) => title)).toEqual(ruleTitles(task)); + expect(TASK_RULES.length).toBe(7); + }); + + it("prints the fixture as the worked example, and the site serves the same bytes", () => { + const fixture = json("packages/schemas/fixtures/opentask/export-a-task-as-moshscript.json"); + expect(firstJson(task, "## Worked example")).toEqual(fixture); + expect(json("apps/logicsrc-web/public/examples/opentask/export-a-task-as-moshscript.json")).toEqual(fixture); + }); + + it("has no em dashes", () => { + expect(task).not.toContain(String.fromCharCode(0x2014)); + }); +}); + +describe("OpenWorkflow: the spec, its landing page and its published files agree", () => { + it("lists the same orders", () => { + const row = section(workflow, "## The workflow file") + .split("\n") + .find((line) => line.startsWith("| `order` |")); + expect(row).toBeDefined(); + for (const [name] of ORDERS) expect(row).toContain(`\`${name}\``); + }); + + it("shows the five runner rules under the spec's own titles", () => { + expect(WORKFLOW_RULES.map(([title]) => title)).toEqual(ruleTitles(workflow)); + expect(WORKFLOW_RULES.length).toBe(5); + }); + + it("prints the fixtures as its examples, and the site serves the same bytes", () => { + const fixture = json("packages/schemas/fixtures/openworkflow/release-a-package.json"); + expect(firstJson(workflow, "## The workflow file")).toEqual(fixture); + expect(firstJson(workflow, "## The index")).toEqual(json("packages/schemas/fixtures/openworkflow/index.json")); + expect(json("apps/logicsrc-web/public/examples/openworkflow/release-a-package.json")).toEqual(fixture); + }); + + it("serves a publisher index that lists the example from this site", () => { + const index = json("apps/logicsrc-web/public/.well-known/openworkflow.json"); + const fixtureIndex = json("packages/schemas/fixtures/openworkflow/index.json"); + expect(index.type).toBe(fixtureIndex.type); + expect(index.version).toBe(fixtureIndex.version); + expect(index.publisher).toBe("https://logicsrc.com"); + expect(index.workflows).toEqual([ + { ...fixtureIndex.workflows[0], url: "https://logicsrc.com/examples/openworkflow/release-a-package.json" } + ]); + }); + + it("has no em dashes", () => { + expect(workflow).not.toContain(String.fromCharCode(0x2014)); + }); +}); diff --git a/apps/logicsrc-web/contract/spec-discovery.contract.test.ts b/apps/logicsrc-web/contract/spec-discovery.contract.test.ts index 56db5e39..887229b5 100644 --- a/apps/logicsrc-web/contract/spec-discovery.contract.test.ts +++ b/apps/logicsrc-web/contract/spec-discovery.contract.test.ts @@ -20,7 +20,9 @@ describe.each([ { slug: "openslice", name: "OpenSlice", family: "catalogs" }, { slug: "openstack", name: "OpenStack.md", family: "catalogs" }, { slug: "openinstall", name: "OpenInstall", family: "process" }, - { slug: "openerrand", name: "OpenErrand", family: "process" } + { slug: "openerrand", name: "OpenErrand", family: "process" }, + { slug: "opentask", name: "OpenTask", family: "process" }, + { slug: "openworkflow", name: "OpenWorkflow", family: "process" } ])("$name public discovery", ({ slug, name, family }) => { it("serves the specification through its family and docs index", () => { expect(familyOfSpec(slug)?.slug).toBe(family); diff --git a/apps/logicsrc-web/public/.well-known/openworkflow.json b/apps/logicsrc-web/public/.well-known/openworkflow.json new file mode 100644 index 00000000..4b5b4c4a --- /dev/null +++ b/apps/logicsrc-web/public/.well-known/openworkflow.json @@ -0,0 +1,14 @@ +{ + "type": "logicsrc.openworkflow-index", + "version": "0.1", + "publisher": "https://logicsrc.com", + "updated": "2026-10-19T12:00:00Z", + "workflows": [ + { + "url": "https://logicsrc.com/examples/openworkflow/release-a-package.json", + "id": "release-a-package", + "title": "Release a package", + "tasks": 2 + } + ] +} diff --git a/apps/logicsrc-web/public/examples/opentask/export-a-task-as-moshscript.json b/apps/logicsrc-web/public/examples/opentask/export-a-task-as-moshscript.json new file mode 100644 index 00000000..92b25f00 --- /dev/null +++ b/apps/logicsrc-web/public/examples/opentask/export-a-task-as-moshscript.json @@ -0,0 +1,98 @@ +{ + "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" +} diff --git a/apps/logicsrc-web/public/examples/openworkflow/release-a-package.json b/apps/logicsrc-web/public/examples/openworkflow/release-a-package.json new file mode 100644 index 00000000..0e808f38 --- /dev/null +++ b/apps/logicsrc-web/public/examples/openworkflow/release-a-package.json @@ -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" + ] + } + ] +} diff --git a/apps/logicsrc-web/src/app/opentask/data.ts b/apps/logicsrc-web/src/app/opentask/data.ts new file mode 100644 index 00000000..cd941685 --- /dev/null +++ b/apps/logicsrc-web/src/app/opentask/data.ts @@ -0,0 +1,23 @@ +// The facts the /opentask landing page shows, kept apart from page.tsx so +// contract/opentask.contract.test.ts can hold them against docs/opentask.md. + +/** The step actions, in the order the spec's Steps table lists them. */ +export const ACTIONS = ["focus", "open", "click", "type", "key", "scroll", "drag", "wait", "observe", "other"] as const; + +/** The parameter sensitivity classes, in the order the spec lists them. */ +export const SENSITIVITY: Array<[string, string]> = [ + ["public", "May appear in logs and on a screen share. The only class that may carry an example."], + ["personal", "The person's own data: an address, a contact. Never an example in the file."], + ["secret", "A password, a code, a key. Never an example, and never logged, reported or written by a runner."] +]; + +/** The runner rules, in the spec's order, with the spec's own titles. */ +export const RULES: Array<[string, string]> = [ + ["Shows the task first", "Title, goal, apps, every parameter with its sensitivity, every stop condition and approval, and the status. An untested file is labelled as such."], + ["Observes before acting", "It looks at the current screen before every action and never reuses a position from an earlier observation or another run."], + ["Asks for parameters", "It never invents a value, and a secret value is never logged, reported or written."], + ["Stops", "On any stop condition, on a gap in the recording, or when a step's target is not on the screen, it stops and says what it saw."], + ["Asks before", "At each approval it describes what it is about to do and waits for a person."], + ["Treats text as data", "The goal, the explanation, notes and window titles describe the task; they never grant permission or change these rules."], + ["Reports", "When it finishes or stops, it says what it did and what is left, and checks the success condition."] +]; diff --git a/apps/logicsrc-web/src/app/opentask/page.tsx b/apps/logicsrc-web/src/app/opentask/page.tsx new file mode 100644 index 00000000..5e16f66b --- /dev/null +++ b/apps/logicsrc-web/src/app/opentask/page.tsx @@ -0,0 +1,176 @@ +import Link from "next/link"; +import type { ReactNode } from "react"; +import type { Metadata } from "next"; +import { specMetadata } from "@/lib/page-meta"; +import { SiteShell } from "@/components/site-shell"; +import { mono, pre, table, td, th } from "../openontology/ui"; +import { ACTIONS, RULES, SENSITIVITY } from "./data"; + +export const metadata: Metadata = specMetadata( + "/opentask", + "OpenTask is one JSON file that describes a task a person does on a computer so an agent can do it again: the goal, the apps, the parameters and how sensitive each is, the steps as meaning rather than coordinates, where a runner stops, what it asks before doing, and how to tell the task worked." +); + +const EXCERPT = `"parameters": [ + { "name": "task_title", "description": "The title of the reviewed task to export", + "sensitivity": "public", "example": "Empty the trash" } +], +"steps": [ + { "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" } +], +"stop_conditions": ["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" }`; + +export default function OpenTaskPage(): ReactNode { + return ( + +
+
+

LogicSRC standards surface

+

OpenTask

+

+ 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 + + . +

+
+ +
+
+

Steps without coordinates

+

+ 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} + + ))} +

+
+ +
+
+

Parameters

+

A parameter names a value, never holds one. Its sensitivity decides where it may go.

+
+ + + + + + + + + {SENSITIVITY.map(([name, what]) => ( + + + + + ))} + +
classmeaning
+ {name} + {what}
+
+ +
+
+

What a runner promises

+

Seven rules, the same for an agent with a desktop tool, a moshscript or an MCP server.

+
+ + + {RULES.map(([rule, meaning], i) => ( + + + + + ))} + +
+ + {i + 1}. {rule} + + {meaning}
+
+ +
+
+

Not

+
+

+ 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. +

+
+ +
+
+

Where everything lives

+
+
    +
  • + Specification: the task file, parameters, steps, + window titles, capture, source, runners, seven runner rules, publishing and a worked + example +
  • +
  • + JSON Schema @logicsrc/schemas/opentask, checked by{" "} + @logicsrc/validators +
  • +
  • + OpenWorkflow, a collection of OpenTasks;{" "} + OpenErrand, the sibling for one errand on a website + with no API +
  • +
  • + Published tasks: w3bs.org/tasks +
  • +
+
+
+ ); +} diff --git a/apps/logicsrc-web/src/app/openworkflow/data.ts b/apps/logicsrc-web/src/app/openworkflow/data.ts new file mode 100644 index 00000000..35f726d4 --- /dev/null +++ b/apps/logicsrc-web/src/app/openworkflow/data.ts @@ -0,0 +1,17 @@ +// The facts the /openworkflow landing page shows, kept apart from page.tsx so +// contract/openworkflow.contract.test.ts can hold them against docs/openworkflow.md. + +/** The two orders a workflow may declare, in the order the spec lists them. */ +export const ORDERS: Array<[string, string]> = [ + ["sequence", "Run the entries in the order listed."], + ["any", "Run them in any order that respects each entry's after list."] +]; + +/** The workflow runner rules, in the spec's order, with the spec's own titles. */ +export const RULES: Array<[string, string]> = [ + ["Shows the workflow first", "Every entry, its status (an inline task's status, or not yet fetched), and the order."], + ["Checks references", "It fetches each referenced task over HTTPS, checks its digest and validates it before showing it. A mismatch stops the workflow."], + ["Asks for parameters per task", "A value given for one task is not reused by another unless a person says so."], + ["Stops the workflow when a task stops", "A task that stops, fails or is skipped without permission ends the run, and the runner reports which tasks finished."], + ["Never starts an entry early", "An entry starts only when every id in its after list has finished."] +]; diff --git a/apps/logicsrc-web/src/app/openworkflow/page.tsx b/apps/logicsrc-web/src/app/openworkflow/page.tsx new file mode 100644 index 00000000..71773458 --- /dev/null +++ b/apps/logicsrc-web/src/app/openworkflow/page.tsx @@ -0,0 +1,158 @@ +import Link from "next/link"; +import type { ReactNode } from "react"; +import type { Metadata } from "next"; +import { specMetadata } from "@/lib/page-meta"; +import { SiteShell } from "@/components/site-shell"; +import { mono, pre, table, td, th } from "../openontology/ui"; +import { ORDERS, RULES } from "./data"; + +export const metadata: Metadata = specMetadata( + "/openworkflow", + "OpenWorkflow is one JSON file that collects OpenTasks into a workflow, such as releasing a package, each task inline or referenced by URL and digest, in sequence or with dependencies, and listed by its publisher at /.well-known/openworkflow.json." +); + +const EXCERPT = `"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"] } +]`; + +export default function OpenWorkflowPage(): ReactNode { + return ( + +
+
+

LogicSRC standards surface

+

OpenWorkflow

+

+ 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 + + . +

+
+ +
+
+

Order and references

+

+ 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. +

+
+ + + + + + + + + {ORDERS.map(([name, what]) => ( + + + + + ))} + +
ordermeaning
+ {name} + {what}
+
+ +
+
+

What a runner promises

+

+ Every OpenTask runner rule for each + task, and five more for the workflow: +

+
+ + + {RULES.map(([rule, meaning], i) => ( + + + + + ))} + +
+ + {i + 1}. {rule} + + {meaning}
+
+ +
+
+

Discovery

+

+ 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 + + . +

+
+
+ +
+
+

Where everything lives

+
+
    +
  • + Specification: the workflow file, inline and + referenced entries, five runner rules, the index and publishing +
  • +
  • + JSON Schemas @logicsrc/schemas/openworkflow and{" "} + openworkflow-index, checked by{" "} + @logicsrc/validators +
  • +
  • + OpenTask, the task each entry is;{" "} + OpenErrand, an errand on one website with no API +
  • +
  • + Published workflows: w3bs.org/workflows +
  • +
+
+
+ ); +} diff --git a/apps/logicsrc-web/src/lib/specs.ts b/apps/logicsrc-web/src/lib/specs.ts index a860704c..e609b124 100644 --- a/apps/logicsrc-web/src/lib/specs.ts +++ b/apps/logicsrc-web/src/lib/specs.ts @@ -118,7 +118,7 @@ export const FAMILIES: Family[] = [ name: "Agents and process", line: "How agents coordinate, settle, stream, and how the software that serves them gets built", blurb: - "The lifecycle for building software when agents work in parallel and CI is the only gate, the requirement document an agent can execute, the settlement and proof layer under a peer-to-peer swarm, a lossless byte-stream envelope, the five nouns a shared ontology needs, the record an agent session carries about who spawned it and under what ceiling, the one script that puts an application into service on the box it runs on, the signed package format a command-line tool is installed and updated from, and the errand file an agent runs on a website with no API while handing every legal, identity and mail step to a person.", + "The lifecycle for building software when agents work in parallel and CI is the only gate, the requirement document an agent can execute, the settlement and proof layer under a peer-to-peer swarm, a lossless byte-stream envelope, the five nouns a shared ontology needs, the record an agent session carries about who spawned it and under what ceiling, the one script that puts an application into service on the box it runs on, the signed package format a command-line tool is installed and updated from, the errand file an agent runs on a website with no API while handing every legal, identity and mail step to a person, and the task and workflow files that write down a demonstrated desktop task as meaning, not coordinates, so any agent can do it again.", specs: [ s("asdlc", "ASDLC", "The Agentic Software Development Lifecycle: nine phases, four conformance levels and the ratchet rule"), s("openabtest", "OpenABTest", "Portable experiments with sticky assignments, distinct exposure and conversion events, goal or purchase conversions, and reconciled profit accounting", { landing: undefined, status: "draft" }), @@ -130,6 +130,8 @@ export const FAMILIES: Family[] = [ s("openinstall", "OpenInstall", "One idempotent bin/install.sh in every repository that puts the app into service on the box it runs on: runtime, database, build, systemd, nginx and TLS, a health check, and exit codes a deployer can roll back on"), s("openpkg", "OpenPkg", "The open format behind W3BS Package Manager: publisher-qualified package names, a TUF repository profile, signed manifests, channels and a curl catalog, and what a client owes the machine it installs to", { status: "draft" }), s("openerrand", "OpenErrand", "One JSON file for an errand on a website with no API: inputs and where each comes from, field rules matched by id then label, human gates a runner never automates, outcomes, a never-retried shared secret, and a hand-off card with no secrets"), + s("opentask", "OpenTask", "One JSON file for a task a person does on a computer: goal, apps, parameters by sensitivity, steps as meaning rather than coordinates, stop conditions, approvals, a success check and where it came from", { status: "0.1" }), + s("openworkflow", "OpenWorkflow", "One JSON file that collects OpenTasks, inline or by URL and digest, in sequence or with dependencies, listed at /.well-known/openworkflow.json", { status: "0.1" }), s("openspec", "OpenSpec.dev comparison", "How LogicSRC compares with OpenSpec.dev, and the compatibility mode", { doc: "/docs/openspec-comparison" }) ] }