Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

WOCS: Work Offered, Claimed, Settled

A Minimal Protocol for Decentralized Coordination in Games — Conceptual

Status: Placeholder. WOCS is not yet designed in depth. It has no kind numbers and no live offer, fulfill, and acknowledge cycle. Everything here may change. WOCS is optional: nothing in EGS depends on it.

🏠 EGS Overview · 📦 AEMS · 🎯 AEMS Conventions · 🔧 RUNS · 📖 RUNS Library · ⚡ WOCS · 🎼 MAPS · ❓ FAQ · 🔤 Glossary


Why Coordination Needs a Protocol

The Enduring Game Standard makes digital games as durable as the rulesets humanity has played for millennia: open rules anyone can implement, persistent artifacts no single entity controls, and execution environments that remain neutral. Some games also need ongoing services: hosting for online play, anti-cheat for leagues, audits of who signed what, tournaments. A chessboard needs none of these, and neither does a game that runs on one machine. WOCS is one optional way for strangers to provide and pay for these services. Nothing in EGS depends on it.

Today, that coordination is centralized. A studio hosts the servers, runs the matchmaking, enforces the rules, and funds the upkeep. When the studio closes, changes direction, or decides the game no longer justifies its costs, the coordination dies with it. Counter-Strike: Global Offensive was replaced by Counter-Strike 2 through a direct overwrite in 2023. Demon's Souls lost its World Tendency system permanently when its servers shut down in 2018. In both cases, the games were not technically broken. The coordination infrastructure was removed by the single entity that controlled it.

This fragility is not accidental. It is the predictable outcome of centralized coordination under monetary conditions that reward enclosure over openness. WOCS provides the alternative: a minimal coordination primitive on a commons that no entity can capture, where needs are broadcast openly, delivery is verifiable, and settlement is instant and final.

The Coordination Challenge

Some digital games want upkeep that physical games largely avoid:

  • Server Architecture — Persistent, low-latency hosting for synchronized state across players.
  • Anti-Cheat Systems — Real-time detection and enforcement to preserve fair play.
  • Community Provenance Audits — Audits of who signed what: Variants, AEMS events, and rule changes.
  • Matchmaking & Tournaments — Scalable organization of competitive play, prize distribution, and event support.
  • Content Commissioning — Ongoing creation and refinement of new Manifestations, Processors, and art.
  • Design Analysis — Craft contributions such as balance audits, notation work, and design review.

Without a neutral way for strangers to coordinate these services, they tend to stay centralized, with the risks of capture and abandonment, or rest on volunteer effort.

Mental Model

WOCS is a classified ads board on a commons.

Anyone posts a need. Anyone fills it. Settlement is instant and final. The board is public: every offer, every fulfillment, every acknowledgment is a Nostr event on an open graph. This public history is not a side effect. It is the substrate. Because WOCS events persist on the Nostr commons, they are discoverable by anyone, inheritable by any client, and composable with any tool that reads the graph. A coordination need outlives the person who posted it. A fulfillment record outlives the provider who delivered it. The commons accumulates a public record of what the ecosystem needs and who provides it, creating the conditions for reputation, specialization, and trust to emerge without any protocol-level mechanism enforcing them.

Three events. One cycle.

  1. OFFER — Broadcast a need with a committed settlement amount.
  2. FULFILL — Claim delivery with proof and a Lightning invoice.
  3. ACK — Acknowledge completion with instant payment.

The name maps to the events: Offered is OFFER, Claimed is FULFILL, Settled is ACK.

Why Lightning

WOCS settles exclusively through the Lightning Network. This is not an arbitrary payment integration. Lightning settles in bitcoin, so every WOCS payment is denominated in a non-depreciating asset. Coordination funded through sound money inherits the same patient capital properties the rest of the standard depends on. Lightning also provides instant finality: a payment either completes or it does not, with no intermediate state. Instant finality eliminates credit risk. Without credit risk, there is no need for escrow. Without escrow, there is no need for a trusted intermediary to hold funds. The causal chain is precise: instant finality → no credit risk → no escrow → no intermediary.

This is what distinguishes WOCS from a job board with a payment plugin. A conventional marketplace requires either trust between parties or a platform that custodies funds and mediates disputes. WOCS requires neither. The Lightning invoice attached to a FULFILL event is a self-contained payment instruction. The ACK event with a payment preimage is cryptographic proof that settlement occurred. No platform touches the funds. No platform takes a cut; only Lightning's routing fees apply.

For recurring coordination, such as monthly server hosting, the pattern repeats: the offer persists on the Nostr graph, fulfillment is verified each period, and settlement occurs instantly. Resilient infrastructure emerges from this repetition. If one provider fails, the offer remains visible and another provider can respond, because the coordination signal lives on the commons, not on any single provider's platform.

WOCS Design

WOCS provides the minimal layer for emergent coordination:

  • Broadcast offers for recurring or one-time needs: server hosting, anti-cheat services, provenance audits, tournament pools, design analysis.
  • Submit fulfillment with verifiable proof and a Lightning invoice.
  • Publicly acknowledge settlement or rejection.

The protocol enforces only event structure and referencing. Everything else, discovery indexes, reputation aggregators, dispute mediation, specialized clients, remains at higher layers, themselves coordinatable via WOCS.

Relationship to Existing Nostr Protocols

The Nostr ecosystem includes marketplace protocols (NIP-15) for product listings and data vending machines (NIP-90) for job-based data processing. WOCS operates in adjacent territory but serves a distinct purpose: it coordinates ongoing game infrastructure, not one-off product purchases or stateless data jobs. WOCS offers may recur monthly. They may reference AEMS events, or RUNS source once a way to publish it is settled. They compose with the EGS protocol stack in ways that general-purpose marketplace events do not. WOCS is domain-specific coordination for the game commons, built on the same Nostr substrate that NIP-15 and NIP-90 use for their respective domains.

What WOCS Deliberately Excludes

Like other EGS primitives, WOCS embraces deliberate minimalism.

Excluded Why Where It Belongs
Escrow/custody Protocol signals intent, not holds funds Third-party services
Reputation systems Protocol records history, not scores Aggregators, community curation
Dispute resolution Protocol enables exit, not arbitration Voluntary mediation
Discovery/matching Protocol broadcasts, not recommends Index services, clients
Compliance/KYC Protocol is neutral, not jurisdictional Service providers as needed

Every exclusion preserves optionality and prevents capture. Escrow creates a custodian. Reputation scoring creates a gatekeeper. Dispute resolution creates an arbiter. Each is a function that belongs at a higher layer, where competition and choice remain possible.

Technical Specification: Three Primitives

WOCS defines three dedicated Nostr event kinds, one per primitive.

Note: The concrete kind numbers are deliberately not yet assigned. Allocations are deferred until they are formalized against real relay usage; until then, examples use named placeholders such as "<WOCS OFFER kind>".

A community wants low-latency server hosting for their game. They broadcast an OFFER:

1. OFFER

Broadcast a need with committed settlement amount.

{
  "kind": "<WOCS OFFER kind>",
  "tags": [
    ["d", "<unique-id>"],
    ["sats", "50000"],
    ["t", "server-hosting"],
    ["t", "minecraft-rpg-realm"],
    ["duration", "month"]
  ],
  "content": "50k sats/month to host a 50-slot Minecraft server with these mods..."
}

Mandatory: d, sats. Whether WOCS events are addressable or regular is open, for the relay reasons recorded in aems-schema ADR-0010: relays delete the older versions of an addressable event. Optional tags for filtering and context. The duration tag signals recurring coordination: this offer persists on the Nostr graph and expects periodic fulfillment.

A server operator in Osaka sees the offer and responds:

2. FULFILL

Claim delivery with proof and a Lightning invoice.

{
  "kind": "<WOCS FULFILL kind>",
  "tags": [
    ["d", "<fulfill-id>"],
    ["e", "<offer-event-id>", "", "offer"],
    ["proof", "<server-ip-or-dashboard-link>"],
    ["invoice", "lnbc50000..."]
  ],
  "content": "Server live at example.com:25565, uptime guaranteed..."
}

Mandatory: reference to offer, invoice. The proof tag is intentionally unstructured. What constitutes proof varies by domain: a server IP for hosting, a signed attestation for an audit, a link to the published RUNS source for development work.

The community verifies the server is running and pays:

3. ACK

Acknowledge settlement.

{
  "kind": "<WOCS ACK kind>",
  "tags": [
    ["d", "<ack-id>"],
    ["e", "<fulfill-event-id>", "", "fulfill"],
    ["status", "paid"],
    ["preimage", "<payment-proof>"]
  ]
}

The preimage is cryptographic proof that the Lightning payment completed. Public history emerges naturally on the Nostr graph: anyone can trace which offers were posted, who fulfilled them, and whether settlement occurred. No platform curates this history. No intermediary controls access to it.

Emergent Capabilities

Alongside AEMS (durable signed claims) and RUNS (the game's rules as plain-text source), WOCS coordinates work such as:

Resilient Server Networks — Competing hosts respond to recurring offers, creating redundancy. If one host fails, the offer remains on the Nostr graph and another host responds. The community does not depend on any single provider.

Distributed Anti-Cheat — Offers fund anti-cheat services, such as replay checkers or league referees, paid per period. Because a game's rules are deterministic, a service can re-run the game from the inputs it received and check the result.

Provenance Audits — Curators audit AEMS provenance and publish their findings. Each event's signature already fixes its attribution.

Permissionless Tournaments — Organizers broadcast prize pools. Casters, bracket runners, and streamers fulfill roles. Settlement is instant: no platform holds the prize money.

Content Commissioning — Direct coordination for new AEMS Manifestations, RUNS Processors and bundles, or community fixes. A designer posts an offer for a new weapon. An artist fulfills it. Payment completes before the next session.

Notation & Craft Contributions — WOCS coordinates work on the craft itself: funding design analysis, balance audits, and notation work. The economic substrate for cumulative craft is the same three-event cycle that funds server hosting.

Micro-Contributions — Small-scale funding for bug reports, balance tweaks, translation, or cosmetic work. Lightning's sub-cent transaction costs make coordination viable at any scale.

All settled instantly, composed openly, recorded on the commons.

Why This Works Now

Two technologies matured simultaneously: Nostr and Lightning.

Nostr provides permissionless, global broadcast with no API keys, no platform accounts, and no gatekeepers. Any relay can carry WOCS events. Any client can read them. The coordination signals live on a commons that no entity controls.

Lightning provides instant, low-cost final settlement at any scale. A 50,000-sat server hosting payment and a 500-sat bug report bounty use the same settlement mechanism. No minimum transaction size. No platform fee.

Neither alone is sufficient. Nostr without Lightning is signaling without settlement: needs are broadcast but fulfillment cannot be compensated. Lightning without Nostr is payment without coordination: funds can move but needs cannot be discovered. Together, they provide the minimum viable coordination stack for trust-minimized exchange among strangers.

Post an offer. Fulfill one. Extend the ecosystem.

MIT License — Implement, extend, experiment.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors