Skip to content

wpggLabs/PactRide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PactRide

An open, interoperable protocol for requesting, negotiating, verifying, and completing rides without requiring a single platform operator.

Status: Research RFC Founder vision: documented License: Apache-2.0 Protocol artifacts

Website: https://wpgglabs.github.io/PactRide/
Founder vision: FOUNDER_VISION.md
Canonical status: STATUS.md
Maintenance posture: MAINTENANCE.md
Current stewardship: MAINTAINERS.md Independent review: REVIEW_REQUEST.md and REVIEW_LOG.md

The problem

Ride-hailing applications solved discovery and dispatch, then concentrated control over identity, pricing, reputation, customer relationships, and access to work. Drivers and riders cannot normally carry their history to another application. A platform can change fees, deactivate participants, alter pricing, or exit a market while retaining control of the network.

PactRide asks:

What would ride coordination look like if dispatch worked more like email or the web—an open protocol implemented by many compatible applications—rather than a marketplace owned by one company?

The proposal

PactRide is a public protocol proposal, not a launched transportation service and not a claim that the safety, trust, adoption, operational, or legal problems are solved.

A compatible client should eventually be able to:

  1. Create a user-controlled cryptographic identity.
  2. Discover ride requests or driver availability through replaceable relays.
  3. Publish only coarse, short-lived location information for discovery.
  4. Negotiate exact locations, timing, price, and service terms through encrypted messages.
  5. Verify pickup through a short code, QR exchange, or nearby-device handshake.
  6. Record a signed ride lifecycle that distinguishes unilateral claims from bilateral proof.
  7. Produce portable evidence another compatible client can validate under its own policy.
  8. Preserve selected functions through direct or nearby connectivity during outages.
  9. Let communities run their own relays, policies, moderation lists, and applications.
  10. Allow transparent commercial, cooperative, nonprofit, municipal, and volunteer services without a mandatory protocol commission.

Implementation path: read the Implementer Guide, the Nostr transport profile, the responsibility matrix, and the complete end-to-end ride transcript.

flowchart LR
    R[Rider client] -->|signed coarse ride intent| A[Relay set A]
    R -->|signed coarse ride intent| B[Relay set B]
    D[Driver client] -->|subscribe and match locally| A
    D -->|subscribe and match locally| B
    R <-->|encrypted negotiation| D
    R <-->|QR / phrase / nearby pickup proof| D
    R -->|bilateral completion receipt| H[(Portable local history)]
    D -->|bilateral completion receipt| H
    C[Community attestors] -->|optional signed claims| R
    C -->|optional signed claims| D
Loading

Relays carry signed events but are not intended to become mandatory dispatch operators. Matching occurs in clients. Exact pickup, destination, contact, and negotiated terms remain encrypted until participants intentionally disclose them.

What PactRide is

  • An open protocol and public research project.
  • A shared vocabulary, event model, schemas, and conformance work for interoperable ride applications.
  • A place to examine technical, economic, safety, privacy, accessibility, and governance problems in public.
  • A possible foundation for independent rider, driver, cooperative, municipal, nonprofit, and commercial clients.
  • An internet-first design with nearby networking limited to verification and resilience.

What PactRide is not

  • Not an Uber clone.
  • Not a finished application or active rideshare network.
  • Not Bluetooth-only citywide dispatch.
  • Not a blockchain, token, DAO, or cryptocurrency project.
  • Not a promise of anonymous transportation without accountability.
  • Not a central payment processor, insurer, emergency service, or global identity authority.
  • Not a guaranteed zero-cost marketplace; optional services may charge transparent fees.
  • Not a mechanism for one maintainer to control a worldwide transportation network.

Design principles

  1. Protocol before platform — interoperable events and conformance tests matter more than one polished client.
  2. User-held identity — participants control their keys and can move between compatible clients.
  3. Data minimization — public discovery must not expose exact pickup points, destinations, phone numbers, or continuous location.
  4. No canonical infrastructure — relay and service providers must be replaceable.
  5. Plural trust — communities may publish attestations and policies; no universal authority is required by the base protocol.
  6. Explicit limitations — cryptographic proofs establish key authorization, not truth, safety, identity, payment, or legal compliance.
  7. No protocol tax — payment remains method-neutral; the base protocol requires no platform currency, settlement provider, per-ride commission, or fee payable to PactRide.
  8. Progressive resilience — internet-first functionality should work before experimental offline mesh routing is added.
  9. No hidden extraction — compatible clients should disclose fees, ranking, routing choices, data handling, and third-party services.
  10. Forkability and succession — the specification must survive the original maintainers.

See PRINCIPLES.md and VISION.md.

Proposed architecture

flowchart TB
    subgraph Client[User-controlled client]
        UI[Ride interface]
        MATCH[Local matching engine]
        KEYS[Key storage]
        STORE[Encrypted local store]
        POLICY[Local trust and safety policy]
        ROUTER[Transport router]
    end

    ROUTER --> NOSTR[Nostr-compatible relays]
    ROUTER --> DIRECT[Direct encrypted channel]
    ROUTER --> BLE[Bluetooth / nearby fallback]
    MATCH --> MAP[Replaceable mapping and routing providers]
    POLICY --> ATTEST[Community attestations and block lists]
    UI --> MATCH
    MATCH --> ROUTER
    KEYS --> ROUTER
    STORE --> UI
Loading

The first practical implementation should use redundant internet relays for discovery and encrypted negotiation. Bluetooth should initially be limited to pickup verification and direct state exchange. Multi-hop device mesh is a later research track.

Protocol lifecycle

PactRide separates the ride aggregate from each offer thread. Declining one driver's offer does not end the rider's whole request while other valid offers remain.

stateDiagram-v2
    [*] --> Requested
    Requested --> Matching: first valid offer
    Requested --> Cancelled: rider withdraws
    Requested --> Expired: request TTL elapses
    Matching --> Accepted: bilateral acceptance
    Matching --> Cancelled
    Matching --> Expired
    Accepted --> DriverDeparting
    Accepted --> Cancelled: pre-pickup
    DriverDeparting --> DriverArrived
    DriverDeparting --> Cancelled: pre-pickup
    DriverArrived --> PickupVerified
    DriverArrived --> Cancelled: pre-pickup
    PickupVerified --> InProgress
    PickupVerified --> Aborted: post-pickup termination
    InProgress --> CompletionClaimed
    InProgress --> Aborted: mid-trip termination
    CompletionClaimed --> Completed: bilateral receipt
    CompletionClaimed --> Disputed: conflicting evidence
    CompletionClaimed --> Aborted: no mutual completion
    Aborted --> Disputed
    Aborted --> ResolvedExternally
    Completed --> Rated
    Disputed --> ResolvedExternally
Loading

Ride-scoped transitions use deterministic event IDs, causal references, proof entries, and explicit expiry where applicable. One-sided completion remains a claim; only matching bilateral proofs create a portable completion receipt.

Current status

Founder-vision documentation: complete. Project maturity: pre-implementation research RFC with an initial machine-readable protocol core.

The founder's current PactRide vision is fully represented in the repository, including scope, protocol behavior, schemas, lifecycle, privacy, safety, responsibility boundaries, economics, licensing, governance, maintenance, implementation guidance, and the future CommonPact relationship. See FOUNDER_VISION.md for the bounded definition of completion.

This does not mean PactRide is implemented or production-ready. The repository does not contain a rider app, driver app, production relay, two-client interoperability proof, identity-verification service, emergency response, payment protection, insurance, or production safety guarantee.

Phase 0 founder-authored documentation is complete, while its external-review and maintainer-diversity exit criteria remain open. Phase 1 protocol-core artifacts exist, while independent interoperability evidence remains incomplete. See STATUS.md for the exact evidence and remaining gates.

Seeking maintainers and partners

PactRide is too large for one person to implement as a production transportation network. It is seeking:

  • protocol and interoperability engineers;
  • security and privacy researchers;
  • mobile and relay developers;
  • accessibility specialists;
  • driver cooperatives and transportation nonprofits;
  • universities and public-interest technology programs;
  • municipal or institutional research partners;
  • grant and sponsorship partners that do not control the protocol.

Current maintainer: wpggLabs. The founder maintains the completed initial vision, repository, and public record, but is not claiming to build or operate a production ride network alone.

Major implementation should resume only when there are committed maintainers, funded research, or a credible bounded pilot partner. Stars, forks, and general interest are not substitutes for implementation capacity. See MAINTAINERS.md and MAINTENANCE.md.

How to participate

Open an issue or RFC that:

  • identifies a concrete privacy, safety, protocol, adoption, economic, accessibility, or interoperability failure;
  • proposes a testable improvement with tradeoffs;
  • supplies prior art or empirical evidence;
  • implements an independent parser, validator, simulator, or conformance test; or
  • documents a driver or rider workflow the protocol fails to represent.

The most useful contribution is a falsifiable criticism, reproducible test, independent implementation, or narrowly scoped protocol proposal.

New contributors can start with the repository's good first issues. Protocol cryptography, identity, safety, and normative lifecycle work should not be treated as beginner tasks without maintainer guidance.

Repository map

Vision and status

Technical proposal

Trust, privacy, and safety

Stewardship and sustainability

Future protocol-family research

PactRide may later inform a reusable CommonPact coordination core for discovery, private negotiation, bilateral agreement, lifecycle events, and portable evidence. That extraction is not stable or normative. PactRide remains self-contained until the proposed core works naturally for at least one substantially different domain, and transportation-specific safety behavior must remain outside any general core.

The dependency direction, candidate mapping, extraction criteria, and safety-preservation rules are defined in COMMONPACT_RELATIONSHIP.md.

License

The current PactRide specification repository is licensed under the Apache License 2.0. It permits commercial and noncommercial use, modification, distribution, and independent implementations subject to the license conditions. It does not require users or commercial operators to pay PactRide, share revenue, or publish modifications.

The Apache license does not grant permission to present a product as officially endorsed or certified by PactRide. Future official applications or hosted products may be developed in separate repositories under separately published software-license terms, but those terms cannot retroactively restrict released Apache-2.0 material or independent implementations of the protocol.

See LICENSE, LICENSING.md, MONETIZATION.md, and TRADEMARK.md.

Maintainer statement

PactRide began from a driver's frustration with extractive platform economics. wpggLabs is the current maintainer. The maintainer's job is to keep decisions legible, preserve compatibility, expose unresolved problems, protect the protocol from hidden capture, and make it possible for future maintainers to continue the work without depending permanently on the founder.

About

Open ride-coordination protocol and first CommonPact source profile for direct rider-driver discovery, private negotiation, pickup proof, and portable evidence.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages