File size: 3,061 Bytes
187ef74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "schema_version": "ioby.business-model.v1",
  "site_id": "ioby",
  "status": "implemented-and-verified-local-simulation",
  "runtime_contract": "backend/runtime.json",
  "implementation": "clone/backend/business.py",
  "database_identity": {
    "engine": "sqlite",
    "filename": "ioby.sqlite3",
    "override_environment_variable": "WEBSITEBENCH_SITE_BACKEND_DATABASE",
    "isolation": "one generated runtime database bound to site_id ioby"
  },
  "entities": [
    {"name": "donation", "owner": "anonymous session promoted to local account", "states": ["draft", "confirmed", "canceled"], "server_authority": ["identity", "project", "amount", "currency", "cadence", "owner", "opaque payment snapshot"]},
    {"name": "local-receipt", "owner": "donation owner", "server_authority": ["receipt number", "project", "amount", "cadence", "created time"]},
    {"name": "recurring-plan", "owner": "local account or originating session", "states": ["active", "canceled"], "server_authority": ["identity", "amount", "status", "idempotent cancellation"]},
    {"name": "project-total", "owner": "site", "server_authority": ["confirmed amount", "confirmed donation count"]},
    {"name": "saved-project", "owner": "local account", "states": ["absent", "saved"]},
    {"name": "payment-attempt", "owner": "donation owner", "adapter": "local-sandbox", "accepted_inputs": ["opaque configured scenario id"], "forbidden_inputs": ["card number", "CVV", "bank account", "wallet token", "client amount", "client currency", "client owner", "client fingerprint", "provider credential"]}
  ],
  "deterministic_seed": {
    "account": "demo@ioby.local",
    "display_name": "Morgan Neighbor",
    "donation_history": ["donation_seed_history", "donation_seed_recurring"],
    "recurring_plan": "recurring_seed_plan",
    "synthetic_only": true
  },
  "effects": {
    "production_requests": 0,
    "production_effects": 0,
    "external_messages": 0,
    "live_payments": 0,
    "source_mutations": 0
  },
  "verification": {
    "payment_scope": "verified-local-sandbox",
    "migration": "verified",
    "idempotency": "verified-for-donation-registration-sign-in-recovery-recurring-and-saved-project-target-state",
    "concurrency": "verified-for-all-eight-applicable-capabilities",
    "actor_isolation": "verified-for-auth-sessions-recovery-donations-recurring-and-saved-projects",
    "site_isolation": "verified",
    "backup_restore": "verified",
    "deterministic_reset": "verified",
    "restart_persistence": "verified",
    "common_auth_negative_matrix": "verified",
    "evidence": [
      "materials/ioby/artifacts/offline-clone/site-pytest-junit-v6.xml",
      "materials/ioby/artifacts/offline-clone/payment-scope-proof-v2.json",
      "materials/ioby/artifacts/offline-clone/backend-proof-matrix-v2.json"
    ]
  },
  "test_refs": [
    "clone/tests/test_backend_lifecycle.py",
    "clone/tests/test_backend_capability_matrix.py",
    "clone/tests/test_donation_and_account.py",
    "clone/tests/test_payment_scope.py",
    "clone/tests/test_public.py"
  ]
}