chore: seal Design Vision v1 and monorepo scaffold

Archive the differentiated YuXinGu product docs, AI engineering system,
design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity
over early innovation (see .ai/product/STRATEGY.md).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-02 16:00:44 +08:00
co-authored by Cursor
parent 2686866376
commit 2fb1dfee14
193 changed files with 8854 additions and 1851 deletions
+23
View File
@@ -0,0 +1,23 @@
# mini-program
微信小程序客户端(业务后置)。
## 接入约定
1. 使用 `packages/sdk``createClient`,注入微信适配器:
```ts
// 伪代码
createClient({
baseURL: 'https://api.example.com',
adapters: {
request: (opts) => wxRequestToApiResponse(opts),
getToken: () => wx.getStorageSync('yxg_token') || null,
},
})
```
2. 页面禁止直接 `wx.request`;统一 `services/*`
3. 类型复用 `@yuxingu/types`UI 组件不与 Vue H5 共享 SFC,只共享 `packages/ui` token。
详见 `apps/docs/standards/06-mini-program.md`
+5
View File
@@ -0,0 +1,5 @@
App({
onLaunch() {
// scaffold only
},
})
+8
View File
@@ -0,0 +1,8 @@
{
"pages": ["pages/home/index"],
"window": {
"navigationBarTitleText": "愈心谷",
"navigationBarBackgroundColor": "#FFD1C7",
"navigationBarTextStyle": "black"
}
}
+1
View File
@@ -0,0 +1 @@
Page({})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+1
View File
@@ -0,0 +1 @@
<view class="wrap">愈心谷小程序脚手架 — 业务后置</view>
+1
View File
@@ -0,0 +1 @@
.wrap{padding:24px;color:#666;font-size:14px}