Files
openyield/docs/nomads/pacts.md
T
cloudinit-bot 82ae6cf5a2 docs(milestone): complete OpenYield v0.3 (Bearers & Documentation)
Milestone v0.3 complete. Feature type, tags v0.2.x. Two work-streams
shipped under one feature milestone:

(A) Bearers skeleton + tests (D-020 pattern, 7 x/* packages, zero ext deps):
- x/bridge (NEW): BridgeStatus enum (4), BridgeRoute by-ID-string refs
- x/exit (NEW): ExitStatus enum (5), ExitRoute, DEXSwap (opaque venue)
- x/bearers (EXT): OYSATLink surveillance-resistant LOCKED, OYQRCode idempotent
- x/partner (EXT): AnchorCredential (custody-provider-id empty in skeleton)
- x/hub (NEW): HubService enum (3), LendingCouponCapBps=800 LOCAL const (A-304)
- x/services (NEW): ServiceKind enum (4), window-id by-ID-string ref (A-307)
- x/bond (EXT): GrowthBond, ClampGrowth G-012 underflow guard, secondary market
All packages >=93.3% coverage. Both lexicon firewalls green. G-003 intact.

(B) Documentation deliverable (REQ-027 complete, 26-page MkDocs Material site):
- README.md + mkdocs.yml + docs/index.md
- docs/shared/ (7 pages): Six Principles, Bread Scale, Storage Pools, Watchers/Mirror, Lexicon, Vision
- docs/nomads/ (8 pages): Reach, Stash, Bearers, Maps-Pay, Pacts, Standing, Window
- docs/freeholders/ (8 pages): Signals, Standing, Stands-Guilds, Councils-Voice, Bonds, Partner Spectrum, Anchor Preview
- docs/reference/ (2 pages): Architecture, Components
- REQ-028: lexicon firewall extended to docs/ + README.md (lexicon_meta_docs_test.go, 5 tests incl G-013 walk-coverage + G-014 shared self-test)

Phases: P0 -> v0.2.0, P1 -> v0.2.1, P2 -> v0.2.2, P3 -> v0.2.3, P4 -> v0.2.4, P5 -> v0.2.5, P6 -> v0.2.6 (milestone release).

Requirements covered: REQ-010, REQ-022, REQ-023, REQ-024, REQ-025, REQ-026 (skeleton), REQ-027, REQ-028 (complete).
IDEATE-01..08 ratified and delivered.

---ci---
project: oy
phase: 6
milestone: v0.3
status: complete
tag_base: v0.2.x
phase_role: final
milestone_complete: true
requirements:
  covered: [REQ-010, REQ-022, REQ-023, REQ-024, REQ-025, REQ-026, REQ-027, REQ-028]
  partial: []
---/ci---
2026-08-17 22:35:36 +00:00

2.3 KiB

Pacts

The six Pacts (REQ-020) are the contract shapes a Nomad encounters on the mesh. A Pact is a typed, mission-locked agreement between parties; the core terms of the Pause, Ground, and Stance Pacts are non-amendable — no Council can rewrite them after the fact. A Nomad mostly interacts with Pacts through Maps & Pay and the Window primitive, but it helps to know what each one is.

The six Pacts

Pact What it does for a Nomad
Pause A temporary hold. A Nomad can pause a recurring payment or a Window without voiding it; the Pause core terms are non-amendable.
Ground A baseline obligation the mesh enforces by default — the "ground rules" between a Nomad and a service operator. Non-amendable.
Stance A stated position a party commits to (e.g., a service operator's Stance on jurisdiction-light operation). Non-amendable.
Cover A flat commitment a Stand or a Partner offers to cover a Nomad against a defined failure; a Nomad reads Cover when choosing a service.
Stand Registry The registry of the nine Stand types (Household, Crew, Entity, Co-op, Circle, Trust, Foundation, Confederation, Shadow) a Nomad can join.
Hub API The B2B backbone (preview of v0.3 P5) — the Hub Pact exposes custody, a lending primitive, and compliance to service operators. A Nomad sees the Hub through Maps, not directly.

What a Nomad actually does with Pacts

A Nomad does not draft Pacts by hand. The flow is:

  1. Find a service on Maps & Pay.
  2. The service's terms are backed by one or more Pacts (e.g., a recurring payment is a Pause-able Window; a Stand's service is registered in the Stand Registry).
  3. The Nomad authorizes a Window scoped to those terms.

Mission Lock

The Pause, Ground, and Stance core terms are mission-locked: a const flag in the Pact module marks them non-amendable, and an invariant test asserts that flag can never flip. A Nomad can rely on the ground rules not changing. See Six Principles for the mission-lock covenant.

See Window for the delegation primitive the Pacts are delivered through, and Standing for how a service operator's history is measured.