Mastodon Politics, Power, and Science

Saturday, December 5, 2026

Vibe-to-Verified: Enterprise-Grade Deterministic Workflows for OpenClaw

J. Rogers, SE Ohio

Stop Letting Your AI Agent Wing It.

If you have spent enough time building with modern AI agent frameworks like OpenClaw, you eventually hit the same wall. Chatting with an agent to summarize an article or check your calendar feels magical. Asking that same agent to run a repeatable, multi-step automation every morning at 7:00 AM is a completely different story. When an LLM sits inside the execution loop—re-interpreting Markdown instructions, dynamically choosing tools, and improvising glue between steps on every run—you get silent drift, burned tokens, prompt-injection exposure, and automations that work on Tuesday and hallucinate on Thursday. Before building AI tools, I spent years on a large hospital interface team engineering HL7 feeds and debugging clearinghouse batch pipelines. In healthcare integration, "probabilistic execution" isn't a quirk—it's an outage waiting to happen. You learn very quickly that reliable systems depend on strict inputs -> outputs contracts, decoupled message routing, regression test suites against saved fixtures, and keeping credentials locked deep inside compiled adapters rather than floating around in routing configs. Instead of abandoning OpenClaw, I realized we can elevate it—by shifting the LLM out of the runtime loop and packaging these interface-engine principles into a small set of reusable OpenClaw Skills.

The Paradigm Shift: Compiler, Not CPU

Most agent frameworks treat the LLM like a CPU, interpreting instructions step-by-step at runtime. The alternative is to treat the LLM like a compiler front-end—using conversational AI strictly at build time to synthesize deterministic, unit-tested workflows that execute with zero LLM orchestration overhead at runtime. In my open-source workflow engine, AIAgentWorkflow, the entire system is built on a single fractal axiom: an agent is a workflow, and a workflow is an agent. There are only three primitives, all sharing the exact same inputs -> outputs interface:

  1. proc: An atomic unit of action (a Python function or sandboxed executable).
  2. template: An atomic unit of deterministic data formatting.
  3. workflow: A composite graph that orchestrates other proc, template, and workflow nodes. Everything—logic, documentation, UI metadata, and unit test definitions (run_config)—lives in a single declarative config.json.

Tools Before Template (Eliminating Tool-Calling Chaos)

One of the biggest traps in modern agent design is giving an LLM a bag of tools and hoping it calls them properly. In a deterministic workflow, tools always run before the LLM:

TOOLS-BEFORE-TEMPLATE EXECUTION PIPELINE
+--------------------------+      +--------------------------+      +--------------------------+      +--------------------+
|  1. DETERMINISTIC PROCS  |      |  2. TEMPLATE HYDRATION   |      |  3. STATELESS LLM CALL   |      |     4. OUTPUT      |
+--------------------------+      +--------------------------+      +--------------------------+      +--------------------+
|   Gather & Filter Data   | ---> |      Format Context      | ---> |     Text Completion      | ---> |    Route Result    |
| APIs, SQL, Local CPU/GPU |      | Strict inputs -> outputs |      | Pure text-in -> text-out |      | Signal / Cron /    |
|  (Encapsulated Secrets)  |      |   (100% Unit-Testable)   |      | (Zero Runtime Tool Loops)|      |  Downstream Proc   |
+--------------------------+      +--------------------------+      +--------------------------+      +--------------------+

By gathering and structuring all data deterministically first, filling a template, and passing a single rendered prompt to a stateless completion API (or a local model running on your own CPU, GPU, or NPU): • The LLM cannot hallucinate tool arguments or get trapped in retry loops—because no tools exist inside the inference step. • Prompt injection cannot hijack control flow, even if untrusted external text is injected into a template variable. • Smaller local models shine, because they only have to summarize, classify, or transform clean, pre-organized context rather than juggle JSON tool schemas.

Distilling the Architecture into 4 OpenClaw Skills

To make this mindset immediately adoptable by any OpenClaw user—whether they are running on an x86 server, an ARM64 Linux workstation, or a home lab—we can distill the entire stack into four composable ClawHub skills:

  1. deterministic-workflow-compiler
    https://github.com/BuckRogers1965/AIAgentWorkflow

• The Mindset: Never let OpenClaw improvise a cron job or multi-step pipeline at runtime. When a user asks for a repeatable automation over Signal or chat, OpenClaw translates that intent into proc, template, and workflow nodes inside config.json. • The Guardrail: The skill bootstraps dynamic_workflows_agents.py and test_runner.py, enforcing one non-negotiable rule: no workflow can be scheduled or marked complete until test_runner.py passes its run_config unit tests. Once verified, openclaw cron triggers pure Python execution at native speed with zero orchestration token cost.

  1. zero-trust-proc-sandbox

• The Mindset: Never give an LLM the keys to the kingdom. API keys, tokens, and credentials never belong in config.json or prompt templates. • The Implementation: Secrets are resolved strictly inside compiled or pre-verified proc boundaries, completely invisible to the LLM at build time. When OpenClaw authors a new Python proc, this skill wraps execution in lightweight OS isolation (bubblewrap, read-only filesystems, and network allowlists) and uses native system package managers (pacman, apt, pipx) rather than assuming macOS Homebrew or x86_64 binaries.

  1. workflow-mcp-http-bridge

• The Mindset: A verified workflow shouldn't require hand-written API glue to expose to the rest of your ecosystem. • The Implementation: Because config.json already defines every agent's name, description, and inputs -> outputs contract, a ~100-line Flask and MCP (FastMCP) wrapper automatically projects every tested workflow as both a REST endpoint (/manifest + /run/) and an MCP tool. To OpenClaw, an entire multi-step, unit-tested DAG appears as a single reliable tool call.

  1. dataobj-live-fabric (Optional Real-Time & IoT Layer)
    https://github.com/BuckRogers1965/DataObj

• The Mindset: For workloads that need sub-millisecond message routing, live multi-device browser dashboards, or bare-metal IoT control, step down to a pure C dataflow fabric. • The Implementation: Built on DataObj—a ~2,000-line cooperative-threaded C core inspired by 2000-era VNOS dataflow systems—this skill connects OpenClaw via a raw JSON control protocol (create, wire, set-property) to a live object graph that runs identically on a multi-core ARM64 desktop (using <20 MB RAM per process) and a dual-core Raspberry Pi Pico W controlling physical relays and sensors.

Why This Matters for the Future of Agents

"Vibe coding" asks an AI to generate mountains of unstructured glue code and hopes it holds together. Putting a deterministic, unit-tested workflow engine underneath OpenClaw does the exact opposite: it constrains the AI to what it is best at (translating human intent into structured configuration) while delegating execution, security, and scheduling to battle-tested engineering primitives. You get the convenience of texting your OpenClaw bot on Signal to build and schedule a new automation—backed by the auditability, repeatability, and regression testing of an enterprise interface engine.


We aren’t inventing a weird new "AI governance" bureaucracy; We’re just applying standard enterprise software engineering discipline (CI/CD gates, unit tests, static contracts, sanitizers, and least privilege) to AI-generated workflows.
That makes this pitch unbeatable to real engineering teams:

  • Zero New Mental Overhead: Enterprise developers already write unit tests, run regression suites before merging, isolate credentials in vaults/adapters, and gate deployments on green builds.
  • No Hand-Wavy "AI Evals": Instead of asking platform engineers to trust probabilistic "LLM-as-a-judge" scores, you give them actual deterministic assertions (test_runner.py) and sanitizer/coverage matrices (debug, release, asan, ubsan, gcov) they already know how to put in CI/CD.
  • AI Becomes a Normal Junior Contributor: In an enterprise repo, a junior dev can draft a PR fast, provided it passes every automated test, security check, and interface contract before merge. Vibe-to-Verified simply holds OpenClaw and LLMs to that exact same engineering bar.

Building an Autonomous, Multi-Model AI Assistant on Arch ARM64 with OpenClaw, OpenRouter, and Signal

J. Rogers, SE Ohio

Most people interact with AI by opening a browser tab, pasting a prompt, and waiting for an answer. That works fine for one-off questions, but it falls short when you want an assistant that works proactively in the background—scanning local directories, curating RSS feeds, and messaging you on your phone when something actually matters.
To solve that, I set up OpenClaw on my Arch Linux ARM64 machine (running Omarchy), connected it to OpenRouter for multi-model routing, and engineered a custom Signal bridge so I can command my agent directly from my phone without buying a second phone number.
Here is how the stack fits together, how I bypassed Signal's single-number limitations, and how I am structuring a tiered "conductor and specialist" model pipeline.

1. The Core Architecture: Local Execution Meets Model Tiering
Running an autonomous agent 24/7 as a background systemd service changes how you think about AI costs and capabilities. Instead of paying flagship prices for every background check, pairing OpenClaw with OpenRouter lets you match the right model to the exact cognitive load of each task:
  • The Conductor (Claude Fable 5.2): My main chat orchestrator uses anthropic/claude-fable-5.2. Its job is not to burn expensive tokens parsing raw XML or formatting boilerplate. Instead, it acts as an architect and reviewer—interpreting my messages, decomposing goals into strict specifications, delegating bounded tasks to sub-agents, and verifying the results.
  • The Execution Specialist (Claude Sonnet 5.5): When a concrete, well-bounded task needs to be executed—like drafting a newsletter issue from pre-selected articles or writing a utility script—Fable hands the job off to an isolated anthropic/claude-sonnet-5.5 sub-agent with a narrow toolset and clear output constraints.
  • High-Volume Triage (Fast/Budget Models): For repetitive, high-volume grunt work—such as scanning a local directory where my existing RSS scrapers drop new feed files, deduplicating headlines, and scoring relevance—lightweight models handle the heavy lifting before a frontier model ever sees the data.
By keeping raw file parsing inside isolated sub-agent sessions, my main chat context stays clean, fast, and inexpensive.

2. Getting signal-cli Running on Arch Linux ARM64
I wanted to control OpenClaw through Signal for end-to-end encryption and native mobile convenience. Setting that up on an aarch64 Arch Linux box came with a couple of early hurdles:
  1. Skipping the Native Binary Trap: OpenClaw's setup wizard looks for a pre-compiled GraalVM native binary of signal-cli (which only ships for x86_64) or falls back to Homebrew. On Arch ARM64, the cleanest path is installing signal-cli from the AUR (yay -S signal-cli), which compiles the native aarch64 libsignal-client library locally and runs on OpenJDK.
  2. Activating the JVM Symlink: After installing Java 27 (jdk-openjdk), signal-cli initially couldn't find /usr/bin/java until I explicitly set the default runtime with sudo archlinux-java set java-27-openjdk.
  3. Linking Without a Burner Number: Rather than registering a separate VoIP or prepaid SIM card, I linked signal-cli directly to my existing Signal account as a secondary device using signal-cli link -n "OpenClaw" and scanning the QR code from my phone.

3. Solving the Single-Number Signal Group Puzzle
Linking OpenClaw to my personal phone number immediately created a classic Signal quirk: one-way communication.
Outbound messages worked right away—OpenClaw could drop notifications into my Note to Self chat or post to a Signal group. However, whenever I sent a message back from my phone, OpenClaw ignored it completely.
Inspecting the raw Server-Sent Events stream (http://localhost:8080/api/v1/events) coming out of the local signal-cli daemon revealed why:
  1. SyncMessages vs. DataMessages: Because my phone (sourceDevice: 1) and OpenClaw (sourceDevice: 2) share the same phone number, Signal's servers don't deliver my phone's messages to signal-cli as standard incoming dataMessage packets. Instead, they arrive wrapped inside syncMessage.sentMessage packets meant for multi-device history syncing.
  2. Self-Echo Loop Protection: Inside OpenClaw's @openclaw/signal monitor plugin (monitor-D55QXo9V.mjs), two back-to-back guards immediately drop those events—first rejecting any envelope where sender.e164 === account, and second rejecting any envelope containing "syncMessage"—to prevent the bot from replying to itself in an infinite loop.
The Fix: A Group-Scoped syncMessage Shim
To enable safe, loop-free two-way chat on a single phone number, I created a dedicated Signal group called Openclaw chat, grabbed its base64 groupId from signal-cli's JSON-RPC listGroups endpoint, backed up monitor-D55QXo9V.mjs, and applied a surgical shim:
  • If an incoming syncMessage.sentMessage belongs specifically to my Openclaw chat group ID, the shim unwraps sentMessage into envelope.dataMessage and bypasses the self-sender block.
  • Every other syncMessage—including Note to Self and all my personal chats—still hits the original return guards untouched.
  • Because Signal's servers never echo signal-cli's own outbound RPC replies back to signal-cli as syncMessage events, the group stays completely immune to infinite loops.

4. What This Unlocks Next
With OpenClaw running persistently via systemd, bridged to Signal on my phone, and backed by OpenRouter's model roster, I now have a private command center in my pocket.
My existing local tools already scrape RSS feeds and drop them into a directory on disk. Next, I am wiring up a scheduled workflow where budget models triage incoming feed files, Sonnet 5.5 drafts clean summaries and subscriber-ready newsletter editions, and Fable 5.2 pings me in Openclaw chat for a quick thumbs-up before publishing.

Thursday, December 3, 2026

Locked Doors and Abandoned Warehouses: Cryptographic Control, Post-EOL Abandonment, and the Severing of Property Rights in Consumer Hardware

J. Rogers, SE Ohio

Abstract
Modern consumer electronics exist in a fractured legal state. Through a combination of cryptographic bootloaders, End-User License Agreements (EULAs), and anti-circumvention statutes such as Section 1201 of the Digital Millennium Copyright Act (DMCA), manufacturers retain permanent technical and legal control over the low-level firmware required to operate physical hardware. Simultaneously, upon declaring a device End-of-Life (EOL), those same manufacturers unilaterally terminate security updates, deprecate supporting infrastructure, and disclaim all liability for resulting vulnerabilities. This paper examines the legal and practical contradiction of "control without stewardship": a regime in which vendors lock the door to a physical asset, retain exclusive possession of the cryptographic keys, abandon maintenance, and leave consumers and the broader public network to bear the security and environmental consequences. Drawing on traditional principles of personal property, bailment, implied warranties, and public nuisance, this paper proposes a statutory "Sunset Unlock Mandate" requiring manufacturers to release cryptographic signing keys and provide transition infrastructure upon the termination of security support.

1. Introduction: The Warehouse Paradox
Imagine purchasing a commercial warehouse in fee simple. You hold the deed, pay the property taxes, and bear full legal liability if the structure becomes a hazard to the surrounding neighborhood. However, the builder installs a proprietary steel lock on the sole entrance and retains the only key. For five years, the builder inspects the building and repairs structural leaks. In year six, the builder announces that the warehouse is no longer part of its business model, ceases all maintenance, and disclaims responsibility for any damage or infestation inside. Yet when you attempt to hire a locksmith to replace the lock so you can maintain the building yourself, the builder invokes federal law to prohibit you from touching the door—and suggests that if rats overrun the interior, you should demolish the building and buy a new one.
In physical real estate or chattel property, such an arrangement would be rejected as an absurd restraint on alienation and a violation of basic property ownership. In consumer computing, it is standard industry practice.
Every smartphone, tablet, router, smart television, and connected appliance sold today relies on a cryptographic chain of trust (Secure Boot). Hardware fuses burned into the system-on-chip (SoC) verify the digital signature of the bootloader, which in turn verifies the operating system kernel. While the consumer pays full retail price for the physical aluminum, glass, and silicon, the manufacturer retains exclusive possession of the private cryptographic keys required to authorize software execution on that silicon.
So long as the vendor actively maintains the software stack, this arrangement represents a defensible—if paternalistic—security trade-off. The legal rupture occurs at End-of-Life (EOL), when the manufacturer ceases security patching while keeping the cryptographic lock intact.

2. The Legal Architecture of Asymmetric Ownership
A. The Severance of Title and Function
Historically, ownership of a chattel conferred the ius utendi, fruendi, et abutendi—the right to use, enjoy, and modify or dispose of a physical object. Modern technology vendors have eroded this doctrine by bifurcating the device into two distinct legal regimes:
  1. The Physical Enclosure (Sold): The consumer acquires title to the inert circuit boards, casing, battery, and display.
  2. The Execution Environment (Licensed): Through clickwrap EULAs, the vendor characterizes the low-level firmware and boot code not as an integral component of the chattel, but as copyrighted software licensed under revocable or non-modifiable terms.
Because a modern microprocessor cannot function without firmware, retaining exclusive cryptographic control over the boot chain renders physical title largely illusory. The owner possesses the hardware, yet lacks the legal or technical authority to instruct the processor to execute alternative code.
B. Anti-Circumvention as a Perpetual Restraint
Under 17 U.S.C. § 1201 (DMCA Section 1201), circumventing a technological protection measure (TPM) that controls access to a copyrighted work is unlawful, even when no underlying copyright infringement occurs. While the Librarian of Congress grants narrow, temporary triennial exemptions for certain categories of device unlocking and repair, the baseline statutory presumption treats bypassing a bootloader lock as presumptively illicit.
Crucially, Section 1201 contains no expiration trigger tied to vendor support. A cryptographic lock applied to protect a commercial ecosystem in 2011 remains legally protected in 2026, long after the vendor has abandoned the product, shut down its activation servers, and ceased all economic exploitation of the software.
C. Unilateral Disclaimers of Duty
At the exact moment a device reaches EOL, the manufacturer relies on warranty disclaimers ("AS IS / WITH ALL FAULTS") and limitation-of-liability clauses to sever any ongoing duty of care. Once security updates cease:
  • Known kernel and network-stack vulnerabilities remain permanently unpatched.
  • Expired root TLS certificates sever the device from modern encrypted web infrastructure.
  • Proprietary cloud dependencies fail, stripping advertised functionality from working silicon.
The vendor thus occupies an anomalous legal posture: total exclusionary control paired with zero custodial duty.

3. Externalities: Manufactured E-Waste and Public Network Hazards
The severance of control from responsibility imposes severe negative externalities on both device owners and the public at large.
A. Artificial Obsolescence and Environmental Waste
Semiconductors do not degrade in computational speed over time; a processor executes instructions at the same clock rate ten years after manufacture as it did on the day of purchase. Devices become "obsolete" not because the hardware fails, but because unmaintained software stacks diverge from modern network standards. When vendors lock the bootloader at EOL, they prevent independent developers and open-source communities (such as postmarketOS, LineageOS, or OpenWrt) from porting lightweight, actively patched operating systems onto otherwise intact hardware. Functional aluminum, lithium, and silicon are forced into landfills solely due to an artificial software barrier.
B. The Creation of Unpatchable Botnets
Vendors routinely justify locked bootloaders on the grounds of cybersecurity and network integrity. Post-EOL, this rationale inverts. Leaving millions of internet-connected routers, cameras, phones, and tablets running permanently unpatched kernels creates a vast reservoir of vulnerable endpoints.
While legitimate owners are cryptographically barred from installing a secure, updated kernel, malicious actors require only a single unpatched remote-code-execution exploit to compromise the device in volatile memory. The proliferation of large-scale Distributed Denial of Service (DDoS) botnets—most notably the Mirai family and its successors—is a direct consequence of abandoned, vendor-locked hardware remaining online without a mechanism for community remediation. By refusing to surrender the keys upon abandoning maintenance, manufacturers actively manufacture systemic cybersecurity risk.

4. Doctrinal Foundations for a Duty to Unlock
Anglo-American property and tort principles already recognize that exclusive control carries correlative duties, and that property law disfavors dead-hand restraints that destroy utility.
  1. The Doctrine Against Restraints on Alienation and Use: Property law has long invalidated conditions attached to the sale of personal property that strip the buyer of the practical ability to use or maintain the asset (cf. Impression Products, Inc. v. Lexmark International, Inc., 581 U.S. 360 (2017), holding that an authorized sale exhausts patent rights and prohibits post-sale restrictions on use and resale). Extending this exhaustion principle to cryptographic locks dictates that once a vendor ceases supporting a product, it exhausts any legitimate interest in restricting what code the owner runs on the hardware.
  2. Correlative Duty of Control in Tort: Across premises liability and product law, legal responsibility tracks the power to exclude and control. An entity cannot assert exclusive dominion over a locking mechanism while disclaiming all responsibility for foreseeable harms arising from its refusal to maintain—or permit others to maintain—what lies behind it.
  3. Constructive Abandonment of Software Stewardship: When a manufacturer formally terminates security updates, it constructively abandons its custodial role over the device's execution environment. Just as physical abandonment transfers possessory rights to the party in rightful possession of the underlying chattel, termination of software support should trigger a mandatory transfer of boot authority to the hardware owner.

5. Policy Proposal: The Statutory Sunset Unlock Mandate
To realign control with responsibility, legislatures and regulatory bodies should enact a Sunset Unlock Mandate governing all consumer and enterprise computing devices equipped with cryptographic boot locks. The mandate rests on three concrete obligations triggered upon a device's End-of-Life date (defined as 90 days following the cessation of regular security patches):
1. Mandatory Key Release and Hardware Documentation
Upon EOL, the manufacturer must publicly release the cryptographic signing keys (or master unlock keys) for the device's bootloader, alongside basic hardware documentation (memory maps, SoC boot pinouts, and peripheral specifications) sufficient to enable third-party operating system development.
2. The "Sunset Patch" Requirement
Prior to terminating support, the manufacturer must deliver a final official firmware update containing:
  • A built-in, non-removable bootloader unlock utility allowing the owner to authorize third-party firmware images directly on the device without external exploits; and
  • An embedded local archive of the device's unlock keys and technical reference documentation stored on the device partition, ensuring the hardware remains self-contained and unlockable even if external infrastructure disappears.
3. Ten-Year Unlock Server Continuity
To protect everyday consumers, repair shops, and educational institutions that may not apply the final update immediately, manufacturers must maintain a publicly accessible, automated unlocking server for a minimum of ten (10) years post-EOL. Should a manufacturer cease operations or enter bankruptcy within that window, escrow provisions must release the signing keys and server tooling into the public domain immediately.

6. Conclusion
Control and responsibility are foundational twins in property law. A manufacturer may reasonably exercise exclusive cryptographic control over a device while it actively fulfills the duty of securing and maintaining that device's software. Once the manufacturer walks away from that duty, however, its moral and legal claim to the lock expires.
Consumers who purchase physical hardware are owners, not perpetual tenants of a corporate software ecosystem. Ending the paradox of the locked, abandoned warehouse requires a simple rule: when a vendor stops maintaining the building, it must hand over the keys.

Vibe-to-Verified: Enterprise-Grade Deterministic Workflows for OpenClaw

J. Rogers, SE Ohio Stop Letting Your AI Agent Wing It. If you have spent enough time building with modern AI agent frameworks like OpenClaw,...