feat: P1 profile/portrait API and freeze local-dev environment

Add host-first environment contracts (Local vs CI vs Prod), deps-only
compose, and the Profile → Portrait → deep-access mock payment slice
with device identity and auto-migrate on API startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-02 16:24:57 +08:00
co-authored by Cursor
parent dd94e57277
commit 0f320e040b
49 changed files with 1907 additions and 191 deletions
+12
View File
@@ -54,6 +54,18 @@ No raw `fetch` in `pages/`.
Rules, ADR, patterns, examples, playbooks, checklists. Not runtime code.
### Environment docs
| Path | Owns |
|---|---|
| `environment.md` | Local vs CI vs Prod policy |
| `development.md` | Host Go / Vite local rules |
| `docker.md` | When Docker is / is not used |
| `deployment.md` | Prod immutable images / CI |
| `commands.md` | Copy-paste commands |
Runtime compose for **deps only**: repo-root `docker-compose.dev.yml`.
### .ai/product/ & .ai/domain/
| Path | Owns |