P4P is an open protocol for direct restaurant-customer discovery and ordering.
The shortest honest version is:
- the restaurant node announces itself to a registry
- the customer discovers the node through that registry
- the menu comes directly from the node
- the order goes directly to the node
- after discovery, the registry is out of the loop
P4P is a phone book, not a marketplace.
P4P is the socket, not the appliances.
P4P does not hold funds, process payments, store payment credentials, settle money, or act as merchant of record.
Payment modules are adapters chosen by the restaurant or node operator.
If you are seeing this repo for the first time, start with these three questions:
- What is P4P trying to prove?
- What is already public proof, and what is only next-gate pilot work?
- Where should I click first if I do not want to read the whole repo?
Short answers:
- current public claim: a restaurant can stay directly reachable without a marketplace middleman owning first contact
- current status: advanced prototype with a real public proof surface and a larger pilot/runtime layer behind it
- next gate: controlled live pilot on a restaurant-owned node
If you want the shortest route in:
If you want to click something public before reading code:
- public proof reading layer: https://protocols4people.com/modules/shop/
- public P4P proof surface: https://pizza4people.com/
If you want to inspect the code after that:
- status: advanced prototype
- current public claim: public protocol proof for
v0.1 - next gate: controlled live pilot
- public story: narrower than the full private
devruntime
The current proof is small on purpose:
- a node announces itself to one or more registries
- a client discovers the node through a registry
- the client fetches the menu directly from the node
- the client sends an order directly to the node
- the client can fail over to a backup registry for discovery
After discovery, the registry is out of the loop.
These screenshots are here so a reviewer can see the shape quickly before diving into prose or code.
The boundary still matters:
protocols4people.com/modules/shopis public proof surfacepilot-nodescreenshots are the controlled live-pilot next gate, not the currentv0.1claim
The current public proof claims only that direct restaurant-customer discovery and ordering can work without a marketplace platform owning first contact.
That includes:
- registry discovery
- direct node menu fetch
- direct node order submission
order_modeas explicit order consent- client failover across registries
- a public demo node marked
order_mode: "test"
demo-node/ is the proof surface.
pilot-node/ is not part of the current public proof claim. It is the next gate.
These layers exist in the repo as prototype support or future-direction work:
- signed node identity scaffolding beyond the minimum proof story
- optional root-signed delegation and manifest-based key lifecycle
- registry source export/import and mirror cache work
- moderated directory scaffolding
- signed trust-claim scaffolding
- module manifests, provider manifests, and pilot runtime lanes
- controlled live-pilot operator flows in
pilot-node/
They are real prototype material.
They are not the same thing as the current public proof claim.
P4P is not currently claiming:
- broad production rollout
- production restaurant operations
- production security
- online payment
- delivery orchestration
- registry-side order relay
- customer account platform
- verified community module marketplace
- finished federation
- complete trust ecosystem
If you only want the current public claim:
README.mdPROOF.mddocs/WHITEPAPER-v0.1.mddocs/PROOF-STATUS.md
If you want the wire contract:
SPEC.mddocs/README.mddocs/schemas/docs/examples/
If you want to give a second opinion without reading the whole repo:
REVIEW-ME.mdREADME.mdPROOF.mdARCHITECTURE.mdtests/test_v0_1_truthfulness.py
If you want runtime architecture and anti-capture boundaries:
ARCHITECTURE.mdregistry/README.mddemo-node/README.md
If you want the next gate after the proof:
PILOT-LIVE.mdpilot-node/README.mddocs/FIVE-PLACE-PILOT-PACK.mdTEST-GUIDE.md
If you want the module direction:
docs/MODULES-START-HERE.mddocs/GITHUB-READER-GUIDE.mddocs/COMMUNITY-MODULES.mddocs/modules/README.mddocs/MODULE-EXECUTION-CONTRACT.mdmodules/README.md
When documents overlap, read them like this:
README.md: repo entrypoint and shortest public claimPROOF.md: canonicalv0.1proof claimdocs/WHITEPAPER-v0.1.md: explainer for humans before raw codeSPEC.md: wire contract and normative rulesARCHITECTURE.md: service boundaries and anti-capture designPILOT-LIVE.md: separate next gate, not current proofdocs/GITHUB-READER-GUIDE.md: reading-path routingdocs/PROOF-STATUS.md: dated factual checkpoint log
If a statement is about what the protocol contract is, SPEC.md wins.
If a statement is about what the architecture should preserve, ARCHITECTURE.md wins.
If a statement is about what is publicly claimed right now, PROOF.md wins.
If a statement is about hosted or dated public proof facts, docs/PROOF-STATUS.md wins.
P4P is the first concrete vertical proof inside a broader Protocols4People direction.
That broader direction matters, but it is secondary to the current proof.
Read docs/WHITEPAPER-v0.1.md and ARCHITECTURE.md for the larger module, trust, and federation direction after the current proof boundary.


