# PAT

Vertical AI + IP operations app for patent, trademark, copyright, design proof, annuity maintenance, RegisterKnight handoff, and later Zweichain-backed evidence receipts.

This repository starts from the local PAT workspace and turns it into a real Django app while preserving the earlier research pack.

## App

Local app:

- `mvp/` - Django + SQLite proof registry
- `run-pat-mvp.cmd` - run the local app
- `run-tests.cmd` - run Django checks and tests
- `install-local.cmd` - create/install local dependencies
- `.env.example` - environment checklist

Run:

```text
C:\Users\hayat\Documents\Codex\Verticals\PAT\run-pat-mvp.cmd
```

Open:

```text
http://127.0.0.1:8025/
http://127.0.0.1:8025/jp/
http://127.0.0.1:8025/platform/
```

## Public Showing Page

- `index.html` - static concept page and local MVP doorway
- `jp/index.html` - Japanese public concept page for `https://pat.zweichain.net/jp/`
- `style.css` - static page styling
- `assets/pat-hero-2026-06-12.png` - generated hero image
- `favicon.svg`, `assets/pat-mark.svg`, `assets/pat-app-icon.svg`, `site.webmanifest` - link preview and icon assets
- `SOCIAL-PREVIEW.md` - SMS/SNS preview checklist
- `PAT-LINK-CARDS.md` - copy-ready friend intro cards
- `pat-token-vertical-brief-2026-06-12.md` - strategy and disclosure guardrails

Open:

```text
C:\Users\hayat\Documents\Codex\Verticals\PAT\index.html
```

Japanese page:

```text
C:\Users\hayat\Documents\Codex\Verticals\PAT\jp\index.html
```

## Public Position

PAT should present itself as an AI-assisted, professional-reviewed IP operations platform:

- patent annuity and maintenance fee audit
- global patent filing quote check and docket support
- trademark, copyright, and design proof workflows
- blockchain timestamp and priority-evidence support
- specialist review for creative, IT, maker, medical, iPS-cell, and material-science industries

Public copy should stay calm and credible. Do not overstate legal certainty, token value, or the private team background.

## Disclosure Guardrails

- Do not name private employers, current employers, or individual identities unless the person has explicitly approved publication.
- It is acceptable to say "patent professionals with NY/Tokyo cross-border experience."
- It is acceptable to say "physics, materials, manufacturing, and deep-tech advisors."
- Avoid saying that blockchain timestamping proves patent priority by itself. Say it supports evidence and filing records.
- Avoid presenting PAT token as tradable until securities, AML/KYC, tax, payment, client-fund, and professional-responsibility review is complete.

## Integration Boundary

The current app prepares RegisterKnight payloads in dry-run mode by default. It can also send the same payload shape LAND uses to a local-only RegisterKnight writer endpoint when deployment env turns dry-run off. It does not write directly to Zweichain from the browser, and it must not store wallet private keys in PAT.

Current app features:

- LAND-style public top layer at `/`, Japanese top layer at `/jp/`, and proof/insertion platform at `/platform/`;
- local proof records with SHA-256 payload and evidence hashes;
- operator review queue and reviewer notes;
- printable/shareable proof certificate pages;
- RegisterKnight dry-run handoff payloads;
- LAND-compatible `operator_data_hex` / writer payload preparation;
- readiness JSON and pending receipt refresh command;
- preview JSON before writer submission;
- reviewed-record RegisterKnight outbox API and CLI export;
- shared commons compatibility check and public-safe eee0003 proof JSON;
- nonce-backed payload hashing and duplicate live-write guard;
- SMS/social preview cards and favicon assets.

Docs:

- `docs/REAL_APP_ROADMAP.md`
- `docs/REGISTERKNIGHT_API_CONTRACT.md`
- `docs/DEPLOYMENT_NOTES.md`

## Existing Research In This Folder

- `annuity-dashboard.html`
- `annuity-instruction-docket.csv`
- `annuity-instruction-summary.md`
- `direct-pay-and-fee-reduction-matrix.md`
- `official-fee-payment-research-2026-06-11.md`
- `outbound-pipeline.md`
- `pat-fee-payment-research.html`
- `pat-fee-payment-research.yml`
- `vendor-and-lawfirm-rfq-plan.md`

## Next Build Steps

1. Add the verified PR TIMES / Zweispace reference URL if it is intended for the public page.
2. Connect the reviewed-record outbox to a localhost RegisterKnight writer after `FEEE0003...` smoke testing.
3. Turn one annuity audit into a redacted sample report.
4. Draft a one-page customer intake form for invoice upload and IP proof registration.
5. Ask patent professionals to review public wording before external publication.
6. Decide whether PAT token begins as internal service credit, contributor credit, timestamp proof receipt, or a closed customer reward point.
