Contract Structures — State & Transition Framework

From WikiDeal, the Wikipedia of e-commerce · Pilot 1, Prototype 1 · Socio-Technical Innovation by Théo Bondolfi

WikiDeal provides User Groups with a key lever for deploying the success conditions of each contract. This framework maps contract execution through states and transitions — making it easy for social entrepreneurship federations to incubate and operate with clarity. Every contract is a living object: it has a position in a lifecycle, conditions that govern its movement, and effects that follow automatically from each transition.

Contents

1 The State & Transition Model

Every WikiDeal contract is not merely a static document — it is a stateful object that evolves through well-defined stages. At any point in time, a contract occupies a specific state, and it moves to the next state only when the conditions for that transition are met.

Before signing, every contract begins in the Negotiation state. This is not passive waiting — it is an active phase where parties verify conditions, exchange terms, and confirm readiness. The transition out of Negotiation is triggered only when pre-conditions are satisfied on all sides.

The framework is designed so that User Groups — social entrepreneurship federations, cooperatives, community markets — can configure the exact conditions and effects appropriate to their context, while relying on a shared structural backbone.

1.1 Key Concepts

The State & Transition Model distinguishes five fundamental building blocks:

2 Contract Lifecycle Stages

Every WikiDeal contract passes through five canonical stages. The transitions between stages are governed by the pre-conditions, effects, and modalities described in Section 1.

1. Contact / Sourcing
2. Formalization & Configuration
3. Fulfillment & Active Execution
4. Resolution / Delivery
5. Post-Deal

Stage 1 — Contact / Sourcing

StatusInitial exploration and matchmaking.
Transition TriggerOne or more parties express intent to engage (browse, inquire, initiate contact via the WikiDeal module).
Pre-conditionParties are registered WikiDeal users (or onboarding). The relevant marketplace or User Group template is selected. Basic identity or profile conditions may apply.
EffectAn exploration record is created and timestamped. Both parties receive access to the contract template and its conditions. The clock starts on the exploration window.

Stage 2 — Formalization & Configuration (Negotiation or Selection)

WikiDeal replaces traditional, heavy negotiation with smart configuration. Instead of drafting terms from scratch or arguing over clauses, parties use flexible, pre-defined conditional dropdowns to shape the agreement. The "Success Conditions Toolkit" instantly adapts the subsequent rules based on these configuration choices.

Use Case: The Babysitting Flexibility
A babysitting arrangement isn't just a standard hiring contract. Through smart configuration, the toolkit offers multiple pre-modeled scenarios in a single flow:
  • Mutual shared babysitting between neighborhood families (condition: must accept at least 20% of requests to remain in the network, otherwise deactivated).
  • Semi-voluntary babysitting (minor compensation or token exchange).
  • Recognizing family caregivers (proches aidants).
  • Live-in babysitting during holidays.
  • Fully paid babysitting (condition: strict legal work rights required).
By simply selecting from a conditional menu (e.g., volunteer vs. paid), the downstream consequences—such as termination conditions, required benefits, and compensation milestones—automatically adapt without any manual legal drafting.
StatusConfiguring variables via conditional menus and confirming commitment.
Transition TriggerBoth parties complete the configuration wizard, locking in their selections, and confirm the generated draft.
Pre-conditionAll required prérequis corresponding to the chosen configuration are verified (e.g., legal status for paid work, identity verification for shared networks). Mediation track assigned automatically.
EffectThe smartly configured contract is committed immutably. Associated obligations, milestones, and alert triggers adapt to the chosen model and are activated immediately. Both parties are notified.

Stage 3 — Fulfillment & Active Execution

StatusContract is live and obligations are being fulfilled.
Transition TriggerCommitment completed and all pre-conditions for execution met (e.g., upfront payment cleared, access credentials shared).
Pre-conditionContract in committed state. Any execution-start condition met (start date reached, resource available, etc.).
EffectMilestone tracking begins. Alert system is live (late delivery warnings, non-payment flags, anomaly detection). Adaptive modality window opens if configured. All events are logged with timestamps.

Stage 4 — Resolution / Delivery / Amendment

Amendments are not merely for fixing issues or resolving disputes. In the WikiDeal framework, they act as the primary mechanism for Renewal (Reconduction) and continuous Adaptation (Adjustment/Iteration). This allows terms to be adapted dynamically so that the contract evolves with changing conditions, rather than having to be torn up and renegotiated from scratch.

StatusConcluding the active execution or adjusting terms mid-flight.
Transition TriggerAll obligations fulfilled (→ Resolution) or a party requests a modification within the adaptive modality window (→ Amendment).
Pre-conditionFor Resolution: all milestones confirmed, all payments settled, no open disputes. For Amendment: the requested change falls within a pre-authorized adaptive modality; all parties consent.
EffectResolution: final payment released, obligations closed, evaluation period opened. Amendment: new terms recorded as a versioned update; original terms archived. In both cases: immutable log entry created.

Stage 5 — Post-Deal (Evaluation, Rewards & Arbitration)

StatusManaging aftercare, reputation updates, or ongoing arbitration.
Transition TriggerContract marked as Resolved or Terminated (with or without dispute resolution).
Pre-conditionAll financial obligations cleared or formally settled. Any open dispute escalated or closed.
EffectMutual evaluation forms sent and collected. Miles/reputation credits distributed according to performance rules. Contract archived in both parties' WikiDeal history. Aggregate anonymised data contributed to User Group analytics.

Beyond the Single Deal — Structural Continuity

WikiDeal contracts are not isolated transactions. They are structurally designed to connect to the future and to the wider community ecosystem through two key mechanisms:

3 Success Conditions Toolkit

WikiDeal bundles a set of standard tools — levers — into every contract template. User Groups configure which levers are active and how they behave. Here are some initial outputs (six initial components) proposed within the framework of Prototype 1. These tools will be empowered through Open Calls and through a Steering Committee's added value, progressively replaced by the application of selected Open Call results as the platform is funded and evolves.

Lever Description Trigger Condition Procedure
Adaptive Modalities Pre-authorised flexibility windows. Each modality defines a type of adaptation (deadline, price, scope), the variables that can change, and the conditions that permit the change. A defined event occurs within an active execution window (e.g., delay notified within X days, force majeure declared). The requesting party submits an adaptation request. If within modality parameters, the change is applied automatically and logged. If outside, it escalates to mediation.
Compensatory Measures Predefined penalties or remedies for common failures: late delivery, non-payment, partial fulfilment, quality shortfall. A milestone is missed or a payment is overdue beyond the defined grace period. Alert issued to defaulting party. If unresolved within the response window, compensatory measure activates automatically (e.g., escrow partial release, penalty applied). Logged.
Mediation & Arbitration Dynamics Structured escalation from peer mediation to formal arbitration. Mediator pool is maintained by the User Group or WikiDeal network. A dispute is formally raised by either party, or an adaptive modality request is rejected. Step 1 — Peer mediation (48h window). Step 2 — User Group mediator assigned (structured session). Step 3 — Binding arbitration if unresolved. All steps logged with outcome records.
Fraud Management Procedures Detection and response protocols for contract fraud: false identity, counterfeit goods, double-spending, malicious termination. Anomaly detected by platform algorithm, or reported by a party or community observer. Automatic hold placed on relevant funds/actions. Investigation opened. If fraud confirmed: contract voided, sanctions applied per User Group rules, incident logged in reputation system.
Whistleblower / Alert Management Confidential reporting channel for systemic problems: repeated bad actors, unsafe conditions, platform abuse. Separate from individual dispute handling. Any party or observer identifies a pattern or risk that goes beyond the scope of a single contract dispute. Alert submitted via protected channel. Reviewed by User Group governance body (anonymised). Escalated to WikiDeal network oversight if systemic. Feedback provided to reporter within defined window.
Diagnostic Procedures → Implementation Structured process for identifying why a contract failed or underperformed, and feeding lessons into template improvements. Contract closed with dispute, amendment, or poor evaluation score; or flagged for systemic review by User Group. Diagnostic questionnaire completed by parties and mediator (if applicable). Root cause identified. If template-level issue: User Group proposes template update. If platform issue: escalated to WikiDeal tech team. Improvement logged in public changelog.

4 Illustrated Example — Artisan Fair Purchase

To make the framework concrete, consider a minimal but complete use case: a buyer purchases a handmade ceramic object from an artisan at a local fair. WikiDeal is used not because the transaction is complex — it isn't — but because the buyer and the artisan want two specific benefits:

This is a "Framework Lite" instance: most of the toolkit levers are present in the contract template, but few are expected to activate. There is no escrow, no complex milestone schedule, no anticipated dispute. What is active: the trust layer, the traceability record, and the post-sale benefits mechanism.

4.1 State Transitions

Browse
Select
Purchase
(WikiDeal module)
Benefits Activated
Evaluation

Even in this simple scenario, the full framework backbone is quietly at work. The fraud detection layer is active — if the artisan were to register the same item twice, it would be caught. The whistleblower channel is available. The diagnostic procedure is ready if the buyer reports a problem with the repair entitlement. None of these will likely fire — but they are there, and their presence is what makes the WikiDeal trust layer meaningful even for a €30 ceramic bowl.

See also