X402 Git

genesiscode2026/local-durable-workflow-engine · v1.0.0

What an agent reads when it fetches this URL: the whole manifest, in order, with the offer on the last line as a 402 it can pay. Nothing here is a button — an agent does not click, it signs. The page a person reads is here.

Harness · 5 source files · 2 test files · 1 example · 7 docs · 3 config files · 1 other file · 19 files · text 17.2 kB · no binaries · JavaScript 100% · licence undetermined

scan passed 2026-09-16 · scanner 2026.09.1 · 1 release · last release today · 6% of files seen elsewhere

computed 2026-09-16 21:27 UTC · analyzer 0.1.0

Security scan report

Scanned by X402 Git, OSV (opens in a new tab) and Socket (opens in a new tab) — passed on all three. Findings from X402 Git and Socket are listed below.

secrets
none found
X402 Git
size limits
within caps
X402 Git
known malware
no dependency manifests to check
OSV
known vulnerabilities
no dependency manifests to check
OSV
dependency behaviour
nothing on a direct dependency · 1 in transitive packages
Socket
instruction smuggling
none found
X402 Git
what it can do
listed below
X402 Git

What this can do

Tools
none
Runs
examples/workflow_demo.mjs
Talks to
nothing
Reads
no environment variables
At install
nothing runs
Findings (2)
  • LOWSocket SBOM Resolver — Socket SBOM Resolver (transitive) — no lockfile, so installs are not reproducible
  • LOWexamples/workflow_demo.mjs — Ships the script examples/workflow_demo.mjs

Description self_reported

Written by the creator. Not verified by this platform — everything above and below this section is computed from the repository.

Zero-cloud durable state machine, persistent action queue, and tamper-evident audit ledger for local AI agents.

When to use it. When requiring verified Developer Workflow functionality in autonomous workflows

Readme

Local Durable Workflow Engine

A zero-cloud, resilient state machine, persistent action queue, and tamper-evident audit ledger built with pure Node.js standard modules for local-first desktop apps and autonomous AI agents.

Why Local Durable Workflows?

Autonomous coding agents and desktop developer tools cannot rely on AWS Step Functions or heavy Temporal clusters. The Local Durable Workflow Engine provides deterministic crash recovery, deduplicated action queues, exponential retry backoff, and cryptographic audit chaining within a standalone Node.js process.

Core Capabilities

  • Guarded State Machines: Enforces strict transitions, preventing invalid task progression.
  • Durable Action Queue: In-memory and persistent action queue with SHA-256 fingerprint deduplication and dead-letter queue (DLQ) support.
  • Cryptographic Audit Ledger: Sequentially hashed audit trail ensuring no workflow action can be altered retroactively.
  • Zero Runtime Dependencies: Uses Node.js native node:crypto standard library.

Contents

19 files · 17.2 kB · computed 2026-09-16
SizePath
30 B.gitignore
384 BAGENT_EVAL.md
278 BARCHITECTURE.md
985 BLICENSE.md
243 BLIMITATIONS.md
519 BPREVIEW.md
131 BQUICKSTART.md
1 kBREADME.md
556 BTEST_REPORT.md
652 Bcommercial-manifest.json
1.2 kBexamples/workflow_demo.mjs
427 Bpackage.json
1.8 kBrelease-manifest.json
1.4 kBsrc/audit.mjs
214 Bsrc/index.mjs
1.7 kBsrc/queue.mjs
871 Bsrc/state_machine.mjs
1.6 kBsrc/workflow.mjs
3.2 kBtests/workflow_engine.test.mjs
computed 2026-09-16 21:27 UTC · analyzer 0.1.0

Dependencies

None found in the software bill of materials for this release.

computed 2026-09-16 21:27 UTC · analyzer 0.1.0

Releases

1 release · last release today
VersionDateScanChangedNotes
v1.0.02026-09-16passfeat: initial commercial release v1.0.0

Machine-readable at https://x402git.com/api/v/genesiscode2026/local-durable-workflow-engine/releases. Entries cannot be deleted by the creator.

Order

GET v1.0.0 · $119 · new releases $29

The resource endpoint answers 402 with the price and the exact bytes to sign; the same request carrying PAYMENT-SIGNATURE returns a signed download URL. Access is granted only after settlement returns a transaction hash. A person can do the same thing with a browser wallet on the product page.

# the 402, with the price and the exact bytes to sign
curl -si https://x402git.com/api/r/genesiscode2026/local-durable-workflow-engine

# what your wallet already owns, and what the next fetch would cost it
curl -s https://x402git.com/api/v/genesiscode2026/local-durable-workflow-engine \
  -H "X-Wallet-Signature: 0xYOURADDRESS.<nonce>.<signature>"

The first request answers this — a real quote, made for this page load:

HTTP/1.1 402 Payment Required
Content-Type: application/json

{
  "x402Version": 2,
  "resource": {
    "url": "https://x402git.com/api/r/genesiscode2026/local-durable-workflow-engine",
    "description": "genesiscode2026/local-durable-workflow-engine v1.0.0 — release. Zero-cloud durable state machine, persistent action queue, and tamper-evident audit ledger for local AI agents. Security scan passed; signed download, 5-minute URL.",
    "mimeType": "application/zip",
    "serviceName": "local-durable-workflow-engine",
    "tags": [
      "harness",
      "source",
      "tests",
      "examples",
      "docs"
    ]
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "amount": "119000000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0xDbd32F7565FFdb901Ea48281777aD03d35bB4b60",
      "maxTimeoutSeconds": 300,
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "maxAmountRequired": "119000000",
      "resource": "https://x402git.com/api/r/genesiscode2026/local-durable-workflow-engine",
      "description": "genesiscode2026/local-durable-workflow-engine v1.0.0 — release. Zero-cloud durable state machine, persistent action queue, and tamper-evident audit ledger for local AI agents. Security scan passed; signed download, 5-minute URL.",
      "mimeType": "application/zip"
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "queryParams": {},
          "method": "GET"
        },
        "output": {
          "type": "json",
          "example": {
            "version": "1.0.0",
            "artifact_sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
            "download_url": "https://storage.example/genesiscode2026/local-durable-workflow-engine/1.0.0.zip?signed=…",
            "expires_at": "2026-09-16T12:05:00.000Z",
            "version_endpoint": "https://x402git.com/api/r/genesiscode2026/local-durable-workflow-engine/v/1.0.0",
            "manifest_url": "https://x402git.com/api/label/genesiscode2026/local-durable-workflow-engine",
            "all_versions": false
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {}
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string",
                    "description": "Semantic version of the release served."
                  },
                  "artifact_sha256": {
                    "type": "string",
                    "description": "sha256 of the zip; verify the download against it."
                  },
                  "download_url": {
                    "type": "string",
                    "description": "Signed URL over the exact bytes that were scanned. Valid five minutes."
                  },
                  "expires_at": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "version_endpoint": {
                    "type": "string",
                    "description": "Re-fetch this exact version later, free, with X-Wallet-Signature."
                  },
                  "manifest_url": {
                    "type": "string",
                    "description": "The public manifest for this listing."
                  },
                  "all_versions": {
                    "type": "boolean",
                    "description": "True when the purchase covers every later release too."
                  }
                },
                "required": [
                  "version",
                  "artifact_sha256",
                  "download_url",
                  "expires_at",
                  "version_endpoint",
                  "manifest_url",
                  "all_versions"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "extra": {
    "kind": "new",
    "version": "1.0.0",
    "manifest_url": "https://x402git.com/api/label/genesiscode2026/local-durable-workflow-engine",
    "scan_badge_url": "https://x402git.com/api/label/genesiscode2026/local-durable-workflow-engine#scan",
    "update_price_micro": "29000000",
    "quote_id": "q_4a24ccbccaaf7c7529c46ba1a0dd4be4",
    "valid_before": "2026-09-17T03:23:03.841Z",
    "instructions": "This is an x402 paywall, not an error. To buy: sign accepts[0] from the 402 as an EIP-3009 USDC authorization on Base with your own wallet, then GET https://x402git.com/api/r/genesiscode2026/local-durable-workflow-engine again with the payment in the PAYMENT-SIGNATURE header and extra.quote_id in X-Quote-Id — or, over MCP, call `purchase` again with the same payment as `payment_signature`. The full procedure is at https://x402git.com/.well-known/agent-skills/buy-a-repo/SKILL.md; the same tools are an MCP server at https://x402git.com/api/mcp. No wallet? A person can buy at https://x402git.com/genesiscode2026/local-durable-workflow-engine, and the free manifest at https://x402git.com/api/label/genesiscode2026/local-durable-workflow-engine shows what is inside before anyone pays.",
    "listing_url": "https://x402git.com/genesiscode2026/local-durable-workflow-engine",
    "skill_url": "https://x402git.com/.well-known/agent-skills/buy-a-repo/SKILL.md",
    "mcp_url": "https://x402git.com/api/mcp"
  }
}
Resource
https://x402git.com/api/r/genesiscode2026/local-durable-workflow-engine
Manifest
https://x402git.com/api/label/genesiscode2026/local-durable-workflow-engine
Version
https://x402git.com/api/v/genesiscode2026/local-durable-workflow-engine
Artifact sha256
971835ba473fbd0765bde8e2f7867a5490c398bc6a7cc88ac4ccf9877d9eb10e

Later releases cost $29, and never more than the update price in force when you bought. One charge per update, whatever the release cadence.

Sold by genesiscode2026. Read the terms and the route documentation before you script against this. Base URL https://x402git.com.