Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions CYBERSPACE_V2.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,40 @@ This specification defines the base Cyberspace v2 protocol.
Optional extensions MAY introduce new event kinds, new movement action types (`A` tag values), and/or additional validation rules that are only applied when an extension is in use.

Extensions are specified as **Design Extension and Compatibility Kits (DECKs)** in the `decks/` directory.
- Hyperjumps extension: `decks/DECK-0001-hyperjumps.md`
- Hyperjumps extension: `extensions/DECK-0001-hyperjumps.md`

#### 6.6.1 Layer Framework (Non-normative)

Each DECK should clearly distinguish which capabilities belong to each layer:

| Layer | Enforcement | Characteristics |
|-------|-------------|-----------------|
| **Mathematical** | Cryptography | Trustless, deterministic, verifiable by anyone |
| **Protocol** | Consensus rules | Client/relay validation, event structure |
| **Social** | Human coordination | Trust-based, mutable, application-specific |

The core protocol (this spec) is primarily mathematical with protocol-level event validation. DECKs may introduce protocol-layer rules (e.g., domain policies) and should explicitly acknowledge what remains in the social layer.

This framework prevents mixing concerns: mathematical guarantees should not depend on trust, and social coordination should not be enforced by protocol rules.

### 6.7 DECK-defined Actions (Kind 3333)

The base protocol defines two actions for kind 3333 events (identified by the `A` tag):

| `A` tag | Action | Reference |
|---------|--------|-----------|
| `spawn` | Initial spawn | This spec (§6.3) |
| `hop` | Movement hop | This spec (§6.4) |

DECKs MAY define additional action types or extend existing actions. DECK-defined actions:

| `A` tag | Action | DECK |
|---------|--------|------|
| `derezz` | PVP attack | [DECK-0003: Derezz](decks/DECK-0003-derezz.md) |
| `hyperjump` | Long-distance teleport | [DECK-0001: Hyperjumps](decks/DECK-0001-hyperjumps.md) |

Note: `spawn` is extended by DECK-0003 for respawning after being derezzed. The victim must return to their original spawn location (coord = pubkey).

Clients implementing a DECK MUST validate actions according to that DECK's specification.

---

Expand Down
Loading