feat(iit): Complete IIT Manager Agent Day 1 - Environment initialization and WeChat integration

Summary:
- Complete IIT Manager Agent MVP Day 1 (12.5% progress)
- Database: Create iit_schema with 5 tables (IitProject, IitPendingAction, IitTaskRun, IitUserMapping, IitAuditLog)
- Backend: Add module structure (577 lines) and types (223 lines)
- WeChat: Configure Enterprise WeChat app (CorpID, AgentID, Secret)
- WeChat: Obtain web authorization and JS-SDK authorization
- WeChat: Configure trusted domain (iit.xunzhengyixue.com)
- Frontend: Deploy v1.2 with WeChat domain verification file
- Frontend: Fix CRLF issue in docker-entrypoint.sh (CRLF -> LF)
- Testing: 11/11 database CRUD tests passed
- Testing: Access Token retrieval test passed
- Docs: Create module status and development guide
- Docs: Update MVP task list with Day 1 completion
- Docs: Rename deployment doc to SAE real-time status record
- Deployment: Update frontend internal IP to 172.17.173.80

Technical Details:
- Prisma: Multi-schema support (iit_schema)
- pg-boss: Job queue integration prepared
- Taro 4.x: Framework selected for WeChat Mini Program
- Shadow State: Architecture foundation laid
- Docker: Fix entrypoint script line endings for Linux container

Status: Day 1/14 complete, ready for Day 2 REDCap integration
This commit is contained in:
2026-01-01 14:32:58 +08:00
parent 4c5bb3d174
commit dac3cecf78
138 changed files with 1190 additions and 941 deletions

View File

@@ -556,5 +556,6 @@ df['creatinine'] = pd.to_numeric(df['creatinine'], errors='coerce')

View File

@@ -971,5 +971,6 @@ export const aiController = new AIController();

View File

@@ -1305,5 +1305,6 @@ npm install react-markdown

View File

@@ -213,5 +213,6 @@ FMA___基线 | FMA___1个月 | FMA___2个月

View File

@@ -371,5 +371,6 @@ formula = "FMA总分0-100 / 100"

View File

@@ -205,5 +205,6 @@ async handleFillnaMice(request, reply) {

View File

@@ -177,5 +177,6 @@ method: 'mean' | 'median' | 'mode' | 'constant' | 'ffill' | 'bfill'

View File

@@ -628,5 +628,6 @@ import { logger } from '../../../../common/logging/index.js';

View File

@@ -431,5 +431,6 @@ import { ChatContainer } from '@/shared/components/Chat';

View File

@@ -341,5 +341,6 @@ const initialMessages = defaultMessages.length > 0 ? defaultMessages : [{

View File

@@ -629,5 +629,6 @@ http://localhost:5173/data-cleaning/tool-c

View File

@@ -417,5 +417,6 @@ Docs: docs/03-业务模块/DC-数据清洗整理/06-开发记录/DC模块重建

View File

@@ -290,5 +290,6 @@ ConflictDetectionService // 冲突检测(字段级对比)

View File

@@ -454,5 +454,6 @@ Tool B后端代码**100%复用**了平台通用能力层,无任何重复开发

View File

@@ -231,5 +231,6 @@ $ node scripts/check-dc-tables.mjs

View File

@@ -464,5 +464,6 @@ ${fields.map((f, i) => `${i + 1}. ${f.name}${f.desc}`).join('\n')}