You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+89Lines changed: 89 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,23 @@ PatternProof turns garment inspiration into a tailor-feasibility-checked, custom
4
4
5
5
The central product promise is narrow: the shop and customer approve the same frozen visual and construction decisions before an irreversible cut. The AI preview is supporting evidence, never a fit or construction guarantee.
6
6
7
+
## Judge it in 60 seconds
8
+
9
+
1. Open the [live Create a Cut Card journey](https://patternproof-nu.vercel.app/create). No account, email, or credential is required.
10
+
2. Advance the six visible stages: private intent, YouCam evidence, human veto, revision replay, consent to cut, and privacy exit.
11
+
3. Use **Create with my photos** at any time to open a separate, tenant-isolated anonymous workspace for a live consent-bound intake.
12
+
4. Inspect the [immutable public Cut Card](https://patternproof-nu.vercel.app/s/demo-olive) and [technical evidence ledger](https://patternproof-nu.vercel.app/proof).
13
+
14
+
The sample is deterministic and read-only; the private-photo path creates a real isolated workspace and uses live provider jobs. The exact longer judge script is in [JUDGING.md](JUDGING.md).
15
+
7
16
## Release status
8
17
9
18
The repository contains the complete private intake, normalization, rendering, optional YouCam evidence chain, feasibility, frozen review, approval, post-approval motion proof, and audited body-photo-erasure paths. The production deployment is [patternproof-nu.vercel.app](https://patternproof-nu.vercel.app). The final hosted acceptance evidence is recorded in [RELEASE-ACCEPTANCE.md](RELEASE-ACCEPTANCE.md).
10
19
11
20
Current evidence: YouCam T0 and T2 passed; T3 passed 3/3; the application-side T4 quality gate rejects poor live input before provider spend; T5 confirms two units per successful Clothes VTO V3 result; live signed-URL T6 passed; controlled repeated-input T7 produced byte-identical output; the exposed credential was rotated; and the zero-account production journey passed from consent-bound intake through private V3 generation, human feasibility, frozen customer review, approval, immutable owner readback, and explicit draft cleanup on August 14, 2026. This is production acceptance evidence, not a claim of measured customer outcomes; prospective impact validation remains governed by [VALIDATION-PROTOCOL.md](VALIDATION-PROTOCOL.md).
12
21
22
+
Final release verification: 150/150 automated tests, TypeScript, ESLint, the optimized 20-page Next.js build, HTTP health, and a real Chrome navigation audit all passed. The browser audit exercised the landing page, unified creation entry, all six sample stages, evidence ledger, immutable record, and privacy page at 1440 x 1000 and 390 x 844. It recorded zero console errors and zero horizontal overflow; every next/final action remained above the mobile fold.
23
+
13
24
Formative problem evidence is documented in [RESEARCH.md](RESEARCH.md): 108 manually screened 1.0–2.0 public tailoring complaints across 41 de-identified businesses and three city samples. It is a purposive negative-review study—not a prevalence estimate, user validation, or proof of product impact—and it explicitly reports the failure categories PatternProof does not solve.
14
25
15
26
## Product flow
@@ -24,6 +35,26 @@ Formative problem evidence is documented in [RESEARCH.md](RESEARCH.md): 108 manu
24
35
8. Approval is one atomic database operation. It verifies the token and digest, locks the revision, records approval evidence, and consumes the token.
25
36
9. After approval or archival, the shop can trigger audited body-photo erasure. The agreement snapshot and digest remain as integrity evidence.
26
37
38
+
```mermaid
39
+
flowchart LR
40
+
A[Open Create a Cut Card] --> B{Choose a path}
41
+
B -->|Explore safely| C[Rights-cleared read-only sample]
42
+
B -->|Use my photos| D[Isolated anonymous workspace]
43
+
D --> E[Consent and private normalized uploads]
44
+
E --> F[Optional Background Removal rescue]
45
+
F --> G[Clothes VTO V3 visual evidence]
46
+
G --> H[Optional Fabric VTO direction]
47
+
H --> I{Tailor feasibility}
48
+
I -->|Not feasible| J[Cutting and sharing blocked]
49
+
I -->|Feasible| K[Frozen snapshot and SHA-256 proof]
50
+
K --> L{Customer decision}
51
+
L -->|Request change| M[Traceable next revision]
52
+
M --> I
53
+
L -->|Approve exact proof| N[Immutable approved Cut Card]
54
+
N --> O[Optional five-second motion proof]
55
+
N --> P[Audited body-photo erasure]
56
+
```
57
+
27
58
## Architecture and trust boundaries
28
59
29
60
- Next.js 15 App Router and React 19 provide the application and server routes.
@@ -33,6 +64,61 @@ Formative problem evidence is documented in [RESEARCH.md](RESEARCH.md): 108 manu
33
64
- Browsers are untrusted. They never receive the YouCam key or Supabase service-role key.
34
65
- Customer-review URLs are unguessable, expiring bearer links rather than public galleries; anyone possessing one can review it. Only SHA-256 token hashes are stored.
| Background Removal | Optional rescue for a noisy garment reference | 1 unit | Runs before core preview; original and rescued hashes retain distinct provenance. |
116
+
| Clothes VTO V3 | Required body-specific visual-intent evidence | 2 units | The result is privately re-hosted and becomes the visual key in the frozen agreement. |
117
+
| Fabric VTO | Optional provider-defined visual direction | 2 units | Runs before human review; never claims uploaded-swatch fidelity, colorimetry, or drape. |
118
+
| Image-to-Video V2 | Optional fixed five-second post-approval presentation proof | 5 units | Runs only after approval and never enters or changes the construction checksum. |
119
+
120
+
A complete four-feature chain is exactly 10 internally accounted units. Every provider call is server-side, idempotently admitted, bounded by a global circuit breaker, and never automatically retried after an ambiguous vendor POST.
121
+
36
122
See [SECURITY.md](SECURITY.md) for the integrity model and incident response.
37
123
38
124
## Local development
@@ -249,3 +335,6 @@ The user-facing notice is at `/privacy` and is linked from every page. It descri
249
335
-`D1-RESULTS.md` — live YouCam validation record
250
336
-`SECURITY.md` — security invariants and incident response
251
337
-`ASSETS.md` — asset provenance record
338
+
-`RELEASE-ACCEPTANCE.md` — final production, isolation, sponsor-chain, and browser acceptance matrix
339
+
-`RESEARCH.md` — bounded formative problem research and limitations
340
+
-`submission/screenshots/` — five final production screenshots with hashes recorded in `ASSETS.md`
| Production build | Next.js optimized build using locked dependencies | PASS |20/20 static pages generated; all server routes compiled |
17
17
| Readiness | GET /api/health after migration 024 and matching deploy | PASS | HTTP 200, {status: ok} |
18
18
| Public judge path | Landing, unified /create, evidence ledger, privacy page, immutable sample | PASS | HTTP 200 over HTTPS; no credentials required |
19
+
| Browser judge simulation | Desktop 1440 x 1000 and mobile 390 x 844; all six sample stages clicked | PASS | zero console errors; zero horizontal overflow; every next/final action remained above the mobile fold |
0 commit comments